[2026-09-25 00:00:04] local.INFO: TCP Data received {"connection_id":191620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:04] local.INFO: Processing buffer {"connection_id":191620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:04] local.INFO: Packet analysis {"connection_id":191620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:00:04] local.INFO: Extracted packet for processing {"connection_id":191620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:00: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-25 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00: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-25 00:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-25 00:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:00: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-25 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:00: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-25 00:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:00:04] 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-25 00:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:00: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-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:00:04] 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-25 00:00:04] 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":892836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:00:04] local.INFO: GPS data processed {"connection_id":191620,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:00:04] local.INFO: Acknowledgment sent {"connection_id":191620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:00:11] local.INFO: TCP Data received {"connection_id":193182,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:11] local.INFO: Processing buffer {"connection_id":193182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:11] local.INFO: IMEI packet received {"connection_id":193182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":193182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:00:15] local.INFO: TCP Data received {"connection_id":193182,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:15] local.INFO: Processing buffer {"connection_id":193182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:15] local.INFO: IMEI packet received {"connection_id":193182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":193182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:00:16] local.INFO: TCP Data received {"connection_id":193182,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:16] local.INFO: Processing buffer {"connection_id":193182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:00:16] local.INFO: IMEI packet received {"connection_id":193182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":193182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:00:19] local.INFO: TCP Data received {"connection_id":193182,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4abe048012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4abe048012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:19] local.INFO: Processing buffer {"connection_id":193182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4abe048012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:19] local.INFO: Packet analysis {"connection_id":193182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-25 00:00:19] local.INFO: Extracted packet for processing {"connection_id":193182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ab"} 
[2026-09-25 00:00:19] 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-25 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310248448001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790274429000,"timestamp_ms":1790274429000,"timestamp_seconds":1790274429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4abe048"} 
[2026-09-25 00:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:00:19] 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-25 00:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:00: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-25 00:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310248448001,"66":27887,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310248448001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:00:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:00: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-25 00:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310248448001,"power":27887,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":193182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:00:19] local.INFO: GPS data processed {"connection_id":193182,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:00:19] local.INFO: Acknowledgment sent {"connection_id":193182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:00:24] local.INFO: TCP Data received {"connection_id":193182,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac3250012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac3250012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:24] local.INFO: Processing buffer {"connection_id":193182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac3250012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:00:24] local.INFO: Packet analysis {"connection_id":193182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:00:24] local.INFO: Extracted packet for processing {"connection_id":193182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:00:24] 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-25 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310253824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:24] 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-25 00:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790274450000,"timestamp_ms":1790274450000,"timestamp_seconds":1790274450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac3250"} 
[2026-09-25 00:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:00: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-25 00:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:00:24] 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-25 00:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:00: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-25 00:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310253824001,"66":27876,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310253824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:00: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-25 00:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310253824001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":193182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:00:24] local.INFO: GPS data processed {"connection_id":193182,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:00:24] local.INFO: Acknowledgment sent {"connection_id":193182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:00:27] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:27] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:27] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:00:32] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:32] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:00:32] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:00:33] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:33] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:00:33] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:00:33] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:00: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-25 00:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00: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-25 00:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:00: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-25 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:00: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.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-25 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:00: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-25 00:00:33] 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":892839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:00:33] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:00:33] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:01:05] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:05] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:05] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:05] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:01:05] 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.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-25 00:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:01:05] 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-25 00:01:05] 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":892840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:01:05] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:01:05] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:01:05] local.INFO: TCP Data received {"connection_id":194474,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:05] local.INFO: Processing buffer {"connection_id":194474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:05] local.INFO: IMEI packet received {"connection_id":194474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":194474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:01:11] local.INFO: TCP Data received {"connection_id":194474,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:11] local.INFO: Processing buffer {"connection_id":194474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:01:11] local.INFO: IMEI packet received {"connection_id":194474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":194474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:01:13] local.INFO: TCP Data received {"connection_id":194474,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac8458012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac8458012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:13] local.INFO: Processing buffer {"connection_id":194474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac8458012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:13] local.INFO: Packet analysis {"connection_id":194474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:13] local.INFO: Extracted packet for processing {"connection_id":194474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:13] 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-25 00: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-25 00:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310259200001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01: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-25 00:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790274471000,"timestamp_ms":1790274471000,"timestamp_seconds":1790274471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac8458"} 
[2026-09-25 00: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-25 00:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:01:13] 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-25 00: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-25 00: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-25 00:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:01: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-25 00:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310259200001,"66":27952,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310259200001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:01:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310259200001,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":194474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:01:13] local.INFO: GPS data processed {"connection_id":194474,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:01:13] local.INFO: Acknowledgment sent {"connection_id":194474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:01:32] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:32] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:32] local.INFO: IMEI packet received {"connection_id":191622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:01:37] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:37] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:01:37] local.INFO: IMEI packet received {"connection_id":191622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":191622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:01:39] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:39] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:39] local.INFO: Packet analysis {"connection_id":191622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:39] local.INFO: Extracted packet for processing {"connection_id":191622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-25 00:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:01: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-25 00:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:01:39] 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.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-25 00:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:01:39] 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-25 00:01: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":892842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:01:39] local.INFO: GPS data processed {"connection_id":191622,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:01:39] local.INFO: Acknowledgment sent {"connection_id":191622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:01:43] local.INFO: TCP Data received {"connection_id":191622,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:43] local.INFO: Processing buffer {"connection_id":191622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:01:43] local.INFO: Packet analysis {"connection_id":191622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:43] local.INFO: Extracted packet for processing {"connection_id":191622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01: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-25 00: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-25 00:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-25 00: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-25 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:01: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-25 00: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-25 00: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-25 00:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:01: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-25 00:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:01:43] 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.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-25 00:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:01: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-25 00:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:01:43] 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-25 00:01:43] 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":892843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:01:43] local.INFO: GPS data processed {"connection_id":191622,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:01:43] local.INFO: Acknowledgment sent {"connection_id":191622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:01:45] local.INFO: TCP Data received {"connection_id":194474,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4acd660012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4acd660012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:45] local.INFO: Processing buffer {"connection_id":194474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4acd660012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:01:45] local.INFO: Packet analysis {"connection_id":194474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:45] local.INFO: Extracted packet for processing {"connection_id":194474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:01:45] 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-25 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310264576001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:01: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-25 00:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790274492000,"timestamp_ms":1790274492000,"timestamp_seconds":1790274492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4acd660"} 
[2026-09-25 00:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:01: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-25 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:01:45] 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-25 00:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:01: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-25 00:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310264576001,"66":27745,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310264576001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:01:45] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310264576001,"power":27745,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":194474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:01:45] local.INFO: GPS data processed {"connection_id":194474,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:01:45] local.INFO: Acknowledgment sent {"connection_id":194474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:02:11] local.INFO: TCP Data received {"connection_id":193183,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:11] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:11] local.INFO: IMEI packet received {"connection_id":193183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":193183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:02:16] local.INFO: TCP Data received {"connection_id":193183,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:16] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:02:16] local.INFO: IMEI packet received {"connection_id":193183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":193183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:02:18] local.INFO: TCP Data received {"connection_id":193183,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ad2868012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ad2868012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:18] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ad2868012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:18] local.INFO: Packet analysis {"connection_id":193183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:02:18] local.INFO: Extracted packet for processing {"connection_id":193183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:02:18] 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-25 00: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-25 00:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310269952001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02: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-25 00:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790274513000,"timestamp_ms":1790274513000,"timestamp_seconds":1790274513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ad2868"} 
[2026-09-25 00: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-25 00:02: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-25 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:02:18] 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-25 00: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-25 00: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-25 00:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:02: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-25 00:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310269952001,"66":28006,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310269952001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:02:18] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310269952001,"power":28006,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":193183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:02:18] local.INFO: GPS data processed {"connection_id":193183,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:02:18] local.INFO: Acknowledgment sent {"connection_id":193183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:02:27] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:27] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:27] local.INFO: IMEI packet received {"connection_id":191623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":191623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:02:32] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:32] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:02:32] local.INFO: IMEI packet received {"connection_id":191623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":191623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:02:33] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:02:33] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:02:33] local.INFO: Packet analysis {"connection_id":191623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:02:33] local.INFO: Extracted packet for processing {"connection_id":191623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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-25 00: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-25 00:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:02: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-25 00: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-25 00:02: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:02: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-25 00:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:02: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.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 00:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:02: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-25 00:02:33] 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":892846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:02:33] local.INFO: GPS data processed {"connection_id":191623,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:02:33] local.INFO: Acknowledgment sent {"connection_id":191623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:02:50] local.INFO: TCP Data received {"connection_id":193183,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ad7a70012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ad7a70012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:50] local.INFO: Processing buffer {"connection_id":193183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ad7a70012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:02:50] local.INFO: Packet analysis {"connection_id":193183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:02:50] local.INFO: Extracted packet for processing {"connection_id":193183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:02:50] 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-25 00: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-25 00:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310275328001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:02:50] 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-25 00:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790274534000,"timestamp_ms":1790274534000,"timestamp_seconds":1790274534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ad7a70"} 
[2026-09-25 00: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-25 00:02: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-25 00: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:02: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-25 00: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-25 00: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-25 00:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310275328001,"66":28006,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310275328001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:02:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310275328001,"power":28006,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":193183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:02:50] local.INFO: GPS data processed {"connection_id":193183,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:02:50] local.INFO: Acknowledgment sent {"connection_id":193183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:03:04] local.INFO: TCP Data received {"connection_id":191623,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:04] local.INFO: Processing buffer {"connection_id":191623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:04] local.INFO: Packet analysis {"connection_id":191623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:03:04] local.INFO: Extracted packet for processing {"connection_id":191623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790274475000,"timestamp_ms":1790274475000,"timestamp_seconds":1790274475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ac93f8"} 
[2026-09-25 00: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-25 00:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:03: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-25 00:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:03:04] 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.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 00:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:03:04] 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-25 00:03:04] 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":892848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:03:04] local.INFO: GPS data processed {"connection_id":191623,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:03:04] local.INFO: Acknowledgment sent {"connection_id":191623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:03:05] local.INFO: TCP Data received {"connection_id":191624,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:05] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:05] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:03:11] local.INFO: TCP Data received {"connection_id":191624,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:11] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:03:11] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:03:12] local.INFO: TCP Data received {"connection_id":191624,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4adcc78012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4adcc78012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:12] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4adcc78012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:12] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:03:12] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ad"} 
[2026-09-25 00:03:12] 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-25 00:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310280704001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03: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-25 00:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790274555000,"timestamp_ms":1790274555000,"timestamp_seconds":1790274555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4adcc78"} 
[2026-09-25 00:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:03: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-25 00:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:03: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-25 00:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310280704001,"66":27952,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310280704001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:03:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310280704001,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:03:12] 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":892849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:03:12] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:03:12] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:03:27] local.INFO: TCP Data received {"connection_id":194475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:27] local.INFO: Processing buffer {"connection_id":194475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:27] local.INFO: IMEI packet received {"connection_id":194475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":194475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:03:32] local.INFO: TCP Data received {"connection_id":194475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:32] local.INFO: Processing buffer {"connection_id":194475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:03:32] local.INFO: IMEI packet received {"connection_id":194475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":194475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:03:34] local.INFO: TCP Data received {"connection_id":194475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:34] local.INFO: Processing buffer {"connection_id":194475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ac93f8012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:03:34] local.INFO: Packet analysis {"connection_id":194475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00:03:34] local.INFO: Extracted packet for processing {"connection_id":194475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ac"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:03: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-25 00: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-25 00:03: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:03: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-25 00: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-25 00: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-25 00:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:03: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-25 00:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:03: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.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 00:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:03:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:03: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-25 00:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":194475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:03:34] local.INFO: GPS data processed {"connection_id":194475,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:03:34] local.INFO: Acknowledgment sent {"connection_id":194475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:03:44] local.INFO: TCP Data received {"connection_id":191624,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ae1e80012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ae1e80012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:44] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ae1e80012d0b914006ef7f20000d00a52f..."} 
[2026-09-25 00:03:44] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ae"} 
[2026-09-25 00:03:44] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ae"} 
[2026-09-25 00:03: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-25 00: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-25 00:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310286080001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804572319744,"note":"Value kept but may cause issues"} 
[2026-09-25 00:03: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-25 00:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790274576000,"timestamp_ms":1790274576000,"timestamp_seconds":1790274576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ae1e80"} 
[2026-09-25 00: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-25 00: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-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:03: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-25 00: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-25 00: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-25 00:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310286080001,"66":27821,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":833517804572319744},"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-25 00:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310286080001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:03:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804572319744,"description":"Unknown IO ID 45"} 
[2026-09-25 00:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310286080001,"power":27821,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":833517804572319744}} 
[2026-09-25 00:03:44] 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":892851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:03:44] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:03:44] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:04:05] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:05] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:05] local.INFO: IMEI packet received {"connection_id":191802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":191802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:04:08] local.INFO: TCP Data received {"connection_id":194475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:08] local.INFO: Processing buffer {"connection_id":194475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:08] local.INFO: Packet analysis {"connection_id":194475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:08] local.INFO: Extracted packet for processing {"connection_id":194475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04: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-25 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:04: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-25 00:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"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-25 00:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:04: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-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":194475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:04:08] local.INFO: GPS data processed {"connection_id":194475,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:04:08] local.INFO: Acknowledgment sent {"connection_id":194475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:04:10] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:10] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:10] local.INFO: IMEI packet received {"connection_id":191802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":191802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:04:11] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:11] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:04:11] local.INFO: IMEI packet received {"connection_id":191802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":191802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:04:12] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b1eb280100000000000000000000000000..."} 
[2026-09-25 00:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b1eb280100000000000000000000000000..."} 
[2026-09-25 00:04:12] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b1eb280100000000000000000000000000..."} 
[2026-09-25 00:04:12] local.INFO: Packet analysis {"connection_id":191802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:12] local.INFO: Extracted packet for processing {"connection_id":191802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04: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-25 00: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-25 00:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310340352001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839639885311283200,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04: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-25 00:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790274825000,"timestamp_ms":1790274825000,"timestamp_seconds":1790274825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b1eb28"} 
[2026-09-25 00: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-25 00:04: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-25 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:04: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-25 00: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-25 00: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-25 00:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":191802,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:04:12] local.INFO: GPS data processed {"connection_id":191802,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:04:12] local.INFO: Acknowledgment sent {"connection_id":191802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:04:17] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b16658012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b16658012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:17] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b16658012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:17] local.INFO: Packet analysis {"connection_id":191802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:17] local.INFO: Extracted packet for processing {"connection_id":191802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:17] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":5,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:17] 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-25 00:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790274791000,"timestamp_ms":1790274791000,"timestamp_seconds":1790274791,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b16658"} 
[2026-09-25 00:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:04: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-25 00:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:04:17] 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-25 00:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:04: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-25 00:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"118":206,"2":56576,"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,118,2,24,16]} 
[2026-09-25 00:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:04:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:04: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-25 00:04:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":5,"odometer":null}} 
[2026-09-25 00:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":191802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:04:17] local.INFO: GPS data processed {"connection_id":191802,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:04:17] local.INFO: Acknowledgment sent {"connection_id":191802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:04:27] local.INFO: TCP Data received {"connection_id":194476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:27] local.INFO: Processing buffer {"connection_id":194476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:27] local.INFO: IMEI packet received {"connection_id":194476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":194476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:04:33] local.INFO: TCP Data received {"connection_id":194476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:33] local.INFO: Processing buffer {"connection_id":194476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:04:33] local.INFO: IMEI packet received {"connection_id":194476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":194476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:04:35] local.INFO: TCP Data received {"connection_id":194476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:35] local.INFO: Processing buffer {"connection_id":194476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:04:35] local.INFO: Packet analysis {"connection_id":194476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:35] local.INFO: Extracted packet for processing {"connection_id":194476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:04: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-25 00:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":194476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:04:35] local.INFO: GPS data processed {"connection_id":194476,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:04:35] local.INFO: Acknowledgment sent {"connection_id":194476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:04:49] local.INFO: TCP Data received {"connection_id":191802,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b1b860012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b1b860012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:49] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b1b860012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:04:49] local.INFO: Packet analysis {"connection_id":191802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:49] local.INFO: Extracted packet for processing {"connection_id":191802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:04:49] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310346496001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:04: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-25 00:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790274812000,"timestamp_ms":1790274812000,"timestamp_seconds":1790274812,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b1b860"} 
[2026-09-25 00:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:04: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-25 00:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:04: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-25 00:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:04: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-25 00:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310346496001,"66":27767,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310346496001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:04:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:04: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-25 00:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310346496001,"power":27767,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":191802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:04:49] local.INFO: GPS data processed {"connection_id":191802,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:04:49] local.INFO: Acknowledgment sent {"connection_id":191802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:05:06] local.INFO: TCP Data received {"connection_id":194476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:06] local.INFO: Processing buffer {"connection_id":194476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:06] local.INFO: Packet analysis {"connection_id":194476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:05:06] local.INFO: Extracted packet for processing {"connection_id":194476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:05: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-25 00: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-25 00: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-25 00:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:05: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-25 00:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":194476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:05:06] local.INFO: GPS data processed {"connection_id":194476,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:05:06] local.INFO: Acknowledgment sent {"connection_id":194476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:05:11] local.INFO: TCP Data received {"connection_id":194477,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:11] local.INFO: Processing buffer {"connection_id":194477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:11] local.INFO: IMEI packet received {"connection_id":194477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":194477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:05:13] local.INFO: TCP Data received {"connection_id":194477,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:13] local.INFO: Processing buffer {"connection_id":194477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:05:13] local.INFO: IMEI packet received {"connection_id":194477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":194477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:05:15] local.INFO: TCP Data received {"connection_id":194477,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b20a68012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b20a68012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:15] local.INFO: Processing buffer {"connection_id":194477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b20a68012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:15] local.INFO: Packet analysis {"connection_id":194477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:15] local.INFO: Extracted packet for processing {"connection_id":194477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:15] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310351872001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:15] 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-25 00:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790274833000,"timestamp_ms":1790274833000,"timestamp_seconds":1790274833,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b20a68"} 
[2026-09-25 00:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:05: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-25 00:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:05:15] 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-25 00:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05: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-25 00:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310351872001,"66":27463,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310351872001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:05:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:05: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-25 00:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310351872001,"power":27463,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":194477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:05:15] local.INFO: GPS data processed {"connection_id":194477,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:05:15] local.INFO: Acknowledgment sent {"connection_id":194477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:05:17] local.INFO: TCP Data received {"connection_id":194477,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b25c70012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b25c70012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:17] local.INFO: Processing buffer {"connection_id":194477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b25c70012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:17] local.INFO: Packet analysis {"connection_id":194477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:17] local.INFO: Extracted packet for processing {"connection_id":194477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:17] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310357248001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:17] 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-25 00:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790274854000,"timestamp_ms":1790274854000,"timestamp_seconds":1790274854,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b25c70"} 
[2026-09-25 00:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:05: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-25 00:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 00:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05: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-25 00:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310357248001,"66":27550,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310357248001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:05:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:05: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-25 00:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310357248001,"power":27550,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":194477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:05:17] local.INFO: GPS data processed {"connection_id":194477,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:05:17] local.INFO: Acknowledgment sent {"connection_id":194477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:05:27] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:27] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:27] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:05:32] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:32] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:05:32] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:05:34] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:34] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:05:34] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:05:34] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:05: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:05: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-25 00: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-25 00: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-25 00:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:05: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-25 00:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:05:34] 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":892859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:05:34] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:05:34] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:05:49] local.INFO: TCP Data received {"connection_id":194477,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b2ae78012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b2ae78012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:49] local.INFO: Processing buffer {"connection_id":194477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b2ae78012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:05:49] local.INFO: Packet analysis {"connection_id":194477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:49] local.INFO: Extracted packet for processing {"connection_id":194477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b2"} 
[2026-09-25 00:05:49] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310362624001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:05: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-25 00:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790274875000,"timestamp_ms":1790274875000,"timestamp_seconds":1790274875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b2ae78"} 
[2026-09-25 00: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-25 00:05: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-25 00: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-25 00:05:49] 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-25 00: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-25 00: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-25 00:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:05: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-25 00:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310362624001,"66":27484,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310362624001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:05: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-25 00:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310362624001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":194477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:05:49] local.INFO: GPS data processed {"connection_id":194477,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:05:49] local.INFO: Acknowledgment sent {"connection_id":194477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:06:06] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:06] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:06] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:06:06] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:06: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-25 00:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:06: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-25 00:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:06:06] 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":892861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:06:06] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:06:06] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:06:06] local.INFO: TCP Data received {"connection_id":191626,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:06] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:06] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:06:10] local.INFO: TCP Data received {"connection_id":191626,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:10] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:06:10] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:06:12] local.INFO: TCP Data received {"connection_id":191626,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b30080012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b30080012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:12] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b30080012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:12] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:06:12] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:06:12] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310368000001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06: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-25 00:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790274896000,"timestamp_ms":1790274896000,"timestamp_seconds":1790274896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b30080"} 
[2026-09-25 00: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-25 00:06: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-25 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 00:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:06: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-25 00:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310368000001,"66":27821,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310368000001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:06:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:06: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-25 00:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310368000001,"power":27821,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:06:12] 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":892862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:06:12] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:06:12] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:06:32] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:32] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:32] local.INFO: IMEI packet received {"connection_id":193184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":193184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:06:37] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:37] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:06:37] local.INFO: IMEI packet received {"connection_id":193184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":193184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:06:39] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:39] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:39] local.INFO: Packet analysis {"connection_id":193184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:06:39] local.INFO: Extracted packet for processing {"connection_id":193184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:06: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-25 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:06: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-25 00: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-25 00: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-25 00:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"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-25 00:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":193184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:06:39] local.INFO: GPS data processed {"connection_id":193184,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:06:39] local.INFO: Acknowledgment sent {"connection_id":193184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:06:43] local.INFO: TCP Data received {"connection_id":193184,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:43] local.INFO: Processing buffer {"connection_id":193184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:06:43] local.INFO: Packet analysis {"connection_id":193184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:06:43] local.INFO: Extracted packet for processing {"connection_id":193184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:06: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:06: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-25 00: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-25 00: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-25 00:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"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-25 00:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":193184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:06:43] local.INFO: GPS data processed {"connection_id":193184,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:06:43] local.INFO: Acknowledgment sent {"connection_id":193184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:06:43] local.INFO: TCP Data received {"connection_id":191626,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b35288012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b35288012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:43] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b35288012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:06:43] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:06:43] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:06:43] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310373376001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:06:43] 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-25 00:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790274917000,"timestamp_ms":1790274917000,"timestamp_seconds":1790274917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b35288"} 
[2026-09-25 00: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-25 00:06: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-25 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:06:43] 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-25 00: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-25 00: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-25 00:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:06: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-25 00:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310373376001,"66":27789,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310373376001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:06: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-25 00:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310373376001,"power":27789,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:06:43] 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":892865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:06:43] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:06:43] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:07:05] local.INFO: TCP Data received {"connection_id":194478,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:05] local.INFO: Processing buffer {"connection_id":194478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:05] local.INFO: IMEI packet received {"connection_id":194478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":194478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:07:11] local.INFO: TCP Data received {"connection_id":194478,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:11] local.INFO: Processing buffer {"connection_id":194478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:07:11] local.INFO: IMEI packet received {"connection_id":194478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":194478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:07:14] local.INFO: TCP Data received {"connection_id":194478,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b3a490012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b3a490012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:14] local.INFO: Processing buffer {"connection_id":194478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b3a490012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:14] local.INFO: Packet analysis {"connection_id":194478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:07:14] local.INFO: Extracted packet for processing {"connection_id":194478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:07:14] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310378752001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07: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-25 00:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790274938000,"timestamp_ms":1790274938000,"timestamp_seconds":1790274938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b3a490"} 
[2026-09-25 00:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:07:14] 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-25 00:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:07: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-25 00:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310378752001,"66":27876,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310378752001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:07:14] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:07: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-25 00:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310378752001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":194478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:07:14] local.INFO: GPS data processed {"connection_id":194478,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:07:14] local.INFO: Acknowledgment sent {"connection_id":194478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:07:27] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:27] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:27] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:07:32] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:32] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:07:32] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:07:33] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:33] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:33] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:07:33] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:07: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-25 00: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-25 00: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-25 00:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:07: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-25 00:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:07:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:07:33] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:07:33] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:07:39] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:39] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:07:39] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:07:39] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:07: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-25 00:07: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-25 00:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07: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-25 00:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:07: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-25 00:07: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-25 00:07: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-25 00:07: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-25 00:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:07: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-25 00:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:07: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-25 00:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:07:39] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:07:39] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:07:47] local.INFO: TCP Data received {"connection_id":194478,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b3f698012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b3f698012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:47] local.INFO: Processing buffer {"connection_id":194478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b3f698012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:07:47] local.INFO: Packet analysis {"connection_id":194478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:07:47] local.INFO: Extracted packet for processing {"connection_id":194478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b3"} 
[2026-09-25 00:07:47] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310384128001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:07:47] 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-25 00:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790274959000,"timestamp_ms":1790274959000,"timestamp_seconds":1790274959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b3f698"} 
[2026-09-25 00:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:07: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-25 00:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:07: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-25 00:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:07: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-25 00:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310384128001,"66":28006,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310384128001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:07: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-25 00:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310384128001,"power":28006,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":194478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:07:48] local.INFO: GPS data processed {"connection_id":194478,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:07:48] local.INFO: Acknowledgment sent {"connection_id":194478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:08:08] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:08] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:08] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:08:10] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:10] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:10] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:08:10] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:10] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:10] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:08:10] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:08: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:08: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-25 00:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:08: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-25 00:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"66":25441,"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-25 00:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:08: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-25 00:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:08:10] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:08:10] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:08:11] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:11] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:08:11] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:08:12] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b448a0012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b448a0012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:12] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b448a0012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:12] local.INFO: Packet analysis {"connection_id":191627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b4"} 
[2026-09-25 00:08:12] local.INFO: Extracted packet for processing {"connection_id":191627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b4"} 
[2026-09-25 00:08:12] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 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-25 00:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310389504001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08: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-25 00:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790274980000,"timestamp_ms":1790274980000,"timestamp_seconds":1790274980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b448a0"} 
[2026-09-25 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-25 00: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-25 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:08: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-25 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-25 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-25 00:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310389504001,"66":27984,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310389504001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:08:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310389504001,"power":27984,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:08:12] 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":892871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:08:12] local.INFO: GPS data processed {"connection_id":191627,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:08:12] local.INFO: Acknowledgment sent {"connection_id":191627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:08:17] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b49aa8012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b49aa8012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:17] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b49aa8012d0bb48006ef17f0000d00a130..."} 
[2026-09-25 00:08:17] local.INFO: Packet analysis {"connection_id":191627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b4"} 
[2026-09-25 00:08:17] local.INFO: Extracted packet for processing {"connection_id":191627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b4"} 
[2026-09-25 00:08:17] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":116332528,"longitude_deg":75.5741824,"latitude_deg":11.6332528,"altitude":13,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d0bb480","hex_latitude":"06ef17f0","is_valid_coordinates":true} 
[2026-09-25 00:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310394880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:17] 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-25 00:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790275001000,"timestamp_ms":1790275001000,"timestamp_seconds":1790275001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b49aa8"} 
[2026-09-25 00:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:08: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-25 00:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 00:08:17] 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-25 00:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:08: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-25 00:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310394880001,"66":27800,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":843439797494607872},"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-25 00:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310394880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:08:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:08: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-25 00:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797494607872,"description":"Unknown IO ID 45"} 
[2026-09-25 00:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310394880001,"power":27800,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":843439797494607872}} 
[2026-09-25 00:08:17] 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":892872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:08:17] local.INFO: GPS data processed {"connection_id":191627,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:08:17] local.INFO: Acknowledgment sent {"connection_id":191627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:08:27] local.INFO: TCP Data received {"connection_id":194479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:27] local.INFO: Processing buffer {"connection_id":194479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:27] local.INFO: IMEI packet received {"connection_id":194479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":194479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:08:32] local.INFO: TCP Data received {"connection_id":194479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:32] local.INFO: Processing buffer {"connection_id":194479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:08:32] local.INFO: IMEI packet received {"connection_id":194479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":194479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:08:33] local.INFO: TCP Data received {"connection_id":194479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:33] local.INFO: Processing buffer {"connection_id":194479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b12bc0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:08:33] local.INFO: Packet analysis {"connection_id":194479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00:08:33] local.INFO: Extracted packet for processing {"connection_id":194479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310265600001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790274776000,"timestamp_ms":1790274776000,"timestamp_seconds":1790274776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b12bc0"} 
[2026-09-25 00: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-25 00:08: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:08: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-25 00: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-25 00: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-25 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310265600001,"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-25 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310265600001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:08:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:08:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310265600001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":194479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:08:33] local.INFO: GPS data processed {"connection_id":194479,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:08:33] local.INFO: Acknowledgment sent {"connection_id":194479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:08:48] local.INFO: TCP Data received {"connection_id":191627,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b57d380100000000000000000000000000..."} 
[2026-09-25 00:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b57d380100000000000000000000000000..."} 
[2026-09-25 00:08:48] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b57d380100000000000000000000000000..."} 
[2026-09-25 00:08:48] local.INFO: Packet analysis {"connection_id":191627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:08:48] local.INFO: Extracted packet for processing {"connection_id":191627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:08: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-25 00: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-25 00:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310400256001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797494607872,"note":"Value kept but may cause issues"} 
[2026-09-25 00:08: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-25 00:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790275059000,"timestamp_ms":1790275059000,"timestamp_seconds":1790275059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b57d38"} 
[2026-09-25 00: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-25 00:08: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-25 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:08:48] 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-25 00: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-25 00: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-25 00:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":191627,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:08:48] local.INFO: GPS data processed {"connection_id":191627,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:08:48] local.INFO: Acknowledgment sent {"connection_id":191627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:09:04] local.INFO: TCP Data received {"connection_id":194479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:04] local.INFO: Processing buffer {"connection_id":194479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:04] local.INFO: Packet analysis {"connection_id":194479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:04] local.INFO: Extracted packet for processing {"connection_id":194479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09: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-25 00:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09: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-25 00:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:09: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-25 00:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:09: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-25 00:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":194479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:09:04] local.INFO: GPS data processed {"connection_id":194479,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:09:04] local.INFO: Acknowledgment sent {"connection_id":194479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:09:09] local.INFO: TCP Data received {"connection_id":193185,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:09] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:09] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:09:11] local.INFO: TCP Data received {"connection_id":193185,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:11] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:11] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:09:16] local.INFO: TCP Data received {"connection_id":193185,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:16] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:09:16] local.INFO: IMEI packet received {"connection_id":193185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":193185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:09:19] local.INFO: TCP Data received {"connection_id":193185,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b50038012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b50038012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:19] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b50038012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:19] local.INFO: Packet analysis {"connection_id":193185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:19] local.INFO: Extracted packet for processing {"connection_id":193185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:19] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":116321688,"longitude_deg":75.5746176,"latitude_deg":11.6321688,"altitude":13,"angle":157,"satellites":48,"speed":15,"hex_longitude":"2d0bc580","hex_latitude":"06eeed98","is_valid_coordinates":true} 
[2026-09-25 00:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:19] 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-25 00:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790275027000,"timestamp_ms":1790275027000,"timestamp_seconds":1790275027,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b50038"} 
[2026-09-25 00:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:09: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-25 00:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-25 00:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:09: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-25 00:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"118":206,"2":56576,"24":15,"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-25 00:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:09:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:09: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-25 00:09:19] 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":15,"odometer":null}} 
[2026-09-25 00:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":193185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:09:19] local.INFO: GPS data processed {"connection_id":193185,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:09:19] local.INFO: Acknowledgment sent {"connection_id":193185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:09:27] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:27] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:27] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:09:32] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:32] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:09:32] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:09:33] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:33] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:09:33] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:33] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00:09: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-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 00: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-25 00: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-25 00:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:09:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:09:33] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:09:33] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:09:51] local.INFO: TCP Data received {"connection_id":193185,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b55240012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b55240012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:51] local.INFO: Processing buffer {"connection_id":193185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b55240012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:09:51] local.INFO: Packet analysis {"connection_id":193185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:51] local.INFO: Extracted packet for processing {"connection_id":193185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:09:51] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":116321688,"longitude_deg":75.5746176,"latitude_deg":11.6321688,"altitude":13,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d0bc580","hex_latitude":"06eeed98","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310406912001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848224872095913984,"note":"Value kept but may cause issues"} 
[2026-09-25 00:09:51] 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-25 00:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790275048000,"timestamp_ms":1790275048000,"timestamp_seconds":1790275048,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b55240"} 
[2026-09-25 00: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-25 00:09: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-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:09: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-25 00: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-25 00: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-25 00:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:09: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-25 00:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310406912001,"66":27484,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":848224872095913984},"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-25 00:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310406912001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:09:51] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":848224872095913984,"description":"Unknown IO ID 45"} 
[2026-09-25 00:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310406912001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":848224872095913984}} 
[2026-09-25 00:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":193185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:09:51] local.INFO: GPS data processed {"connection_id":193185,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:09:51] local.INFO: Acknowledgment sent {"connection_id":193185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:10:05] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:05] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:05] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:05] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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-25 00: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-25 00:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00: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-25 00:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:10:05] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:10:05] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:10:06] local.INFO: TCP Data received {"connection_id":191805,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:06] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:06] local.INFO: IMEI packet received {"connection_id":191805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:10:11] local.INFO: TCP Data received {"connection_id":191805,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:11] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:10:11] local.INFO: IMEI packet received {"connection_id":191805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:10:12] local.INFO: TCP Data received {"connection_id":191805,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5a448012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5a448012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:12] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5a448012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:12] local.INFO: Packet analysis {"connection_id":191805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:12] local.INFO: Extracted packet for processing {"connection_id":191805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:12] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":116321688,"longitude_deg":75.5746176,"latitude_deg":11.6321688,"altitude":13,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d0bc580","hex_latitude":"06eeed98","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310412288001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848224872095913984,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10: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-25 00:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275069000,"timestamp_ms":1790275069000,"timestamp_seconds":1790275069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5a448"} 
[2026-09-25 00: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-25 00: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-25 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 00:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310412288001,"66":27995,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":848224872095913984},"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-25 00:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310412288001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:10:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":848224872095913984,"description":"Unknown IO ID 45"} 
[2026-09-25 00:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310412288001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":848224872095913984}} 
[2026-09-25 00:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":191805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:10:12] local.INFO: GPS data processed {"connection_id":191805,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:10:12] local.INFO: Acknowledgment sent {"connection_id":191805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:10:27] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:27] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:27] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:10:32] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:32] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:10:32] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:10:33] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:33] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:10:33] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:33] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00:10: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-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 00: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-25 00: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-25 00:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:10: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-25 00:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"66":25451,"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-25 00:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:10: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":892880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:10:33] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:10:33] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:10:44] local.INFO: TCP Data received {"connection_id":191805,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5f650012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5f650012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:44] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5f650012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:10:44] local.INFO: Packet analysis {"connection_id":191805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:44] local.INFO: Extracted packet for processing {"connection_id":191805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":116321688,"longitude_deg":75.5746176,"latitude_deg":11.6321688,"altitude":13,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d0bc580","hex_latitude":"06eeed98","is_valid_coordinates":true} 
[2026-09-25 00:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310417664001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848224872095913984,"note":"Value kept but may cause issues"} 
[2026-09-25 00:10: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-25 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790275090000,"timestamp_ms":1790275090000,"timestamp_seconds":1790275090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5f650"} 
[2026-09-25 00:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 00:10: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-25 00:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310417664001,"66":27908,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":848224872095913984},"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-25 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310417664001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":848224872095913984,"description":"Unknown IO ID 45"} 
[2026-09-25 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310417664001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":848224872095913984}} 
[2026-09-25 00:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":191805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:10:44] local.INFO: GPS data processed {"connection_id":191805,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:10:44] local.INFO: Acknowledgment sent {"connection_id":191805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:11:05] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:05] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:05] local.INFO: Packet analysis {"connection_id":191628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:11:05] local.INFO: Extracted packet for processing {"connection_id":191628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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-25 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11: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-25 00:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"66":25451,"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-25 00:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:11: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":892882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:11:05] local.INFO: GPS data processed {"connection_id":191628,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:11:05] local.INFO: Acknowledgment sent {"connection_id":191628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:11:05] local.INFO: TCP Data received {"connection_id":193186,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:05] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:05] local.INFO: IMEI packet received {"connection_id":193186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":193186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:11:11] local.INFO: TCP Data received {"connection_id":193186,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:11] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:11:11] local.INFO: IMEI packet received {"connection_id":193186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":193186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:11:12] local.INFO: TCP Data received {"connection_id":193186,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b64858012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b64858012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:11:12] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b64858012d0bc58006eeed98000d009d30..."} 
[2026-09-25 00:11:12] local.INFO: Packet analysis {"connection_id":193186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:11:12] local.INFO: Extracted packet for processing {"connection_id":193186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:11:12] local.INFO: GPS Element Parsed {"raw_longitude":755746176,"raw_latitude":116321688,"longitude_deg":75.5746176,"latitude_deg":11.6321688,"altitude":13,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d0bc580","hex_latitude":"06eeed98","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310423040001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848224872095913984,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11: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-25 00:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275111000,"timestamp_ms":1790275111000,"timestamp_seconds":1790275111,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b64858"} 
[2026-09-25 00: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-25 00:11: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-25 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 00:11: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-25 00: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-25 00: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-25 00:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:11: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-25 00:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310423040001,"66":27071,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":848224872095913984},"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-25 00:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310423040001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:11:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":848224872095913984,"description":"Unknown IO ID 45"} 
[2026-09-25 00:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310423040001,"power":27071,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":848224872095913984}} 
[2026-09-25 00:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":193186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:11:13] local.INFO: GPS data processed {"connection_id":193186,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:11:13] local.INFO: Acknowledgment sent {"connection_id":193186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:11:32] local.INFO: TCP Data received {"connection_id":194480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:32] local.INFO: Processing buffer {"connection_id":194480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:32] local.INFO: IMEI packet received {"connection_id":194480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":194480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:11:37] local.INFO: TCP Data received {"connection_id":194480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:37] local.INFO: Processing buffer {"connection_id":194480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:11:37] local.INFO: IMEI packet received {"connection_id":194480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":194480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:11:40] local.INFO: TCP Data received {"connection_id":194480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:40] local.INFO: Processing buffer {"connection_id":194480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:40] local.INFO: Packet analysis {"connection_id":194480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:11:40] local.INFO: Extracted packet for processing {"connection_id":194480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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-25 00: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-25 00:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11: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-25 00:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":194480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:11:40] local.INFO: GPS data processed {"connection_id":194480,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:11:40] local.INFO: Acknowledgment sent {"connection_id":194480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:11:42] local.INFO: TCP Data received {"connection_id":194480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:42] local.INFO: Processing buffer {"connection_id":194480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:11:42] local.INFO: Packet analysis {"connection_id":194480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:11:42] local.INFO: Extracted packet for processing {"connection_id":194480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:11: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:11: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-25 00:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:11: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-25 00:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":194480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:11:42] local.INFO: GPS data processed {"connection_id":194480,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:11:42] local.INFO: Acknowledgment sent {"connection_id":194480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:11:47] local.INFO: TCP Data received {"connection_id":193186,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b72ae80100000000000000000000000000..."} 
[2026-09-25 00:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b72ae80100000000000000000000000000..."} 
[2026-09-25 00:11:47] local.INFO: Processing buffer {"connection_id":193186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b72ae80100000000000000000000000000..."} 
[2026-09-25 00:11:47] local.INFO: Packet analysis {"connection_id":193186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:11:47] local.INFO: Extracted packet for processing {"connection_id":193186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:11: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-25 00:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310428416001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848224872095913984,"note":"Value kept but may cause issues"} 
[2026-09-25 00:11:47] 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-25 00:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790275169000,"timestamp_ms":1790275169000,"timestamp_seconds":1790275169,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b72ae8"} 
[2026-09-25 00:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:11: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-25 00:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-25 00:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:11: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-25 00:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":193186,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:11:47] local.INFO: GPS data processed {"connection_id":193186,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:11:47] local.INFO: Acknowledgment sent {"connection_id":193186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:12:05] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:05] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:05] local.INFO: IMEI packet received {"connection_id":193187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":193187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:12:10] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:10] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:10] local.INFO: IMEI packet received {"connection_id":193187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":193187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:12:11] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:11] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:12:11] local.INFO: IMEI packet received {"connection_id":193187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":193187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:12:12] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b6aa00012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b6aa00012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:12] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b6aa00012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:12] local.INFO: Packet analysis {"connection_id":193187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:12:12] local.INFO: Extracted packet for processing {"connection_id":193187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:12:12] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":116313448,"longitude_deg":75.5749568,"latitude_deg":11.6313448,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d0bd2c0","hex_latitude":"06eecd68","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:12] 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-25 00:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275136000,"timestamp_ms":1790275136000,"timestamp_seconds":1790275136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b6aa00"} 
[2026-09-25 00: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-25 00:12: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-25 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:12:12] 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-25 00: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-25 00: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-25 00:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"118":206,"2":56576,"24":0,"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-25 00:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:12:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:12:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null}} 
[2026-09-25 00:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":193187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:12:12] local.INFO: GPS data processed {"connection_id":193187,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:12:12] local.INFO: Acknowledgment sent {"connection_id":193187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:12:16] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b6fc08012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b6fc08012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:16] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b6fc08012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:16] local.INFO: Packet analysis {"connection_id":193187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:12:16] local.INFO: Extracted packet for processing {"connection_id":193187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b6"} 
[2026-09-25 00:12:16] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":116313448,"longitude_deg":75.5749568,"latitude_deg":11.6313448,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d0bd2c0","hex_latitude":"06eecd68","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310434816001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415535220736,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12: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-25 00:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790275157000,"timestamp_ms":1790275157000,"timestamp_seconds":1790275157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b6fc08"} 
[2026-09-25 00: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-25 00:12: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-25 00: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":91,"data_length":795,"current_offset":136} 
[2026-09-25 00:12: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-25 00: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-25 00: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-25 00:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:12: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-25 00:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310434816001,"66":27952,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":851954415535220736},"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-25 00:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310434816001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:12:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415535220736,"description":"Unknown IO ID 45"} 
[2026-09-25 00:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310434816001,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":851954415535220736}} 
[2026-09-25 00:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":193187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:12:16] local.INFO: GPS data processed {"connection_id":193187,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:12:16] local.INFO: Acknowledgment sent {"connection_id":193187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:12:27] local.INFO: TCP Data received {"connection_id":194481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:27] local.INFO: Processing buffer {"connection_id":194481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:27] local.INFO: IMEI packet received {"connection_id":194481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":194481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:12:32] local.INFO: TCP Data received {"connection_id":194481,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:32] local.INFO: Processing buffer {"connection_id":194481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:12:32] local.INFO: IMEI packet received {"connection_id":194481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":194481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:12:33] local.INFO: TCP Data received {"connection_id":194481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:12:33] local.INFO: Processing buffer {"connection_id":194481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:12:33] local.INFO: Packet analysis {"connection_id":194481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:12:33] local.INFO: Extracted packet for processing {"connection_id":194481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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-25 00: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-25 00:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00: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-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 00: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-25 00: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-25 00:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:12: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-25 00:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":194481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:12:33] local.INFO: GPS data processed {"connection_id":194481,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:12:33] local.INFO: Acknowledgment sent {"connection_id":194481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:12:48] local.INFO: TCP Data received {"connection_id":193187,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b74e10012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b74e10012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:48] local.INFO: Processing buffer {"connection_id":193187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b74e10012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:12:48] local.INFO: Packet analysis {"connection_id":193187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:12:48] local.INFO: Extracted packet for processing {"connection_id":193187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:12:48] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":116313448,"longitude_deg":75.5749568,"latitude_deg":11.6313448,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d0bd2c0","hex_latitude":"06eecd68","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310440192001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415535220736,"note":"Value kept but may cause issues"} 
[2026-09-25 00:12: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-25 00:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790275178000,"timestamp_ms":1790275178000,"timestamp_seconds":1790275178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b74e10"} 
[2026-09-25 00: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-25 00:12: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-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:12:48] 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-25 00: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-25 00: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-25 00:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:12: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-25 00:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310440192001,"66":27789,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":851954415535220736},"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-25 00:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310440192001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:12:48] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415535220736,"description":"Unknown IO ID 45"} 
[2026-09-25 00:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310440192001,"power":27789,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":851954415535220736}} 
[2026-09-25 00:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":193187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:12:48] local.INFO: GPS data processed {"connection_id":193187,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:12:48] local.INFO: Acknowledgment sent {"connection_id":193187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:13:04] local.INFO: TCP Data received {"connection_id":194481,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:04] local.INFO: Processing buffer {"connection_id":194481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:04] local.INFO: Packet analysis {"connection_id":194481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:13:04] local.INFO: Extracted packet for processing {"connection_id":194481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":194481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:13:04] local.INFO: GPS data processed {"connection_id":194481,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:13:04] local.INFO: Acknowledgment sent {"connection_id":194481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:13:05] local.INFO: TCP Data received {"connection_id":193188,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:05] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:05] local.INFO: IMEI packet received {"connection_id":193188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":193188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:13:11] local.INFO: TCP Data received {"connection_id":193188,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:11] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:13:11] local.INFO: IMEI packet received {"connection_id":193188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":193188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:13:12] local.INFO: TCP Data received {"connection_id":193188,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b7a018012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b7a018012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:12] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b7a018012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:12] local.INFO: Packet analysis {"connection_id":193188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:13:12] local.INFO: Extracted packet for processing {"connection_id":193188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":116313448,"longitude_deg":75.5749568,"latitude_deg":11.6313448,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d0bd2c0","hex_latitude":"06eecd68","is_valid_coordinates":true} 
[2026-09-25 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310445568001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415535220736,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13: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-25 00:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275199000,"timestamp_ms":1790275199000,"timestamp_seconds":1790275199,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b7a018"} 
[2026-09-25 00:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:13: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-25 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:13:12] 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-25 00:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310445568001,"66":27745,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":851954415535220736},"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-25 00:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310445568001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:13:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415535220736,"description":"Unknown IO ID 45"} 
[2026-09-25 00:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310445568001,"power":27745,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":851954415535220736}} 
[2026-09-25 00:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":193188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:13:12] local.INFO: GPS data processed {"connection_id":193188,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:13:12] local.INFO: Acknowledgment sent {"connection_id":193188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:13:27] local.INFO: TCP Data received {"connection_id":193189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:27] local.INFO: Processing buffer {"connection_id":193189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:27] local.INFO: IMEI packet received {"connection_id":193189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":193189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:13:32] local.INFO: TCP Data received {"connection_id":193189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:32] local.INFO: Processing buffer {"connection_id":193189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:13:32] local.INFO: IMEI packet received {"connection_id":193189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":193189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:13:33] local.INFO: TCP Data received {"connection_id":193189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:33] local.INFO: Processing buffer {"connection_id":193189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b5c388012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:13:33] local.INFO: Packet analysis {"connection_id":193189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00:13:33] local.INFO: Extracted packet for processing {"connection_id":193189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b5"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310342656001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275077000,"timestamp_ms":1790275077000,"timestamp_seconds":1790275077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b5c388"} 
[2026-09-25 00: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-25 00: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-25 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 00: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-25 00: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-25 00:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:13: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-25 00:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310342656001,"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-25 00:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310342656001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310342656001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":193189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:13:33] local.INFO: GPS data processed {"connection_id":193189,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:13:33] local.INFO: Acknowledgment sent {"connection_id":193189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:13:45] local.INFO: TCP Data received {"connection_id":193188,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b7f220012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b7f220012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:45] local.INFO: Processing buffer {"connection_id":193188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b7f220012d0bd2c006eecd68000c00972d..."} 
[2026-09-25 00:13:45] local.INFO: Packet analysis {"connection_id":193188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:13:45] local.INFO: Extracted packet for processing {"connection_id":193188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b7"} 
[2026-09-25 00:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755749568,"raw_latitude":116313448,"longitude_deg":75.5749568,"latitude_deg":11.6313448,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d0bd2c0","hex_latitude":"06eecd68","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310450944001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415535220736,"note":"Value kept but may cause issues"} 
[2026-09-25 00:13: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-25 00:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790275220000,"timestamp_ms":1790275220000,"timestamp_seconds":1790275220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b7f220"} 
[2026-09-25 00: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-25 00:13: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-25 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:13: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-25 00: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-25 00: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-25 00:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:13: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-25 00:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310450944001,"66":27593,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":851954415535220736},"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-25 00:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310450944001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:13:45] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:13: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-25 00:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":851954415535220736,"description":"Unknown IO ID 45"} 
[2026-09-25 00:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310450944001,"power":27593,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":851954415535220736}} 
[2026-09-25 00:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":193188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:13:45] local.INFO: GPS data processed {"connection_id":193188,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:13:45] local.INFO: Acknowledgment sent {"connection_id":193188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:14:04] local.INFO: TCP Data received {"connection_id":193189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:04] local.INFO: Processing buffer {"connection_id":193189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:04] local.INFO: Packet analysis {"connection_id":193189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:14:04] local.INFO: Extracted packet for processing {"connection_id":193189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00: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-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":193189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:14:04] local.INFO: GPS data processed {"connection_id":193189,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:14:04] local.INFO: Acknowledgment sent {"connection_id":193189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:14:14] local.INFO: TCP Data received {"connection_id":191806,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:14] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:14] local.INFO: IMEI packet received {"connection_id":191806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":191806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:14:16] local.INFO: TCP Data received {"connection_id":191806,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:16] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:14:16] local.INFO: IMEI packet received {"connection_id":191806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":191806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:14:19] local.INFO: TCP Data received {"connection_id":191806,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b8d4b00100000000000000000000000000..."} 
[2026-09-25 00:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b8d4b00100000000000000000000000000..."} 
[2026-09-25 00:14:19] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b8d4b00100000000000000000000000000..."} 
[2026-09-25 00:14:19] local.INFO: Packet analysis {"connection_id":191806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:14:19] local.INFO: Extracted packet for processing {"connection_id":191806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:14: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-25 00: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-25 00:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310456320001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851954415535220736,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790275278000,"timestamp_ms":1790275278000,"timestamp_seconds":1790275278,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b8d4b0"} 
[2026-09-25 00: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-25 00:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 00:14:19] 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-25 00: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-25 00: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-25 00:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":191806,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:14:19] local.INFO: GPS data processed {"connection_id":191806,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:14:19] local.INFO: Acknowledgment sent {"connection_id":191806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:14:21] local.INFO: TCP Data received {"connection_id":191806,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b86750012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b86750012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:14:21] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b86750012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:14:21] local.INFO: Packet analysis {"connection_id":191806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:14:21] local.INFO: Extracted packet for processing {"connection_id":191806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:14:21] local.INFO: GPS Element Parsed {"raw_longitude":755752576,"raw_latitude":116305216,"longitude_deg":75.5752576,"latitude_deg":11.6305216,"altitude":16,"angle":154,"satellites":46,"speed":0,"hex_longitude":"2d0bde80","hex_latitude":"06eead40","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:21] 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-25 00:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790275250000,"timestamp_ms":1790275250000,"timestamp_seconds":1790275250,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b86750"} 
[2026-09-25 00: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-25 00:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 00:14:21] 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-25 00: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-25 00: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-25 00:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:14: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-25 00:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"118":206,"2":56576,"24":0,"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-25 00:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:14:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:14: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-25 00:14:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null}} 
[2026-09-25 00:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":191806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:14:21] local.INFO: GPS data processed {"connection_id":191806,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:14:21] local.INFO: Acknowledgment sent {"connection_id":191806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:14:27] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:27] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:27] local.INFO: IMEI packet received {"connection_id":191629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":191629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:14:32] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:32] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:14:32] local.INFO: IMEI packet received {"connection_id":191629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:14:33] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:33] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:14:33] local.INFO: Packet analysis {"connection_id":191629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:14:33] local.INFO: Extracted packet for processing {"connection_id":191629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00: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-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:14: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-25 00: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-25 00: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-25 00:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:14: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-25 00:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:14:33] local.INFO: GPS data processed {"connection_id":191629,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:14:33] local.INFO: Acknowledgment sent {"connection_id":191629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:15:04] local.INFO: TCP Data received {"connection_id":191629,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:04] local.INFO: Processing buffer {"connection_id":191629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:04] local.INFO: Packet analysis {"connection_id":191629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:15:04] local.INFO: Extracted packet for processing {"connection_id":191629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:15: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-25 00:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15: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-25 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:15: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-25 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:15: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-25 00:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":191629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:15:04] local.INFO: GPS data processed {"connection_id":191629,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:15:04] local.INFO: Acknowledgment sent {"connection_id":191629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:15:06] local.INFO: TCP Data received {"connection_id":191807,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:06] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:06] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:15:11] local.INFO: TCP Data received {"connection_id":191807,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:11] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:15:11] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:15:12] local.INFO: TCP Data received {"connection_id":191807,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b8b958012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b8b958012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:12] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b8b958012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:12] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:15:12] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b8"} 
[2026-09-25 00:15:12] local.INFO: GPS Element Parsed {"raw_longitude":755752576,"raw_latitude":116305216,"longitude_deg":75.5752576,"latitude_deg":11.6305216,"altitude":16,"angle":154,"satellites":46,"speed":0,"hex_longitude":"2d0bde80","hex_latitude":"06eead40","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310464000001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855261746509463552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15: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-25 00:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275271000,"timestamp_ms":1790275271000,"timestamp_seconds":1790275271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b8b958"} 
[2026-09-25 00: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-25 00: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-25 00: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":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:15:12] 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-25 00: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-25 00: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-25 00:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310464000001,"66":27876,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":855261746509463552},"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-25 00:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310464000001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:15:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":855261746509463552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310464000001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":855261746509463552}} 
[2026-09-25 00:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:15:13] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:15:13] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:15:27] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:27] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:27] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:15:32] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:32] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:15:32] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:15:33] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:33] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:15:33] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:15:33] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00: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-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:15: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-25 00: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-25 00: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-25 00:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:15: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-25 00:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"66":25473,"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-25 00:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:15:33] 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":892899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:15:33] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:15:33] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:15:49] local.INFO: TCP Data received {"connection_id":191807,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b90b60012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b90b60012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:49] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b90b60012d0bde8006eead400010009a2e..."} 
[2026-09-25 00:15:49] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b9"} 
[2026-09-25 00:15:49] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b9"} 
[2026-09-25 00:15:49] local.INFO: GPS Element Parsed {"raw_longitude":755752576,"raw_latitude":116305216,"longitude_deg":75.5752576,"latitude_deg":11.6305216,"altitude":16,"angle":154,"satellites":46,"speed":0,"hex_longitude":"2d0bde80","hex_latitude":"06eead40","is_valid_coordinates":true} 
[2026-09-25 00:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310469376001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855261746509463552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:15: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-25 00:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790275292000,"timestamp_ms":1790275292000,"timestamp_seconds":1790275292,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b90b60"} 
[2026-09-25 00:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:15: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-25 00:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:15: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-25 00:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:15: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-25 00:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310469376001,"66":28093,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":855261746509463552},"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-25 00:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310469376001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:15:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00:15: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-25 00:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":855261746509463552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310469376001,"power":28093,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":855261746509463552}} 
[2026-09-25 00:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:15:49] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:15:49] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:16:04] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:04] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:04] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:16:04] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:16: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-25 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16: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-25 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16: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-25 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"66":25473,"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-25 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:16: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-25 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:16:04] 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":892901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:16:04] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:16:04] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:16:06] local.INFO: TCP Data received {"connection_id":191631,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:06] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:06] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:16:20] local.INFO: TCP Data received {"connection_id":191631,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:20] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:16:20] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:16:22] local.INFO: TCP Data received {"connection_id":191631,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4b95d68012d0bec8006ee86400012009730..."} 
[2026-09-25 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4b95d68012d0bec8006ee86400012009730..."} 
[2026-09-25 00:16:22] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4b95d68012d0bec8006ee86400012009730..."} 
[2026-09-25 00:16:22] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4b9"} 
[2026-09-25 00:16:22] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4b9"} 
[2026-09-25 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":755756160,"raw_latitude":116295232,"longitude_deg":75.575616,"latitude_deg":11.6295232,"altitude":18,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d0bec80","hex_latitude":"06ee8640","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855261746509463552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:22] 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-25 00:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790275313000,"timestamp_ms":1790275313000,"timestamp_seconds":1790275313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4b95d68"} 
[2026-09-25 00: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-25 00: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-25 00: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-25 00:16:22] 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-25 00: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-25 00: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-25 00:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310474752001,"66":27887,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":855261746509463552},"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-25 00:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:16:22] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 00: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-25 00:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":855261746509463552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310474752001,"power":27887,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":855261746509463552}} 
[2026-09-25 00:16: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":892902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:16:22] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:16:22] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:16:32] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:32] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:32] local.INFO: IMEI packet received {"connection_id":191808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:16:37] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:37] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:16:37] local.INFO: IMEI packet received {"connection_id":191808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:16:38] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:38] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:38] local.INFO: Packet analysis {"connection_id":191808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:16:38] local.INFO: Extracted packet for processing {"connection_id":191808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:16: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-25 00:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":191808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:16:38] local.INFO: GPS data processed {"connection_id":191808,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:16:38] local.INFO: Acknowledgment sent {"connection_id":191808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:16:42] local.INFO: TCP Data received {"connection_id":191808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:42] local.INFO: Processing buffer {"connection_id":191808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:16:42] local.INFO: Packet analysis {"connection_id":191808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:16:42] local.INFO: Extracted packet for processing {"connection_id":191808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:16: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-25 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:16: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-25 00:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":191808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:16:43] local.INFO: GPS data processed {"connection_id":191808,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:16:43] local.INFO: Acknowledgment sent {"connection_id":191808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:17:05] local.INFO: TCP Data received {"connection_id":191632,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:05] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:05] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:17:10] local.INFO: TCP Data received {"connection_id":191632,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:10] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:17:10] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:17:11] local.INFO: TCP Data received {"connection_id":191632,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bd74480100000000000000000000000000..."} 
[2026-09-25 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bd74480100000000000000000000000000..."} 
[2026-09-25 00:17:11] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bd74480100000000000000000000000000..."} 
[2026-09-25 00:17:11] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:17:11] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:17: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-25 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310533888001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870531763989938176,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790275581000,"timestamp_ms":1790275581000,"timestamp_seconds":1790275581,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bd7448"} 
[2026-09-25 00:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 00:17:11] 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-25 00:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":191632,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:17:11] local.INFO: GPS data processed {"connection_id":191632,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:17:11] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:17:27] local.INFO: TCP Data received {"connection_id":194482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:27] local.INFO: Processing buffer {"connection_id":194482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:27] local.INFO: IMEI packet received {"connection_id":194482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":194482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:17:32] local.INFO: TCP Data received {"connection_id":194482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:32] local.INFO: Processing buffer {"connection_id":194482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:17:32] local.INFO: IMEI packet received {"connection_id":194482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":194482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:17:33] local.INFO: TCP Data received {"connection_id":194482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:17:33] local.INFO: Processing buffer {"connection_id":194482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:17:33] local.INFO: Packet analysis {"connection_id":194482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:17:33] local.INFO: Extracted packet for processing {"connection_id":194482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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-25 00: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-25 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00: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-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:17: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-25 00: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-25 00: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-25 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:17: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-25 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":194482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:17:33] local.INFO: GPS data processed {"connection_id":194482,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:17:33] local.INFO: Acknowledgment sent {"connection_id":194482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:17:43] local.INFO: TCP Data received {"connection_id":191632,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bcfb30012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bcfb30012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:17:43] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bcfb30012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:17:43] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bc"} 
[2026-09-25 00:17:43] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bc"} 
[2026-09-25 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":116272992,"longitude_deg":75.5771456,"latitude_deg":11.6272992,"altitude":19,"angle":148,"satellites":45,"speed":8,"hex_longitude":"2d0c2840","hex_latitude":"06ee2f60","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:17:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,158,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790275550000,"timestamp_ms":1790275550000,"timestamp_seconds":1790275550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bcfb30"} 
[2026-09-25 00: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-25 00:17: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-25 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 00:17:43] 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-25 00: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-25 00: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-25 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:17: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-25 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"158":206,"2":56576,"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,158,2,24,16]} 
[2026-09-25 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:17:43] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:17: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-25 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_158":206,"power_alt":56576,"ignition":8,"odometer":null}} 
[2026-09-25 00:17:43] 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":892906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:17:43] local.INFO: GPS data processed {"connection_id":191632,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:17:43] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:18:05] local.INFO: TCP Data received {"connection_id":191809,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:05] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:05] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:18:06] local.INFO: TCP Data received {"connection_id":194482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:06] local.INFO: Processing buffer {"connection_id":194482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:06] local.INFO: Packet analysis {"connection_id":194482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:18:06] local.INFO: Extracted packet for processing {"connection_id":194482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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-25 00: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-25 00:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:18: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-25 00: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-25 00: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-25 00:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":194482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:18:06] local.INFO: GPS data processed {"connection_id":194482,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:18:06] local.INFO: Acknowledgment sent {"connection_id":194482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:18:11] local.INFO: TCP Data received {"connection_id":191809,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:11] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:18:11] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:18:13] local.INFO: TCP Data received {"connection_id":191809,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bd4d38012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bd4d38012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:13] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bd4d38012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:13] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:18:13] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:18:13] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":116272992,"longitude_deg":75.5771456,"latitude_deg":11.6272992,"altitude":19,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"06ee2f60","is_valid_coordinates":true} 
[2026-09-25 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310540800001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526033625088,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790275571000,"timestamp_ms":1790275571000,"timestamp_seconds":1790275571,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bd4d38"} 
[2026-09-25 00:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:18: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-25 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:18:13] 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-25 00:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:18: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-25 00:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310540800001,"66":27821,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":876020526033625088},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310540800001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:18:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:18: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-25 00:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526033625088,"description":"Unknown IO ID 45"} 
[2026-09-25 00:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310540800001,"power":27821,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":876020526033625088}} 
[2026-09-25 00:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:18:13] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:18:13] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:18:27] local.INFO: TCP Data received {"connection_id":194483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:27] local.INFO: Processing buffer {"connection_id":194483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:27] local.INFO: IMEI packet received {"connection_id":194483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":194483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:18:32] local.INFO: TCP Data received {"connection_id":194483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:32] local.INFO: Processing buffer {"connection_id":194483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:18:32] local.INFO: IMEI packet received {"connection_id":194483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":194483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:18:33] local.INFO: TCP Data received {"connection_id":194483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:33] local.INFO: Processing buffer {"connection_id":194483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ba5b50012d34c14006aa4940000900f52e..."} 
[2026-09-25 00:18:33] local.INFO: Packet analysis {"connection_id":194483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00:18:33] local.INFO: Extracted packet for processing {"connection_id":194483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ba"} 
[2026-09-25 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310419712001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275378000,"timestamp_ms":1790275378000,"timestamp_seconds":1790275378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ba5b50"} 
[2026-09-25 00: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-25 00:18: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-25 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 00:18: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-25 00: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-25 00: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-25 00:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:18: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-25 00:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310419712001,"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-25 00:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310419712001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310419712001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":194483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:18:33] local.INFO: GPS data processed {"connection_id":194483,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:18:33] local.INFO: Acknowledgment sent {"connection_id":194483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:18:44] local.INFO: TCP Data received {"connection_id":191809,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bd9f40012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bd9f40012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:44] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bd9f40012d0c284006ee2f60001300942d..."} 
[2026-09-25 00:18:44] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:18:44] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":116272992,"longitude_deg":75.5771456,"latitude_deg":11.6272992,"altitude":19,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"06ee2f60","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310546176001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526033625088,"note":"Value kept but may cause issues"} 
[2026-09-25 00:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790275592000,"timestamp_ms":1790275592000,"timestamp_seconds":1790275592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bd9f40"} 
[2026-09-25 00: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-25 00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:18:44] 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-25 00: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-25 00: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-25 00:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:18: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-25 00:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310546176001,"66":27832,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":876020526033625088},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310546176001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:18:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526033625088,"description":"Unknown IO ID 45"} 
[2026-09-25 00:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310546176001,"power":27832,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":876020526033625088}} 
[2026-09-25 00:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:18:45] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:18:45] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:19:04] local.INFO: TCP Data received {"connection_id":194483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:04] local.INFO: Processing buffer {"connection_id":194483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:04] local.INFO: Packet analysis {"connection_id":194483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19:04] local.INFO: Extracted packet for processing {"connection_id":194483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19: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-25 00:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19: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-25 00:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:19: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-25 00:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:19: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-25 00:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":194483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:19:04] local.INFO: GPS data processed {"connection_id":194483,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:19:04] local.INFO: Acknowledgment sent {"connection_id":194483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:19:11] local.INFO: TCP Data received {"connection_id":191633,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:11] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:11] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:19:16] local.INFO: TCP Data received {"connection_id":191633,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:16] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:19:16] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:19:17] local.INFO: TCP Data received {"connection_id":191633,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4be81d00100000000000000000000000000..."} 
[2026-09-25 00:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4be81d00100000000000000000000000000..."} 
[2026-09-25 00:19:17] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4be81d00100000000000000000000000000..."} 
[2026-09-25 00:19:17] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19:17] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19: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-25 00:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310551552001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526033625088,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790275650000,"timestamp_ms":1790275650000,"timestamp_seconds":1790275650,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4be81d0"} 
[2026-09-25 00:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 00:19:17] 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-25 00:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19: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-25 00:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":191633,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:19:17] local.INFO: GPS data processed {"connection_id":191633,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:19:17] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:19:19] local.INFO: TCP Data received {"connection_id":191633,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bdf530012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bdf530012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:19] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bdf530012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:19] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:19:19] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bd"} 
[2026-09-25 00:19:19] local.INFO: GPS Element Parsed {"raw_longitude":755777600,"raw_latitude":116263112,"longitude_deg":75.57776,"latitude_deg":11.6263112,"altitude":14,"angle":146,"satellites":48,"speed":9,"hex_longitude":"2d0c4040","hex_latitude":"06ee08c8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,158,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790275614000,"timestamp_ms":1790275614000,"timestamp_seconds":1790275614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bdf530"} 
[2026-09-25 00: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-25 00:19: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-25 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:19:19] 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-25 00: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-25 00: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-25 00:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19: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-25 00:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"158":206,"2":56576,"24":9,"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,158,2,24,16]} 
[2026-09-25 00:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:19:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:19: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-25 00:19:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_158":206,"power_alt":56576,"ignition":9,"odometer":null}} 
[2026-09-25 00:19:19] 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":892912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:19:19] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:19:19] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:19:27] local.INFO: TCP Data received {"connection_id":194484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:27] local.INFO: Processing buffer {"connection_id":194484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:27] local.INFO: IMEI packet received {"connection_id":194484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":194484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:19:32] local.INFO: TCP Data received {"connection_id":194484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:32] local.INFO: Processing buffer {"connection_id":194484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:19:32] local.INFO: IMEI packet received {"connection_id":194484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":194484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:19:33] local.INFO: TCP Data received {"connection_id":194484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:33] local.INFO: Processing buffer {"connection_id":194484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:19:33] local.INFO: Packet analysis {"connection_id":194484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19:33] local.INFO: Extracted packet for processing {"connection_id":194484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:19: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-25 00: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-25 00: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-25 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:19: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-25 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":194484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:19:33] local.INFO: GPS data processed {"connection_id":194484,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:19:33] local.INFO: Acknowledgment sent {"connection_id":194484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:19:50] local.INFO: TCP Data received {"connection_id":191633,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4be4738012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4be4738012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:50] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4be4738012d0c404006ee08c8000e009230..."} 
[2026-09-25 00:19:50] local.INFO: Packet analysis {"connection_id":191633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19:50] local.INFO: Extracted packet for processing {"connection_id":191633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:19:50] local.INFO: GPS Element Parsed {"raw_longitude":755777600,"raw_latitude":116263112,"longitude_deg":75.57776,"latitude_deg":11.6263112,"altitude":14,"angle":146,"satellites":48,"speed":0,"hex_longitude":"2d0c4040","hex_latitude":"06ee08c8","is_valid_coordinates":true} 
[2026-09-25 00:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310557184001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882775925472151552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790275635000,"timestamp_ms":1790275635000,"timestamp_seconds":1790275635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4be4738"} 
[2026-09-25 00:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:19:50] 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-25 00:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:19: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-25 00:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310557184001,"66":27887,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":882775925472151552},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310557184001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:19:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:19: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-25 00:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":882775925472151552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310557184001,"power":27887,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":882775925472151552}} 
[2026-09-25 00:19:51] 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":892914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:19:51] local.INFO: GPS data processed {"connection_id":191633,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:19:51] local.INFO: Acknowledgment sent {"connection_id":191633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:20:05] local.INFO: TCP Data received {"connection_id":194484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:05] local.INFO: Processing buffer {"connection_id":194484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:05] local.INFO: Packet analysis {"connection_id":194484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:05] local.INFO: Extracted packet for processing {"connection_id":194484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:20: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-25 00:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":194484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:20:05] local.INFO: GPS data processed {"connection_id":194484,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:20:05] local.INFO: Acknowledgment sent {"connection_id":194484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:20:11] local.INFO: TCP Data received {"connection_id":191634,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:11] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:11] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:20:17] local.INFO: TCP Data received {"connection_id":191634,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:17] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:20:17] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:20:20] local.INFO: TCP Data received {"connection_id":191634,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4be9940012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4be9940012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:20] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4be9940012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:20] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:20] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:20] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116253888,"longitude_deg":75.5783104,"latitude_deg":11.6253888,"altitude":14,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2d0c55c0","hex_latitude":"06ede4c0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310562560001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882775925472151552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790275656000,"timestamp_ms":1790275656000,"timestamp_seconds":1790275656,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4be9940"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:20:20] 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-25 00: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-25 00: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-25 00:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:20: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-25 00:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310562560001,"66":27767,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":882775925472151552},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310562560001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:20:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":882775925472151552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310562560001,"power":27767,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":882775925472151552}} 
[2026-09-25 00:20:20] 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":892916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:20:20] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:20:20] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:20:22] local.INFO: TCP Data received {"connection_id":191634,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4beeb48012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4beeb48012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:22] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4beeb48012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:20:22] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:22] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:22] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116253888,"longitude_deg":75.5783104,"latitude_deg":11.6253888,"altitude":14,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2d0c55c0","hex_latitude":"06ede4c0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310567936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637469069312,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790275677000,"timestamp_ms":1790275677000,"timestamp_seconds":1790275677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4beeb48"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:20: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-25 00: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-25 00: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-25 00:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310567936001,"66":27887,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":888827637469069312},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310567936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:20:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637469069312,"description":"Unknown IO ID 45"} 
[2026-09-25 00:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310567936001,"power":27887,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":888827637469069312}} 
[2026-09-25 00:20:22] 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":892917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:20:22] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:20:22] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:20:27] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:27] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:27] local.INFO: IMEI packet received {"connection_id":191810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":191810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:20:32] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:32] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:20:32] local.INFO: IMEI packet received {"connection_id":191810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:20:33] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:33] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:20:33] local.INFO: Packet analysis {"connection_id":191810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:20:33] local.INFO: Extracted packet for processing {"connection_id":191810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00:20: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:20: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-25 00: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-25 00: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-25 00:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:20: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-25 00:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":191810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:20:33] local.INFO: GPS data processed {"connection_id":191810,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:20:33] local.INFO: Acknowledgment sent {"connection_id":191810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:21:04] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:04] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:04] local.INFO: Packet analysis {"connection_id":191810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:21:04] local.INFO: Extracted packet for processing {"connection_id":191810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:21: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-25 00:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21: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-25 00:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:21: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-25 00:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:21: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-25 00:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:21: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-25 00:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":191810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:21:04] local.INFO: GPS data processed {"connection_id":191810,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:21:04] local.INFO: Acknowledgment sent {"connection_id":191810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:21:06] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:06] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:06] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:21:07] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:07] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:07] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:21:11] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:11] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:21:11] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:21:13] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bf3d50012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bf3d50012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:21:13] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bf3d50012d0c55c006ede4c0000e009b2d..."} 
[2026-09-25 00:21:13] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:21:13] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116253888,"longitude_deg":75.5783104,"latitude_deg":11.6253888,"altitude":14,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2d0c55c0","hex_latitude":"06ede4c0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573312001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637469069312,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790275698000,"timestamp_ms":1790275698000,"timestamp_seconds":1790275698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bf3d50"} 
[2026-09-25 00: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-25 00:21: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-25 00: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":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:21:13] 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-25 00: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-25 00: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-25 00:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21: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-25 00:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573312001,"66":27821,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":888827637469069312},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573312001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:21:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637469069312,"description":"Unknown IO ID 45"} 
[2026-09-25 00:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573312001,"power":27821,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":888827637469069312}} 
[2026-09-25 00:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:21:13] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:21:13] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:21:16] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c01fe00100000000000000000000000000..."} 
[2026-09-25 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c01fe00100000000000000000000000000..."} 
[2026-09-25 00:21:16] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c01fe00100000000000000000000000000..."} 
[2026-09-25 00:21:16] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:21:16] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:21: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-25 00:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310578688001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637469069312,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790275756000,"timestamp_ms":1790275756000,"timestamp_seconds":1790275756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c01fe0"} 
[2026-09-25 00:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:21: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-25 00:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:21: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-25 00:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21: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-25 00:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:21:16] local.INFO: GPS data processed {"connection_id":191811,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:21:16] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:21:27] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:27] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:27] local.INFO: IMEI packet received {"connection_id":191635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":191635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:21:32] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:32] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:21:32] local.INFO: IMEI packet received {"connection_id":191635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":191635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:21:33] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:33] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:21:33] local.INFO: Packet analysis {"connection_id":191635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:21:33] local.INFO: Extracted packet for processing {"connection_id":191635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00:21: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:21: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-25 00: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-25 00: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-25 00:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:21: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-25 00:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:21:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:21:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":191635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:21:33] local.INFO: GPS data processed {"connection_id":191635,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:21:33] local.INFO: Acknowledgment sent {"connection_id":191635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:21:49] local.INFO: TCP Data received {"connection_id":191811,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bf9ef8012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bf9ef8012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:21:49] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bf9ef8012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:21:49] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:21:49] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":116243312,"longitude_deg":75.5786752,"latitude_deg":11.6243312,"altitude":14,"angle":167,"satellites":46,"speed":12,"hex_longitude":"2d0c6400","hex_latitude":"06edbb70","is_valid_coordinates":true} 
[2026-09-25 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:21:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,158,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790275723000,"timestamp_ms":1790275723000,"timestamp_seconds":1790275723,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bf9ef8"} 
[2026-09-25 00:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:21: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-25 00:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:21: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-25 00:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:21: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-25 00:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"158":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,158,2,24,16]} 
[2026-09-25 00:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:21:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:21: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-25 00:21:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null}} 
[2026-09-25 00:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:21:49] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:21:49] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:22:05] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:05] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:05] local.INFO: Packet analysis {"connection_id":191635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:22:05] local.INFO: Extracted packet for processing {"connection_id":191635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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-25 00: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-25 00:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00:22: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:22: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-25 00:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":191635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:22:05] local.INFO: GPS data processed {"connection_id":191635,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:22:05] local.INFO: Acknowledgment sent {"connection_id":191635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:22:05] local.INFO: TCP Data received {"connection_id":191636,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: IMEI packet received {"connection_id":191636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":191636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:22:05] local.INFO: TCP Data received {"connection_id":191636,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:05] local.INFO: IMEI packet received {"connection_id":191636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":191636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:22:11] local.INFO: TCP Data received {"connection_id":191636,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:11] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:22:11] local.INFO: IMEI packet received {"connection_id":191636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":191636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:22:12] local.INFO: TCP Data received {"connection_id":191636,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bff100012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bff100012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:12] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bff100012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:12] local.INFO: Packet analysis {"connection_id":191636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:22:12] local.INFO: Extracted packet for processing {"connection_id":191636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4bf"} 
[2026-09-25 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":116243312,"longitude_deg":75.5786752,"latitude_deg":11.6243312,"altitude":14,"angle":167,"satellites":46,"speed":0,"hex_longitude":"2d0c6400","hex_latitude":"06edbb70","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310585088001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838655884488704,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275744000,"timestamp_ms":1790275744000,"timestamp_seconds":1790275744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bff100"} 
[2026-09-25 00: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-25 00:22: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-25 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:22:12] 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-25 00: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-25 00: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-25 00:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310585088001,"66":27800,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":892838655884488704},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310585088001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:22:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838655884488704,"description":"Unknown IO ID 45"} 
[2026-09-25 00:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310585088001,"power":27800,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":892838655884488704}} 
[2026-09-25 00:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":191636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:22:12] local.INFO: GPS data processed {"connection_id":191636,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:22:12] local.INFO: Acknowledgment sent {"connection_id":191636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:22:27] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:27] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:27] local.INFO: IMEI packet received {"connection_id":193190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":193190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:22:32] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:32] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:22:32] local.INFO: IMEI packet received {"connection_id":193190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":193190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:22:33] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:33] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:22:33] local.INFO: Packet analysis {"connection_id":193190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:22:33] local.INFO: Extracted packet for processing {"connection_id":193190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:22: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-25 00:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22: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-25 00:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:22: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-25 00:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:22: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-25 00:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:22: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-25 00:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"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-25 00:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:22: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-25 00:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":193190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:22:33] local.INFO: GPS data processed {"connection_id":193190,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:22:33] local.INFO: Acknowledgment sent {"connection_id":193190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:22:45] local.INFO: TCP Data received {"connection_id":191636,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c04308012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c04308012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:45] local.INFO: Processing buffer {"connection_id":191636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c04308012d0c640006edbb70000e00a72e..."} 
[2026-09-25 00:22:45] local.INFO: Packet analysis {"connection_id":191636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:22:45] local.INFO: Extracted packet for processing {"connection_id":191636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:22:45] local.INFO: GPS Element Parsed {"raw_longitude":755786752,"raw_latitude":116243312,"longitude_deg":75.5786752,"latitude_deg":11.6243312,"altitude":14,"angle":167,"satellites":46,"speed":0,"hex_longitude":"2d0c6400","hex_latitude":"06edbb70","is_valid_coordinates":true} 
[2026-09-25 00:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310590464001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838655884488704,"note":"Value kept but may cause issues"} 
[2026-09-25 00:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790275765000,"timestamp_ms":1790275765000,"timestamp_seconds":1790275765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c04308"} 
[2026-09-25 00:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:22: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-25 00:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:22:45] 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-25 00:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310590464001,"66":27767,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":892838655884488704},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310590464001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:22:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838655884488704,"description":"Unknown IO ID 45"} 
[2026-09-25 00:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310590464001,"power":27767,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":892838655884488704}} 
[2026-09-25 00:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":191636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:22:46] local.INFO: GPS data processed {"connection_id":191636,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:22:46] local.INFO: Acknowledgment sent {"connection_id":191636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:23:05] local.INFO: TCP Data received {"connection_id":193190,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:05] local.INFO: Processing buffer {"connection_id":193190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:05] local.INFO: Packet analysis {"connection_id":193190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:23:05] local.INFO: Extracted packet for processing {"connection_id":193190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:23: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-25 00: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-25 00: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-25 00:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:23: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-25 00:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"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-25 00:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":193190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:23:05] local.INFO: GPS data processed {"connection_id":193190,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:23:05] local.INFO: Acknowledgment sent {"connection_id":193190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:23:05] local.INFO: TCP Data received {"connection_id":191812,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:05] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:05] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:23:08] local.INFO: TCP Data received {"connection_id":191812,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:08] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:08] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:23:11] local.INFO: TCP Data received {"connection_id":191812,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:11] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:23:11] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:23:12] local.INFO: TCP Data received {"connection_id":191812,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c09510012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c09510012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:12] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c09510012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:12] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:23:12] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:23:12] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":116233776,"longitude_deg":75.5788224,"latitude_deg":11.6233776,"altitude":9,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2d0c69c0","hex_latitude":"06ed9630","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310595840001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892838655884488704,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275786000,"timestamp_ms":1790275786000,"timestamp_seconds":1790275786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c09510"} 
[2026-09-25 00: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-25 00:23: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-25 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:23:12] 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-25 00: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-25 00: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-25 00:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310595840001,"66":27713,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":892838655884488704},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310595840001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:23:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":892838655884488704,"description":"Unknown IO ID 45"} 
[2026-09-25 00:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310595840001,"power":27713,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":892838655884488704}} 
[2026-09-25 00:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:23:12] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:23:12] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:23:27] local.INFO: TCP Data received {"connection_id":191813,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:27] local.INFO: Processing buffer {"connection_id":191813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:27] local.INFO: IMEI packet received {"connection_id":191813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:23:32] local.INFO: TCP Data received {"connection_id":191813,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:32] local.INFO: Processing buffer {"connection_id":191813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:23:32] local.INFO: IMEI packet received {"connection_id":191813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":191813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:23:33] local.INFO: TCP Data received {"connection_id":191813,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:33] local.INFO: Processing buffer {"connection_id":191813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4bef318012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:23:33] local.INFO: Packet analysis {"connection_id":191813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:23:33] local.INFO: Extracted packet for processing {"connection_id":191813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4be"} 
[2026-09-25 00:23: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-25 00:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310496768001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23: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-25 00:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275679000,"timestamp_ms":1790275679000,"timestamp_seconds":1790275679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4bef318"} 
[2026-09-25 00:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:23: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-25 00:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:23: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-25 00:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:23: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-25 00:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310496768001,"66":25462,"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-25 00:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310496768001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:23:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:23:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:23: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-25 00:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310496768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":191813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:23:33] local.INFO: GPS data processed {"connection_id":191813,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:23:33] local.INFO: Acknowledgment sent {"connection_id":191813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:23:44] local.INFO: TCP Data received {"connection_id":191812,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c0e718012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c0e718012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:44] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c0e718012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:23:44] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:23:44] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c0"} 
[2026-09-25 00:23:44] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":116233776,"longitude_deg":75.5788224,"latitude_deg":11.6233776,"altitude":9,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2d0c69c0","hex_latitude":"06ed9630","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310601216001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457136998133760,"note":"Value kept but may cause issues"} 
[2026-09-25 00:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790275807000,"timestamp_ms":1790275807000,"timestamp_seconds":1790275807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c0e718"} 
[2026-09-25 00: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-25 00:23: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-25 00: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-25 00:23: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-25 00: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-25 00: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-25 00:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310601216001,"66":27952,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894457136998133760},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310601216001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:23:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457136998133760,"description":"Unknown IO ID 45"} 
[2026-09-25 00:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310601216001,"power":27952,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894457136998133760}} 
[2026-09-25 00:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:23:44] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:23:44] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:24:04] local.INFO: TCP Data received {"connection_id":191813,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:04] local.INFO: Processing buffer {"connection_id":191813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:04] local.INFO: Packet analysis {"connection_id":191813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:24:04] local.INFO: Extracted packet for processing {"connection_id":191813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:24: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-25 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24: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-25 00:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:24: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-25 00:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:24: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-25 00:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:24: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-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":191813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:24:04] local.INFO: GPS data processed {"connection_id":191813,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:24:04] local.INFO: Acknowledgment sent {"connection_id":191813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:24:05] local.INFO: TCP Data received {"connection_id":191814,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:05] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:05] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:24:11] local.INFO: TCP Data received {"connection_id":191814,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:11] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:24:11] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:24:12] local.INFO: TCP Data received {"connection_id":191814,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c13920012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c13920012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:24:12] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c13920012d0c69c006ed9630000900ae2f..."} 
[2026-09-25 00:24:12] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:24:12] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":116233776,"longitude_deg":75.5788224,"latitude_deg":11.6233776,"altitude":9,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2d0c69c0","hex_latitude":"06ed9630","is_valid_coordinates":true} 
[2026-09-25 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310606592001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457136998133760,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275828000,"timestamp_ms":1790275828000,"timestamp_seconds":1790275828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c13920"} 
[2026-09-25 00:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:24: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-25 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:24: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-25 00:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:24: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-25 00:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310606592001,"66":27745,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894457136998133760},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310606592001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:24:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:24: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-25 00:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457136998133760,"description":"Unknown IO ID 45"} 
[2026-09-25 00:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310606592001,"power":27745,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894457136998133760}} 
[2026-09-25 00:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:24:12] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:24:12] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:24:27] local.INFO: TCP Data received {"connection_id":194485,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:27] local.INFO: Processing buffer {"connection_id":194485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:27] local.INFO: IMEI packet received {"connection_id":194485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":194485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:24:32] local.INFO: TCP Data received {"connection_id":194485,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:32] local.INFO: Processing buffer {"connection_id":194485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:24:32] local.INFO: IMEI packet received {"connection_id":194485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":194485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:24:33] local.INFO: TCP Data received {"connection_id":194485,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:33] local.INFO: Processing buffer {"connection_id":194485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:24:33] local.INFO: Packet analysis {"connection_id":194485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:24:33] local.INFO: Extracted packet for processing {"connection_id":194485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:24: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-25 00: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-25 00: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-25 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:24: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-25 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":194485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:24:33] local.INFO: GPS data processed {"connection_id":194485,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:24:33] local.INFO: Acknowledgment sent {"connection_id":194485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:24:44] local.INFO: TCP Data received {"connection_id":191814,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c17b88012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c17b88012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:24:44] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c17b88012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:24:44] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:24:44] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116224352,"longitude_deg":75.5787968,"latitude_deg":11.6224352,"altitude":10,"angle":188,"satellites":45,"speed":5,"hex_longitude":"2d0c68c0","hex_latitude":"06ed7160","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310611968001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457136998133760,"note":"Value kept but may cause issues"} 
[2026-09-25 00:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790275845000,"timestamp_ms":1790275845000,"timestamp_seconds":1790275845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c17b88"} 
[2026-09-25 00: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-25 00:24: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-25 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:24:44] 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-25 00: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-25 00: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-25 00:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:24: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-25 00:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310611968001,"66":27865,"158":206,"2":56576,"24":5,"16":3605341577150464,"45":894457136998133760},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310611968001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:24:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457136998133760,"description":"Unknown IO ID 45"} 
[2026-09-25 00:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310611968001,"power":27865,"unknown_158":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":894457136998133760}} 
[2026-09-25 00:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:24:44] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:24:44] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:25:05] local.INFO: TCP Data received {"connection_id":194485,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:05] local.INFO: Processing buffer {"connection_id":194485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:05] local.INFO: Packet analysis {"connection_id":194485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:25:05] local.INFO: Extracted packet for processing {"connection_id":194485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00: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-25 00:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:25: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-25 00:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":194485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:25:05] local.INFO: GPS data processed {"connection_id":194485,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:25:05] local.INFO: Acknowledgment sent {"connection_id":194485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:25:10] local.INFO: TCP Data received {"connection_id":193191,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: IMEI packet received {"connection_id":193191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":193191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:25:10] local.INFO: TCP Data received {"connection_id":193191,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:10] local.INFO: IMEI packet received {"connection_id":193191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":193191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:25:16] local.INFO: TCP Data received {"connection_id":193191,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:16] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:25:16] local.INFO: IMEI packet received {"connection_id":193191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":193191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:25:17] local.INFO: TCP Data received {"connection_id":193191,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c1cd90012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c1cd90012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:17] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c1cd90012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:17] local.INFO: Packet analysis {"connection_id":193191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:25:17] local.INFO: Extracted packet for processing {"connection_id":193191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c1"} 
[2026-09-25 00:25:17] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116224352,"longitude_deg":75.5787968,"latitude_deg":11.6224352,"altitude":10,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2d0c68c0","hex_latitude":"06ed7160","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310616320001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894175662019010560,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790275866000,"timestamp_ms":1790275866000,"timestamp_seconds":1790275866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c1cd90"} 
[2026-09-25 00: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-25 00:25: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-25 00: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-25 00:25:17] 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-25 00: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-25 00: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-25 00:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:25: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-25 00:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310616320001,"66":27887,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894175662019010560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310616320001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:25:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:25: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-25 00:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":894175662019010560,"description":"Unknown IO ID 45"} 
[2026-09-25 00:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310616320001,"power":27887,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894175662019010560}} 
[2026-09-25 00:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":193191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:25:17] local.INFO: GPS data processed {"connection_id":193191,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:25:17] local.INFO: Acknowledgment sent {"connection_id":193191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:25:27] local.INFO: TCP Data received {"connection_id":191815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:27] local.INFO: Processing buffer {"connection_id":191815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:27] local.INFO: IMEI packet received {"connection_id":191815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":191815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:25:32] local.INFO: TCP Data received {"connection_id":191815,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:32] local.INFO: Processing buffer {"connection_id":191815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:25:32] local.INFO: IMEI packet received {"connection_id":191815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:25:33] local.INFO: TCP Data received {"connection_id":191815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:33] local.INFO: Processing buffer {"connection_id":191815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:25:33] local.INFO: Packet analysis {"connection_id":191815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:25:33] local.INFO: Extracted packet for processing {"connection_id":191815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00:25: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:25: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-25 00: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-25 00: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-25 00:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:25: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-25 00:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:25:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:25:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":191815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:25:33] local.INFO: GPS data processed {"connection_id":191815,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:25:33] local.INFO: Acknowledgment sent {"connection_id":191815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:25:49] local.INFO: TCP Data received {"connection_id":193191,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c21f98012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c21f98012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:49] local.INFO: Processing buffer {"connection_id":193191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c21f98012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:25:49] local.INFO: Packet analysis {"connection_id":193191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:25:49] local.INFO: Extracted packet for processing {"connection_id":193191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:25:49] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116224352,"longitude_deg":75.5787968,"latitude_deg":11.6224352,"altitude":10,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2d0c68c0","hex_latitude":"06ed7160","is_valid_coordinates":true} 
[2026-09-25 00:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310621696001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894175662019010560,"note":"Value kept but may cause issues"} 
[2026-09-25 00:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790275887000,"timestamp_ms":1790275887000,"timestamp_seconds":1790275887,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c21f98"} 
[2026-09-25 00:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:25:49] 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-25 00:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:25: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-25 00:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310621696001,"66":27789,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894175662019010560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310621696001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:25:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:25: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-25 00:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":894175662019010560,"description":"Unknown IO ID 45"} 
[2026-09-25 00:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310621696001,"power":27789,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894175662019010560}} 
[2026-09-25 00:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":193191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:25:49] local.INFO: GPS data processed {"connection_id":193191,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:25:49] local.INFO: Acknowledgment sent {"connection_id":193191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:26:04] local.INFO: TCP Data received {"connection_id":191637,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:04] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:04] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:26:05] local.INFO: TCP Data received {"connection_id":191815,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:05] local.INFO: Processing buffer {"connection_id":191815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:05] local.INFO: Packet analysis {"connection_id":191815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:26:05] local.INFO: Extracted packet for processing {"connection_id":191815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:26: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-25 00: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-25 00: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-25 00:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:26: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-25 00:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":191815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:26:05] local.INFO: GPS data processed {"connection_id":191815,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:26:05] local.INFO: Acknowledgment sent {"connection_id":191815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:26:05] local.INFO: TCP Data received {"connection_id":191637,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:05] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:05] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:26:11] local.INFO: TCP Data received {"connection_id":191637,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:11] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:26:11] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:26:12] local.INFO: TCP Data received {"connection_id":191637,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c271a0012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c271a0012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:12] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c271a0012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:12] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:26:12] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:26:12] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116224352,"longitude_deg":75.5787968,"latitude_deg":11.6224352,"altitude":10,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2d0c68c0","hex_latitude":"06ed7160","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310627072001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894175662019010560,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790275908000,"timestamp_ms":1790275908000,"timestamp_seconds":1790275908,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c271a0"} 
[2026-09-25 00: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-25 00:26: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-25 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:26:12] 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-25 00: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-25 00: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-25 00:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310627072001,"66":27876,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894175662019010560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310627072001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:26:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":894175662019010560,"description":"Unknown IO ID 45"} 
[2026-09-25 00:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310627072001,"power":27876,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894175662019010560}} 
[2026-09-25 00:26:12] 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":892940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:26:12] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:26:12] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:26:27] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:27] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:27] local.INFO: IMEI packet received {"connection_id":193192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":193192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:26:32] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:32] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:26:32] local.INFO: IMEI packet received {"connection_id":193192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:26:33] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:33] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:26:33] local.INFO: Packet analysis {"connection_id":193192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:26:33] local.INFO: Extracted packet for processing {"connection_id":193192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00:26: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:26: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-25 00: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-25 00: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-25 00:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:26: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-25 00:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":193192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:26:33] local.INFO: GPS data processed {"connection_id":193192,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:26:33] local.INFO: Acknowledgment sent {"connection_id":193192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:26:44] local.INFO: TCP Data received {"connection_id":191637,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c2c3a8012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c2c3a8012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:44] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c2c3a8012d0c68c006ed7160000a00bc2d..."} 
[2026-09-25 00:26:44] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:26:44] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c2"} 
[2026-09-25 00:26:44] local.INFO: GPS Element Parsed {"raw_longitude":755787968,"raw_latitude":116224352,"longitude_deg":75.5787968,"latitude_deg":11.6224352,"altitude":10,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2d0c68c0","hex_latitude":"06ed7160","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310632448001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894175662019010560,"note":"Value kept but may cause issues"} 
[2026-09-25 00:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790275929000,"timestamp_ms":1790275929000,"timestamp_seconds":1790275929,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c2c3a8"} 
[2026-09-25 00: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-25 00:26: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-25 00: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:26: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-25 00: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-25 00: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-25 00:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:26: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-25 00:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310632448001,"66":27691,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":894175662019010560},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310632448001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:26:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:26: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-25 00:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":894175662019010560,"description":"Unknown IO ID 45"} 
[2026-09-25 00:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310632448001,"power":27691,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":894175662019010560}} 
[2026-09-25 00:26:44] 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":892942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:26:44] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:26:44] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:27:04] local.INFO: TCP Data received {"connection_id":193192,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:04] local.INFO: Processing buffer {"connection_id":193192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:04] local.INFO: Packet analysis {"connection_id":193192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:27:04] local.INFO: Extracted packet for processing {"connection_id":193192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00:27: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:27: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-25 00: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-25 00: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-25 00:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:27: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-25 00:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":193192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:27:04] local.INFO: GPS data processed {"connection_id":193192,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:27:04] local.INFO: Acknowledgment sent {"connection_id":193192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:27:06] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:06] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:06] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:27:07] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:07] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:07] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:27:13] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:13] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:27:13] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:27:15] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c61738012d0c49c006ecd3e8000f00b831..."} 
[2026-09-25 00:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c61738012d0c49c006ecd3e8000f00b831..."} 
[2026-09-25 00:27:15] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c61738012d0c49c006ecd3e8000f00b831..."} 
[2026-09-25 00:27:15] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:15] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:15] local.INFO: GPS Element Parsed {"raw_longitude":755780032,"raw_latitude":116184040,"longitude_deg":75.5780032,"latitude_deg":11.618404,"altitude":15,"angle":184,"satellites":49,"speed":0,"hex_longitude":"2d0c49c0","hex_latitude":"06ecd3e8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310688256001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885449937730660352,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790276147000,"timestamp_ms":1790276147000,"timestamp_seconds":1790276147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c61738"} 
[2026-09-25 00: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-25 00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:27: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-25 00: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-25 00: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-25 00:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310688256001,"66":27800,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":885449937730660352},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310688256001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:27:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":885449937730660352,"description":"Unknown IO ID 45"} 
[2026-09-25 00:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310688256001,"power":27800,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":885449937730660352}} 
[2026-09-25 00:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:27:15] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:27:15] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:27:17] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c66940012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c66940012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:17] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c66940012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:17] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:17] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:17] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116173712,"longitude_deg":75.577888,"latitude_deg":11.6173712,"altitude":19,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2d0c4540","hex_latitude":"06ecab90","is_valid_coordinates":true} 
[2026-09-25 00:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310693632001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885449937730660352,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790276168000,"timestamp_ms":1790276168000,"timestamp_seconds":1790276168,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c66940"} 
[2026-09-25 00:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:27: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-25 00:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:27: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-25 00:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:27: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-25 00:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310693632001,"66":27767,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":885449937730660352},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310693632001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:27:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:27: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-25 00:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":885449937730660352,"description":"Unknown IO ID 45"} 
[2026-09-25 00:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310693632001,"power":27767,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":885449937730660352}} 
[2026-09-25 00:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:27:17] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:27:17] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:27:27] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:27] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:27] local.INFO: IMEI packet received {"connection_id":193193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":193193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:27:32] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:32] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:27:32] local.INFO: IMEI packet received {"connection_id":193193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":193193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:27:33] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:33] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:27:33] local.INFO: Packet analysis {"connection_id":193193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:27:33] local.INFO: Extracted packet for processing {"connection_id":193193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:27: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-25 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27: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-25 00:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:27: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-25 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:27: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-25 00:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:27: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-25 00:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:27: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-25 00:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":193193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:27:33] local.INFO: GPS data processed {"connection_id":193193,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:27:33] local.INFO: Acknowledgment sent {"connection_id":193193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:27:48] local.INFO: TCP Data received {"connection_id":191816,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c6bb48012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c6bb48012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:48] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c6bb48012d0c454006ecab90001300b131..."} 
[2026-09-25 00:27:48] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:48] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c6"} 
[2026-09-25 00:27:48] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116173712,"longitude_deg":75.577888,"latitude_deg":11.6173712,"altitude":19,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2d0c4540","hex_latitude":"06ecab90","is_valid_coordinates":true} 
[2026-09-25 00:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310699008001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300332818432,"note":"Value kept but may cause issues"} 
[2026-09-25 00:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790276189000,"timestamp_ms":1790276189000,"timestamp_seconds":1790276189,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c6bb48"} 
[2026-09-25 00:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:27:48] 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-25 00:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:27: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-25 00:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310699008001,"66":27767,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":884183300332818432},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310699008001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00:27: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-25 00:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300332818432,"description":"Unknown IO ID 45"} 
[2026-09-25 00:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310699008001,"power":27767,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":884183300332818432}} 
[2026-09-25 00:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:27:49] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:27:49] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:28:04] local.INFO: TCP Data received {"connection_id":193193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:04] local.INFO: Processing buffer {"connection_id":193193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:04] local.INFO: Packet analysis {"connection_id":193193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:28:04] local.INFO: Extracted packet for processing {"connection_id":193193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:28: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-25 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28: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-25 00:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:28: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-25 00:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:28: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-25 00:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:28: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-25 00:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:28: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-25 00:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":193193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:28:04] local.INFO: GPS data processed {"connection_id":193193,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:28:04] local.INFO: Acknowledgment sent {"connection_id":193193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:28:10] local.INFO: TCP Data received {"connection_id":194486,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: Processing buffer {"connection_id":194486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: IMEI packet received {"connection_id":194486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":194486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:28:10] local.INFO: TCP Data received {"connection_id":194486,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: Processing buffer {"connection_id":194486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:10] local.INFO: IMEI packet received {"connection_id":194486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":194486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:28:16] local.INFO: TCP Data received {"connection_id":194486,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:16] local.INFO: Processing buffer {"connection_id":194486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:28:16] local.INFO: IMEI packet received {"connection_id":194486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":194486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:28:17] local.INFO: TCP Data received {"connection_id":194486,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c70d50012d0c454006ecab90001300b131..."} 
[2026-09-25 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c70d50012d0c454006ecab90001300b131..."} 
[2026-09-25 00:28:17] local.INFO: Processing buffer {"connection_id":194486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c70d50012d0c454006ecab90001300b131..."} 
[2026-09-25 00:28:17] local.INFO: Packet analysis {"connection_id":194486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:28:17] local.INFO: Extracted packet for processing {"connection_id":194486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116173712,"longitude_deg":75.577888,"latitude_deg":11.6173712,"altitude":19,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2d0c4540","hex_latitude":"06ecab90","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310704384001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300332818432,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790276210000,"timestamp_ms":1790276210000,"timestamp_seconds":1790276210,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c70d50"} 
[2026-09-25 00: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-25 00:28: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-25 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:28:17] 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-25 00: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-25 00: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-25 00:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310704384001,"66":27843,"158":206,"2":56576,"24":0,"16":3605341577150464,"45":884183300332818432},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-09-25 00:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310704384001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:28:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 00: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-25 00:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300332818432,"description":"Unknown IO ID 45"} 
[2026-09-25 00:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310704384001,"power":27843,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":884183300332818432}} 
[2026-09-25 00:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":194486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:28:17] local.INFO: GPS data processed {"connection_id":194486,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:28:17] local.INFO: Acknowledgment sent {"connection_id":194486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:28:21] local.INFO: TCP Data received {"connection_id":194486,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c75f58012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c75f58012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:28:21] local.INFO: Processing buffer {"connection_id":194486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c75f58012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:28:21] local.INFO: Packet analysis {"connection_id":194486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:28:21] local.INFO: Extracted packet for processing {"connection_id":194486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:28:21] local.INFO: GPS Element Parsed {"raw_longitude":755779648,"raw_latitude":116163200,"longitude_deg":75.5779648,"latitude_deg":11.61632,"altitude":16,"angle":187,"satellites":47,"speed":9,"hex_longitude":"2d0c4840","hex_latitude":"06ec8280","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310709760001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300332818432,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790276231000,"timestamp_ms":1790276231000,"timestamp_seconds":1790276231,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c75f58"} 
[2026-09-25 00: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-25 00:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 00:28: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-25 00: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-25 00: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-25 00:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:28: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-25 00:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310709760001,"66":27745,"42":206,"2":56576,"24":9,"16":3605341577150464,"45":884183300332818432},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-25 00:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310709760001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:28:21] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00:28: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-25 00:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300332818432,"description":"Unknown IO ID 45"} 
[2026-09-25 00:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310709760001,"power":27745,"unknown_42":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":884183300332818432}} 
[2026-09-25 00:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":194486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:28:21] local.INFO: GPS data processed {"connection_id":194486,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:28:21] local.INFO: Acknowledgment sent {"connection_id":194486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:28:32] local.INFO: TCP Data received {"connection_id":194487,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:32] local.INFO: Processing buffer {"connection_id":194487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:32] local.INFO: IMEI packet received {"connection_id":194487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":194487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:28:37] local.INFO: TCP Data received {"connection_id":194487,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:37] local.INFO: Processing buffer {"connection_id":194487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:28:37] local.INFO: IMEI packet received {"connection_id":194487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":194487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:28:39] local.INFO: TCP Data received {"connection_id":194487,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:39] local.INFO: Processing buffer {"connection_id":194487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c38ae0012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:28:39] local.INFO: Packet analysis {"connection_id":194487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00:28:39] local.INFO: Extracted packet for processing {"connection_id":194487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c3"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310573824001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790275980000,"timestamp_ms":1790275980000,"timestamp_seconds":1790275980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c38ae0"} 
[2026-09-25 00: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-25 00:28: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-25 00:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:28: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-25 00:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310573824001,"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-25 00:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310573824001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310573824001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":194487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:28:39] local.INFO: GPS data processed {"connection_id":194487,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:28:39] local.INFO: Acknowledgment sent {"connection_id":194487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:28:40] local.INFO: TCP Data received {"connection_id":194487,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:28:40] local.INFO: Processing buffer {"connection_id":194487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:28:40] local.INFO: Packet analysis {"connection_id":194487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:28:40] local.INFO: Extracted packet for processing {"connection_id":194487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":194487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:28:40] local.INFO: GPS data processed {"connection_id":194487,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:28:40] local.INFO: Acknowledgment sent {"connection_id":194487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:29:06] local.INFO: TCP Data received {"connection_id":193194,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:06] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:06] local.INFO: IMEI packet received {"connection_id":193194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":193194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:29:11] local.INFO: TCP Data received {"connection_id":193194,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:11] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:29:11] local.INFO: IMEI packet received {"connection_id":193194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":193194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:29:11] local.INFO: TCP Data received {"connection_id":194487,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:11] local.INFO: Processing buffer {"connection_id":194487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:11] local.INFO: Packet analysis {"connection_id":194487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:29:11] local.INFO: Extracted packet for processing {"connection_id":194487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:29: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:29: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-25 00:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:29: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-25 00:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:29: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-25 00:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":194487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:29:11] local.INFO: GPS data processed {"connection_id":194487,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:29:11] local.INFO: Acknowledgment sent {"connection_id":194487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:29:13] local.INFO: TCP Data received {"connection_id":193194,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c7b160012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c7b160012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:29:13] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c7b160012d0c484006ec8280001000bb2f..."} 
[2026-09-25 00:29:13] local.INFO: Packet analysis {"connection_id":193194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:29:13] local.INFO: Extracted packet for processing {"connection_id":193194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c7"} 
[2026-09-25 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":755779648,"raw_latitude":116163200,"longitude_deg":75.5779648,"latitude_deg":11.61632,"altitude":16,"angle":187,"satellites":47,"speed":0,"hex_longitude":"2d0c4840","hex_latitude":"06ec8280","is_valid_coordinates":true} 
[2026-09-25 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310715136001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725260259328,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790276252000,"timestamp_ms":1790276252000,"timestamp_seconds":1790276252,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c7b160"} 
[2026-09-25 00:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:29: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-25 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 00:29: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-25 00:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:29: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-25 00:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310715136001,"66":27843,"42":206,"2":56576,"24":0,"16":3605341577150464,"45":885027725260259328},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-25 00:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310715136001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:29:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00:29: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-25 00:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725260259328,"description":"Unknown IO ID 45"} 
[2026-09-25 00:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310715136001,"power":27843,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":885027725260259328}} 
[2026-09-25 00:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":193194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:29:13] local.INFO: GPS data processed {"connection_id":193194,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:29:13] local.INFO: Acknowledgment sent {"connection_id":193194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:29:27] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:27] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:27] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:29:32] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:32] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:29:32] local.INFO: IMEI packet received {"connection_id":191638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":191638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:29:33] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:33] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:29:33] local.INFO: Packet analysis {"connection_id":191638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:29:33] local.INFO: Extracted packet for processing {"connection_id":191638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:29: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-25 00:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"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-25 00:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:29:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":191638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:29:33] local.INFO: GPS data processed {"connection_id":191638,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:29:33] local.INFO: Acknowledgment sent {"connection_id":191638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:29:44] local.INFO: TCP Data received {"connection_id":193194,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c893f00100000000000000000000000000..."} 
[2026-09-25 00:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c893f00100000000000000000000000000..."} 
[2026-09-25 00:29:44] local.INFO: Processing buffer {"connection_id":193194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c893f00100000000000000000000000000..."} 
[2026-09-25 00:29:44] local.INFO: Packet analysis {"connection_id":193194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:29:44] local.INFO: Extracted packet for processing {"connection_id":193194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:29: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-25 00: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-25 00:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310720512001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725260259328,"note":"Value kept but may cause issues"} 
[2026-09-25 00:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790276310000,"timestamp_ms":1790276310000,"timestamp_seconds":1790276310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c893f0"} 
[2026-09-25 00: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-25 00: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-25 00: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":195,"data_length":795,"current_offset":136} 
[2026-09-25 00:29: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-25 00: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-25 00: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-25 00:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":193194,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:29:44] local.INFO: GPS data processed {"connection_id":193194,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:29:44] local.INFO: Acknowledgment sent {"connection_id":193194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:30:05] local.INFO: TCP Data received {"connection_id":191638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:05] local.INFO: Processing buffer {"connection_id":191638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:05] local.INFO: Packet analysis {"connection_id":191638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:05] local.INFO: Extracted packet for processing {"connection_id":191638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:30: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-25 00: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-25 00: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-25 00:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:30: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-25 00:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"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-25 00:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:30:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:30:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":191638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:30:05] local.INFO: GPS data processed {"connection_id":191638,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:30:05] local.INFO: Acknowledgment sent {"connection_id":191638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:30:06] local.INFO: TCP Data received {"connection_id":194488,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:06] local.INFO: Processing buffer {"connection_id":194488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:06] local.INFO: IMEI packet received {"connection_id":194488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":194488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:30:11] local.INFO: TCP Data received {"connection_id":194488,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:11] local.INFO: Processing buffer {"connection_id":194488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:30:11] local.INFO: IMEI packet received {"connection_id":194488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":194488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:30:12] local.INFO: TCP Data received {"connection_id":194488,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c80b38012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c80b38012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:12] local.INFO: Processing buffer {"connection_id":194488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c80b38012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:12] local.INFO: Packet analysis {"connection_id":194488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:12] local.INFO: Extracted packet for processing {"connection_id":194488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":116152056,"longitude_deg":75.578016,"latitude_deg":11.6152056,"altitude":25,"angle":164,"satellites":47,"speed":14,"hex_longitude":"2d0c4a40","hex_latitude":"06ec56f8","is_valid_coordinates":true} 
[2026-09-25 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276275000,"timestamp_ms":1790276275000,"timestamp_seconds":1790276275,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c80b38"} 
[2026-09-25 00:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:30: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-25 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 00:30: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-25 00:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"42":206,"2":56576,"24":14,"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,42,2,24,16]} 
[2026-09-25 00:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:30:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00: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-25 00:30:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_42":206,"power_alt":56576,"ignition":14,"odometer":null}} 
[2026-09-25 00:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":194488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:30:12] local.INFO: GPS data processed {"connection_id":194488,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:30:12] local.INFO: Acknowledgment sent {"connection_id":194488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:30:27] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:27] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:27] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:30:32] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:32] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:30:32] local.INFO: IMEI packet received {"connection_id":193195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":193195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:30:33] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:33] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:30:33] local.INFO: Packet analysis {"connection_id":193195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:33] local.INFO: Extracted packet for processing {"connection_id":193195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":193195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:30:33] local.INFO: GPS data processed {"connection_id":193195,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:30:33] local.INFO: Acknowledgment sent {"connection_id":193195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:30:44] local.INFO: TCP Data received {"connection_id":194488,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c85d40012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c85d40012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:44] local.INFO: Processing buffer {"connection_id":194488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c85d40012d0c4a4006ec56f8001900a42f..."} 
[2026-09-25 00:30:44] local.INFO: Packet analysis {"connection_id":194488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:44] local.INFO: Extracted packet for processing {"connection_id":194488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:30:44] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":116152056,"longitude_deg":75.578016,"latitude_deg":11.6152056,"altitude":25,"angle":164,"satellites":47,"speed":0,"hex_longitude":"2d0c4a40","hex_latitude":"06ec56f8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310726400001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675210827776,"note":"Value kept but may cause issues"} 
[2026-09-25 00:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790276296000,"timestamp_ms":1790276296000,"timestamp_seconds":1790276296,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c85d40"} 
[2026-09-25 00: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-25 00:30: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-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:30: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-25 00: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-25 00: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-25 00:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:30: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-25 00:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310726400001,"66":27517,"42":206,"2":56576,"24":0,"16":3605341577150464,"45":885590675210827776},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-25 00:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310726400001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:30:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00:30: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-25 00:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675210827776,"description":"Unknown IO ID 45"} 
[2026-09-25 00:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310726400001,"power":27517,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":885590675210827776}} 
[2026-09-25 00:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":194488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:30:45] local.INFO: GPS data processed {"connection_id":194488,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:30:45] local.INFO: Acknowledgment sent {"connection_id":194488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:31:05] local.INFO: TCP Data received {"connection_id":193195,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:05] local.INFO: Processing buffer {"connection_id":193195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:05] local.INFO: Packet analysis {"connection_id":193195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:31:05] local.INFO: Extracted packet for processing {"connection_id":193195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:31: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-25 00: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-25 00: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-25 00:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:31: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-25 00:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":193195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:31:05] local.INFO: GPS data processed {"connection_id":193195,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:31:05] local.INFO: Acknowledgment sent {"connection_id":193195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:31:06] local.INFO: TCP Data received {"connection_id":191639,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:06] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:06] local.INFO: IMEI packet received {"connection_id":191639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":191639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:31:11] local.INFO: TCP Data received {"connection_id":191639,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:11] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:31:11] local.INFO: IMEI packet received {"connection_id":191639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":191639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:31:13] local.INFO: TCP Data received {"connection_id":191639,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c8af48012d0c5c4006ec2ed8001800a231..."} 
[2026-09-25 00:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c8af48012d0c5c4006ec2ed8001800a231..."} 
[2026-09-25 00:31:13] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c8af48012d0c5c4006ec2ed8001800a231..."} 
[2026-09-25 00:31:13] local.INFO: Packet analysis {"connection_id":191639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:31:13] local.INFO: Extracted packet for processing {"connection_id":191639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:31:13] local.INFO: GPS Element Parsed {"raw_longitude":755784768,"raw_latitude":116141784,"longitude_deg":75.5784768,"latitude_deg":11.6141784,"altitude":24,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2d0c5c40","hex_latitude":"06ec2ed8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310731776001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675210827776,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790276317000,"timestamp_ms":1790276317000,"timestamp_seconds":1790276317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c8af48"} 
[2026-09-25 00: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-25 00:31: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-25 00: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 00:31:13] 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-25 00: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-25 00: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-25 00:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:31: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-25 00:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310731776001,"66":27821,"42":206,"2":56576,"24":0,"16":3605341577150464,"45":885590675210827776},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-09-25 00:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310731776001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:31:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00: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-25 00:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675210827776,"description":"Unknown IO ID 45"} 
[2026-09-25 00:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310731776001,"power":27821,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":885590675210827776}} 
[2026-09-25 00:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":191639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:31:13] local.INFO: GPS data processed {"connection_id":191639,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:31:13] local.INFO: Acknowledgment sent {"connection_id":191639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:31:27] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:27] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:27] local.INFO: IMEI packet received {"connection_id":191817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":191817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:31:32] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:32] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:31:32] local.INFO: IMEI packet received {"connection_id":191817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":191817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:31:33] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:33] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:31:33] local.INFO: Packet analysis {"connection_id":191817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:31:33] local.INFO: Extracted packet for processing {"connection_id":191817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:31:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:31:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":191817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:31:33] local.INFO: GPS data processed {"connection_id":191817,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:31:33] local.INFO: Acknowledgment sent {"connection_id":191817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:31:46] local.INFO: TCP Data received {"connection_id":191639,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c991d80100000000000000000000000000..."} 
[2026-09-25 00:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c991d80100000000000000000000000000..."} 
[2026-09-25 00:31:46] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c991d80100000000000000000000000000..."} 
[2026-09-25 00:31:46] local.INFO: Packet analysis {"connection_id":191639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c9"} 
[2026-09-25 00:31:46] local.INFO: Extracted packet for processing {"connection_id":191639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c9"} 
[2026-09-25 00: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-25 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-25 00:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310737152001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890657224788989952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790276375000,"timestamp_ms":1790276375000,"timestamp_seconds":1790276375,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c991d8"} 
[2026-09-25 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-25 00:31: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-25 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:31:46] 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-25 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-25 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-25 00:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:31: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-25 00:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":191639,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:31:46] local.INFO: GPS data processed {"connection_id":191639,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:31:46] local.INFO: Acknowledgment sent {"connection_id":191639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:32:04] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:04] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:04] local.INFO: Packet analysis {"connection_id":191817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:32:04] local.INFO: Extracted packet for processing {"connection_id":191817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:32: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32: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-25 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:32: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-25 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:32: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-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":191817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:32:04] local.INFO: GPS data processed {"connection_id":191817,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:32:04] local.INFO: Acknowledgment sent {"connection_id":191817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:32:07] local.INFO: TCP Data received {"connection_id":193196,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:07] local.INFO: Processing buffer {"connection_id":193196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:07] local.INFO: IMEI packet received {"connection_id":193196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":193196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:32:11] local.INFO: TCP Data received {"connection_id":193196,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:11] local.INFO: Processing buffer {"connection_id":193196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:11] local.INFO: IMEI packet received {"connection_id":193196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":193196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:32:16] local.INFO: TCP Data received {"connection_id":193196,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:16] local.INFO: Processing buffer {"connection_id":193196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:32:16] local.INFO: IMEI packet received {"connection_id":193196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":193196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:32:17] local.INFO: TCP Data received {"connection_id":193196,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4caf550012d0d048006eb3760001200922d..."} 
[2026-09-25 00:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4caf550012d0d048006eb3760001200922d..."} 
[2026-09-25 00:32:17] local.INFO: Processing buffer {"connection_id":193196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4caf550012d0d048006eb3760001200922d..."} 
[2026-09-25 00:32:17] local.INFO: Packet analysis {"connection_id":193196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ca"} 
[2026-09-25 00:32:17] local.INFO: Extracted packet for processing {"connection_id":193196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ca"} 
[2026-09-25 00:32:17] local.INFO: GPS Element Parsed {"raw_longitude":755827840,"raw_latitude":116078432,"longitude_deg":75.582784,"latitude_deg":11.6078432,"altitude":18,"angle":146,"satellites":45,"speed":19,"hex_longitude":"2d0d0480","hex_latitude":"06eb3760","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790276466000,"timestamp_ms":1790276466000,"timestamp_seconds":1790276466,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4caf550"} 
[2026-09-25 00: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-25 00:32: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-25 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:32: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-25 00: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-25 00: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-25 00:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:32: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-25 00:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"42":206,"2":56576,"24":19,"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,42,2,24,16]} 
[2026-09-25 00:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:32:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-25 00: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-25 00:32:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_42":206,"power_alt":56576,"ignition":19,"odometer":null}} 
[2026-09-25 00:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":193196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:32:17] local.INFO: GPS data processed {"connection_id":193196,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:32:17] local.INFO: Acknowledgment sent {"connection_id":193196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:32:22] local.INFO: TCP Data received {"connection_id":193196,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cbd7e00100000000000000000000000000..."} 
[2026-09-25 00:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cbd7e00100000000000000000000000000..."} 
[2026-09-25 00:32:22] local.INFO: Processing buffer {"connection_id":193196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cbd7e00100000000000000000000000000..."} 
[2026-09-25 00:32:22] local.INFO: Packet analysis {"connection_id":193196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:32:22] local.INFO: Extracted packet for processing {"connection_id":193196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:32: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-25 00: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-25 00:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310775296001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938015389604339712,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790276524000,"timestamp_ms":1790276524000,"timestamp_seconds":1790276524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cbd7e0"} 
[2026-09-25 00: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-25 00:32: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-25 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:32: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-25 00: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-25 00: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-25 00:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:32: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-25 00:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":193196,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:32:22] local.INFO: GPS data processed {"connection_id":193196,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:32:22] local.INFO: Acknowledgment sent {"connection_id":193196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:32:27] local.INFO: TCP Data received {"connection_id":194489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:27] local.INFO: Processing buffer {"connection_id":194489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:27] local.INFO: IMEI packet received {"connection_id":194489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":194489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:32:32] local.INFO: TCP Data received {"connection_id":194489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:32] local.INFO: Processing buffer {"connection_id":194489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:32:32] local.INFO: IMEI packet received {"connection_id":194489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":194489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:32:33] local.INFO: TCP Data received {"connection_id":194489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:33] local.INFO: Processing buffer {"connection_id":194489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:32:33] local.INFO: Packet analysis {"connection_id":194489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:32:33] local.INFO: Extracted packet for processing {"connection_id":194489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00:32: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:32: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-25 00: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-25 00: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-25 00:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:32: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-25 00:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":194489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:32:33] local.INFO: GPS data processed {"connection_id":194489,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:32:33] local.INFO: Acknowledgment sent {"connection_id":194489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:04] local.INFO: TCP Data received {"connection_id":194489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:04] local.INFO: Processing buffer {"connection_id":194489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:04] local.INFO: Packet analysis {"connection_id":194489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:33:04] local.INFO: Extracted packet for processing {"connection_id":194489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:33: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33: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-25 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:33: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-25 00:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33: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-25 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"66":25462,"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-25 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:33: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-25 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":194489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:04] local.INFO: GPS data processed {"connection_id":194489,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:04] local.INFO: Acknowledgment sent {"connection_id":194489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:10] local.INFO: TCP Data received {"connection_id":193197,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:10] local.INFO: Processing buffer {"connection_id":193197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:10] local.INFO: IMEI packet received {"connection_id":193197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":193197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:33:12] local.INFO: TCP Data received {"connection_id":193197,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:12] local.INFO: Processing buffer {"connection_id":193197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:33:12] local.INFO: IMEI packet received {"connection_id":193197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":193197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:33:13] local.INFO: TCP Data received {"connection_id":193197,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cb4f28012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cb4f28012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:13] local.INFO: Processing buffer {"connection_id":193197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cb4f28012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:13] local.INFO: Packet analysis {"connection_id":193197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:13] local.INFO: Extracted packet for processing {"connection_id":193197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755840384,"raw_latitude":116071440,"longitude_deg":75.5840384,"latitude_deg":11.607144,"altitude":20,"angle":105,"satellites":45,"speed":20,"hex_longitude":"2d0d3580","hex_latitude":"06eb1c10","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,40,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790276489000,"timestamp_ms":1790276489000,"timestamp_seconds":1790276489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cb4f28"} 
[2026-09-25 00: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-25 00:33: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-25 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:33:13] 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-25 00: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-25 00: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-25 00:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"40":206,"2":56576,"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,40,2,24,16]} 
[2026-09-25 00:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:13] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-25 00: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-25 00:33:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_40":206,"power_alt":56576,"ignition":20,"odometer":null}} 
[2026-09-25 00:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":193197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:13] local.INFO: GPS data processed {"connection_id":193197,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:13] local.INFO: Acknowledgment sent {"connection_id":193197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:15] local.INFO: TCP Data received {"connection_id":193197,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cba130012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cba130012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:15] local.INFO: Processing buffer {"connection_id":193197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cba130012d0d358006eb1c10001400692d..."} 
[2026-09-25 00:33:15] local.INFO: Packet analysis {"connection_id":193197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:15] local.INFO: Extracted packet for processing {"connection_id":193197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:15] local.INFO: GPS Element Parsed {"raw_longitude":755840384,"raw_latitude":116071440,"longitude_deg":75.5840384,"latitude_deg":11.607144,"altitude":20,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2d0d3580","hex_latitude":"06eb1c10","is_valid_coordinates":true} 
[2026-09-25 00:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310781184001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807663461371904,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790276510000,"timestamp_ms":1790276510000,"timestamp_seconds":1790276510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cba130"} 
[2026-09-25 00:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:33: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-25 00:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:33:15] 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-25 00:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:33: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-25 00:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310781184001,"66":27876,"40":206,"2":56576,"24":0,"16":3605341577150464,"45":951807663461371904},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-09-25 00:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310781184001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:15] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-25 00:33: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-25 00:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807663461371904,"description":"Unknown IO ID 45"} 
[2026-09-25 00:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310781184001,"power":27876,"unknown_40":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":951807663461371904}} 
[2026-09-25 00:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":193197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:15] local.INFO: GPS data processed {"connection_id":193197,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:15] local.INFO: Acknowledgment sent {"connection_id":193197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:32] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:32] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:32] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:33:37] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:37] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:33:37] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:33:40] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:40] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4c822a8012d34c14006aa4940000900f530..."} 
[2026-09-25 00:33:40] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:33:40] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4c8"} 
[2026-09-25 00:33: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-25 00: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-25 00:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310650880001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790276281000,"timestamp_ms":1790276281000,"timestamp_seconds":1790276281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4c822a8"} 
[2026-09-25 00: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-25 00:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33:40] local.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-25 00:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310650880001,"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-25 00:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310650880001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310650880001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:33:40] 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":892969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:40] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:40] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:41] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:33:41] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:33:41] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:33:41] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:33: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-25 00: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-25 00:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"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-25 00:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:33:41] 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":892970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:41] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:41] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:33:46] local.INFO: TCP Data received {"connection_id":193197,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cbf338012d0d648006eb0ec0001b006e2f..."} 
[2026-09-25 00:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cbf338012d0d648006eb0ec0001b006e2f..."} 
[2026-09-25 00:33:46] local.INFO: Processing buffer {"connection_id":193197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cbf338012d0d648006eb0ec0001b006e2f..."} 
[2026-09-25 00:33:46] local.INFO: Packet analysis {"connection_id":193197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:46] local.INFO: Extracted packet for processing {"connection_id":193197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cb"} 
[2026-09-25 00:33:46] local.INFO: GPS Element Parsed {"raw_longitude":755852416,"raw_latitude":116068032,"longitude_deg":75.5852416,"latitude_deg":11.6068032,"altitude":27,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d0d6480","hex_latitude":"06eb0ec0","is_valid_coordinates":true} 
[2026-09-25 00:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310786560001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807663461371904,"note":"Value kept but may cause issues"} 
[2026-09-25 00:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790276531000,"timestamp_ms":1790276531000,"timestamp_seconds":1790276531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cbf338"} 
[2026-09-25 00:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:33: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-25 00:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:33: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-25 00:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:33: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-25 00:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310786560001,"66":27821,"40":206,"2":56576,"24":0,"16":3605341577150464,"45":951807663461371904},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-09-25 00:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310786560001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:33:46] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-25 00:33: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-25 00:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807663461371904,"description":"Unknown IO ID 45"} 
[2026-09-25 00:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310786560001,"power":27821,"unknown_40":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":951807663461371904}} 
[2026-09-25 00:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":193197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:33:46] local.INFO: GPS data processed {"connection_id":193197,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:33:46] local.INFO: Acknowledgment sent {"connection_id":193197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:34:05] local.INFO: TCP Data received {"connection_id":194490,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:05] local.INFO: Processing buffer {"connection_id":194490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:05] local.INFO: IMEI packet received {"connection_id":194490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":194490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:34:07] local.INFO: TCP Data received {"connection_id":194490,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:07] local.INFO: Processing buffer {"connection_id":194490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:07] local.INFO: IMEI packet received {"connection_id":194490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":194490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:34:11] local.INFO: TCP Data received {"connection_id":194490,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:11] local.INFO: Processing buffer {"connection_id":194490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:34:11] local.INFO: IMEI packet received {"connection_id":194490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":194490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:34:12] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:12] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:12] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34:12] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34: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-25 00: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-25 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00:34: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-25 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"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-25 00:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:34:12] 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":892972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:34:12] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:34:12] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:34:12] local.INFO: TCP Data received {"connection_id":194490,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccd5c80100000000000000000000000000..."} 
[2026-09-25 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccd5c80100000000000000000000000000..."} 
[2026-09-25 00:34:12] local.INFO: Processing buffer {"connection_id":194490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccd5c80100000000000000000000000000..."} 
[2026-09-25 00:34:12] local.INFO: Packet analysis {"connection_id":194490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34:12] local.INFO: Extracted packet for processing {"connection_id":194490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34: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-25 00: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-25 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310791936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965036987365900288,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276589000,"timestamp_ms":1790276589000,"timestamp_seconds":1790276589,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccd5c8"} 
[2026-09-25 00: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-25 00:34: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-25 00: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":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:34: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-25 00: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-25 00: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-25 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:34: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-25 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":194490,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:34:12] local.INFO: GPS data processed {"connection_id":194490,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:34:12] local.INFO: Acknowledgment sent {"connection_id":194490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:34:27] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:27] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:27] local.INFO: IMEI packet received {"connection_id":193198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":193198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:34:32] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:32] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:34:32] local.INFO: IMEI packet received {"connection_id":193198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":193198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:34:33] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:33] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:34:33] local.INFO: Packet analysis {"connection_id":193198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34:33] local.INFO: Extracted packet for processing {"connection_id":193198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:34: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-25 00:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:34: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-25 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:34:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:34:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":193198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:34:33] local.INFO: GPS data processed {"connection_id":193198,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:34:33] local.INFO: Acknowledgment sent {"connection_id":193198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:34:44] local.INFO: TCP Data received {"connection_id":194490,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cc4928012d0d988006eafaa8001f00782e..."} 
[2026-09-25 00:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cc4928012d0d988006eafaa8001f00782e..."} 
[2026-09-25 00:34:44] local.INFO: Processing buffer {"connection_id":194490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cc4928012d0d988006eafaa8001f00782e..."} 
[2026-09-25 00:34:44] local.INFO: Packet analysis {"connection_id":194490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34:44] local.INFO: Extracted packet for processing {"connection_id":194490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:34:44] local.INFO: GPS Element Parsed {"raw_longitude":755865728,"raw_latitude":116062888,"longitude_deg":75.5865728,"latitude_deg":11.6062888,"altitude":31,"angle":120,"satellites":46,"speed":19,"hex_longitude":"2d0d9880","hex_latitude":"06eafaa8","is_valid_coordinates":true} 
[2026-09-25 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:34:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,40,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790276553000,"timestamp_ms":1790276553000,"timestamp_seconds":1790276553,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cc4928"} 
[2026-09-25 00:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:34: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-25 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 00:34: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-25 00:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:34: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-25 00:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28017,"40":206,"2":56576,"24":19,"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,40,2,24,16]} 
[2026-09-25 00:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:34:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-25 00: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-25 00:34:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28017,"unknown_40":206,"power_alt":56576,"ignition":19,"odometer":null}} 
[2026-09-25 00:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":194490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:34:44] local.INFO: GPS data processed {"connection_id":194490,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:34:44] local.INFO: Acknowledgment sent {"connection_id":194490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:35:05] local.INFO: TCP Data received {"connection_id":193198,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:05] local.INFO: Processing buffer {"connection_id":193198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:05] local.INFO: Packet analysis {"connection_id":193198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:35:05] local.INFO: Extracted packet for processing {"connection_id":193198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00: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-25 00: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-25 00:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:35: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-25 00: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-25 00: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-25 00:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:35: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-25 00:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":193198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:35:05] local.INFO: GPS data processed {"connection_id":193198,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:35:05] local.INFO: Acknowledgment sent {"connection_id":193198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:35:05] local.INFO: TCP Data received {"connection_id":193199,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:05] local.INFO: Processing buffer {"connection_id":193199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:05] local.INFO: IMEI packet received {"connection_id":193199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:35:12] local.INFO: TCP Data received {"connection_id":193199,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:12] local.INFO: Processing buffer {"connection_id":193199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:35:12] local.INFO: IMEI packet received {"connection_id":193199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":193199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:35:14] local.INFO: TCP Data received {"connection_id":193199,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cd2bb80100000000000000000000000000..."} 
[2026-09-25 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cd2bb80100000000000000000000000000..."} 
[2026-09-25 00:35:14] local.INFO: Processing buffer {"connection_id":193199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cd2bb80100000000000000000000000000..."} 
[2026-09-25 00:35:14] local.INFO: Packet analysis {"connection_id":193199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:35:14] local.INFO: Extracted packet for processing {"connection_id":193199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:35:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310797568001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979673686153537536,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790276611000,"timestamp_ms":1790276611000,"timestamp_seconds":1790276611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cd2bb8"} 
[2026-09-25 00: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-25 00:35: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-25 00: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-25 00:35:14] 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-25 00: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-25 00: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-25 00:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":193199,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:35:14] local.INFO: GPS data processed {"connection_id":193199,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:35:14] local.INFO: Acknowledgment sent {"connection_id":193199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:35:27] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:27] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:27] local.INFO: IMEI packet received {"connection_id":191641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":191641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:35:32] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:32] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:35:32] local.INFO: IMEI packet received {"connection_id":191641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":191641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:35:33] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:33] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:35:33] local.INFO: Packet analysis {"connection_id":191641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:35:33] local.INFO: Extracted packet for processing {"connection_id":191641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:35: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-25 00:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:35:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:35:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":191641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:35:33] local.INFO: GPS data processed {"connection_id":191641,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:35:33] local.INFO: Acknowledgment sent {"connection_id":191641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:35:46] local.INFO: TCP Data received {"connection_id":193199,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccaeb8012d0dcb0006eadc70002100782d..."} 
[2026-09-25 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccaeb8012d0dcb0006eadc70002100782d..."} 
[2026-09-25 00:35:46] local.INFO: Processing buffer {"connection_id":193199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccaeb8012d0dcb0006eadc70002100782d..."} 
[2026-09-25 00:35:46] local.INFO: Packet analysis {"connection_id":193199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:35:46] local.INFO: Extracted packet for processing {"connection_id":193199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":755878656,"raw_latitude":116055152,"longitude_deg":75.5878656,"latitude_deg":11.6055152,"altitude":33,"angle":120,"satellites":45,"speed":23,"hex_longitude":"2d0dcb00","hex_latitude":"06eadc70","is_valid_coordinates":true} 
[2026-09-25 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-25 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:35:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,72,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790276579000,"timestamp_ms":1790276579000,"timestamp_seconds":1790276579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccaeb8"} 
[2026-09-25 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-25 00:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 00:35:46] 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-25 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-25 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-25 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28071,"72":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,72,2,24,16]} 
[2026-09-25 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:35:46] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-25 00: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-25 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28071,"unknown_72":206,"power_alt":56576,"ignition":23,"odometer":null}} 
[2026-09-25 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":193199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:35:46] local.INFO: GPS data processed {"connection_id":193199,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:35:46] local.INFO: Acknowledgment sent {"connection_id":193199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:36:04] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:04] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:04] local.INFO: Packet analysis {"connection_id":191641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:36:04] local.INFO: Extracted packet for processing {"connection_id":191641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:36: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-25 00:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36: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-25 00:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:36: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-25 00:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:36: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-25 00:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:36: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-25 00:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:36: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-25 00:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":191641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:36:04] local.INFO: GPS data processed {"connection_id":191641,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:36:04] local.INFO: Acknowledgment sent {"connection_id":191641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:36:05] local.INFO: TCP Data received {"connection_id":191818,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:05] local.INFO: Processing buffer {"connection_id":191818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:05] local.INFO: IMEI packet received {"connection_id":191818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":191818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:36:11] local.INFO: TCP Data received {"connection_id":191818,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:11] local.INFO: Processing buffer {"connection_id":191818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:36:11] local.INFO: IMEI packet received {"connection_id":191818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":191818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:36:12] local.INFO: TCP Data received {"connection_id":191818,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cd91480100000000000000000000000000..."} 
[2026-09-25 00:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cd91480100000000000000000000000000..."} 
[2026-09-25 00:36:12] local.INFO: Processing buffer {"connection_id":191818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cd91480100000000000000000000000000..."} 
[2026-09-25 00:36:12] local.INFO: Packet analysis {"connection_id":191818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:36:12] local.INFO: Extracted packet for processing {"connection_id":191818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:36: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-25 00: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-25 00:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804224001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993888172475445248,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276637000,"timestamp_ms":1790276637000,"timestamp_seconds":1790276637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cd9148"} 
[2026-09-25 00: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-25 00:36: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-25 00: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":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 00:36:12] 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-25 00: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-25 00: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-25 00:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":191818,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:36:12] local.INFO: GPS data processed {"connection_id":191818,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:36:12] local.INFO: Acknowledgment sent {"connection_id":191818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:36:27] local.INFO: TCP Data received {"connection_id":193200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:27] local.INFO: Processing buffer {"connection_id":193200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:27] local.INFO: IMEI packet received {"connection_id":193200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":193200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:36:32] local.INFO: TCP Data received {"connection_id":193200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:32] local.INFO: Processing buffer {"connection_id":193200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:36:32] local.INFO: IMEI packet received {"connection_id":193200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":193200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:36:33] local.INFO: TCP Data received {"connection_id":193200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:33] local.INFO: Processing buffer {"connection_id":193200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:36:33] local.INFO: Packet analysis {"connection_id":193200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:36:33] local.INFO: Extracted packet for processing {"connection_id":193200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:36: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-25 00: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-25 00: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-25 00:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:36: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-25 00:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":193200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:36:33] local.INFO: GPS data processed {"connection_id":193200,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:36:33] local.INFO: Acknowledgment sent {"connection_id":193200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:36:44] local.INFO: TCP Data received {"connection_id":191818,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cd23e8012d0dfe4006eab998001d00772e..."} 
[2026-09-25 00:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cd23e8012d0dfe4006eab998001d00772e..."} 
[2026-09-25 00:36:44] local.INFO: Processing buffer {"connection_id":191818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cd23e8012d0dfe4006eab998001d00772e..."} 
[2026-09-25 00:36:44] local.INFO: Packet analysis {"connection_id":191818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:36:44] local.INFO: Extracted packet for processing {"connection_id":191818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755891776,"raw_latitude":116046232,"longitude_deg":75.5891776,"latitude_deg":11.6046232,"altitude":29,"angle":119,"satellites":46,"speed":30,"hex_longitude":"2d0dfe40","hex_latitude":"06eab998","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:36:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,72,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790276609000,"timestamp_ms":1790276609000,"timestamp_seconds":1790276609,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cd23e8"} 
[2026-09-25 00: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-25 00:36: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-25 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 00:36: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-25 00: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-25 00: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-25 00:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:36: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-25 00:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27571,"72":206,"2":56576,"24":30,"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,72,2,24,16]} 
[2026-09-25 00:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:36:44] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-25 00:36: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-25 00:36:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27571,"unknown_72":206,"power_alt":56576,"ignition":30,"odometer":null}} 
[2026-09-25 00:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":191818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:36:44] local.INFO: GPS data processed {"connection_id":191818,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:36:44] local.INFO: Acknowledgment sent {"connection_id":191818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:37:04] local.INFO: TCP Data received {"connection_id":193200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:04] local.INFO: Processing buffer {"connection_id":193200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:04] local.INFO: Packet analysis {"connection_id":193200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:37:04] local.INFO: Extracted packet for processing {"connection_id":193200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:37: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-25 00:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37: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-25 00:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37: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-25 00:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:37: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-25 00:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":193200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:37:04] local.INFO: GPS data processed {"connection_id":193200,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:37:04] local.INFO: Acknowledgment sent {"connection_id":193200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:37:05] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:05] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:05] local.INFO: IMEI packet received {"connection_id":193201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":193201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:37:08] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:08] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:08] local.INFO: IMEI packet received {"connection_id":193201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":193201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:37:10] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:10] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:37:10] local.INFO: IMEI packet received {"connection_id":193201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":193201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:37:11] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ce06780100000000000000000000000000..."} 
[2026-09-25 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ce06780100000000000000000000000000..."} 
[2026-09-25 00:37:11] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ce06780100000000000000000000000000..."} 
[2026-09-25 00:37:11] local.INFO: Packet analysis {"connection_id":193201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ce"} 
[2026-09-25 00:37:11] local.INFO: Extracted packet for processing {"connection_id":193201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ce"} 
[2026-09-25 00:37: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-25 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310811904001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008313765029582848,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790276667000,"timestamp_ms":1790276667000,"timestamp_seconds":1790276667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ce0678"} 
[2026-09-25 00:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 00:37:11] 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-25 00:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":193201,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:37:11] local.INFO: GPS data processed {"connection_id":193201,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:37:11] local.INFO: Acknowledgment sent {"connection_id":193201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:37:18] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4cd8590012d0e280006ea97b0001f008b2f..."} 
[2026-09-25 00:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4cd8590012d0e280006ea97b0001f008b2f..."} 
[2026-09-25 00:37:18] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4cd8590012d0e280006ea97b0001f008b2f..."} 
[2026-09-25 00:37:18] local.INFO: Packet analysis {"connection_id":193201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:37:18] local.INFO: Extracted packet for processing {"connection_id":193201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cd"} 
[2026-09-25 00:37:18] local.INFO: GPS Element Parsed {"raw_longitude":755902464,"raw_latitude":116037552,"longitude_deg":75.5902464,"latitude_deg":11.6037552,"altitude":31,"angle":139,"satellites":47,"speed":21,"hex_longitude":"2d0e2800","hex_latitude":"06ea97b0","is_valid_coordinates":true} 
[2026-09-25 00:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,72,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790276634000,"timestamp_ms":1790276634000,"timestamp_seconds":1790276634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4cd8590"} 
[2026-09-25 00:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:37: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 00:37:18] 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-25 00:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:37: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-25 00:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"72":206,"2":56576,"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,72,2,24,16]} 
[2026-09-25 00:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:37:18] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-25 00:37: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-25 00:37:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_72":206,"power_alt":56576,"ignition":21,"odometer":null}} 
[2026-09-25 00:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":193201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:37:18] local.INFO: GPS data processed {"connection_id":193201,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:37:18] local.INFO: Acknowledgment sent {"connection_id":193201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:37:32] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:32] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:32] local.INFO: IMEI packet received {"connection_id":193202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":193202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:37:37] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:37] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:37:37] local.INFO: IMEI packet received {"connection_id":193202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":193202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:37:38] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:38] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:38] local.INFO: Packet analysis {"connection_id":193202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:37:38] local.INFO: Extracted packet for processing {"connection_id":193202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00: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-25 00: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-25 00:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:37: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-25 00: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-25 00: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-25 00:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"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-25 00:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":193202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:37:38] local.INFO: GPS data processed {"connection_id":193202,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:37:38] local.INFO: Acknowledgment sent {"connection_id":193202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:37:42] local.INFO: TCP Data received {"connection_id":193202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:42] local.INFO: Processing buffer {"connection_id":193202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:37:42] local.INFO: Packet analysis {"connection_id":193202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:37:42] local.INFO: Extracted packet for processing {"connection_id":193202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:37: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:37: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-25 00:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"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-25 00:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:37: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-25 00:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":193202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:37:42] local.INFO: GPS data processed {"connection_id":193202,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:37:42] local.INFO: Acknowledgment sent {"connection_id":193202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:38:05] local.INFO: TCP Data received {"connection_id":193201,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ce6c080100000000000000000000000000..."} 
[2026-09-25 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ce6c080100000000000000000000000000..."} 
[2026-09-25 00:38:05] local.INFO: Processing buffer {"connection_id":193201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ce6c080100000000000000000000000000..."} 
[2026-09-25 00:38:05] local.INFO: Packet analysis {"connection_id":193201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ce"} 
[2026-09-25 00:38:05] local.INFO: Extracted packet for processing {"connection_id":193201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ce"} 
[2026-09-25 00:38:05] 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-25 00: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-25 00:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310818304001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020065345305030656,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790276693000,"timestamp_ms":1790276693000,"timestamp_seconds":1790276693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ce6c08"} 
[2026-09-25 00: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-25 00:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:38:05] 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-25 00: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-25 00: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-25 00:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":193201,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:38:05] local.INFO: GPS data processed {"connection_id":193201,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:38:05] local.INFO: Acknowledgment sent {"connection_id":193201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:38:10] local.INFO: TCP Data received {"connection_id":191642,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:10] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:10] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:38:16] local.INFO: TCP Data received {"connection_id":191642,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:16] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:38:16] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:38:20] local.INFO: TCP Data received {"connection_id":191642,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d04c80012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d04c80012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:38:20] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d04c80012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:38:20] local.INFO: Packet analysis {"connection_id":191642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d0"} 
[2026-09-25 00:38:20] local.INFO: Extracted packet for processing {"connection_id":191642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d0"} 
[2026-09-25 00:38:20] local.INFO: GPS Element Parsed {"raw_longitude":755946816,"raw_latitude":115959808,"longitude_deg":75.5946816,"latitude_deg":11.5959808,"altitude":12,"angle":172,"satellites":38,"speed":11,"hex_longitude":"2d0ed540","hex_latitude":"06e96800","is_valid_coordinates":true} 
[2026-09-25 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790276816000,"timestamp_ms":1790276816000,"timestamp_seconds":1790276816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d04c80"} 
[2026-09-25 00:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:38: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-25 00:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 00:38:20] 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-25 00:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:38: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-25 00:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"70":206,"2":56576,"24":11,"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,70,2,24,16]} 
[2026-09-25 00:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:38:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-25 00:38: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-25 00:38:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_70":206,"power_alt":56576,"ignition":11,"odometer":null}} 
[2026-09-25 00:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":191642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:38:20] local.INFO: GPS data processed {"connection_id":191642,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:38:20] local.INFO: Acknowledgment sent {"connection_id":191642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:38:27] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:27] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:27] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:38:32] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:32] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:38:32] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:38:33] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:38:33] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ccba70012d34c14006aa4940000900f52d..."} 
[2026-09-25 00:38:33] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:38:33] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4cc"} 
[2026-09-25 00:38: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-25 00: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-25 00:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310727936001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276582000,"timestamp_ms":1790276582000,"timestamp_seconds":1790276582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ccba70"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:38: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-25 00: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-25 00: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-25 00:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:38: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-25 00:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310727936001,"66":25462,"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-25 00:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310727936001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:38:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310727936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:38:33] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:38:33] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:04] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:04] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:04] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:04] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39: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-25 00:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39: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-25 00:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:39: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-25 00:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39: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-25 00:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:39: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-25 00:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:39:04] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:39:04] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:05] local.INFO: TCP Data received {"connection_id":191819,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:05] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:05] local.INFO: IMEI packet received {"connection_id":191819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":191819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:39:11] local.INFO: TCP Data received {"connection_id":191819,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:11] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:39:11] local.INFO: IMEI packet received {"connection_id":191819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":191819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:39:12] local.INFO: TCP Data received {"connection_id":191819,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d09e88012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d09e88012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:39:12] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d09e88012d0ed54006e96800000c00ac26..."} 
[2026-09-25 00:39:12] local.INFO: Packet analysis {"connection_id":191819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d0"} 
[2026-09-25 00:39:12] local.INFO: Extracted packet for processing {"connection_id":191819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d0"} 
[2026-09-25 00:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755946816,"raw_latitude":115959808,"longitude_deg":75.5946816,"latitude_deg":11.5959808,"altitude":12,"angle":172,"satellites":38,"speed":0,"hex_longitude":"2d0ed540","hex_latitude":"06e96800","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310864896001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068830885000249344,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276837000,"timestamp_ms":1790276837000,"timestamp_seconds":1790276837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d09e88"} 
[2026-09-25 00: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-25 00:39: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-25 00: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":124,"data_length":795,"current_offset":136} 
[2026-09-25 00:39: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-25 00: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-25 00: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-25 00:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310864896001,"66":27887,"70":206,"2":56576,"24":0,"16":3605341577150464,"45":1068830885000249344},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-09-25 00:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310864896001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:39:12] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-25 00: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-25 00:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068830885000249344,"description":"Unknown IO ID 45"} 
[2026-09-25 00:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310864896001,"power":27887,"unknown_70":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1068830885000249344}} 
[2026-09-25 00:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":191819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:39:12] local.INFO: GPS data processed {"connection_id":191819,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:39:12] local.INFO: Acknowledgment sent {"connection_id":191819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:32] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:32] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:32] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:39:37] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:37] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:39:37] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:39:38] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:38] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:38] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:38] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39: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-25 00:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:39:38] 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":892989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:39:38] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:39:38] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:42] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:42] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:42] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:42] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:39: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-25 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39: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-25 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:39: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-25 00:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:39:42] 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":892990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:39:42] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:39:42] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:43] local.INFO: TCP Data received {"connection_id":191819,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d181180100000000000000000000000000..."} 
[2026-09-25 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d181180100000000000000000000000000..."} 
[2026-09-25 00:39:43] local.INFO: Processing buffer {"connection_id":191819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d181180100000000000000000000000000..."} 
[2026-09-25 00:39:43] local.INFO: Packet analysis {"connection_id":191819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:43] local.INFO: Extracted packet for processing {"connection_id":191819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39: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-25 00: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-25 00:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310870272001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068830885000249344,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790276895000,"timestamp_ms":1790276895000,"timestamp_seconds":1790276895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d18118"} 
[2026-09-25 00: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-25 00:39: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-25 00: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:39:43] 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-25 00: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-25 00: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-25 00:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:39: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-25 00:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":191819,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:39:43] local.INFO: GPS data processed {"connection_id":191819,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:39:43] local.INFO: Acknowledgment sent {"connection_id":191819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:39:48] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:48] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:39:48] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:48] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:39:48] 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-25 00: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-25 00:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00: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-25 00:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:39:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:39:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 00:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:39:48] 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":892991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:39:48] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:39:48] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:40:10] local.INFO: TCP Data received {"connection_id":191820,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:40:10] local.INFO: TCP Data received {"connection_id":191820,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:10] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:40:16] local.INFO: TCP Data received {"connection_id":191820,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:16] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:40:16] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:40:18] local.INFO: TCP Data received {"connection_id":191820,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d113b8012d0edc0006e943c8000f00c030..."} 
[2026-09-25 00:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d113b8012d0edc0006e943c8000f00c030..."} 
[2026-09-25 00:40:18] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d113b8012d0edc0006e943c8000f00c030..."} 
[2026-09-25 00:40:18] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40:18] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40:18] local.INFO: GPS Element Parsed {"raw_longitude":755948544,"raw_latitude":115950536,"longitude_deg":75.5948544,"latitude_deg":11.5950536,"altitude":15,"angle":192,"satellites":48,"speed":10,"hex_longitude":"2d0edc00","hex_latitude":"06e943c8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790276867000,"timestamp_ms":1790276867000,"timestamp_seconds":1790276867,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d113b8"} 
[2026-09-25 00: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-25 00:40: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-25 00: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 00:40: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-25 00: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-25 00: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-25 00:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:40: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-25 00:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"70":206,"2":56576,"24":10,"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,70,2,24,16]} 
[2026-09-25 00:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:40:18] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-25 00: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-25 00:40:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_70":206,"power_alt":56576,"ignition":10,"odometer":null}} 
[2026-09-25 00:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:40:18] local.INFO: GPS data processed {"connection_id":191820,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:40:18] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:40:27] local.INFO: TCP Data received {"connection_id":194491,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:27] local.INFO: Processing buffer {"connection_id":194491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:27] local.INFO: IMEI packet received {"connection_id":194491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:40:32] local.INFO: TCP Data received {"connection_id":194491,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:32] local.INFO: Processing buffer {"connection_id":194491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:40:32] local.INFO: IMEI packet received {"connection_id":194491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:40:33] local.INFO: TCP Data received {"connection_id":194491,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:33] local.INFO: Processing buffer {"connection_id":194491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:33] local.INFO: Packet analysis {"connection_id":194491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40:33] local.INFO: Extracted packet for processing {"connection_id":194491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:40: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-25 00: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-25 00: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-25 00:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:40: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-25 00:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":194491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:40:34] local.INFO: GPS data processed {"connection_id":194491,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:40:34] local.INFO: Acknowledgment sent {"connection_id":194491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:40:38] local.INFO: TCP Data received {"connection_id":194491,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:38] local.INFO: Processing buffer {"connection_id":194491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:40:38] local.INFO: Packet analysis {"connection_id":194491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40:38] local.INFO: Extracted packet for processing {"connection_id":194491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:40: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-25 00:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:40: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-25 00:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:40: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-25 00:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":194491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:40:38] local.INFO: GPS data processed {"connection_id":194491,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:40:38] local.INFO: Acknowledgment sent {"connection_id":194491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:40:49] local.INFO: TCP Data received {"connection_id":191820,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d1f6480100000000000000000000000000..."} 
[2026-09-25 00:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d1f6480100000000000000000000000000..."} 
[2026-09-25 00:40:49] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d1f6480100000000000000000000000000..."} 
[2026-09-25 00:40:49] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40:49] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:40: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-25 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310877952001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070730841090672640,"note":"Value kept but may cause issues"} 
[2026-09-25 00:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790276925000,"timestamp_ms":1790276925000,"timestamp_seconds":1790276925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d1f648"} 
[2026-09-25 00:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:40: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-25 00:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 00:40:49] 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-25 00:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:40: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-25 00:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:40:49] local.INFO: GPS data processed {"connection_id":191820,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:40:49] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:41:06] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:06] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:06] local.INFO: IMEI packet received {"connection_id":194492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":194492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:41:07] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:07] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:07] local.INFO: IMEI packet received {"connection_id":194492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":194492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:41:09] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:09] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:41:09] local.INFO: IMEI packet received {"connection_id":194492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":194492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:41:09] local.INFO: TCP Data received {"connection_id":194491,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:09] local.INFO: Processing buffer {"connection_id":194491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:09] local.INFO: Packet analysis {"connection_id":194491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:09] local.INFO: Extracted packet for processing {"connection_id":194491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:41: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-25 00:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:41: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-25 00:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:41: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-25 00:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":194491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:41:09] local.INFO: GPS data processed {"connection_id":194491,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:41:09] local.INFO: Acknowledgment sent {"connection_id":194491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:41:10] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d188e8012d0ec5c006e912e8000b00dd2a..."} 
[2026-09-25 00:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d188e8012d0ec5c006e912e8000b00dd2a..."} 
[2026-09-25 00:41:10] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d188e8012d0ec5c006e912e8000b00dd2a..."} 
[2026-09-25 00:41:10] local.INFO: Packet analysis {"connection_id":194492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:10] local.INFO: Extracted packet for processing {"connection_id":194492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755942848,"raw_latitude":115938024,"longitude_deg":75.5942848,"latitude_deg":11.5938024,"altitude":11,"angle":221,"satellites":42,"speed":24,"hex_longitude":"2d0ec5c0","hex_latitude":"06e912e8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,216,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790276897000,"timestamp_ms":1790276897000,"timestamp_seconds":1790276897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d188e8"} 
[2026-09-25 00: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-25 00:41: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:41:10] 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-25 00: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-25 00: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-25 00:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41: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-25 00:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27593,"216":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,216,2,24,16]} 
[2026-09-25 00:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:41:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-25 00:41: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-25 00:41:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27593,"unknown_216":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-09-25 00:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":194492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:41:10] local.INFO: GPS data processed {"connection_id":194492,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:41:10] local.INFO: Acknowledgment sent {"connection_id":194492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:41:11] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d26b780100000000000000000000000000..."} 
[2026-09-25 00:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d26b780100000000000000000000000000..."} 
[2026-09-25 00:41:11] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d26b780100000000000000000000000000..."} 
[2026-09-25 00:41:11] local.INFO: Packet analysis {"connection_id":194492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d2"} 
[2026-09-25 00:41:11] local.INFO: Extracted packet for processing {"connection_id":194492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d2"} 
[2026-09-25 00:41: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-25 00: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-25 00:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310885632001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064468022855657472,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790276955000,"timestamp_ms":1790276955000,"timestamp_seconds":1790276955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d26b78"} 
[2026-09-25 00: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-25 00:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 00:41:11] 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-25 00: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-25 00: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-25 00:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":194492,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:41:11] local.INFO: GPS data processed {"connection_id":194492,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:41:11] local.INFO: Acknowledgment sent {"connection_id":194492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:41:27] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:27] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:27] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:41:32] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:32] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:41:32] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:41:33] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:33] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:41:33] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:33] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00: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-25 00: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-25 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:41: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-25 00: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-25 00: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-25 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:41: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-25 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:41:33] 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":892997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:41:33] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:41:33] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:41:42] local.INFO: TCP Data received {"connection_id":194492,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d1f260012d0eb64006e8df78000a00c930..."} 
[2026-09-25 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d1f260012d0eb64006e8df78000a00c930..."} 
[2026-09-25 00:41:42] local.INFO: Processing buffer {"connection_id":194492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d1f260012d0eb64006e8df78000a00c930..."} 
[2026-09-25 00:41:42] local.INFO: Packet analysis {"connection_id":194492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:42] local.INFO: Extracted packet for processing {"connection_id":194492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755938880,"raw_latitude":115924856,"longitude_deg":75.593888,"latitude_deg":11.5924856,"altitude":10,"angle":201,"satellites":48,"speed":22,"hex_longitude":"2d0eb640","hex_latitude":"06e8df78","is_valid_coordinates":true} 
[2026-09-25 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:41:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,216,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790276924000,"timestamp_ms":1790276924000,"timestamp_seconds":1790276924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d1f260"} 
[2026-09-25 00:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:41: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 00:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:41: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-25 00:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"216":206,"2":56576,"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,216,2,24,16]} 
[2026-09-25 00:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:41:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-25 00:41: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-25 00:41:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_216":206,"power_alt":56576,"ignition":22,"odometer":null}} 
[2026-09-25 00:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":194492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":892998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:41:42] local.INFO: GPS data processed {"connection_id":194492,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:41:42] local.INFO: Acknowledgment sent {"connection_id":194492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:42:04] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:04] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:04] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:42:04] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:42: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-25 00:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42: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-25 00:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:42: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-25 00:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:42: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-25 00:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:42: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-25 00:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:42:04] 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":892999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:42:04] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:42:04] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:42:05] local.INFO: TCP Data received {"connection_id":193203,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:05] local.INFO: Processing buffer {"connection_id":193203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:05] local.INFO: IMEI packet received {"connection_id":193203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":193203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:42:11] local.INFO: TCP Data received {"connection_id":193203,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:11] local.INFO: Processing buffer {"connection_id":193203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:42:11] local.INFO: IMEI packet received {"connection_id":193203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":193203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:42:12] local.INFO: TCP Data received {"connection_id":193203,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d2d8d80100000000000000000000000000..."} 
[2026-09-25 00:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d2d8d80100000000000000000000000000..."} 
[2026-09-25 00:42:12] local.INFO: Processing buffer {"connection_id":193203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d2d8d80100000000000000000000000000..."} 
[2026-09-25 00:42:12] local.INFO: Packet analysis {"connection_id":193203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d2"} 
[2026-09-25 00:42:12] local.INFO: Extracted packet for processing {"connection_id":193203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d2"} 
[2026-09-25 00:42: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-25 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-25 00:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310892544001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060105160713271296,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790276983000,"timestamp_ms":1790276983000,"timestamp_seconds":1790276983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d2d8d8"} 
[2026-09-25 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-25 00:42: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-25 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:42: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-25 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-25 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-25 00:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:42: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-25 00:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":193203,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:42:12] local.INFO: GPS data processed {"connection_id":193203,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:42:12] local.INFO: Acknowledgment sent {"connection_id":193203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:42:27] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:27] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:27] local.INFO: IMEI packet received {"connection_id":191821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":191821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:42:32] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:32] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:42:32] local.INFO: IMEI packet received {"connection_id":191821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:42:33] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:33] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:42:33] local.INFO: Packet analysis {"connection_id":191821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:42:33] local.INFO: Extracted packet for processing {"connection_id":191821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:42: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-25 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42: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-25 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:42: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-25 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:42: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-25 00:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:42: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-25 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:42:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:42:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:42: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-25 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":191821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:42:33] local.INFO: GPS data processed {"connection_id":191821,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:42:33] local.INFO: Acknowledgment sent {"connection_id":191821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:42:43] local.INFO: TCP Data received {"connection_id":193203,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d536500100000000000000000000000000..."} 
[2026-09-25 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d536500100000000000000000000000000..."} 
[2026-09-25 00:42:43] local.INFO: Processing buffer {"connection_id":193203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d536500100000000000000000000000000..."} 
[2026-09-25 00:42:43] local.INFO: Packet analysis {"connection_id":193203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:42:43] local.INFO: Extracted packet for processing {"connection_id":193203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:42: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-25 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310932480001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045749936886009856,"note":"Value kept but may cause issues"} 
[2026-09-25 00:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790277138000,"timestamp_ms":1790277138000,"timestamp_seconds":1790277138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d53650"} 
[2026-09-25 00:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:42: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-25 00:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:42: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-25 00:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:42: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-25 00:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":193203,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:42:43] local.INFO: GPS data processed {"connection_id":193203,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:42:43] local.INFO: Acknowledgment sent {"connection_id":193203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:43:04] local.INFO: TCP Data received {"connection_id":191821,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:04] local.INFO: Processing buffer {"connection_id":191821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:04] local.INFO: Packet analysis {"connection_id":191821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:43:04] local.INFO: Extracted packet for processing {"connection_id":191821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:43: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-25 00:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:43: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-25 00:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:43: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-25 00:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:43: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-25 00:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":191821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:43:04] local.INFO: GPS data processed {"connection_id":191821,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:43:04] local.INFO: Acknowledgment sent {"connection_id":191821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:43:06] local.INFO: TCP Data received {"connection_id":193204,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:06] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:06] local.INFO: IMEI packet received {"connection_id":193204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":193204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:43:11] local.INFO: TCP Data received {"connection_id":193204,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:11] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:43:11] local.INFO: IMEI packet received {"connection_id":193204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":193204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:43:12] local.INFO: TCP Data received {"connection_id":193204,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d4a9b0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d4a9b0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:12] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d4a9b0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:12] local.INFO: Packet analysis {"connection_id":193204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d4"} 
[2026-09-25 00:43:12] local.INFO: Extracted packet for processing {"connection_id":193204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d4"} 
[2026-09-25 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755928128,"raw_latitude":115856840,"longitude_deg":75.5928128,"latitude_deg":11.585684,"altitude":8,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d0e8c40","hex_latitude":"06e7d5c8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277102000,"timestamp_ms":1790277102000,"timestamp_seconds":1790277102,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d4a9b0"} 
[2026-09-25 00: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-25 00: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-25 00:43: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-25 00: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-25 00: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-25 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"217":206,"2":56576,"24":0,"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,217,2,24,16]} 
[2026-09-25 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:43:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00: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-25 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null}} 
[2026-09-25 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":193204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:43:12] local.INFO: GPS data processed {"connection_id":193204,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:43:12] local.INFO: Acknowledgment sent {"connection_id":193204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:43:27] local.INFO: TCP Data received {"connection_id":193205,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:27] local.INFO: Processing buffer {"connection_id":193205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:27] local.INFO: IMEI packet received {"connection_id":193205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":193205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:43:32] local.INFO: TCP Data received {"connection_id":193205,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:32] local.INFO: Processing buffer {"connection_id":193205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:43:32] local.INFO: IMEI packet received {"connection_id":193205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":193205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:43:33] local.INFO: TCP Data received {"connection_id":193205,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:33] local.INFO: Processing buffer {"connection_id":193205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d15238012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:43:33] local.INFO: Packet analysis {"connection_id":193205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00:43:33] local.INFO: Extracted packet for processing {"connection_id":193205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d1"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310804992001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790276883000,"timestamp_ms":1790276883000,"timestamp_seconds":1790276883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d15238"} 
[2026-09-25 00:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 00:43: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-25 00:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310804992001,"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-25 00:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310804992001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:43:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:43:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310804992001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":193205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:43:33] local.INFO: GPS data processed {"connection_id":193205,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:43:33] local.INFO: Acknowledgment sent {"connection_id":193205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:43:44] local.INFO: TCP Data received {"connection_id":193204,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d4fbb8012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d4fbb8012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:44] local.INFO: Processing buffer {"connection_id":193204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d4fbb8012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:43:44] local.INFO: Packet analysis {"connection_id":193204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d4"} 
[2026-09-25 00:43:44] local.INFO: Extracted packet for processing {"connection_id":193204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d4"} 
[2026-09-25 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755928128,"raw_latitude":115856840,"longitude_deg":75.5928128,"latitude_deg":11.585684,"altitude":8,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d0e8c40","hex_latitude":"06e7d5c8","is_valid_coordinates":true} 
[2026-09-25 00:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310938112001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048283211674011648,"note":"Value kept but may cause issues"} 
[2026-09-25 00:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277123000,"timestamp_ms":1790277123000,"timestamp_seconds":1790277123,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d4fbb8"} 
[2026-09-25 00:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:43: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-25 00:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-25 00:43:44] 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-25 00:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:43: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-25 00:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310938112001,"66":28093,"217":206,"2":56576,"24":0,"16":3605341577150464,"45":1048283211674011648},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-25 00:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310938112001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:43:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:43: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-25 00:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048283211674011648,"description":"Unknown IO ID 45"} 
[2026-09-25 00:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310938112001,"power":28093,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1048283211674011648}} 
[2026-09-25 00:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":193204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:43:44] local.INFO: GPS data processed {"connection_id":193204,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:43:44] local.INFO: Acknowledgment sent {"connection_id":193204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:44:04] local.INFO: TCP Data received {"connection_id":193205,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:04] local.INFO: Processing buffer {"connection_id":193205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:04] local.INFO: Packet analysis {"connection_id":193205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:44:04] local.INFO: Extracted packet for processing {"connection_id":193205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:44: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-25 00:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44: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-25 00:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:44: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-25 00:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:44: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-25 00:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:44: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-25 00:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":193205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:44:04] local.INFO: GPS data processed {"connection_id":193205,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:44:04] local.INFO: Acknowledgment sent {"connection_id":193205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:44:05] local.INFO: TCP Data received {"connection_id":194493,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:05] local.INFO: Processing buffer {"connection_id":194493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:05] local.INFO: IMEI packet received {"connection_id":194493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":194493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:44:08] local.INFO: TCP Data received {"connection_id":194493,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:08] local.INFO: Processing buffer {"connection_id":194493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:08] local.INFO: IMEI packet received {"connection_id":194493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":194493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:44:11] local.INFO: TCP Data received {"connection_id":194493,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:11] local.INFO: Processing buffer {"connection_id":194493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:44:11] local.INFO: IMEI packet received {"connection_id":194493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":194493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:44:12] local.INFO: TCP Data received {"connection_id":194493,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d54dc0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d54dc0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:44:12] local.INFO: Processing buffer {"connection_id":194493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d54dc0012d0e8c4006e7d5c8000800a331..."} 
[2026-09-25 00:44:12] local.INFO: Packet analysis {"connection_id":194493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:44:12] local.INFO: Extracted packet for processing {"connection_id":194493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":755928128,"raw_latitude":115856840,"longitude_deg":75.5928128,"latitude_deg":11.585684,"altitude":8,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d0e8c40","hex_latitude":"06e7d5c8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310943488001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048283211674011648,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277144000,"timestamp_ms":1790277144000,"timestamp_seconds":1790277144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d54dc0"} 
[2026-09-25 00: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-25 00:44: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-25 00: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-25 00:44:12] 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-25 00: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-25 00: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-25 00:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:44: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-25 00:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310943488001,"66":27865,"217":206,"2":56576,"24":0,"16":3605341577150464,"45":1048283211674011648},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-25 00:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310943488001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:44:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:44: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-25 00:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048283211674011648,"description":"Unknown IO ID 45"} 
[2026-09-25 00:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310943488001,"power":27865,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1048283211674011648}} 
[2026-09-25 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":194493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:44:13] local.INFO: GPS data processed {"connection_id":194493,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:44:13] local.INFO: Acknowledgment sent {"connection_id":194493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:44:27] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:27] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:27] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:44:32] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:32] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:44:32] local.INFO: IMEI packet received {"connection_id":191646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":191646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:44:33] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:33] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:44:33] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:44:33] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:44: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-25 00: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-25 00: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-25 00:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:44: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-25 00:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:44:33] 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":893007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:44:33] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:44:33] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:44:44] local.INFO: TCP Data received {"connection_id":194493,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d630500100000000000000000000000000..."} 
[2026-09-25 00:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d630500100000000000000000000000000..."} 
[2026-09-25 00:44:44] local.INFO: Processing buffer {"connection_id":194493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d630500100000000000000000000000000..."} 
[2026-09-25 00:44:44] local.INFO: Packet analysis {"connection_id":194493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:44:44] local.INFO: Extracted packet for processing {"connection_id":194493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:44: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-25 00:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310948864001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048283211674011648,"note":"Value kept but may cause issues"} 
[2026-09-25 00:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277202000,"timestamp_ms":1790277202000,"timestamp_seconds":1790277202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d63050"} 
[2026-09-25 00:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:44: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-25 00:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-25 00:44:44] 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-25 00:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:44: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-25 00:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":194493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:44:44] local.INFO: GPS data processed {"connection_id":194493,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:44:44] local.INFO: Acknowledgment sent {"connection_id":194493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:45:05] local.INFO: TCP Data received {"connection_id":191646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:05] local.INFO: Processing buffer {"connection_id":191646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:05] local.INFO: Packet analysis {"connection_id":191646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:05] local.INFO: Extracted packet for processing {"connection_id":191646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00: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-25 00:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45: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-25 00:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:45:05] 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":893008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:45:05] local.INFO: GPS data processed {"connection_id":191646,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:45:05] local.INFO: Acknowledgment sent {"connection_id":191646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:45:06] local.INFO: TCP Data received {"connection_id":194494,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:06] local.INFO: Processing buffer {"connection_id":194494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:06] local.INFO: IMEI packet received {"connection_id":194494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":194494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:45:08] local.INFO: TCP Data received {"connection_id":194494,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:08] local.INFO: Processing buffer {"connection_id":194494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:08] local.INFO: IMEI packet received {"connection_id":194494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":194494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:45:10] local.INFO: TCP Data received {"connection_id":194494,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:10] local.INFO: Processing buffer {"connection_id":194494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:45:10] local.INFO: IMEI packet received {"connection_id":194494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":194494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:45:12] local.INFO: TCP Data received {"connection_id":194494,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ab80012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ab80012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:12] local.INFO: Processing buffer {"connection_id":194494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ab80012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:12] local.INFO: Packet analysis {"connection_id":194494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:12] local.INFO: Extracted packet for processing {"connection_id":194494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755931648,"raw_latitude":115847752,"longitude_deg":75.5931648,"latitude_deg":11.5847752,"altitude":11,"angle":148,"satellites":49,"speed":6,"hex_longitude":"2d0e9a00","hex_latitude":"06e7b248","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277168000,"timestamp_ms":1790277168000,"timestamp_seconds":1790277168,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ab80"} 
[2026-09-25 00: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-25 00:45: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-25 00: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:45: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-25 00: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-25 00: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-25 00:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:45: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-25 00:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27463,"217":206,"2":56576,"24":6,"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,217,2,24,16]} 
[2026-09-25 00:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:45:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:45: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-25 00:45:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27463,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null}} 
[2026-09-25 00:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":194494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:45:12] local.INFO: GPS data processed {"connection_id":194494,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:45:12] local.INFO: Acknowledgment sent {"connection_id":194494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:45:32] local.INFO: TCP Data received {"connection_id":194495,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:32] local.INFO: Processing buffer {"connection_id":194495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:32] local.INFO: IMEI packet received {"connection_id":194495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":194495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:45:37] local.INFO: TCP Data received {"connection_id":194495,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:37] local.INFO: Processing buffer {"connection_id":194495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:45:37] local.INFO: IMEI packet received {"connection_id":194495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":194495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:45:38] local.INFO: TCP Data received {"connection_id":194495,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:38] local.INFO: Processing buffer {"connection_id":194495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:38] local.INFO: Packet analysis {"connection_id":194495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:38] local.INFO: Extracted packet for processing {"connection_id":194495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:45: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-25 00: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-25 00: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-25 00:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45: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-25 00:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"66":25473,"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-25 00:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:45: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-25 00:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":194495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:45:38] local.INFO: GPS data processed {"connection_id":194495,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:45:38] local.INFO: Acknowledgment sent {"connection_id":194495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:45:43] local.INFO: TCP Data received {"connection_id":194495,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:43] local.INFO: Processing buffer {"connection_id":194495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:45:43] local.INFO: Packet analysis {"connection_id":194495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:43] local.INFO: Extracted packet for processing {"connection_id":194495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00:45: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:45: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-25 00: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-25 00: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-25 00:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"66":25473,"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-25 00:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":194495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:45:43] local.INFO: GPS data processed {"connection_id":194495,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:45:43] local.INFO: Acknowledgment sent {"connection_id":194495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:45:43] local.INFO: TCP Data received {"connection_id":194494,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5f9a0012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5f9a0012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:43] local.INFO: Processing buffer {"connection_id":194494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5f9a0012d0e9a0006e7b248000b009431..."} 
[2026-09-25 00:45:43] local.INFO: Packet analysis {"connection_id":194494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:43] local.INFO: Extracted packet for processing {"connection_id":194494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755931648,"raw_latitude":115847752,"longitude_deg":75.5931648,"latitude_deg":11.5847752,"altitude":11,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d0e9a00","hex_latitude":"06e7b248","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310955008001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052153492601456640,"note":"Value kept but may cause issues"} 
[2026-09-25 00:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790277188000,"timestamp_ms":1790277188000,"timestamp_seconds":1790277188,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5f9a0"} 
[2026-09-25 00: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-25 00:45: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-25 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 00:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:45: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-25 00:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310955008001,"66":27789,"217":206,"2":56576,"24":0,"16":3605341577150464,"45":1052153492601456640},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-09-25 00:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310955008001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:45: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-25 00:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052153492601456640,"description":"Unknown IO ID 45"} 
[2026-09-25 00:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310955008001,"power":27789,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1052153492601456640}} 
[2026-09-25 00:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":194494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:45:43] local.INFO: GPS data processed {"connection_id":194494,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:45:43] local.INFO: Acknowledgment sent {"connection_id":194494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:46:10] local.INFO: TCP Data received {"connection_id":193206,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:10] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:10] local.INFO: IMEI packet received {"connection_id":193206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":193206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:46:16] local.INFO: TCP Data received {"connection_id":193206,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:16] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:46:16] local.INFO: IMEI packet received {"connection_id":193206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":193206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:46:17] local.INFO: TCP Data received {"connection_id":193206,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d6e0180100000000000000000000000000..."} 
[2026-09-25 00:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d6e0180100000000000000000000000000..."} 
[2026-09-25 00:46:17] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d6e0180100000000000000000000000000..."} 
[2026-09-25 00:46:17] local.INFO: Packet analysis {"connection_id":193206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:46:17] local.INFO: Extracted packet for processing {"connection_id":193206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:46: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-25 00: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-25 00:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310960128001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052153492601456640,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790277247000,"timestamp_ms":1790277247000,"timestamp_seconds":1790277247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d6e018"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:46:17] 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-25 00: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-25 00: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-25 00:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:46: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-25 00:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":193206,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:46:17] local.INFO: GPS data processed {"connection_id":193206,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:46:17] local.INFO: Acknowledgment sent {"connection_id":193206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:46:27] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:27] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:27] local.INFO: IMEI packet received {"connection_id":193207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":193207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:46:32] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:32] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:46:32] local.INFO: IMEI packet received {"connection_id":193207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":193207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:46:33] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:46:33] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:46:33] local.INFO: Packet analysis {"connection_id":193207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:46:33] local.INFO: Extracted packet for processing {"connection_id":193207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:46: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-25 00: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-25 00: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-25 00:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:46: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-25 00:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":193207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:46:33] local.INFO: GPS data processed {"connection_id":193207,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:46:33] local.INFO: Acknowledgment sent {"connection_id":193207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:46:49] local.INFO: TCP Data received {"connection_id":193206,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d66ae8012d0eb24006e78b58000a009f32..."} 
[2026-09-25 00:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d66ae8012d0eb24006e78b58000a009f32..."} 
[2026-09-25 00:46:49] local.INFO: Processing buffer {"connection_id":193206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d66ae8012d0eb24006e78b58000a009f32..."} 
[2026-09-25 00:46:49] local.INFO: Packet analysis {"connection_id":193206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:46:49] local.INFO: Extracted packet for processing {"connection_id":193206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":755937856,"raw_latitude":115837784,"longitude_deg":75.5937856,"latitude_deg":11.5837784,"altitude":10,"angle":159,"satellites":50,"speed":13,"hex_longitude":"2d0eb240","hex_latitude":"06e78b58","is_valid_coordinates":true} 
[2026-09-25 00:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:46:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790277217000,"timestamp_ms":1790277217000,"timestamp_seconds":1790277217,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d66ae8"} 
[2026-09-25 00:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:46:49] 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-25 00:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:46: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-25 00:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"217":206,"2":56576,"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,217,2,24,16]} 
[2026-09-25 00:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:46:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:46: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-25 00:46:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_217":206,"power_alt":56576,"ignition":13,"odometer":null}} 
[2026-09-25 00:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":193206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:46:49] local.INFO: GPS data processed {"connection_id":193206,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:46:49] local.INFO: Acknowledgment sent {"connection_id":193206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:47:05] local.INFO: TCP Data received {"connection_id":193207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:05] local.INFO: Processing buffer {"connection_id":193207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:05] local.INFO: Packet analysis {"connection_id":193207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:47:05] local.INFO: Extracted packet for processing {"connection_id":193207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:47: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-25 00:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":193207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:47:05] local.INFO: GPS data processed {"connection_id":193207,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:47:05] local.INFO: Acknowledgment sent {"connection_id":193207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:47:08] local.INFO: TCP Data received {"connection_id":191647,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:08] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:08] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:47:11] local.INFO: TCP Data received {"connection_id":191647,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:11] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:47:11] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:47:27] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:27] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:27] local.INFO: IMEI packet received {"connection_id":191822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":191822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:47:30] local.INFO: TCP Data received {"connection_id":191647,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d751600100000000000000000000000000..."} 
[2026-09-25 00:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d751600100000000000000000000000000..."} 
[2026-09-25 00:47:30] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d751600100000000000000000000000000..."} 
[2026-09-25 00:47:30] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d7"} 
[2026-09-25 00:47:30] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d7"} 
[2026-09-25 00:47: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-25 00:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310967552001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1058979260784138240,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790277276000,"timestamp_ms":1790277276000,"timestamp_seconds":1790277276,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d75160"} 
[2026-09-25 00:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:47: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-25 00:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:47: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-25 00:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":191647,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:47:30] local.INFO: GPS data processed {"connection_id":191647,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:47:30] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:47:32] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:32] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:47:32] local.INFO: IMEI packet received {"connection_id":191822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":191822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:47:33] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:33] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:47:33] local.INFO: Packet analysis {"connection_id":191822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:47:33] local.INFO: Extracted packet for processing {"connection_id":191822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":191822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:47:33] local.INFO: GPS data processed {"connection_id":191822,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:47:33] local.INFO: Acknowledgment sent {"connection_id":191822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:47:36] local.INFO: TCP Data received {"connection_id":191647,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d6d848012d0ed60006e75e68000a008a2f..."} 
[2026-09-25 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d6d848012d0ed60006e75e68000a008a2f..."} 
[2026-09-25 00:47:36] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d6d848012d0ed60006e75e68000a008a2f..."} 
[2026-09-25 00:47:36] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:47:36] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d6"} 
[2026-09-25 00:47:36] local.INFO: GPS Element Parsed {"raw_longitude":755947008,"raw_latitude":115826280,"longitude_deg":75.5947008,"latitude_deg":11.582628,"altitude":10,"angle":138,"satellites":47,"speed":26,"hex_longitude":"2d0ed600","hex_latitude":"06e75e68","is_valid_coordinates":true} 
[2026-09-25 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-25 00:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:47:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790277245000,"timestamp_ms":1790277245000,"timestamp_seconds":1790277245,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d6d848"} 
[2026-09-25 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-25 00:47:36] local.INFO: 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-25 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:47:36] 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-25 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-25 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-25 00:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"217":206,"2":56576,"24":26,"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,217,2,24,16]} 
[2026-09-25 00:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:47:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-25 00:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 00:47:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_217":206,"power_alt":56576,"ignition":26,"odometer":null}} 
[2026-09-25 00:47:36] 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":893017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:47:36] local.INFO: GPS data processed {"connection_id":191647,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:47:36] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:48:04] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:04] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:04] local.INFO: Packet analysis {"connection_id":191822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:48:04] local.INFO: Extracted packet for processing {"connection_id":191822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:48: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-25 00: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-25 00: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-25 00:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":191822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:48:04] local.INFO: GPS data processed {"connection_id":191822,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:48:04] local.INFO: Acknowledgment sent {"connection_id":191822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:48:06] local.INFO: TCP Data received {"connection_id":193208,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:06] local.INFO: Processing buffer {"connection_id":193208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:06] local.INFO: IMEI packet received {"connection_id":193208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":193208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:48:07] local.INFO: TCP Data received {"connection_id":193208,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:07] local.INFO: Processing buffer {"connection_id":193208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:07] local.INFO: IMEI packet received {"connection_id":193208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":193208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:48:11] local.INFO: TCP Data received {"connection_id":193208,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:11] local.INFO: Processing buffer {"connection_id":193208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:48:11] local.INFO: IMEI packet received {"connection_id":193208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":193208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:48:12] local.INFO: TCP Data received {"connection_id":193208,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d97c10012d10bb8006e5b330000f00992e..."} 
[2026-09-25 00:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d97c10012d10bb8006e5b330000f00992e..."} 
[2026-09-25 00:48:12] local.INFO: Processing buffer {"connection_id":193208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d97c10012d10bb8006e5b330000f00992e..."} 
[2026-09-25 00:48:12] local.INFO: Packet analysis {"connection_id":193208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:48:12] local.INFO: Extracted packet for processing {"connection_id":193208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756071296,"raw_latitude":115716912,"longitude_deg":75.6071296,"latitude_deg":11.5716912,"altitude":15,"angle":153,"satellites":46,"speed":0,"hex_longitude":"2d10bb80","hex_latitude":"06e5b330","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311013632001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196550155625209856,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277418000,"timestamp_ms":1790277418000,"timestamp_seconds":1790277418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d97c10"} 
[2026-09-25 00: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-25 00: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-25 00: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":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:48: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-25 00: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-25 00: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-25 00:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311013632001,"66":28006,"138":206,"2":56576,"24":0,"16":3605341577150464,"45":1196550155625209856},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311013632001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:48:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00: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-25 00:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196550155625209856,"description":"Unknown IO ID 45"} 
[2026-09-25 00:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311013632001,"power":28006,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1196550155625209856}} 
[2026-09-25 00:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":193208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:48:12] local.INFO: GPS data processed {"connection_id":193208,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:48:12] local.INFO: Acknowledgment sent {"connection_id":193208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:48:27] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:27] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:27] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:48:32] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:32] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:48:32] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:48:33] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:33] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d5ea00012d34c14006aa4940000900f52f..."} 
[2026-09-25 00:48:33] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00:48:33] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d5"} 
[2026-09-25 00: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-25 00: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-25 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310882048001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277184000,"timestamp_ms":1790277184000,"timestamp_seconds":1790277184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d5ea00"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:48: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-25 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310882048001,"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-25 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310882048001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310882048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:48:33] 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":893020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:48:33] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:48:33] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:48:44] local.INFO: TCP Data received {"connection_id":193208,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d9b2c0012d10cf4006e568a0001100b42f..."} 
[2026-09-25 00:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d9b2c0012d10cf4006e568a0001100b42f..."} 
[2026-09-25 00:48:44] local.INFO: Processing buffer {"connection_id":193208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d9b2c0012d10cf4006e568a0001100b42f..."} 
[2026-09-25 00:48:44] local.INFO: Packet analysis {"connection_id":193208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:48:44] local.INFO: Extracted packet for processing {"connection_id":193208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756076352,"raw_latitude":115697824,"longitude_deg":75.6076352,"latitude_deg":11.5697824,"altitude":17,"angle":180,"satellites":47,"speed":46,"hex_longitude":"2d10cf40","hex_latitude":"06e568a0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311019008001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1205698092363624448,"note":"Value kept but may cause issues"} 
[2026-09-25 00:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277432000,"timestamp_ms":1790277432000,"timestamp_seconds":1790277432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d9b2c0"} 
[2026-09-25 00: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-25 00:48: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-25 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-25 00:48:44] 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-25 00: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-25 00: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-25 00:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311019008001,"66":28028,"138":206,"2":56576,"24":46,"16":3605341577150464,"45":1205698092363624448},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311019008001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:48:44] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00: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-25 00:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1205698092363624448,"description":"Unknown IO ID 45"} 
[2026-09-25 00:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311019008001,"power":28028,"unknown_138":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1205698092363624448}} 
[2026-09-25 00:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":193208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:48:44] local.INFO: GPS data processed {"connection_id":193208,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:48:44] local.INFO: Acknowledgment sent {"connection_id":193208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:49:04] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:04] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:04] local.INFO: Packet analysis {"connection_id":191648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49:04] local.INFO: Extracted packet for processing {"connection_id":191648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:49:04] 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":893022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:49:04] local.INFO: GPS data processed {"connection_id":191648,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:49:04] local.INFO: Acknowledgment sent {"connection_id":191648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:49:05] local.INFO: TCP Data received {"connection_id":194496,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:05] local.INFO: Processing buffer {"connection_id":194496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:05] local.INFO: IMEI packet received {"connection_id":194496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":194496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:49:11] local.INFO: TCP Data received {"connection_id":194496,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:11] local.INFO: Processing buffer {"connection_id":194496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:49:11] local.INFO: IMEI packet received {"connection_id":194496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":194496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:49:12] local.INFO: TCP Data received {"connection_id":194496,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4d9f528012d10d44006e51df0001000a62d..."} 
[2026-09-25 00:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4d9f528012d10d44006e51df0001000a62d..."} 
[2026-09-25 00:49:12] local.INFO: Processing buffer {"connection_id":194496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4d9f528012d10d44006e51df0001000a62d..."} 
[2026-09-25 00:49:12] local.INFO: Packet analysis {"connection_id":194496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:49:12] local.INFO: Extracted packet for processing {"connection_id":194496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4d9"} 
[2026-09-25 00:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756077632,"raw_latitude":115678704,"longitude_deg":75.6077632,"latitude_deg":11.5678704,"altitude":16,"angle":166,"satellites":45,"speed":43,"hex_longitude":"2d10d440","hex_latitude":"06e51df0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311022592001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211257223148773376,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277449000,"timestamp_ms":1790277449000,"timestamp_seconds":1790277449,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4d9f528"} 
[2026-09-25 00: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-25 00:49: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-25 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 00:49: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-25 00: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-25 00: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-25 00:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:49: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-25 00:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311022592001,"66":27843,"138":206,"2":56576,"24":43,"16":3605341577150464,"45":1211257223148773376},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311022592001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:49:12] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00:49: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-25 00:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211257223148773376,"description":"Unknown IO ID 45"} 
[2026-09-25 00:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311022592001,"power":27843,"unknown_138":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1211257223148773376}} 
[2026-09-25 00:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":194496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:49:12] local.INFO: GPS data processed {"connection_id":194496,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:49:12] local.INFO: Acknowledgment sent {"connection_id":194496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:49:32] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:32] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:32] local.INFO: IMEI packet received {"connection_id":193209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":193209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:49:37] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:37] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:49:37] local.INFO: IMEI packet received {"connection_id":193209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":193209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:49:38] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:38] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:38] local.INFO: Packet analysis {"connection_id":193209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49:38] local.INFO: Extracted packet for processing {"connection_id":193209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49: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-25 00:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":193209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:49:38] local.INFO: GPS data processed {"connection_id":193209,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:49:38] local.INFO: Acknowledgment sent {"connection_id":193209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:49:42] local.INFO: TCP Data received {"connection_id":193209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:42] local.INFO: Processing buffer {"connection_id":193209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:49:42] local.INFO: Packet analysis {"connection_id":193209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49:42] local.INFO: Extracted packet for processing {"connection_id":193209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:49: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-25 00:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":193209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:49:42] local.INFO: GPS data processed {"connection_id":193209,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:49:42] local.INFO: Acknowledgment sent {"connection_id":193209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:49:49] local.INFO: TCP Data received {"connection_id":194496,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da3b78012d10f5c006e4dcb0000e009329..."} 
[2026-09-25 00:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da3b78012d10f5c006e4dcb0000e009329..."} 
[2026-09-25 00:49:49] local.INFO: Processing buffer {"connection_id":194496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da3b78012d10f5c006e4dcb0000e009329..."} 
[2026-09-25 00:49:49] local.INFO: Packet analysis {"connection_id":194496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49:49] local.INFO: Extracted packet for processing {"connection_id":194496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756086208,"raw_latitude":115662000,"longitude_deg":75.6086208,"latitude_deg":11.5662,"altitude":14,"angle":147,"satellites":41,"speed":42,"hex_longitude":"2d10f5c0","hex_latitude":"06e4dcb0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311026944001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212664598027431936,"note":"Value kept but may cause issues"} 
[2026-09-25 00:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790277467000,"timestamp_ms":1790277467000,"timestamp_seconds":1790277467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da3b78"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 00:49: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-25 00: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-25 00: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-25 00:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:49: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-25 00:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311026944001,"66":28050,"138":206,"2":56576,"24":42,"16":3605341577150464,"45":1212664598027431936},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311026944001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:49:49] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00: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-25 00:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212664598027431936,"description":"Unknown IO ID 45"} 
[2026-09-25 00:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311026944001,"power":28050,"unknown_138":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":1212664598027431936}} 
[2026-09-25 00:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":194496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:49:49] local.INFO: GPS data processed {"connection_id":194496,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:49:49] local.INFO: Acknowledgment sent {"connection_id":194496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:50:05] local.INFO: TCP Data received {"connection_id":194497,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:05] local.INFO: Processing buffer {"connection_id":194497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:05] local.INFO: IMEI packet received {"connection_id":194497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":194497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:50:11] local.INFO: TCP Data received {"connection_id":194497,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:11] local.INFO: Processing buffer {"connection_id":194497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:50:11] local.INFO: IMEI packet received {"connection_id":194497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":194497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:50:13] local.INFO: TCP Data received {"connection_id":194497,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d11140006e49ba0000f00a02f..."} 
[2026-09-25 00:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d11140006e49ba0000f00a02f..."} 
[2026-09-25 00:50:13] local.INFO: Processing buffer {"connection_id":194497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d11140006e49ba0000f00a02f..."} 
[2026-09-25 00:50:13] local.INFO: Packet analysis {"connection_id":194497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:50:13] local.INFO: Extracted packet for processing {"connection_id":194497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756093952,"raw_latitude":115645344,"longitude_deg":75.6093952,"latitude_deg":11.5645344,"altitude":15,"angle":160,"satellites":47,"speed":43,"hex_longitude":"2d111400","hex_latitude":"06e49ba0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311031552001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222094009742962688,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-25 00:50: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-25 00: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-25 00: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-25 00:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311031552001,"66":27952,"138":206,"2":56576,"24":43,"16":3605341577150464,"45":1222094009742962688},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311031552001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:50:13] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00: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-25 00:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222094009742962688,"description":"Unknown IO ID 45"} 
[2026-09-25 00:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311031552001,"power":27952,"unknown_138":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1222094009742962688}} 
[2026-09-25 00:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":194497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:50:13] local.INFO: GPS data processed {"connection_id":194497,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:50:13] local.INFO: Acknowledgment sent {"connection_id":194497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:50:27] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:27] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:27] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:50:32] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:32] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:50:32] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:50:33] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:50:33] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:50:33] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:50:33] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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-25 00: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-25 00:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:50: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":893028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:50:33] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:50:33] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:50:44] local.INFO: TCP Data received {"connection_id":194497,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dacfe8012d11308006e45040000b009730..."} 
[2026-09-25 00:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dacfe8012d11308006e45040000b009730..."} 
[2026-09-25 00:50:44] local.INFO: Processing buffer {"connection_id":194497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dacfe8012d11308006e45040000b009730..."} 
[2026-09-25 00:50:44] local.INFO: Packet analysis {"connection_id":194497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:50:44] local.INFO: Extracted packet for processing {"connection_id":194497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756101248,"raw_latitude":115626048,"longitude_deg":75.6101248,"latitude_deg":11.5626048,"altitude":11,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d113080","hex_latitude":"06e45040","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1230608627784196096,"note":"Value kept but may cause issues"} 
[2026-09-25 00:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277505000,"timestamp_ms":1790277505000,"timestamp_seconds":1790277505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dacfe8"} 
[2026-09-25 00: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-25 00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:50: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-25 00: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-25 00: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-25 00:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"66":28082,"138":206,"2":56576,"24":0,"16":3605341577150464,"45":1230608627784196096},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-09-25 00:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:50:44] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-25 00: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-25 00:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1230608627784196096,"description":"Unknown IO ID 45"} 
[2026-09-25 00:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":28082,"unknown_138":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1230608627784196096}} 
[2026-09-25 00:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":194497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:50:44] local.INFO: GPS data processed {"connection_id":194497,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:50:44] local.INFO: Acknowledgment sent {"connection_id":194497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:51:05] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:05] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:05] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:51:05] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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-25 00: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-25 00:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00: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-25 00:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:51:05] 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":893030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:51:05] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:51:05] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:51:05] local.INFO: TCP Data received {"connection_id":191823,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:05] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:05] local.INFO: IMEI packet received {"connection_id":191823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":191823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:51:07] local.INFO: TCP Data received {"connection_id":191823,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:07] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:07] local.INFO: IMEI packet received {"connection_id":191823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":191823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:51:11] local.INFO: TCP Data received {"connection_id":191823,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:11] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:51:11] local.INFO: IMEI packet received {"connection_id":191823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":191823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:51:13] local.INFO: TCP Data received {"connection_id":191823,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4db0e68012d114d4006e419e0000800a42d..."} 
[2026-09-25 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4db0e68012d114d4006e419e0000800a42d..."} 
[2026-09-25 00:51:13] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4db0e68012d114d4006e419e0000800a42d..."} 
[2026-09-25 00:51:13] local.INFO: Packet analysis {"connection_id":191823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:51:13] local.INFO: Extracted packet for processing {"connection_id":191823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756108608,"raw_latitude":115612128,"longitude_deg":75.6108608,"latitude_deg":11.5612128,"altitude":8,"angle":164,"satellites":45,"speed":21,"hex_longitude":"2d114d40","hex_latitude":"06e419e0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311041280001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238630664615510016,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790277521000,"timestamp_ms":1790277521000,"timestamp_seconds":1790277521,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4db0e68"} 
[2026-09-25 00: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-25 00: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-25 00: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":178,"data_length":795,"current_offset":136} 
[2026-09-25 00:51: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-25 00: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-25 00: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-25 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311041280001,"66":27876,"136":206,"2":56576,"24":21,"16":3605341577150464,"45":1238630664615510016},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-09-25 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311041280001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-25 00: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-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238630664615510016,"description":"Unknown IO ID 45"} 
[2026-09-25 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311041280001,"power":27876,"unknown_136":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1238630664615510016}} 
[2026-09-25 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":191823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:51:13] local.INFO: GPS data processed {"connection_id":191823,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:51:13] local.INFO: Acknowledgment sent {"connection_id":191823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:51:27] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:27] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:27] local.INFO: IMEI packet received {"connection_id":193210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":193210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:51:32] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:32] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:51:32] local.INFO: IMEI packet received {"connection_id":193210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":193210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:51:33] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:33] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:51:33] local.INFO: Packet analysis {"connection_id":193210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:51:33] local.INFO: Extracted packet for processing {"connection_id":193210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:51: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-25 00:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":193210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:51:33] local.INFO: GPS data processed {"connection_id":193210,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:51:33] local.INFO: Acknowledgment sent {"connection_id":193210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:51:44] local.INFO: TCP Data received {"connection_id":191823,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dbf4e00100000000000000000000000000..."} 
[2026-09-25 00:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dbf4e00100000000000000000000000000..."} 
[2026-09-25 00:51:44] local.INFO: Processing buffer {"connection_id":191823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dbf4e00100000000000000000000000000..."} 
[2026-09-25 00:51:44] local.INFO: Packet analysis {"connection_id":191823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:51:44] local.INFO: Extracted packet for processing {"connection_id":191823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:51: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-25 00: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-25 00:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311045376001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1246723070192377856,"note":"Value kept but may cause issues"} 
[2026-09-25 00:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277580000,"timestamp_ms":1790277580000,"timestamp_seconds":1790277580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dbf4e0"} 
[2026-09-25 00: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-25 00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":228,"data_length":795,"current_offset":136} 
[2026-09-25 00:51: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-25 00: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-25 00: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-25 00:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":191823,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:51:44] local.INFO: GPS data processed {"connection_id":191823,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:51:44] local.INFO: Acknowledgment sent {"connection_id":191823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:52:05] local.INFO: TCP Data received {"connection_id":193210,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:05] local.INFO: Processing buffer {"connection_id":193210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:05] local.INFO: Packet analysis {"connection_id":193210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:52:05] local.INFO: Extracted packet for processing {"connection_id":193210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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-25 00: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-25 00:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:52: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-25 00:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:52:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:52:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":193210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:52:05] local.INFO: GPS data processed {"connection_id":193210,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:52:05] local.INFO: Acknowledgment sent {"connection_id":193210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:52:11] local.INFO: TCP Data received {"connection_id":191650,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:11] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:11] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:52:14] local.INFO: TCP Data received {"connection_id":191650,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:14] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:52:14] local.INFO: IMEI packet received {"connection_id":191650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":191650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:52:15] local.INFO: TCP Data received {"connection_id":191650,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4db6840012d11574006e3dec8000a00b02e..."} 
[2026-09-25 00:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4db6840012d11574006e3dec8000a00b02e..."} 
[2026-09-25 00:52:15] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4db6840012d11574006e3dec8000a00b02e..."} 
[2026-09-25 00:52:15] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:52:15] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756111168,"raw_latitude":115597000,"longitude_deg":75.6111168,"latitude_deg":11.5597,"altitude":10,"angle":176,"satellites":46,"speed":28,"hex_longitude":"2d115740","hex_latitude":"06e3dec8","is_valid_coordinates":true} 
[2026-09-25 00:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,136,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790277544000,"timestamp_ms":1790277544000,"timestamp_seconds":1790277544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4db6840"} 
[2026-09-25 00:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:52: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-09-25 00:52:15] 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-25 00:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52: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-25 00:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"136":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,136,2,24,16]} 
[2026-09-25 00:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:52:15] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-25 00:52: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-25 00:52:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_136":206,"power_alt":56576,"ignition":28,"odometer":null}} 
[2026-09-25 00:52:15] 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":893034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:52:15] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:52:15] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:52:16] local.INFO: TCP Data received {"connection_id":191650,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dbbe30012d115c0006e39fb8000f00b12e..."} 
[2026-09-25 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dbbe30012d115c0006e39fb8000f00b12e..."} 
[2026-09-25 00:52:16] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dbbe30012d115c0006e39fb8000f00b12e..."} 
[2026-09-25 00:52:16] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:52:16] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4db"} 
[2026-09-25 00:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756112384,"raw_latitude":115580856,"longitude_deg":75.6112384,"latitude_deg":11.5580856,"altitude":15,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2d115c00","hex_latitude":"06e39fb8","is_valid_coordinates":true} 
[2026-09-25 00:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311051264001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249537819955611648,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790277566000,"timestamp_ms":1790277566000,"timestamp_seconds":1790277566,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dbbe30"} 
[2026-09-25 00:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:52: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-25 00:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 00:52:16] 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-25 00:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52: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-25 00:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311051264001,"66":27984,"100":206,"2":56576,"24":0,"16":3605341577150464,"45":1249537819955611648},"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,45]} 
[2026-09-25 00:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311051264001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:52:16] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 00:52: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-25 00:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249537819955611648,"description":"Unknown IO ID 45"} 
[2026-09-25 00:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311051264001,"power":27984,"unknown_100":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1249537819955611648}} 
[2026-09-25 00:52:16] 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":893035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:52:16] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:52:16] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:52:27] local.INFO: TCP Data received {"connection_id":193211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:27] local.INFO: Processing buffer {"connection_id":193211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:27] local.INFO: IMEI packet received {"connection_id":193211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":193211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:52:32] local.INFO: TCP Data received {"connection_id":193211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:32] local.INFO: Processing buffer {"connection_id":193211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:52:32] local.INFO: IMEI packet received {"connection_id":193211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":193211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:52:33] local.INFO: TCP Data received {"connection_id":193211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:33] local.INFO: Processing buffer {"connection_id":193211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:52:33] local.INFO: Packet analysis {"connection_id":193211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:52:33] local.INFO: Extracted packet for processing {"connection_id":193211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:52: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-25 00: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-25 00: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-25 00:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:52: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-25 00:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":193211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:52:33] local.INFO: GPS data processed {"connection_id":193211,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:52:33] local.INFO: Acknowledgment sent {"connection_id":193211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:52:47] local.INFO: TCP Data received {"connection_id":191650,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dc1038012d11610006e35ca0001400ab2c..."} 
[2026-09-25 00:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dc1038012d11610006e35ca0001400ab2c..."} 
[2026-09-25 00:52:47] local.INFO: Processing buffer {"connection_id":191650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dc1038012d11610006e35ca0001400ab2c..."} 
[2026-09-25 00:52:47] local.INFO: Packet analysis {"connection_id":191650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:52:47] local.INFO: Extracted packet for processing {"connection_id":191650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756113664,"raw_latitude":115563680,"longitude_deg":75.6113664,"latitude_deg":11.556368,"altitude":20,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2d116100","hex_latitude":"06e35ca0","is_valid_coordinates":true} 
[2026-09-25 00:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311056896001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250874826090854400,"note":"Value kept but may cause issues"} 
[2026-09-25 00:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790277587000,"timestamp_ms":1790277587000,"timestamp_seconds":1790277587,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dc1038"} 
[2026-09-25 00:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:52: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-25 00:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 00:52:47] 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-25 00:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:52: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-25 00:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311056896001,"66":27789,"100":206,"2":56576,"24":0,"16":3605341577150464,"45":1250874826090854400},"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,45]} 
[2026-09-25 00:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311056896001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:52:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 00:52: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-25 00:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250874826090854400,"description":"Unknown IO ID 45"} 
[2026-09-25 00:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311056896001,"power":27789,"unknown_100":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1250874826090854400}} 
[2026-09-25 00:52:47] 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":893037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:52:47] local.INFO: GPS data processed {"connection_id":191650,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:52:47] local.INFO: Acknowledgment sent {"connection_id":191650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:53:04] local.INFO: TCP Data received {"connection_id":193211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:04] local.INFO: Processing buffer {"connection_id":193211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:04] local.INFO: Packet analysis {"connection_id":193211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:53:04] local.INFO: Extracted packet for processing {"connection_id":193211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:53: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-25 00:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":193211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:53:04] local.INFO: GPS data processed {"connection_id":193211,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:53:04] local.INFO: Acknowledgment sent {"connection_id":193211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:53:06] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:06] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:06] local.INFO: IMEI packet received {"connection_id":194498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":194498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:53:07] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:07] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:07] local.INFO: IMEI packet received {"connection_id":194498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":194498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:53:11] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:11] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:53:11] local.INFO: IMEI packet received {"connection_id":194498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":194498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:53:12] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dc6240012d11708006e31920001200a32c..."} 
[2026-09-25 00:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dc6240012d11708006e31920001200a32c..."} 
[2026-09-25 00:53:12] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dc6240012d11708006e31920001200a32c..."} 
[2026-09-25 00:53:12] local.INFO: Packet analysis {"connection_id":194498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:12] local.INFO: Extracted packet for processing {"connection_id":194498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756117632,"raw_latitude":115546400,"longitude_deg":75.6117632,"latitude_deg":11.55464,"altitude":18,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d117080","hex_latitude":"06e31920","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311062272001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252282200970010624,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277608000,"timestamp_ms":1790277608000,"timestamp_seconds":1790277608,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dc6240"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:53:12] 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-25 00: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-25 00: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-25 00:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311062272001,"66":27952,"100":206,"2":56576,"24":0,"16":3605341577150464,"45":1252282200970010624},"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,45]} 
[2026-09-25 00:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311062272001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:53:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 00: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-25 00:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252282200970010624,"description":"Unknown IO ID 45"} 
[2026-09-25 00:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311062272001,"power":27952,"unknown_100":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1252282200970010624}} 
[2026-09-25 00:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":194498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:53:12] local.INFO: GPS data processed {"connection_id":194498,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:53:12] local.INFO: Acknowledgment sent {"connection_id":194498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:53:16] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dcb448012d1188c006e2cce0000c00a72d..."} 
[2026-09-25 00:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dcb448012d1188c006e2cce0000c00a72d..."} 
[2026-09-25 00:53:16] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dcb448012d1188c006e2cce0000c00a72d..."} 
[2026-09-25 00:53:16] local.INFO: Packet analysis {"connection_id":194498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:16] local.INFO: Extracted packet for processing {"connection_id":194498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756123840,"raw_latitude":115526880,"longitude_deg":75.612384,"latitude_deg":11.552688,"altitude":12,"angle":167,"satellites":45,"speed":0,"hex_longitude":"2d1188c0","hex_latitude":"06e2cce0","is_valid_coordinates":true} 
[2026-09-25 00:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311067648001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1256645063104602112,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790277629000,"timestamp_ms":1790277629000,"timestamp_seconds":1790277629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dcb448"} 
[2026-09-25 00:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:53: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-25 00:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 00:53:16] 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-25 00:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:53: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-25 00:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311067648001,"66":27800,"102":206,"2":56576,"24":0,"16":3605341577150464,"45":1256645063104602112},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-25 00:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311067648001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 00:53: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-25 00:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1256645063104602112,"description":"Unknown IO ID 45"} 
[2026-09-25 00:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311067648001,"power":27800,"unknown_102":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1256645063104602112}} 
[2026-09-25 00:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":194498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:53:17] local.INFO: GPS data processed {"connection_id":194498,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:53:17] local.INFO: Acknowledgment sent {"connection_id":194498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:53:27] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:27] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:27] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:53:37] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:37] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:37] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:53:38] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:38] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:38] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:53:42] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:42] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:53:42] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:53:43] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:43] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4da81c8012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:53:43] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:53:43] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4da"} 
[2026-09-25 00:53: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-25 00: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-25 00:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458310959104001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790277485000,"timestamp_ms":1790277485000,"timestamp_seconds":1790277485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4da81c8"} 
[2026-09-25 00: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-25 00:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00: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-25 00: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-25 00:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458310959104001,"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-25 00:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458310959104001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:53: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-25 00:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458310959104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:53:43] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:53:43] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:53:48] local.INFO: TCP Data received {"connection_id":194498,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dcdf40012d118a0006e273e0000a00ba2d..."} 
[2026-09-25 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dcdf40012d118a0006e273e0000a00ba2d..."} 
[2026-09-25 00:53:48] local.INFO: Processing buffer {"connection_id":194498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dcdf40012d118a0006e273e0000a00ba2d..."} 
[2026-09-25 00:53:48] local.INFO: Packet analysis {"connection_id":194498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:48] local.INFO: Extracted packet for processing {"connection_id":194498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dc"} 
[2026-09-25 00:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756124160,"raw_latitude":115504096,"longitude_deg":75.612416,"latitude_deg":11.5504096,"altitude":10,"angle":186,"satellites":45,"speed":53,"hex_longitude":"2d118a00","hex_latitude":"06e273e0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311073024001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263470831284838400,"note":"Value kept but may cause issues"} 
[2026-09-25 00:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790277640000,"timestamp_ms":1790277640000,"timestamp_seconds":1790277640,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dcdf40"} 
[2026-09-25 00: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-25 00:53: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-25 00: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 00:53:48] 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-25 00: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-25 00: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-25 00:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:53: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-25 00:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311073024001,"66":27821,"102":206,"2":56576,"24":53,"16":3605341577150464,"45":1263470831284838400},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-25 00:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311073024001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 00:53: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-25 00:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263470831284838400,"description":"Unknown IO ID 45"} 
[2026-09-25 00:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311073024001,"power":27821,"unknown_102":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1263470831284838400}} 
[2026-09-25 00:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":194498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:53:48] local.INFO: GPS data processed {"connection_id":194498,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:53:48] local.INFO: Acknowledgment sent {"connection_id":194498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:54:05] local.INFO: TCP Data received {"connection_id":191825,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:05] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:05] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:54:11] local.INFO: TCP Data received {"connection_id":191825,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:11] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:54:11] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:54:12] local.INFO: TCP Data received {"connection_id":191825,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dd3148012d11818006e227e8000e00b72b..."} 
[2026-09-25 00:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dd3148012d11818006e227e8000e00b72b..."} 
[2026-09-25 00:54:12] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dd3148012d11818006e227e8000e00b72b..."} 
[2026-09-25 00:54:12] local.INFO: Packet analysis {"connection_id":191825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:54:12] local.INFO: Extracted packet for processing {"connection_id":191825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756121984,"raw_latitude":115484648,"longitude_deg":75.6121984,"latitude_deg":11.5484648,"altitude":14,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d118180","hex_latitude":"06e227e8","is_valid_coordinates":true} 
[2026-09-25 00:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311075840001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263822674999894016,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277661000,"timestamp_ms":1790277661000,"timestamp_seconds":1790277661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dd3148"} 
[2026-09-25 00:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:54: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-25 00:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:54: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-25 00:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:54: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-25 00:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311075840001,"66":27832,"102":206,"2":56576,"24":0,"16":3605341577150464,"45":1263822674999894016},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-09-25 00:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311075840001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:54:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 00:54: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-25 00:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263822674999894016,"description":"Unknown IO ID 45"} 
[2026-09-25 00:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311075840001,"power":27832,"unknown_102":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1263822674999894016}} 
[2026-09-25 00:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":191825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:54:12] local.INFO: GPS data processed {"connection_id":191825,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:54:12] local.INFO: Acknowledgment sent {"connection_id":191825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:54:32] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:32] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:32] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:54:37] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:37] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:54:37] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:54:38] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:38] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:38] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:54:38] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:54: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-25 00:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"66":25473,"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-25 00:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:54:38] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:54:38] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:54:42] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:42] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:54:42] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:54:42] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:54: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 00:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"66":25473,"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-25 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:54: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-25 00:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:54:42] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:54:42] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:54:53] local.INFO: TCP Data received {"connection_id":191825,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4dd67f8012d11884006e1d718000b00ab2d..."} 
[2026-09-25 00:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4dd67f8012d11884006e1d718000b00ab2d..."} 
[2026-09-25 00:54:53] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4dd67f8012d11884006e1d718000b00ab2d..."} 
[2026-09-25 00:54:53] local.INFO: Packet analysis {"connection_id":191825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:54:53] local.INFO: Extracted packet for processing {"connection_id":191825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756123712,"raw_latitude":115463960,"longitude_deg":75.6123712,"latitude_deg":11.546396,"altitude":11,"angle":171,"satellites":45,"speed":49,"hex_longitude":"2d118840","hex_latitude":"06e1d718","is_valid_coordinates":true} 
[2026-09-25 00:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311081216001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261430137692874752,"note":"Value kept but may cause issues"} 
[2026-09-25 00:54:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790277675000,"timestamp_ms":1790277675000,"timestamp_seconds":1790277675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4dd67f8"} 
[2026-09-25 00:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:54:53] 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-25 00:54:53] 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-25 00:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311081216001,"66":27789,"2":56576,"24":49,"16":3605341577150464,"45":1261430137692874752},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-25 00:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311081216001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:54: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-25 00:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261430137692874752,"description":"Unknown IO ID 45"} 
[2026-09-25 00:54:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458311081216001,"power":27789,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1261430137692874752}} 
[2026-09-25 00:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":191825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:54:53] local.INFO: GPS data processed {"connection_id":191825,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:54:53] local.INFO: Acknowledgment sent {"connection_id":191825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:55:05] local.INFO: TCP Data received {"connection_id":194499,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:05] local.INFO: Processing buffer {"connection_id":194499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:05] local.INFO: IMEI packet received {"connection_id":194499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":194499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:55:11] local.INFO: TCP Data received {"connection_id":194499,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:11] local.INFO: Processing buffer {"connection_id":194499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:55:11] local.INFO: IMEI packet received {"connection_id":194499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":194499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:55:12] local.INFO: TCP Data received {"connection_id":194499,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ddba00012d1196c006e185f0000a00a62e..."} 
[2026-09-25 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ddba00012d1196c006e185f0000a00a62e..."} 
[2026-09-25 00:55:12] local.INFO: Processing buffer {"connection_id":194499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ddba00012d1196c006e185f0000a00a62e..."} 
[2026-09-25 00:55:12] local.INFO: Packet analysis {"connection_id":194499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:55:12] local.INFO: Extracted packet for processing {"connection_id":194499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4dd"} 
[2026-09-25 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756127424,"raw_latitude":115443184,"longitude_deg":75.6127424,"latitude_deg":11.5443184,"altitude":10,"angle":166,"satellites":46,"speed":0,"hex_longitude":"2d1196c0","hex_latitude":"06e185f0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311084800001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263330093780375552,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277696000,"timestamp_ms":1790277696000,"timestamp_seconds":1790277696,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ddba00"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 00:55:12] 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-25 00: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-25 00: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-25 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311084800001,"66":27821,"2":56576,"24":0,"16":3605341577150464,"45":1263330093780375552},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-09-25 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311084800001,"description":"Unknown IO ID 0"} 
[2026-09-25 00: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-25 00:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263330093780375552,"description":"Unknown IO ID 45"} 
[2026-09-25 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458311084800001,"power":27821,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1263330093780375552}} 
[2026-09-25 00:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":194499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:55:13] local.INFO: GPS data processed {"connection_id":194499,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:55:13] local.INFO: Acknowledgment sent {"connection_id":194499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:55:27] local.INFO: TCP Data received {"connection_id":193212,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:27] local.INFO: Processing buffer {"connection_id":193212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:27] local.INFO: IMEI packet received {"connection_id":193212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":193212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:55:32] local.INFO: TCP Data received {"connection_id":193212,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:32] local.INFO: Processing buffer {"connection_id":193212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:55:32] local.INFO: IMEI packet received {"connection_id":193212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":193212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:55:33] local.INFO: TCP Data received {"connection_id":193212,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:55:33] local.INFO: Processing buffer {"connection_id":193212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:55:33] local.INFO: Packet analysis {"connection_id":193212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:55:33] local.INFO: Extracted packet for processing {"connection_id":193212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:55: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-25 00: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-25 00: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-25 00:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:55: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-25 00:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":193212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:55:33] local.INFO: GPS data processed {"connection_id":193212,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:55:33] local.INFO: Acknowledgment sent {"connection_id":193212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:55:44] local.INFO: TCP Data received {"connection_id":194499,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e07538012d124f0006de85a8000b00a32f..."} 
[2026-09-25 00:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e07538012d124f0006de85a8000b00a32f..."} 
[2026-09-25 00:55:44] local.INFO: Processing buffer {"connection_id":194499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e07538012d124f0006de85a8000b00a32f..."} 
[2026-09-25 00:55:44] local.INFO: Packet analysis {"connection_id":194499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e0"} 
[2026-09-25 00:55:44] local.INFO: Extracted packet for processing {"connection_id":194499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e0"} 
[2026-09-25 00:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756174592,"raw_latitude":115246504,"longitude_deg":75.6174592,"latitude_deg":11.5246504,"altitude":11,"angle":163,"satellites":47,"speed":25,"hex_longitude":"2d124f00","hex_latitude":"06de85a8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:55:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277875000,"timestamp_ms":1790277875000,"timestamp_seconds":1790277875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e07538"} 
[2026-09-25 00: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-25 00: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":26,"data_length":795,"current_offset":136} 
[2026-09-25 00:55: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-25 00: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-25 00: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-25 00:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27615,"129":206,"2":56576,"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,129,2,24,16]} 
[2026-09-25 00:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:55:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00: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-25 00:55:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27615,"unknown_129":206,"power_alt":56576,"ignition":25,"odometer":null}} 
[2026-09-25 00:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":194499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:55:44] local.INFO: GPS data processed {"connection_id":194499,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:55:44] local.INFO: Acknowledgment sent {"connection_id":194499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:56:05] local.INFO: TCP Data received {"connection_id":193212,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:05] local.INFO: Processing buffer {"connection_id":193212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:05] local.INFO: Packet analysis {"connection_id":193212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:56:05] local.INFO: Extracted packet for processing {"connection_id":193212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:56: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-25 00:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":193212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:56:05] local.INFO: GPS data processed {"connection_id":193212,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:56:05] local.INFO: Acknowledgment sent {"connection_id":193212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:56:06] local.INFO: TCP Data received {"connection_id":191651,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:06] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:06] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:56:11] local.INFO: TCP Data received {"connection_id":191651,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:11] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:56:11] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:56:12] local.INFO: TCP Data received {"connection_id":191651,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e157c80100000000000000000000000000..."} 
[2026-09-25 00:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e157c80100000000000000000000000000..."} 
[2026-09-25 00:56:12] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e157c80100000000000000000000000000..."} 
[2026-09-25 00:56:12] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:56:12] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:56: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-25 00:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311136000001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319273245345949696,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277933000,"timestamp_ms":1790277933000,"timestamp_seconds":1790277933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e157c8"} 
[2026-09-25 00:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:56: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-25 00:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 00:56:12] 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-25 00:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:56: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-25 00:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:56:12] local.INFO: GPS data processed {"connection_id":191651,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:56:12] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:56:27] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:27] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:27] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:56:32] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:32] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:56:32] local.INFO: IMEI packet received {"connection_id":193213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":193213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:56:33] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:33] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:56:33] local.INFO: Packet analysis {"connection_id":193213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:56:33] local.INFO: Extracted packet for processing {"connection_id":193213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:56: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-25 00:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":193213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:56:33] local.INFO: GPS data processed {"connection_id":193213,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:56:33] local.INFO: Acknowledgment sent {"connection_id":193213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:56:44] local.INFO: TCP Data received {"connection_id":191651,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e0cf10012d12610006de4978000b00aa2d..."} 
[2026-09-25 00:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e0cf10012d12610006de4978000b00aa2d..."} 
[2026-09-25 00:56:44] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e0cf10012d12610006de4978000b00aa2d..."} 
[2026-09-25 00:56:44] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e0"} 
[2026-09-25 00:56:44] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e0"} 
[2026-09-25 00:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756179200,"raw_latitude":115231096,"longitude_deg":75.61792,"latitude_deg":11.5231096,"altitude":11,"angle":170,"satellites":45,"speed":23,"hex_longitude":"2d126100","hex_latitude":"06de4978","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:56:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277898000,"timestamp_ms":1790277898000,"timestamp_seconds":1790277898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e0cf10"} 
[2026-09-25 00: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-25 00: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 00:56:44] 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-25 00: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-25 00: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-25 00:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27941,"129":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,129,2,24,16]} 
[2026-09-25 00:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:56:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00:56: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-25 00:56:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27941,"unknown_129":206,"power_alt":56576,"ignition":23,"odometer":null}} 
[2026-09-25 00:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:56:44] local.INFO: GPS data processed {"connection_id":191651,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:56:44] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:57:04] local.INFO: TCP Data received {"connection_id":193213,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:04] local.INFO: Processing buffer {"connection_id":193213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:04] local.INFO: Packet analysis {"connection_id":193213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:57:04] local.INFO: Extracted packet for processing {"connection_id":193213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:57: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-25 00:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":193213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:57:04] local.INFO: GPS data processed {"connection_id":193213,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:57:04] local.INFO: Acknowledgment sent {"connection_id":193213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:57:06] local.INFO: TCP Data received {"connection_id":194500,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:06] local.INFO: Processing buffer {"connection_id":194500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:06] local.INFO: IMEI packet received {"connection_id":194500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":194500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:57:11] local.INFO: TCP Data received {"connection_id":194500,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:11] local.INFO: Processing buffer {"connection_id":194500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:57:11] local.INFO: IMEI packet received {"connection_id":194500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":194500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:57:12] local.INFO: TCP Data received {"connection_id":194500,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e1b1a00100000000000000000000000000..."} 
[2026-09-25 00:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e1b1a00100000000000000000000000000..."} 
[2026-09-25 00:57:12] local.INFO: Processing buffer {"connection_id":194500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e1b1a00100000000000000000000000000..."} 
[2026-09-25 00:57:12] local.INFO: Packet analysis {"connection_id":194500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:57:12] local.INFO: Extracted packet for processing {"connection_id":194500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:57: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-25 00: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-25 00:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311141888001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1324339794922797056,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277956000,"timestamp_ms":1790277956000,"timestamp_seconds":1790277956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e1b1a0"} 
[2026-09-25 00: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-25 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-25 00:57: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-25 00: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-25 00: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-25 00:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:57: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-25 00:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":194500,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:57:12] local.INFO: GPS data processed {"connection_id":194500,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:57:12] local.INFO: Acknowledgment sent {"connection_id":194500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:57:27] local.INFO: TCP Data received {"connection_id":193214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:27] local.INFO: Processing buffer {"connection_id":193214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:27] local.INFO: IMEI packet received {"connection_id":193214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":193214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:57:32] local.INFO: TCP Data received {"connection_id":193214,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:32] local.INFO: Processing buffer {"connection_id":193214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:57:32] local.INFO: IMEI packet received {"connection_id":193214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":193214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:57:33] local.INFO: TCP Data received {"connection_id":193214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:33] local.INFO: Processing buffer {"connection_id":193214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:57:33] local.INFO: Packet analysis {"connection_id":193214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:57:33] local.INFO: Extracted packet for processing {"connection_id":193214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00: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-25 00:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:57: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-25 00:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:57: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-25 00:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":193214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:57:33] local.INFO: GPS data processed {"connection_id":193214,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:57:33] local.INFO: Acknowledgment sent {"connection_id":193214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:57:44] local.INFO: TCP Data received {"connection_id":194500,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e12500012d126d4006de04d0000c00ad2f..."} 
[2026-09-25 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e12500012d126d4006de04d0000c00ad2f..."} 
[2026-09-25 00:57:44] local.INFO: Processing buffer {"connection_id":194500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e12500012d126d4006de04d0000c00ad2f..."} 
[2026-09-25 00:57:44] local.INFO: Packet analysis {"connection_id":194500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:57:44] local.INFO: Extracted packet for processing {"connection_id":194500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756182336,"raw_latitude":115213520,"longitude_deg":75.6182336,"latitude_deg":11.521352,"altitude":12,"angle":173,"satellites":47,"speed":39,"hex_longitude":"2d126d40","hex_latitude":"06de04d0","is_valid_coordinates":true} 
[2026-09-25 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:57:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 00:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277920000,"timestamp_ms":1790277920000,"timestamp_seconds":1790277920,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e12500"} 
[2026-09-25 00:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:57: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-25 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 00:57: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-25 00:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:57: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-25 00:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"129":206,"2":56576,"24":39,"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,129,2,24,16]} 
[2026-09-25 00:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 00:57:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00:57: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-25 00:57:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_129":206,"power_alt":56576,"ignition":39,"odometer":null}} 
[2026-09-25 00:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":194500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:57:44] local.INFO: GPS data processed {"connection_id":194500,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:57:44] local.INFO: Acknowledgment sent {"connection_id":194500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:58:04] local.INFO: TCP Data received {"connection_id":193214,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:04] local.INFO: Processing buffer {"connection_id":193214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:04] local.INFO: Packet analysis {"connection_id":193214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:58:04] local.INFO: Extracted packet for processing {"connection_id":193214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00: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-25 00: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 00:58: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-25 00: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-25 00: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-25 00:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:58: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-25 00:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":193214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:58:04] local.INFO: GPS data processed {"connection_id":193214,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:58:04] local.INFO: Acknowledgment sent {"connection_id":193214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:58:05] local.INFO: TCP Data received {"connection_id":191652,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:58:05] local.INFO: TCP Data received {"connection_id":191652,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:05] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:58:11] local.INFO: TCP Data received {"connection_id":191652,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:11] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:58:11] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:58:12] local.INFO: TCP Data received {"connection_id":191652,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e17708012d12740006ddb9a0000a00a62d..."} 
[2026-09-25 00:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e17708012d12740006ddb9a0000a00a62d..."} 
[2026-09-25 00:58:12] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e17708012d12740006ddb9a0000a00a62d..."} 
[2026-09-25 00:58:12] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:58:12] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756184064,"raw_latitude":115194272,"longitude_deg":75.6184064,"latitude_deg":11.5194272,"altitude":10,"angle":166,"satellites":45,"speed":0,"hex_longitude":"2d127400","hex_latitude":"06ddb9a0","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311147520001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327787863383003136,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277941000,"timestamp_ms":1790277941000,"timestamp_seconds":1790277941,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e17708"} 
[2026-09-25 00: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-25 00: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-25 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 00:58: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-25 00: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-25 00: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-25 00:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311147520001,"66":27821,"129":206,"2":56576,"24":0,"16":3605341577150464,"45":1327787863383003136},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-09-25 00:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311147520001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:58:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00:58: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-25 00:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327787863383003136,"description":"Unknown IO ID 45"} 
[2026-09-25 00:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311147520001,"power":27821,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1327787863383003136}} 
[2026-09-25 00:58:13] 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":893057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:58:13] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:58:13] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:58:27] local.INFO: TCP Data received {"connection_id":194501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:27] local.INFO: Processing buffer {"connection_id":194501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:27] local.INFO: IMEI packet received {"connection_id":194501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":194501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:58:32] local.INFO: TCP Data received {"connection_id":194501,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:32] local.INFO: Processing buffer {"connection_id":194501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:58:32] local.INFO: IMEI packet received {"connection_id":194501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":194501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:58:33] local.INFO: TCP Data received {"connection_id":194501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:33] local.INFO: Processing buffer {"connection_id":194501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4df1990012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:58:33] local.INFO: Packet analysis {"connection_id":194501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00:58:33] local.INFO: Extracted packet for processing {"connection_id":194501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4df"} 
[2026-09-25 00: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-25 00: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-25 00:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311036160001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790277786000,"timestamp_ms":1790277786000,"timestamp_seconds":1790277786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4df1990"} 
[2026-09-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:58: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-25 00:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311036160001,"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-25 00:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311036160001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311036160001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":194501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:58:33] local.INFO: GPS data processed {"connection_id":194501,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:58:33] local.INFO: Acknowledgment sent {"connection_id":194501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:58:44] local.INFO: TCP Data received {"connection_id":191652,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e1adb8012d1295c006dd75c8000c00972c..."} 
[2026-09-25 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e1adb8012d1295c006dd75c8000c00972c..."} 
[2026-09-25 00:58:44] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e1adb8012d1295c006dd75c8000c00972c..."} 
[2026-09-25 00:58:44] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:58:44] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756192704,"raw_latitude":115176904,"longitude_deg":75.6192704,"latitude_deg":11.5176904,"altitude":12,"angle":151,"satellites":44,"speed":43,"hex_longitude":"2d1295c0","hex_latitude":"06dd75c8","is_valid_coordinates":true} 
[2026-09-25 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311152896001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1329687819470872576,"note":"Value kept but may cause issues"} 
[2026-09-25 00:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790277955000,"timestamp_ms":1790277955000,"timestamp_seconds":1790277955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e1adb8"} 
[2026-09-25 00:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:58: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-25 00:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 00:58:44] 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-25 00:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311152896001,"66":27952,"129":206,"2":56576,"24":43,"16":3605341577150464,"45":1329687819470872576},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-09-25 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311152896001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:58:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00: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-25 00:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1329687819470872576,"description":"Unknown IO ID 45"} 
[2026-09-25 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311152896001,"power":27952,"unknown_129":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1329687819470872576}} 
[2026-09-25 00:58:44] 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":893059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:58:44] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:58:44] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:04] local.INFO: TCP Data received {"connection_id":194501,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:04] local.INFO: Processing buffer {"connection_id":194501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:04] local.INFO: Packet analysis {"connection_id":194501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00:59:04] local.INFO: Extracted packet for processing {"connection_id":194501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:59: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-25 00: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-25 00: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-25 00:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59: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-25 00:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 00:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":194501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:59:04] local.INFO: GPS data processed {"connection_id":194501,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:59:04] local.INFO: Acknowledgment sent {"connection_id":194501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:05] local.INFO: TCP Data received {"connection_id":191653,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:05] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:05] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 00:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:59:08] local.INFO: TCP Data received {"connection_id":191653,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:08] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:08] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:59:11] local.INFO: TCP Data received {"connection_id":191653,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:11] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 00:59:11] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 00:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:59:12] local.INFO: TCP Data received {"connection_id":191653,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e1ffc0012d12b9c006dd3330000e009b2d..."} 
[2026-09-25 00:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e1ffc0012d12b9c006dd3330000e009b2d..."} 
[2026-09-25 00:59:12] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e1ffc0012d12b9c006dd3330000e009b2d..."} 
[2026-09-25 00:59:12] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:59:12] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e1"} 
[2026-09-25 00:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756201920,"raw_latitude":115159856,"longitude_deg":75.620192,"latitude_deg":11.5159856,"altitude":14,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2d12b9c0","hex_latitude":"06dd3330","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311156480001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1339187599930411008,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790277976000,"timestamp_ms":1790277976000,"timestamp_seconds":1790277976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e1ffc0"} 
[2026-09-25 00: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-25 00:59: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-25 00: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-25 00: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-25 00: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-25 00: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-25 00:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311156480001,"66":27887,"129":206,"2":56576,"24":0,"16":3605341577150464,"45":1339187599930411008},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-09-25 00:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311156480001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:59:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 00: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-25 00:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1339187599930411008,"description":"Unknown IO ID 45"} 
[2026-09-25 00:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311156480001,"power":27887,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1339187599930411008}} 
[2026-09-25 00:59:12] 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":893061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:59:12] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:59:12] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:15] local.INFO: TCP Data received {"connection_id":194502,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194502,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:15] local.INFO: Processing buffer {"connection_id":194502,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:15] local.INFO: Packet analysis {"connection_id":194502,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 00:59:15] local.INFO: Extracted packet for processing {"connection_id":194502,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 00:59: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-25 00:59:15] 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-25 00:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:15] 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-25 00:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 00:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 00:59:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194502,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 00:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194502,"device_imei":null,"avl_records_count":1} 
[2026-09-25 00:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194502,"device_imei":null,"avl_records_count":1} 
[2026-09-25 00:59:15] 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-25 00:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":194502,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:59:15] local.INFO: GPS data processed {"connection_id":194502,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:59:15] local.INFO: Acknowledgment sent {"connection_id":194502,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:16] local.INFO: TCP Data received {"connection_id":191654,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191654,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:16] local.INFO: Processing buffer {"connection_id":191654,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 00:59:16] local.INFO: Packet analysis {"connection_id":191654,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 00:59:16] local.INFO: Extracted packet for processing {"connection_id":191654,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 00:59: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-25 00:59: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-25 00:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59: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-25 00:59: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-25 00:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 00:59:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191654,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 00:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191654,"device_imei":null,"avl_records_count":1} 
[2026-09-25 00:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191654,"device_imei":null,"avl_records_count":1} 
[2026-09-25 00:59: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-25 00:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":191654,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 00:59:16] local.INFO: GPS data processed {"connection_id":191654,"processed":0,"errors":0,"total":1} 
[2026-09-25 00:59:16] local.INFO: Acknowledgment sent {"connection_id":191654,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:32] local.INFO: TCP Data received {"connection_id":194503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:32] local.INFO: Processing buffer {"connection_id":194503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:32] local.INFO: IMEI packet received {"connection_id":194503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 00:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":194503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 00:59:37] local.INFO: TCP Data received {"connection_id":194503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:37] local.INFO: Processing buffer {"connection_id":194503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 00:59:37] local.INFO: IMEI packet received {"connection_id":194503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 00:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":194503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 00:59:39] local.INFO: TCP Data received {"connection_id":194503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:39] local.INFO: Processing buffer {"connection_id":194503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:39] local.INFO: Packet analysis {"connection_id":194503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00:59:39] local.INFO: Extracted packet for processing {"connection_id":194503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00:59: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-25 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 00:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59: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-25 00:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 00:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 00:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 00:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:59: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-25 00:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 00:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 00:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59: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-25 00:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 00:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00:59: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-25 00:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":194503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:59:39] local.INFO: GPS data processed {"connection_id":194503,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:59:39] local.INFO: Acknowledgment sent {"connection_id":194503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:43] local.INFO: TCP Data received {"connection_id":194503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:43] local.INFO: Processing buffer {"connection_id":194503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 00:59:43] local.INFO: Packet analysis {"connection_id":194503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00:59:43] local.INFO: Extracted packet for processing {"connection_id":194503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 00: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-25 00:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 00: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-25 00: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-25 00: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 00:59: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-25 00: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-25 00: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-25 00:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 00:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 00:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 00:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 00: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-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 00:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 00:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":194503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:59:43] local.INFO: GPS data processed {"connection_id":194503,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:59:43] local.INFO: Acknowledgment sent {"connection_id":194503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 00:59:43] local.INFO: TCP Data received {"connection_id":191653,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e251c8012d12d58006dcebc8000d009d30..."} 
[2026-09-25 00:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e251c8012d12d58006dcebc8000d009d30..."} 
[2026-09-25 00:59:43] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e251c8012d12d58006dcebc8000d009d30..."} 
[2026-09-25 00:59:43] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e2"} 
[2026-09-25 00:59:43] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e2"} 
[2026-09-25 00:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756209024,"raw_latitude":115141576,"longitude_deg":75.6209024,"latitude_deg":11.5141576,"altitude":13,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d12d580","hex_latitude":"06dcebc8","is_valid_coordinates":true} 
[2026-09-25 00: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-25 00:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311161856001,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1349320699087630336,"note":"Value kept but may cause issues"} 
[2026-09-25 00:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 00:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790277997000,"timestamp_ms":1790277997000,"timestamp_seconds":1790277997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e251c8"} 
[2026-09-25 00: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-25 00:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 00:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 00:59:43] 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-25 00: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-25 00: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-25 00:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 00:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 00:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 00: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-25 00:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311161856001,"66":27984,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1349320699087630336},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 00:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 00:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311161856001,"description":"Unknown IO ID 0"} 
[2026-09-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 00: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-25 00:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1349320699087630336,"description":"Unknown IO ID 45"} 
[2026-09-25 00:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311161856001,"power":27984,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1349320699087630336}} 
[2026-09-25 00:59:44] 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":893064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 00:59:44] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-25 00:59:44] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:00:07] local.INFO: TCP Data received {"connection_id":191827,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:07] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:07] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:00:10] local.INFO: TCP Data received {"connection_id":191827,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:10] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:10] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:00:16] local.INFO: TCP Data received {"connection_id":191827,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:16] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:00:16] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:00:17] local.INFO: TCP Data received {"connection_id":191827,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e334580100000000000000000000000000..."} 
[2026-09-25 01:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e334580100000000000000000000000000..."} 
[2026-09-25 01:00:17] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e334580100000000000000000000000000..."} 
[2026-09-25 01:00:17] local.INFO: Packet analysis {"connection_id":191827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:00:17] local.INFO: Extracted packet for processing {"connection_id":191827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:00: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-25 01: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-25 01:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311167232001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1357131629686671360,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790278055000,"timestamp_ms":1790278055000,"timestamp_seconds":1790278055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e33458"} 
[2026-09-25 01: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-25 01: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-25 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 01:00:17] 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-25 01: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-25 01: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-25 01:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:00: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-25 01:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":191827,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:00:17] local.INFO: GPS data processed {"connection_id":191827,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:00:17] local.INFO: Acknowledgment sent {"connection_id":191827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:00:21] local.INFO: TCP Data received {"connection_id":191827,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e2c310012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e2c310012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:00:21] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e2c310012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:00:21] local.INFO: Packet analysis {"connection_id":191827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e2"} 
[2026-09-25 01:00:21] local.INFO: Extracted packet for processing {"connection_id":191827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e2"} 
[2026-09-25 01:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756229248,"raw_latitude":115109056,"longitude_deg":75.6229248,"latitude_deg":11.5109056,"altitude":8,"angle":149,"satellites":47,"speed":29,"hex_longitude":"2d132480","hex_latitude":"06dc6cc0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,126,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790278026000,"timestamp_ms":1790278026000,"timestamp_seconds":1790278026,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e2c310"} 
[2026-09-25 01: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-25 01:00: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 01:00:21] 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-25 01: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-25 01: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-25 01:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:00: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-25 01:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27919,"126":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,126,2,24,16]} 
[2026-09-25 01:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:00:21] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01:00: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-25 01:00:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27919,"unknown_126":206,"power_alt":56576,"ignition":29,"odometer":null}} 
[2026-09-25 01:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":191827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:00:22] local.INFO: GPS data processed {"connection_id":191827,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:00:22] local.INFO: Acknowledgment sent {"connection_id":191827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:00:27] local.INFO: TCP Data received {"connection_id":193215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:27] local.INFO: Processing buffer {"connection_id":193215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:27] local.INFO: IMEI packet received {"connection_id":193215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":193215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:00:32] local.INFO: TCP Data received {"connection_id":193215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:32] local.INFO: Processing buffer {"connection_id":193215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:00:32] local.INFO: IMEI packet received {"connection_id":193215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":193215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:00:33] local.INFO: TCP Data received {"connection_id":193215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:00:33] local.INFO: Processing buffer {"connection_id":193215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:00:33] local.INFO: Packet analysis {"connection_id":193215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:00:33] local.INFO: Extracted packet for processing {"connection_id":193215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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-25 01: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-25 01:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:00: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-25 01: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-25 01: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-25 01:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":193215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:00:33] local.INFO: GPS data processed {"connection_id":193215,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:00:33] local.INFO: Acknowledgment sent {"connection_id":193215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:01:06] local.INFO: TCP Data received {"connection_id":194504,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:06] local.INFO: Processing buffer {"connection_id":194504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:06] local.INFO: IMEI packet received {"connection_id":194504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":194504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:01:06] local.INFO: TCP Data received {"connection_id":193215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:06] local.INFO: Processing buffer {"connection_id":193215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:06] local.INFO: Packet analysis {"connection_id":193215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:06] local.INFO: Extracted packet for processing {"connection_id":193215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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-25 01:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:01: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-25 01:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:01: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-25 01:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":193215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:01:06] local.INFO: GPS data processed {"connection_id":193215,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:01:06] local.INFO: Acknowledgment sent {"connection_id":193215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:01:10] local.INFO: TCP Data received {"connection_id":194504,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:10] local.INFO: Processing buffer {"connection_id":194504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:01:10] local.INFO: IMEI packet received {"connection_id":194504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":194504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:01:11] local.INFO: TCP Data received {"connection_id":194504,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e31130012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e31130012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:11] local.INFO: Processing buffer {"connection_id":194504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e31130012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:11] local.INFO: Packet analysis {"connection_id":194504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:11] local.INFO: Extracted packet for processing {"connection_id":194504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756229248,"raw_latitude":115109056,"longitude_deg":75.6229248,"latitude_deg":11.5109056,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d132480","hex_latitude":"06dc6cc0","is_valid_coordinates":true} 
[2026-09-25 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311174656001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379368152838488064,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790278046000,"timestamp_ms":1790278046000,"timestamp_seconds":1790278046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e31130"} 
[2026-09-25 01:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-25 01:01:11] 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-25 01:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311174656001,"66":27876,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1379368152838488064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311174656001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:01:11] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01:01: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-25 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379368152838488064,"description":"Unknown IO ID 45"} 
[2026-09-25 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311174656001,"power":27876,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1379368152838488064}} 
[2026-09-25 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":194504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:01:11] local.INFO: GPS data processed {"connection_id":194504,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:01:11] local.INFO: Acknowledgment sent {"connection_id":194504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:01:27] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:27] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:27] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:01:32] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:32] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:01:32] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:01:33] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:33] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:01:33] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:33] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:01: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-25 01: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-25 01: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-25 01:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:01:33] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:01:33] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:01:43] local.INFO: TCP Data received {"connection_id":194504,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e36338012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e36338012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:43] local.INFO: Processing buffer {"connection_id":194504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e36338012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:01:43] local.INFO: Packet analysis {"connection_id":194504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:43] local.INFO: Extracted packet for processing {"connection_id":194504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:01:43] local.INFO: GPS Element Parsed {"raw_longitude":756229248,"raw_latitude":115109056,"longitude_deg":75.6229248,"latitude_deg":11.5109056,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d132480","hex_latitude":"06dc6cc0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311179776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379368152838488064,"note":"Value kept but may cause issues"} 
[2026-09-25 01:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790278067000,"timestamp_ms":1790278067000,"timestamp_seconds":1790278067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e36338"} 
[2026-09-25 01: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-25 01:01: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-25 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:01: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-25 01: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-25 01: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-25 01:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:01: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-25 01:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311179776001,"66":28017,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1379368152838488064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311179776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:01:43] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01:01: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-25 01:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379368152838488064,"description":"Unknown IO ID 45"} 
[2026-09-25 01:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311179776001,"power":28017,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1379368152838488064}} 
[2026-09-25 01:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":194504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:01:43] local.INFO: GPS data processed {"connection_id":194504,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:01:43] local.INFO: Acknowledgment sent {"connection_id":194504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:02:05] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:05] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:05] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:02:05] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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-25 01: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-25 01:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:02:05] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:02:05] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:02:06] local.INFO: TCP Data received {"connection_id":191829,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:06] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:06] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:02:10] local.INFO: TCP Data received {"connection_id":191829,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:10] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:02:10] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:02:12] local.INFO: TCP Data received {"connection_id":191829,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b540012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b540012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:02:12] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b540012d13248006dc6cc0000800952f..."} 
[2026-09-25 01:02:12] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:02:12] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756229248,"raw_latitude":115109056,"longitude_deg":75.6229248,"latitude_deg":11.5109056,"altitude":8,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d132480","hex_latitude":"06dc6cc0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311185152001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379368152838488064,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790278088000,"timestamp_ms":1790278088000,"timestamp_seconds":1790278088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b540"} 
[2026-09-25 01: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-25 01: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-25 01: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":113,"data_length":795,"current_offset":136} 
[2026-09-25 01:02:12] 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-25 01: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-25 01: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-25 01:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311185152001,"66":27908,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1379368152838488064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311185152001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:02:12] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01: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-25 01:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379368152838488064,"description":"Unknown IO ID 45"} 
[2026-09-25 01:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311185152001,"power":27908,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1379368152838488064}} 
[2026-09-25 01:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:02:12] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:02:12] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:02:27] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:27] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:27] local.INFO: IMEI packet received {"connection_id":191655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":191655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:02:32] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:32] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:02:32] local.INFO: IMEI packet received {"connection_id":191655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":191655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:02:33] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:33] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:02:33] local.INFO: Packet analysis {"connection_id":191655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:02:33] local.INFO: Extracted packet for processing {"connection_id":191655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01:02: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:02: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-25 01: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-25 01: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-25 01:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:02: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-25 01:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":191655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:02:33] local.INFO: GPS data processed {"connection_id":191655,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:02:33] local.INFO: Acknowledgment sent {"connection_id":191655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:02:44] local.INFO: TCP Data received {"connection_id":191829,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e40748012d13368006dc4c000009008d30..."} 
[2026-09-25 01:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e40748012d13368006dc4c000009008d30..."} 
[2026-09-25 01:02:44] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e40748012d13368006dc4c000009008d30..."} 
[2026-09-25 01:02:44] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e4"} 
[2026-09-25 01:02:44] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e4"} 
[2026-09-25 01:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756233856,"raw_latitude":115100672,"longitude_deg":75.6233856,"latitude_deg":11.5100672,"altitude":9,"angle":141,"satellites":48,"speed":0,"hex_longitude":"2d133680","hex_latitude":"06dc4c00","is_valid_coordinates":true} 
[2026-09-25 01:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190528001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379368152838488064,"note":"Value kept but may cause issues"} 
[2026-09-25 01:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790278109000,"timestamp_ms":1790278109000,"timestamp_seconds":1790278109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e40748"} 
[2026-09-25 01:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:02: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-25 01:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:02: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-25 01:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:02: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-25 01:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190528001,"66":27876,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1379368152838488064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190528001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:02:44] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01:02: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-25 01:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379368152838488064,"description":"Unknown IO ID 45"} 
[2026-09-25 01:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190528001,"power":27876,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1379368152838488064}} 
[2026-09-25 01:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:02:44] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:02:44] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:03:04] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:04] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:04] local.INFO: Packet analysis {"connection_id":191655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:03:04] local.INFO: Extracted packet for processing {"connection_id":191655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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-25 01: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-25 01:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:03: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-25 01: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-25 01: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-25 01:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:03: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-25 01:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":191655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:03:04] local.INFO: GPS data processed {"connection_id":191655,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:03:04] local.INFO: Acknowledgment sent {"connection_id":191655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:03:06] local.INFO: TCP Data received {"connection_id":193216,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:06] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:06] local.INFO: IMEI packet received {"connection_id":193216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":193216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:03:11] local.INFO: TCP Data received {"connection_id":193216,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:11] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:03:11] local.INFO: IMEI packet received {"connection_id":193216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":193216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:03:12] local.INFO: TCP Data received {"connection_id":193216,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e45950012d13368006dc4c000009008d30..."} 
[2026-09-25 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e45950012d13368006dc4c000009008d30..."} 
[2026-09-25 01:03:12] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e45950012d13368006dc4c000009008d30..."} 
[2026-09-25 01:03:12] local.INFO: Packet analysis {"connection_id":193216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e4"} 
[2026-09-25 01:03:12] local.INFO: Extracted packet for processing {"connection_id":193216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e4"} 
[2026-09-25 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756233856,"raw_latitude":115100672,"longitude_deg":75.6233856,"latitude_deg":11.5100672,"altitude":9,"angle":141,"satellites":48,"speed":0,"hex_longitude":"2d133680","hex_latitude":"06dc4c00","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311195904001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1384434702417133568,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790278130000,"timestamp_ms":1790278130000,"timestamp_seconds":1790278130,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e45950"} 
[2026-09-25 01: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-25 01:03: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-25 01: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":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:03: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-25 01: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-25 01: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-25 01:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311195904001,"66":27908,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1384434702417133568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311195904001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:03:12] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01: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-25 01:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1384434702417133568,"description":"Unknown IO ID 45"} 
[2026-09-25 01:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311195904001,"power":27908,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1384434702417133568}} 
[2026-09-25 01:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":193216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:03:12] local.INFO: GPS data processed {"connection_id":193216,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:03:12] local.INFO: Acknowledgment sent {"connection_id":193216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:03:27] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:27] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:27] local.INFO: IMEI packet received {"connection_id":193217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":193217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:03:32] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:32] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:03:32] local.INFO: IMEI packet received {"connection_id":193217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":193217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:03:33] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:33] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e3b158012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:03:33] local.INFO: Packet analysis {"connection_id":193217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01:03:33] local.INFO: Extracted packet for processing {"connection_id":193217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e3"} 
[2026-09-25 01: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-25 01: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-25 01:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311113216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278087000,"timestamp_ms":1790278087000,"timestamp_seconds":1790278087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e3b158"} 
[2026-09-25 01: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-25 01:03: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:03: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-25 01: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-25 01: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-25 01:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:03: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-25 01:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311113216001,"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-25 01:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311113216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:03:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311113216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":193217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:03:33] local.INFO: GPS data processed {"connection_id":193217,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:03:33] local.INFO: Acknowledgment sent {"connection_id":193217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:03:44] local.INFO: TCP Data received {"connection_id":193216,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e78da0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e78da0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:03:44] local.INFO: Processing buffer {"connection_id":193216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e78da0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:03:44] local.INFO: Packet analysis {"connection_id":193216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e7"} 
[2026-09-25 01:03:44] local.INFO: Extracted packet for processing {"connection_id":193216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e7"} 
[2026-09-25 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756241920,"raw_latitude":115084640,"longitude_deg":75.624192,"latitude_deg":11.508464,"altitude":11,"angle":157,"satellites":49,"speed":0,"hex_longitude":"2d135600","hex_latitude":"06dc0d60","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311249920001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1393301164179415040,"note":"Value kept but may cause issues"} 
[2026-09-25 01:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790278340000,"timestamp_ms":1790278340000,"timestamp_seconds":1790278340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e78da0"} 
[2026-09-25 01: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-25 01: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-25 01: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 01:03:44] 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-25 01: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-25 01: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-25 01:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311249920001,"66":27908,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1393301164179415040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311249920001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:03:44] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01: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-25 01:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1393301164179415040,"description":"Unknown IO ID 45"} 
[2026-09-25 01:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311249920001,"power":27908,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1393301164179415040}} 
[2026-09-25 01:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":193216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:03:44] local.INFO: GPS data processed {"connection_id":193216,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:03:44] local.INFO: Acknowledgment sent {"connection_id":193216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:04:04] local.INFO: TCP Data received {"connection_id":193217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:04] local.INFO: Processing buffer {"connection_id":193217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:04] local.INFO: Packet analysis {"connection_id":193217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:04:04] local.INFO: Extracted packet for processing {"connection_id":193217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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-25 01: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-25 01:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:04: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-25 01:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":193217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:04:04] local.INFO: GPS data processed {"connection_id":193217,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:04:04] local.INFO: Acknowledgment sent {"connection_id":193217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:04:05] local.INFO: TCP Data received {"connection_id":194505,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:05] local.INFO: Processing buffer {"connection_id":194505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:05] local.INFO: IMEI packet received {"connection_id":194505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":194505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:04:11] local.INFO: TCP Data received {"connection_id":194505,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:11] local.INFO: Processing buffer {"connection_id":194505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:04:11] local.INFO: IMEI packet received {"connection_id":194505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":194505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:04:12] local.INFO: TCP Data received {"connection_id":194505,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e7dfa8012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e7dfa8012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:12] local.INFO: Processing buffer {"connection_id":194505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e7dfa8012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:12] local.INFO: Packet analysis {"connection_id":194505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e7"} 
[2026-09-25 01:04:12] local.INFO: Extracted packet for processing {"connection_id":194505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e7"} 
[2026-09-25 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756241920,"raw_latitude":115084640,"longitude_deg":75.624192,"latitude_deg":11.508464,"altitude":11,"angle":157,"satellites":49,"speed":0,"hex_longitude":"2d135600","hex_latitude":"06dc0d60","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311255040001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1393301164179415040,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790278361000,"timestamp_ms":1790278361000,"timestamp_seconds":1790278361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e7dfa8"} 
[2026-09-25 01: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-25 01:04: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-25 01: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":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:04: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-25 01: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-25 01: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-25 01:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311255040001,"66":27876,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1393301164179415040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311255040001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:04:12] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01: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-25 01:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1393301164179415040,"description":"Unknown IO ID 45"} 
[2026-09-25 01:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311255040001,"power":27876,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1393301164179415040}} 
[2026-09-25 01:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":194505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:04:12] local.INFO: GPS data processed {"connection_id":194505,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:04:12] local.INFO: Acknowledgment sent {"connection_id":194505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:04:27] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:27] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:27] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:04:32] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:32] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:04:32] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:04:33] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:33] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:04:33] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:04:33] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01: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-25 01:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:04: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-25 01:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:04:33] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:04:33] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:04:44] local.INFO: TCP Data received {"connection_id":194505,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e831b0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e831b0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:44] local.INFO: Processing buffer {"connection_id":194505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e831b0012d13560006dc0d60000b009d31..."} 
[2026-09-25 01:04:44] local.INFO: Packet analysis {"connection_id":194505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:04:44] local.INFO: Extracted packet for processing {"connection_id":194505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756241920,"raw_latitude":115084640,"longitude_deg":75.624192,"latitude_deg":11.508464,"altitude":11,"angle":157,"satellites":49,"speed":0,"hex_longitude":"2d135600","hex_latitude":"06dc0d60","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311260416001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1393301164179415040,"note":"Value kept but may cause issues"} 
[2026-09-25 01:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790278382000,"timestamp_ms":1790278382000,"timestamp_seconds":1790278382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e831b0"} 
[2026-09-25 01: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-25 01:04: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-25 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:04: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-25 01: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-25 01: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-25 01:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:04: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-25 01:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311260416001,"66":27930,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1393301164179415040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311260416001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:04:44] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01: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-25 01:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1393301164179415040,"description":"Unknown IO ID 45"} 
[2026-09-25 01:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311260416001,"power":27930,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1393301164179415040}} 
[2026-09-25 01:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":194505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:04:45] local.INFO: GPS data processed {"connection_id":194505,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:04:45] local.INFO: Acknowledgment sent {"connection_id":194505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:05:04] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:04] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:04] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:04] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:05: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-25 01:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:05:04] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:05:04] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:05:10] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:10] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:10] local.INFO: IMEI packet received {"connection_id":193218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":193218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:05:11] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:11] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:11] local.INFO: IMEI packet received {"connection_id":193218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":193218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:05:14] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:14] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:05:14] local.INFO: IMEI packet received {"connection_id":193218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":193218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:05:16] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e883b8012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e883b8012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:16] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e883b8012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:16] local.INFO: Packet analysis {"connection_id":193218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:16] local.INFO: Extracted packet for processing {"connection_id":193218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756246336,"raw_latitude":115073216,"longitude_deg":75.6246336,"latitude_deg":11.5073216,"altitude":10,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d136740","hex_latitude":"06dbe0c0","is_valid_coordinates":true} 
[2026-09-25 01:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311265792001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1393301164179415040,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790278403000,"timestamp_ms":1790278403000,"timestamp_seconds":1790278403,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e883b8"} 
[2026-09-25 01:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:05: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-25 01:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 01:05: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-25 01:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05: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-25 01:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311265792001,"66":27876,"126":206,"2":56576,"24":0,"16":3605341577150464,"45":1393301164179415040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-09-25 01:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311265792001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:05:16] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-09-25 01:05: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-25 01:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1393301164179415040,"description":"Unknown IO ID 45"} 
[2026-09-25 01:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311265792001,"power":27876,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1393301164179415040}} 
[2026-09-25 01:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":193218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:05:16] local.INFO: GPS data processed {"connection_id":193218,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:05:16] local.INFO: Acknowledgment sent {"connection_id":193218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:05:17] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e8d5c0012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e8d5c0012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:17] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e8d5c0012d13674006dbe0c0000a00a12f..."} 
[2026-09-25 01:05:17] local.INFO: Packet analysis {"connection_id":193218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:17] local.INFO: Extracted packet for processing {"connection_id":193218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756246336,"raw_latitude":115073216,"longitude_deg":75.6246336,"latitude_deg":11.5073216,"altitude":10,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d136740","hex_latitude":"06dbe0c0","is_valid_coordinates":true} 
[2026-09-25 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311271168001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1398156607524749312,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790278424000,"timestamp_ms":1790278424000,"timestamp_seconds":1790278424,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e8d5c0"} 
[2026-09-25 01:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:05: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-25 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:05:17] 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-25 01:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05: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-25 01:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311271168001,"66":27952,"127":206,"2":56576,"24":0,"16":3605341577150464,"45":1398156607524749312},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311271168001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:05:17] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:05: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-25 01:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1398156607524749312,"description":"Unknown IO ID 45"} 
[2026-09-25 01:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311271168001,"power":27952,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1398156607524749312}} 
[2026-09-25 01:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":193218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:05:17] local.INFO: GPS data processed {"connection_id":193218,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:05:17] local.INFO: Acknowledgment sent {"connection_id":193218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:05:22] local.INFO: TCP Data received {"connection_id":193218,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e9bc380100000000000000000000000000..."} 
[2026-09-25 01:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e9bc380100000000000000000000000000..."} 
[2026-09-25 01:05:22] local.INFO: Processing buffer {"connection_id":193218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e9bc380100000000000000000000000000..."} 
[2026-09-25 01:05:22] local.INFO: Packet analysis {"connection_id":193218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:05:22] local.INFO: Extracted packet for processing {"connection_id":193218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:05: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-25 01: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-25 01:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311276544001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1398156607524749312,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790278483000,"timestamp_ms":1790278483000,"timestamp_seconds":1790278483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e9bc38"} 
[2026-09-25 01: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-25 01:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:05:22] 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-25 01: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-25 01: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-25 01:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:05: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-25 01:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":193218,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:05:22] local.INFO: GPS data processed {"connection_id":193218,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:05:22] local.INFO: Acknowledgment sent {"connection_id":193218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:05:27] local.INFO: TCP Data received {"connection_id":191831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:27] local.INFO: Processing buffer {"connection_id":191831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:27] local.INFO: IMEI packet received {"connection_id":191831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":191831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:05:32] local.INFO: TCP Data received {"connection_id":191831,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:32] local.INFO: Processing buffer {"connection_id":191831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:05:32] local.INFO: IMEI packet received {"connection_id":191831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":191831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:05:33] local.INFO: TCP Data received {"connection_id":191831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:33] local.INFO: Processing buffer {"connection_id":191831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:05:33] local.INFO: Packet analysis {"connection_id":191831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:05:33] local.INFO: Extracted packet for processing {"connection_id":191831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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-25 01: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-25 01:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:05: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-25 01:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":191831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:05:33] local.INFO: GPS data processed {"connection_id":191831,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:05:33] local.INFO: Acknowledgment sent {"connection_id":191831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:06:04] local.INFO: TCP Data received {"connection_id":191831,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:04] local.INFO: Processing buffer {"connection_id":191831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:04] local.INFO: Packet analysis {"connection_id":191831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:06:04] local.INFO: Extracted packet for processing {"connection_id":191831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":191831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:06:04] local.INFO: GPS data processed {"connection_id":191831,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:06:04] local.INFO: Acknowledgment sent {"connection_id":191831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:06:06] local.INFO: TCP Data received {"connection_id":194506,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:06] local.INFO: Processing buffer {"connection_id":194506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:06] local.INFO: IMEI packet received {"connection_id":194506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":194506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:06:11] local.INFO: TCP Data received {"connection_id":194506,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:11] local.INFO: Processing buffer {"connection_id":194506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:06:11] local.INFO: IMEI packet received {"connection_id":194506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":194506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:06:12] local.INFO: TCP Data received {"connection_id":194506,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e93f38012d13754006dbb568000900a42f..."} 
[2026-09-25 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e93f38012d13754006dbb568000900a42f..."} 
[2026-09-25 01:06:12] local.INFO: Processing buffer {"connection_id":194506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e93f38012d13754006dbb568000900a42f..."} 
[2026-09-25 01:06:12] local.INFO: Packet analysis {"connection_id":194506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:06:12] local.INFO: Extracted packet for processing {"connection_id":194506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756249920,"raw_latitude":115062120,"longitude_deg":75.624992,"latitude_deg":11.506212,"altitude":9,"angle":164,"satellites":47,"speed":15,"hex_longitude":"2d137540","hex_latitude":"06dbb568","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790278451000,"timestamp_ms":1790278451000,"timestamp_seconds":1790278451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e93f38"} 
[2026-09-25 01: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-25 01:06: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-25 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:06:12] 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-25 01: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-25 01: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-25 01:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:06: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-25 01:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"127":206,"2":56576,"24":15,"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,127,2,24,16]} 
[2026-09-25 01:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:06:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:06: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-25 01:06:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_127":206,"power_alt":56576,"ignition":15,"odometer":null}} 
[2026-09-25 01:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":194506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:06:12] local.INFO: GPS data processed {"connection_id":194506,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:06:12] local.INFO: Acknowledgment sent {"connection_id":194506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:06:16] local.INFO: TCP Data received {"connection_id":194506,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ea21c80100000000000000000000000000..."} 
[2026-09-25 01:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ea21c80100000000000000000000000000..."} 
[2026-09-25 01:06:16] local.INFO: Processing buffer {"connection_id":194506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ea21c80100000000000000000000000000..."} 
[2026-09-25 01:06:16] local.INFO: Packet analysis {"connection_id":194506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:06:16] local.INFO: Extracted packet for processing {"connection_id":194506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01: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-25 01: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-25 01:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311283456001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1402097257195857920,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790278509000,"timestamp_ms":1790278509000,"timestamp_seconds":1790278509,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ea21c8"} 
[2026-09-25 01: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-25 01: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-25 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":194506,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:06:16] local.INFO: GPS data processed {"connection_id":194506,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:06:16] local.INFO: Acknowledgment sent {"connection_id":194506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:06:27] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:27] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:27] local.INFO: IMEI packet received {"connection_id":193219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":193219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:06:32] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:32] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:06:32] local.INFO: IMEI packet received {"connection_id":193219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":193219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:06:33] local.INFO: TCP Data received {"connection_id":193219,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:33] local.INFO: Processing buffer {"connection_id":193219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:06:33] local.INFO: Packet analysis {"connection_id":193219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:06:33] local.INFO: Extracted packet for processing {"connection_id":193219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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-25 01: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-25 01:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:06: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-25 01:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:06:33] local.INFO: GPS data processed {"connection_id":193219,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:06:33] local.INFO: Acknowledgment sent {"connection_id":193219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:06:48] local.INFO: TCP Data received {"connection_id":194506,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e9a0e0012d13880006db7fb80008009e30..."} 
[2026-09-25 01:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e9a0e0012d13880006db7fb80008009e30..."} 
[2026-09-25 01:06:49] local.INFO: Processing buffer {"connection_id":194506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e9a0e0012d13880006db7fb80008009e30..."} 
[2026-09-25 01:06:49] local.INFO: Packet analysis {"connection_id":194506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:06:49] local.INFO: Extracted packet for processing {"connection_id":194506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e9"} 
[2026-09-25 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756254720,"raw_latitude":115048376,"longitude_deg":75.625472,"latitude_deg":11.5048376,"altitude":8,"angle":158,"satellites":48,"speed":24,"hex_longitude":"2d138800","hex_latitude":"06db7fb8","is_valid_coordinates":true} 
[2026-09-25 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:06:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790278476000,"timestamp_ms":1790278476000,"timestamp_seconds":1790278476,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e9a0e0"} 
[2026-09-25 01:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:06: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-25 01:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:06: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-25 01:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"127":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,127,2,24,16]} 
[2026-09-25 01:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:06:49] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:06: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-25 01:06:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_127":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-09-25 01:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":194506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:06:49] local.INFO: GPS data processed {"connection_id":194506,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:06:49] local.INFO: Acknowledgment sent {"connection_id":194506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:07:06] local.INFO: TCP Data received {"connection_id":191656,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:06] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:06] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:07:11] local.INFO: TCP Data received {"connection_id":191656,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:11] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:07:11] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:07:13] local.INFO: TCP Data received {"connection_id":191656,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ea83700100000000000000000000000000..."} 
[2026-09-25 01:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ea83700100000000000000000000000000..."} 
[2026-09-25 01:07:13] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ea83700100000000000000000000000000..."} 
[2026-09-25 01:07:13] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:07:13] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:07: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-25 01: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-25 01:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311289856001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407374913005664256,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790278534000,"timestamp_ms":1790278534000,"timestamp_seconds":1790278534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ea8370"} 
[2026-09-25 01: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-25 01:07: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:07: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-25 01: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-25 01: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-25 01:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:07: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-25 01:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":191656,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:07:13] local.INFO: GPS data processed {"connection_id":191656,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:07:13] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:07:42] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:42] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:42] local.INFO: IMEI packet received {"connection_id":191832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":191832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:07:46] local.INFO: TCP Data received {"connection_id":191656,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ea0288012d139dc006db4b580008009d30..."} 
[2026-09-25 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ea0288012d139dc006db4b580008009d30..."} 
[2026-09-25 01:07:46] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ea0288012d139dc006db4b580008009d30..."} 
[2026-09-25 01:07:46] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:07:46] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756260288,"raw_latitude":115034968,"longitude_deg":75.6260288,"latitude_deg":11.5034968,"altitude":8,"angle":157,"satellites":48,"speed":26,"hex_longitude":"2d139dc0","hex_latitude":"06db4b58","is_valid_coordinates":true} 
[2026-09-25 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-25 01:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,127,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790278501000,"timestamp_ms":1790278501000,"timestamp_seconds":1790278501,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ea0288"} 
[2026-09-25 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-25 01:07: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-25 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:07: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-25 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-25 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-25 01:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:07: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-25 01:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"127":206,"2":56576,"24":26,"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,127,2,24,16]} 
[2026-09-25 01:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:07:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:07: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-25 01:07:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_127":206,"power_alt":56576,"ignition":26,"odometer":null}} 
[2026-09-25 01:07:46] 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":893091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:07:46] local.INFO: GPS data processed {"connection_id":191656,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:07:46] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:07:47] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:47] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:07:47] local.INFO: IMEI packet received {"connection_id":191832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":191832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:07:48] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:07:48] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:07:48] local.INFO: Packet analysis {"connection_id":191832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:07:48] local.INFO: Extracted packet for processing {"connection_id":191832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:07:48] 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-25 01:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 01:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":191832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:07:48] local.INFO: GPS data processed {"connection_id":191832,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:07:48] local.INFO: Acknowledgment sent {"connection_id":191832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:08:05] local.INFO: TCP Data received {"connection_id":193220,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:05] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:05] local.INFO: IMEI packet received {"connection_id":193220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":193220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:08:11] local.INFO: TCP Data received {"connection_id":193220,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:11] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:08:11] local.INFO: IMEI packet received {"connection_id":193220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":193220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:08:17] local.INFO: TCP Data received {"connection_id":193220,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:17] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:17] local.INFO: Packet analysis {"connection_id":193220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:08:17] local.INFO: Extracted packet for processing {"connection_id":193220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756264704,"raw_latitude":115017824,"longitude_deg":75.6264704,"latitude_deg":11.5017824,"altitude":9,"angle":175,"satellites":46,"speed":38,"hex_longitude":"2d13af00","hex_latitude":"06db0860","is_valid_coordinates":true} 
[2026-09-25 01:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311296256001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413496993745688576,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790278522000,"timestamp_ms":1790278522000,"timestamp_seconds":1790278522,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ea5490"} 
[2026-09-25 01:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:08: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-25 01:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:08: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-25 01:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:08: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-25 01:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311296256001,"66":27887,"127":206,"2":56576,"24":38,"16":3605341577150464,"45":1413496993745688576},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311296256001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:08:17] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:08: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-25 01:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413496993745688576,"description":"Unknown IO ID 45"} 
[2026-09-25 01:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311296256001,"power":27887,"unknown_127":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1413496993745688576}} 
[2026-09-25 01:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":193220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:08:17] local.INFO: GPS data processed {"connection_id":193220,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:08:17] local.INFO: Acknowledgment sent {"connection_id":193220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:08:32] local.INFO: TCP Data received {"connection_id":194507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:32] local.INFO: Processing buffer {"connection_id":194507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:32] local.INFO: IMEI packet received {"connection_id":194507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":194507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:08:37] local.INFO: TCP Data received {"connection_id":194507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:37] local.INFO: Processing buffer {"connection_id":194507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:08:37] local.INFO: IMEI packet received {"connection_id":194507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":194507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:08:39] local.INFO: TCP Data received {"connection_id":194507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:39] local.INFO: Processing buffer {"connection_id":194507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:39] local.INFO: Packet analysis {"connection_id":194507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:08:39] local.INFO: Extracted packet for processing {"connection_id":194507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:08: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-25 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":194507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:08:39] local.INFO: GPS data processed {"connection_id":194507,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:08:39] local.INFO: Acknowledgment sent {"connection_id":194507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:08:42] local.INFO: TCP Data received {"connection_id":194507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:42] local.INFO: Processing buffer {"connection_id":194507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4e84920012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:08:42] local.INFO: Packet analysis {"connection_id":194507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:08:42] local.INFO: Extracted packet for processing {"connection_id":194507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4e8"} 
[2026-09-25 01:08: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311190272001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790278388000,"timestamp_ms":1790278388000,"timestamp_seconds":1790278388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4e84920"} 
[2026-09-25 01:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311190272001,"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-25 01:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311190272001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:08: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-25 01:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311190272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":194507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:08:42] local.INFO: GPS data processed {"connection_id":194507,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:08:42] local.INFO: Acknowledgment sent {"connection_id":194507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:08:54] local.INFO: TCP Data received {"connection_id":193220,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:54] local.INFO: Processing buffer {"connection_id":193220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ea5490012d13af0006db0860000900af2e..."} 
[2026-09-25 01:08:54] local.INFO: Packet analysis {"connection_id":193220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:08:54] local.INFO: Extracted packet for processing {"connection_id":193220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756264704,"raw_latitude":115017824,"longitude_deg":75.6264704,"latitude_deg":11.5017824,"altitude":9,"angle":175,"satellites":46,"speed":38,"hex_longitude":"2d13af00","hex_latitude":"06db0860","is_valid_coordinates":true} 
[2026-09-25 01:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311301632001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418352437089558528,"note":"Value kept but may cause issues"} 
[2026-09-25 01:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790278522000,"timestamp_ms":1790278522000,"timestamp_seconds":1790278522,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ea5490"} 
[2026-09-25 01:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:08: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-25 01:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:08:54] 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-25 01:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311301632001,"66":27887,"127":206,"2":56576,"24":38,"16":3605341577150464,"45":1418352437089558528},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311301632001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:08:54] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:08: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-25 01:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418352437089558528,"description":"Unknown IO ID 45"} 
[2026-09-25 01:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311301632001,"power":27887,"unknown_127":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1418352437089558528}} 
[2026-09-25 01:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":193220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:08:54] local.INFO: GPS data processed {"connection_id":193220,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:08:54] local.INFO: Acknowledgment sent {"connection_id":193220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:09:05] local.INFO: TCP Data received {"connection_id":193221,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:05] local.INFO: Processing buffer {"connection_id":193221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:05] local.INFO: IMEI packet received {"connection_id":193221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":193221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:09:10] local.INFO: TCP Data received {"connection_id":193221,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:10] local.INFO: Processing buffer {"connection_id":193221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:09:10] local.INFO: IMEI packet received {"connection_id":193221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":193221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:09:13] local.INFO: TCP Data received {"connection_id":193221,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eaa698012d13afc006dabf88000800ae2f..."} 
[2026-09-25 01:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eaa698012d13afc006dabf88000800ae2f..."} 
[2026-09-25 01:09:13] local.INFO: Processing buffer {"connection_id":193221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eaa698012d13afc006dabf88000800ae2f..."} 
[2026-09-25 01:09:13] local.INFO: Packet analysis {"connection_id":193221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:09:13] local.INFO: Extracted packet for processing {"connection_id":193221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756264896,"raw_latitude":114999176,"longitude_deg":75.6264896,"latitude_deg":11.4999176,"altitude":8,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2d13afc0","hex_latitude":"06dabf88","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311301632001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418352437089558528,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790278543000,"timestamp_ms":1790278543000,"timestamp_seconds":1790278543,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eaa698"} 
[2026-09-25 01: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-25 01:09: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-25 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:09:13] 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-25 01: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-25 01: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-25 01:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311301632001,"66":27876,"127":206,"2":56576,"24":0,"16":3605341577150464,"45":1418352437089558528},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311301632001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:09:13] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01: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-25 01:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418352437089558528,"description":"Unknown IO ID 45"} 
[2026-09-25 01:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311301632001,"power":27876,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1418352437089558528}} 
[2026-09-25 01:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":193221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:09:13] local.INFO: GPS data processed {"connection_id":193221,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:09:13] local.INFO: Acknowledgment sent {"connection_id":193221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:09:27] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:27] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:27] local.INFO: IMEI packet received {"connection_id":191833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":191833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:09:32] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:32] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:32] local.INFO: IMEI packet received {"connection_id":191833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:09:37] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:37] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:09:37] local.INFO: IMEI packet received {"connection_id":191833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":191833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:09:38] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:09:38] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:09:38] local.INFO: Packet analysis {"connection_id":191833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:09:38] local.INFO: Extracted packet for processing {"connection_id":191833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:09: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-25 01:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":191833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:09:38] local.INFO: GPS data processed {"connection_id":191833,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:09:38] local.INFO: Acknowledgment sent {"connection_id":191833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:09:45] local.INFO: TCP Data received {"connection_id":193221,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eae900012d13c44006da7e10000900a12d..."} 
[2026-09-25 01:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eae900012d13c44006da7e10000900a12d..."} 
[2026-09-25 01:09:45] local.INFO: Processing buffer {"connection_id":193221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eae900012d13c44006da7e10000900a12d..."} 
[2026-09-25 01:09:45] local.INFO: Packet analysis {"connection_id":193221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:09:45] local.INFO: Extracted packet for processing {"connection_id":193221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ea"} 
[2026-09-25 01:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756270144,"raw_latitude":114982416,"longitude_deg":75.6270144,"latitude_deg":11.4982416,"altitude":9,"angle":161,"satellites":45,"speed":38,"hex_longitude":"2d13c440","hex_latitude":"06da7e10","is_valid_coordinates":true} 
[2026-09-25 01:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311307008001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418563543317317632,"note":"Value kept but may cause issues"} 
[2026-09-25 01:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790278560000,"timestamp_ms":1790278560000,"timestamp_seconds":1790278560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eae900"} 
[2026-09-25 01:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:09: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-25 01:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:09: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-25 01:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311307008001,"66":27919,"127":206,"2":56576,"24":38,"16":3605341577150464,"45":1418563543317317632},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311307008001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:09:45] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:09: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-25 01:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418563543317317632,"description":"Unknown IO ID 45"} 
[2026-09-25 01:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311307008001,"power":27919,"unknown_127":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1418563543317317632}} 
[2026-09-25 01:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":193221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:09:45] local.INFO: GPS data processed {"connection_id":193221,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:09:45] local.INFO: Acknowledgment sent {"connection_id":193221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:10:09] local.INFO: TCP Data received {"connection_id":191833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:09] local.INFO: Processing buffer {"connection_id":191833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:09] local.INFO: Packet analysis {"connection_id":191833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:10:09] local.INFO: Extracted packet for processing {"connection_id":191833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01:10: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:10: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-25 01: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-25 01: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-25 01:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:10: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-25 01:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":191833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:10:09] local.INFO: GPS data processed {"connection_id":191833,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:10:09] local.INFO: Acknowledgment sent {"connection_id":191833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:10:10] local.INFO: TCP Data received {"connection_id":191658,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:10] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:10] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:10:15] local.INFO: TCP Data received {"connection_id":191658,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:15] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:10:15] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:10:17] local.INFO: TCP Data received {"connection_id":191658,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eb3338012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eb3338012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:17] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eb3338012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:17] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4eb"} 
[2026-09-25 01:10:17] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4eb"} 
[2026-09-25 01:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756273728,"raw_latitude":114968856,"longitude_deg":75.6273728,"latitude_deg":11.4968856,"altitude":9,"angle":178,"satellites":45,"speed":13,"hex_longitude":"2d13d240","hex_latitude":"06da4918","is_valid_coordinates":true} 
[2026-09-25 01:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311311360001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424333780335595520,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790278579000,"timestamp_ms":1790278579000,"timestamp_seconds":1790278579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eb3338"} 
[2026-09-25 01:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:10: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-25 01:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-25 01:10:17] 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-25 01:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:10: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-25 01:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311311360001,"66":27952,"127":206,"2":56576,"24":13,"16":3605341577150464,"45":1424333780335595520},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311311360001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:10:17] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:10: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-25 01:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424333780335595520,"description":"Unknown IO ID 45"} 
[2026-09-25 01:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311311360001,"power":27952,"unknown_127":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":1424333780335595520}} 
[2026-09-25 01:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:10:17] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:10:17] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:10:21] local.INFO: TCP Data received {"connection_id":191658,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eb8928012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eb8928012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:21] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eb8928012d13d24006da4918000900b22d..."} 
[2026-09-25 01:10:21] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4eb"} 
[2026-09-25 01:10:21] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4eb"} 
[2026-09-25 01:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756273728,"raw_latitude":114968856,"longitude_deg":75.6273728,"latitude_deg":11.4968856,"altitude":9,"angle":178,"satellites":45,"speed":0,"hex_longitude":"2d13d240","hex_latitude":"06da4918","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311316224001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428274430006073344,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790278601000,"timestamp_ms":1790278601000,"timestamp_seconds":1790278601,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eb8928"} 
[2026-09-25 01: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-25 01:10: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:10:21] 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-25 01: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-25 01: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-25 01:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:10: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-25 01:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311316224001,"66":27887,"127":206,"2":56576,"24":0,"16":3605341577150464,"45":1428274430006073344},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-09-25 01:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311316224001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:10:21] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-25 01:10: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-25 01:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428274430006073344,"description":"Unknown IO ID 45"} 
[2026-09-25 01:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311316224001,"power":27887,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1428274430006073344}} 
[2026-09-25 01:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:10:22] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:10:22] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:10:27] local.INFO: TCP Data received {"connection_id":194508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:27] local.INFO: Processing buffer {"connection_id":194508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:27] local.INFO: IMEI packet received {"connection_id":194508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":194508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:10:32] local.INFO: TCP Data received {"connection_id":194508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:32] local.INFO: Processing buffer {"connection_id":194508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:10:32] local.INFO: IMEI packet received {"connection_id":194508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":194508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:10:33] local.INFO: TCP Data received {"connection_id":194508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:33] local.INFO: Processing buffer {"connection_id":194508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:10:33] local.INFO: Packet analysis {"connection_id":194508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:10:33] local.INFO: Extracted packet for processing {"connection_id":194508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01:10: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:10: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-25 01:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":194508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:10:33] local.INFO: GPS data processed {"connection_id":194508,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:10:33] local.INFO: Acknowledgment sent {"connection_id":194508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:11:04] local.INFO: TCP Data received {"connection_id":191659,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:04] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:04] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:11:04] local.INFO: TCP Data received {"connection_id":194508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:04] local.INFO: Processing buffer {"connection_id":194508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:04] local.INFO: Packet analysis {"connection_id":194508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:11:04] local.INFO: Extracted packet for processing {"connection_id":194508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:11: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-25 01:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11: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-25 01:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:11: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-25 01:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:11: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-25 01:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":194508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:11:05] local.INFO: GPS data processed {"connection_id":194508,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:11:05] local.INFO: Acknowledgment sent {"connection_id":194508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:11:05] local.INFO: TCP Data received {"connection_id":191659,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:05] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:05] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:11:08] local.INFO: TCP Data received {"connection_id":191659,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:08] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:11:08] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:11:09] local.INFO: TCP Data received {"connection_id":191659,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ee5400012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ee5400012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:09] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ee5400012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:09] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ee"} 
[2026-09-25 01:11:09] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ee"} 
[2026-09-25 01:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756294016,"raw_latitude":114871504,"longitude_deg":75.6294016,"latitude_deg":11.4871504,"altitude":12,"angle":154,"satellites":48,"speed":6,"hex_longitude":"2d142180","hex_latitude":"06d8ccd0","is_valid_coordinates":true} 
[2026-09-25 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311363328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1443262972493973504,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790278784000,"timestamp_ms":1790278784000,"timestamp_seconds":1790278784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ee5400"} 
[2026-09-25 01:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:11: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-25 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:11:09] 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-25 01:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311363328001,"66":28050,"192":206,"2":56576,"24":6,"16":3605341577150464,"45":1443262972493973504},"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,45]} 
[2026-09-25 01:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311363328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:11:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 01:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 01:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1443262972493973504,"description":"Unknown IO ID 45"} 
[2026-09-25 01:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311363328001,"power":28050,"unknown_192":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1443262972493973504}} 
[2026-09-25 01:11:09] 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":893105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:11:09] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:11:09] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:11:27] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:27] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:27] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:11:32] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:32] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:11:32] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:11:33] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:33] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:11:33] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:11:33] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:11: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-25 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11: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-25 01:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:11: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-25 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:11: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-25 01:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:11: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-25 01:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:11:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:11: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-25 01:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:11:33] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:11:33] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:11:40] local.INFO: TCP Data received {"connection_id":191659,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eea608012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eea608012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:40] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eea608012d14218006d8ccd0000c009a30..."} 
[2026-09-25 01:11:40] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ee"} 
[2026-09-25 01:11:40] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ee"} 
[2026-09-25 01:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756294016,"raw_latitude":114871504,"longitude_deg":75.6294016,"latitude_deg":11.4871504,"altitude":12,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2d142180","hex_latitude":"06d8ccd0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311368704001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450581321885470720,"note":"Value kept but may cause issues"} 
[2026-09-25 01:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790278805000,"timestamp_ms":1790278805000,"timestamp_seconds":1790278805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eea608"} 
[2026-09-25 01: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-25 01:11: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-25 01: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-25 01:11:40] 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-25 01: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-25 01: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-25 01:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311368704001,"66":28104,"192":206,"2":56576,"24":0,"16":3605341577150464,"45":1450581321885470720},"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,45]} 
[2026-09-25 01:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311368704001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:11:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 01:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 01:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450581321885470720,"description":"Unknown IO ID 45"} 
[2026-09-25 01:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311368704001,"power":28104,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1450581321885470720}} 
[2026-09-25 01:11:41] 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":893107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:11:41] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:11:41] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:12:05] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:05] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:05] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:12:05] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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-25 01:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01: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-25 01:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:12: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-25 01:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:12:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:12:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:12:05] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:12:05] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:12:05] local.INFO: TCP Data received {"connection_id":193222,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:05] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:05] local.INFO: IMEI packet received {"connection_id":193222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":193222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:12:09] local.INFO: TCP Data received {"connection_id":193222,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:09] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:12:09] local.INFO: IMEI packet received {"connection_id":193222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":193222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:12:10] local.INFO: TCP Data received {"connection_id":193222,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ef88980100000000000000000000000000..."} 
[2026-09-25 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ef88980100000000000000000000000000..."} 
[2026-09-25 01:12:10] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ef88980100000000000000000000000000..."} 
[2026-09-25 01:12:10] local.INFO: Packet analysis {"connection_id":193222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:12:10] local.INFO: Extracted packet for processing {"connection_id":193222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:12: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-25 01:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311374080001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450581321885470720,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790278863000,"timestamp_ms":1790278863000,"timestamp_seconds":1790278863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ef8898"} 
[2026-09-25 01:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:12: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-25 01:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 01:12:10] 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-25 01:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:12: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-25 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":193222,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:12:10] local.INFO: GPS data processed {"connection_id":193222,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:12:10] local.INFO: Acknowledgment sent {"connection_id":193222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:12:27] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:27] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:27] local.INFO: IMEI packet received {"connection_id":191660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":191660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:12:32] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:32] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:12:32] local.INFO: IMEI packet received {"connection_id":191660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":191660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:12:33] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:33] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:12:33] local.INFO: Packet analysis {"connection_id":191660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:12:33] local.INFO: Extracted packet for processing {"connection_id":191660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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-25 01: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-25 01:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:12: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-25 01:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:12:33] 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":893109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:12:33] local.INFO: GPS data processed {"connection_id":191660,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:12:33] local.INFO: Acknowledgment sent {"connection_id":191660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:12:42] local.INFO: TCP Data received {"connection_id":193222,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ef07b0012d143a4006d896e0000d009a2f..."} 
[2026-09-25 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ef07b0012d143a4006d896e0000d009a2f..."} 
[2026-09-25 01:12:42] local.INFO: Processing buffer {"connection_id":193222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ef07b0012d143a4006d896e0000d009a2f..."} 
[2026-09-25 01:12:42] local.INFO: Packet analysis {"connection_id":193222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:12:42] local.INFO: Extracted packet for processing {"connection_id":193222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756300352,"raw_latitude":114857696,"longitude_deg":75.6300352,"latitude_deg":11.4857696,"altitude":13,"angle":154,"satellites":47,"speed":30,"hex_longitude":"2d143a40","hex_latitude":"06d896e0","is_valid_coordinates":true} 
[2026-09-25 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:12:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790278830000,"timestamp_ms":1790278830000,"timestamp_seconds":1790278830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ef07b0"} 
[2026-09-25 01:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:12: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 01:12:42] 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-25 01:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:12: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-25 01:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"192":206,"2":56576,"24":30,"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,192,2,24,16]} 
[2026-09-25 01:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:12:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 01:12: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-25 01:12:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_192":206,"power_alt":56576,"ignition":30,"odometer":null}} 
[2026-09-25 01:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":193222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:12:43] local.INFO: GPS data processed {"connection_id":193222,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:12:43] local.INFO: Acknowledgment sent {"connection_id":193222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:13:05] local.INFO: TCP Data received {"connection_id":191660,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:05] local.INFO: Processing buffer {"connection_id":191660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:05] local.INFO: Packet analysis {"connection_id":191660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:13:05] local.INFO: Extracted packet for processing {"connection_id":191660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13: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-25 01:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:13:05] 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":893111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:13:05] local.INFO: GPS data processed {"connection_id":191660,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:13:05] local.INFO: Acknowledgment sent {"connection_id":191660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:13:05] local.INFO: TCP Data received {"connection_id":191661,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:05] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:05] local.INFO: IMEI packet received {"connection_id":191661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":191661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:13:10] local.INFO: TCP Data received {"connection_id":191661,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:10] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:13:10] local.INFO: IMEI packet received {"connection_id":191661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":191661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:13:12] local.INFO: TCP Data received {"connection_id":191661,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ef59b8012d14594006d855e8000c00972d..."} 
[2026-09-25 01:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ef59b8012d14594006d855e8000c00972d..."} 
[2026-09-25 01:13:12] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ef59b8012d14594006d855e8000c00972d..."} 
[2026-09-25 01:13:12] local.INFO: Packet analysis {"connection_id":191661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:13:12] local.INFO: Extracted packet for processing {"connection_id":191661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756308288,"raw_latitude":114841064,"longitude_deg":75.6308288,"latitude_deg":11.4841064,"altitude":12,"angle":151,"satellites":45,"speed":0,"hex_longitude":"2d145940","hex_latitude":"06d855e8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311380480001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1457547827555524608,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790278851000,"timestamp_ms":1790278851000,"timestamp_seconds":1790278851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ef59b8"} 
[2026-09-25 01: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-25 01:13: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-25 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-25 01:13: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-25 01: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-25 01: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-25 01:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311380480001,"66":28028,"192":206,"2":56576,"24":0,"16":3605341577150464,"45":1457547827555524608},"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,45]} 
[2026-09-25 01:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311380480001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:13:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 01: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-25 01:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1457547827555524608,"description":"Unknown IO ID 45"} 
[2026-09-25 01:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311380480001,"power":28028,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1457547827555524608}} 
[2026-09-25 01:13:13] 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":893112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:13:13] local.INFO: GPS data processed {"connection_id":191661,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:13:13] local.INFO: Acknowledgment sent {"connection_id":191661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:13:32] local.INFO: TCP Data received {"connection_id":193223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:32] local.INFO: Processing buffer {"connection_id":193223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:32] local.INFO: IMEI packet received {"connection_id":193223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":193223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:13:37] local.INFO: TCP Data received {"connection_id":193223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:37] local.INFO: Processing buffer {"connection_id":193223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:13:37] local.INFO: IMEI packet received {"connection_id":193223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":193223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:13:39] local.INFO: TCP Data received {"connection_id":193223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:39] local.INFO: Processing buffer {"connection_id":193223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:39] local.INFO: Packet analysis {"connection_id":193223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:13:39] local.INFO: Extracted packet for processing {"connection_id":193223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13: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-25 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":193223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:13:39] local.INFO: GPS data processed {"connection_id":193223,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:13:39] local.INFO: Acknowledgment sent {"connection_id":193223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:13:43] local.INFO: TCP Data received {"connection_id":193223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:43] local.INFO: Processing buffer {"connection_id":193223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ece0e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:13:43] local.INFO: Packet analysis {"connection_id":193223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01:13:43] local.INFO: Extracted packet for processing {"connection_id":193223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ec"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311267328001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790278689000,"timestamp_ms":1790278689000,"timestamp_seconds":1790278689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ece0e8"} 
[2026-09-25 01: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-25 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:13: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-25 01: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-25 01: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-25 01:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:13: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-25 01:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311267328001,"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-25 01:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311267328001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311267328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":193223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:13:43] local.INFO: GPS data processed {"connection_id":193223,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:13:43] local.INFO: Acknowledgment sent {"connection_id":193223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:13:46] local.INFO: TCP Data received {"connection_id":191661,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4efa7d8012d14868006d81f40000e00882c..."} 
[2026-09-25 01:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4efa7d8012d14868006d81f40000e00882c..."} 
[2026-09-25 01:13:46] local.INFO: Processing buffer {"connection_id":191661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4efa7d8012d14868006d81f40000e00882c..."} 
[2026-09-25 01:13:46] local.INFO: Packet analysis {"connection_id":191661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:13:46] local.INFO: Extracted packet for processing {"connection_id":191661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756319872,"raw_latitude":114827072,"longitude_deg":75.6319872,"latitude_deg":11.4827072,"altitude":14,"angle":136,"satellites":44,"speed":0,"hex_longitude":"2d148680","hex_latitude":"06d81f40","is_valid_coordinates":true} 
[2026-09-25 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-25 01:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311385856001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1466273551829297152,"note":"Value kept but may cause issues"} 
[2026-09-25 01:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790278871000,"timestamp_ms":1790278871000,"timestamp_seconds":1790278871,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4efa7d8"} 
[2026-09-25 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-25 01:13: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-25 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 01:13:46] 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-25 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-25 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-25 01:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:13: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-25 01:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311385856001,"66":27984,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1466273551829297152},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311385856001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:13:46] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:13: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-25 01:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1466273551829297152,"description":"Unknown IO ID 45"} 
[2026-09-25 01:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311385856001,"power":27984,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1466273551829297152}} 
[2026-09-25 01:13:47] 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":893115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:13:47] local.INFO: GPS data processed {"connection_id":191661,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:13:47] local.INFO: Acknowledgment sent {"connection_id":191661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:14:05] local.INFO: TCP Data received {"connection_id":194509,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:05] local.INFO: Processing buffer {"connection_id":194509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:05] local.INFO: IMEI packet received {"connection_id":194509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":194509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:14:11] local.INFO: TCP Data received {"connection_id":194509,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:11] local.INFO: Processing buffer {"connection_id":194509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:14:11] local.INFO: IMEI packet received {"connection_id":194509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":194509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:14:13] local.INFO: TCP Data received {"connection_id":194509,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4eff9e0012d14b5c006d7ef38000d00882d..."} 
[2026-09-25 01:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4eff9e0012d14b5c006d7ef38000d00882d..."} 
[2026-09-25 01:14:13] local.INFO: Processing buffer {"connection_id":194509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4eff9e0012d14b5c006d7ef38000d00882d..."} 
[2026-09-25 01:14:13] local.INFO: Packet analysis {"connection_id":194509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:14:13] local.INFO: Extracted packet for processing {"connection_id":194509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ef"} 
[2026-09-25 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756331968,"raw_latitude":114814776,"longitude_deg":75.6331968,"latitude_deg":11.4814776,"altitude":13,"angle":136,"satellites":45,"speed":0,"hex_longitude":"2d14b5c0","hex_latitude":"06d7ef38","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311390976001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479010294521872384,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790278892000,"timestamp_ms":1790278892000,"timestamp_seconds":1790278892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4eff9e0"} 
[2026-09-25 01: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-25 01:14: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-25 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 01:14: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-25 01: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-25 01: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-25 01:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:14: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-25 01:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311390976001,"66":28082,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1479010294521872384},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311390976001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:14:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01: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-25 01:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479010294521872384,"description":"Unknown IO ID 45"} 
[2026-09-25 01:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311390976001,"power":28082,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1479010294521872384}} 
[2026-09-25 01:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":194509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:14:13] local.INFO: GPS data processed {"connection_id":194509,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:14:13] local.INFO: Acknowledgment sent {"connection_id":194509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:14:27] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:27] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:27] local.INFO: IMEI packet received {"connection_id":191835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":191835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:14:32] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:32] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:14:32] local.INFO: IMEI packet received {"connection_id":191835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:14:33] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:14:33] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:14:33] local.INFO: Packet analysis {"connection_id":191835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:14:33] local.INFO: Extracted packet for processing {"connection_id":191835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:14: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-25 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:14:33] local.INFO: GPS data processed {"connection_id":191835,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:14:33] local.INFO: Acknowledgment sent {"connection_id":191835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:14:46] local.INFO: TCP Data received {"connection_id":194509,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f04800012d14e4c006d7bfa8000c00892f..."} 
[2026-09-25 01:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f04800012d14e4c006d7bfa8000c00892f..."} 
[2026-09-25 01:14:46] local.INFO: Processing buffer {"connection_id":194509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f04800012d14e4c006d7bfa8000c00892f..."} 
[2026-09-25 01:14:46] local.INFO: Packet analysis {"connection_id":194509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:14:46] local.INFO: Extracted packet for processing {"connection_id":194509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756344000,"raw_latitude":114802600,"longitude_deg":75.6344,"latitude_deg":11.48026,"altitude":12,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2d14e4c0","hex_latitude":"06d7bfa8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311396352001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1492309987168303104,"note":"Value kept but may cause issues"} 
[2026-09-25 01:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790278912000,"timestamp_ms":1790278912000,"timestamp_seconds":1790278912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f04800"} 
[2026-09-25 01: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-25 01:14: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-25 01: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 01:14:46] 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-25 01: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-25 01: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-25 01:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:14: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-25 01:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311396352001,"66":27800,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1492309987168303104},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311396352001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:14:46] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:14: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-25 01:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1492309987168303104,"description":"Unknown IO ID 45"} 
[2026-09-25 01:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311396352001,"power":27800,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1492309987168303104}} 
[2026-09-25 01:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":194509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:14:46] local.INFO: GPS data processed {"connection_id":194509,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:14:46] local.INFO: Acknowledgment sent {"connection_id":194509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:15:04] local.INFO: TCP Data received {"connection_id":191835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:04] local.INFO: Processing buffer {"connection_id":191835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:04] local.INFO: Packet analysis {"connection_id":191835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:15:04] local.INFO: Extracted packet for processing {"connection_id":191835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:15: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-25 01:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15: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-25 01:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:15: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-25 01:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:15: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-25 01:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:15: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-25 01:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":191835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:15:04] local.INFO: GPS data processed {"connection_id":191835,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:15:04] local.INFO: Acknowledgment sent {"connection_id":191835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:15:05] local.INFO: TCP Data received {"connection_id":193224,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:05] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:05] local.INFO: IMEI packet received {"connection_id":193224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":193224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:15:06] local.INFO: TCP Data received {"connection_id":193224,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:06] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:06] local.INFO: IMEI packet received {"connection_id":193224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":193224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:15:11] local.INFO: TCP Data received {"connection_id":193224,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:11] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:15:11] local.INFO: IMEI packet received {"connection_id":193224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":193224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:15:13] local.INFO: TCP Data received {"connection_id":193224,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f09a08012d15118006d790a0000c00882f..."} 
[2026-09-25 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f09a08012d15118006d790a0000c00882f..."} 
[2026-09-25 01:15:13] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f09a08012d15118006d790a0000c00882f..."} 
[2026-09-25 01:15:13] local.INFO: Packet analysis {"connection_id":193224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:15:13] local.INFO: Extracted packet for processing {"connection_id":193224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756355456,"raw_latitude":114790560,"longitude_deg":75.6355456,"latitude_deg":11.479056,"altitude":12,"angle":136,"satellites":47,"speed":0,"hex_longitude":"2d151180","hex_latitude":"06d790a0","is_valid_coordinates":true} 
[2026-09-25 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311401472001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1505539311070586880,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790278933000,"timestamp_ms":1790278933000,"timestamp_seconds":1790278933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f09a08"} 
[2026-09-25 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:15: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-25 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:15: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-25 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:15: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-25 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311401472001,"66":27843,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1505539311070586880},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311401472001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:15:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:15: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-25 01:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1505539311070586880,"description":"Unknown IO ID 45"} 
[2026-09-25 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311401472001,"power":27843,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1505539311070586880}} 
[2026-09-25 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":193224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:15:13] local.INFO: GPS data processed {"connection_id":193224,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:15:13] local.INFO: Acknowledgment sent {"connection_id":193224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:15:27] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:27] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:27] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:15:32] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:32] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:15:32] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:15:33] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:33] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:15:33] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:15:33] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:15: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-25 01:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:15: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":893121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:15:33] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:15:33] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:15:46] local.INFO: TCP Data received {"connection_id":193224,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f0ec10012d15370006d768e0000d00882f..."} 
[2026-09-25 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f0ec10012d15370006d768e0000d00882f..."} 
[2026-09-25 01:15:46] local.INFO: Processing buffer {"connection_id":193224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f0ec10012d15370006d768e0000d00882f..."} 
[2026-09-25 01:15:46] local.INFO: Packet analysis {"connection_id":193224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:15:46] local.INFO: Extracted packet for processing {"connection_id":193224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f0"} 
[2026-09-25 01:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756365056,"raw_latitude":114780384,"longitude_deg":75.6365056,"latitude_deg":11.4780384,"altitude":13,"angle":136,"satellites":47,"speed":0,"hex_longitude":"2d153700","hex_latitude":"06d768e0","is_valid_coordinates":true} 
[2026-09-25 01:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311406848001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1518135316275306496,"note":"Value kept but may cause issues"} 
[2026-09-25 01:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790278954000,"timestamp_ms":1790278954000,"timestamp_seconds":1790278954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f0ec10"} 
[2026-09-25 01:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:15: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-25 01:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:15: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-25 01:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:15: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-25 01:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311406848001,"66":27952,"193":206,"2":56576,"24":0,"16":3605341577150464,"45":1518135316275306496},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-09-25 01:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311406848001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:15:46] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-25 01:15: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-25 01:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1518135316275306496,"description":"Unknown IO ID 45"} 
[2026-09-25 01:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311406848001,"power":27952,"unknown_193":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1518135316275306496}} 
[2026-09-25 01:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":193224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:15:46] local.INFO: GPS data processed {"connection_id":193224,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:15:46] local.INFO: Acknowledgment sent {"connection_id":193224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:16:05] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:05] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:05] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:16:05] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:16: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-25 01:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:16:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:16: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":893123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:16:05] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:16:05] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:16:11] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:11] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:11] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:16:13] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:16:13] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:13] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:16:15] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:15] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:16:15] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:16:16] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f35928012d161fc006d68c10001600812c..."} 
[2026-09-25 01:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f35928012d161fc006d68c10001600812c..."} 
[2026-09-25 01:16:16] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f35928012d161fc006d68c10001600812c..."} 
[2026-09-25 01:16:16] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f3"} 
[2026-09-25 01:16:16] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f3"} 
[2026-09-25 01:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756424640,"raw_latitude":114723856,"longitude_deg":75.642464,"latitude_deg":11.4723856,"altitude":22,"angle":129,"satellites":44,"speed":24,"hex_longitude":"2d161fc0","hex_latitude":"06d68c10","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,193,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790279113000,"timestamp_ms":1790279113000,"timestamp_seconds":1790279113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f35928"} 
[2026-09-25 01: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-25 01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:16:16] 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-25 01: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-25 01: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-25 01:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:16: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-25 01:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"193":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,193,2,24,16]} 
[2026-09-25 01:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:16:16] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-25 01: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-25 01:16:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_193":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-09-25 01:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:16:16] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:16:16] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:16:21] local.INFO: TCP Data received {"connection_id":191836,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f43bb80100000000000000000000000000..."} 
[2026-09-25 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f43bb80100000000000000000000000000..."} 
[2026-09-25 01:16:21] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f43bb80100000000000000000000000000..."} 
[2026-09-25 01:16:21] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:16:21] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:16: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-25 01: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-25 01:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311452928001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1594203928714285056,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790279171000,"timestamp_ms":1790279171000,"timestamp_seconds":1790279171,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f43bb8"} 
[2026-09-25 01: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-25 01:16: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-25 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:16:21] 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-25 01: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-25 01: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-25 01:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:16: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-25 01:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:16:21] local.INFO: GPS data processed {"connection_id":191836,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:16:21] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:16:27] local.INFO: TCP Data received {"connection_id":194510,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:27] local.INFO: Processing buffer {"connection_id":194510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:27] local.INFO: IMEI packet received {"connection_id":194510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":194510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:16:32] local.INFO: TCP Data received {"connection_id":194510,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:32] local.INFO: Processing buffer {"connection_id":194510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:16:32] local.INFO: IMEI packet received {"connection_id":194510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":194510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:16:33] local.INFO: TCP Data received {"connection_id":194510,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:33] local.INFO: Processing buffer {"connection_id":194510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:16:33] local.INFO: Packet analysis {"connection_id":194510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:16:33] local.INFO: Extracted packet for processing {"connection_id":194510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01: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-25 01:16: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:16: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-25 01:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":194510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:16:33] local.INFO: GPS data processed {"connection_id":194510,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:16:33] local.INFO: Acknowledgment sent {"connection_id":194510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:17:05] local.INFO: TCP Data received {"connection_id":194510,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:05] local.INFO: Processing buffer {"connection_id":194510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:05] local.INFO: Packet analysis {"connection_id":194510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:17:05] local.INFO: Extracted packet for processing {"connection_id":194510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:17: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-25 01:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17: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-25 01:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:17:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:17:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":194510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:17:05] local.INFO: GPS data processed {"connection_id":194510,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:17:05] local.INFO: Acknowledgment sent {"connection_id":194510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:17:05] local.INFO: TCP Data received {"connection_id":191837,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:05] local.INFO: Processing buffer {"connection_id":191837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:05] local.INFO: IMEI packet received {"connection_id":191837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":191837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:17:11] local.INFO: TCP Data received {"connection_id":191837,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:11] local.INFO: Processing buffer {"connection_id":191837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:17:11] local.INFO: IMEI packet received {"connection_id":191837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":191837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:17:13] local.INFO: TCP Data received {"connection_id":191837,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f3af18012d1658c006d671200010005e2d..."} 
[2026-09-25 01:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f3af18012d1658c006d671200010005e2d..."} 
[2026-09-25 01:17:13] local.INFO: Processing buffer {"connection_id":191837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f3af18012d1658c006d671200010005e2d..."} 
[2026-09-25 01:17:13] local.INFO: Packet analysis {"connection_id":191837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f3"} 
[2026-09-25 01:17:13] local.INFO: Extracted packet for processing {"connection_id":191837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f3"} 
[2026-09-25 01:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756439232,"raw_latitude":114716960,"longitude_deg":75.6439232,"latitude_deg":11.471696,"altitude":16,"angle":94,"satellites":45,"speed":33,"hex_longitude":"2d1658c0","hex_latitude":"06d67120","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790279135000,"timestamp_ms":1790279135000,"timestamp_seconds":1790279135,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f3af18"} 
[2026-09-25 01: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-25 01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:17: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-25 01: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-25 01: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-25 01:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:17: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-25 01:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"191":206,"2":56576,"24":33,"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,191,2,24,16]} 
[2026-09-25 01:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:17:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01: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-25 01:17:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_191":206,"power_alt":56576,"ignition":33,"odometer":null}} 
[2026-09-25 01:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":191837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:17:13] local.INFO: GPS data processed {"connection_id":191837,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:17:13] local.INFO: Acknowledgment sent {"connection_id":191837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:17:32] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:32] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:32] local.INFO: IMEI packet received {"connection_id":191663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:17:37] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:37] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:17:37] local.INFO: IMEI packet received {"connection_id":191663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":191663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:17:38] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:38] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:38] local.INFO: Packet analysis {"connection_id":191663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:17:38] local.INFO: Extracted packet for processing {"connection_id":191663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:17: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-25 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:17: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-25 01:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:17: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-25 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:17:38] local.INFO: GPS data processed {"connection_id":191663,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:17:38] local.INFO: Acknowledgment sent {"connection_id":191663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:17:42] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:42] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:17:42] local.INFO: Packet analysis {"connection_id":191663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:17:42] local.INFO: Extracted packet for processing {"connection_id":191663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:17: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:17: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-25 01:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:17: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-25 01:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:17:42] local.INFO: GPS data processed {"connection_id":191663,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:17:42] local.INFO: Acknowledgment sent {"connection_id":191663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:17:52] local.INFO: TCP Data received {"connection_id":191837,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f40120012d169dc006d66b88000a005f2f..."} 
[2026-09-25 01:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f40120012d169dc006d66b88000a005f2f..."} 
[2026-09-25 01:17:52] local.INFO: Processing buffer {"connection_id":191837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f40120012d169dc006d66b88000a005f2f..."} 
[2026-09-25 01:17:52] local.INFO: Packet analysis {"connection_id":191837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:17:52] local.INFO: Extracted packet for processing {"connection_id":191837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756456896,"raw_latitude":114715528,"longitude_deg":75.6456896,"latitude_deg":11.4715528,"altitude":10,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2d169dc0","hex_latitude":"06d66b88","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311458560001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1610248002385027072,"note":"Value kept but may cause issues"} 
[2026-09-25 01:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790279156000,"timestamp_ms":1790279156000,"timestamp_seconds":1790279156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f40120"} 
[2026-09-25 01: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-25 01:17: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-25 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:17:52] 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-25 01: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-25 01: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-25 01:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311458560001,"66":27941,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1610248002385027072},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311458560001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:17:52] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:17: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-25 01:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1610248002385027072,"description":"Unknown IO ID 45"} 
[2026-09-25 01:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311458560001,"power":27941,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1610248002385027072}} 
[2026-09-25 01:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":191837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:17:52] local.INFO: GPS data processed {"connection_id":191837,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:17:52] local.INFO: Acknowledgment sent {"connection_id":191837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:18:05] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:05] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:05] local.INFO: IMEI packet received {"connection_id":193225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":193225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:18:07] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:07] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:07] local.INFO: IMEI packet received {"connection_id":193225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":193225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:18:10] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:10] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:18:10] local.INFO: IMEI packet received {"connection_id":193225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":193225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:18:12] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f44f40012d16e70006d66550000800602e..."} 
[2026-09-25 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f44f40012d16e70006d66550000800602e..."} 
[2026-09-25 01:18:12] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f44f40012d16e70006d66550000800602e..."} 
[2026-09-25 01:18:12] local.INFO: Packet analysis {"connection_id":193225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:12] local.INFO: Extracted packet for processing {"connection_id":193225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756475648,"raw_latitude":114713936,"longitude_deg":75.6475648,"latitude_deg":11.4713936,"altitude":8,"angle":96,"satellites":46,"speed":0,"hex_longitude":"2d16e700","hex_latitude":"06d66550","is_valid_coordinates":true} 
[2026-09-25 01:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311463936001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629669775777695744,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790279176000,"timestamp_ms":1790279176000,"timestamp_seconds":1790279176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f44f40"} 
[2026-09-25 01:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:18: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-25 01:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-25 01:18: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-25 01:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18: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-25 01:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311463936001,"66":27984,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1629669775777695744},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311463936001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:18:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:18: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-25 01:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629669775777695744,"description":"Unknown IO ID 45"} 
[2026-09-25 01:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311463936001,"power":27984,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1629669775777695744}} 
[2026-09-25 01:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":193225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:18:12] local.INFO: GPS data processed {"connection_id":193225,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:18:12] local.INFO: Acknowledgment sent {"connection_id":193225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:18:16] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f4a148012d17294006d65660000400672e..."} 
[2026-09-25 01:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f4a148012d17294006d65660000400672e..."} 
[2026-09-25 01:18:16] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f4a148012d17294006d65660000400672e..."} 
[2026-09-25 01:18:16] local.INFO: Packet analysis {"connection_id":193225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:16] local.INFO: Extracted packet for processing {"connection_id":193225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756492608,"raw_latitude":114710112,"longitude_deg":75.6492608,"latitude_deg":11.4710112,"altitude":4,"angle":103,"satellites":46,"speed":0,"hex_longitude":"2d172940","hex_latitude":"06d65660","is_valid_coordinates":true} 
[2026-09-25 01:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311469056001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1650287817821343744,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790279197000,"timestamp_ms":1790279197000,"timestamp_seconds":1790279197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f4a148"} 
[2026-09-25 01:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:18: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-25 01:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 01:18: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-25 01:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18: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-25 01:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311469056001,"66":27908,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1650287817821343744},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311469056001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:18:16] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:18: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-25 01:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1650287817821343744,"description":"Unknown IO ID 45"} 
[2026-09-25 01:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311469056001,"power":27908,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1650287817821343744}} 
[2026-09-25 01:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":193225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:18:16] local.INFO: GPS data processed {"connection_id":193225,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:18:16] local.INFO: Acknowledgment sent {"connection_id":193225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:18:27] local.INFO: TCP Data received {"connection_id":194511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:27] local.INFO: Processing buffer {"connection_id":194511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:27] local.INFO: IMEI packet received {"connection_id":194511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":194511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:18:32] local.INFO: TCP Data received {"connection_id":194511,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:32] local.INFO: Processing buffer {"connection_id":194511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:18:32] local.INFO: IMEI packet received {"connection_id":194511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":194511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:18:33] local.INFO: TCP Data received {"connection_id":194511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:18:33] local.INFO: Processing buffer {"connection_id":194511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f178b0012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:18:33] local.INFO: Packet analysis {"connection_id":194511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01:18:33] local.INFO: Extracted packet for processing {"connection_id":194511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f1"} 
[2026-09-25 01: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-25 01: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-25 01:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311344384001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790278990000,"timestamp_ms":1790278990000,"timestamp_seconds":1790278990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f178b0"} 
[2026-09-25 01: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-25 01:18: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:18: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-25 01:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311344384001,"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-25 01:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311344384001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311344384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":194511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:18:33] local.INFO: GPS data processed {"connection_id":194511,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:18:33] local.INFO: Acknowledgment sent {"connection_id":194511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:18:49] local.INFO: TCP Data received {"connection_id":193225,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f4f350012d176c0006d643f0000600692d..."} 
[2026-09-25 01:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f4f350012d176c0006d643f0000600692d..."} 
[2026-09-25 01:18:49] local.INFO: Processing buffer {"connection_id":193225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f4f350012d176c0006d643f0000600692d..."} 
[2026-09-25 01:18:49] local.INFO: Packet analysis {"connection_id":193225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:49] local.INFO: Extracted packet for processing {"connection_id":193225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f4"} 
[2026-09-25 01:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756509696,"raw_latitude":114705392,"longitude_deg":75.6509696,"latitude_deg":11.4705392,"altitude":6,"angle":105,"satellites":45,"speed":0,"hex_longitude":"2d176c00","hex_latitude":"06d643f0","is_valid_coordinates":true} 
[2026-09-25 01:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311474432001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668935535027445760,"note":"Value kept but may cause issues"} 
[2026-09-25 01:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790279218000,"timestamp_ms":1790279218000,"timestamp_seconds":1790279218,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f4f350"} 
[2026-09-25 01:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:18: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-25 01:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:18:49] 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-25 01:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193225,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:18: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-25 01:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311474432001,"66":27952,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1668935535027445760},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311474432001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:18:49] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:18: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-25 01:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668935535027445760,"description":"Unknown IO ID 45"} 
[2026-09-25 01:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311474432001,"power":27952,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1668935535027445760}} 
[2026-09-25 01:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":193225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:18:49] local.INFO: GPS data processed {"connection_id":193225,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:18:49] local.INFO: Acknowledgment sent {"connection_id":193225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:19:04] local.INFO: TCP Data received {"connection_id":194511,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:04] local.INFO: Processing buffer {"connection_id":194511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:04] local.INFO: Packet analysis {"connection_id":194511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:19:04] local.INFO: Extracted packet for processing {"connection_id":194511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:19: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-25 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19: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-25 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:19: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-25 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:19: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-25 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":194511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:19:04] local.INFO: GPS data processed {"connection_id":194511,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:19:04] local.INFO: Acknowledgment sent {"connection_id":194511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:19:10] local.INFO: TCP Data received {"connection_id":194512,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:10] local.INFO: Processing buffer {"connection_id":194512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:10] local.INFO: IMEI packet received {"connection_id":194512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":194512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:19:16] local.INFO: TCP Data received {"connection_id":194512,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:16] local.INFO: Processing buffer {"connection_id":194512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:19:16] local.INFO: IMEI packet received {"connection_id":194512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":194512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:19:17] local.INFO: TCP Data received {"connection_id":194512,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f5d9c80100000000000000000000000000..."} 
[2026-09-25 01:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f5d9c80100000000000000000000000000..."} 
[2026-09-25 01:19:17] local.INFO: Processing buffer {"connection_id":194512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f5d9c80100000000000000000000000000..."} 
[2026-09-25 01:19:17] local.INFO: Packet analysis {"connection_id":194512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:19:17] local.INFO: Extracted packet for processing {"connection_id":194512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:19: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-25 01: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-25 01:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311479808001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687723989721673728,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790279277000,"timestamp_ms":1790279277000,"timestamp_seconds":1790279277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f5d9c8"} 
[2026-09-25 01: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-25 01:19: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:19: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-25 01: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-25 01: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-25 01:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:19: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-25 01:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":194512,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:19:17] local.INFO: GPS data processed {"connection_id":194512,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:19:17] local.INFO: Acknowledgment sent {"connection_id":194512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:19:26] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:26] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:26] local.INFO: IMEI packet received {"connection_id":193226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":193226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:19:32] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:32] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:19:32] local.INFO: IMEI packet received {"connection_id":193226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":193226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:19:33] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:33] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:19:33] local.INFO: Packet analysis {"connection_id":193226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:19:33] local.INFO: Extracted packet for processing {"connection_id":193226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:19: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-25 01:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":193226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:19:33] local.INFO: GPS data processed {"connection_id":193226,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:19:33] local.INFO: Acknowledgment sent {"connection_id":193226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:19:50] local.INFO: TCP Data received {"connection_id":194512,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f56c68012d17f5c006d62008000400692d..."} 
[2026-09-25 01:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f56c68012d17f5c006d62008000400692d..."} 
[2026-09-25 01:19:50] local.INFO: Processing buffer {"connection_id":194512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f56c68012d17f5c006d62008000400692d..."} 
[2026-09-25 01:19:50] local.INFO: Packet analysis {"connection_id":194512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:19:50] local.INFO: Extracted packet for processing {"connection_id":194512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756544960,"raw_latitude":114696200,"longitude_deg":75.654496,"latitude_deg":11.46962,"altitude":4,"angle":105,"satellites":45,"speed":39,"hex_longitude":"2d17f5c0","hex_latitude":"06d62008","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:19:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790279249000,"timestamp_ms":1790279249000,"timestamp_seconds":1790279249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f56c68"} 
[2026-09-25 01: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-25 01:19: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:19: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-25 01:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"191":206,"2":56576,"24":39,"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,191,2,24,16]} 
[2026-09-25 01:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:19:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:19: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-25 01:19:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_191":206,"power_alt":56576,"ignition":39,"odometer":null}} 
[2026-09-25 01:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":194512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:19:50] local.INFO: GPS data processed {"connection_id":194512,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:19:50] local.INFO: Acknowledgment sent {"connection_id":194512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:20:05] local.INFO: TCP Data received {"connection_id":193226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:05] local.INFO: Processing buffer {"connection_id":193226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:05] local.INFO: Packet analysis {"connection_id":193226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:20:05] local.INFO: Extracted packet for processing {"connection_id":193226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01: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-25 01: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-25 01:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:20: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-25 01:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":193226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:20:05] local.INFO: GPS data processed {"connection_id":193226,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:20:05] local.INFO: Acknowledgment sent {"connection_id":193226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:20:05] local.INFO: TCP Data received {"connection_id":191838,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:05] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:05] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:20:07] local.INFO: TCP Data received {"connection_id":191838,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:07] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:07] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:20:11] local.INFO: TCP Data received {"connection_id":191838,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:11] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:20:11] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:20:12] local.INFO: TCP Data received {"connection_id":191838,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f5be70012d18378006d610e80006005f2e..."} 
[2026-09-25 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f5be70012d18378006d610e80006005f2e..."} 
[2026-09-25 01:20:12] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f5be70012d18378006d610e80006005f2e..."} 
[2026-09-25 01:20:12] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:20:12] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f5"} 
[2026-09-25 01:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756561792,"raw_latitude":114692328,"longitude_deg":75.6561792,"latitude_deg":11.4692328,"altitude":6,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2d183780","hex_latitude":"06d610e8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726497167761213440,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790279270000,"timestamp_ms":1790279270000,"timestamp_seconds":1790279270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f5be70"} 
[2026-09-25 01: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-25 01: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-25 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:20: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-25 01: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-25 01: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-25 01:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311487744001,"66":27821,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":1726497167761213440},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:20:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01: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-25 01:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726497167761213440,"description":"Unknown IO ID 45"} 
[2026-09-25 01:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311487744001,"power":27821,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1726497167761213440}} 
[2026-09-25 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:20:13] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:20:13] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:20:26] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:26] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:26] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:20:32] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:32] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:20:32] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:20:33] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:33] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:20:33] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:20:33] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01: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-25 01: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-25 01:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01:20: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:20: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-25 01:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:20:33] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:20:33] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:20:44] local.INFO: TCP Data received {"connection_id":191838,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f608a8012d187b8006d620400009004c2b..."} 
[2026-09-25 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f608a8012d187b8006d620400009004c2b..."} 
[2026-09-25 01:20:44] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f608a8012d187b8006d620400009004c2b..."} 
[2026-09-25 01:20:44] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:20:44] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":114696256,"longitude_deg":75.65792,"latitude_deg":11.4696256,"altitude":9,"angle":76,"satellites":43,"speed":33,"hex_longitude":"2d187b80","hex_latitude":"06d62040","is_valid_coordinates":true} 
[2026-09-25 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311493120001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745004147478947840,"note":"Value kept but may cause issues"} 
[2026-09-25 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790279289000,"timestamp_ms":1790279289000,"timestamp_seconds":1790279289,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f608a8"} 
[2026-09-25 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:20: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-25 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:20:44] 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-25 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:20: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-25 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311493120001,"66":27821,"191":206,"2":56576,"24":33,"16":3605341577150464,"45":1745004147478947840},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311493120001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:20:44] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01:20: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-25 01:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745004147478947840,"description":"Unknown IO ID 45"} 
[2026-09-25 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311493120001,"power":27821,"unknown_191":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1745004147478947840}} 
[2026-09-25 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:20:44] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:20:44] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:21:05] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:05] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:05] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:05] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01: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-25 01: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-25 01:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:21: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-25 01:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:21:05] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:21:05] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:21:09] local.INFO: TCP Data received {"connection_id":191840,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:21:10] local.INFO: TCP Data received {"connection_id":191840,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:10] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:21:16] local.INFO: TCP Data received {"connection_id":191840,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:16] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:21:16] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:21:17] local.INFO: TCP Data received {"connection_id":191840,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f656c8012d18bf4006d60880000500772e..."} 
[2026-09-25 01:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f656c8012d18bf4006d60880000500772e..."} 
[2026-09-25 01:21:17] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f656c8012d18bf4006d60880000500772e..."} 
[2026-09-25 01:21:17] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:17] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756596544,"raw_latitude":114690176,"longitude_deg":75.6596544,"latitude_deg":11.4690176,"altitude":5,"angle":119,"satellites":46,"speed":35,"hex_longitude":"2d18bf40","hex_latitude":"06d60880","is_valid_coordinates":true} 
[2026-09-25 01:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311497984001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144445896278016,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790279309000,"timestamp_ms":1790279309000,"timestamp_seconds":1790279309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f656c8"} 
[2026-09-25 01:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:21: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-25 01:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:21:17] 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-25 01:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:21: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-25 01:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311497984001,"66":27843,"13":206,"2":56576,"24":35,"16":3605341577150464,"45":1764144445896278016},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311497984001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:21:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01:21: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-25 01:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144445896278016,"description":"Unknown IO ID 45"} 
[2026-09-25 01:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311497984001,"power":27843,"unknown_13":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":1764144445896278016}} 
[2026-09-25 01:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:21:18] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:21:18] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:21:22] local.INFO: TCP Data received {"connection_id":191840,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f6a100012d19034006d5f060000600692e..."} 
[2026-09-25 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f6a100012d19034006d5f060000600692e..."} 
[2026-09-25 01:21:22] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f6a100012d19034006d5f060000600692e..."} 
[2026-09-25 01:21:22] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:22] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756613952,"raw_latitude":114684000,"longitude_deg":75.6613952,"latitude_deg":11.4684,"altitude":6,"angle":105,"satellites":46,"speed":34,"hex_longitude":"2d190340","hex_latitude":"06d5f060","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311503104001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214375566868480,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790279328000,"timestamp_ms":1790279328000,"timestamp_seconds":1790279328,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f6a100"} 
[2026-09-25 01: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-25 01: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-25 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:21:22] 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-25 01: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-25 01: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-25 01:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:21: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-25 01:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311503104001,"66":27800,"13":206,"2":56576,"24":34,"16":3605341577150464,"45":1783214375566868480},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311503104001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:21:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01: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-25 01:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214375566868480,"description":"Unknown IO ID 45"} 
[2026-09-25 01:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311503104001,"power":27800,"unknown_13":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":1783214375566868480}} 
[2026-09-25 01:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:21:23] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:21:23] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:21:32] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:32] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:32] local.INFO: IMEI packet received {"connection_id":193227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":193227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:21:37] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:37] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:21:37] local.INFO: IMEI packet received {"connection_id":193227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":193227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:21:38] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:38] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:21:38] local.INFO: Packet analysis {"connection_id":193227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:21:38] local.INFO: Extracted packet for processing {"connection_id":193227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:21: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-25 01:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":193227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:21:38] local.INFO: GPS data processed {"connection_id":193227,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:21:38] local.INFO: Acknowledgment sent {"connection_id":193227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:22:06] local.INFO: TCP Data received {"connection_id":194513,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:06] local.INFO: Processing buffer {"connection_id":194513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:06] local.INFO: IMEI packet received {"connection_id":194513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":194513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:22:09] local.INFO: TCP Data received {"connection_id":193227,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:09] local.INFO: Processing buffer {"connection_id":193227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:09] local.INFO: Packet analysis {"connection_id":193227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22:09] local.INFO: Extracted packet for processing {"connection_id":193227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01: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-25 01:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:22: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-25 01:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":193227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:22:09] local.INFO: GPS data processed {"connection_id":193227,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:22:09] local.INFO: Acknowledgment sent {"connection_id":193227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:22:10] local.INFO: TCP Data received {"connection_id":194513,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:10] local.INFO: Processing buffer {"connection_id":194513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:22:10] local.INFO: IMEI packet received {"connection_id":194513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":194513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:22:11] local.INFO: TCP Data received {"connection_id":194513,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f6f6f0012d19408006d5e108000200632b..."} 
[2026-09-25 01:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f6f6f0012d19408006d5e108000200632b..."} 
[2026-09-25 01:22:11] local.INFO: Processing buffer {"connection_id":194513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f6f6f0012d19408006d5e108000200632b..."} 
[2026-09-25 01:22:11] local.INFO: Packet analysis {"connection_id":194513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22:11] local.INFO: Extracted packet for processing {"connection_id":194513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756629632,"raw_latitude":114680072,"longitude_deg":75.6629632,"latitude_deg":11.4680072,"altitude":2,"angle":99,"satellites":43,"speed":0,"hex_longitude":"2d194080","hex_latitude":"06d5e108","is_valid_coordinates":true} 
[2026-09-25 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311507968001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802354673981612032,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790279350000,"timestamp_ms":1790279350000,"timestamp_seconds":1790279350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f6f6f0"} 
[2026-09-25 01:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:22:11] 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-25 01:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311507968001,"66":27952,"13":206,"2":56576,"24":0,"16":3605341577150464,"45":1802354673981612032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311507968001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:22:11] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01:22: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-25 01:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802354673981612032,"description":"Unknown IO ID 45"} 
[2026-09-25 01:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311507968001,"power":27952,"unknown_13":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1802354673981612032}} 
[2026-09-25 01:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":194513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:22:12] local.INFO: GPS data processed {"connection_id":194513,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:22:12] local.INFO: Acknowledgment sent {"connection_id":194513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:22:13] local.INFO: TCP Data received {"connection_id":194513,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f74128012d19810006d5d2c8000600722c..."} 
[2026-09-25 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f74128012d19810006d5d2c8000600722c..."} 
[2026-09-25 01:22:13] local.INFO: Processing buffer {"connection_id":194513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f74128012d19810006d5d2c8000600722c..."} 
[2026-09-25 01:22:13] local.INFO: Packet analysis {"connection_id":194513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:22:13] local.INFO: Extracted packet for processing {"connection_id":194513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756646144,"raw_latitude":114676424,"longitude_deg":75.6646144,"latitude_deg":11.4676424,"altitude":6,"angle":114,"satellites":44,"speed":33,"hex_longitude":"2d198100","hex_latitude":"06d5d2c8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311513600001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819595016304134144,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790279369000,"timestamp_ms":1790279369000,"timestamp_seconds":1790279369,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f74128"} 
[2026-09-25 01: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-25 01: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:22: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-25 01: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-25 01: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-25 01:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:22: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-25 01:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311513600001,"66":27876,"13":206,"2":56576,"24":33,"16":3605341577150464,"45":1819595016304134144},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311513600001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:22:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01: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-25 01:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819595016304134144,"description":"Unknown IO ID 45"} 
[2026-09-25 01:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311513600001,"power":27876,"unknown_13":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1819595016304134144}} 
[2026-09-25 01:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":194513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:22:13] local.INFO: GPS data processed {"connection_id":194513,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:22:13] local.INFO: Acknowledgment sent {"connection_id":194513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:22:27] local.INFO: TCP Data received {"connection_id":191841,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:27] local.INFO: Processing buffer {"connection_id":191841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:27] local.INFO: IMEI packet received {"connection_id":191841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":191841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:22:32] local.INFO: TCP Data received {"connection_id":191841,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:32] local.INFO: Processing buffer {"connection_id":191841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:22:32] local.INFO: IMEI packet received {"connection_id":191841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:22:33] local.INFO: TCP Data received {"connection_id":191841,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:33] local.INFO: Processing buffer {"connection_id":191841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:22:33] local.INFO: Packet analysis {"connection_id":191841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22:33] local.INFO: Extracted packet for processing {"connection_id":191841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:22: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-25 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:22: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-25 01:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:22: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-25 01:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:22: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-25 01:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:22: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-25 01:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:22: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-25 01:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":191841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:22:33] local.INFO: GPS data processed {"connection_id":191841,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:22:33] local.INFO: Acknowledgment sent {"connection_id":191841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:23:04] local.INFO: TCP Data received {"connection_id":191841,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:04] local.INFO: Processing buffer {"connection_id":191841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:04] local.INFO: Packet analysis {"connection_id":191841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:23:04] local.INFO: Extracted packet for processing {"connection_id":191841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:23: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-25 01:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23: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-25 01:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:23: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-25 01:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:23: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-25 01:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:23: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-25 01:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":191841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:23:04] local.INFO: GPS data processed {"connection_id":191841,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:23:04] local.INFO: Acknowledgment sent {"connection_id":191841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:23:27] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:27] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:27] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:23:30] local.INFO: TCP Data received {"connection_id":194513,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f79330012d19b60006d5b6f8000a00752c..."} 
[2026-09-25 01:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f79330012d19b60006d5b6f8000a00752c..."} 
[2026-09-25 01:23:30] local.INFO: Processing buffer {"connection_id":194513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f79330012d19b60006d5b6f8000a00752c..."} 
[2026-09-25 01:23:30] local.INFO: Packet analysis {"connection_id":194513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:23:30] local.INFO: Extracted packet for processing {"connection_id":194513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":114669304,"longitude_deg":75.6659712,"latitude_deg":11.4669304,"altitude":10,"angle":117,"satellites":44,"speed":28,"hex_longitude":"2d19b600","hex_latitude":"06d5b6f8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311518464001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837750152301037568,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790279390000,"timestamp_ms":1790279390000,"timestamp_seconds":1790279390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f79330"} 
[2026-09-25 01: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-25 01: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-25 01: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":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311518464001,"66":27908,"13":206,"2":56576,"24":28,"16":3605341577150464,"45":1837750152301037568},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311518464001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:23:30] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01: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-25 01:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837750152301037568,"description":"Unknown IO ID 45"} 
[2026-09-25 01:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311518464001,"power":27908,"unknown_13":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1837750152301037568}} 
[2026-09-25 01:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":194513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:23:30] local.INFO: GPS data processed {"connection_id":194513,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:23:30] local.INFO: Acknowledgment sent {"connection_id":194513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:23:32] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:32] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:23:32] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:23:33] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:33] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f61078012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:23:33] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:23:33] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f6"} 
[2026-09-25 01:23: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-25 01:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311421440001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23: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-25 01:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279291000,"timestamp_ms":1790279291000,"timestamp_seconds":1790279291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f61078"} 
[2026-09-25 01:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:23: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-25 01:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:23: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-25 01:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:23: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-25 01:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311421440001,"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-25 01:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311421440001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:23:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:23:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:23: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-25 01:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311421440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:23:33] local.INFO: GPS data processed {"connection_id":191842,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:23:33] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:23:40] local.INFO: TCP Data received {"connection_id":191664,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:40] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:40] local.INFO: IMEI packet received {"connection_id":191664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":191664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:23:41] local.INFO: TCP Data received {"connection_id":191664,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:41] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:23:41] local.INFO: IMEI packet received {"connection_id":191664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":191664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:23:42] local.INFO: TCP Data received {"connection_id":191664,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f7e538012d19edc006d59440000b00802e..."} 
[2026-09-25 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f7e538012d19edc006d59440000b00802e..."} 
[2026-09-25 01:23:42] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f7e538012d19edc006d59440000b00802e..."} 
[2026-09-25 01:23:42] local.INFO: Packet analysis {"connection_id":191664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:23:42] local.INFO: Extracted packet for processing {"connection_id":191664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f7"} 
[2026-09-25 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756673984,"raw_latitude":114660416,"longitude_deg":75.6673984,"latitude_deg":11.4660416,"altitude":11,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2d19edc0","hex_latitude":"06d59440","is_valid_coordinates":true} 
[2026-09-25 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311523840001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668326064879616,"note":"Value kept but may cause issues"} 
[2026-09-25 01:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790279411000,"timestamp_ms":1790279411000,"timestamp_seconds":1790279411,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f7e538"} 
[2026-09-25 01:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:23: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-25 01:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:23:42] 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-25 01:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:23: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-25 01:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311523840001,"66":27821,"13":206,"2":56576,"24":0,"16":3605341577150464,"45":1852668326064879616},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311523840001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:23:42] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01:23: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-25 01:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668326064879616,"description":"Unknown IO ID 45"} 
[2026-09-25 01:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311523840001,"power":27821,"unknown_13":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1852668326064879616}} 
[2026-09-25 01:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":191664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:23:43] local.INFO: GPS data processed {"connection_id":191664,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:23:43] local.INFO: Acknowledgment sent {"connection_id":191664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:24:04] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:04] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:04] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:24:04] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:24: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-25 01:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24: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-25 01:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:24: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-25 01:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:24: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-25 01:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:24: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-25 01:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:24:04] local.INFO: GPS data processed {"connection_id":191842,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:24:04] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:24:11] local.INFO: TCP Data received {"connection_id":194514,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:11] local.INFO: Processing buffer {"connection_id":194514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:11] local.INFO: IMEI packet received {"connection_id":194514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":194514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:24:16] local.INFO: TCP Data received {"connection_id":194514,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:16] local.INFO: Processing buffer {"connection_id":194514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:24:16] local.INFO: IMEI packet received {"connection_id":194514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":194514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:24:18] local.INFO: TCP Data received {"connection_id":194514,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f83740012d1a230006d56d28000c00782d..."} 
[2026-09-25 01:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f83740012d1a230006d56d28000c00782d..."} 
[2026-09-25 01:24:18] local.INFO: Processing buffer {"connection_id":194514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f83740012d1a230006d56d28000c00782d..."} 
[2026-09-25 01:24:18] local.INFO: Packet analysis {"connection_id":194514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:24:18] local.INFO: Extracted packet for processing {"connection_id":194514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756687616,"raw_latitude":114650408,"longitude_deg":75.6687616,"latitude_deg":11.4650408,"altitude":12,"angle":120,"satellites":45,"speed":0,"hex_longitude":"2d1a2300","hex_latitude":"06d56d28","is_valid_coordinates":true} 
[2026-09-25 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311529216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868360556014223360,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790279432000,"timestamp_ms":1790279432000,"timestamp_seconds":1790279432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f83740"} 
[2026-09-25 01:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:24: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-25 01:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:24: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-25 01:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":194514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":194514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":194514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:24: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-25 01:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311529216001,"66":27843,"13":206,"2":56576,"24":0,"16":3605341577150464,"45":1868360556014223360},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-09-25 01:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311529216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-25 01:24: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-25 01:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868360556014223360,"description":"Unknown IO ID 45"} 
[2026-09-25 01:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311529216001,"power":27843,"unknown_13":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1868360556014223360}} 
[2026-09-25 01:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":194514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:24:18] local.INFO: GPS data processed {"connection_id":194514,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:24:18] local.INFO: Acknowledgment sent {"connection_id":194514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:24:27] local.INFO: TCP Data received {"connection_id":193228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:27] local.INFO: Processing buffer {"connection_id":193228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:27] local.INFO: IMEI packet received {"connection_id":193228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":193228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:24:32] local.INFO: TCP Data received {"connection_id":193228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:32] local.INFO: Processing buffer {"connection_id":193228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:24:32] local.INFO: IMEI packet received {"connection_id":193228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":193228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:24:33] local.INFO: TCP Data received {"connection_id":193228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:33] local.INFO: Processing buffer {"connection_id":193228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:24:33] local.INFO: Packet analysis {"connection_id":193228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:24:33] local.INFO: Extracted packet for processing {"connection_id":193228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01: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-25 01: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-25 01:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:24: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-25 01: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-25 01: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-25 01:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:24: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-25 01:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":193228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:24:33] local.INFO: GPS data processed {"connection_id":193228,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:24:33] local.INFO: Acknowledgment sent {"connection_id":193228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:24:50] local.INFO: TCP Data received {"connection_id":194514,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f88560012d1a5cc006d54f48000d00752c..."} 
[2026-09-25 01:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f88560012d1a5cc006d54f48000d00752c..."} 
[2026-09-25 01:24:50] local.INFO: Processing buffer {"connection_id":194514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f88560012d1a5cc006d54f48000d00752c..."} 
[2026-09-25 01:24:50] local.INFO: Packet analysis {"connection_id":194514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:24:50] local.INFO: Extracted packet for processing {"connection_id":194514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756702400,"raw_latitude":114642760,"longitude_deg":75.67024,"latitude_deg":11.464276,"altitude":13,"angle":117,"satellites":44,"speed":0,"hex_longitude":"2d1a5cc0","hex_latitude":"06d54f48","is_valid_coordinates":true} 
[2026-09-25 01:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311534592001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883349098521503744,"note":"Value kept but may cause issues"} 
[2026-09-25 01:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790279452000,"timestamp_ms":1790279452000,"timestamp_seconds":1790279452,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f88560"} 
[2026-09-25 01:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:24: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-25 01:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":194514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":194514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":194514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:24: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-25 01:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311534592001,"66":27800,"11":206,"2":56576,"24":0,"16":3605341577150464,"45":1883349098521503744},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-09-25 01:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311534592001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:24:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 01:24: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-25 01:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883349098521503744,"description":"Unknown IO ID 45"} 
[2026-09-25 01:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311534592001,"power":27800,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1883349098521503744}} 
[2026-09-25 01:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":194514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:24:50] local.INFO: GPS data processed {"connection_id":194514,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:24:50] local.INFO: Acknowledgment sent {"connection_id":194514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:25:04] local.INFO: TCP Data received {"connection_id":193228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:04] local.INFO: Processing buffer {"connection_id":193228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:04] local.INFO: Packet analysis {"connection_id":193228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:25:04] local.INFO: Extracted packet for processing {"connection_id":193228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:25: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-25 01:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25: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-25 01:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:25: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-25 01:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:25: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-25 01:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25: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-25 01:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:25: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-25 01:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":193228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:25:04] local.INFO: GPS data processed {"connection_id":193228,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:25:04] local.INFO: Acknowledgment sent {"connection_id":193228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:25:06] local.INFO: TCP Data received {"connection_id":191665,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:06] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:06] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:25:11] local.INFO: TCP Data received {"connection_id":191665,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:11] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:25:11] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:25:13] local.INFO: TCP Data received {"connection_id":191665,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f8d768012d1a994006d53100000c00752d..."} 
[2026-09-25 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f8d768012d1a994006d53100000c00752d..."} 
[2026-09-25 01:25:13] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f8d768012d1a994006d53100000c00752d..."} 
[2026-09-25 01:25:13] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:25:13] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f8"} 
[2026-09-25 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756717888,"raw_latitude":114635008,"longitude_deg":75.6717888,"latitude_deg":11.4635008,"altitude":12,"angle":117,"satellites":45,"speed":0,"hex_longitude":"2d1a9940","hex_latitude":"06d53100","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311539712001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604278424586240,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790279473000,"timestamp_ms":1790279473000,"timestamp_seconds":1790279473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f8d768"} 
[2026-09-25 01: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-25 01: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-25 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:25: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-25 01: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-25 01: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-25 01:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:25: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-25 01:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311539712001,"66":27952,"11":206,"2":56576,"24":0,"16":3605341577150464,"45":1899604278424586240},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-09-25 01:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311539712001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:25:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 01: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-25 01:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604278424586240,"description":"Unknown IO ID 45"} 
[2026-09-25 01:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311539712001,"power":27952,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1899604278424586240}} 
[2026-09-25 01:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:25:13] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:25:13] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:25:32] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:32] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:32] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:25:37] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:37] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:25:37] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:25:38] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:38] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:38] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:25:38] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01: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-25 01:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25: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-25 01:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:25:38] 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":893160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:25:38] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:25:38] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:25:42] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:42] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:25:42] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:25:42] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:25: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:25: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-25 01:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:25: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-25 01:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:25:42] 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":893161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:25:42] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:25:42] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:25:52] local.INFO: TCP Data received {"connection_id":191665,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f92970012d1ad70006d50fe0000e00772c..."} 
[2026-09-25 01:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f92970012d1ad70006d50fe0000e00772c..."} 
[2026-09-25 01:25:52] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f92970012d1ad70006d50fe0000e00772c..."} 
[2026-09-25 01:25:52] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f9"} 
[2026-09-25 01:25:52] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f9"} 
[2026-09-25 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756733696,"raw_latitude":114626528,"longitude_deg":75.6733696,"latitude_deg":11.4626528,"altitude":14,"angle":119,"satellites":44,"speed":0,"hex_longitude":"2d1ad700","hex_latitude":"06d50fe0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311545088001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1916633514513596416,"note":"Value kept but may cause issues"} 
[2026-09-25 01:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790279494000,"timestamp_ms":1790279494000,"timestamp_seconds":1790279494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f92970"} 
[2026-09-25 01: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-25 01:25: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:25:52] 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-25 01: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-25 01: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-25 01:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311545088001,"66":27604,"11":206,"2":56576,"24":0,"16":3605341577150464,"45":1916633514513596416},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-09-25 01:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311545088001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:25:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 01:25: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-25 01:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1916633514513596416,"description":"Unknown IO ID 45"} 
[2026-09-25 01:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311545088001,"power":27604,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1916633514513596416}} 
[2026-09-25 01:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:25:52] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:25:52] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:26:10] local.INFO: TCP Data received {"connection_id":191843,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:10] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:10] local.INFO: IMEI packet received {"connection_id":191843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":191843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:26:16] local.INFO: TCP Data received {"connection_id":191843,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:16] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:26:16] local.INFO: IMEI packet received {"connection_id":191843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":191843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:26:18] local.INFO: TCP Data received {"connection_id":191843,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4f97b78012d1b190006d4e8d8000f007228..."} 
[2026-09-25 01:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4f97b78012d1b190006d4e8d8000f007228..."} 
[2026-09-25 01:26:18] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4f97b78012d1b190006d4e8d8000f007228..."} 
[2026-09-25 01:26:18] local.INFO: Packet analysis {"connection_id":191843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4f9"} 
[2026-09-25 01:26:18] local.INFO: Extracted packet for processing {"connection_id":191843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4f9"} 
[2026-09-25 01:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756750592,"raw_latitude":114616536,"longitude_deg":75.6750592,"latitude_deg":11.4616536,"altitude":15,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d1b1900","hex_latitude":"06d4e8d8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311550464001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934014594323308544,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790279515000,"timestamp_ms":1790279515000,"timestamp_seconds":1790279515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4f97b78"} 
[2026-09-25 01: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-25 01:26: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-25 01: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 01:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:26: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-25 01:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311550464001,"66":28006,"11":206,"2":56576,"24":0,"16":3605341577150464,"45":1934014594323308544},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-09-25 01:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311550464001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:26:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 01: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-25 01:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934014594323308544,"description":"Unknown IO ID 45"} 
[2026-09-25 01:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311550464001,"power":28006,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1934014594323308544}} 
[2026-09-25 01:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":191843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:26:18] local.INFO: GPS data processed {"connection_id":191843,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:26:18] local.INFO: Acknowledgment sent {"connection_id":191843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:26:21] local.INFO: TCP Data received {"connection_id":191843,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fa61f00100000000000000000000000000..."} 
[2026-09-25 01:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fa61f00100000000000000000000000000..."} 
[2026-09-25 01:26:21] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fa61f00100000000000000000000000000..."} 
[2026-09-25 01:26:21] local.INFO: Packet analysis {"connection_id":191843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:26:21] local.INFO: Extracted packet for processing {"connection_id":191843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:26: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-25 01:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311555840001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952591942783653888,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790279574000,"timestamp_ms":1790279574000,"timestamp_seconds":1790279574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fa61f0"} 
[2026-09-25 01:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:26: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-25 01:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 01:26:21] 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-25 01:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:26: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-25 01:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":191843,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:26:21] local.INFO: GPS data processed {"connection_id":191843,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:26:21] local.INFO: Acknowledgment sent {"connection_id":191843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:26:27] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:27] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:27] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:26:32] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:32] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:26:32] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:26:33] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:26:33] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:26:33] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:26:33] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01: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-25 01:26: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:26: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-25 01: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-25 01: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-25 01:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:26: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-25 01:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:26:33] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:26:33] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:27:04] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:04] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:04] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:27:04] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01: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-25 01:27: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:27: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-25 01: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-25 01: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-25 01:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:27: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-25 01:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:27:04] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:27:04] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:27:05] local.INFO: TCP Data received {"connection_id":191667,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:05] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:05] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:27:11] local.INFO: TCP Data received {"connection_id":191667,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:11] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:27:11] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:27:12] local.INFO: TCP Data received {"connection_id":191667,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fcfde8012d1d2e4006d2e810000f00a030..."} 
[2026-09-25 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fcfde8012d1d2e4006d2e810000f00a030..."} 
[2026-09-25 01:27:12] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fcfde8012d1d2e4006d2e810000f00a030..."} 
[2026-09-25 01:27:12] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fc"} 
[2026-09-25 01:27:12] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fc"} 
[2026-09-25 01:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756887104,"raw_latitude":114485264,"longitude_deg":75.6887104,"latitude_deg":11.4485264,"altitude":15,"angle":160,"satellites":48,"speed":14,"hex_longitude":"2d1d2e40","hex_latitude":"06d2e810","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790279745000,"timestamp_ms":1790279745000,"timestamp_seconds":1790279745,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fcfde8"} 
[2026-09-25 01: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-25 01:27: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:27: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-25 01: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-25 01: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-25 01:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"110":206,"2":56576,"24":14,"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,110,2,24,16]} 
[2026-09-25 01:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:27:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 01: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-25 01:27:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_110":206,"power_alt":56576,"ignition":14,"odometer":null}} 
[2026-09-25 01:27:12] 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":893166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:27:12] local.INFO: GPS data processed {"connection_id":191667,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:27:12] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:27:27] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:27] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:27] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:27:32] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:32] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:27:32] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:27:33] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:33] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:27:33] local.INFO: Packet analysis {"connection_id":191668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:27:33] local.INFO: Extracted packet for processing {"connection_id":191668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:27: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-25 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27: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-25 01:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:27: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-25 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:27: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-25 01:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:27: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-25 01:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:27: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-25 01:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":191668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:27:33] local.INFO: GPS data processed {"connection_id":191668,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:27:33] local.INFO: Acknowledgment sent {"connection_id":191668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:27:43] local.INFO: TCP Data received {"connection_id":191667,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fde4600100000000000000000000000000..."} 
[2026-09-25 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fde4600100000000000000000000000000..."} 
[2026-09-25 01:27:43] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fde4600100000000000000000000000000..."} 
[2026-09-25 01:27:43] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:27:43] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:27: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-25 01: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-25 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311614720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2102688474081005568,"note":"Value kept but may cause issues"} 
[2026-09-25 01:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790279804000,"timestamp_ms":1790279804000,"timestamp_seconds":1790279804,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fde460"} 
[2026-09-25 01: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-25 01:27: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-25 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:27:43] 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-25 01: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-25 01: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-25 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:27: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-25 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":191667,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:27:43] local.INFO: GPS data processed {"connection_id":191667,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:27:43] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:28:04] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:04] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:04] local.INFO: Packet analysis {"connection_id":191668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:28:04] local.INFO: Extracted packet for processing {"connection_id":191668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:28: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-25 01:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28: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-25 01:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:28: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-25 01:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:28: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-25 01:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:28: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-25 01:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:28: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-25 01:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":191668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:28:04] local.INFO: GPS data processed {"connection_id":191668,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:28:04] local.INFO: Acknowledgment sent {"connection_id":191668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:28:05] local.INFO: TCP Data received {"connection_id":193229,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:05] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:05] local.INFO: IMEI packet received {"connection_id":193229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":193229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:28:10] local.INFO: TCP Data received {"connection_id":193229,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:10] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:28:10] local.INFO: IMEI packet received {"connection_id":193229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":193229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:28:11] local.INFO: TCP Data received {"connection_id":193229,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fd6378012d1d49c006d2ae08000e009330..."} 
[2026-09-25 01:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fd6378012d1d49c006d2ae08000e009330..."} 
[2026-09-25 01:28:11] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fd6378012d1d49c006d2ae08000e009330..."} 
[2026-09-25 01:28:11] local.INFO: Packet analysis {"connection_id":193229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:28:11] local.INFO: Extracted packet for processing {"connection_id":193229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756894144,"raw_latitude":114470408,"longitude_deg":75.6894144,"latitude_deg":11.4470408,"altitude":14,"angle":147,"satellites":48,"speed":34,"hex_longitude":"2d1d49c0","hex_latitude":"06d2ae08","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790279771000,"timestamp_ms":1790279771000,"timestamp_seconds":1790279771,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fd6378"} 
[2026-09-25 01: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-25 01:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 01:28:11] 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-25 01: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-25 01: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-25 01:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"79":206,"2":56576,"24":34,"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,79,2,24,16]} 
[2026-09-25 01:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:28:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-25 01:28: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-25 01:28:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_79":206,"power_alt":56576,"ignition":34,"odometer":null}} 
[2026-09-25 01:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":193229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:28:12] local.INFO: GPS data processed {"connection_id":193229,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:28:12] local.INFO: Acknowledgment sent {"connection_id":193229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:28:27] local.INFO: TCP Data received {"connection_id":191845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:27] local.INFO: Processing buffer {"connection_id":191845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:27] local.INFO: IMEI packet received {"connection_id":191845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":191845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:28:32] local.INFO: TCP Data received {"connection_id":191845,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:32] local.INFO: Processing buffer {"connection_id":191845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:28:32] local.INFO: IMEI packet received {"connection_id":191845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:28:33] local.INFO: TCP Data received {"connection_id":191845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:33] local.INFO: Processing buffer {"connection_id":191845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4faa840012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:28:33] local.INFO: Packet analysis {"connection_id":191845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01:28:33] local.INFO: Extracted packet for processing {"connection_id":191845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fa"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311498496001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279592000,"timestamp_ms":1790279592000,"timestamp_seconds":1790279592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4faa840"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:28: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-25 01: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-25 01: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-25 01:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:28: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-25 01:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311498496001,"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-25 01:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311498496001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:28:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311498496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":191845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:28:33] local.INFO: GPS data processed {"connection_id":191845,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:28:33] local.INFO: Acknowledgment sent {"connection_id":191845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:28:43] local.INFO: TCP Data received {"connection_id":193229,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fdb580012d1d6a0006d26d30000c00952f..."} 
[2026-09-25 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fdb580012d1d6a0006d26d30000c00952f..."} 
[2026-09-25 01:28:43] local.INFO: Processing buffer {"connection_id":193229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fdb580012d1d6a0006d26d30000c00952f..."} 
[2026-09-25 01:28:43] local.INFO: Packet analysis {"connection_id":193229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:28:43] local.INFO: Extracted packet for processing {"connection_id":193229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756902400,"raw_latitude":114453808,"longitude_deg":75.69024,"latitude_deg":11.4453808,"altitude":12,"angle":149,"satellites":47,"speed":0,"hex_longitude":"2d1d6a00","hex_latitude":"06d26d30","is_valid_coordinates":true} 
[2026-09-25 01:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311621376001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2110429035936745472,"note":"Value kept but may cause issues"} 
[2026-09-25 01:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790279792000,"timestamp_ms":1790279792000,"timestamp_seconds":1790279792,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fdb580"} 
[2026-09-25 01:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:28: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-25 01:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:28:43] 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-25 01:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311621376001,"66":27821,"79":206,"2":56576,"24":0,"16":3605341577150464,"45":2110429035936745472},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-09-25 01:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311621376001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:28:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-25 01: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-25 01:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2110429035936745472,"description":"Unknown IO ID 45"} 
[2026-09-25 01:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311621376001,"power":27821,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2110429035936745472}} 
[2026-09-25 01:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":193229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:28:43] local.INFO: GPS data processed {"connection_id":193229,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:28:43] local.INFO: Acknowledgment sent {"connection_id":193229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:29:04] local.INFO: TCP Data received {"connection_id":191845,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:04] local.INFO: Processing buffer {"connection_id":191845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:04] local.INFO: Packet analysis {"connection_id":191845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:29:04] local.INFO: Extracted packet for processing {"connection_id":191845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:29: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-25 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29: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-25 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:29: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-25 01:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:29: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-25 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:29: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-25 01:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":191845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:29:04] local.INFO: GPS data processed {"connection_id":191845,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:29:04] local.INFO: Acknowledgment sent {"connection_id":191845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:29:05] local.INFO: TCP Data received {"connection_id":191846,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:05] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:05] local.INFO: IMEI packet received {"connection_id":191846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":191846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:29:11] local.INFO: TCP Data received {"connection_id":191846,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:11] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:29:11] local.INFO: IMEI packet received {"connection_id":191846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:29:13] local.INFO: TCP Data received {"connection_id":191846,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fdf7e8012d1d954006d23570000f008230..."} 
[2026-09-25 01:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fdf7e8012d1d954006d23570000f008230..."} 
[2026-09-25 01:29:13] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fdf7e8012d1d954006d23570000f008230..."} 
[2026-09-25 01:29:13] local.INFO: Packet analysis {"connection_id":191846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:29:13] local.INFO: Extracted packet for processing {"connection_id":191846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fd"} 
[2026-09-25 01:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756913472,"raw_latitude":114439536,"longitude_deg":75.6913472,"latitude_deg":11.4439536,"altitude":15,"angle":130,"satellites":48,"speed":33,"hex_longitude":"2d1d9540","hex_latitude":"06d23570","is_valid_coordinates":true} 
[2026-09-25 01:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311626752001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119506603931414528,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790279809000,"timestamp_ms":1790279809000,"timestamp_seconds":1790279809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fdf7e8"} 
[2026-09-25 01:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:29: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-25 01:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:29: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-25 01:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:29: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-25 01:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311626752001,"66":27908,"79":206,"2":56576,"24":33,"16":3605341577150464,"45":2119506603931414528},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-09-25 01:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311626752001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:29:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-25 01:29: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-25 01:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119506603931414528,"description":"Unknown IO ID 45"} 
[2026-09-25 01:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311626752001,"power":27908,"unknown_79":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2119506603931414528}} 
[2026-09-25 01:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":191846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:29:13] local.INFO: GPS data processed {"connection_id":191846,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:29:13] local.INFO: Acknowledgment sent {"connection_id":191846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:29:26] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:26] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:26] local.INFO: IMEI packet received {"connection_id":193230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":193230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:29:32] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:32] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:29:32] local.INFO: IMEI packet received {"connection_id":193230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":193230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:29:33] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:33] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:29:33] local.INFO: Packet analysis {"connection_id":193230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:29:33] local.INFO: Extracted packet for processing {"connection_id":193230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:29: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-25 01: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-25 01: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-25 01:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:29: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-25 01:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"66":25495,"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-25 01:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:29:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":193230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:29:33] local.INFO: GPS data processed {"connection_id":193230,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:29:33] local.INFO: Acknowledgment sent {"connection_id":193230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:29:44] local.INFO: TCP Data received {"connection_id":191846,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fede600100000000000000000000000000..."} 
[2026-09-25 01:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fede600100000000000000000000000000..."} 
[2026-09-25 01:29:44] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fede600100000000000000000000000000..."} 
[2026-09-25 01:29:44] local.INFO: Packet analysis {"connection_id":191846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:29:44] local.INFO: Extracted packet for processing {"connection_id":191846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:29: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-25 01:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311631104001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2131680396670496768,"note":"Value kept but may cause issues"} 
[2026-09-25 01:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790279868000,"timestamp_ms":1790279868000,"timestamp_seconds":1790279868,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fede60"} 
[2026-09-25 01:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:29: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-25 01:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":191846,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:29:44] local.INFO: GPS data processed {"connection_id":191846,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:29:44] local.INFO: Acknowledgment sent {"connection_id":191846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:30:04] local.INFO: TCP Data received {"connection_id":193230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:04] local.INFO: Processing buffer {"connection_id":193230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:04] local.INFO: Packet analysis {"connection_id":193230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:30:04] local.INFO: Extracted packet for processing {"connection_id":193230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:30: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-25 01: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-25 01: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-25 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30:04] local.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-25 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"66":25495,"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-25 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":193230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:30:04] local.INFO: GPS data processed {"connection_id":193230,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:30:04] local.INFO: Acknowledgment sent {"connection_id":193230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:30:05] local.INFO: TCP Data received {"connection_id":193231,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:05] local.INFO: Processing buffer {"connection_id":193231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:05] local.INFO: IMEI packet received {"connection_id":193231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":193231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:30:10] local.INFO: TCP Data received {"connection_id":193231,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:10] local.INFO: Processing buffer {"connection_id":193231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:30:10] local.INFO: IMEI packet received {"connection_id":193231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":193231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:30:12] local.INFO: TCP Data received {"connection_id":193231,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fe6d18012d1dba8006d216100010008230..."} 
[2026-09-25 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fe6d18012d1dba8006d216100010008230..."} 
[2026-09-25 01:30:12] local.INFO: Processing buffer {"connection_id":193231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fe6d18012d1dba8006d216100010008230..."} 
[2026-09-25 01:30:12] local.INFO: Packet analysis {"connection_id":193231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:30:12] local.INFO: Extracted packet for processing {"connection_id":193231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756923008,"raw_latitude":114431504,"longitude_deg":75.6923008,"latitude_deg":11.4431504,"altitude":16,"angle":130,"satellites":48,"speed":16,"hex_longitude":"2d1dba80","hex_latitude":"06d21610","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790279839000,"timestamp_ms":1790279839000,"timestamp_seconds":1790279839,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fe6d18"} 
[2026-09-25 01: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-25 01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:30: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-25 01: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-25 01: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-25 01:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"79":206,"2":56576,"24":16,"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,79,2,24,16]} 
[2026-09-25 01:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:30:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-25 01: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-25 01:30:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_79":206,"power_alt":56576,"ignition":16,"odometer":null}} 
[2026-09-25 01:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":193231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:30:12] local.INFO: GPS data processed {"connection_id":193231,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:30:12] local.INFO: Acknowledgment sent {"connection_id":193231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:30:32] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:32] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:32] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:30:37] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:37] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:30:37] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:30:38] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:38] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:38] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:30:38] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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-25 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:30: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-25 01:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:30:38] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:30:38] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:30:43] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:43] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:30:43] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:30:43] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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-25 01: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-25 01:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:30: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-25 01: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-25 01: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-25 01:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:30: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-25 01:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:30:43] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:30:43] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:30:44] local.INFO: TCP Data received {"connection_id":193231,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff53900100000000000000000000000000..."} 
[2026-09-25 01:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff53900100000000000000000000000000..."} 
[2026-09-25 01:30:44] local.INFO: Processing buffer {"connection_id":193231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff53900100000000000000000000000000..."} 
[2026-09-25 01:30:44] local.INFO: Packet analysis {"connection_id":193231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:30:44] local.INFO: Extracted packet for processing {"connection_id":193231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:30: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-25 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311638784001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2142165339550912512,"note":"Value kept but may cause issues"} 
[2026-09-25 01:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790279898000,"timestamp_ms":1790279898000,"timestamp_seconds":1790279898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff5390"} 
[2026-09-25 01:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 01:30: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-25 01:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:30: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-25 01:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":193231,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:30:44] local.INFO: GPS data processed {"connection_id":193231,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:30:44] local.INFO: Acknowledgment sent {"connection_id":193231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:31:11] local.INFO: TCP Data received {"connection_id":193232,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:11] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:11] local.INFO: IMEI packet received {"connection_id":193232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":193232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:31:16] local.INFO: TCP Data received {"connection_id":193232,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:16] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:31:16] local.INFO: IMEI packet received {"connection_id":193232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":193232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:31:17] local.INFO: TCP Data received {"connection_id":193232,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4fecec0012d1de08006d1f348000d008230..."} 
[2026-09-25 01:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4fecec0012d1de08006d1f348000d008230..."} 
[2026-09-25 01:31:17] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4fecec0012d1de08006d1f348000d008230..."} 
[2026-09-25 01:31:17] local.INFO: Packet analysis {"connection_id":193232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:31:17] local.INFO: Extracted packet for processing {"connection_id":193232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4fe"} 
[2026-09-25 01:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756932736,"raw_latitude":114422600,"longitude_deg":75.6932736,"latitude_deg":11.44226,"altitude":13,"angle":130,"satellites":48,"speed":17,"hex_longitude":"2d1de080","hex_latitude":"06d1f348","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,78,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790279864000,"timestamp_ms":1790279864000,"timestamp_seconds":1790279864,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4fecec0"} 
[2026-09-25 01: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-25 01:31: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:31:17] 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-25 01: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-25 01: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-25 01:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31: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-25 01:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"78":206,"2":56576,"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,78,2,24,16]} 
[2026-09-25 01:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:31:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01: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-25 01:31:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_78":206,"power_alt":56576,"ignition":17,"odometer":null}} 
[2026-09-25 01:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":193232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:31:17] local.INFO: GPS data processed {"connection_id":193232,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:31:17] local.INFO: Acknowledgment sent {"connection_id":193232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:31:18] local.INFO: TCP Data received {"connection_id":193232,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ffb5380100000000000000000000000000..."} 
[2026-09-25 01:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ffb5380100000000000000000000000000..."} 
[2026-09-25 01:31:18] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ffb5380100000000000000000000000000..."} 
[2026-09-25 01:31:18] local.INFO: Packet analysis {"connection_id":193232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:31:18] local.INFO: Extracted packet for processing {"connection_id":193232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:31: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-25 01:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311645184001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2152861388663638016,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790279923000,"timestamp_ms":1790279923000,"timestamp_seconds":1790279923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ffb538"} 
[2026-09-25 01:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:31: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-25 01:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 01:31:18] 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-25 01:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":193232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31: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-25 01:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":193232,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:31:18] local.INFO: GPS data processed {"connection_id":193232,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:31:18] local.INFO: Acknowledgment sent {"connection_id":193232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:31:27] local.INFO: TCP Data received {"connection_id":194515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:27] local.INFO: Processing buffer {"connection_id":194515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:27] local.INFO: IMEI packet received {"connection_id":194515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":194515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:31:32] local.INFO: TCP Data received {"connection_id":194515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:32] local.INFO: Processing buffer {"connection_id":194515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:31:32] local.INFO: IMEI packet received {"connection_id":194515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":194515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:31:33] local.INFO: TCP Data received {"connection_id":194515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:31:33] local.INFO: Processing buffer {"connection_id":194515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:31:33] local.INFO: Packet analysis {"connection_id":194515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:31:33] local.INFO: Extracted packet for processing {"connection_id":194515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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-25 01: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-25 01:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:31: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-25 01: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-25 01: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-25 01:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:31: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-25 01:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:31:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:31:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":194515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:31:33] local.INFO: GPS data processed {"connection_id":194515,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:31:33] local.INFO: Acknowledgment sent {"connection_id":194515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:31:49] local.INFO: TCP Data received {"connection_id":193232,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff3838012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff3838012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:31:49] local.INFO: Processing buffer {"connection_id":193232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff3838012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:31:49] local.INFO: Packet analysis {"connection_id":193232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:31:49] local.INFO: Extracted packet for processing {"connection_id":193232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756940480,"raw_latitude":114412912,"longitude_deg":75.694048,"latitude_deg":11.4412912,"altitude":13,"angle":148,"satellites":45,"speed":9,"hex_longitude":"2d1dfec0","hex_latitude":"06d1cd70","is_valid_coordinates":true} 
[2026-09-25 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:31:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790279891000,"timestamp_ms":1790279891000,"timestamp_seconds":1790279891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff3838"} 
[2026-09-25 01:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:31:49] 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-25 01:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:31: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-25 01:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"77":206,"2":56576,"24":9,"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,77,2,24,16]} 
[2026-09-25 01:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:31:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-25 01: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-25 01:31:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_77":206,"power_alt":56576,"ignition":9,"odometer":null}} 
[2026-09-25 01:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":193232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:31:49] local.INFO: GPS data processed {"connection_id":193232,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:31:49] local.INFO: Acknowledgment sent {"connection_id":193232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:32:04] local.INFO: TCP Data received {"connection_id":194515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:04] local.INFO: Processing buffer {"connection_id":194515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:04] local.INFO: Packet analysis {"connection_id":194515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:04] local.INFO: Extracted packet for processing {"connection_id":194515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32: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-25 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32: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-25 01:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:32: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-25 01:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:32: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-25 01:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":194515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:32:04] local.INFO: GPS data processed {"connection_id":194515,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:32:04] local.INFO: Acknowledgment sent {"connection_id":194515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:32:06] local.INFO: TCP Data received {"connection_id":194516,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:06] local.INFO: Processing buffer {"connection_id":194516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:06] local.INFO: IMEI packet received {"connection_id":194516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":194516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:32:11] local.INFO: TCP Data received {"connection_id":194516,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:11] local.INFO: Processing buffer {"connection_id":194516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:32:11] local.INFO: IMEI packet received {"connection_id":194516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":194516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:32:12] local.INFO: TCP Data received {"connection_id":194516,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff8a40012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff8a40012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:32:12] local.INFO: Processing buffer {"connection_id":194516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff8a40012d1dfec006d1cd70000d00942d..."} 
[2026-09-25 01:32:12] local.INFO: Packet analysis {"connection_id":194516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:12] local.INFO: Extracted packet for processing {"connection_id":194516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756940480,"raw_latitude":114412912,"longitude_deg":75.694048,"latitude_deg":11.4412912,"altitude":13,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d1dfec0","hex_latitude":"06d1cd70","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652096001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161376006706655232,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790279912000,"timestamp_ms":1790279912000,"timestamp_seconds":1790279912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff8a40"} 
[2026-09-25 01: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-25 01:32: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-25 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:32: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-25 01: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-25 01: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-25 01:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652096001,"66":27908,"77":206,"2":56576,"24":0,"16":3605341577150464,"45":2161376006706655232},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-09-25 01:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652096001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:32:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-25 01: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-25 01:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161376006706655232,"description":"Unknown IO ID 45"} 
[2026-09-25 01:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652096001,"power":27908,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2161376006706655232}} 
[2026-09-25 01:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":194516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:32:12] local.INFO: GPS data processed {"connection_id":194516,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:32:12] local.INFO: Acknowledgment sent {"connection_id":194516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:32:16] local.INFO: TCP Data received {"connection_id":194516,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ffe030012d1e1f8006d19da00013009a31..."} 
[2026-09-25 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ffe030012d1e1f8006d19da00013009a31..."} 
[2026-09-25 01:32:16] local.INFO: Processing buffer {"connection_id":194516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ffe030012d1e1f8006d19da00013009a31..."} 
[2026-09-25 01:32:16] local.INFO: Packet analysis {"connection_id":194516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:16] local.INFO: Extracted packet for processing {"connection_id":194516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756948864,"raw_latitude":114400672,"longitude_deg":75.6948864,"latitude_deg":11.4400672,"altitude":19,"angle":154,"satellites":49,"speed":0,"hex_longitude":"2d1e1f80","hex_latitude":"06d19da0","is_valid_coordinates":true} 
[2026-09-25 01:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311657472001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161376006706655232,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790279934000,"timestamp_ms":1790279934000,"timestamp_seconds":1790279934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ffe030"} 
[2026-09-25 01:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:32: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-25 01:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:32:16] 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-25 01:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:32: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-25 01:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311657472001,"66":27767,"77":206,"2":56576,"24":0,"16":3605341577150464,"45":2161376006706655232},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-09-25 01:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311657472001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:32:16] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-25 01:32: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-25 01:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161376006706655232,"description":"Unknown IO ID 45"} 
[2026-09-25 01:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311657472001,"power":27767,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2161376006706655232}} 
[2026-09-25 01:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":194516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:32:16] local.INFO: GPS data processed {"connection_id":194516,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:32:16] local.INFO: Acknowledgment sent {"connection_id":194516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:32:27] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:27] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:27] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:32:32] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:32] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:32:32] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:32:33] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:33] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:32:33] local.INFO: Packet analysis {"connection_id":191848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:32:33] local.INFO: Extracted packet for processing {"connection_id":191848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01:32: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:32: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-25 01: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-25 01: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-25 01:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:32: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-25 01:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":191848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:32:33] local.INFO: GPS data processed {"connection_id":191848,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:32:33] local.INFO: Acknowledgment sent {"connection_id":191848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:32:49] local.INFO: TCP Data received {"connection_id":194516,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5003238012d1e384006d16410001100942d..."} 
[2026-09-25 01:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5003238012d1e384006d16410001100942d..."} 
[2026-09-25 01:32:49] local.INFO: Processing buffer {"connection_id":194516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5003238012d1e384006d16410001100942d..."} 
[2026-09-25 01:32:49] local.INFO: Packet analysis {"connection_id":194516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:32:49] local.INFO: Extracted packet for processing {"connection_id":194516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756955200,"raw_latitude":114385936,"longitude_deg":75.69552,"latitude_deg":11.4385936,"altitude":17,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d1e3840","hex_latitude":"06d16410","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311663104001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170594312190795776,"note":"Value kept but may cause issues"} 
[2026-09-25 01:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790279955000,"timestamp_ms":1790279955000,"timestamp_seconds":1790279955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5003238"} 
[2026-09-25 01: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-25 01:32: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:32:49] 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-25 01: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-25 01: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-25 01:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":194516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":194516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:32: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-25 01:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311663104001,"66":27952,"78":206,"2":56576,"24":0,"16":3605341577150464,"45":2170594312190795776},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-09-25 01:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311663104001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:32:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01:32: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-25 01:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2170594312190795776,"description":"Unknown IO ID 45"} 
[2026-09-25 01:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311663104001,"power":27952,"unknown_78":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2170594312190795776}} 
[2026-09-25 01:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":194516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:32:49] local.INFO: GPS data processed {"connection_id":194516,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:32:49] local.INFO: Acknowledgment sent {"connection_id":194516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:33:04] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:04] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:04] local.INFO: Packet analysis {"connection_id":191848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:33:04] local.INFO: Extracted packet for processing {"connection_id":191848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:33: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-25 01:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33: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-25 01:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:33: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-25 01:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":191848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:33:04] local.INFO: GPS data processed {"connection_id":191848,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:33:04] local.INFO: Acknowledgment sent {"connection_id":191848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:33:05] local.INFO: TCP Data received {"connection_id":194517,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:05] local.INFO: Processing buffer {"connection_id":194517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:05] local.INFO: IMEI packet received {"connection_id":194517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":194517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:33:11] local.INFO: TCP Data received {"connection_id":194517,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:11] local.INFO: Processing buffer {"connection_id":194517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:33:11] local.INFO: IMEI packet received {"connection_id":194517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":194517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:33:14] local.INFO: TCP Data received {"connection_id":194517,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5008058012d1e59c006d133c8001000902f..."} 
[2026-09-25 01:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5008058012d1e59c006d133c8001000902f..."} 
[2026-09-25 01:33:14] local.INFO: Processing buffer {"connection_id":194517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5008058012d1e59c006d133c8001000902f..."} 
[2026-09-25 01:33:14] local.INFO: Packet analysis {"connection_id":194517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:33:14] local.INFO: Extracted packet for processing {"connection_id":194517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756963776,"raw_latitude":114373576,"longitude_deg":75.6963776,"latitude_deg":11.4373576,"altitude":16,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d1e59c0","hex_latitude":"06d133c8","is_valid_coordinates":true} 
[2026-09-25 01:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311668480001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2177560817860612096,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790279975000,"timestamp_ms":1790279975000,"timestamp_seconds":1790279975,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5008058"} 
[2026-09-25 01:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:33: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-25 01:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:33: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-25 01:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:33: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-25 01:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311668480001,"66":27745,"78":206,"2":56576,"24":0,"16":3605341577150464,"45":2177560817860612096},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-09-25 01:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311668480001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:33:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01:33: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-25 01:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2177560817860612096,"description":"Unknown IO ID 45"} 
[2026-09-25 01:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311668480001,"power":27745,"unknown_78":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2177560817860612096}} 
[2026-09-25 01:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":194517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:33:14] local.INFO: GPS data processed {"connection_id":194517,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:33:14] local.INFO: Acknowledgment sent {"connection_id":194517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:33:27] local.INFO: TCP Data received {"connection_id":194518,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:27] local.INFO: Processing buffer {"connection_id":194518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:27] local.INFO: IMEI packet received {"connection_id":194518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":194518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:33:32] local.INFO: TCP Data received {"connection_id":194518,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:32] local.INFO: Processing buffer {"connection_id":194518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:33:32] local.INFO: IMEI packet received {"connection_id":194518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":194518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:33:34] local.INFO: TCP Data received {"connection_id":194518,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:34] local.INFO: Processing buffer {"connection_id":194518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d4ff4008012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:33:34] local.INFO: Packet analysis {"connection_id":194518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01:33:34] local.INFO: Extracted packet for processing {"connection_id":194518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d4ff"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311575552001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790279893000,"timestamp_ms":1790279893000,"timestamp_seconds":1790279893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d4ff4008"} 
[2026-09-25 01: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-25 01:33: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:33: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-25 01: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-25 01: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-25 01:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:33: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-25 01:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311575552001,"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-25 01:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311575552001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311575552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":194518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:33:34] local.INFO: GPS data processed {"connection_id":194518,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:33:34] local.INFO: Acknowledgment sent {"connection_id":194518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:33:46] local.INFO: TCP Data received {"connection_id":194517,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d500d260012d1e7e4006d101a8001300902f..."} 
[2026-09-25 01:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d500d260012d1e7e4006d101a8001300902f..."} 
[2026-09-25 01:33:46] local.INFO: Processing buffer {"connection_id":194517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d500d260012d1e7e4006d101a8001300902f..."} 
[2026-09-25 01:33:46] local.INFO: Packet analysis {"connection_id":194517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:33:46] local.INFO: Extracted packet for processing {"connection_id":194517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d500"} 
[2026-09-25 01:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756973120,"raw_latitude":114360744,"longitude_deg":75.697312,"latitude_deg":11.4360744,"altitude":19,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d1e7e40","hex_latitude":"06d101a8","is_valid_coordinates":true} 
[2026-09-25 01:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186990229577254912,"note":"Value kept but may cause issues"} 
[2026-09-25 01:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790279996000,"timestamp_ms":1790279996000,"timestamp_seconds":1790279996,"priority":1,"record_length":96,"hex_timestamp":"000001a0d500d260"} 
[2026-09-25 01:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:33: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-25 01:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:33:46] 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-25 01:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:33: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-25 01:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311673600001,"66":27843,"78":206,"2":56576,"24":0,"16":3605341577150464,"45":2186990229577254912},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-09-25 01:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:33:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01:33: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-25 01:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2186990229577254912,"description":"Unknown IO ID 45"} 
[2026-09-25 01:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311673600001,"power":27843,"unknown_78":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2186990229577254912}} 
[2026-09-25 01:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":194517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:33:46] local.INFO: GPS data processed {"connection_id":194517,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:33:46] local.INFO: Acknowledgment sent {"connection_id":194517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:34:05] local.INFO: TCP Data received {"connection_id":193233,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:05] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:05] local.INFO: IMEI packet received {"connection_id":193233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":193233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:34:06] local.INFO: TCP Data received {"connection_id":194518,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:06] local.INFO: Processing buffer {"connection_id":194518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:06] local.INFO: Packet analysis {"connection_id":194518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:34:06] local.INFO: Extracted packet for processing {"connection_id":194518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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-25 01: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-25 01:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:34: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-25 01: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-25 01: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-25 01:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34: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-25 01:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":194518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:34:06] local.INFO: GPS data processed {"connection_id":194518,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:34:06] local.INFO: Acknowledgment sent {"connection_id":194518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:34:11] local.INFO: TCP Data received {"connection_id":193233,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:11] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:34:11] local.INFO: IMEI packet received {"connection_id":193233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":193233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:34:12] local.INFO: TCP Data received {"connection_id":193233,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5012468012d1e9d8006d0d178001300942f..."} 
[2026-09-25 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5012468012d1e9d8006d0d178001300942f..."} 
[2026-09-25 01:34:12] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5012468012d1e9d8006d0d178001300942f..."} 
[2026-09-25 01:34:12] local.INFO: Packet analysis {"connection_id":193233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d501"} 
[2026-09-25 01:34:12] local.INFO: Extracted packet for processing {"connection_id":193233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d501"} 
[2026-09-25 01:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756981120,"raw_latitude":114348408,"longitude_deg":75.698112,"latitude_deg":11.4348408,"altitude":19,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d1e9d80","hex_latitude":"06d0d178","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311678976001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197264066223908864,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280017000,"timestamp_ms":1790280017000,"timestamp_seconds":1790280017,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5012468"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:34: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-25 01:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311678976001,"66":28006,"78":206,"2":56576,"24":0,"16":3605341577150464,"45":2197264066223908864},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-09-25 01:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311678976001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:34:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01: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-25 01:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2197264066223908864,"description":"Unknown IO ID 45"} 
[2026-09-25 01:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311678976001,"power":28006,"unknown_78":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2197264066223908864}} 
[2026-09-25 01:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":193233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:34:12] local.INFO: GPS data processed {"connection_id":193233,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:34:12] local.INFO: Acknowledgment sent {"connection_id":193233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:34:32] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:32] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:32] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:34:37] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:37] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:34:37] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:34:38] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:38] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:38] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:34:38] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01: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-25 01:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:34:38] 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":893193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:34:38] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:34:38] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:34:42] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:42] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:34:42] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:34:42] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:34: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:34: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-25 01:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:34: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-25 01:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:34:42] 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":893194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:34:42] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:34:42] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:34:44] local.INFO: TCP Data received {"connection_id":193233,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5017670012d1eba4006d0a6300011009530..."} 
[2026-09-25 01:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5017670012d1eba4006d0a6300011009530..."} 
[2026-09-25 01:34:44] local.INFO: Processing buffer {"connection_id":193233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5017670012d1eba4006d0a6300011009530..."} 
[2026-09-25 01:34:44] local.INFO: Packet analysis {"connection_id":193233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d501"} 
[2026-09-25 01:34:44] local.INFO: Extracted packet for processing {"connection_id":193233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d501"} 
[2026-09-25 01:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756988480,"raw_latitude":114337328,"longitude_deg":75.698848,"latitude_deg":11.4337328,"altitude":17,"angle":149,"satellites":48,"speed":20,"hex_longitude":"2d1eba40","hex_latitude":"06d0a630","is_valid_coordinates":true} 
[2026-09-25 01:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311684352001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2206060159242958848,"note":"Value kept but may cause issues"} 
[2026-09-25 01:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280038000,"timestamp_ms":1790280038000,"timestamp_seconds":1790280038,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5017670"} 
[2026-09-25 01:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:34: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-25 01:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 01:34:44] 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-25 01:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:34: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-25 01:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311684352001,"66":27767,"78":206,"2":56576,"24":20,"16":3605341577150464,"45":2206060159242958848},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-09-25 01:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311684352001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:34:44] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-25 01: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-25 01:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2206060159242958848,"description":"Unknown IO ID 45"} 
[2026-09-25 01:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311684352001,"power":27767,"unknown_78":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":2206060159242958848}} 
[2026-09-25 01:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":193233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:34:44] local.INFO: GPS data processed {"connection_id":193233,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:34:44] local.INFO: Acknowledgment sent {"connection_id":193233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:35:05] local.INFO: TCP Data received {"connection_id":191849,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:05] local.INFO: Processing buffer {"connection_id":191849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:05] local.INFO: IMEI packet received {"connection_id":191849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":191849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:35:11] local.INFO: TCP Data received {"connection_id":191849,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:11] local.INFO: Processing buffer {"connection_id":191849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:35:11] local.INFO: IMEI packet received {"connection_id":191849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":191849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:35:13] local.INFO: TCP Data received {"connection_id":191849,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5025ce80100000000000000000000000000..."} 
[2026-09-25 01:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5025ce80100000000000000000000000000..."} 
[2026-09-25 01:35:13] local.INFO: Processing buffer {"connection_id":191849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5025ce80100000000000000000000000000..."} 
[2026-09-25 01:35:13] local.INFO: Packet analysis {"connection_id":191849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d502"} 
[2026-09-25 01:35:13] local.INFO: Extracted packet for processing {"connection_id":191849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d502"} 
[2026-09-25 01:35: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-25 01:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311689728001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2214152564820553728,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790280097000,"timestamp_ms":1790280097000,"timestamp_seconds":1790280097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5025ce8"} 
[2026-09-25 01:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:35: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-25 01:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:35: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-25 01:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:35: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-25 01:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":191849,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:35:13] local.INFO: GPS data processed {"connection_id":191849,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:35:13] local.INFO: Acknowledgment sent {"connection_id":191849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:35:27] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:27] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:27] local.INFO: IMEI packet received {"connection_id":193234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":193234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:35:32] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:32] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:35:32] local.INFO: IMEI packet received {"connection_id":193234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:35:33] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:35:33] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:35:33] local.INFO: Packet analysis {"connection_id":193234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:35:33] local.INFO: Extracted packet for processing {"connection_id":193234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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-25 01: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-25 01:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:35: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-25 01: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-25 01: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-25 01:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:35: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-25 01:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:35:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:35:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":193234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:35:33] local.INFO: GPS data processed {"connection_id":193234,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:35:33] local.INFO: Acknowledgment sent {"connection_id":193234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:35:47] local.INFO: TCP Data received {"connection_id":191849,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d504d1d0012d209e0006cef988000b00692f..."} 
[2026-09-25 01:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d504d1d0012d209e0006cef988000b00692f..."} 
[2026-09-25 01:35:47] local.INFO: Processing buffer {"connection_id":191849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d504d1d0012d209e0006cef988000b00692f..."} 
[2026-09-25 01:35:47] local.INFO: Packet analysis {"connection_id":191849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d504"} 
[2026-09-25 01:35:47] local.INFO: Extracted packet for processing {"connection_id":191849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d504"} 
[2026-09-25 01:35:47] local.INFO: GPS Element Parsed {"raw_longitude":757112320,"raw_latitude":114227592,"longitude_deg":75.711232,"latitude_deg":11.4227592,"altitude":11,"angle":105,"satellites":47,"speed":0,"hex_longitude":"2d209e00","hex_latitude":"06cef988","is_valid_coordinates":true} 
[2026-09-25 01:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311740672001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2350316084776241152,"note":"Value kept but may cause issues"} 
[2026-09-25 01:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790280258000,"timestamp_ms":1790280258000,"timestamp_seconds":1790280258,"priority":1,"record_length":96,"hex_timestamp":"000001a0d504d1d0"} 
[2026-09-25 01:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:35: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-25 01:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:35:47] 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-25 01:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:35: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-25 01:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311740672001,"66":27952,"196":206,"2":56576,"24":0,"16":3605341577150464,"45":2350316084776241152},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-09-25 01:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311740672001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-25 01:35: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-25 01:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2350316084776241152,"description":"Unknown IO ID 45"} 
[2026-09-25 01:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311740672001,"power":27952,"unknown_196":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2350316084776241152}} 
[2026-09-25 01:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":191849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:35:47] local.INFO: GPS data processed {"connection_id":191849,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:35:47] local.INFO: Acknowledgment sent {"connection_id":191849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:36:05] local.INFO: TCP Data received {"connection_id":193234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:05] local.INFO: Processing buffer {"connection_id":193234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:05] local.INFO: Packet analysis {"connection_id":193234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:36:05] local.INFO: Extracted packet for processing {"connection_id":193234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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-25 01: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-25 01:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:36: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-25 01:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:36:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:36:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":193234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:36:05] local.INFO: GPS data processed {"connection_id":193234,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:36:05] local.INFO: Acknowledgment sent {"connection_id":193234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:36:06] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:06] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:06] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:36:10] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:10] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:10] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:36:11] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:11] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:11] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:36:16] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:16] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:36:16] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:36:17] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d505b8480100000000000000000000000000..."} 
[2026-09-25 01:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d505b8480100000000000000000000000000..."} 
[2026-09-25 01:36:17] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d505b8480100000000000000000000000000..."} 
[2026-09-25 01:36:17] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:36:17] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:36: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-25 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311746048001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2350316084776241152,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790280317000,"timestamp_ms":1790280317000,"timestamp_seconds":1790280317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d505b848"} 
[2026-09-25 01:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:36: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-25 01:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:36: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-25 01:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:36: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-25 01:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":191670,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:36:17] local.INFO: GPS data processed {"connection_id":191670,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:36:17] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:36:22] local.INFO: TCP Data received {"connection_id":191670,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5053b48012d20c30006cecf58000b008f2f..."} 
[2026-09-25 01:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5053b48012d20c30006cecf58000b008f2f..."} 
[2026-09-25 01:36:22] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5053b48012d20c30006cecf58000b008f2f..."} 
[2026-09-25 01:36:22] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:36:22] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:36:22] local.INFO: GPS Element Parsed {"raw_longitude":757121792,"raw_latitude":114216792,"longitude_deg":75.7121792,"latitude_deg":11.4216792,"altitude":11,"angle":143,"satellites":47,"speed":24,"hex_longitude":"2d20c300","hex_latitude":"06cecf58","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,196,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790280285000,"timestamp_ms":1790280285000,"timestamp_seconds":1790280285,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5053b48"} 
[2026-09-25 01: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-25 01:36: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-25 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 01:36:22] 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-25 01: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-25 01: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-25 01:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:36: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-25 01:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"196":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,196,2,24,16]} 
[2026-09-25 01:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:36:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-25 01:36: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-25 01:36:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_196":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-09-25 01:36:22] 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":893199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:36:22] local.INFO: GPS data processed {"connection_id":191670,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:36:22] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:36:27] local.INFO: TCP Data received {"connection_id":194519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:27] local.INFO: Processing buffer {"connection_id":194519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:27] local.INFO: IMEI packet received {"connection_id":194519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":194519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:36:32] local.INFO: TCP Data received {"connection_id":194519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:32] local.INFO: Processing buffer {"connection_id":194519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:36:32] local.INFO: IMEI packet received {"connection_id":194519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":194519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:36:33] local.INFO: TCP Data received {"connection_id":194519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:33] local.INFO: Processing buffer {"connection_id":194519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:36:33] local.INFO: Packet analysis {"connection_id":194519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:36:33] local.INFO: Extracted packet for processing {"connection_id":194519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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-25 01: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-25 01:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:36: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-25 01:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":194519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:36:33] local.INFO: GPS data processed {"connection_id":194519,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:36:33] local.INFO: Acknowledgment sent {"connection_id":194519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:37:06] local.INFO: TCP Data received {"connection_id":194519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:06] local.INFO: Processing buffer {"connection_id":194519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:06] local.INFO: Packet analysis {"connection_id":194519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:37:06] local.INFO: Extracted packet for processing {"connection_id":194519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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-25 01: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-25 01:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:37: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-25 01: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-25 01: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-25 01:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:37: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-25 01:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":194519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:37:06] local.INFO: GPS data processed {"connection_id":194519,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:37:06] local.INFO: Acknowledgment sent {"connection_id":194519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:37:10] local.INFO: TCP Data received {"connection_id":193235,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: IMEI packet received {"connection_id":193235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":193235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:37:10] local.INFO: TCP Data received {"connection_id":193235,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:37:10] local.INFO: IMEI packet received {"connection_id":193235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":193235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:37:13] local.INFO: TCP Data received {"connection_id":193235,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50621c00100000000000000000000000000..."} 
[2026-09-25 01:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50621c00100000000000000000000000000..."} 
[2026-09-25 01:37:13] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50621c00100000000000000000000000000..."} 
[2026-09-25 01:37:13] local.INFO: Packet analysis {"connection_id":193235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:37:13] local.INFO: Extracted packet for processing {"connection_id":193235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:37: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-25 01: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-25 01:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311752960001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2360730658911770624,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790280344000,"timestamp_ms":1790280344000,"timestamp_seconds":1790280344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50621c0"} 
[2026-09-25 01: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-25 01:37: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-25 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:37: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-25 01: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-25 01: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-25 01:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":193235,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:37:13] local.INFO: GPS data processed {"connection_id":193235,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:37:13] local.INFO: Acknowledgment sent {"connection_id":193235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:37:14] local.INFO: TCP Data received {"connection_id":193235,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5059138012d20d00006ce92b8000c00aa2e..."} 
[2026-09-25 01:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5059138012d20d00006ce92b8000c00aa2e..."} 
[2026-09-25 01:37:14] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5059138012d20d00006ce92b8000c00aa2e..."} 
[2026-09-25 01:37:14] local.INFO: Packet analysis {"connection_id":193235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:37:14] local.INFO: Extracted packet for processing {"connection_id":193235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:37:14] local.INFO: GPS Element Parsed {"raw_longitude":757125120,"raw_latitude":114201272,"longitude_deg":75.712512,"latitude_deg":11.4201272,"altitude":12,"angle":170,"satellites":46,"speed":28,"hex_longitude":"2d20d000","hex_latitude":"06ce92b8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,196,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790280307000,"timestamp_ms":1790280307000,"timestamp_seconds":1790280307,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5059138"} 
[2026-09-25 01: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-25 01:37: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:37: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-25 01: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-25 01: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-25 01:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":193235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:37: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-25 01:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"196":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,196,2,24,16]} 
[2026-09-25 01:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:37:14] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-25 01: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-25 01:37:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_196":206,"power_alt":56576,"ignition":28,"odometer":null}} 
[2026-09-25 01:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":193235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:37:14] local.INFO: GPS data processed {"connection_id":193235,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:37:14] local.INFO: Acknowledgment sent {"connection_id":193235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:37:27] local.INFO: TCP Data received {"connection_id":194520,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:27] local.INFO: Processing buffer {"connection_id":194520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:27] local.INFO: IMEI packet received {"connection_id":194520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":194520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:37:32] local.INFO: TCP Data received {"connection_id":194520,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:32] local.INFO: Processing buffer {"connection_id":194520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:37:32] local.INFO: IMEI packet received {"connection_id":194520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":194520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:37:33] local.INFO: TCP Data received {"connection_id":194520,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:33] local.INFO: Processing buffer {"connection_id":194520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:37:33] local.INFO: Packet analysis {"connection_id":194520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:37:33] local.INFO: Extracted packet for processing {"connection_id":194520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:37: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-25 01:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":194520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:37:33] local.INFO: GPS data processed {"connection_id":194520,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:37:33] local.INFO: Acknowledgment sent {"connection_id":194520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:37:57] local.INFO: TCP Data received {"connection_id":193235,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50677b00100000000000000000000000000..."} 
[2026-09-25 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50677b00100000000000000000000000000..."} 
[2026-09-25 01:37:57] local.INFO: Processing buffer {"connection_id":193235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50677b00100000000000000000000000000..."} 
[2026-09-25 01:37:57] local.INFO: Packet analysis {"connection_id":193235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:37:57] local.INFO: Extracted packet for processing {"connection_id":193235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:37: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-25 01:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311758592001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2364389833605036032,"note":"Value kept but may cause issues"} 
[2026-09-25 01:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790280366000,"timestamp_ms":1790280366000,"timestamp_seconds":1790280366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50677b0"} 
[2026-09-25 01:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 01:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:37:57] 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-25 01:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":193235,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:37:57] local.INFO: GPS data processed {"connection_id":193235,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:37:57] local.INFO: Acknowledgment sent {"connection_id":193235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:38:05] local.INFO: TCP Data received {"connection_id":194520,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:05] local.INFO: Processing buffer {"connection_id":194520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:05] local.INFO: Packet analysis {"connection_id":194520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:38:05] local.INFO: Extracted packet for processing {"connection_id":194520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":194520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:38:05] local.INFO: GPS data processed {"connection_id":194520,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:38:05] local.INFO: Acknowledgment sent {"connection_id":194520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:38:05] local.INFO: TCP Data received {"connection_id":191850,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:05] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:05] local.INFO: IMEI packet received {"connection_id":191850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":191850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:38:11] local.INFO: TCP Data received {"connection_id":191850,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:11] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:38:11] local.INFO: IMEI packet received {"connection_id":191850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":191850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:38:12] local.INFO: TCP Data received {"connection_id":191850,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d505eef8012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d505eef8012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:12] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d505eef8012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:12] local.INFO: Packet analysis {"connection_id":191850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:38:12] local.INFO: Extracted packet for processing {"connection_id":191850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d505"} 
[2026-09-25 01:38:12] local.INFO: GPS Element Parsed {"raw_longitude":757125824,"raw_latitude":114191368,"longitude_deg":75.7125824,"latitude_deg":11.4191368,"altitude":9,"angle":180,"satellites":44,"speed":5,"hex_longitude":"2d20d2c0","hex_latitude":"06ce6c08","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280331000,"timestamp_ms":1790280331000,"timestamp_seconds":1790280331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d505eef8"} 
[2026-09-25 01: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-25 01:38: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:38:12] 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-25 01: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-25 01: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-25 01:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28071,"73":206,"2":56576,"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,73,2,24,16]} 
[2026-09-25 01:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:38:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01: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-25 01:38:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28071,"unknown_73":206,"power_alt":56576,"ignition":5,"odometer":null}} 
[2026-09-25 01:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":191850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:38:12] local.INFO: GPS data processed {"connection_id":191850,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:38:12] local.INFO: Acknowledgment sent {"connection_id":191850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:38:27] local.INFO: TCP Data received {"connection_id":194521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:27] local.INFO: Processing buffer {"connection_id":194521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:27] local.INFO: IMEI packet received {"connection_id":194521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":194521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:38:32] local.INFO: TCP Data received {"connection_id":194521,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:32] local.INFO: Processing buffer {"connection_id":194521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:38:32] local.INFO: IMEI packet received {"connection_id":194521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":194521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:38:33] local.INFO: TCP Data received {"connection_id":194521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:33] local.INFO: Processing buffer {"connection_id":194521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d503d7d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:38:33] local.INFO: Packet analysis {"connection_id":194521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:38:33] local.INFO: Extracted packet for processing {"connection_id":194521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d503"} 
[2026-09-25 01:38: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-25 01: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-25 01:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311652608001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280194000,"timestamp_ms":1790280194000,"timestamp_seconds":1790280194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d503d7d0"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:38: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-25 01: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-25 01: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-25 01:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:38: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-25 01:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311652608001,"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-25 01:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311652608001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:38:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311652608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":194521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:38:33] local.INFO: GPS data processed {"connection_id":194521,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:38:33] local.INFO: Acknowledgment sent {"connection_id":194521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:38:44] local.INFO: TCP Data received {"connection_id":191850,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5064100012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5064100012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:44] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5064100012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:38:44] local.INFO: Packet analysis {"connection_id":191850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:38:44] local.INFO: Extracted packet for processing {"connection_id":191850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:38:44] local.INFO: GPS Element Parsed {"raw_longitude":757125824,"raw_latitude":114191368,"longitude_deg":75.7125824,"latitude_deg":11.4191368,"altitude":9,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2d20d2c0","hex_latitude":"06ce6c08","is_valid_coordinates":true} 
[2026-09-25 01:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311764736001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365163889788454912,"note":"Value kept but may cause issues"} 
[2026-09-25 01:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280352000,"timestamp_ms":1790280352000,"timestamp_seconds":1790280352,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5064100"} 
[2026-09-25 01:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:38: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-25 01:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 01:38:44] 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-25 01:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311764736001,"66":27952,"73":206,"2":56576,"24":0,"16":3605341577150464,"45":2365163889788454912},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-09-25 01:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311764736001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:38:44] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01: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-25 01:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365163889788454912,"description":"Unknown IO ID 45"} 
[2026-09-25 01:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311764736001,"power":27952,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2365163889788454912}} 
[2026-09-25 01:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":191850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:38:44] local.INFO: GPS data processed {"connection_id":191850,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:38:44] local.INFO: Acknowledgment sent {"connection_id":191850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:39:04] local.INFO: TCP Data received {"connection_id":194521,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:04] local.INFO: Processing buffer {"connection_id":194521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:04] local.INFO: Packet analysis {"connection_id":194521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:39:04] local.INFO: Extracted packet for processing {"connection_id":194521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:39: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-25 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39: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-25 01:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:39: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-25 01:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:39: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-25 01:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:39: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-25 01:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":194521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:39:04] local.INFO: GPS data processed {"connection_id":194521,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:39:04] local.INFO: Acknowledgment sent {"connection_id":194521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:39:05] local.INFO: TCP Data received {"connection_id":194522,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:05] local.INFO: Processing buffer {"connection_id":194522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:05] local.INFO: IMEI packet received {"connection_id":194522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":194522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:39:11] local.INFO: TCP Data received {"connection_id":194522,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:11] local.INFO: Processing buffer {"connection_id":194522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:39:11] local.INFO: IMEI packet received {"connection_id":194522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":194522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:39:12] local.INFO: TCP Data received {"connection_id":194522,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5069308012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5069308012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:12] local.INFO: Processing buffer {"connection_id":194522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5069308012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:12] local.INFO: Packet analysis {"connection_id":194522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:39:12] local.INFO: Extracted packet for processing {"connection_id":194522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:39:12] local.INFO: GPS Element Parsed {"raw_longitude":757125824,"raw_latitude":114191368,"longitude_deg":75.7125824,"latitude_deg":11.4191368,"altitude":9,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2d20d2c0","hex_latitude":"06ce6c08","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311770112001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365163889788454912,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280373000,"timestamp_ms":1790280373000,"timestamp_seconds":1790280373,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5069308"} 
[2026-09-25 01: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-25 01: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-25 01: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":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:39: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-25 01: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-25 01: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-25 01:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311770112001,"66":27800,"73":206,"2":56576,"24":0,"16":3605341577150464,"45":2365163889788454912},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-09-25 01:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311770112001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:39:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01: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-25 01:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365163889788454912,"description":"Unknown IO ID 45"} 
[2026-09-25 01:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311770112001,"power":27800,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2365163889788454912}} 
[2026-09-25 01:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":194522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:39:12] local.INFO: GPS data processed {"connection_id":194522,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:39:12] local.INFO: Acknowledgment sent {"connection_id":194522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:39:27] local.INFO: TCP Data received {"connection_id":193236,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:27] local.INFO: Processing buffer {"connection_id":193236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:27] local.INFO: IMEI packet received {"connection_id":193236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":193236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:39:32] local.INFO: TCP Data received {"connection_id":193236,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:32] local.INFO: Processing buffer {"connection_id":193236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:39:32] local.INFO: IMEI packet received {"connection_id":193236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":193236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:39:33] local.INFO: TCP Data received {"connection_id":193236,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:33] local.INFO: Processing buffer {"connection_id":193236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:39:33] local.INFO: Packet analysis {"connection_id":193236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:39:33] local.INFO: Extracted packet for processing {"connection_id":193236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:39: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-25 01:39: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-25 01:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39: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-25 01:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:39: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-25 01:39: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-25 01:39: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-25 01:39: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-25 01:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:39: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-25 01:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:39:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:39:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:39: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-25 01:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":193236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:39:33] local.INFO: GPS data processed {"connection_id":193236,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:39:33] local.INFO: Acknowledgment sent {"connection_id":193236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:39:43] local.INFO: TCP Data received {"connection_id":194522,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d506e510012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d506e510012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:43] local.INFO: Processing buffer {"connection_id":194522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d506e510012d20d2c006ce6c08000900b42c..."} 
[2026-09-25 01:39:43] local.INFO: Packet analysis {"connection_id":194522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:39:43] local.INFO: Extracted packet for processing {"connection_id":194522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d506"} 
[2026-09-25 01:39:43] local.INFO: GPS Element Parsed {"raw_longitude":757125824,"raw_latitude":114191368,"longitude_deg":75.7125824,"latitude_deg":11.4191368,"altitude":9,"angle":180,"satellites":44,"speed":0,"hex_longitude":"2d20d2c0","hex_latitude":"06ce6c08","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311775488001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365163889788454912,"note":"Value kept but may cause issues"} 
[2026-09-25 01:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790280394000,"timestamp_ms":1790280394000,"timestamp_seconds":1790280394,"priority":1,"record_length":96,"hex_timestamp":"000001a0d506e510"} 
[2026-09-25 01: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-25 01:39: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-25 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:39:43] 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-25 01: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-25 01: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-25 01:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:39: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-25 01:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311775488001,"66":27876,"73":206,"2":56576,"24":0,"16":3605341577150464,"45":2365163889788454912},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-09-25 01:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311775488001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:39:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01:39: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-25 01:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365163889788454912,"description":"Unknown IO ID 45"} 
[2026-09-25 01:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311775488001,"power":27876,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2365163889788454912}} 
[2026-09-25 01:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":194522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:39:44] local.INFO: GPS data processed {"connection_id":194522,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:39:44] local.INFO: Acknowledgment sent {"connection_id":194522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:40:04] local.INFO: TCP Data received {"connection_id":193236,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:04] local.INFO: Processing buffer {"connection_id":193236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:04] local.INFO: Packet analysis {"connection_id":193236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:40:04] local.INFO: Extracted packet for processing {"connection_id":193236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:40: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-25 01:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:40: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-25 01:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:40: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-25 01:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:40: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-25 01:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:40: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-25 01:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":193236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:40:04] local.INFO: GPS data processed {"connection_id":193236,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:40:04] local.INFO: Acknowledgment sent {"connection_id":193236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:40:05] local.INFO: TCP Data received {"connection_id":193237,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:05] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:05] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:40:06] local.INFO: TCP Data received {"connection_id":193237,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:06] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:06] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:40:11] local.INFO: TCP Data received {"connection_id":193237,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:11] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:40:11] local.INFO: IMEI packet received {"connection_id":193237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":193237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:40:12] local.INFO: TCP Data received {"connection_id":193237,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5073330012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5073330012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:12] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5073330012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:12] local.INFO: Packet analysis {"connection_id":193237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:40:12] local.INFO: Extracted packet for processing {"connection_id":193237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:40:12] local.INFO: GPS Element Parsed {"raw_longitude":757127168,"raw_latitude":114182064,"longitude_deg":75.7127168,"latitude_deg":11.4182064,"altitude":10,"angle":160,"satellites":51,"speed":4,"hex_longitude":"2d20d800","hex_latitude":"06ce47b0","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311780864001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365163889788454912,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280414000,"timestamp_ms":1790280414000,"timestamp_seconds":1790280414,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5073330"} 
[2026-09-25 01: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-25 01:40: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-25 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:40: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-25 01: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-25 01: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-25 01:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311780864001,"66":27343,"73":206,"2":56576,"24":4,"16":3605341577150464,"45":2365163889788454912},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-09-25 01:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311780864001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:40:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01: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-25 01:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365163889788454912,"description":"Unknown IO ID 45"} 
[2026-09-25 01:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311780864001,"power":27343,"unknown_73":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":2365163889788454912}} 
[2026-09-25 01:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":193237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:40:12] local.INFO: GPS data processed {"connection_id":193237,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:40:12] local.INFO: Acknowledgment sent {"connection_id":193237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:40:27] local.INFO: TCP Data received {"connection_id":194523,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:27] local.INFO: Processing buffer {"connection_id":194523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:27] local.INFO: IMEI packet received {"connection_id":194523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:40:32] local.INFO: TCP Data received {"connection_id":194523,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:32] local.INFO: Processing buffer {"connection_id":194523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:40:32] local.INFO: IMEI packet received {"connection_id":194523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:40:34] local.INFO: TCP Data received {"connection_id":194523,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:34] local.INFO: Processing buffer {"connection_id":194523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:40:34] local.INFO: Packet analysis {"connection_id":194523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:40:34] local.INFO: Extracted packet for processing {"connection_id":194523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01: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-25 01: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-25 01:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01: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-25 01:40: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:40: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-25 01: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-25 01: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-25 01:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:40: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-25 01:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":194523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:40:34] local.INFO: GPS data processed {"connection_id":194523,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:40:34] local.INFO: Acknowledgment sent {"connection_id":194523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:40:43] local.INFO: TCP Data received {"connection_id":193237,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5078538012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5078538012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:43] local.INFO: Processing buffer {"connection_id":193237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5078538012d20d80006ce47b0000a00a033..."} 
[2026-09-25 01:40:43] local.INFO: Packet analysis {"connection_id":193237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:40:43] local.INFO: Extracted packet for processing {"connection_id":193237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:40:43] local.INFO: GPS Element Parsed {"raw_longitude":757127168,"raw_latitude":114182064,"longitude_deg":75.7127168,"latitude_deg":11.4182064,"altitude":10,"angle":160,"satellites":51,"speed":0,"hex_longitude":"2d20d800","hex_latitude":"06ce47b0","is_valid_coordinates":true} 
[2026-09-25 01:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311785984001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2366641633413804032,"note":"Value kept but may cause issues"} 
[2026-09-25 01:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790280435000,"timestamp_ms":1790280435000,"timestamp_seconds":1790280435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5078538"} 
[2026-09-25 01:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:40: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-25 01:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-25 01:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:40: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-25 01:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311785984001,"66":27974,"73":206,"2":56576,"24":0,"16":3605341577150464,"45":2366641633413804032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-09-25 01:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311785984001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:40:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-25 01:40: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-25 01:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2366641633413804032,"description":"Unknown IO ID 45"} 
[2026-09-25 01:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311785984001,"power":27974,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2366641633413804032}} 
[2026-09-25 01:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":193237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:40:43] local.INFO: GPS data processed {"connection_id":193237,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:40:43] local.INFO: Acknowledgment sent {"connection_id":193237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:41:05] local.INFO: TCP Data received {"connection_id":194523,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:05] local.INFO: Processing buffer {"connection_id":194523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:05] local.INFO: Packet analysis {"connection_id":194523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:41:05] local.INFO: Extracted packet for processing {"connection_id":194523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01: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-25 01: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-25 01:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:41: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-25 01: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-25 01: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-25 01:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:41: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-25 01:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":194523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:41:05] local.INFO: GPS data processed {"connection_id":194523,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:41:05] local.INFO: Acknowledgment sent {"connection_id":194523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:41:11] local.INFO: TCP Data received {"connection_id":191851,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:11] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:11] local.INFO: IMEI packet received {"connection_id":191851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":191851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:41:16] local.INFO: TCP Data received {"connection_id":191851,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:16] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:41:16] local.INFO: IMEI packet received {"connection_id":191851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":191851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:41:17] local.INFO: TCP Data received {"connection_id":191851,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d507d740012d20f0c006ce1770000c009631..."} 
[2026-09-25 01:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d507d740012d20f0c006ce1770000c009631..."} 
[2026-09-25 01:41:17] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d507d740012d20f0c006ce1770000c009631..."} 
[2026-09-25 01:41:17] local.INFO: Packet analysis {"connection_id":191851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:41:17] local.INFO: Extracted packet for processing {"connection_id":191851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d507"} 
[2026-09-25 01:41:17] local.INFO: GPS Element Parsed {"raw_longitude":757133504,"raw_latitude":114169712,"longitude_deg":75.7133504,"latitude_deg":11.4169712,"altitude":12,"angle":150,"satellites":49,"speed":0,"hex_longitude":"2d20f0c0","hex_latitude":"06ce1770","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311791360001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2366641633413804032,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790280456000,"timestamp_ms":1790280456000,"timestamp_seconds":1790280456,"priority":1,"record_length":96,"hex_timestamp":"000001a0d507d740"} 
[2026-09-25 01: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-25 01:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-25 01:41:17] 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-25 01: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-25 01: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-25 01:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311791360001,"66":27800,"120":206,"2":56576,"24":0,"16":3605341577150464,"45":2366641633413804032},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-09-25 01:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311791360001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:41:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-25 01: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-25 01:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2366641633413804032,"description":"Unknown IO ID 45"} 
[2026-09-25 01:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311791360001,"power":27800,"unknown_120":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2366641633413804032}} 
[2026-09-25 01:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":191851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:41:17] local.INFO: GPS data processed {"connection_id":191851,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:41:17] local.INFO: Acknowledgment sent {"connection_id":191851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:41:18] local.INFO: TCP Data received {"connection_id":191851,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5082948012d210fc006cde2480009009530..."} 
[2026-09-25 01:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5082948012d210fc006cde2480009009530..."} 
[2026-09-25 01:41:18] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5082948012d210fc006cde2480009009530..."} 
[2026-09-25 01:41:18] local.INFO: Packet analysis {"connection_id":191851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:41:18] local.INFO: Extracted packet for processing {"connection_id":191851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:41:18] local.INFO: GPS Element Parsed {"raw_longitude":757141440,"raw_latitude":114156104,"longitude_deg":75.714144,"latitude_deg":11.4156104,"altitude":9,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d210fc0","hex_latitude":"06cde248","is_valid_coordinates":true} 
[2026-09-25 01:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311796736001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2373608139084230656,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790280477000,"timestamp_ms":1790280477000,"timestamp_seconds":1790280477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5082948"} 
[2026-09-25 01:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:41: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-25 01:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-25 01:41: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-25 01:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:41: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-25 01:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311796736001,"66":27767,"120":206,"2":56576,"24":0,"16":3605341577150464,"45":2373608139084230656},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-09-25 01:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311796736001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:41:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-25 01:41: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-25 01:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2373608139084230656,"description":"Unknown IO ID 45"} 
[2026-09-25 01:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311796736001,"power":27767,"unknown_120":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2373608139084230656}} 
[2026-09-25 01:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":191851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:41:18] local.INFO: GPS data processed {"connection_id":191851,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:41:18] local.INFO: Acknowledgment sent {"connection_id":191851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:41:26] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:26] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:26] local.INFO: IMEI packet received {"connection_id":191852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:41:32] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:32] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:41:32] local.INFO: IMEI packet received {"connection_id":191852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:41:33] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:33] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:41:33] local.INFO: Packet analysis {"connection_id":191852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:41:33] local.INFO: Extracted packet for processing {"connection_id":191852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01: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-25 01:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:41: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-25 01:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:41: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-25 01:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":191852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:41:33] local.INFO: GPS data processed {"connection_id":191852,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:41:33] local.INFO: Acknowledgment sent {"connection_id":191852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:41:50] local.INFO: TCP Data received {"connection_id":191851,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5090fc00100000000000000000000000000..."} 
[2026-09-25 01:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5090fc00100000000000000000000000000..."} 
[2026-09-25 01:41:50] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5090fc00100000000000000000000000000..."} 
[2026-09-25 01:41:50] local.INFO: Packet analysis {"connection_id":191851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d509"} 
[2026-09-25 01:41:50] local.INFO: Extracted packet for processing {"connection_id":191851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d509"} 
[2026-09-25 01:41: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-25 01: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-25 01:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311802112001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2382333863358777344,"note":"Value kept but may cause issues"} 
[2026-09-25 01:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790280536000,"timestamp_ms":1790280536000,"timestamp_seconds":1790280536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5090fc0"} 
[2026-09-25 01: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-25 01:41: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:41: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-25 01: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-25 01: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-25 01:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:41: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-25 01:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":191851,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:41:50] local.INFO: GPS data processed {"connection_id":191851,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:41:50] local.INFO: Acknowledgment sent {"connection_id":191851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:42:04] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:04] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:04] local.INFO: Packet analysis {"connection_id":191852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:04] local.INFO: Extracted packet for processing {"connection_id":191852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42: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-25 01:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42: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-25 01:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:42: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-25 01:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:42: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-25 01:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:42: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-25 01:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":191852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:42:04] local.INFO: GPS data processed {"connection_id":191852,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:42:04] local.INFO: Acknowledgment sent {"connection_id":191852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:42:05] local.INFO: TCP Data received {"connection_id":193238,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:05] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:05] local.INFO: IMEI packet received {"connection_id":193238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":193238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:42:06] local.INFO: TCP Data received {"connection_id":193238,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:06] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:06] local.INFO: IMEI packet received {"connection_id":193238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":193238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:42:11] local.INFO: TCP Data received {"connection_id":193238,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:11] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:42:11] local.INFO: IMEI packet received {"connection_id":193238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":193238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:42:12] local.INFO: TCP Data received {"connection_id":193238,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50892c0012d21350006cdb1980009008532..."} 
[2026-09-25 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50892c0012d21350006cdb1980009008532..."} 
[2026-09-25 01:42:12] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50892c0012d21350006cdb1980009008532..."} 
[2026-09-25 01:42:12] local.INFO: Packet analysis {"connection_id":193238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:12] local.INFO: Extracted packet for processing {"connection_id":193238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:12] local.INFO: GPS Element Parsed {"raw_longitude":757150976,"raw_latitude":114143640,"longitude_deg":75.7150976,"latitude_deg":11.414364,"altitude":9,"angle":133,"satellites":50,"speed":33,"hex_longitude":"2d213500","hex_latitude":"06cdb198","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280504000,"timestamp_ms":1790280504000,"timestamp_seconds":1790280504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50892c0"} 
[2026-09-25 01: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-25 01:42: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-25 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:42:12] 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-25 01: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-25 01: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-25 01:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:42: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-25 01:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"120":206,"2":56576,"24":33,"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,120,2,24,16]} 
[2026-09-25 01:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:42:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-25 01: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-25 01:42:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_120":206,"power_alt":56576,"ignition":33,"odometer":null}} 
[2026-09-25 01:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":193238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:42:13] local.INFO: GPS data processed {"connection_id":193238,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:42:13] local.INFO: Acknowledgment sent {"connection_id":193238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:42:26] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:26] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:26] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:42:32] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:32] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:42:32] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:42:33] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:33] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:42:33] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:33] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42: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-25 01:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42: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-25 01:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:42: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-25 01:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:42: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-25 01:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:42: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-25 01:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:42:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:42:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:42: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-25 01:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:42:33] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:42:33] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:42:44] local.INFO: TCP Data received {"connection_id":193238,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d508e4c8012d21684006cd7fc80009008d31..."} 
[2026-09-25 01:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d508e4c8012d21684006cd7fc80009008d31..."} 
[2026-09-25 01:42:44] local.INFO: Processing buffer {"connection_id":193238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d508e4c8012d21684006cd7fc80009008d31..."} 
[2026-09-25 01:42:44] local.INFO: Packet analysis {"connection_id":193238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:44] local.INFO: Extracted packet for processing {"connection_id":193238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:42:44] local.INFO: GPS Element Parsed {"raw_longitude":757164096,"raw_latitude":114130888,"longitude_deg":75.7164096,"latitude_deg":11.4130888,"altitude":9,"angle":141,"satellites":49,"speed":0,"hex_longitude":"2d216840","hex_latitude":"06cd7fc8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311809024001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2392818806238058496,"note":"Value kept but may cause issues"} 
[2026-09-25 01:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280525000,"timestamp_ms":1790280525000,"timestamp_seconds":1790280525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d508e4c8"} 
[2026-09-25 01: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-25 01:42: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-25 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:42:44] 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-25 01: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-25 01: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-25 01:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:42: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-25 01:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311809024001,"66":27887,"240":206,"2":56576,"24":0,"16":3605341577150464,"45":2392818806238058496},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-09-25 01:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311809024001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:42:44] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-25 01: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-25 01:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2392818806238058496,"description":"Unknown IO ID 45"} 
[2026-09-25 01:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311809024001,"power":27887,"unknown_240":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2392818806238058496}} 
[2026-09-25 01:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":193238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:42:44] local.INFO: GPS data processed {"connection_id":193238,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:42:44] local.INFO: Acknowledgment sent {"connection_id":193238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:43:04] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:04] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:04] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:43:04] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:43: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-25 01:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:43: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-25 01:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:43: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-25 01:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:43: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-25 01:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:43:04] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:43:04] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:43:06] local.INFO: TCP Data received {"connection_id":194524,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:06] local.INFO: Processing buffer {"connection_id":194524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:06] local.INFO: IMEI packet received {"connection_id":194524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":194524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:43:10] local.INFO: TCP Data received {"connection_id":194524,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:10] local.INFO: Processing buffer {"connection_id":194524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:43:10] local.INFO: IMEI packet received {"connection_id":194524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":194524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:43:12] local.INFO: TCP Data received {"connection_id":194524,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50936d0012d218f8006cd46f80008009331..."} 
[2026-09-25 01:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50936d0012d218f8006cd46f80008009331..."} 
[2026-09-25 01:43:12] local.INFO: Processing buffer {"connection_id":194524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50936d0012d218f8006cd46f80008009331..."} 
[2026-09-25 01:43:12] local.INFO: Packet analysis {"connection_id":194524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d509"} 
[2026-09-25 01:43:12] local.INFO: Extracted packet for processing {"connection_id":194524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d509"} 
[2026-09-25 01:43:12] local.INFO: GPS Element Parsed {"raw_longitude":757174144,"raw_latitude":114116344,"longitude_deg":75.7174144,"latitude_deg":11.4116344,"altitude":8,"angle":147,"satellites":49,"speed":0,"hex_longitude":"2d218f80","hex_latitude":"06cd46f8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311814400001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2407244398791215104,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280546000,"timestamp_ms":1790280546000,"timestamp_seconds":1790280546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50936d0"} 
[2026-09-25 01: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-25 01: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-25 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:43: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-25 01: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-25 01: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-25 01:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311814400001,"66":27930,"240":206,"2":56576,"24":0,"16":3605341577150464,"45":2407244398791215104},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-09-25 01:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311814400001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:43:12] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-25 01: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-25 01:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2407244398791215104,"description":"Unknown IO ID 45"} 
[2026-09-25 01:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311814400001,"power":27930,"unknown_240":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2407244398791215104}} 
[2026-09-25 01:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":194524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:43:12] local.INFO: GPS data processed {"connection_id":194524,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:43:12] local.INFO: Acknowledgment sent {"connection_id":194524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:43:27] local.INFO: TCP Data received {"connection_id":191853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:27] local.INFO: Processing buffer {"connection_id":191853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:27] local.INFO: IMEI packet received {"connection_id":191853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":191853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:43:32] local.INFO: TCP Data received {"connection_id":191853,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:32] local.INFO: Processing buffer {"connection_id":191853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:43:32] local.INFO: IMEI packet received {"connection_id":191853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:43:33] local.INFO: TCP Data received {"connection_id":191853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:33] local.INFO: Processing buffer {"connection_id":191853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5086f98012d34c14006aa4940000900f52d..."} 
[2026-09-25 01:43:33] local.INFO: Packet analysis {"connection_id":191853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01:43:33] local.INFO: Extracted packet for processing {"connection_id":191853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d508"} 
[2026-09-25 01: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311729664001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280495000,"timestamp_ms":1790280495000,"timestamp_seconds":1790280495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5086f98"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:43: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-25 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311729664001,"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-25 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311729664001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:43:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:43:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311729664001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":191853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:43:33] local.INFO: GPS data processed {"connection_id":191853,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:43:33] local.INFO: Acknowledgment sent {"connection_id":191853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:43:44] local.INFO: TCP Data received {"connection_id":194524,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50c28b8012d23340006ca5f30000a008c31..."} 
[2026-09-25 01:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50c28b8012d23340006ca5f30000a008c31..."} 
[2026-09-25 01:43:44] local.INFO: Processing buffer {"connection_id":194524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50c28b8012d23340006ca5f30000a008c31..."} 
[2026-09-25 01:43:44] local.INFO: Packet analysis {"connection_id":194524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:43:44] local.INFO: Extracted packet for processing {"connection_id":194524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":757281792,"raw_latitude":113925936,"longitude_deg":75.7281792,"latitude_deg":11.3925936,"altitude":10,"angle":140,"satellites":49,"speed":0,"hex_longitude":"2d233400","hex_latitude":"06ca5f30","is_valid_coordinates":true} 
[2026-09-25 01:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311863808001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2521452870543626240,"note":"Value kept but may cause issues"} 
[2026-09-25 01:43: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-25 01:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280739000,"timestamp_ms":1790280739000,"timestamp_seconds":1790280739,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50c28b8"} 
[2026-09-25 01:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:43: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-25 01:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:43: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-25 01:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:43: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-25 01:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311863808001,"66":27843,"118":206,"2":56576,"24":0,"16":3605341577150464,"45":2521452870543626240},"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-25 01:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311863808001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:43:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 01:43: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-25 01:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2521452870543626240,"description":"Unknown IO ID 45"} 
[2026-09-25 01:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311863808001,"power":27843,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2521452870543626240}} 
[2026-09-25 01:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":194524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:43:44] local.INFO: GPS data processed {"connection_id":194524,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:43:44] local.INFO: Acknowledgment sent {"connection_id":194524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:44:04] local.INFO: TCP Data received {"connection_id":191853,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:04] local.INFO: Processing buffer {"connection_id":191853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:04] local.INFO: Packet analysis {"connection_id":191853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:44:04] local.INFO: Extracted packet for processing {"connection_id":191853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:44: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-25 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44: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-25 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:44: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-25 01:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:44: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-25 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:44: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-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":191853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:44:04] local.INFO: GPS data processed {"connection_id":191853,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:44:04] local.INFO: Acknowledgment sent {"connection_id":191853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:44:05] local.INFO: TCP Data received {"connection_id":191672,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:05] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:05] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:44:06] local.INFO: TCP Data received {"connection_id":191672,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:06] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:06] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:44:11] local.INFO: TCP Data received {"connection_id":191672,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:11] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:44:11] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:44:12] local.INFO: TCP Data received {"connection_id":191672,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50c5b80012d237d4006ca35c8000b006331..."} 
[2026-09-25 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50c5b80012d237d4006ca35c8000b006331..."} 
[2026-09-25 01:44:12] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50c5b80012d237d4006ca35c8000b006331..."} 
[2026-09-25 01:44:12] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:44:12] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":757300544,"raw_latitude":113915336,"longitude_deg":75.7300544,"latitude_deg":11.3915336,"altitude":11,"angle":99,"satellites":49,"speed":51,"hex_longitude":"2d237d40","hex_latitude":"06ca35c8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311869184001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2536652519281471488,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280752000,"timestamp_ms":1790280752000,"timestamp_seconds":1790280752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50c5b80"} 
[2026-09-25 01: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-25 01:44: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-25 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:44: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-25 01: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-25 01: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-25 01:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:44: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-25 01:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311869184001,"66":27821,"248":206,"2":56576,"24":51,"16":3605341577150464,"45":2536652519281471488},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-09-25 01:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311869184001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:44: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-25 01:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2536652519281471488,"description":"Unknown IO ID 45"} 
[2026-09-25 01:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311869184001,"power":27821,"tamper_alert":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2536652519281471488}} 
[2026-09-25 01:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:44:12] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:44:12] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:44:27] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:27] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:27] local.INFO: IMEI packet received {"connection_id":191854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":191854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:44:32] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:32] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:44:32] local.INFO: IMEI packet received {"connection_id":191854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":191854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:44:33] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:33] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:44:33] local.INFO: Packet analysis {"connection_id":191854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:44:33] local.INFO: Extracted packet for processing {"connection_id":191854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:44: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-25 01: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-25 01: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-25 01:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:44: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-25 01:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":191854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:44:33] local.INFO: GPS data processed {"connection_id":191854,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:44:33] local.INFO: Acknowledgment sent {"connection_id":191854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:44:44] local.INFO: TCP Data received {"connection_id":191672,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50c9de8012d23d08006ca23c0000b007231..."} 
[2026-09-25 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50c9de8012d23d08006ca23c0000b007231..."} 
[2026-09-25 01:44:44] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50c9de8012d23d08006ca23c0000b007231..."} 
[2026-09-25 01:44:44] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:44:44] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":757321856,"raw_latitude":113910720,"longitude_deg":75.7321856,"latitude_deg":11.391072,"altitude":11,"angle":114,"satellites":49,"speed":48,"hex_longitude":"2d23d080","hex_latitude":"06ca23c0","is_valid_coordinates":true} 
[2026-09-25 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311872512001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2557270561322813440,"note":"Value kept but may cause issues"} 
[2026-09-25 01:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280769000,"timestamp_ms":1790280769000,"timestamp_seconds":1790280769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50c9de8"} 
[2026-09-25 01:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:44: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-25 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:44:44] 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-25 01:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:44: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-25 01:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311872512001,"66":27832,"248":206,"2":56576,"24":48,"16":3605341577150464,"45":2557270561322813440},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-09-25 01:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311872512001,"description":"Unknown IO ID 0"} 
[2026-09-25 01: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-25 01:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2557270561322813440,"description":"Unknown IO ID 45"} 
[2026-09-25 01:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311872512001,"power":27832,"tamper_alert":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":2557270561322813440}} 
[2026-09-25 01:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:44:44] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:44:44] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:45:06] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:06] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:06] local.INFO: Packet analysis {"connection_id":191854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:45:06] local.INFO: Extracted packet for processing {"connection_id":191854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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-25 01: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-25 01:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:45: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-25 01: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-25 01: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-25 01:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":191854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:45:06] local.INFO: GPS data processed {"connection_id":191854,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:45:06] local.INFO: Acknowledgment sent {"connection_id":191854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:45:06] local.INFO: TCP Data received {"connection_id":194525,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:06] local.INFO: Processing buffer {"connection_id":194525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:06] local.INFO: IMEI packet received {"connection_id":194525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":194525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:45:11] local.INFO: TCP Data received {"connection_id":194525,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:11] local.INFO: Processing buffer {"connection_id":194525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:45:11] local.INFO: IMEI packet received {"connection_id":194525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":194525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:45:12] local.INFO: TCP Data received {"connection_id":194525,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50ce050012d240a8006c9edf8000b009631..."} 
[2026-09-25 01:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50ce050012d240a8006c9edf8000b009631..."} 
[2026-09-25 01:45:12] local.INFO: Processing buffer {"connection_id":194525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50ce050012d240a8006c9edf8000b009631..."} 
[2026-09-25 01:45:12] local.INFO: Packet analysis {"connection_id":194525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:45:12] local.INFO: Extracted packet for processing {"connection_id":194525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50c"} 
[2026-09-25 01:45:12] local.INFO: GPS Element Parsed {"raw_longitude":757336704,"raw_latitude":113896952,"longitude_deg":75.7336704,"latitude_deg":11.3896952,"altitude":11,"angle":150,"satellites":49,"speed":50,"hex_longitude":"2d240a80","hex_latitude":"06c9edf8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311876864001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2580703353132793856,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280786000,"timestamp_ms":1790280786000,"timestamp_seconds":1790280786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50ce050"} 
[2026-09-25 01: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-25 01:45: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-25 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 01:45: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-25 01: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-25 01: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-25 01:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:45: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-25 01:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311876864001,"66":27876,"248":206,"2":56576,"24":50,"16":3605341577150464,"45":2580703353132793856},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-09-25 01:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311876864001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:45: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-25 01:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2580703353132793856,"description":"Unknown IO ID 45"} 
[2026-09-25 01:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311876864001,"power":27876,"tamper_alert":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2580703353132793856}} 
[2026-09-25 01:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":194525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:45:12] local.INFO: GPS data processed {"connection_id":194525,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:45:12] local.INFO: Acknowledgment sent {"connection_id":194525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:45:27] local.INFO: TCP Data received {"connection_id":194526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:27] local.INFO: Processing buffer {"connection_id":194526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:27] local.INFO: IMEI packet received {"connection_id":194526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":194526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:45:32] local.INFO: TCP Data received {"connection_id":194526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:32] local.INFO: Processing buffer {"connection_id":194526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:45:32] local.INFO: IMEI packet received {"connection_id":194526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":194526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:45:33] local.INFO: TCP Data received {"connection_id":194526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:33] local.INFO: Processing buffer {"connection_id":194526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:45:33] local.INFO: Packet analysis {"connection_id":194526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:45:33] local.INFO: Extracted packet for processing {"connection_id":194526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:45: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-25 01: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-25 01: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-25 01:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:45: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-25 01:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":194526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:45:33] local.INFO: GPS data processed {"connection_id":194526,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:45:33] local.INFO: Acknowledgment sent {"connection_id":194526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:45:44] local.INFO: TCP Data received {"connection_id":194525,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d3258012d2427c006c99f38000800a131..."} 
[2026-09-25 01:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d3258012d2427c006c99f38000800a131..."} 
[2026-09-25 01:45:44] local.INFO: Processing buffer {"connection_id":194525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d3258012d2427c006c99f38000800a131..."} 
[2026-09-25 01:45:44] local.INFO: Packet analysis {"connection_id":194525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:45:44] local.INFO: Extracted packet for processing {"connection_id":194525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:45:44] local.INFO: GPS Element Parsed {"raw_longitude":757344192,"raw_latitude":113876792,"longitude_deg":75.7344192,"latitude_deg":11.3876792,"altitude":8,"angle":161,"satellites":49,"speed":0,"hex_longitude":"2d2427c0","hex_latitude":"06c99f38","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311881216001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2597028901778487296,"note":"Value kept but may cause issues"} 
[2026-09-25 01:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280807000,"timestamp_ms":1790280807000,"timestamp_seconds":1790280807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d3258"} 
[2026-09-25 01: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-25 01:45: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-25 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:45: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-25 01: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-25 01: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-25 01:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:45: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-25 01:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311881216001,"66":27876,"248":206,"2":56576,"24":0,"16":3605341577150464,"45":2597028901778487296},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-09-25 01:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311881216001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:45: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-25 01:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2597028901778487296,"description":"Unknown IO ID 45"} 
[2026-09-25 01:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311881216001,"power":27876,"tamper_alert":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2597028901778487296}} 
[2026-09-25 01:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":194525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:45:44] local.INFO: GPS data processed {"connection_id":194525,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:45:44] local.INFO: Acknowledgment sent {"connection_id":194525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:46:04] local.INFO: TCP Data received {"connection_id":194526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:04] local.INFO: Processing buffer {"connection_id":194526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:04] local.INFO: Packet analysis {"connection_id":194526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:04] local.INFO: Extracted packet for processing {"connection_id":194526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:46: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-25 01: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-25 01: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-25 01:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:46: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-25 01:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":194526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:46:04] local.INFO: GPS data processed {"connection_id":194526,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:46:04] local.INFO: Acknowledgment sent {"connection_id":194526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:46:11] local.INFO: TCP Data received {"connection_id":193239,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:11] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:11] local.INFO: IMEI packet received {"connection_id":193239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":193239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:46:15] local.INFO: TCP Data received {"connection_id":193239,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:15] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:46:15] local.INFO: IMEI packet received {"connection_id":193239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":193239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:46:16] local.INFO: TCP Data received {"connection_id":193239,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d8460012d243c8006c957e8000a00a731..."} 
[2026-09-25 01:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d8460012d243c8006c957e8000a00a731..."} 
[2026-09-25 01:46:16] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d8460012d243c8006c957e8000a00a731..."} 
[2026-09-25 01:46:16] local.INFO: Packet analysis {"connection_id":193239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:16] local.INFO: Extracted packet for processing {"connection_id":193239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:16] local.INFO: GPS Element Parsed {"raw_longitude":757349504,"raw_latitude":113858536,"longitude_deg":75.7349504,"latitude_deg":11.3858536,"altitude":10,"angle":167,"satellites":49,"speed":0,"hex_longitude":"2d243c80","hex_latitude":"06c957e8","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311886592001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2605262044842113024,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790280828000,"timestamp_ms":1790280828000,"timestamp_seconds":1790280828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d8460"} 
[2026-09-25 01: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-25 01:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 01:46:16] 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-25 01: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-25 01: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-25 01:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:46: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-25 01:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311886592001,"66":27843,"249":206,"2":56576,"24":0,"16":3605341577150464,"45":2605262044842113024},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-09-25 01:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311886592001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:46:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01:46: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-25 01:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2605262044842113024,"description":"Unknown IO ID 45"} 
[2026-09-25 01:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311886592001,"power":27843,"unknown_249":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2605262044842113024}} 
[2026-09-25 01:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":193239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:46:16] local.INFO: GPS data processed {"connection_id":193239,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:46:16] local.INFO: Acknowledgment sent {"connection_id":193239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:46:21] local.INFO: TCP Data received {"connection_id":193239,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50dd668012d244b0006c91b40000f009d31..."} 
[2026-09-25 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50dd668012d244b0006c91b40000f009d31..."} 
[2026-09-25 01:46:21] local.INFO: Processing buffer {"connection_id":193239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50dd668012d244b0006c91b40000f009d31..."} 
[2026-09-25 01:46:21] local.INFO: Packet analysis {"connection_id":193239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:21] local.INFO: Extracted packet for processing {"connection_id":193239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:21] local.INFO: GPS Element Parsed {"raw_longitude":757353216,"raw_latitude":113843008,"longitude_deg":75.7353216,"latitude_deg":11.3843008,"altitude":15,"angle":157,"satellites":49,"speed":0,"hex_longitude":"2d244b00","hex_latitude":"06c91b40","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311891968001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2611102650604185600,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790280849000,"timestamp_ms":1790280849000,"timestamp_seconds":1790280849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50dd668"} 
[2026-09-25 01: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-25 01:46: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-25 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:46: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-25 01: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-25 01: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-25 01:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311891968001,"66":27952,"249":206,"2":56576,"24":0,"16":3605341577150464,"45":2611102650604185600},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-09-25 01:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311891968001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:46:21] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01: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-25 01:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2611102650604185600,"description":"Unknown IO ID 45"} 
[2026-09-25 01:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311891968001,"power":27952,"unknown_249":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2611102650604185600}} 
[2026-09-25 01:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":193239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:46:21] local.INFO: GPS data processed {"connection_id":193239,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:46:21] local.INFO: Acknowledgment sent {"connection_id":193239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:46:27] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:27] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:27] local.INFO: IMEI packet received {"connection_id":191855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":191855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:46:32] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:32] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:46:32] local.INFO: IMEI packet received {"connection_id":191855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:46:33] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:33] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:46:33] local.INFO: Packet analysis {"connection_id":191855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:46:33] local.INFO: Extracted packet for processing {"connection_id":191855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:46: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-25 01: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-25 01: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-25 01:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:46: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-25 01:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":191855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:46:33] local.INFO: GPS data processed {"connection_id":191855,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:46:33] local.INFO: Acknowledgment sent {"connection_id":191855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:47:04] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:04] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:04] local.INFO: Packet analysis {"connection_id":191855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:47:04] local.INFO: Extracted packet for processing {"connection_id":191855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01:47: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:47: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-25 01: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-25 01: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-25 01:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:47: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-25 01:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":191855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:47:04] local.INFO: GPS data processed {"connection_id":191855,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:47:04] local.INFO: Acknowledgment sent {"connection_id":191855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:47:05] local.INFO: TCP Data received {"connection_id":191673,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:05] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:05] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:47:11] local.INFO: TCP Data received {"connection_id":191673,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:11] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:47:11] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:47:12] local.INFO: TCP Data received {"connection_id":191673,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50e0548012d2474c006c8e3200011008a32..."} 
[2026-09-25 01:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50e0548012d2474c006c8e3200011008a32..."} 
[2026-09-25 01:47:12] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50e0548012d2474c006c8e3200011008a32..."} 
[2026-09-25 01:47:12] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:47:12] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:47:12] local.INFO: GPS Element Parsed {"raw_longitude":757363904,"raw_latitude":113828640,"longitude_deg":75.7363904,"latitude_deg":11.382864,"altitude":17,"angle":138,"satellites":50,"speed":39,"hex_longitude":"2d2474c0","hex_latitude":"06c8e320","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311897344001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2615184037762514944,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790280861000,"timestamp_ms":1790280861000,"timestamp_seconds":1790280861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50e0548"} 
[2026-09-25 01: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-25 01: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-25 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 01:47: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-25 01: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-25 01: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-25 01:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311897344001,"66":27843,"249":206,"2":56576,"24":39,"16":3605341577150464,"45":2615184037762514944},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-09-25 01:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311897344001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:47:12] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01: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-25 01:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2615184037762514944,"description":"Unknown IO ID 45"} 
[2026-09-25 01:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311897344001,"power":27843,"unknown_249":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2615184037762514944}} 
[2026-09-25 01:47:12] 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":893241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:47:12] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:47:12] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:47:26] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:26] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:26] local.INFO: IMEI packet received {"connection_id":191856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":191856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:47:32] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:32] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:47:32] local.INFO: IMEI packet received {"connection_id":191856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":191856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:47:33] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:33] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:47:33] local.INFO: Packet analysis {"connection_id":191856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:47:33] local.INFO: Extracted packet for processing {"connection_id":191856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":191856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:47:33] local.INFO: GPS data processed {"connection_id":191856,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:47:33] local.INFO: Acknowledgment sent {"connection_id":191856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:47:44] local.INFO: TCP Data received {"connection_id":191673,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50e4b98012d24a24006c8a1e8000c009d31..."} 
[2026-09-25 01:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50e4b98012d24a24006c8a1e8000c009d31..."} 
[2026-09-25 01:47:44] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50e4b98012d24a24006c8a1e8000c009d31..."} 
[2026-09-25 01:47:44] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:47:44] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:47:44] local.INFO: GPS Element Parsed {"raw_longitude":757375552,"raw_latitude":113811944,"longitude_deg":75.7375552,"latitude_deg":11.3811944,"altitude":12,"angle":157,"satellites":49,"speed":51,"hex_longitude":"2d24a240","hex_latitude":"06c8a1e8","is_valid_coordinates":true} 
[2026-09-25 01:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311900416001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2626935618036506624,"note":"Value kept but may cause issues"} 
[2026-09-25 01:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790280879000,"timestamp_ms":1790280879000,"timestamp_seconds":1790280879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50e4b98"} 
[2026-09-25 01:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:47: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-25 01:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:47: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-25 01:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311900416001,"66":27843,"249":206,"2":56576,"24":51,"16":3605341577150464,"45":2626935618036506624},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-09-25 01:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311900416001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:47:44] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01: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-25 01:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2626935618036506624,"description":"Unknown IO ID 45"} 
[2026-09-25 01:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311900416001,"power":27843,"unknown_249":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2626935618036506624}} 
[2026-09-25 01:47:44] 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":893243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:47:44] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:47:44] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:48:05] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:05] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:05] local.INFO: Packet analysis {"connection_id":191856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:48:05] local.INFO: Extracted packet for processing {"connection_id":191856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:48:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":191856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:48:05] local.INFO: GPS data processed {"connection_id":191856,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:48:05] local.INFO: Acknowledgment sent {"connection_id":191856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:48:06] local.INFO: TCP Data received {"connection_id":194527,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:06] local.INFO: Processing buffer {"connection_id":194527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:06] local.INFO: IMEI packet received {"connection_id":194527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":194527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:48:10] local.INFO: TCP Data received {"connection_id":194527,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:10] local.INFO: Processing buffer {"connection_id":194527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:48:10] local.INFO: IMEI packet received {"connection_id":194527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":194527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:48:11] local.INFO: TCP Data received {"connection_id":194527,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50e9da0012d24c00006c84d10000700a231..."} 
[2026-09-25 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50e9da0012d24c00006c84d10000700a231..."} 
[2026-09-25 01:48:11] local.INFO: Processing buffer {"connection_id":194527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50e9da0012d24c00006c84d10000700a231..."} 
[2026-09-25 01:48:11] local.INFO: Packet analysis {"connection_id":194527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:48:11] local.INFO: Extracted packet for processing {"connection_id":194527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50e"} 
[2026-09-25 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":757383168,"raw_latitude":113790224,"longitude_deg":75.7383168,"latitude_deg":11.3790224,"altitude":7,"angle":162,"satellites":49,"speed":0,"hex_longitude":"2d24c000","hex_latitude":"06c84d10","is_valid_coordinates":true} 
[2026-09-25 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311905024001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2639742729472567296,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790280900000,"timestamp_ms":1790280900000,"timestamp_seconds":1790280900,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50e9da0"} 
[2026-09-25 01:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:48:11] 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-25 01:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311905024001,"66":27821,"249":206,"2":56576,"24":0,"16":3605341577150464,"45":2639742729472567296},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-09-25 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311905024001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:48:11] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01:48: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-25 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2639742729472567296,"description":"Unknown IO ID 45"} 
[2026-09-25 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311905024001,"power":27821,"unknown_249":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2639742729472567296}} 
[2026-09-25 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":194527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:48:11] local.INFO: GPS data processed {"connection_id":194527,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:48:11] local.INFO: Acknowledgment sent {"connection_id":194527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:48:26] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:26] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:26] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:48:32] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:32] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:48:32] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:48:33] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:33] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50d0760012d34c14006aa4940000900f52b..."} 
[2026-09-25 01:48:33] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01:48:33] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50d"} 
[2026-09-25 01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311806720001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790280796000,"timestamp_ms":1790280796000,"timestamp_seconds":1790280796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50d0760"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311806720001,"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-25 01:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311806720001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311806720001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:48:33] 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":893246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:48:33] local.INFO: GPS data processed {"connection_id":191674,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:48:33] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:48:42] local.INFO: TCP Data received {"connection_id":194527,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50f84180100000000000000000000000000..."} 
[2026-09-25 01:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50f84180100000000000000000000000000..."} 
[2026-09-25 01:48:42] local.INFO: Processing buffer {"connection_id":194527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50f84180100000000000000000000000000..."} 
[2026-09-25 01:48:42] local.INFO: Packet analysis {"connection_id":194527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:48:42] local.INFO: Extracted packet for processing {"connection_id":194527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:48: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-25 01:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311910400001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2648116610024148992,"note":"Value kept but may cause issues"} 
[2026-09-25 01:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790280959000,"timestamp_ms":1790280959000,"timestamp_seconds":1790280959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50f8418"} 
[2026-09-25 01:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:48: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-25 01:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:48:42] 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-25 01:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:48: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-25 01:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":194527,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:48:42] local.INFO: GPS data processed {"connection_id":194527,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:48:42] local.INFO: Acknowledgment sent {"connection_id":194527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:49:05] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:05] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:05] local.INFO: Packet analysis {"connection_id":191674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:49:05] local.INFO: Extracted packet for processing {"connection_id":191674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:49: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-25 01:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:49: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":893247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:49:05] local.INFO: GPS data processed {"connection_id":191674,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:49:05] local.INFO: Acknowledgment sent {"connection_id":191674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:49:06] local.INFO: TCP Data received {"connection_id":194528,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:06] local.INFO: Processing buffer {"connection_id":194528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:06] local.INFO: IMEI packet received {"connection_id":194528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":194528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:49:10] local.INFO: TCP Data received {"connection_id":194528,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:10] local.INFO: Processing buffer {"connection_id":194528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:49:10] local.INFO: IMEI packet received {"connection_id":194528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":194528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:49:11] local.INFO: TCP Data received {"connection_id":194528,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50f0718012d24efc006c7a7d8000c00ad30..."} 
[2026-09-25 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50f0718012d24efc006c7a7d8000c00ad30..."} 
[2026-09-25 01:49:11] local.INFO: Processing buffer {"connection_id":194528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50f0718012d24efc006c7a7d8000c00ad30..."} 
[2026-09-25 01:49:11] local.INFO: Packet analysis {"connection_id":194528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:49:11] local.INFO: Extracted packet for processing {"connection_id":194528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":757395392,"raw_latitude":113747928,"longitude_deg":75.7395392,"latitude_deg":11.3747928,"altitude":12,"angle":173,"satellites":48,"speed":48,"hex_longitude":"2d24efc0","hex_latitude":"06c7a7d8","is_valid_coordinates":true} 
[2026-09-25 01:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,249,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790280927000,"timestamp_ms":1790280927000,"timestamp_seconds":1790280927,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50f0718"} 
[2026-09-25 01:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 01:49:11] 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-25 01:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"249":206,"2":56576,"24":48,"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,249,2,24,16]} 
[2026-09-25 01:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:49:11] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-09-25 01:49: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-25 01:49:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_249":206,"power_alt":56576,"ignition":48,"odometer":null}} 
[2026-09-25 01:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":194528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:49:12] local.INFO: GPS data processed {"connection_id":194528,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:49:12] local.INFO: Acknowledgment sent {"connection_id":194528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:49:27] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:27] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:27] local.INFO: IMEI packet received {"connection_id":191857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":191857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:49:32] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:32] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:49:32] local.INFO: IMEI packet received {"connection_id":191857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":191857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:49:33] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:33] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:49:33] local.INFO: Packet analysis {"connection_id":191857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:49:33] local.INFO: Extracted packet for processing {"connection_id":191857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:49: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-25 01:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":191857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:49:33] local.INFO: GPS data processed {"connection_id":191857,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:49:33] local.INFO: Acknowledgment sent {"connection_id":191857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:49:57] local.INFO: TCP Data received {"connection_id":194528,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d50f5920012d24f94006c75cb8001000a932..."} 
[2026-09-25 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d50f5920012d24f94006c75cb8001000a932..."} 
[2026-09-25 01:49:57] local.INFO: Processing buffer {"connection_id":194528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d50f5920012d24f94006c75cb8001000a932..."} 
[2026-09-25 01:49:57] local.INFO: Packet analysis {"connection_id":194528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:49:57] local.INFO: Extracted packet for processing {"connection_id":194528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d50f"} 
[2026-09-25 01:49:57] local.INFO: GPS Element Parsed {"raw_longitude":757397824,"raw_latitude":113728696,"longitude_deg":75.7397824,"latitude_deg":11.3728696,"altitude":16,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2d24f940","hex_latitude":"06c75cb8","is_valid_coordinates":true} 
[2026-09-25 01:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311917312001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-25 01:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2661557040151255040,"note":"Value kept but may cause issues"} 
[2026-09-25 01:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-25 01:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790280948000,"timestamp_ms":1790280948000,"timestamp_seconds":1790280948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d50f5920"} 
[2026-09-25 01:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 01:49:57] 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-25 01:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":194528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":194528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":194528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311917312001,"66":27800,"200":0,"2":56576,"24":0,"16":3605341577150464,"45":2661557040151255040},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-09-25 01:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311917312001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 01:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2661557040151255040,"description":"Unknown IO ID 45"} 
[2026-09-25 01:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311917312001,"power":27800,"gsm_signal":0,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2661557040151255040}} 
[2026-09-25 01:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":194528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:49:57] local.INFO: GPS data processed {"connection_id":194528,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:49:57] local.INFO: Acknowledgment sent {"connection_id":194528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:50:04] local.INFO: TCP Data received {"connection_id":191857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:04] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:04] local.INFO: Packet analysis {"connection_id":191857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:50:04] local.INFO: Extracted packet for processing {"connection_id":191857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:50: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-25 01:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50: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-25 01:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:50: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-25 01:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:50: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-25 01:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:50: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-25 01:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":191857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:50:04] local.INFO: GPS data processed {"connection_id":191857,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:50:04] local.INFO: Acknowledgment sent {"connection_id":191857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:50:05] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:05] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:05] local.INFO: IMEI packet received {"connection_id":194529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":194529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:50:12] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:12] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:12] local.INFO: IMEI packet received {"connection_id":194529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":194529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:50:13] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:13] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:13] local.INFO: IMEI packet received {"connection_id":194529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":194529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:50:15] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:15] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:50:15] local.INFO: IMEI packet received {"connection_id":194529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":194529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:50:17] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5122010012d26edc006c463500007009b31..."} 
[2026-09-25 01:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5122010012d26edc006c463500007009b31..."} 
[2026-09-25 01:50:17] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5122010012d26edc006c463500007009b31..."} 
[2026-09-25 01:50:17] local.INFO: Packet analysis {"connection_id":194529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:50:17] local.INFO: Extracted packet for processing {"connection_id":194529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:50:17] local.INFO: GPS Element Parsed {"raw_longitude":757525952,"raw_latitude":113533776,"longitude_deg":75.7525952,"latitude_deg":11.3533776,"altitude":7,"angle":155,"satellites":49,"speed":59,"hex_longitude":"2d26edc0","hex_latitude":"06c46350","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790281130000,"timestamp_ms":1790281130000,"timestamp_seconds":1790281130,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5122010"} 
[2026-09-25 01: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-25 01:50: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-25 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 01:50:17] 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-25 01: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-25 01: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-25 01:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:50: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-25 01:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"191":206,"2":56576,"24":59,"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,191,2,24,16]} 
[2026-09-25 01:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:50:17] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01: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-25 01:50:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_191":206,"power_alt":56576,"ignition":59,"odometer":null}} 
[2026-09-25 01:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":194529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:50:17] local.INFO: GPS data processed {"connection_id":194529,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:50:17] local.INFO: Acknowledgment sent {"connection_id":194529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:50:24] local.INFO: TCP Data received {"connection_id":194529,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5127218012d2713c006c410880007009b31..."} 
[2026-09-25 01:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5127218012d2713c006c410880007009b31..."} 
[2026-09-25 01:50:24] local.INFO: Processing buffer {"connection_id":194529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5127218012d2713c006c410880007009b31..."} 
[2026-09-25 01:50:24] local.INFO: Packet analysis {"connection_id":194529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:50:24] local.INFO: Extracted packet for processing {"connection_id":194529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:50:24] local.INFO: GPS Element Parsed {"raw_longitude":757535680,"raw_latitude":113512584,"longitude_deg":75.753568,"latitude_deg":11.3512584,"altitude":7,"angle":155,"satellites":49,"speed":0,"hex_longitude":"2d2713c0","hex_latitude":"06c41088","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311969280001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2805109278218866688,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790281151000,"timestamp_ms":1790281151000,"timestamp_seconds":1790281151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5127218"} 
[2026-09-25 01: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-25 01:50: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-25 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:50:24] 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-25 01: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-25 01: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-25 01:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:50: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-25 01:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311969280001,"66":27843,"191":206,"2":56576,"24":0,"16":3605341577150464,"45":2805109278218866688},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-09-25 01:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311969280001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:50:24] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-25 01: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-25 01:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2805109278218866688,"description":"Unknown IO ID 45"} 
[2026-09-25 01:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311969280001,"power":27843,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2805109278218866688}} 
[2026-09-25 01:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":194529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:50:24] local.INFO: GPS data processed {"connection_id":194529,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:50:24] local.INFO: Acknowledgment sent {"connection_id":194529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:50:27] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:27] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:27] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:50:32] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:32] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:50:32] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:50:33] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:33] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:50:33] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:50:33] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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-25 01: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-25 01:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:50: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-25 01:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:50:33] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:50:33] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:51:04] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:04] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:04] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:51:04] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:51: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-25 01:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:51: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-25 01:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:51: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-25 01:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:51: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-25 01:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:51:04] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:51:04] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:51:26] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:26] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:26] local.INFO: IMEI packet received {"connection_id":193240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":193240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:51:32] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:32] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:51:32] local.INFO: IMEI packet received {"connection_id":193240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":193240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:51:33] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:33] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:51:33] local.INFO: Packet analysis {"connection_id":193240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:51:33] local.INFO: Extracted packet for processing {"connection_id":193240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:51: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-25 01:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":193240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:51:33] local.INFO: GPS data processed {"connection_id":193240,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:51:33] local.INFO: Acknowledgment sent {"connection_id":193240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:51:43] local.INFO: TCP Data received {"connection_id":193241,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:51:43] local.INFO: Processing buffer {"connection_id":193241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:51:43] local.INFO: IMEI packet received {"connection_id":193241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":193241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:52:04] local.INFO: TCP Data received {"connection_id":193240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:04] local.INFO: Processing buffer {"connection_id":193240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:04] local.INFO: Packet analysis {"connection_id":193240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:52:04] local.INFO: Extracted packet for processing {"connection_id":193240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":193240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:52:04] local.INFO: GPS data processed {"connection_id":193240,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:52:04] local.INFO: Acknowledgment sent {"connection_id":193240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:52:26] local.INFO: TCP Data received {"connection_id":194530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:26] local.INFO: Processing buffer {"connection_id":194530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:26] local.INFO: IMEI packet received {"connection_id":194530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":194530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:52:32] local.INFO: TCP Data received {"connection_id":194530,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:32] local.INFO: Processing buffer {"connection_id":194530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:52:32] local.INFO: IMEI packet received {"connection_id":194530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":194530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:52:33] local.INFO: TCP Data received {"connection_id":194530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:33] local.INFO: Processing buffer {"connection_id":194530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:52:33] local.INFO: Packet analysis {"connection_id":194530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:52:33] local.INFO: Extracted packet for processing {"connection_id":194530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:52: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-25 01: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-25 01: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-25 01:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:52: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-25 01:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":194530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:52:33] local.INFO: GPS data processed {"connection_id":194530,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:52:33] local.INFO: Acknowledgment sent {"connection_id":194530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:52:40] local.INFO: TCP Data received {"connection_id":191676,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:40] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:40] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:52:46] local.INFO: TCP Data received {"connection_id":191676,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:46] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:52:46] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:52:47] local.INFO: TCP Data received {"connection_id":191676,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51358900100000000000000000000000000..."} 
[2026-09-25 01:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51358900100000000000000000000000000..."} 
[2026-09-25 01:52:47] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51358900100000000000000000000000000..."} 
[2026-09-25 01:52:47] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d513"} 
[2026-09-25 01:52:47] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d513"} 
[2026-09-25 01:52: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-25 01:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311974656001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2815805327328446464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790281210000,"timestamp_ms":1790281210000,"timestamp_seconds":1790281210,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5135890"} 
[2026-09-25 01:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:52: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-25 01:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 01:52: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-25 01:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:52: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-25 01:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:52:47] local.INFO: GPS data processed {"connection_id":191676,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:52:47] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:53:04] local.INFO: TCP Data received {"connection_id":194530,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:04] local.INFO: Processing buffer {"connection_id":194530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:04] local.INFO: Packet analysis {"connection_id":194530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:53:04] local.INFO: Extracted packet for processing {"connection_id":194530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53: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-25 01:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":194530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:53:04] local.INFO: GPS data processed {"connection_id":194530,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:53:04] local.INFO: Acknowledgment sent {"connection_id":194530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:53:15] local.INFO: TCP Data received {"connection_id":191677,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:15] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:15] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:53:17] local.INFO: TCP Data received {"connection_id":191677,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:17] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:53:17] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:53:19] local.INFO: TCP Data received {"connection_id":191677,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d512df78012d275ec006c372d80010009a31..."} 
[2026-09-25 01:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d512df78012d275ec006c372d80010009a31..."} 
[2026-09-25 01:53:19] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d512df78012d275ec006c372d80010009a31..."} 
[2026-09-25 01:53:19] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:53:19] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d512"} 
[2026-09-25 01:53:19] local.INFO: GPS Element Parsed {"raw_longitude":757554880,"raw_latitude":113472216,"longitude_deg":75.755488,"latitude_deg":11.3472216,"altitude":16,"angle":154,"satellites":49,"speed":54,"hex_longitude":"2d275ec0","hex_latitude":"06c372d8","is_valid_coordinates":true} 
[2026-09-25 01:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,76,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790281179000,"timestamp_ms":1790281179000,"timestamp_seconds":1790281179,"priority":1,"record_length":96,"hex_timestamp":"000001a0d512df78"} 
[2026-09-25 01:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:53: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:53:19] 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-25 01:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:53: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-25 01:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"76":206,"2":57088,"24":54,"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,76,2,24,16]} 
[2026-09-25 01:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:53:19] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-25 01:53: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-25 01:53:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null}} 
[2026-09-25 01:53:19] 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":893260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:53:19] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:53:19] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:53:32] local.INFO: TCP Data received {"connection_id":191858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:32] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:32] local.INFO: IMEI packet received {"connection_id":191858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:53:37] local.INFO: TCP Data received {"connection_id":191858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:37] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:53:37] local.INFO: IMEI packet received {"connection_id":191858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":191858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:53:38] local.INFO: TCP Data received {"connection_id":191858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:38] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:38] local.INFO: Packet analysis {"connection_id":191858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:53:38] local.INFO: Extracted packet for processing {"connection_id":191858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53: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-25 01:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":191858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:53:38] local.INFO: GPS data processed {"connection_id":191858,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:53:38] local.INFO: Acknowledgment sent {"connection_id":191858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:53:42] local.INFO: TCP Data received {"connection_id":191858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:42] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5119f28012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:53:42] local.INFO: Packet analysis {"connection_id":191858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01:53:42] local.INFO: Extracted packet for processing {"connection_id":191858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d511"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311883776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790281097000,"timestamp_ms":1790281097000,"timestamp_seconds":1790281097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5119f28"} 
[2026-09-25 01: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-25 01: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-25 01: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 01:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311883776001,"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-25 01:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311883776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311883776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":191858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:53:42] local.INFO: GPS data processed {"connection_id":191858,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:53:42] local.INFO: Acknowledgment sent {"connection_id":191858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:53:50] local.INFO: TCP Data received {"connection_id":191677,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5133180012d27858006c32070000b009b30..."} 
[2026-09-25 01:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5133180012d27858006c32070000b009b30..."} 
[2026-09-25 01:53:50] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5133180012d27858006c32070000b009b30..."} 
[2026-09-25 01:53:50] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d513"} 
[2026-09-25 01:53:50] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d513"} 
[2026-09-25 01:53:50] local.INFO: GPS Element Parsed {"raw_longitude":757564800,"raw_latitude":113451120,"longitude_deg":75.75648,"latitude_deg":11.345112,"altitude":11,"angle":155,"satellites":48,"speed":0,"hex_longitude":"2d278580","hex_latitude":"06c32070","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2836915950571411456,"note":"Value kept but may cause issues"} 
[2026-09-25 01:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790281200000,"timestamp_ms":1790281200000,"timestamp_seconds":1790281200,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5133180"} 
[2026-09-25 01: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-25 01:53: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-25 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 01:53:50] 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-25 01: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-25 01: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-25 01:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:53: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-25 01:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311981824001,"66":27713,"76":206,"2":57088,"24":0,"16":3605341577150464,"45":2836915950571411456},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-09-25 01:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:53:50] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-25 01:53: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-25 01:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2836915950571411456,"description":"Unknown IO ID 45"} 
[2026-09-25 01:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311981824001,"power":27713,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2836915950571411456}} 
[2026-09-25 01:53:50] 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":893263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:53:50] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:53:50] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:54:05] local.INFO: TCP Data received {"connection_id":191678,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:05] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:05] local.INFO: IMEI packet received {"connection_id":191678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":191678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:54:11] local.INFO: TCP Data received {"connection_id":191678,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:11] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:54:11] local.INFO: IMEI packet received {"connection_id":191678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":191678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:54:12] local.INFO: TCP Data received {"connection_id":191678,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51417f80100000000000000000000000000..."} 
[2026-09-25 01:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51417f80100000000000000000000000000..."} 
[2026-09-25 01:54:12] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51417f80100000000000000000000000000..."} 
[2026-09-25 01:54:12] local.INFO: Packet analysis {"connection_id":191678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d514"} 
[2026-09-25 01:54:12] local.INFO: Extracted packet for processing {"connection_id":191678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d514"} 
[2026-09-25 01:54: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-25 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311987200001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2847823105913548800,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790281259000,"timestamp_ms":1790281259000,"timestamp_seconds":1790281259,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51417f8"} 
[2026-09-25 01:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:54: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-25 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-25 01:54:12] 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-25 01:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:54: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-25 01:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":191678,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:54:12] local.INFO: GPS data processed {"connection_id":191678,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:54:12] local.INFO: Acknowledgment sent {"connection_id":191678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:54:27] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:27] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:27] local.INFO: IMEI packet received {"connection_id":191859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":191859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:54:32] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:32] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:54:32] local.INFO: IMEI packet received {"connection_id":191859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:54:33] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:54:33] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:54:33] local.INFO: Packet analysis {"connection_id":191859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:54:33] local.INFO: Extracted packet for processing {"connection_id":191859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:54: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-25 01: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-25 01: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-25 01:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:54: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-25 01:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:54:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":191859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:54:33] local.INFO: GPS data processed {"connection_id":191859,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:54:33] local.INFO: Acknowledgment sent {"connection_id":191859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:54:45] local.INFO: TCP Data received {"connection_id":191678,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5164690012d29d80006c025c80008009431..."} 
[2026-09-25 01:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5164690012d29d80006c025c80008009431..."} 
[2026-09-25 01:54:45] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5164690012d29d80006c025c80008009431..."} 
[2026-09-25 01:54:45] local.INFO: Packet analysis {"connection_id":191678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:54:45] local.INFO: Extracted packet for processing {"connection_id":191678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:54:45] local.INFO: GPS Element Parsed {"raw_longitude":757716992,"raw_latitude":113255880,"longitude_deg":75.7716992,"latitude_deg":11.325588,"altitude":8,"angle":148,"satellites":49,"speed":57,"hex_longitude":"2d29d800","hex_latitude":"06c025c8","is_valid_coordinates":true} 
[2026-09-25 01:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312034816001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3000523280734015488,"note":"Value kept but may cause issues"} 
[2026-09-25 01:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790281402000,"timestamp_ms":1790281402000,"timestamp_seconds":1790281402,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5164690"} 
[2026-09-25 01:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:54:45] 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-25 01:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312034816001,"66":27691,"242":206,"2":57088,"24":57,"16":3605341577150464,"45":3000523280734015488},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-09-25 01:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312034816001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:54:45] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 01: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-25 01:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3000523280734015488,"description":"Unknown IO ID 45"} 
[2026-09-25 01:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312034816001,"power":27691,"unknown_242":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3000523280734015488}} 
[2026-09-25 01:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":191678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:54:45] local.INFO: GPS data processed {"connection_id":191678,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:54:45] local.INFO: Acknowledgment sent {"connection_id":191678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:55:04] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:04] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:04] local.INFO: Packet analysis {"connection_id":191859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:55:04] local.INFO: Extracted packet for processing {"connection_id":191859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:55: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-25 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55: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-25 01:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:55: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-25 01:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:55: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-25 01:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:55: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-25 01:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:55: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-25 01:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":191859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:55:04] local.INFO: GPS data processed {"connection_id":191859,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:55:04] local.INFO: Acknowledgment sent {"connection_id":191859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:55:05] local.INFO: TCP Data received {"connection_id":193242,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:05] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:05] local.INFO: IMEI packet received {"connection_id":193242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":193242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:55:10] local.INFO: TCP Data received {"connection_id":193242,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:10] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:55:10] local.INFO: IMEI packet received {"connection_id":193242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":193242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:55:11] local.INFO: TCP Data received {"connection_id":193242,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5169898012d2a0c8006bfdd40000a008e31..."} 
[2026-09-25 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5169898012d2a0c8006bfdd40000a008e31..."} 
[2026-09-25 01:55:11] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5169898012d2a0c8006bfdd40000a008e31..."} 
[2026-09-25 01:55:11] local.INFO: Packet analysis {"connection_id":193242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:55:11] local.INFO: Extracted packet for processing {"connection_id":193242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":757730432,"raw_latitude":113237312,"longitude_deg":75.7730432,"latitude_deg":11.3237312,"altitude":10,"angle":142,"satellites":49,"speed":0,"hex_longitude":"2d2a0c80","hex_latitude":"06bfdd40","is_valid_coordinates":true} 
[2026-09-25 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312038912001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3015159979518052352,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790281423000,"timestamp_ms":1790281423000,"timestamp_seconds":1790281423,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5169898"} 
[2026-09-25 01:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-25 01:55:11] 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-25 01:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312038912001,"66":27887,"242":206,"2":57088,"24":0,"16":3605341577150464,"45":3015159979518052352},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-09-25 01:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312038912001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:55:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 01:55: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-25 01:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3015159979518052352,"description":"Unknown IO ID 45"} 
[2026-09-25 01:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312038912001,"power":27887,"unknown_242":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3015159979518052352}} 
[2026-09-25 01:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":193242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:55:11] local.INFO: GPS data processed {"connection_id":193242,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:55:11] local.INFO: Acknowledgment sent {"connection_id":193242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:55:26] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:26] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:26] local.INFO: IMEI packet received {"connection_id":191860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":191860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:55:32] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:32] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:55:32] local.INFO: IMEI packet received {"connection_id":191860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":191860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:55:33] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:33] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:55:33] local.INFO: Packet analysis {"connection_id":191860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:55:33] local.INFO: Extracted packet for processing {"connection_id":191860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:55: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-25 01: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-25 01: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-25 01:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:55: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-25 01:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":191860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:55:33] local.INFO: GPS data processed {"connection_id":191860,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:55:33] local.INFO: Acknowledgment sent {"connection_id":191860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:55:49] local.INFO: TCP Data received {"connection_id":193242,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5177f100100000000000000000000000000..."} 
[2026-09-25 01:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5177f100100000000000000000000000000..."} 
[2026-09-25 01:55:49] local.INFO: Processing buffer {"connection_id":193242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5177f100100000000000000000000000000..."} 
[2026-09-25 01:55:49] local.INFO: Packet analysis {"connection_id":193242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:55:49] local.INFO: Extracted packet for processing {"connection_id":193242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:55: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-25 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312044288001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3029937415790608384,"note":"Value kept but may cause issues"} 
[2026-09-25 01:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790281482000,"timestamp_ms":1790281482000,"timestamp_seconds":1790281482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5177f10"} 
[2026-09-25 01:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:55:49] 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-25 01:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193242,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":193242,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:55:49] local.INFO: GPS data processed {"connection_id":193242,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:55:49] local.INFO: Acknowledgment sent {"connection_id":193242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:56:05] local.INFO: TCP Data received {"connection_id":191861,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:05] local.INFO: Processing buffer {"connection_id":191861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:05] local.INFO: IMEI packet received {"connection_id":191861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":191861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:56:05] local.INFO: TCP Data received {"connection_id":191860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:05] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:05] local.INFO: Packet analysis {"connection_id":191860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:56:05] local.INFO: Extracted packet for processing {"connection_id":191860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:56: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-25 01:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":191860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:56:05] local.INFO: GPS data processed {"connection_id":191860,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:56:05] local.INFO: Acknowledgment sent {"connection_id":191860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:56:11] local.INFO: TCP Data received {"connection_id":191861,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:11] local.INFO: Processing buffer {"connection_id":191861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:56:11] local.INFO: IMEI packet received {"connection_id":191861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":191861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:56:12] local.INFO: TCP Data received {"connection_id":191861,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5170210012d2a764006bf52c0000a008e31..."} 
[2026-09-25 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5170210012d2a764006bf52c0000a008e31..."} 
[2026-09-25 01:56:12] local.INFO: Processing buffer {"connection_id":191861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5170210012d2a764006bf52c0000a008e31..."} 
[2026-09-25 01:56:12] local.INFO: Packet analysis {"connection_id":191861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:56:12] local.INFO: Extracted packet for processing {"connection_id":191861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":757757504,"raw_latitude":113201856,"longitude_deg":75.7757504,"latitude_deg":11.3201856,"altitude":10,"angle":142,"satellites":49,"speed":56,"hex_longitude":"2d2a7640","hex_latitude":"06bf52c0","is_valid_coordinates":true} 
[2026-09-25 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790281450000,"timestamp_ms":1790281450000,"timestamp_seconds":1790281450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5170210"} 
[2026-09-25 01:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:56: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-25 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 01:56:12] 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-25 01:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:56: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-25 01:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"242":206,"2":57088,"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,242,2,24,16]} 
[2026-09-25 01:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:56:12] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 01:56: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-25 01:56:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_242":206,"power_alt":57088,"ignition":56,"odometer":null}} 
[2026-09-25 01:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":191861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:56:12] local.INFO: GPS data processed {"connection_id":191861,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:56:12] local.INFO: Acknowledgment sent {"connection_id":191861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:56:26] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:26] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:26] local.INFO: IMEI packet received {"connection_id":193243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":193243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:56:32] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:32] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:56:32] local.INFO: IMEI packet received {"connection_id":193243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":193243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:56:33] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:33] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:56:33] local.INFO: Packet analysis {"connection_id":193243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:56:33] local.INFO: Extracted packet for processing {"connection_id":193243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01: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-25 01:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:56: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-25 01:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":193243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:56:33] local.INFO: GPS data processed {"connection_id":193243,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:56:33] local.INFO: Acknowledgment sent {"connection_id":193243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:56:43] local.INFO: TCP Data received {"connection_id":191861,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5175418012d2ab04006bf0ad80006008c31..."} 
[2026-09-25 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5175418012d2ab04006bf0ad80006008c31..."} 
[2026-09-25 01:56:43] local.INFO: Processing buffer {"connection_id":191861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5175418012d2ab04006bf0ad80006008c31..."} 
[2026-09-25 01:56:43] local.INFO: Packet analysis {"connection_id":191861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:56:43] local.INFO: Extracted packet for processing {"connection_id":191861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:56:43] local.INFO: GPS Element Parsed {"raw_longitude":757772352,"raw_latitude":113183448,"longitude_deg":75.7772352,"latitude_deg":11.3183448,"altitude":6,"angle":140,"satellites":49,"speed":0,"hex_longitude":"2d2ab040","hex_latitude":"06bf0ad8","is_valid_coordinates":true} 
[2026-09-25 01:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3059703394568683520,"note":"Value kept but may cause issues"} 
[2026-09-25 01:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790281471000,"timestamp_ms":1790281471000,"timestamp_seconds":1790281471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5175418"} 
[2026-09-25 01:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:56: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-25 01:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 01:56:43] 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-25 01:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:56: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-25 01:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312051200001,"66":27463,"242":206,"2":57088,"24":0,"16":3605341577150464,"45":3059703394568683520},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-09-25 01:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:56:43] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 01:56: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-25 01:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3059703394568683520,"description":"Unknown IO ID 45"} 
[2026-09-25 01:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312051200001,"power":27463,"unknown_242":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3059703394568683520}} 
[2026-09-25 01:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":191861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:56:43] local.INFO: GPS data processed {"connection_id":191861,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:56:43] local.INFO: Acknowledgment sent {"connection_id":191861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:57:04] local.INFO: TCP Data received {"connection_id":193243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:04] local.INFO: Processing buffer {"connection_id":193243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:04] local.INFO: Packet analysis {"connection_id":193243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:57:04] local.INFO: Extracted packet for processing {"connection_id":193243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01: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-25 01: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-25 01: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-25 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":193243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:57:04] local.INFO: GPS data processed {"connection_id":193243,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:57:04] local.INFO: Acknowledgment sent {"connection_id":193243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:57:10] local.INFO: TCP Data received {"connection_id":191862,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:10] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:10] local.INFO: IMEI packet received {"connection_id":191862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":191862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:57:12] local.INFO: TCP Data received {"connection_id":191862,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:12] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:12] local.INFO: IMEI packet received {"connection_id":191862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":191862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:57:15] local.INFO: TCP Data received {"connection_id":191862,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:15] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:57:15] local.INFO: IMEI packet received {"connection_id":191862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":191862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:57:16] local.INFO: TCP Data received {"connection_id":191862,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5183a900100000000000000000000000000..."} 
[2026-09-25 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5183a900100000000000000000000000000..."} 
[2026-09-25 01:57:16] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5183a900100000000000000000000000000..."} 
[2026-09-25 01:57:16] local.INFO: Packet analysis {"connection_id":191862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:57:16] local.INFO: Extracted packet for processing {"connection_id":191862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01: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-25 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312056576001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3076028943213189120,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790281530000,"timestamp_ms":1790281530000,"timestamp_seconds":1790281530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5183a90"} 
[2026-09-25 01:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:57: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-25 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 01:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":191862,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:57:16] local.INFO: GPS data processed {"connection_id":191862,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:57:16] local.INFO: Acknowledgment sent {"connection_id":191862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:57:26] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:26] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:26] local.INFO: IMEI packet received {"connection_id":191863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":191863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:57:32] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:32] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:57:32] local.INFO: IMEI packet received {"connection_id":191863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":191863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:57:33] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:33] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:57:33] local.INFO: Packet analysis {"connection_id":191863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:57:33] local.INFO: Extracted packet for processing {"connection_id":191863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:57: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-25 01: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-25 01: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-25 01:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01: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-25 01:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":191863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:57:33] local.INFO: GPS data processed {"connection_id":191863,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:57:33] local.INFO: Acknowledgment sent {"connection_id":191863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:57:49] local.INFO: TCP Data received {"connection_id":191862,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d517bd90012d2b230006be7d380006008e31..."} 
[2026-09-25 01:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d517bd90012d2b230006be7d380006008e31..."} 
[2026-09-25 01:57:49] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d517bd90012d2b230006be7d380006008e31..."} 
[2026-09-25 01:57:49] local.INFO: Packet analysis {"connection_id":191862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:57:49] local.INFO: Extracted packet for processing {"connection_id":191862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d517"} 
[2026-09-25 01:57:49] local.INFO: GPS Element Parsed {"raw_longitude":757801728,"raw_latitude":113147192,"longitude_deg":75.7801728,"latitude_deg":11.3147192,"altitude":6,"angle":142,"satellites":49,"speed":58,"hex_longitude":"2d2b2300","hex_latitude":"06be7d38","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:57:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790281498000,"timestamp_ms":1790281498000,"timestamp_seconds":1790281498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d517bd90"} 
[2026-09-25 01: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-25 01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 01:57:49] 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-25 01: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-25 01: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-25 01:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01: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-25 01:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"242":206,"2":57088,"24":58,"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,242,2,24,16]} 
[2026-09-25 01:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:57:49] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 01: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-25 01:57:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_242":206,"power_alt":57088,"ignition":58,"odometer":null}} 
[2026-09-25 01:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":191862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:57:49] local.INFO: GPS data processed {"connection_id":191862,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:57:49] local.INFO: Acknowledgment sent {"connection_id":191862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:58:05] local.INFO: TCP Data received {"connection_id":191863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:05] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:05] local.INFO: Packet analysis {"connection_id":191863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:58:05] local.INFO: Extracted packet for processing {"connection_id":191863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01: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-25 01: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-25 01:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58: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-25 01:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:58:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":191863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:58:05] local.INFO: GPS data processed {"connection_id":191863,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:58:05] local.INFO: Acknowledgment sent {"connection_id":191863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:58:11] local.INFO: TCP Data received {"connection_id":191679,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:11] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:11] local.INFO: IMEI packet received {"connection_id":191679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":191679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:58:20] local.INFO: TCP Data received {"connection_id":191679,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:20] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:58:20] local.INFO: IMEI packet received {"connection_id":191679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":191679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:58:22] local.INFO: TCP Data received {"connection_id":191679,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5180f98012d2b5bc006be35100007008d31..."} 
[2026-09-25 01:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5180f98012d2b5bc006be35100007008d31..."} 
[2026-09-25 01:58:22] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5180f98012d2b5bc006be35100007008d31..."} 
[2026-09-25 01:58:22] local.INFO: Packet analysis {"connection_id":191679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:58:22] local.INFO: Extracted packet for processing {"connection_id":191679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:58:22] local.INFO: GPS Element Parsed {"raw_longitude":757816256,"raw_latitude":113128720,"longitude_deg":75.7816256,"latitude_deg":11.312872,"altitude":7,"angle":141,"satellites":49,"speed":0,"hex_longitude":"2d2b5bc0","hex_latitude":"06be3510","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312063488001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3108328196781455360,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790281519000,"timestamp_ms":1790281519000,"timestamp_seconds":1790281519,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5180f98"} 
[2026-09-25 01: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-25 01:58: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-25 01: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-25 01:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01: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-25 01: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-25 01:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:58: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-25 01:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312063488001,"66":27767,"243":206,"2":57088,"24":0,"16":3605341577150464,"45":3108328196781455360},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-09-25 01:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312063488001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:58:22] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 01:58: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-25 01:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3108328196781455360,"description":"Unknown IO ID 45"} 
[2026-09-25 01:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312063488001,"power":27767,"unknown_243":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3108328196781455360}} 
[2026-09-25 01:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":191679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:58:22] local.INFO: GPS data processed {"connection_id":191679,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:58:22] local.INFO: Acknowledgment sent {"connection_id":191679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:58:24] local.INFO: TCP Data received {"connection_id":191679,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d518f6100100000000000000000000000000..."} 
[2026-09-25 01:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d518f6100100000000000000000000000000..."} 
[2026-09-25 01:58:24] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d518f6100100000000000000000000000000..."} 
[2026-09-25 01:58:24] local.INFO: Packet analysis {"connection_id":191679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:58:24] local.INFO: Extracted packet for processing {"connection_id":191679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:58:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312068864001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3124301901705056256,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790281578000,"timestamp_ms":1790281578000,"timestamp_seconds":1790281578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d518f610"} 
[2026-09-25 01: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-25 01:58: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-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:58:24] 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-25 01: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-25 01: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-25 01:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:58: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-25 01:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":191679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 01:58:24] local.INFO: GPS data processed {"connection_id":191679,"processed":0,"errors":0,"total":1} 
[2026-09-25 01:58:24] local.INFO: Acknowledgment sent {"connection_id":191679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:58:32] local.INFO: TCP Data received {"connection_id":194531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:32] local.INFO: Processing buffer {"connection_id":194531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:32] local.INFO: IMEI packet received {"connection_id":194531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":194531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:58:37] local.INFO: TCP Data received {"connection_id":194531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:37] local.INFO: Processing buffer {"connection_id":194531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:58:37] local.INFO: IMEI packet received {"connection_id":194531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":194531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:58:38] local.INFO: TCP Data received {"connection_id":194531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:38] local.INFO: Processing buffer {"connection_id":194531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:38] local.INFO: Packet analysis {"connection_id":194531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:58:38] local.INFO: Extracted packet for processing {"connection_id":194531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:58: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-25 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:58: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-25 01:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:58: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-25 01:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":194531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:58:38] local.INFO: GPS data processed {"connection_id":194531,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:58:38] local.INFO: Acknowledgment sent {"connection_id":194531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:58:42] local.INFO: TCP Data received {"connection_id":194531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:42] local.INFO: Processing buffer {"connection_id":194531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51636f0012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:58:42] local.INFO: Packet analysis {"connection_id":194531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:58:42] local.INFO: Extracted packet for processing {"connection_id":194531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d516"} 
[2026-09-25 01:58: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458311960832001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790281398000,"timestamp_ms":1790281398000,"timestamp_seconds":1790281398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51636f0"} 
[2026-09-25 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458311960832001,"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-25 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458311960832001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01:58: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-25 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458311960832001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":194531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:58:43] local.INFO: GPS data processed {"connection_id":194531,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:58:43] local.INFO: Acknowledgment sent {"connection_id":194531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:59:06] local.INFO: TCP Data received {"connection_id":193244,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:06] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:06] local.INFO: IMEI packet received {"connection_id":193244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 01:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":193244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:59:09] local.INFO: TCP Data received {"connection_id":193244,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:09] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 01:59:09] local.INFO: IMEI packet received {"connection_id":193244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 01:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":193244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:59:11] local.INFO: TCP Data received {"connection_id":193244,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5187910012d2bcf8006bdb638000d008d30..."} 
[2026-09-25 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5187910012d2bcf8006bdb638000d008d30..."} 
[2026-09-25 01:59:11] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5187910012d2bcf8006bdb638000d008d30..."} 
[2026-09-25 01:59:11] local.INFO: Packet analysis {"connection_id":193244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:59:11] local.INFO: Extracted packet for processing {"connection_id":193244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":757845888,"raw_latitude":113096248,"longitude_deg":75.7845888,"latitude_deg":11.3096248,"altitude":13,"angle":141,"satellites":48,"speed":51,"hex_longitude":"2d2bcf80","hex_latitude":"06bdb638","is_valid_coordinates":true} 
[2026-09-25 01: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-25 01:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,243,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 01:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790281546000,"timestamp_ms":1790281546000,"timestamp_seconds":1790281546,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5187910"} 
[2026-09-25 01: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-25 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 01:59:11] 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-25 01: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-25 01: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-25 01:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 01:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"243":206,"2":57088,"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,243,2,24,16]} 
[2026-09-25 01:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 01:59:11] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 01:59: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-25 01:59:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_243":206,"power_alt":57088,"ignition":51,"odometer":null}} 
[2026-09-25 01:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":193244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:59:11] local.INFO: GPS data processed {"connection_id":193244,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:59:11] local.INFO: Acknowledgment sent {"connection_id":193244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:59:27] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:27] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:27] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 01:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 01:59:32] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:32] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 01:59:32] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 01:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 01:59:33] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:59:33] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 01:59:33] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 01:59:33] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 01: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-25 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 01: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-25 01:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 01:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01: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-25 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 01: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-25 01:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 01:59: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-25 01:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 01:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 01:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 01:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 01:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 01:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 01:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 01: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-25 01:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 01:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 01:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:59:33] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:59:33] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 01:59:49] local.INFO: TCP Data received {"connection_id":193244,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d518cb18012d2c044006bd7288000d008731..."} 
[2026-09-25 01:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d518cb18012d2c044006bd7288000d008731..."} 
[2026-09-25 01:59:49] local.INFO: Processing buffer {"connection_id":193244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d518cb18012d2c044006bd7288000d008731..."} 
[2026-09-25 01:59:49] local.INFO: Packet analysis {"connection_id":193244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:59:49] local.INFO: Extracted packet for processing {"connection_id":193244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d518"} 
[2026-09-25 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":757859392,"raw_latitude":113078920,"longitude_deg":75.7859392,"latitude_deg":11.307892,"altitude":13,"angle":135,"satellites":49,"speed":0,"hex_longitude":"2d2c0440","hex_latitude":"06bd7288","is_valid_coordinates":true} 
[2026-09-25 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 01:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312075776001,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3156882630251001856,"note":"Value kept but may cause issues"} 
[2026-09-25 01:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 01:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790281567000,"timestamp_ms":1790281567000,"timestamp_seconds":1790281567,"priority":1,"record_length":96,"hex_timestamp":"000001a0d518cb18"} 
[2026-09-25 01:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 01:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 01:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 01:59:49] 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-25 01:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 01:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 01:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 01:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":193244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 01:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":193244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":193244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 01:59: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-25 01:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 01:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 01:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312075776001,"66":27745,"243":206,"2":57088,"24":0,"16":3605341577150464,"45":3156882630251001856},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-09-25 01:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 01:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 01:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312075776001,"description":"Unknown IO ID 0"} 
[2026-09-25 01:59:49] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 01:59: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-25 01:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3156882630251001856,"description":"Unknown IO ID 45"} 
[2026-09-25 01:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312075776001,"power":27745,"unknown_243":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3156882630251001856}} 
[2026-09-25 01:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":193244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 01:59:49] local.INFO: GPS data processed {"connection_id":193244,"processed":1,"errors":0,"total":1} 
[2026-09-25 01:59:49] local.INFO: Acknowledgment sent {"connection_id":193244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:00:04] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:04] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:04] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:00:04] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:00: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-25 02:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00: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-25 02:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 02:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:00: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-25 02:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:00: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-25 02:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:00: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-25 02:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 02:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:00: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-25 02:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:00:05] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:00:05] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:00:08] local.INFO: TCP Data received {"connection_id":193245,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:08] local.INFO: Processing buffer {"connection_id":193245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:08] local.INFO: IMEI packet received {"connection_id":193245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":193245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:00:10] local.INFO: TCP Data received {"connection_id":193245,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:10] local.INFO: Processing buffer {"connection_id":193245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:00:10] local.INFO: IMEI packet received {"connection_id":193245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":193245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:00:11] local.INFO: TCP Data received {"connection_id":193245,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d519b1900100000000000000000000000000..."} 
[2026-09-25 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d519b1900100000000000000000000000000..."} 
[2026-09-25 02:00:11] local.INFO: Processing buffer {"connection_id":193245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d519b1900100000000000000000000000000..."} 
[2026-09-25 02:00:11] local.INFO: Packet analysis {"connection_id":193245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00:11] local.INFO: Extracted packet for processing {"connection_id":193245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00: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-25 02: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-25 02:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312081152001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3171730435268052992,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790281626000,"timestamp_ms":1790281626000,"timestamp_seconds":1790281626,"priority":1,"record_length":96,"hex_timestamp":"000001a0d519b190"} 
[2026-09-25 02: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-25 02:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 02:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":193245,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:00:11] local.INFO: GPS data processed {"connection_id":193245,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:00:11] local.INFO: Acknowledgment sent {"connection_id":193245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:00:16] local.INFO: TCP Data received {"connection_id":193245,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5193490012d2c830006bcfe68000f00892f..."} 
[2026-09-25 02:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5193490012d2c830006bcfe68000f00892f..."} 
[2026-09-25 02:00:16] local.INFO: Processing buffer {"connection_id":193245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5193490012d2c830006bcfe68000f00892f..."} 
[2026-09-25 02:00:16] local.INFO: Packet analysis {"connection_id":193245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00:16] local.INFO: Extracted packet for processing {"connection_id":193245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00:16] local.INFO: GPS Element Parsed {"raw_longitude":757891840,"raw_latitude":113049192,"longitude_deg":75.789184,"latitude_deg":11.3049192,"altitude":15,"angle":137,"satellites":47,"speed":57,"hex_longitude":"2d2c8300","hex_latitude":"06bcfe68","is_valid_coordinates":true} 
[2026-09-25 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,243,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790281594000,"timestamp_ms":1790281594000,"timestamp_seconds":1790281594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5193490"} 
[2026-09-25 02:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:00: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-25 02:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 02:00:16] 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-25 02:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00: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-25 02:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"243":206,"2":57088,"24":57,"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,243,2,24,16]} 
[2026-09-25 02:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:00:16] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 02:00: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-25 02:00:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_243":206,"power_alt":57088,"ignition":57,"odometer":null}} 
[2026-09-25 02:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":193245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:00:16] local.INFO: GPS data processed {"connection_id":193245,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:00:16] local.INFO: Acknowledgment sent {"connection_id":193245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:00:28] local.INFO: TCP Data received {"connection_id":194532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:28] local.INFO: Processing buffer {"connection_id":194532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:28] local.INFO: IMEI packet received {"connection_id":194532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":194532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:00:32] local.INFO: TCP Data received {"connection_id":194532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:32] local.INFO: Processing buffer {"connection_id":194532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:00:32] local.INFO: IMEI packet received {"connection_id":194532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":194532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:00:33] local.INFO: TCP Data received {"connection_id":194532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:33] local.INFO: Processing buffer {"connection_id":194532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:00:33] local.INFO: Packet analysis {"connection_id":194532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:00:33] local.INFO: Extracted packet for processing {"connection_id":194532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02: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-25 02: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-25 02:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:00: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-25 02: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-25 02: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-25 02:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:00: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-25 02:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 02:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":194532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:00:33] local.INFO: GPS data processed {"connection_id":194532,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:00:33] local.INFO: Acknowledgment sent {"connection_id":194532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:00:48] local.INFO: TCP Data received {"connection_id":193245,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5198698012d2cc0c006bcbb200012008a2f..."} 
[2026-09-25 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5198698012d2cc0c006bcbb200012008a2f..."} 
[2026-09-25 02:00:48] local.INFO: Processing buffer {"connection_id":193245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5198698012d2cc0c006bcbb200012008a2f..."} 
[2026-09-25 02:00:48] local.INFO: Packet analysis {"connection_id":193245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00:48] local.INFO: Extracted packet for processing {"connection_id":193245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d519"} 
[2026-09-25 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":757907648,"raw_latitude":113031968,"longitude_deg":75.7907648,"latitude_deg":11.3031968,"altitude":18,"angle":138,"satellites":47,"speed":0,"hex_longitude":"2d2cc0c0","hex_latitude":"06bcbb20","is_valid_coordinates":true} 
[2026-09-25 02:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312088064001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3207407388558518272,"note":"Value kept but may cause issues"} 
[2026-09-25 02:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790281615000,"timestamp_ms":1790281615000,"timestamp_seconds":1790281615,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5198698"} 
[2026-09-25 02:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-25 02:00: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-25 02:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:00: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-25 02:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312088064001,"66":27887,"194":206,"2":57088,"24":0,"16":3605341577150464,"45":3207407388558518272},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,2,24,16,45]} 
[2026-09-25 02:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312088064001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-25 02:00: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-25 02:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3207407388558518272,"description":"Unknown IO ID 45"} 
[2026-09-25 02:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312088064001,"power":27887,"unknown_194":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3207407388558518272}} 
[2026-09-25 02:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":193245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:00:48] local.INFO: GPS data processed {"connection_id":193245,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:00:48] local.INFO: Acknowledgment sent {"connection_id":193245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:01:05] local.INFO: TCP Data received {"connection_id":194532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:05] local.INFO: Processing buffer {"connection_id":194532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:05] local.INFO: Packet analysis {"connection_id":194532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:01:05] local.INFO: Extracted packet for processing {"connection_id":194532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02: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-25 02:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 02:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02: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-25 02:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02: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-25 02:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:01: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-25 02:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 02:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":194532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:01:05] local.INFO: GPS data processed {"connection_id":194532,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:01:05] local.INFO: Acknowledgment sent {"connection_id":194532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:01:15] local.INFO: TCP Data received {"connection_id":191681,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:15] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:15] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:01:24] local.INFO: TCP Data received {"connection_id":191681,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:24] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:01:24] local.INFO: IMEI packet received {"connection_id":191681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":191681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:01:26] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:26] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:26] local.INFO: IMEI packet received {"connection_id":193246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":193246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:01:27] local.INFO: TCP Data received {"connection_id":191681,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51c2e48012d2eaec006b97ce80010009a2e..."} 
[2026-09-25 02:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51c2e48012d2eaec006b97ce80010009a2e..."} 
[2026-09-25 02:01:27] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51c2e48012d2eaec006b97ce80010009a2e..."} 
[2026-09-25 02:01:27] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:01:27] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:01:27] local.INFO: GPS Element Parsed {"raw_longitude":758034112,"raw_latitude":112819432,"longitude_deg":75.8034112,"latitude_deg":11.2819432,"altitude":16,"angle":154,"satellites":46,"speed":61,"hex_longitude":"2d2eaec0","hex_latitude":"06b97ce8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790281789000,"timestamp_ms":1790281789000,"timestamp_seconds":1790281789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51c2e48"} 
[2026-09-25 02: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-25 02:01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 02:01:27] 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-25 02: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-25 02: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-25 02:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:01: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-25 02:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"38":206,"2":57088,"24":61,"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,38,2,24,16]} 
[2026-09-25 02:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:01:27] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-25 02:01: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-25 02:01:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_38":206,"power_alt":57088,"ignition":61,"odometer":null}} 
[2026-09-25 02:01:27] 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":893288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:01:27] local.INFO: GPS data processed {"connection_id":191681,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:01:27] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:01:27] local.INFO: TCP Data received {"connection_id":191681,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51d14c00100000000000000000000000000..."} 
[2026-09-25 02:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51d14c00100000000000000000000000000..."} 
[2026-09-25 02:01:27] local.INFO: Processing buffer {"connection_id":191681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51d14c00100000000000000000000000000..."} 
[2026-09-25 02:01:27] local.INFO: Packet analysis {"connection_id":191681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:01:27] local.INFO: Extracted packet for processing {"connection_id":191681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:01: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-25 02: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-25 02:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312137984001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3363837106806646784,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790281848000,"timestamp_ms":1790281848000,"timestamp_seconds":1790281848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51d14c0"} 
[2026-09-25 02: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-25 02:01: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-25 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 02:01:27] 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-25 02: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-25 02: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-25 02:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:01: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-25 02:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":191681,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:01:27] local.INFO: GPS data processed {"connection_id":191681,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:01:27] local.INFO: Acknowledgment sent {"connection_id":191681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:01:32] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:32] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:01:32] local.INFO: IMEI packet received {"connection_id":193246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":193246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:01:33] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:33] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:01:33] local.INFO: Packet analysis {"connection_id":193246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:01:33] local.INFO: Extracted packet for processing {"connection_id":193246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:01: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-25 02: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-25 02: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-25 02:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:01: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-25 02:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 02:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":193246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:01:33] local.INFO: GPS data processed {"connection_id":193246,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:01:33] local.INFO: Acknowledgment sent {"connection_id":193246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:02:05] local.INFO: TCP Data received {"connection_id":193246,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:02:05] local.INFO: Processing buffer {"connection_id":193246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51aceb8012d34c14006aa4940000900f52c..."} 
[2026-09-25 02:02:05] local.INFO: Packet analysis {"connection_id":193246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02:02:05] local.INFO: Extracted packet for processing {"connection_id":193246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51a"} 
[2026-09-25 02: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-25 02: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-25 02:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312037888001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790281699000,"timestamp_ms":1790281699000,"timestamp_seconds":1790281699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51aceb8"} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312037888001,"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-25 02:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312037888001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312037888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":193246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:02:05] local.INFO: GPS data processed {"connection_id":193246,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:02:05] local.INFO: Acknowledgment sent {"connection_id":193246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:02:05] local.INFO: TCP Data received {"connection_id":194533,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:05] local.INFO: Processing buffer {"connection_id":194533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:05] local.INFO: IMEI packet received {"connection_id":194533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":194533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:02:07] local.INFO: TCP Data received {"connection_id":194533,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:07] local.INFO: Processing buffer {"connection_id":194533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:07] local.INFO: IMEI packet received {"connection_id":194533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":194533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:02:10] local.INFO: TCP Data received {"connection_id":194533,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:10] local.INFO: Processing buffer {"connection_id":194533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:02:10] local.INFO: IMEI packet received {"connection_id":194533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":194533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:02:11] local.INFO: TCP Data received {"connection_id":194533,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51ca760012d2f0e4006b8d8080007009430..."} 
[2026-09-25 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51ca760012d2f0e4006b8d8080007009430..."} 
[2026-09-25 02:02:11] local.INFO: Processing buffer {"connection_id":194533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51ca760012d2f0e4006b8d8080007009430..."} 
[2026-09-25 02:02:11] local.INFO: Packet analysis {"connection_id":194533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:02:11] local.INFO: Extracted packet for processing {"connection_id":194533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758058560,"raw_latitude":112777224,"longitude_deg":75.805856,"latitude_deg":11.2777224,"altitude":7,"angle":148,"satellites":48,"speed":58,"hex_longitude":"2d2f0e40","hex_latitude":"06b8d808","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,39,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790281820000,"timestamp_ms":1790281820000,"timestamp_seconds":1790281820,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51ca760"} 
[2026-09-25 02: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-25 02:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 02:02:11] 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-25 02: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-25 02: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-25 02:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"39":206,"2":57088,"24":58,"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,39,2,24,16]} 
[2026-09-25 02:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:02:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 02:02: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-25 02:02:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null}} 
[2026-09-25 02:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":194533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:02:11] local.INFO: GPS data processed {"connection_id":194533,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:02:11] local.INFO: Acknowledgment sent {"connection_id":194533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:02:32] local.INFO: TCP Data received {"connection_id":194534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:32] local.INFO: Processing buffer {"connection_id":194534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:32] local.INFO: IMEI packet received {"connection_id":194534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":194534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:02:42] local.INFO: TCP Data received {"connection_id":194533,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51cf968012d2f3e0006b889b00007009531..."} 
[2026-09-25 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51cf968012d2f3e0006b889b00007009531..."} 
[2026-09-25 02:02:42] local.INFO: Processing buffer {"connection_id":194533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51cf968012d2f3e0006b889b00007009531..."} 
[2026-09-25 02:02:42] local.INFO: Packet analysis {"connection_id":194533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:02:42] local.INFO: Extracted packet for processing {"connection_id":194533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51c"} 
[2026-09-25 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758070784,"raw_latitude":112757168,"longitude_deg":75.8070784,"latitude_deg":11.2757168,"altitude":7,"angle":149,"satellites":49,"speed":0,"hex_longitude":"2d2f3e00","hex_latitude":"06b889b0","is_valid_coordinates":true} 
[2026-09-25 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312145920001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3390717967071709184,"note":"Value kept but may cause issues"} 
[2026-09-25 02:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790281841000,"timestamp_ms":1790281841000,"timestamp_seconds":1790281841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51cf968"} 
[2026-09-25 02:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 02:02:42] 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-25 02:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:02: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-25 02:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312145920001,"66":27974,"84":206,"28":21760,"24":0,"16":3605341577150464,"45":3390717967071709184},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-09-25 02:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312145920001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:02:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-25 02:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:02: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-25 02:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3390717967071709184,"description":"Unknown IO ID 45"} 
[2026-09-25 02:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312145920001,"power":27974,"unknown_84":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3390717967071709184}} 
[2026-09-25 02:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":194533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:02:42] local.INFO: GPS data processed {"connection_id":194533,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:02:42] local.INFO: Acknowledgment sent {"connection_id":194533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:02:55] local.INFO: TCP Data received {"connection_id":194534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:55] local.INFO: Processing buffer {"connection_id":194534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:02:55] local.INFO: IMEI packet received {"connection_id":194534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":194534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:02:55] local.INFO: TCP Data received {"connection_id":194534,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-25 02:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194534,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-25 02:02:55] local.INFO: Processing buffer {"connection_id":194534,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-25 02:02:55] local.INFO: IMEI packet received {"connection_id":194534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":194534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:03:20] local.INFO: TCP Data received {"connection_id":194535,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:20] local.INFO: Processing buffer {"connection_id":194535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:20] local.INFO: IMEI packet received {"connection_id":194535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":194535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:03:26] local.INFO: TCP Data received {"connection_id":194535,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:26] local.INFO: Processing buffer {"connection_id":194535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:03:26] local.INFO: IMEI packet received {"connection_id":194535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":194535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:03:27] local.INFO: TCP Data received {"connection_id":194535,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51ddfe00100000000000000000000000000..."} 
[2026-09-25 02:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51ddfe00100000000000000000000000000..."} 
[2026-09-25 02:03:27] local.INFO: Processing buffer {"connection_id":194535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51ddfe00100000000000000000000000000..."} 
[2026-09-25 02:03:27] local.INFO: Packet analysis {"connection_id":194535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:03:27] local.INFO: Extracted packet for processing {"connection_id":194535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:03: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-25 02:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312151296001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3404158397204508672,"note":"Value kept but may cause issues"} 
[2026-09-25 02:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790281900000,"timestamp_ms":1790281900000,"timestamp_seconds":1790281900,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51ddfe0"} 
[2026-09-25 02:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:03: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-25 02:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-25 02:03:27] 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-25 02:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:03: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-25 02:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":194535,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:03:27] local.INFO: GPS data processed {"connection_id":194535,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:03:27] local.INFO: Acknowledgment sent {"connection_id":194535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:04:16] local.INFO: TCP Data received {"connection_id":194537,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:16] local.INFO: Processing buffer {"connection_id":194537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:16] local.INFO: IMEI packet received {"connection_id":194537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":194537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:04:18] local.INFO: TCP Data received {"connection_id":194537,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:18] local.INFO: Processing buffer {"connection_id":194537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:04:18] local.INFO: IMEI packet received {"connection_id":194537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":194537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:04:19] local.INFO: TCP Data received {"connection_id":194537,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51d62e0012d2f8cc006b7e5080007009c2f..."} 
[2026-09-25 02:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51d62e0012d2f8cc006b7e5080007009c2f..."} 
[2026-09-25 02:04:19] local.INFO: Processing buffer {"connection_id":194537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51d62e0012d2f8cc006b7e5080007009c2f..."} 
[2026-09-25 02:04:19] local.INFO: Packet analysis {"connection_id":194537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:04:19] local.INFO: Extracted packet for processing {"connection_id":194537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758090944,"raw_latitude":112715016,"longitude_deg":75.8090944,"latitude_deg":11.2715016,"altitude":7,"angle":156,"satellites":47,"speed":57,"hex_longitude":"2d2f8cc0","hex_latitude":"06b7e508","is_valid_coordinates":true} 
[2026-09-25 02:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:04:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,84,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790281868000,"timestamp_ms":1790281868000,"timestamp_seconds":1790281868,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51d62e0"} 
[2026-09-25 02:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 02:04:19] 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-25 02:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":194537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":194537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":194537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:04: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-25 02:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"84":206,"28":21760,"24":57,"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,84,28,24,16]} 
[2026-09-25 02:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-25 02:04:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:04: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-25 02:04:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_84":206,"unknown_28":21760,"ignition":57,"odometer":null}} 
[2026-09-25 02:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":194537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:04:20] local.INFO: GPS data processed {"connection_id":194537,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:04:20] local.INFO: Acknowledgment sent {"connection_id":194537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:04:21] local.INFO: TCP Data received {"connection_id":194537,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51db4e8012d2fae4006b790a0000600a130..."} 
[2026-09-25 02:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51db4e8012d2fae4006b790a0000600a130..."} 
[2026-09-25 02:04:21] local.INFO: Processing buffer {"connection_id":194537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51db4e8012d2fae4006b790a0000600a130..."} 
[2026-09-25 02:04:21] local.INFO: Packet analysis {"connection_id":194537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:04:21] local.INFO: Extracted packet for processing {"connection_id":194537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51d"} 
[2026-09-25 02:04:21] local.INFO: GPS Element Parsed {"raw_longitude":758099520,"raw_latitude":112693408,"longitude_deg":75.809952,"latitude_deg":11.2693408,"altitude":6,"angle":161,"satellites":48,"speed":0,"hex_longitude":"2d2fae40","hex_latitude":"06b790a0","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312158208001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3426324551609681920,"note":"Value kept but may cause issues"} 
[2026-09-25 02:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790281889000,"timestamp_ms":1790281889000,"timestamp_seconds":1790281889,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51db4e8"} 
[2026-09-25 02: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-25 02:04: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-25 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 02:04: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-25 02: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-25 02: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-25 02:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":194537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":194537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":194537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:04: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-25 02:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312158208001,"66":27767,"82":206,"28":21760,"24":0,"16":3605341577150464,"45":3426324551609681920},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-09-25 02:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312158208001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:04:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-25 02:04:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:04: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-25 02:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3426324551609681920,"description":"Unknown IO ID 45"} 
[2026-09-25 02:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312158208001,"power":27767,"unknown_82":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3426324551609681920}} 
[2026-09-25 02:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":194537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:04:21] local.INFO: GPS data processed {"connection_id":194537,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:04:21] local.INFO: Acknowledgment sent {"connection_id":194537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:05:06] local.INFO: TCP Data received {"connection_id":191864,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:06] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:06] local.INFO: IMEI packet received {"connection_id":191864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":191864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:05:11] local.INFO: TCP Data received {"connection_id":191864,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:11] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:05:11] local.INFO: IMEI packet received {"connection_id":191864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":191864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:05:12] local.INFO: TCP Data received {"connection_id":191864,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51e9b600100000000000000000000000000..."} 
[2026-09-25 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51e9b600100000000000000000000000000..."} 
[2026-09-25 02:05:12] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51e9b600100000000000000000000000000..."} 
[2026-09-25 02:05:12] local.INFO: Packet analysis {"connection_id":191864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51e"} 
[2026-09-25 02:05:12] local.INFO: Extracted packet for processing {"connection_id":191864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51e"} 
[2026-09-25 02:05: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-25 02: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-25 02:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312163584001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3435753963323957248,"note":"Value kept but may cause issues"} 
[2026-09-25 02:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790281948000,"timestamp_ms":1790281948000,"timestamp_seconds":1790281948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51e9b60"} 
[2026-09-25 02: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-25 02: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-25 02: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":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:05:12] 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-25 02: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-25 02: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-25 02:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":191864,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:05:12] local.INFO: GPS data processed {"connection_id":191864,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:05:12] local.INFO: Acknowledgment sent {"connection_id":191864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:05:43] local.INFO: TCP Data received {"connection_id":191864,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51e2248012d2fe44006b6efc0000f008f31..."} 
[2026-09-25 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51e2248012d2fe44006b6efc0000f008f31..."} 
[2026-09-25 02:05:43] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51e2248012d2fe44006b6efc0000f008f31..."} 
[2026-09-25 02:05:43] local.INFO: Packet analysis {"connection_id":191864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51e"} 
[2026-09-25 02:05:43] local.INFO: Extracted packet for processing {"connection_id":191864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51e"} 
[2026-09-25 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758113344,"raw_latitude":112652224,"longitude_deg":75.8113344,"latitude_deg":11.2652224,"altitude":15,"angle":143,"satellites":49,"speed":44,"hex_longitude":"2d2fe440","hex_latitude":"06b6efc0","is_valid_coordinates":true} 
[2026-09-25 02:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:05:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790281917000,"timestamp_ms":1790281917000,"timestamp_seconds":1790281917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51e2248"} 
[2026-09-25 02:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:05: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-25 02:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-25 02:05:43] 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-25 02:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:05: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-25 02:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"172":206,"28":21760,"24":44,"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,172,28,24,16]} 
[2026-09-25 02:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:05:43] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-09-25 02:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:05: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-25 02:05:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_172":206,"unknown_28":21760,"ignition":44,"odometer":null}} 
[2026-09-25 02:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":191864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:05:44] local.INFO: GPS data processed {"connection_id":191864,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:05:44] local.INFO: Acknowledgment sent {"connection_id":191864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:06:05] local.INFO: TCP Data received {"connection_id":193248,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:05] local.INFO: Processing buffer {"connection_id":193248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:05] local.INFO: IMEI packet received {"connection_id":193248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":193248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:06:08] local.INFO: TCP Data received {"connection_id":193248,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:08] local.INFO: Processing buffer {"connection_id":193248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:08] local.INFO: IMEI packet received {"connection_id":193248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":193248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:06:10] local.INFO: TCP Data received {"connection_id":193248,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:10] local.INFO: Processing buffer {"connection_id":193248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:06:10] local.INFO: IMEI packet received {"connection_id":193248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":193248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:06:11] local.INFO: TCP Data received {"connection_id":193248,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52199000100000000000000000000000000..."} 
[2026-09-25 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52199000100000000000000000000000000..."} 
[2026-09-25 02:06:11] local.INFO: Processing buffer {"connection_id":193248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52199000100000000000000000000000000..."} 
[2026-09-25 02:06:11] local.INFO: Packet analysis {"connection_id":193248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:06:11] local.INFO: Extracted packet for processing {"connection_id":193248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:06: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-25 02: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-25 02:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312213760001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3643201021115881472,"note":"Value kept but may cause issues"} 
[2026-09-25 02:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790282144000,"timestamp_ms":1790282144000,"timestamp_seconds":1790282144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5219900"} 
[2026-09-25 02: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-25 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 02:06:11] 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-25 02: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-25 02: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-25 02:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":193248,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:06:11] local.INFO: GPS data processed {"connection_id":193248,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:06:11] local.INFO: Acknowledgment sent {"connection_id":193248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:06:51] local.INFO: TCP Data received {"connection_id":193248,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5211fe8012d33308006b4a810000e007330..."} 
[2026-09-25 02:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5211fe8012d33308006b4a810000e007330..."} 
[2026-09-25 02:06:52] local.INFO: Processing buffer {"connection_id":193248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5211fe8012d33308006b4a810000e007330..."} 
[2026-09-25 02:06:52] local.INFO: Packet analysis {"connection_id":193248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:06:52] local.INFO: Extracted packet for processing {"connection_id":193248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758329472,"raw_latitude":112502800,"longitude_deg":75.8329472,"latitude_deg":11.25028,"altitude":14,"angle":115,"satellites":48,"speed":59,"hex_longitude":"2d333080","hex_latitude":"06b4a810","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:06:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,211,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790282113000,"timestamp_ms":1790282113000,"timestamp_seconds":1790282113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5211fe8"} 
[2026-09-25 02: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-25 02:06: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 02:06:52] 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-25 02: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-25 02: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-25 02:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":193248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":193248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":193248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"211":206,"28":21760,"24":59,"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,211,28,24,16]} 
[2026-09-25 02:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:06:52] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-25 02:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:06: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-25 02:06:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null}} 
[2026-09-25 02:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":193248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:06:52] local.INFO: GPS data processed {"connection_id":193248,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:06:52] local.INFO: Acknowledgment sent {"connection_id":193248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:07:05] local.INFO: TCP Data received {"connection_id":191865,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:05] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:05] local.INFO: IMEI packet received {"connection_id":191865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":191865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:07:10] local.INFO: TCP Data received {"connection_id":191865,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:10] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:07:10] local.INFO: IMEI packet received {"connection_id":191865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":191865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:07:13] local.INFO: TCP Data received {"connection_id":191865,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5215e68012d337f4006b47918000f00852f..."} 
[2026-09-25 02:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5215e68012d337f4006b47918000f00852f..."} 
[2026-09-25 02:07:13] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5215e68012d337f4006b47918000f00852f..."} 
[2026-09-25 02:07:13] local.INFO: Packet analysis {"connection_id":191865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:07:13] local.INFO: Extracted packet for processing {"connection_id":191865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758349632,"raw_latitude":112490776,"longitude_deg":75.8349632,"latitude_deg":11.2490776,"altitude":15,"angle":133,"satellites":47,"speed":58,"hex_longitude":"2d337f40","hex_latitude":"06b47918","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312220928001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3688588861105508352,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790282129000,"timestamp_ms":1790282129000,"timestamp_seconds":1790282129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5215e68"} 
[2026-09-25 02: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-25 02:07: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-25 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 02:07: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-25 02: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-25 02: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-25 02:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:07: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-25 02:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312220928001,"66":27463,"211":206,"28":21760,"24":58,"16":3605341577150464,"45":3688588861105508352},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-09-25 02:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312220928001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:07:13] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-25 02:07:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:07: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-25 02:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3688588861105508352,"description":"Unknown IO ID 45"} 
[2026-09-25 02:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312220928001,"power":27463,"unknown_211":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3688588861105508352}} 
[2026-09-25 02:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":191865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:07:13] local.INFO: GPS data processed {"connection_id":191865,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:07:13] local.INFO: Acknowledgment sent {"connection_id":191865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:07:45] local.INFO: TCP Data received {"connection_id":191865,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5219ce8012d33b18006b42de00011009a31..."} 
[2026-09-25 02:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5219ce8012d33b18006b42de00011009a31..."} 
[2026-09-25 02:07:45] local.INFO: Processing buffer {"connection_id":191865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5219ce8012d33b18006b42de00011009a31..."} 
[2026-09-25 02:07:45] local.INFO: Packet analysis {"connection_id":191865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:07:45] local.INFO: Extracted packet for processing {"connection_id":191865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758362496,"raw_latitude":112471520,"longitude_deg":75.8362496,"latitude_deg":11.247152,"altitude":17,"angle":154,"satellites":49,"speed":56,"hex_longitude":"2d33b180","hex_latitude":"06b42de0","is_valid_coordinates":true} 
[2026-09-25 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312225024001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3710755015518394368,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790282145000,"timestamp_ms":1790282145000,"timestamp_seconds":1790282145,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5219ce8"} 
[2026-09-25 02:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:07: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-25 02:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 02:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:07: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-25 02:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312225024001,"66":27930,"211":206,"28":21760,"24":56,"16":3605341577150464,"45":3710755015518394368},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-09-25 02:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312225024001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:07:45] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-25 02:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:07: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-25 02:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3710755015518394368,"description":"Unknown IO ID 45"} 
[2026-09-25 02:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312225024001,"power":27930,"unknown_211":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":3710755015518394368}} 
[2026-09-25 02:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":191865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:07:45] local.INFO: GPS data processed {"connection_id":191865,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:07:45] local.INFO: Acknowledgment sent {"connection_id":191865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:07:57] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:07:57] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:07:57] local.INFO: IMEI packet received {"connection_id":193249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":193249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:07:58] local.INFO: TCP Data received {"connection_id":193249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:07:58] local.INFO: Processing buffer {"connection_id":193249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:07:58] local.INFO: Packet analysis {"connection_id":193249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51f"} 
[2026-09-25 02:07:58] local.INFO: Extracted packet for processing {"connection_id":193249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51f"} 
[2026-09-25 02:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312114944001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790282000000,"timestamp_ms":1790282000000,"timestamp_seconds":1790282000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51f6680"} 
[2026-09-25 02:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":193249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":193249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":193249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:07:58] local.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-25 02:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312114944001,"66":25473,"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-25 02:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312114944001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:07:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:07:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312114944001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":193249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:07:58] local.INFO: GPS data processed {"connection_id":193249,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:07:58] local.INFO: Acknowledgment sent {"connection_id":193249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:08:11] local.INFO: TCP Data received {"connection_id":191684,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:11] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:11] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:08:15] local.INFO: TCP Data received {"connection_id":191684,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:15] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:08:15] local.INFO: IMEI packet received {"connection_id":191684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":191684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:08:16] local.INFO: TCP Data received {"connection_id":191684,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d521db68012d33b9c006b3d5d8001200b62d..."} 
[2026-09-25 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d521db68012d33b9c006b3d5d8001200b62d..."} 
[2026-09-25 02:08:16] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d521db68012d33b9c006b3d5d8001200b62d..."} 
[2026-09-25 02:08:16] local.INFO: Packet analysis {"connection_id":191684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:08:16] local.INFO: Extracted packet for processing {"connection_id":191684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d521"} 
[2026-09-25 02:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758364608,"raw_latitude":112448984,"longitude_deg":75.8364608,"latitude_deg":11.2448984,"altitude":18,"angle":182,"satellites":45,"speed":60,"hex_longitude":"2d33b9c0","hex_latitude":"06b3d5d8","is_valid_coordinates":true} 
[2026-09-25 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312229120001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724899133093175296,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790282161000,"timestamp_ms":1790282161000,"timestamp_seconds":1790282161,"priority":1,"record_length":96,"hex_timestamp":"000001a0d521db68"} 
[2026-09-25 02:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 02:08: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-25 02:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312229120001,"66":27995,"211":206,"28":21760,"24":60,"16":3605341577150464,"45":3724899133093175296},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312229120001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724899133093175296,"description":"Unknown IO ID 45"} 
[2026-09-25 02:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312229120001,"power":27995,"unknown_211":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":3724899133093175296}} 
[2026-09-25 02:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":191684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:08:16] local.INFO: GPS data processed {"connection_id":191684,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:08:16] local.INFO: Acknowledgment sent {"connection_id":191684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:08:16] local.INFO: TCP Data received {"connection_id":191684,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52219e8012d33bdc006b37ae0000e00a52c..."} 
[2026-09-25 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52219e8012d33bdc006b37ae0000e00a52c..."} 
[2026-09-25 02:08:16] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52219e8012d33bdc006b37ae0000e00a52c..."} 
[2026-09-25 02:08:16] local.INFO: Packet analysis {"connection_id":191684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:08:16] local.INFO: Extracted packet for processing {"connection_id":191684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758365632,"raw_latitude":112425696,"longitude_deg":75.8365632,"latitude_deg":11.2425696,"altitude":14,"angle":165,"satellites":44,"speed":56,"hex_longitude":"2d33bdc0","hex_latitude":"06b37ae0","is_valid_coordinates":true} 
[2026-09-25 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312233216001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727221301645268992,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790282177000,"timestamp_ms":1790282177000,"timestamp_seconds":1790282177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52219e8"} 
[2026-09-25 02:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 02:08: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-25 02:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312233216001,"66":28017,"182":206,"28":21760,"24":56,"16":3605341577150464,"45":3727221301645268992},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312233216001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:08: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-25 02:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727221301645268992,"description":"Unknown IO ID 45"} 
[2026-09-25 02:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312233216001,"power":28017,"unknown_182":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":3727221301645268992}} 
[2026-09-25 02:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":191684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:08:17] local.INFO: GPS data processed {"connection_id":191684,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:08:17] local.INFO: Acknowledgment sent {"connection_id":191684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:08:27] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:27] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:27] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:08:32] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:32] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:08:32] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:08:33] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:08:33] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d51f6680012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:08:33] local.INFO: Packet analysis {"connection_id":191866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d51f"} 
[2026-09-25 02:08:33] local.INFO: Extracted packet for processing {"connection_id":191866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d51f"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312114944001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282000000,"timestamp_ms":1790282000000,"timestamp_seconds":1790282000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d51f6680"} 
[2026-09-25 02: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-25 02:08: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:08: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-25 02: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-25 02: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-25 02:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:08: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-25 02:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312114944001,"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-25 02:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312114944001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:08:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:08:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312114944001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":191866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:08:33] local.INFO: GPS data processed {"connection_id":191866,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:08:33] local.INFO: Acknowledgment sent {"connection_id":191866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:08:48] local.INFO: TCP Data received {"connection_id":191684,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5225868012d33ed4006b32e10000e008629..."} 
[2026-09-25 02:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5225868012d33ed4006b32e10000e008629..."} 
[2026-09-25 02:08:48] local.INFO: Processing buffer {"connection_id":191684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5225868012d33ed4006b32e10000e008629..."} 
[2026-09-25 02:08:48] local.INFO: Packet analysis {"connection_id":191684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:08:48] local.INFO: Extracted packet for processing {"connection_id":191684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758377792,"raw_latitude":112406032,"longitude_deg":75.8377792,"latitude_deg":11.2406032,"altitude":14,"angle":134,"satellites":41,"speed":58,"hex_longitude":"2d33ed40","hex_latitude":"06b32e10","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312237312001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728347201546149888,"note":"Value kept but may cause issues"} 
[2026-09-25 02:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790282193000,"timestamp_ms":1790282193000,"timestamp_seconds":1790282193,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5225868"} 
[2026-09-25 02: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-25 02:08: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-25 02: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-25 02:08:48] 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-25 02: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-25 02: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-25 02:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191684,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312237312001,"66":27767,"182":206,"28":21760,"24":58,"16":3605341577150464,"45":3728347201546149888},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312237312001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:08:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728347201546149888,"description":"Unknown IO ID 45"} 
[2026-09-25 02:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312237312001,"power":27767,"unknown_182":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3728347201546149888}} 
[2026-09-25 02:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":191684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:08:48] local.INFO: GPS data processed {"connection_id":191684,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:08:48] local.INFO: Acknowledgment sent {"connection_id":191684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:09:04] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:04] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:04] local.INFO: Packet analysis {"connection_id":191866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:09:04] local.INFO: Extracted packet for processing {"connection_id":191866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:09: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-25 02:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09: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-25 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:09: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-25 02:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:09: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-25 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:09: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-25 02:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":191866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:09:04] local.INFO: GPS data processed {"connection_id":191866,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:09:04] local.INFO: Acknowledgment sent {"connection_id":191866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:09:07] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: IMEI packet received {"connection_id":193250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":193250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:09:07] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:07] local.INFO: IMEI packet received {"connection_id":193250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":193250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:09:10] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:10] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:09:10] local.INFO: IMEI packet received {"connection_id":193250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":193250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:09:11] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d522aa70012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d522aa70012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:11] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d522aa70012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:11] local.INFO: Packet analysis {"connection_id":193250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:09:11] local.INFO: Extracted packet for processing {"connection_id":193250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758389760,"raw_latitude":112397032,"longitude_deg":75.838976,"latitude_deg":11.2397032,"altitude":12,"angle":123,"satellites":48,"speed":0,"hex_longitude":"2d341c00","hex_latitude":"06b30ae8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312241408001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741717262934872064,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790282214000,"timestamp_ms":1790282214000,"timestamp_seconds":1790282214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d522aa70"} 
[2026-09-25 02: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-25 02:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:09:11] 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-25 02: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-25 02: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-25 02:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312241408001,"66":27789,"182":206,"28":21760,"24":0,"16":3605341577150464,"45":3741717262934872064},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312241408001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:09:11] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:09: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-25 02:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3741717262934872064,"description":"Unknown IO ID 45"} 
[2026-09-25 02:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312241408001,"power":27789,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3741717262934872064}} 
[2026-09-25 02:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":193250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:09:11] local.INFO: GPS data processed {"connection_id":193250,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:09:11] local.INFO: Acknowledgment sent {"connection_id":193250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:09:16] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d522fc78012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d522fc78012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:16] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d522fc78012d341c0006b30ae8000c007b30..."} 
[2026-09-25 02:09:16] local.INFO: Packet analysis {"connection_id":193250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:09:16] local.INFO: Extracted packet for processing {"connection_id":193250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d522"} 
[2026-09-25 02:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758389760,"raw_latitude":112397032,"longitude_deg":75.838976,"latitude_deg":11.2397032,"altitude":12,"angle":123,"satellites":48,"speed":0,"hex_longitude":"2d341c00","hex_latitude":"06b30ae8","is_valid_coordinates":true} 
[2026-09-25 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312246784001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754876218093791232,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790282235000,"timestamp_ms":1790282235000,"timestamp_seconds":1790282235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d522fc78"} 
[2026-09-25 02:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:09: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-25 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 02:09:16] 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-25 02:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09: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-25 02:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312246784001,"66":27550,"182":206,"28":21760,"24":0,"16":3605341577150464,"45":3754876218093791232},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312246784001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:09:16] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:09: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-25 02:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754876218093791232,"description":"Unknown IO ID 45"} 
[2026-09-25 02:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312246784001,"power":27550,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3754876218093791232}} 
[2026-09-25 02:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":193250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:09:16] local.INFO: GPS data processed {"connection_id":193250,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:09:16] local.INFO: Acknowledgment sent {"connection_id":193250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:09:27] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:27] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:27] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:09:32] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:32] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:09:32] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:09:33] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:33] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:09:33] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:09:33] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02: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-25 02: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-25 02:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02: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-25 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:09: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-25 02: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-25 02: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-25 02:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:09: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-25 02:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:09:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:09: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":893307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:09:33] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:09:33] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:09:51] local.INFO: TCP Data received {"connection_id":193250,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523e2f00100000000000000000000000000..."} 
[2026-09-25 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523e2f00100000000000000000000000000..."} 
[2026-09-25 02:09:51] local.INFO: Processing buffer {"connection_id":193250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523e2f00100000000000000000000000000..."} 
[2026-09-25 02:09:51] local.INFO: Packet analysis {"connection_id":193250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:09:51] local.INFO: Extracted packet for processing {"connection_id":193250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:09: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-25 02: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-25 02:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312252160001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754876218093791232,"note":"Value kept but may cause issues"} 
[2026-09-25 02:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790282294000,"timestamp_ms":1790282294000,"timestamp_seconds":1790282294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523e2f0"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-25 02:09:51] 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-25 02: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-25 02: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-25 02:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":193250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":193250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:09: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-25 02:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":193250,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:09:51] local.INFO: GPS data processed {"connection_id":193250,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:09:51] local.INFO: Acknowledgment sent {"connection_id":193250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:10:04] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:04] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:04] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:04] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02: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-25 02:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:10: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-25 02:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:10: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-25 02:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:10:04] 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":893308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:10:04] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:10:04] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:10:06] local.INFO: TCP Data received {"connection_id":191867,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:06] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:06] local.INFO: IMEI packet received {"connection_id":191867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":191867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:10:11] local.INFO: TCP Data received {"connection_id":191867,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:11] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:10:11] local.INFO: IMEI packet received {"connection_id":191867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":191867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:10:12] local.INFO: TCP Data received {"connection_id":191867,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52371a8012d34534006b2e520000c007d31..."} 
[2026-09-25 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52371a8012d34534006b2e520000c007d31..."} 
[2026-09-25 02:10:12] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52371a8012d34534006b2e520000c007d31..."} 
[2026-09-25 02:10:12] local.INFO: Packet analysis {"connection_id":191867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:12] local.INFO: Extracted packet for processing {"connection_id":191867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758403904,"raw_latitude":112387360,"longitude_deg":75.8403904,"latitude_deg":11.238736,"altitude":12,"angle":125,"satellites":49,"speed":40,"hex_longitude":"2d345340","hex_latitude":"06b2e520","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,182,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790282265000,"timestamp_ms":1790282265000,"timestamp_seconds":1790282265,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52371a8"} 
[2026-09-25 02: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-25 02: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 02:10: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-25 02: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-25 02: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-25 02:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"182":206,"28":21760,"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,182,28,24,16]} 
[2026-09-25 02:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:10:12] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:10:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_182":206,"unknown_28":21760,"ignition":40,"odometer":null}} 
[2026-09-25 02:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":191867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:10:12] local.INFO: GPS data processed {"connection_id":191867,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:10:12] local.INFO: Acknowledgment sent {"connection_id":191867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:10:26] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:26] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:26] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:10:32] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:32] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:10:32] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:10:33] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:33] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:10:33] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:33] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02: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-25 02:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:10: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-25 02: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-25 02: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-25 02:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:10: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-25 02:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:10:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:10:33] 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":893310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:10:33] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:10:33] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:10:47] local.INFO: TCP Data received {"connection_id":191867,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523c3b0012d34998006b2b8100008007d31..."} 
[2026-09-25 02:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523c3b0012d34998006b2b8100008007d31..."} 
[2026-09-25 02:10:47] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523c3b0012d34998006b2b8100008007d31..."} 
[2026-09-25 02:10:47] local.INFO: Packet analysis {"connection_id":191867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:47] local.INFO: Extracted packet for processing {"connection_id":191867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758421888,"raw_latitude":112375824,"longitude_deg":75.8421888,"latitude_deg":11.2375824,"altitude":8,"angle":125,"satellites":49,"speed":0,"hex_longitude":"2d349980","hex_latitude":"06b2b810","is_valid_coordinates":true} 
[2026-09-25 02:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312259840001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3770427710554578944,"note":"Value kept but may cause issues"} 
[2026-09-25 02:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790282286000,"timestamp_ms":1790282286000,"timestamp_seconds":1790282286,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523c3b0"} 
[2026-09-25 02:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:10: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-25 02:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 02:10:47] 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-25 02:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:10: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-25 02:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312259840001,"66":27995,"182":206,"28":21760,"24":0,"16":3605341577150464,"45":3770427710554578944},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312259840001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:10: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-25 02:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3770427710554578944,"description":"Unknown IO ID 45"} 
[2026-09-25 02:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312259840001,"power":27995,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3770427710554578944}} 
[2026-09-25 02:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":191867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:10:47] local.INFO: GPS data processed {"connection_id":191867,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:10:47] local.INFO: Acknowledgment sent {"connection_id":191867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:11:04] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:04] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:04] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:11:04] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:11: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-25 02:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11: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-25 02:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:11: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-25 02:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:11: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-25 02:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:11:04] 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":893312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:11:04] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:11:04] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:11:11] local.INFO: TCP Data received {"connection_id":191687,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:11] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:11] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:11:15] local.INFO: TCP Data received {"connection_id":191687,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:15] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:15] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:11:26] local.INFO: TCP Data received {"connection_id":194538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:26] local.INFO: Processing buffer {"connection_id":194538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:26] local.INFO: IMEI packet received {"connection_id":194538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":194538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:11:32] local.INFO: TCP Data received {"connection_id":194538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:32] local.INFO: Processing buffer {"connection_id":194538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:11:32] local.INFO: IMEI packet received {"connection_id":194538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":194538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:11:33] local.INFO: TCP Data received {"connection_id":194538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:33] local.INFO: Processing buffer {"connection_id":194538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:11:33] local.INFO: Packet analysis {"connection_id":194538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:11:33] local.INFO: Extracted packet for processing {"connection_id":194538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:11: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-25 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11: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-25 02:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:11: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-25 02:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:11: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-25 02:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:11:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:11: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-25 02:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":194538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:11:33] local.INFO: GPS data processed {"connection_id":194538,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:11:33] local.INFO: Acknowledgment sent {"connection_id":194538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:11:35] local.INFO: TCP Data received {"connection_id":191687,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:35] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:11:35] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:11:37] local.INFO: TCP Data received {"connection_id":191687,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52415b8012d34e20006b289a00009007a30..."} 
[2026-09-25 02:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52415b8012d34e20006b289a00009007a30..."} 
[2026-09-25 02:11:37] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52415b8012d34e20006b289a00009007a30..."} 
[2026-09-25 02:11:37] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:11:37] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758440448,"raw_latitude":112363936,"longitude_deg":75.8440448,"latitude_deg":11.2363936,"altitude":9,"angle":122,"satellites":48,"speed":0,"hex_longitude":"2d34e200","hex_latitude":"06b289a0","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312265216001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790201327665549312,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790282307000,"timestamp_ms":1790282307000,"timestamp_seconds":1790282307,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52415b8"} 
[2026-09-25 02: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-25 02:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 02:11:37] 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-25 02: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-25 02: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-25 02:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312265216001,"66":28071,"182":206,"28":21760,"24":0,"16":3605341577150464,"45":3790201327665549312},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312265216001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:11:37] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605341577150464,"km_value":3605341577150.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790201327665549312,"description":"Unknown IO ID 45"} 
[2026-09-25 02:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312265216001,"power":28071,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3790201327665549312}} 
[2026-09-25 02:11:37] 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":893314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:11:37] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:11:37] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:11:38] local.INFO: TCP Data received {"connection_id":191687,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d524fc300100000000000000000000000000..."} 
[2026-09-25 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d524fc300100000000000000000000000000..."} 
[2026-09-25 02:11:38] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d524fc300100000000000000000000000000..."} 
[2026-09-25 02:11:38] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:11:38] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:11: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-25 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312270592001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3810608263474028544,"note":"Value kept but may cause issues"} 
[2026-09-25 02:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790282366000,"timestamp_ms":1790282366000,"timestamp_seconds":1790282366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d524fc30"} 
[2026-09-25 02:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 02:11:38] 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-25 02:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:11:38] local.INFO: GPS data processed {"connection_id":191687,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:11:38] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:04] local.INFO: TCP Data received {"connection_id":194538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:04] local.INFO: Processing buffer {"connection_id":194538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:04] local.INFO: Packet analysis {"connection_id":194538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12:04] local.INFO: Extracted packet for processing {"connection_id":194538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12: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-25 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12: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-25 02:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:12: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-25 02:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":194538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:04] local.INFO: GPS data processed {"connection_id":194538,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:04] local.INFO: Acknowledgment sent {"connection_id":194538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:05] local.INFO: TCP Data received {"connection_id":193251,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:05] local.INFO: Processing buffer {"connection_id":193251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:05] local.INFO: IMEI packet received {"connection_id":193251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":193251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:12:10] local.INFO: TCP Data received {"connection_id":193251,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:10] local.INFO: Processing buffer {"connection_id":193251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:12:10] local.INFO: IMEI packet received {"connection_id":193251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":193251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:12:12] local.INFO: TCP Data received {"connection_id":193251,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5248700012d35644006b231a80007007932..."} 
[2026-09-25 02:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5248700012d35644006b231a80007007932..."} 
[2026-09-25 02:12:12] local.INFO: Processing buffer {"connection_id":193251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5248700012d35644006b231a80007007932..."} 
[2026-09-25 02:12:12] local.INFO: Packet analysis {"connection_id":193251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:12:12] local.INFO: Extracted packet for processing {"connection_id":193251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758473792,"raw_latitude":112341416,"longitude_deg":75.8473792,"latitude_deg":11.2341416,"altitude":7,"angle":121,"satellites":50,"speed":53,"hex_longitude":"2d356440","hex_latitude":"06b231a8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,182,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790282336000,"timestamp_ms":1790282336000,"timestamp_seconds":1790282336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5248700"} 
[2026-09-25 02: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-25 02:12: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-25 02: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 02:12:12] 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-25 02: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-25 02: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-25 02:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"182":206,"28":21760,"24":53,"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,182,28,24,16]} 
[2026-09-25 02:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:12] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:12:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_182":206,"unknown_28":21760,"ignition":53,"odometer":null}} 
[2026-09-25 02:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":193251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:12] local.INFO: GPS data processed {"connection_id":193251,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:12] local.INFO: Acknowledgment sent {"connection_id":193251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:32] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:32] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:32] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:12:37] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:37] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:12:37] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:12:38] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:38] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:38] local.INFO: Packet analysis {"connection_id":191688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12:38] local.INFO: Extracted packet for processing {"connection_id":191688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02: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-25 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12: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-25 02:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":191688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:38] local.INFO: GPS data processed {"connection_id":191688,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:38] local.INFO: Acknowledgment sent {"connection_id":191688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:42] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:42] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:42] local.INFO: Packet analysis {"connection_id":191688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12:42] local.INFO: Extracted packet for processing {"connection_id":191688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:12: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-25 02:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":191688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:42] local.INFO: GPS data processed {"connection_id":191688,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:42] local.INFO: Acknowledgment sent {"connection_id":191688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:44] local.INFO: TCP Data received {"connection_id":193251,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d524d908012d35af8006b201680008007b30..."} 
[2026-09-25 02:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d524d908012d35af8006b201680008007b30..."} 
[2026-09-25 02:12:44] local.INFO: Processing buffer {"connection_id":193251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d524d908012d35af8006b201680008007b30..."} 
[2026-09-25 02:12:44] local.INFO: Packet analysis {"connection_id":193251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:12:44] local.INFO: Extracted packet for processing {"connection_id":193251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d524"} 
[2026-09-25 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758493056,"raw_latitude":112329064,"longitude_deg":75.8493056,"latitude_deg":11.2329064,"altitude":8,"angle":123,"satellites":48,"speed":0,"hex_longitude":"2d35af80","hex_latitude":"06b20168","is_valid_coordinates":true} 
[2026-09-25 02:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312278016001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3847270379184826368,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790282357000,"timestamp_ms":1790282357000,"timestamp_seconds":1790282357,"priority":1,"record_length":96,"hex_timestamp":"000001a0d524d908"} 
[2026-09-25 02:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:12: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-25 02:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 02:12:44] 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-25 02:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312278016001,"66":27930,"182":206,"28":21760,"24":0,"16":3605341577150464,"45":3847270379184826368},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-09-25 02:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312278016001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:44] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 02:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3847270379184826368,"description":"Unknown IO ID 45"} 
[2026-09-25 02:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312278016001,"power":27930,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3847270379184826368}} 
[2026-09-25 02:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":193251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:44] local.INFO: GPS data processed {"connection_id":193251,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:44] local.INFO: Acknowledgment sent {"connection_id":193251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:12:47] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:47] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:12:47] local.INFO: Packet analysis {"connection_id":191688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12:47] local.INFO: Extracted packet for processing {"connection_id":191688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:12: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:12: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-25 02:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:12: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-25 02:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":191688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:12:47] local.INFO: GPS data processed {"connection_id":191688,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:12:47] local.INFO: Acknowledgment sent {"connection_id":191688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:13:27] local.INFO: TCP Data received {"connection_id":194539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:27] local.INFO: Processing buffer {"connection_id":194539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:27] local.INFO: IMEI packet received {"connection_id":194539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":194539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:13:32] local.INFO: TCP Data received {"connection_id":194539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:32] local.INFO: Processing buffer {"connection_id":194539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:13:32] local.INFO: IMEI packet received {"connection_id":194539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":194539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:13:33] local.INFO: TCP Data received {"connection_id":194539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:13:33] local.INFO: Processing buffer {"connection_id":194539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d523fe48012d34c14006aa4940000900f52b..."} 
[2026-09-25 02:13:33] local.INFO: Packet analysis {"connection_id":194539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02:13:33] local.INFO: Extracted packet for processing {"connection_id":194539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d523"} 
[2026-09-25 02: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312192000001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282301000,"timestamp_ms":1790282301000,"timestamp_seconds":1790282301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d523fe48"} 
[2026-09-25 02: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-25 02:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:13: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-25 02: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-25 02: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-25 02:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:13: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-25 02:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312192000001,"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-25 02:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312192000001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312192000001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":194539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:13:33] local.INFO: GPS data processed {"connection_id":194539,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:13:33] local.INFO: Acknowledgment sent {"connection_id":194539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:13:37] local.INFO: TCP Data received {"connection_id":193252,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:37] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:37] local.INFO: IMEI packet received {"connection_id":193252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":193252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:13:40] local.INFO: TCP Data received {"connection_id":193252,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:40] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:40] local.INFO: IMEI packet received {"connection_id":193252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":193252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:13:45] local.INFO: TCP Data received {"connection_id":193252,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:45] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:13:45] local.INFO: IMEI packet received {"connection_id":193252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":193252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:13:47] local.INFO: TCP Data received {"connection_id":193252,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52778e8012d3770c006aeb470000a009331..."} 
[2026-09-25 02:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52778e8012d3770c006aeb470000a009331..."} 
[2026-09-25 02:13:47] local.INFO: Processing buffer {"connection_id":193252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52778e8012d3770c006aeb470000a009331..."} 
[2026-09-25 02:13:47] local.INFO: Packet analysis {"connection_id":193252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d527"} 
[2026-09-25 02:13:47] local.INFO: Extracted packet for processing {"connection_id":193252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d527"} 
[2026-09-25 02:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758608064,"raw_latitude":112112752,"longitude_deg":75.8608064,"latitude_deg":11.2112752,"altitude":10,"angle":147,"satellites":49,"speed":60,"hex_longitude":"2d3770c0","hex_latitude":"06aeb470","is_valid_coordinates":true} 
[2026-09-25 02:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:13:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790282529000,"timestamp_ms":1790282529000,"timestamp_seconds":1790282529,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52778e8"} 
[2026-09-25 02:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-25 02:13:47] 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-25 02:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":193252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":193252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":193252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:13: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-25 02:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27441,"11":206,"19":48128,"24":60,"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,11,19,24,16]} 
[2026-09-25 02:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 02:13:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-25 02:13: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-25 02:13:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27441,"unknown_11":206,"unknown_19":48128,"ignition":60,"odometer":null}} 
[2026-09-25 02:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":193252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:13:47] local.INFO: GPS data processed {"connection_id":193252,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:13:47] local.INFO: Acknowledgment sent {"connection_id":193252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:14:04] local.INFO: TCP Data received {"connection_id":194539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:04] local.INFO: Processing buffer {"connection_id":194539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:04] local.INFO: Packet analysis {"connection_id":194539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:14:04] local.INFO: Extracted packet for processing {"connection_id":194539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02: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-25 02: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:14: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-25 02: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-25 02: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-25 02:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:14: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-25 02:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":194539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:14:04] local.INFO: GPS data processed {"connection_id":194539,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:14:04] local.INFO: Acknowledgment sent {"connection_id":194539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:14:11] local.INFO: TCP Data received {"connection_id":191689,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:11] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:11] local.INFO: IMEI packet received {"connection_id":191689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":191689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:14:16] local.INFO: TCP Data received {"connection_id":191689,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:16] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:14:16] local.INFO: IMEI packet received {"connection_id":191689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":191689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:14:17] local.INFO: TCP Data received {"connection_id":191689,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d527caf0012d37a38006ae66400009009231..."} 
[2026-09-25 02:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d527caf0012d37a38006ae66400009009231..."} 
[2026-09-25 02:14:17] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d527caf0012d37a38006ae66400009009231..."} 
[2026-09-25 02:14:17] local.INFO: Packet analysis {"connection_id":191689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d527"} 
[2026-09-25 02:14:17] local.INFO: Extracted packet for processing {"connection_id":191689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d527"} 
[2026-09-25 02:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758621056,"raw_latitude":112092736,"longitude_deg":75.8621056,"latitude_deg":11.2092736,"altitude":9,"angle":146,"satellites":49,"speed":0,"hex_longitude":"2d37a380","hex_latitude":"06ae6640","is_valid_coordinates":true} 
[2026-09-25 02:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312327424001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3994904004411027456,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790282550000,"timestamp_ms":1790282550000,"timestamp_seconds":1790282550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d527caf0"} 
[2026-09-25 02:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:14: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-25 02:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-25 02:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:14: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-25 02:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312327424001,"66":28006,"11":206,"19":48128,"24":0,"16":3605341577150464,"45":3994904004411027456},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-09-25 02:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312327424001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:14:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 02:14:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-09-25 02:14: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-25 02:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3994904004411027456,"description":"Unknown IO ID 45"} 
[2026-09-25 02:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312327424001,"power":28006,"unknown_11":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":3994904004411027456}} 
[2026-09-25 02:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":191689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:14:17] local.INFO: GPS data processed {"connection_id":191689,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:14:17] local.INFO: Acknowledgment sent {"connection_id":191689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:14:27] local.INFO: TCP Data received {"connection_id":194540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:27] local.INFO: Processing buffer {"connection_id":194540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:27] local.INFO: IMEI packet received {"connection_id":194540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":194540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:14:32] local.INFO: TCP Data received {"connection_id":194540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:32] local.INFO: Processing buffer {"connection_id":194540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:14:32] local.INFO: IMEI packet received {"connection_id":194540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":194540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:14:33] local.INFO: TCP Data received {"connection_id":194540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:33] local.INFO: Processing buffer {"connection_id":194540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:14:33] local.INFO: Packet analysis {"connection_id":194540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:14:33] local.INFO: Extracted packet for processing {"connection_id":194540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":194540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:14:33] local.INFO: GPS data processed {"connection_id":194540,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:14:33] local.INFO: Acknowledgment sent {"connection_id":194540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:14:49] local.INFO: TCP Data received {"connection_id":191689,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d528b1680100000000000000000000000000..."} 
[2026-09-25 02:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d528b1680100000000000000000000000000..."} 
[2026-09-25 02:14:49] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d528b1680100000000000000000000000000..."} 
[2026-09-25 02:14:49] local.INFO: Packet analysis {"connection_id":191689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:14:49] local.INFO: Extracted packet for processing {"connection_id":191689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:14: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-25 02: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-25 02:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312332800001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4009188859473969152,"note":"Value kept but may cause issues"} 
[2026-09-25 02:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790282609000,"timestamp_ms":1790282609000,"timestamp_seconds":1790282609,"priority":1,"record_length":96,"hex_timestamp":"000001a0d528b168"} 
[2026-09-25 02: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-25 02:14: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-25 02: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-25 02:14: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-25 02: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-25 02: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-25 02:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:14: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-25 02:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":191689,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:14:49] local.INFO: GPS data processed {"connection_id":191689,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:14:49] local.INFO: Acknowledgment sent {"connection_id":191689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:15:04] local.INFO: TCP Data received {"connection_id":194540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:04] local.INFO: Processing buffer {"connection_id":194540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:04] local.INFO: Packet analysis {"connection_id":194540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:04] local.INFO: Extracted packet for processing {"connection_id":194540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15: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-25 02:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15: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-25 02:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:15: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-25 02:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:15: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-25 02:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:15: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-25 02:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":194540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:15:04] local.INFO: GPS data processed {"connection_id":194540,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:15:04] local.INFO: Acknowledgment sent {"connection_id":194540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:15:05] local.INFO: TCP Data received {"connection_id":191690,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:05] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:05] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:15:11] local.INFO: TCP Data received {"connection_id":191690,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:11] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:15:11] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:15:13] local.INFO: TCP Data received {"connection_id":191690,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5283c38012d37f74006ade090000b009332..."} 
[2026-09-25 02:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5283c38012d37f74006ade090000b009332..."} 
[2026-09-25 02:15:13] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5283c38012d37f74006ade090000b009332..."} 
[2026-09-25 02:15:13] local.INFO: Packet analysis {"connection_id":191690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:13] local.INFO: Extracted packet for processing {"connection_id":191690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758642496,"raw_latitude":112058512,"longitude_deg":75.8642496,"latitude_deg":11.2058512,"altitude":11,"angle":147,"satellites":50,"speed":43,"hex_longitude":"2d37f740","hex_latitude":"06ade090","is_valid_coordinates":true} 
[2026-09-25 02:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,196,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790282579000,"timestamp_ms":1790282579000,"timestamp_seconds":1790282579,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5283c38"} 
[2026-09-25 02:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:15: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-25 02:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 02:15: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-25 02:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:15: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-25 02:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"196":206,"28":21760,"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,196,28,24,16]} 
[2026-09-25 02:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:15:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-25 02:15:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:15: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-25 02:15:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_196":206,"unknown_28":21760,"ignition":43,"odometer":null}} 
[2026-09-25 02:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:15:13] local.INFO: GPS data processed {"connection_id":191690,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:15:13] local.INFO: Acknowledgment sent {"connection_id":191690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:15:26] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:26] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:26] local.INFO: IMEI packet received {"connection_id":191691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":191691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:15:32] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:32] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:15:32] local.INFO: IMEI packet received {"connection_id":191691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:15:33] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:33] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:15:33] local.INFO: Packet analysis {"connection_id":191691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:33] local.INFO: Extracted packet for processing {"connection_id":191691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:15: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-25 02:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:15:33] 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":893328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:15:33] local.INFO: GPS data processed {"connection_id":191691,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:15:33] local.INFO: Acknowledgment sent {"connection_id":191691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:15:45] local.INFO: TCP Data received {"connection_id":191690,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5288e40012d381cc006ada5b8000b009232..."} 
[2026-09-25 02:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5288e40012d381cc006ada5b8000b009232..."} 
[2026-09-25 02:15:45] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5288e40012d381cc006ada5b8000b009232..."} 
[2026-09-25 02:15:45] local.INFO: Packet analysis {"connection_id":191690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:45] local.INFO: Extracted packet for processing {"connection_id":191690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758652096,"raw_latitude":112043448,"longitude_deg":75.8652096,"latitude_deg":11.2043448,"altitude":11,"angle":146,"satellites":50,"speed":0,"hex_longitude":"2d381cc0","hex_latitude":"06ada5b8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312340224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4032762388764725248,"note":"Value kept but may cause issues"} 
[2026-09-25 02:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790282600000,"timestamp_ms":1790282600000,"timestamp_seconds":1790282600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5288e40"} 
[2026-09-25 02: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-25 02:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 02:15:45] 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-25 02: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-25 02: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-25 02:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:15: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-25 02:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312340224001,"66":27930,"196":206,"28":21760,"24":0,"16":3605341577150464,"45":4032762388764725248},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-09-25 02:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312340224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:15:45] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-25 02:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:15: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-25 02:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4032762388764725248,"description":"Unknown IO ID 45"} 
[2026-09-25 02:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312340224001,"power":27930,"unknown_196":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4032762388764725248}} 
[2026-09-25 02:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":191690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:15:45] local.INFO: GPS data processed {"connection_id":191690,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:15:45] local.INFO: Acknowledgment sent {"connection_id":191690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:16:04] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:04] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:04] local.INFO: Packet analysis {"connection_id":191691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:16:04] local.INFO: Extracted packet for processing {"connection_id":191691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:16: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-25 02:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16: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-25 02:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:16: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-25 02:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:16: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-25 02:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:16: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-25 02:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:16:04] 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":893330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:16:04] local.INFO: GPS data processed {"connection_id":191691,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:16:04] local.INFO: Acknowledgment sent {"connection_id":191691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:16:05] local.INFO: TCP Data received {"connection_id":194541,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:05] local.INFO: Processing buffer {"connection_id":194541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:05] local.INFO: IMEI packet received {"connection_id":194541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":194541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:16:11] local.INFO: TCP Data received {"connection_id":194541,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:11] local.INFO: Processing buffer {"connection_id":194541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:16:11] local.INFO: IMEI packet received {"connection_id":194541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":194541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:16:12] local.INFO: TCP Data received {"connection_id":194541,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d528e048012d383f8006ad7690000a00952c..."} 
[2026-09-25 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d528e048012d383f8006ad7690000a00952c..."} 
[2026-09-25 02:16:12] local.INFO: Processing buffer {"connection_id":194541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d528e048012d383f8006ad7690000a00952c..."} 
[2026-09-25 02:16:12] local.INFO: Packet analysis {"connection_id":194541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:16:12] local.INFO: Extracted packet for processing {"connection_id":194541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758660992,"raw_latitude":112031376,"longitude_deg":75.8660992,"latitude_deg":11.2031376,"altitude":10,"angle":149,"satellites":44,"speed":0,"hex_longitude":"2d383f80","hex_latitude":"06ad7690","is_valid_coordinates":true} 
[2026-09-25 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312345600001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4043317700387518464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790282621000,"timestamp_ms":1790282621000,"timestamp_seconds":1790282621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d528e048"} 
[2026-09-25 02:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:16: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-25 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 02:16: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-25 02:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312345600001,"66":28017,"194":206,"28":21760,"24":0,"16":3605341577150464,"45":4043317700387518464},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-09-25 02:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312345600001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:16:12] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-25 02:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4043317700387518464,"description":"Unknown IO ID 45"} 
[2026-09-25 02:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312345600001,"power":28017,"unknown_194":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4043317700387518464}} 
[2026-09-25 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":194541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:16:12] local.INFO: GPS data processed {"connection_id":194541,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:16:12] local.INFO: Acknowledgment sent {"connection_id":194541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:16:26] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:26] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:26] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:16:32] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:32] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:16:32] local.INFO: IMEI packet received {"connection_id":191868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:16:33] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:33] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:16:33] local.INFO: Packet analysis {"connection_id":191868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:16:33] local.INFO: Extracted packet for processing {"connection_id":191868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02: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-25 02:16: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":191868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:16:33] local.INFO: GPS data processed {"connection_id":191868,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:16:33] local.INFO: Acknowledgment sent {"connection_id":191868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:16:43] local.INFO: TCP Data received {"connection_id":194541,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5292698012d38590006ad3730000800a530..."} 
[2026-09-25 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5292698012d38590006ad3730000800a530..."} 
[2026-09-25 02:16:43] local.INFO: Processing buffer {"connection_id":194541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5292698012d38590006ad3730000800a530..."} 
[2026-09-25 02:16:43] local.INFO: Packet analysis {"connection_id":194541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:16:43] local.INFO: Extracted packet for processing {"connection_id":194541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758667520,"raw_latitude":112015152,"longitude_deg":75.866752,"latitude_deg":11.2015152,"altitude":8,"angle":165,"satellites":48,"speed":39,"hex_longitude":"2d385900","hex_latitude":"06ad3730","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312350976001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4053098955825123328,"note":"Value kept but may cause issues"} 
[2026-09-25 02:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790282639000,"timestamp_ms":1790282639000,"timestamp_seconds":1790282639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5292698"} 
[2026-09-25 02: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-25 02:16: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-25 02: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-25 02:16:43] 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-25 02: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-25 02: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-25 02:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194541,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:16: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-25 02:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312350976001,"66":28126,"194":206,"28":21760,"24":39,"16":3605341577150464,"45":4053098955825123328},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-09-25 02:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312350976001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:16:43] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-25 02:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:16: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-25 02:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4053098955825123328,"description":"Unknown IO ID 45"} 
[2026-09-25 02:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312350976001,"power":28126,"unknown_194":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":4053098955825123328}} 
[2026-09-25 02:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":194541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:16:43] local.INFO: GPS data processed {"connection_id":194541,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:16:43] local.INFO: Acknowledgment sent {"connection_id":194541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:17:04] local.INFO: TCP Data received {"connection_id":191868,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:04] local.INFO: Processing buffer {"connection_id":191868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:04] local.INFO: Packet analysis {"connection_id":191868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17:04] local.INFO: Extracted packet for processing {"connection_id":191868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17: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-25 02:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17: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-25 02:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:17: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-25 02:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:17: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-25 02:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:17: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-25 02:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":191868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:17:04] local.INFO: GPS data processed {"connection_id":191868,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:17:04] local.INFO: Acknowledgment sent {"connection_id":191868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:17:08] local.INFO: TCP Data received {"connection_id":194542,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:08] local.INFO: Processing buffer {"connection_id":194542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:08] local.INFO: IMEI packet received {"connection_id":194542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":194542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:17:10] local.INFO: TCP Data received {"connection_id":194542,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:10] local.INFO: Processing buffer {"connection_id":194542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:10] local.INFO: IMEI packet received {"connection_id":194542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":194542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:17:15] local.INFO: TCP Data received {"connection_id":194542,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:15] local.INFO: Processing buffer {"connection_id":194542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:17:15] local.INFO: IMEI packet received {"connection_id":194542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":194542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:17:16] local.INFO: TCP Data received {"connection_id":194542,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52978a0012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52978a0012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:16] local.INFO: Processing buffer {"connection_id":194542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52978a0012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:16] local.INFO: Packet analysis {"connection_id":194542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:17:16] local.INFO: Extracted packet for processing {"connection_id":194542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758671104,"raw_latitude":112002880,"longitude_deg":75.8671104,"latitude_deg":11.200288,"altitude":9,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2d386700","hex_latitude":"06ad0740","is_valid_coordinates":true} 
[2026-09-25 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312355584001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4060276567727091712,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790282660000,"timestamp_ms":1790282660000,"timestamp_seconds":1790282660,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52978a0"} 
[2026-09-25 02:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:17: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-25 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-25 02:17:16] 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-25 02:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:17: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-25 02:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312355584001,"66":27974,"194":206,"28":21760,"24":0,"16":3605341577150464,"45":4060276567727091712},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-09-25 02:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312355584001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:17:16] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-25 02:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02: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-25 02:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4060276567727091712,"description":"Unknown IO ID 45"} 
[2026-09-25 02:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312355584001,"power":27974,"unknown_194":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4060276567727091712}} 
[2026-09-25 02:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":194542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:17:16] local.INFO: GPS data processed {"connection_id":194542,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:17:16] local.INFO: Acknowledgment sent {"connection_id":194542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:17:32] local.INFO: TCP Data received {"connection_id":191869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:32] local.INFO: Processing buffer {"connection_id":191869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:32] local.INFO: IMEI packet received {"connection_id":191869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":191869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:17:37] local.INFO: TCP Data received {"connection_id":191869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:37] local.INFO: Processing buffer {"connection_id":191869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:17:37] local.INFO: IMEI packet received {"connection_id":191869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":191869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:17:38] local.INFO: TCP Data received {"connection_id":191869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:38] local.INFO: Processing buffer {"connection_id":191869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:38] local.INFO: Packet analysis {"connection_id":191869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17:38] local.INFO: Extracted packet for processing {"connection_id":191869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17: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-25 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:17: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-25 02:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:17: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-25 02:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:17:38] local.INFO: GPS data processed {"connection_id":191869,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:17:38] local.INFO: Acknowledgment sent {"connection_id":191869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:17:42] local.INFO: TCP Data received {"connection_id":191869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:42] local.INFO: Processing buffer {"connection_id":191869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:17:42] local.INFO: Packet analysis {"connection_id":191869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17:42] local.INFO: Extracted packet for processing {"connection_id":191869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:17: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:17: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-25 02:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:17: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-25 02:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:17: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-25 02:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:17:42] local.INFO: GPS data processed {"connection_id":191869,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:17:42] local.INFO: Acknowledgment sent {"connection_id":191869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:17:48] local.INFO: TCP Data received {"connection_id":194542,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d529caa8012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d529caa8012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:48] local.INFO: Processing buffer {"connection_id":194542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d529caa8012d38670006ad0740000900a92f..."} 
[2026-09-25 02:17:48] local.INFO: Packet analysis {"connection_id":194542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:17:48] local.INFO: Extracted packet for processing {"connection_id":194542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758671104,"raw_latitude":112002880,"longitude_deg":75.8671104,"latitude_deg":11.200288,"altitude":9,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2d386700","hex_latitude":"06ad0740","is_valid_coordinates":true} 
[2026-09-25 02:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312360960001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4064217217397899264,"note":"Value kept but may cause issues"} 
[2026-09-25 02:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790282681000,"timestamp_ms":1790282681000,"timestamp_seconds":1790282681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d529caa8"} 
[2026-09-25 02:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:17: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-25 02:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-25 02:17:48] 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-25 02:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":194542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":194542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":194542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:17: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-25 02:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312360960001,"66":27821,"197":206,"28":21760,"24":0,"16":3605341577150464,"45":4064217217397899264},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,28,24,16,45]} 
[2026-09-25 02:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312360960001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:17:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-25 02:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:17: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-25 02:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4064217217397899264,"description":"Unknown IO ID 45"} 
[2026-09-25 02:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312360960001,"power":27821,"unknown_197":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4064217217397899264}} 
[2026-09-25 02:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":194542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:17:48] local.INFO: GPS data processed {"connection_id":194542,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:17:48] local.INFO: Acknowledgment sent {"connection_id":194542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:18:05] local.INFO: TCP Data received {"connection_id":191692,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:05] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:05] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:18:11] local.INFO: TCP Data received {"connection_id":191692,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:11] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:18:11] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:18:11] local.INFO: TCP Data received {"connection_id":191692,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d529f988012d38300006acfd98000a00fe30..."} 
[2026-09-25 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d529f988012d38300006acfd98000a00fe30..."} 
[2026-09-25 02:18:11] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d529f988012d38300006acfd98000a00fe30..."} 
[2026-09-25 02:18:11] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:18:11] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d529"} 
[2026-09-25 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758657024,"raw_latitude":112000408,"longitude_deg":75.8657024,"latitude_deg":11.2000408,"altitude":10,"angle":254,"satellites":48,"speed":25,"hex_longitude":"2d383000","hex_latitude":"06acfd98","is_valid_coordinates":true} 
[2026-09-25 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312366336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4064217217397899264,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790282693000,"timestamp_ms":1790282693000,"timestamp_seconds":1790282693,"priority":1,"record_length":96,"hex_timestamp":"000001a0d529f988"} 
[2026-09-25 02:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 02:18:11] 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-25 02:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.31.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312366336001,"66":27952,"197":206,"28":21760,"24":25,"16":3605341577150464,"45":4064217217397899264},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,28,24,16,45]} 
[2026-09-25 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312366336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:18:11] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-25 02:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:18: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-25 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4064217217397899264,"description":"Unknown IO ID 45"} 
[2026-09-25 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312366336001,"power":27952,"unknown_197":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":4064217217397899264}} 
[2026-09-25 02:18:12] 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":893339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:18:12] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:18:12] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:18:27] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:27] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:27] local.INFO: IMEI packet received {"connection_id":191870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":191870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:18:32] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:32] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:18:32] local.INFO: IMEI packet received {"connection_id":191870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":191870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:18:33] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:18:33] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5289610012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:18:33] local.INFO: Packet analysis {"connection_id":191870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02:18:33] local.INFO: Extracted packet for processing {"connection_id":191870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d528"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312269056001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282602000,"timestamp_ms":1790282602000,"timestamp_seconds":1790282602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5289610"} 
[2026-09-25 02:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:18: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-25 02:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02: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-25 02:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:18: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-25 02:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312269056001,"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-25 02:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312269056001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312269056001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":191870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:18:33] local.INFO: GPS data processed {"connection_id":191870,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:18:33] local.INFO: Acknowledgment sent {"connection_id":191870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:18:43] local.INFO: TCP Data received {"connection_id":191692,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d1e380100000000000000000000000000..."} 
[2026-09-25 02:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d1e380100000000000000000000000000..."} 
[2026-09-25 02:18:43] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d1e380100000000000000000000000000..."} 
[2026-09-25 02:18:43] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:18:43] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:18: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-25 02: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-25 02:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312407040001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3983082055357466624,"note":"Value kept but may cause issues"} 
[2026-09-25 02:18:43] 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-25 02:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790282899000,"timestamp_ms":1790282899000,"timestamp_seconds":1790282899,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d1e38"} 
[2026-09-25 02: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-25 02:18: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-25 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 02:18:43] 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-25 02: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-25 02: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-25 02:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:18: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-25 02:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:18:43] local.INFO: GPS data processed {"connection_id":191692,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:18:43] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:19:04] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:04] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:04] local.INFO: Packet analysis {"connection_id":191870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:19:04] local.INFO: Extracted packet for processing {"connection_id":191870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:19: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-25 02:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19: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-25 02:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:19: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-25 02:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":191870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:19:04] local.INFO: GPS data processed {"connection_id":191870,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:19:04] local.INFO: Acknowledgment sent {"connection_id":191870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:19:10] local.INFO: TCP Data received {"connection_id":193253,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: IMEI packet received {"connection_id":193253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":193253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:19:10] local.INFO: TCP Data received {"connection_id":193253,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:10] local.INFO: IMEI packet received {"connection_id":193253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":193253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:19:15] local.INFO: TCP Data received {"connection_id":193253,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:15] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:19:15] local.INFO: IMEI packet received {"connection_id":193253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":193253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:19:16] local.INFO: TCP Data received {"connection_id":193253,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52c8db0012d37368006acaea80028011b2d..."} 
[2026-09-25 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52c8db0012d37368006acaea80028011b2d..."} 
[2026-09-25 02:19:16] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52c8db0012d37368006acaea80028011b2d..."} 
[2026-09-25 02:19:16] local.INFO: Packet analysis {"connection_id":193253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:19:16] local.INFO: Extracted packet for processing {"connection_id":193253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758593152,"raw_latitude":111980200,"longitude_deg":75.8593152,"latitude_deg":11.19802,"altitude":40,"angle":283,"satellites":45,"speed":15,"hex_longitude":"2d373680","hex_latitude":"06acaea8","is_valid_coordinates":true} 
[2026-09-25 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605341577150464,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 02:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790282862000,"timestamp_ms":1790282862000,"timestamp_seconds":1790282862,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52c8db0"} 
[2026-09-25 02:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:19: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-25 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-25 02:19:16] 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-25 02:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:19: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-25 02:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"44":206,"28":21760,"24":15,"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,44,28,24,16]} 
[2026-09-25 02:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 02:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-25 02:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:19: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-25 02:19:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_44":206,"unknown_28":21760,"ignition":15,"odometer":null}} 
[2026-09-25 02:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":193253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:19:16] local.INFO: GPS data processed {"connection_id":193253,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:19:16] local.INFO: Acknowledgment sent {"connection_id":193253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:19:27] local.INFO: TCP Data received {"connection_id":194543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:27] local.INFO: Processing buffer {"connection_id":194543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:27] local.INFO: IMEI packet received {"connection_id":194543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":194543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:19:32] local.INFO: TCP Data received {"connection_id":194543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:32] local.INFO: Processing buffer {"connection_id":194543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:19:32] local.INFO: IMEI packet received {"connection_id":194543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":194543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:19:33] local.INFO: TCP Data received {"connection_id":194543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:33] local.INFO: Processing buffer {"connection_id":194543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:19:33] local.INFO: Packet analysis {"connection_id":194543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:19:33] local.INFO: Extracted packet for processing {"connection_id":194543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:19: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-25 02: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-25 02: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-25 02:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:19:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:19:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":194543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:19:33] local.INFO: GPS data processed {"connection_id":194543,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:19:33] local.INFO: Acknowledgment sent {"connection_id":194543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:19:48] local.INFO: TCP Data received {"connection_id":193253,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52cc848012d37270006acbb30002c00032f..."} 
[2026-09-25 02:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52cc848012d37270006acbb30002c00032f..."} 
[2026-09-25 02:19:48] local.INFO: Processing buffer {"connection_id":193253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52cc848012d37270006acbb30002c00032f..."} 
[2026-09-25 02:19:48] local.INFO: Packet analysis {"connection_id":193253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:19:48] local.INFO: Extracted packet for processing {"connection_id":193253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758589184,"raw_latitude":111983408,"longitude_deg":75.8589184,"latitude_deg":11.1983408,"altitude":44,"angle":3,"satellites":47,"speed":19,"hex_longitude":"2d372700","hex_latitude":"06acbb30","is_valid_coordinates":true} 
[2026-09-25 02:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312412672001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3605586390286336,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3978508086983698432,"note":"Value kept but may cause issues"} 
[2026-09-25 02:19:48] 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-25 02:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790282877000,"timestamp_ms":1790282877000,"timestamp_seconds":1790282877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52cc848"} 
[2026-09-25 02:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:19: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-25 02:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-25 02:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":193253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":193253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":193253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:19: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-25 02:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312412672001,"66":27767,"44":206,"28":21760,"24":19,"16":3605586390286336,"45":3978508086983698432},"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-25 02:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312412672001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-25 02:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3605586390286336,"km_value":3605586390286.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3978508086983698432,"description":"Unknown IO ID 45"} 
[2026-09-25 02:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312412672001,"power":27767,"unknown_44":206,"unknown_28":21760,"ignition":19,"odometer":null,"unknown_45":3978508086983698432}} 
[2026-09-25 02:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":193253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:19:48] local.INFO: GPS data processed {"connection_id":193253,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:19:48] local.INFO: Acknowledgment sent {"connection_id":193253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:20:05] local.INFO: TCP Data received {"connection_id":194543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:05] local.INFO: Processing buffer {"connection_id":194543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:05] local.INFO: Packet analysis {"connection_id":194543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:20:05] local.INFO: Extracted packet for processing {"connection_id":194543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:20:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":194543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:20:05] local.INFO: GPS data processed {"connection_id":194543,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:20:05] local.INFO: Acknowledgment sent {"connection_id":194543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:20:06] local.INFO: TCP Data received {"connection_id":194544,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:06] local.INFO: Processing buffer {"connection_id":194544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:06] local.INFO: IMEI packet received {"connection_id":194544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":194544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:20:11] local.INFO: TCP Data received {"connection_id":194544,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:11] local.INFO: Processing buffer {"connection_id":194544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:20:11] local.INFO: IMEI packet received {"connection_id":194544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":194544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:20:12] local.INFO: TCP Data received {"connection_id":194544,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52cfef8012d37278006acdca8002a015d2c..."} 
[2026-09-25 02:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52cfef8012d37278006acdca8002a015d2c..."} 
[2026-09-25 02:20:12] local.INFO: Processing buffer {"connection_id":194544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52cfef8012d37278006acdca8002a015d2c..."} 
[2026-09-25 02:20:12] local.INFO: Packet analysis {"connection_id":194544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:20:12] local.INFO: Extracted packet for processing {"connection_id":194544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52c"} 
[2026-09-25 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758589312,"raw_latitude":111991976,"longitude_deg":75.8589312,"latitude_deg":11.1991976,"altitude":42,"angle":349,"satellites":44,"speed":21,"hex_longitude":"2d372780","hex_latitude":"06acdca8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312416512001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3606003002114048,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3974145224845504512,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20: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-25 02:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790282891000,"timestamp_ms":1790282891000,"timestamp_seconds":1790282891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52cfef8"} 
[2026-09-25 02: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-25 02: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-25 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:20:12] 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-25 02: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-25 02: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-25 02:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312416512001,"66":27767,"44":206,"28":21760,"24":21,"16":3606003002114048,"45":3974145224845504512},"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-25 02:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312416512001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-25 02:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3606003002114048,"km_value":3606003002114.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3974145224845504512,"description":"Unknown IO ID 45"} 
[2026-09-25 02:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312416512001,"power":27767,"unknown_44":206,"unknown_28":21760,"ignition":21,"odometer":null,"unknown_45":3974145224845504512}} 
[2026-09-25 02:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":194544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:20:12] local.INFO: GPS data processed {"connection_id":194544,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:20:12] local.INFO: Acknowledgment sent {"connection_id":194544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:20:26] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:26] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:26] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:20:32] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:32] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:20:32] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:20:33] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:33] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:20:33] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:20:33] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02:20: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:20: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-25 02: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-25 02: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-25 02:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:20: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-25 02:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:20:33] 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":893347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:20:33] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:20:33] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:20:45] local.INFO: TCP Data received {"connection_id":194544,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:20:45] local.INFO: Processing buffer {"connection_id":194544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:20:45] local.INFO: Packet analysis {"connection_id":194544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:20:45] local.INFO: Extracted packet for processing {"connection_id":194544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758533312,"raw_latitude":112007848,"longitude_deg":75.8533312,"latitude_deg":11.2007848,"altitude":32,"angle":291,"satellites":45,"speed":33,"hex_longitude":"2d364cc0","hex_latitude":"06ad1aa8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3930094390995525632,"note":"Value kept but may cause issues"} 
[2026-09-25 02:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790282979000,"timestamp_ms":1790282979000,"timestamp_seconds":1790282979,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52e56b8"} 
[2026-09-25 02: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-25 02:20: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-25 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:20:45] 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-25 02: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-25 02: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-25 02:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:20: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-25 02:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312437248001,"66":27876,"35":206,"28":21760,"24":33,"16":3608043111579648,"45":3930094390995525632},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-09-25 02:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:20:45] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-25 02:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3930094390995525632,"description":"Unknown IO ID 45"} 
[2026-09-25 02:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312437248001,"power":27876,"unknown_35":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":3930094390995525632}} 
[2026-09-25 02:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":194544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:20:45] local.INFO: GPS data processed {"connection_id":194544,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:20:45] local.INFO: Acknowledgment sent {"connection_id":194544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:21:05] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:05] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:05] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:21:05] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:21: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-25 02:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:21:05] local.INFO: TCP Data received {"connection_id":193254,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:05] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:05] local.INFO: IMEI packet received {"connection_id":193254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":193254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:21:05] 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":893349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:21:05] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:21:05] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:21:11] local.INFO: TCP Data received {"connection_id":193254,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:11] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:21:11] local.INFO: IMEI packet received {"connection_id":193254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":193254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:21:12] local.INFO: TCP Data received {"connection_id":193254,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:21:12] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52e56b8012d364cc006ad1aa8002001232d..."} 
[2026-09-25 02:21:12] local.INFO: Packet analysis {"connection_id":193254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:21:12] local.INFO: Extracted packet for processing {"connection_id":193254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758533312,"raw_latitude":112007848,"longitude_deg":75.8533312,"latitude_deg":11.2007848,"altitude":32,"angle":291,"satellites":45,"speed":33,"hex_longitude":"2d364cc0","hex_latitude":"06ad1aa8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312442624001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3912713311184660480,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790282979000,"timestamp_ms":1790282979000,"timestamp_seconds":1790282979,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52e56b8"} 
[2026-09-25 02: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-25 02:21: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-25 02: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 02:21: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-25 02: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-25 02: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-25 02:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312442624001,"66":27876,"35":206,"28":21760,"24":33,"16":3608043111579648,"45":3912713311184660480},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-09-25 02:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312442624001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:21:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-25 02:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3912713311184660480,"description":"Unknown IO ID 45"} 
[2026-09-25 02:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312442624001,"power":27876,"unknown_35":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":3912713311184660480}} 
[2026-09-25 02:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":193254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:21:12] local.INFO: GPS data processed {"connection_id":193254,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:21:12] local.INFO: Acknowledgment sent {"connection_id":193254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:21:26] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:26] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:26] local.INFO: IMEI packet received {"connection_id":191871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":191871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:21:32] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:32] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:21:32] local.INFO: IMEI packet received {"connection_id":191871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":191871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:21:33] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:33] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:21:33] local.INFO: Packet analysis {"connection_id":191871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:21:33] local.INFO: Extracted packet for processing {"connection_id":191871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02:21: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:21: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-25 02: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-25 02: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-25 02:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:21: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-25 02:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:21:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:21:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":191871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:21:33] local.INFO: GPS data processed {"connection_id":191871,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:21:33] local.INFO: Acknowledgment sent {"connection_id":191871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:21:44] local.INFO: TCP Data received {"connection_id":193254,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52ea0f0012d360a0006ad23900017010f2c..."} 
[2026-09-25 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52ea0f0012d360a0006ad23900017010f2c..."} 
[2026-09-25 02:21:44] local.INFO: Processing buffer {"connection_id":193254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52ea0f0012d360a0006ad23900017010f2c..."} 
[2026-09-25 02:21:44] local.INFO: Packet analysis {"connection_id":193254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:21:44] local.INFO: Extracted packet for processing {"connection_id":193254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758516224,"raw_latitude":112010128,"longitude_deg":75.8516224,"latitude_deg":11.2010128,"altitude":23,"angle":271,"satellites":44,"speed":32,"hex_longitude":"2d360a00","hex_latitude":"06ad2390","is_valid_coordinates":true} 
[2026-09-25 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312442624001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3912713311184660480,"note":"Value kept but may cause issues"} 
[2026-09-25 02:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790282998000,"timestamp_ms":1790282998000,"timestamp_seconds":1790282998,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52ea0f0"} 
[2026-09-25 02:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:21: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-25 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 02:21: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-25 02:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312442624001,"66":27843,"35":206,"28":21760,"24":32,"16":3608043111579648,"45":3912713311184660480},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-09-25 02:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312442624001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:21:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-25 02:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3912713311184660480,"description":"Unknown IO ID 45"} 
[2026-09-25 02:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312442624001,"power":27843,"unknown_35":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3912713311184660480}} 
[2026-09-25 02:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":193254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:21:44] local.INFO: GPS data processed {"connection_id":193254,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:21:44] local.INFO: Acknowledgment sent {"connection_id":193254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:22:04] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:04] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:04] local.INFO: Packet analysis {"connection_id":191871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:22:04] local.INFO: Extracted packet for processing {"connection_id":191871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:22: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-25 02:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:22: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-25 02:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:22: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-25 02:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:22: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-25 02:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":191871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:22:04] local.INFO: GPS data processed {"connection_id":191871,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:22:04] local.INFO: Acknowledgment sent {"connection_id":191871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:22:05] local.INFO: TCP Data received {"connection_id":194545,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:05] local.INFO: Processing buffer {"connection_id":194545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:05] local.INFO: IMEI packet received {"connection_id":194545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":194545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:22:11] local.INFO: TCP Data received {"connection_id":194545,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:11] local.INFO: Processing buffer {"connection_id":194545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:22:11] local.INFO: IMEI packet received {"connection_id":194545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":194545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:22:12] local.INFO: TCP Data received {"connection_id":194545,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52eef10012d35c8c006ad2cf80018011b2b..."} 
[2026-09-25 02:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52eef10012d35c8c006ad2cf80018011b2b..."} 
[2026-09-25 02:22:12] local.INFO: Processing buffer {"connection_id":194545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52eef10012d35c8c006ad2cf80018011b2b..."} 
[2026-09-25 02:22:12] local.INFO: Packet analysis {"connection_id":194545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:22:12] local.INFO: Extracted packet for processing {"connection_id":194545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52e"} 
[2026-09-25 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758499520,"raw_latitude":112012536,"longitude_deg":75.849952,"latitude_deg":11.2012536,"altitude":24,"angle":283,"satellites":43,"speed":31,"hex_longitude":"2d35c8c0","hex_latitude":"06ad2cf8","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312447488001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893924856489807872,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790283018000,"timestamp_ms":1790283018000,"timestamp_seconds":1790283018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52eef10"} 
[2026-09-25 02: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-25 02: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-25 02:22: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-25 02: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-25 02: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-25 02:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312447488001,"66":27832,"35":206,"28":21760,"24":31,"16":3608043111579648,"45":3893924856489807872},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-09-25 02:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312447488001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893924856489807872,"description":"Unknown IO ID 45"} 
[2026-09-25 02:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312447488001,"power":27832,"unknown_35":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":3893924856489807872}} 
[2026-09-25 02:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":194545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:22:12] local.INFO: GPS data processed {"connection_id":194545,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:22:12] local.INFO: Acknowledgment sent {"connection_id":194545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:22:26] local.INFO: TCP Data received {"connection_id":194546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:26] local.INFO: Processing buffer {"connection_id":194546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:26] local.INFO: IMEI packet received {"connection_id":194546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":194546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:22:33] local.INFO: TCP Data received {"connection_id":194546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:33] local.INFO: Processing buffer {"connection_id":194546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:22:33] local.INFO: IMEI packet received {"connection_id":194546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":194546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:22:33] local.INFO: TCP Data received {"connection_id":194546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:33] local.INFO: Processing buffer {"connection_id":194546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:22:33] local.INFO: Packet analysis {"connection_id":194546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:22:33] local.INFO: Extracted packet for processing {"connection_id":194546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:22: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-25 02:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22: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-25 02:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:22: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-25 02:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:22: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-25 02:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:22: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-25 02:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:22: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-25 02:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":194546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:22:33] local.INFO: GPS data processed {"connection_id":194546,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:22:33] local.INFO: Acknowledgment sent {"connection_id":194546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:22:44] local.INFO: TCP Data received {"connection_id":194545,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:22:44] local.INFO: Processing buffer {"connection_id":194545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:22:44] local.INFO: Packet analysis {"connection_id":194545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52f"} 
[2026-09-25 02:22:44] local.INFO: Extracted packet for processing {"connection_id":194545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52f"} 
[2026-09-25 02:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758486272,"raw_latitude":112020320,"longitude_deg":75.8486272,"latitude_deg":11.202032,"altitude":21,"angle":303,"satellites":46,"speed":21,"hex_longitude":"2d359500","hex_latitude":"06ad4b60","is_valid_coordinates":true} 
[2026-09-25 02:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312452608001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3875558614260054016,"note":"Value kept but may cause issues"} 
[2026-09-25 02:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790283039000,"timestamp_ms":1790283039000,"timestamp_seconds":1790283039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52f4118"} 
[2026-09-25 02:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:22: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-25 02:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 02:22: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-25 02:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312452608001,"66":27767,"36":206,"28":21760,"24":21,"16":3608043111579648,"45":3875558614260054016},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-09-25 02:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312452608001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:22:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 02:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3875558614260054016,"description":"Unknown IO ID 45"} 
[2026-09-25 02:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312452608001,"power":27767,"unknown_36":206,"unknown_28":21760,"ignition":21,"odometer":null,"unknown_45":3875558614260054016}} 
[2026-09-25 02:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":194545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:22:44] local.INFO: GPS data processed {"connection_id":194545,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:22:44] local.INFO: Acknowledgment sent {"connection_id":194545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:23:05] local.INFO: TCP Data received {"connection_id":194546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:05] local.INFO: Processing buffer {"connection_id":194546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:05] local.INFO: Packet analysis {"connection_id":194546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:23:05] local.INFO: Extracted packet for processing {"connection_id":194546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02: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-25 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:23: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-25 02:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23: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-25 02:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":194546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:23:05] local.INFO: GPS data processed {"connection_id":194546,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:23:05] local.INFO: Acknowledgment sent {"connection_id":194546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:23:05] local.INFO: TCP Data received {"connection_id":191872,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:05] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:05] local.INFO: IMEI packet received {"connection_id":191872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":191872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:23:11] local.INFO: TCP Data received {"connection_id":191872,"ip":"117.224.31.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:11] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:23:11] local.INFO: IMEI packet received {"connection_id":191872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":191872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:23:12] local.INFO: TCP Data received {"connection_id":191872,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:23:12] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52f4118012d35950006ad4b600015012f2e..."} 
[2026-09-25 02:23:12] local.INFO: Packet analysis {"connection_id":191872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52f"} 
[2026-09-25 02:23:12] local.INFO: Extracted packet for processing {"connection_id":191872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52f"} 
[2026-09-25 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758486272,"raw_latitude":112020320,"longitude_deg":75.8486272,"latitude_deg":11.202032,"altitude":21,"angle":303,"satellites":46,"speed":21,"hex_longitude":"2d359500","hex_latitude":"06ad4b60","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312457984001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3860992284217270272,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790283039000,"timestamp_ms":1790283039000,"timestamp_seconds":1790283039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52f4118"} 
[2026-09-25 02: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-25 02:23: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-25 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:23:12] 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-25 02: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-25 02: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-25 02:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02: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-25 02:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312457984001,"66":27767,"36":206,"28":21760,"24":21,"16":3608043111579648,"45":3860992284217270272},"client_ip":"117.224.31.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-09-25 02:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312457984001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:23:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 02:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-09-25 02:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3860992284217270272,"description":"Unknown IO ID 45"} 
[2026-09-25 02:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312457984001,"power":27767,"unknown_36":206,"unknown_28":21760,"ignition":21,"odometer":null,"unknown_45":3860992284217270272}} 
[2026-09-25 02:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":191872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:23:12] local.INFO: GPS data processed {"connection_id":191872,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:23:12] local.INFO: Acknowledgment sent {"connection_id":191872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:23:32] local.INFO: TCP Data received {"connection_id":193255,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:32] local.INFO: Processing buffer {"connection_id":193255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:32] local.INFO: IMEI packet received {"connection_id":193255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:23:37] local.INFO: TCP Data received {"connection_id":193255,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:37] local.INFO: Processing buffer {"connection_id":193255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:23:37] local.INFO: IMEI packet received {"connection_id":193255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":193255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:23:38] local.INFO: TCP Data received {"connection_id":193255,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:38] local.INFO: Processing buffer {"connection_id":193255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:38] local.INFO: Packet analysis {"connection_id":193255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:23:38] local.INFO: Extracted packet for processing {"connection_id":193255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:23: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-25 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23: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-25 02:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:23: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-25 02:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":193255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:23:38] local.INFO: GPS data processed {"connection_id":193255,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:23:38] local.INFO: Acknowledgment sent {"connection_id":193255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:23:43] local.INFO: TCP Data received {"connection_id":193255,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:43] local.INFO: Processing buffer {"connection_id":193255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d52d2dd8012d34c14006aa4940000900f52e..."} 
[2026-09-25 02:23:43] local.INFO: Packet analysis {"connection_id":193255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02:23:43] local.INFO: Extracted packet for processing {"connection_id":193255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d52d"} 
[2026-09-25 02: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312346112001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790282903000,"timestamp_ms":1790282903000,"timestamp_seconds":1790282903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d52d2dd8"} 
[2026-09-25 02: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-25 02:23: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-25 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:23: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-25 02: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-25 02: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-25 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:23: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-25 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312346112001,"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-25 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312346112001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312346112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":193255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:23:43] local.INFO: GPS data processed {"connection_id":193255,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:23:43] local.INFO: Acknowledgment sent {"connection_id":193255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:23:47] local.INFO: TCP Data received {"connection_id":191872,"ip":"117.224.31.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53027900100000000000000000000000000..."} 
[2026-09-25 02:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53027900100000000000000000000000000..."} 
[2026-09-25 02:23:47] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53027900100000000000000000000000000..."} 
[2026-09-25 02:23:47] local.INFO: Packet analysis {"connection_id":191872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d530"} 
[2026-09-25 02:23:47] local.INFO: Extracted packet for processing {"connection_id":191872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d530"} 
[2026-09-25 02:23: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-25 02:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312457984001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3860992284217270272,"note":"Value kept but may cause issues"} 
[2026-09-25 02:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790283098000,"timestamp_ms":1790283098000,"timestamp_seconds":1790283098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5302790"} 
[2026-09-25 02:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:23: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-25 02:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-25 02:23:47] 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-25 02:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:23: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-25 02:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":191872,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 02:23:47] local.INFO: GPS data processed {"connection_id":191872,"processed":0,"errors":0,"total":1} 
[2026-09-25 02:23:47] local.INFO: Acknowledgment sent {"connection_id":191872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:24:27] local.INFO: TCP Data received {"connection_id":194547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:27] local.INFO: Processing buffer {"connection_id":194547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:27] local.INFO: IMEI packet received {"connection_id":194547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":194547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:24:32] local.INFO: TCP Data received {"connection_id":194547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:32] local.INFO: Processing buffer {"connection_id":194547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:24:32] local.INFO: IMEI packet received {"connection_id":194547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":194547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:24:33] local.INFO: TCP Data received {"connection_id":194547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:24:33] local.INFO: Processing buffer {"connection_id":194547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:24:33] local.INFO: Packet analysis {"connection_id":194547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:24:33] local.INFO: Extracted packet for processing {"connection_id":194547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:24: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-25 02: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-25 02: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-25 02:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":194547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:24:33] local.INFO: GPS data processed {"connection_id":194547,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:24:33] local.INFO: Acknowledgment sent {"connection_id":194547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:25:04] local.INFO: TCP Data received {"connection_id":194547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:04] local.INFO: Processing buffer {"connection_id":194547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:04] local.INFO: Packet analysis {"connection_id":194547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:25:04] local.INFO: Extracted packet for processing {"connection_id":194547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:25: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-25 02:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:25: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-25 02:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:25: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-25 02:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:25: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-25 02:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:25: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-25 02:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":194547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:25:04] local.INFO: GPS data processed {"connection_id":194547,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:25:04] local.INFO: Acknowledgment sent {"connection_id":194547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:25:26] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:26] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:26] local.INFO: IMEI packet received {"connection_id":193256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":193256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:25:32] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:32] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:25:32] local.INFO: IMEI packet received {"connection_id":193256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":193256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:25:33] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:33] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:25:33] local.INFO: Packet analysis {"connection_id":193256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:25:33] local.INFO: Extracted packet for processing {"connection_id":193256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02:25: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:25: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-25 02: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-25 02: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-25 02:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:25: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-25 02:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:25:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:25:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":193256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:25:33] local.INFO: GPS data processed {"connection_id":193256,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:25:33] local.INFO: Acknowledgment sent {"connection_id":193256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:26:05] local.INFO: TCP Data received {"connection_id":193256,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:05] local.INFO: Processing buffer {"connection_id":193256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:05] local.INFO: Packet analysis {"connection_id":193256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:26:05] local.INFO: Extracted packet for processing {"connection_id":193256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:26: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-25 02: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-25 02: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-25 02:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:26:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:26:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":193256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:26:05] local.INFO: GPS data processed {"connection_id":193256,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:26:05] local.INFO: Acknowledgment sent {"connection_id":193256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:26:26] local.INFO: TCP Data received {"connection_id":191873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:26] local.INFO: Processing buffer {"connection_id":191873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:26] local.INFO: IMEI packet received {"connection_id":191873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":191873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:26:32] local.INFO: TCP Data received {"connection_id":191873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:32] local.INFO: Processing buffer {"connection_id":191873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:26:32] local.INFO: IMEI packet received {"connection_id":191873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":191873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:26:33] local.INFO: TCP Data received {"connection_id":191873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:33] local.INFO: Processing buffer {"connection_id":191873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:26:33] local.INFO: Packet analysis {"connection_id":191873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:26:33] local.INFO: Extracted packet for processing {"connection_id":191873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02:26: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:26: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-25 02: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-25 02: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-25 02:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:26: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-25 02:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":191873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:26:33] local.INFO: GPS data processed {"connection_id":191873,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:26:33] local.INFO: Acknowledgment sent {"connection_id":191873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:27:04] local.INFO: TCP Data received {"connection_id":191873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:04] local.INFO: Processing buffer {"connection_id":191873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:04] local.INFO: Packet analysis {"connection_id":191873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:27:04] local.INFO: Extracted packet for processing {"connection_id":191873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02:27: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:27: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-25 02: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-25 02: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-25 02:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:27: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-25 02:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":191873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:27:04] local.INFO: GPS data processed {"connection_id":191873,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:27:04] local.INFO: Acknowledgment sent {"connection_id":191873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:27:20] local.INFO: TCP Data received {"connection_id":194548,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:27:20] local.INFO: Processing buffer {"connection_id":194548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:27:20] local.INFO: IMEI packet received {"connection_id":194548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":194548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:27:26] local.INFO: TCP Data received {"connection_id":194549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:26] local.INFO: Processing buffer {"connection_id":194549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:26] local.INFO: IMEI packet received {"connection_id":194549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":194549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:27:32] local.INFO: TCP Data received {"connection_id":194549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:32] local.INFO: Processing buffer {"connection_id":194549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:27:32] local.INFO: IMEI packet received {"connection_id":194549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":194549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:27:33] local.INFO: TCP Data received {"connection_id":194549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:33] local.INFO: Processing buffer {"connection_id":194549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:27:33] local.INFO: Packet analysis {"connection_id":194549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:27:33] local.INFO: Extracted packet for processing {"connection_id":194549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:27: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-25 02:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:27: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-25 02:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:27: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-25 02:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:27: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-25 02:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:27: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-25 02:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:27: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-25 02:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":194549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:27:33] local.INFO: GPS data processed {"connection_id":194549,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:27:33] local.INFO: Acknowledgment sent {"connection_id":194549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:28:04] local.INFO: TCP Data received {"connection_id":194549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:04] local.INFO: Processing buffer {"connection_id":194549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:04] local.INFO: Packet analysis {"connection_id":194549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:28:04] local.INFO: Extracted packet for processing {"connection_id":194549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:28: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-25 02:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28: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-25 02:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:28: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-25 02:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:28: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-25 02:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28: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-25 02:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"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-25 02:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:28: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-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":194549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:28:04] local.INFO: GPS data processed {"connection_id":194549,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:28:04] local.INFO: Acknowledgment sent {"connection_id":194549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:28:32] local.INFO: TCP Data received {"connection_id":193257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:32] local.INFO: Processing buffer {"connection_id":193257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:32] local.INFO: IMEI packet received {"connection_id":193257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":193257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:28:37] local.INFO: TCP Data received {"connection_id":193257,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:37] local.INFO: Processing buffer {"connection_id":193257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:28:37] local.INFO: IMEI packet received {"connection_id":193257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":193257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:28:38] local.INFO: TCP Data received {"connection_id":193257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:38] local.INFO: Processing buffer {"connection_id":193257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:38] local.INFO: Packet analysis {"connection_id":193257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:28:38] local.INFO: Extracted packet for processing {"connection_id":193257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02: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-25 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"66":25473,"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-25 02:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":193257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:28:38] local.INFO: GPS data processed {"connection_id":193257,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:28:38] local.INFO: Acknowledgment sent {"connection_id":193257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:28:42] local.INFO: TCP Data received {"connection_id":193257,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:42] local.INFO: Processing buffer {"connection_id":193257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d531c5a0012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:28:42] local.INFO: Packet analysis {"connection_id":193257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:28:42] local.INFO: Extracted packet for processing {"connection_id":193257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d531"} 
[2026-09-25 02:28: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312423168001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790283204000,"timestamp_ms":1790283204000,"timestamp_seconds":1790283204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d531c5a0"} 
[2026-09-25 02:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312423168001,"66":25473,"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-25 02:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312423168001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:28: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-25 02:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312423168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":193257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:28:42] local.INFO: GPS data processed {"connection_id":193257,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:28:42] local.INFO: Acknowledgment sent {"connection_id":193257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:29:27] local.INFO: TCP Data received {"connection_id":194550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:27] local.INFO: Processing buffer {"connection_id":194550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:27] local.INFO: IMEI packet received {"connection_id":194550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":194550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:29:32] local.INFO: TCP Data received {"connection_id":194550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:32] local.INFO: Processing buffer {"connection_id":194550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:29:32] local.INFO: IMEI packet received {"connection_id":194550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":194550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:29:32] local.INFO: TCP Data received {"connection_id":194550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:29:32] local.INFO: Processing buffer {"connection_id":194550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:29:32] local.INFO: Packet analysis {"connection_id":194550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:29:32] local.INFO: Extracted packet for processing {"connection_id":194550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:29:32] 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-25 02:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":194550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:29:32] local.INFO: GPS data processed {"connection_id":194550,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:29:32] local.INFO: Acknowledgment sent {"connection_id":194550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:30:04] local.INFO: TCP Data received {"connection_id":194550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:04] local.INFO: Processing buffer {"connection_id":194550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:04] local.INFO: Packet analysis {"connection_id":194550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:30:04] local.INFO: Extracted packet for processing {"connection_id":194550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":194550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:30:04] local.INFO: GPS data processed {"connection_id":194550,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:30:04] local.INFO: Acknowledgment sent {"connection_id":194550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:30:27] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:27] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:27] local.INFO: IMEI packet received {"connection_id":193259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":193259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:30:32] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:32] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:30:32] local.INFO: IMEI packet received {"connection_id":193259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":193259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:30:34] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:34] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:30:34] local.INFO: Packet analysis {"connection_id":193259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:30:34] local.INFO: Extracted packet for processing {"connection_id":193259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:30: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-25 02: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-25 02: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-25 02:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":193259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:30:34] local.INFO: GPS data processed {"connection_id":193259,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:30:34] local.INFO: Acknowledgment sent {"connection_id":193259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:31:05] local.INFO: TCP Data received {"connection_id":193259,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:05] local.INFO: Processing buffer {"connection_id":193259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:05] local.INFO: Packet analysis {"connection_id":193259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:31:05] local.INFO: Extracted packet for processing {"connection_id":193259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:31: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-25 02: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-25 02: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-25 02:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":193259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:31:05] local.INFO: GPS data processed {"connection_id":193259,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:31:05] local.INFO: Acknowledgment sent {"connection_id":193259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:31:26] local.INFO: TCP Data received {"connection_id":194551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:26] local.INFO: Processing buffer {"connection_id":194551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:26] local.INFO: IMEI packet received {"connection_id":194551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":194551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:31:32] local.INFO: TCP Data received {"connection_id":194551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:32] local.INFO: Processing buffer {"connection_id":194551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:31:32] local.INFO: IMEI packet received {"connection_id":194551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":194551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:31:35] local.INFO: TCP Data received {"connection_id":194551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:35] local.INFO: Processing buffer {"connection_id":194551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:31:35] local.INFO: Packet analysis {"connection_id":194551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:31:35] local.INFO: Extracted packet for processing {"connection_id":194551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:31: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-25 02:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":194551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:31:35] local.INFO: GPS data processed {"connection_id":194551,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:31:35] local.INFO: Acknowledgment sent {"connection_id":194551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:32:07] local.INFO: TCP Data received {"connection_id":194551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:07] local.INFO: Processing buffer {"connection_id":194551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:07] local.INFO: Packet analysis {"connection_id":194551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:32:07] local.INFO: Extracted packet for processing {"connection_id":194551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 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-25 02:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 02:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 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-25 02:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 02:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:32: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-25 02:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 02:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":194551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:32:07] local.INFO: GPS data processed {"connection_id":194551,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:32:07] local.INFO: Acknowledgment sent {"connection_id":194551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:32:26] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:26] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:26] local.INFO: IMEI packet received {"connection_id":193260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":193260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:32:32] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:32] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:32:32] local.INFO: IMEI packet received {"connection_id":193260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":193260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:32:33] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:33] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:32:33] local.INFO: Packet analysis {"connection_id":193260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:32:33] local.INFO: Extracted packet for processing {"connection_id":193260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:32: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-25 02: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-25 02: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-25 02:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:32: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-25 02:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":193260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:32:33] local.INFO: GPS data processed {"connection_id":193260,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:32:33] local.INFO: Acknowledgment sent {"connection_id":193260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:32:45] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:32:45] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:32:45] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:33:05] local.INFO: TCP Data received {"connection_id":193260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:05] local.INFO: Processing buffer {"connection_id":193260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:05] local.INFO: Packet analysis {"connection_id":193260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:33:05] local.INFO: Extracted packet for processing {"connection_id":193260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:33: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-25 02: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-25 02: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-25 02:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33: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-25 02:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":193260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:33:05] local.INFO: GPS data processed {"connection_id":193260,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:33:05] local.INFO: Acknowledgment sent {"connection_id":193260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:33:05] local.INFO: TCP Data received {"connection_id":194552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:05] local.INFO: Processing buffer {"connection_id":194552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:05] local.INFO: IMEI packet received {"connection_id":194552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":194552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:33:11] local.INFO: TCP Data received {"connection_id":194552,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:11] local.INFO: Processing buffer {"connection_id":194552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:33:11] local.INFO: IMEI packet received {"connection_id":194552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 02:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":194552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:33:13] local.INFO: TCP Data received {"connection_id":194552,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d537ebd8012d34284006abbd00000700d730..."} 
[2026-09-25 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d537ebd8012d34284006abbd00000700d730..."} 
[2026-09-25 02:33:13] local.INFO: Processing buffer {"connection_id":194552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d537ebd8012d34284006abbd00000700d730..."} 
[2026-09-25 02:33:13] local.INFO: Packet analysis {"connection_id":194552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d537"} 
[2026-09-25 02:33:13] local.INFO: Extracted packet for processing {"connection_id":194552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d537"} 
[2026-09-25 02:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758392896,"raw_latitude":111918336,"longitude_deg":75.8392896,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342840","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312598016001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758324286435950592,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790283607000,"timestamp_ms":1790283607000,"timestamp_seconds":1790283607,"priority":1,"record_length":96,"hex_timestamp":"000001a0d537ebd8"} 
[2026-09-25 02: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-25 02: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":194552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":194552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":194552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 02:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 02:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 02:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312598016001,"66":28430,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758324286435950592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 02:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 02:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 02:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312598016001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:33:13] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 02:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758324286435950592,"description":"Unknown IO ID 45"} 
[2026-09-25 02:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312598016001,"power":28430,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758324286435950592}} 
[2026-09-25 02:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":194552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:33:13] local.INFO: GPS data processed {"connection_id":194552,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:33:13] local.INFO: Acknowledgment sent {"connection_id":194552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:33:32] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:32] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:32] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:33:37] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:37] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:33:37] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:33:39] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:39] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:39] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:33:39] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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-25 02: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-25 02:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:33: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-25 02: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-25 02: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-25 02:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33: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-25 02:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:33:39] 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":893380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:33:39] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:33:39] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:33:43] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:43] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5365d68012d34c14006aa4940000900f530..."} 
[2026-09-25 02:33:43] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02:33:43] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d536"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312500224001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790283505000,"timestamp_ms":1790283505000,"timestamp_seconds":1790283505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5365d68"} 
[2026-09-25 02: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-25 02:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:33: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-25 02:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312500224001,"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-25 02:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312500224001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312500224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:33:43] 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":893381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:33:43] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:33:43] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:34:00] local.INFO: TCP Data received {"connection_id":194553,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:34:00] local.INFO: Processing buffer {"connection_id":194553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:34:00] local.INFO: IMEI packet received {"connection_id":194553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":194553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:34:27] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:27] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:27] local.INFO: IMEI packet received {"connection_id":191875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":191875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:34:32] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:32] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:34:32] local.INFO: IMEI packet received {"connection_id":191875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:34:33] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:34:33] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:34:33] local.INFO: Packet analysis {"connection_id":191875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:34:33] local.INFO: Extracted packet for processing {"connection_id":191875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:34: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-25 02: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-25 02: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-25 02:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:34: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-25 02:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:34:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:34:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":191875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:34:33] local.INFO: GPS data processed {"connection_id":191875,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:34:33] local.INFO: Acknowledgment sent {"connection_id":191875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:35:05] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:05] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:05] local.INFO: Packet analysis {"connection_id":191875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:35:05] local.INFO: Extracted packet for processing {"connection_id":191875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:35: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-25 02: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-25 02: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-25 02:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:35: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-25 02:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:35:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":191875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:35:05] local.INFO: GPS data processed {"connection_id":191875,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:35:05] local.INFO: Acknowledgment sent {"connection_id":191875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:35:26] local.INFO: TCP Data received {"connection_id":193261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:26] local.INFO: Processing buffer {"connection_id":193261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:26] local.INFO: IMEI packet received {"connection_id":193261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":193261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:35:32] local.INFO: TCP Data received {"connection_id":193261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:32] local.INFO: Processing buffer {"connection_id":193261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:35:32] local.INFO: IMEI packet received {"connection_id":193261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:35:33] local.INFO: TCP Data received {"connection_id":193261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:33] local.INFO: Processing buffer {"connection_id":193261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:35:33] local.INFO: Packet analysis {"connection_id":193261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:35:33] local.INFO: Extracted packet for processing {"connection_id":193261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:35: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-25 02: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-25 02: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-25 02:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:35: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-25 02:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:35:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:35:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":193261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:35:33] local.INFO: GPS data processed {"connection_id":193261,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:35:33] local.INFO: Acknowledgment sent {"connection_id":193261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:36:04] local.INFO: TCP Data received {"connection_id":193261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:04] local.INFO: Processing buffer {"connection_id":193261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:04] local.INFO: Packet analysis {"connection_id":193261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:36:04] local.INFO: Extracted packet for processing {"connection_id":193261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:36: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-25 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:36: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-25 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:36: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-25 02:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:36: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-25 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:36: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-25 02:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":193261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:36:04] local.INFO: GPS data processed {"connection_id":193261,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:36:04] local.INFO: Acknowledgment sent {"connection_id":193261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:36:26] local.INFO: TCP Data received {"connection_id":194555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:26] local.INFO: Processing buffer {"connection_id":194555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:26] local.INFO: IMEI packet received {"connection_id":194555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":194555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:36:32] local.INFO: TCP Data received {"connection_id":194555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:32] local.INFO: Processing buffer {"connection_id":194555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:36:32] local.INFO: IMEI packet received {"connection_id":194555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":194555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:36:33] local.INFO: TCP Data received {"connection_id":194555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:33] local.INFO: Processing buffer {"connection_id":194555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:36:33] local.INFO: Packet analysis {"connection_id":194555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:36:33] local.INFO: Extracted packet for processing {"connection_id":194555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:36: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-25 02:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":194555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:36:33] local.INFO: GPS data processed {"connection_id":194555,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:36:33] local.INFO: Acknowledgment sent {"connection_id":194555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:37:04] local.INFO: TCP Data received {"connection_id":194555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:04] local.INFO: Processing buffer {"connection_id":194555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:04] local.INFO: Packet analysis {"connection_id":194555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:37:04] local.INFO: Extracted packet for processing {"connection_id":194555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:37: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-25 02:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:37: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-25 02:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:37: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-25 02:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:37: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-25 02:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:37: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-25 02:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":194555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:37:04] local.INFO: GPS data processed {"connection_id":194555,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:37:04] local.INFO: Acknowledgment sent {"connection_id":194555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:37:26] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:26] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:26] local.INFO: IMEI packet received {"connection_id":191877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":191877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:37:32] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:32] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:37:32] local.INFO: IMEI packet received {"connection_id":191877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":191877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:37:33] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:33] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:37:33] local.INFO: Packet analysis {"connection_id":191877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:37:33] local.INFO: Extracted packet for processing {"connection_id":191877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:37: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-25 02:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":191877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:37:33] local.INFO: GPS data processed {"connection_id":191877,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:37:33] local.INFO: Acknowledgment sent {"connection_id":191877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:38:05] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:05] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:05] local.INFO: Packet analysis {"connection_id":191877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:38:05] local.INFO: Extracted packet for processing {"connection_id":191877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02: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-25 02:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38: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-25 02:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":191877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:38:05] local.INFO: GPS data processed {"connection_id":191877,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:38:05] local.INFO: Acknowledgment sent {"connection_id":191877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:38:32] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:32] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:32] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:38:37] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:37] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:38:37] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:38:38] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:38] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:38] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:38:38] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38: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-25 02:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:38:38] 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":893390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:38:38] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:38:38] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:38:42] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:42] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53af530012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:38:42] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:38:42] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 02:38: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790283806000,"timestamp_ms":1790283806000,"timestamp_seconds":1790283806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53af530"} 
[2026-09-25 02:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:38: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-25 02:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312577280001,"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-25 02:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:38: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-25 02:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312577280001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:38:42] 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":893391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:38:42] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:38:42] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:39:21] local.INFO: TCP Data received {"connection_id":191878,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:39:21] local.INFO: Processing buffer {"connection_id":191878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:39:21] local.INFO: IMEI packet received {"connection_id":191878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":191878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:39:27] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:27] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:27] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:39:32] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:32] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:39:32] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:39:32] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:39:32] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:39:32] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:39:32] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:39: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-25 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:39:33] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:39:33] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:40:04] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:04] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:04] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:40:04] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:40: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-25 02:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:40: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-25 02:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:40: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-25 02:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:40: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-25 02:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:40: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-25 02:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:40:04] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:40:04] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:40:05] local.INFO: TCP Data received {"connection_id":191700,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:40:05] local.INFO: Processing buffer {"connection_id":191700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:40:05] local.INFO: IMEI packet received {"connection_id":191700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":191700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:40:26] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:26] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:26] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:40:32] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:32] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:40:32] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:40:33] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:33] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:40:33] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:40:33] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02: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-25 02: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-25 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:40: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-25 02: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-25 02: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-25 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:40: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-25 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:40:33] 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":893394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:40:33] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:40:33] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:41:05] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:05] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:05] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:41:05] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02: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-25 02: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-25 02:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:41: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-25 02: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-25 02: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-25 02:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:41: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-25 02:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:41: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":893395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:41:05] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:41:05] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:41:26] local.INFO: TCP Data received {"connection_id":194557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:26] local.INFO: Processing buffer {"connection_id":194557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:26] local.INFO: IMEI packet received {"connection_id":194557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":194557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:41:32] local.INFO: TCP Data received {"connection_id":194557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:32] local.INFO: Processing buffer {"connection_id":194557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:41:32] local.INFO: IMEI packet received {"connection_id":194557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":194557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:41:33] local.INFO: TCP Data received {"connection_id":194557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:33] local.INFO: Processing buffer {"connection_id":194557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:41:33] local.INFO: Packet analysis {"connection_id":194557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:41:33] local.INFO: Extracted packet for processing {"connection_id":194557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02: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-25 02: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-25 02:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:41: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-25 02: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-25 02: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-25 02:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:41: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-25 02:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":194557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:41:33] local.INFO: GPS data processed {"connection_id":194557,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:41:33] local.INFO: Acknowledgment sent {"connection_id":194557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:42:04] local.INFO: TCP Data received {"connection_id":194557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:04] local.INFO: Processing buffer {"connection_id":194557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:04] local.INFO: Packet analysis {"connection_id":194557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:42:04] local.INFO: Extracted packet for processing {"connection_id":194557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:42: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-25 02:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:42: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-25 02:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:42: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-25 02:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:42: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-25 02:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":194557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:42:04] local.INFO: GPS data processed {"connection_id":194557,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:42:04] local.INFO: Acknowledgment sent {"connection_id":194557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:42:26] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:26] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:26] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:42:32] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:32] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:42:32] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:42:34] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:34] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:42:34] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:42:34] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02: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-25 02: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-25 02:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02: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-25 02: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-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:42: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-25 02: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-25 02: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-25 02:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:42: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-25 02:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:42:34] 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":893398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:42:34] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:42:34] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:43:05] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:05] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:05] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:43:05] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02: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-25 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:43: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-25 02:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43: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-25 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:43:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:43:05] 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":893399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:43:05] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:43:05] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:43:32] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:32] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:32] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:43:37] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:37] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:43:37] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:43:38] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:38] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:38] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:43:38] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:43: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-25 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:43: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-25 02:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:43:38] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:43:38] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:43:42] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:42] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53f8910012d34c14006aa4940000900f52d..."} 
[2026-09-25 02:43:42] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:43:42] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53f"} 
[2026-09-25 02:43: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312654336001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790284106000,"timestamp_ms":1790284106000,"timestamp_seconds":1790284106,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53f8910"} 
[2026-09-25 02: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-25 02:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 02:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312654336001,"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-25 02:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312654336001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:43: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-25 02:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312654336001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:43:42] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:43:42] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:44:27] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:27] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:27] local.INFO: IMEI packet received {"connection_id":193263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":193263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:44:32] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:32] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:44:32] local.INFO: IMEI packet received {"connection_id":193263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":193263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:44:32] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:44:32] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:44:32] local.INFO: Packet analysis {"connection_id":193263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:44:32] local.INFO: Extracted packet for processing {"connection_id":193263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:44:32] 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-25 02:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:44: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-25 02:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":193263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:44:32] local.INFO: GPS data processed {"connection_id":193263,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:44:32] local.INFO: Acknowledgment sent {"connection_id":193263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:45:04] local.INFO: TCP Data received {"connection_id":193263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:04] local.INFO: Processing buffer {"connection_id":193263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:04] local.INFO: Packet analysis {"connection_id":193263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:45:04] local.INFO: Extracted packet for processing {"connection_id":193263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:45: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-25 02: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-25 02: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-25 02:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":193263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:45:04] local.INFO: GPS data processed {"connection_id":193263,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:45:04] local.INFO: Acknowledgment sent {"connection_id":193263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:45:26] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:26] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:26] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:45:31] local.INFO: TCP Data received {"connection_id":193264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:45:31] local.INFO: Processing buffer {"connection_id":193264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:45:31] local.INFO: IMEI packet received {"connection_id":193264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":193264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:45:31] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:31] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:45:31] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:45:32] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:32] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:45:32] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:45:32] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:45:32] 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-25 02:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:45: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-25 02:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 02:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 02:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:45:32] 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":893404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:45:32] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:45:32] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:46:04] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:04] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:04] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:46:04] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:46: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-25 02: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-25 02: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-25 02:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:46:04] 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":893405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:46:04] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:46:04] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:46:10] local.INFO: TCP Data received {"connection_id":193265,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:46:10] local.INFO: Processing buffer {"connection_id":193265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:46:10] local.INFO: IMEI packet received {"connection_id":193265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":193265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:46:26] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:26] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:26] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:46:32] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:32] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:46:32] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:46:33] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:33] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:46:33] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:46:33] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02: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-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:46: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-25 02: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-25 02: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-25 02:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:46: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-25 02:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:46:33] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:46:33] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:47:05] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:05] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:05] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:47:05] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47: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-25 02:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:47:05] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:47:05] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:47:32] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:32] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:32] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:47:37] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:37] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:47:37] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:47:38] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:38] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:38] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:47:38] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:47: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-25 02:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47: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-25 02:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:47:38] 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":893408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:47:38] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:47:38] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:47:43] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:43] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:47:43] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:47:43] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:47: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-25 02: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-25 02: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-25 02:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:47: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-25 02:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:47:43] 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":893409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:47:43] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:47:43] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:48:27] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:27] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:27] local.INFO: IMEI packet received {"connection_id":191707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":191707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:48:32] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:32] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:48:32] local.INFO: IMEI packet received {"connection_id":191707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":191707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:48:33] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:48:33] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:48:33] local.INFO: Packet analysis {"connection_id":191707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:48:33] local.INFO: Extracted packet for processing {"connection_id":191707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:48: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-25 02:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:48:33] 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":893410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:48:33] local.INFO: GPS data processed {"connection_id":191707,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:48:33] local.INFO: Acknowledgment sent {"connection_id":191707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:49:06] local.INFO: TCP Data received {"connection_id":191707,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:49:06] local.INFO: Processing buffer {"connection_id":191707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54420d8012d34c14006aa4940000900f530..."} 
[2026-09-25 02:49:06] local.INFO: Packet analysis {"connection_id":191707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02:49:06] local.INFO: Extracted packet for processing {"connection_id":191707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d544"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312731136001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790284407000,"timestamp_ms":1790284407000,"timestamp_seconds":1790284407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54420d8"} 
[2026-09-25 02: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-25 02:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 02:49: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-25 02: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-25 02: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-25 02:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:49: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-25 02:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312731136001,"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-25 02:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312731136001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312731136001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:49:06] 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":893411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:49:06] local.INFO: GPS data processed {"connection_id":191707,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:49:06] local.INFO: Acknowledgment sent {"connection_id":191707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:49:26] local.INFO: TCP Data received {"connection_id":194560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:26] local.INFO: Processing buffer {"connection_id":194560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:26] local.INFO: IMEI packet received {"connection_id":194560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":194560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:49:32] local.INFO: TCP Data received {"connection_id":194560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:32] local.INFO: Processing buffer {"connection_id":194560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:49:32] local.INFO: IMEI packet received {"connection_id":194560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":194560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:49:33] local.INFO: TCP Data received {"connection_id":194560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:49:33] local.INFO: Processing buffer {"connection_id":194560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:49:33] local.INFO: Packet analysis {"connection_id":194560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:49:33] local.INFO: Extracted packet for processing {"connection_id":194560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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-25 02: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-25 02:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:49: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-25 02: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-25 02: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-25 02:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:49: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-25 02:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":194560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:49:33] local.INFO: GPS data processed {"connection_id":194560,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:49:33] local.INFO: Acknowledgment sent {"connection_id":194560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:50:04] local.INFO: TCP Data received {"connection_id":194560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:04] local.INFO: Processing buffer {"connection_id":194560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:04] local.INFO: Packet analysis {"connection_id":194560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:50:04] local.INFO: Extracted packet for processing {"connection_id":194560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:50: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-25 02:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:50: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-25 02:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:50: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-25 02:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":194560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:50:04] local.INFO: GPS data processed {"connection_id":194560,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:50:04] local.INFO: Acknowledgment sent {"connection_id":194560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:50:26] local.INFO: TCP Data received {"connection_id":191886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:26] local.INFO: Processing buffer {"connection_id":191886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:26] local.INFO: IMEI packet received {"connection_id":191886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":191886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:50:32] local.INFO: TCP Data received {"connection_id":191886,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:32] local.INFO: Processing buffer {"connection_id":191886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:50:32] local.INFO: IMEI packet received {"connection_id":191886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":191886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:50:33] local.INFO: TCP Data received {"connection_id":191886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:33] local.INFO: Processing buffer {"connection_id":191886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:50:33] local.INFO: Packet analysis {"connection_id":191886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:50:33] local.INFO: Extracted packet for processing {"connection_id":191886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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-25 02: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-25 02:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:50: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-25 02: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-25 02: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-25 02:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:50:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:50:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":191886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:50:33] local.INFO: GPS data processed {"connection_id":191886,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:50:33] local.INFO: Acknowledgment sent {"connection_id":191886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:51:05] local.INFO: TCP Data received {"connection_id":191886,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:05] local.INFO: Processing buffer {"connection_id":191886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:05] local.INFO: Packet analysis {"connection_id":191886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:51:05] local.INFO: Extracted packet for processing {"connection_id":191886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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-25 02: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-25 02:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:51: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-25 02: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-25 02: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-25 02:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":191886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:51:05] local.INFO: GPS data processed {"connection_id":191886,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:51:05] local.INFO: Acknowledgment sent {"connection_id":191886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:51:25] local.INFO: TCP Data received {"connection_id":194561,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:51:25] local.INFO: Processing buffer {"connection_id":194561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:51:25] local.INFO: IMEI packet received {"connection_id":194561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":194561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:51:32] local.INFO: TCP Data received {"connection_id":194562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:32] local.INFO: Processing buffer {"connection_id":194562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:32] local.INFO: IMEI packet received {"connection_id":194562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":194562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:51:37] local.INFO: TCP Data received {"connection_id":194562,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:37] local.INFO: Processing buffer {"connection_id":194562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:51:37] local.INFO: IMEI packet received {"connection_id":194562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":194562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:51:38] local.INFO: TCP Data received {"connection_id":194562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:38] local.INFO: Processing buffer {"connection_id":194562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:38] local.INFO: Packet analysis {"connection_id":194562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:51:38] local.INFO: Extracted packet for processing {"connection_id":194562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:51: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:51: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-25 02:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:51: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-25 02:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:51: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-25 02:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":194562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:51:38] local.INFO: GPS data processed {"connection_id":194562,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:51:38] local.INFO: Acknowledgment sent {"connection_id":194562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:51:43] local.INFO: TCP Data received {"connection_id":194562,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:43] local.INFO: Processing buffer {"connection_id":194562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:51:43] local.INFO: Packet analysis {"connection_id":194562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:51:43] local.INFO: Extracted packet for processing {"connection_id":194562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:51: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-25 02:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 02:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:51: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-25 02:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:51: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-25 02:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:51: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-25 02:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":194562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:51:43] local.INFO: GPS data processed {"connection_id":194562,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:51:43] local.INFO: Acknowledgment sent {"connection_id":194562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:52:05] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:52:05] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:52:05] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:52:27] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:27] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:27] local.INFO: IMEI packet received {"connection_id":191708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":191708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:52:32] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:32] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:52:32] local.INFO: IMEI packet received {"connection_id":191708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":191708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:52:34] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:52:34] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:52:34] local.INFO: Packet analysis {"connection_id":191708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:52:34] local.INFO: Extracted packet for processing {"connection_id":191708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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-25 02: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-25 02:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:52: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-25 02: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-25 02: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-25 02:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:52:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:52:34] local.INFO: GPS data processed {"connection_id":191708,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:52:34] local.INFO: Acknowledgment sent {"connection_id":191708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:53:05] local.INFO: TCP Data received {"connection_id":191708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:05] local.INFO: Processing buffer {"connection_id":191708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:05] local.INFO: Packet analysis {"connection_id":191708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:53:05] local.INFO: Extracted packet for processing {"connection_id":191708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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-25 02: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-25 02:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:53: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-25 02: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-25 02: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-25 02:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02: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-25 02:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:53:05] local.INFO: GPS data processed {"connection_id":191708,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:53:05] local.INFO: Acknowledgment sent {"connection_id":191708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:53:26] local.INFO: TCP Data received {"connection_id":194563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:26] local.INFO: Processing buffer {"connection_id":194563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:26] local.INFO: IMEI packet received {"connection_id":194563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":194563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:53:32] local.INFO: TCP Data received {"connection_id":194563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:32] local.INFO: Processing buffer {"connection_id":194563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:53:32] local.INFO: IMEI packet received {"connection_id":194563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":194563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:53:33] local.INFO: TCP Data received {"connection_id":194563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:33] local.INFO: Processing buffer {"connection_id":194563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:53:33] local.INFO: Packet analysis {"connection_id":194563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:53:33] local.INFO: Extracted packet for processing {"connection_id":194563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02:53: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:53: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-25 02: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-25 02: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-25 02:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:53: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-25 02:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:53:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":194563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:53:33] local.INFO: GPS data processed {"connection_id":194563,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:53:33] local.INFO: Acknowledgment sent {"connection_id":194563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:54:04] local.INFO: TCP Data received {"connection_id":194563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:04] local.INFO: Processing buffer {"connection_id":194563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d548bc88012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:04] local.INFO: Packet analysis {"connection_id":194563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02:54:04] local.INFO: Extracted packet for processing {"connection_id":194563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d548"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790284709000,"timestamp_ms":1790284709000,"timestamp_seconds":1790284709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d548bc88"} 
[2026-09-25 02: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-25 02:54: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-25 02: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 02:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 02: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-25 02: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-25 02:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312808192001,"66":25462,"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-25 02:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:54:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312808192001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":194563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:54:04] local.INFO: GPS data processed {"connection_id":194563,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:54:04] local.INFO: Acknowledgment sent {"connection_id":194563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:54:26] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:26] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:26] local.INFO: IMEI packet received {"connection_id":191888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":191888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:54:32] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:32] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:54:32] local.INFO: IMEI packet received {"connection_id":191888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:54:33] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:33] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:54:33] local.INFO: Packet analysis {"connection_id":191888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:54:33] local.INFO: Extracted packet for processing {"connection_id":191888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:54: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-25 02:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:54:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":191888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:54:33] local.INFO: GPS data processed {"connection_id":191888,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:54:33] local.INFO: Acknowledgment sent {"connection_id":191888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:55:04] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:04] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:04] local.INFO: Packet analysis {"connection_id":191888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:55:04] local.INFO: Extracted packet for processing {"connection_id":191888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:55: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-25 02:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 02:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02:55: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-25 02:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 02:55: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-25 02:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 02:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 02:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02:55: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-25 02:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":191888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:55:04] local.INFO: GPS data processed {"connection_id":191888,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:55:04] local.INFO: Acknowledgment sent {"connection_id":191888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:55:26] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:26] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:26] local.INFO: IMEI packet received {"connection_id":191889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":191889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:55:32] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:32] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:55:32] local.INFO: IMEI packet received {"connection_id":191889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":191889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:55:33] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:33] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:55:33] local.INFO: Packet analysis {"connection_id":191889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:55:33] local.INFO: Extracted packet for processing {"connection_id":191889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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-25 02: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-25 02:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:55: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-25 02:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:55:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:55:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":191889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:55:33] local.INFO: GPS data processed {"connection_id":191889,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:55:33] local.INFO: Acknowledgment sent {"connection_id":191889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:56:04] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:04] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:04] local.INFO: Packet analysis {"connection_id":191889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:56:04] local.INFO: Extracted packet for processing {"connection_id":191889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":191889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:56:04] local.INFO: GPS data processed {"connection_id":191889,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:56:04] local.INFO: Acknowledgment sent {"connection_id":191889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:56:26] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:26] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:26] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:56:32] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:32] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:56:32] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:56:33] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:33] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:56:33] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:56:33] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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-25 02: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-25 02:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:56: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-25 02:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:56:33] 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":893426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:56:33] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:56:33] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:57:05] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:05] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:05] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:57:05] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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-25 02: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-25 02:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:57: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-25 02:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:57:05] 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":893427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:57:05] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:57:05] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:57:20] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:57:20] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:57:20] local.INFO: IMEI packet received {"connection_id":191890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":191890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:57:27] local.INFO: TCP Data received {"connection_id":194565,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:27] local.INFO: Processing buffer {"connection_id":194565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:27] local.INFO: IMEI packet received {"connection_id":194565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":194565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:57:32] local.INFO: TCP Data received {"connection_id":194565,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:32] local.INFO: Processing buffer {"connection_id":194565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:57:32] local.INFO: IMEI packet received {"connection_id":194565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":194565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:57:33] local.INFO: TCP Data received {"connection_id":194565,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:33] local.INFO: Processing buffer {"connection_id":194565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:57:33] local.INFO: Packet analysis {"connection_id":194565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:57:33] local.INFO: Extracted packet for processing {"connection_id":194565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:57: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-25 02:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:57:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:57:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":194565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:57:33] local.INFO: GPS data processed {"connection_id":194565,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:57:33] local.INFO: Acknowledgment sent {"connection_id":194565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:58:04] local.INFO: TCP Data received {"connection_id":194565,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:04] local.INFO: Processing buffer {"connection_id":194565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:04] local.INFO: Packet analysis {"connection_id":194565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:58:04] local.INFO: Extracted packet for processing {"connection_id":194565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 02:58: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-25 02: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-25 02: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-25 02:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 02:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":194565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:58:04] local.INFO: GPS data processed {"connection_id":194565,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:58:04] local.INFO: Acknowledgment sent {"connection_id":194565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:58:05] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:58:05] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 02:58:05] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:58:27] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:27] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:27] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:58:32] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:32] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:58:32] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:58:33] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:33] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:58:33] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:58:33] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 02:58: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-25 02: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-25 02: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-25 02:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:58: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-25 02:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:58:33] 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":893430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:58:33] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:58:33] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:59:05] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:59:05] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d54d5450012d34c14006aa4940000900f52f..."} 
[2026-09-25 02:59:05] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02:59:05] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d54d"} 
[2026-09-25 02: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312885504001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790285010000,"timestamp_ms":1790285010000,"timestamp_seconds":1790285010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d54d5450"} 
[2026-09-25 02: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-25 02:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 02: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 02:59: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-25 02: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-25 02: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-25 02:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:59: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-25 02:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312885504001,"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-25 02:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312885504001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312885504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:59: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":893431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:59:05] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:59:05] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 02:59:26] local.INFO: TCP Data received {"connection_id":194566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:26] local.INFO: Processing buffer {"connection_id":194566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:26] local.INFO: IMEI packet received {"connection_id":194566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 02:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":194566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 02:59:32] local.INFO: TCP Data received {"connection_id":194566,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:32] local.INFO: Processing buffer {"connection_id":194566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 02:59:32] local.INFO: IMEI packet received {"connection_id":194566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 02:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":194566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 02:59:33] local.INFO: TCP Data received {"connection_id":194566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 02:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 02:59:33] local.INFO: Processing buffer {"connection_id":194566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 02:59:33] local.INFO: Packet analysis {"connection_id":194566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 02:59:33] local.INFO: Extracted packet for processing {"connection_id":194566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 02: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-25 02:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 02:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 02:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 02: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-25 02:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02: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-25 02:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 02:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 02:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 02:59: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-25 02:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 02:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 02:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 02:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 02:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 02:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 02:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 02:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 02: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-25 02:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 02:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 02:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":194566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 02:59:33] local.INFO: GPS data processed {"connection_id":194566,"processed":1,"errors":0,"total":1} 
[2026-09-25 02:59:33] local.INFO: Acknowledgment sent {"connection_id":194566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:00:04] local.INFO: TCP Data received {"connection_id":194566,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:04] local.INFO: Processing buffer {"connection_id":194566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:04] local.INFO: Packet analysis {"connection_id":194566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:00:04] local.INFO: Extracted packet for processing {"connection_id":194566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:00: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-25 03:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:00: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-25 03:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:00: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-25 03:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:00: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-25 03:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":194566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:00:04] local.INFO: GPS data processed {"connection_id":194566,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:00:04] local.INFO: Acknowledgment sent {"connection_id":194566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:00:26] local.INFO: TCP Data received {"connection_id":193268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:26] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:26] local.INFO: IMEI packet received {"connection_id":193268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":193268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:00:32] local.INFO: TCP Data received {"connection_id":193268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:32] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:00:32] local.INFO: IMEI packet received {"connection_id":193268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":193268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:00:33] local.INFO: TCP Data received {"connection_id":193268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:33] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:00:33] local.INFO: Packet analysis {"connection_id":193268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:00:33] local.INFO: Extracted packet for processing {"connection_id":193268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:00: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-25 03: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-25 03: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-25 03:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:00: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-25 03:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":193268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:00:33] local.INFO: GPS data processed {"connection_id":193268,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:00:33] local.INFO: Acknowledgment sent {"connection_id":193268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:01:04] local.INFO: TCP Data received {"connection_id":193268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:04] local.INFO: Processing buffer {"connection_id":193268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:04] local.INFO: Packet analysis {"connection_id":193268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:01:04] local.INFO: Extracted packet for processing {"connection_id":193268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03:01: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-25 03:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":193268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:01:04] local.INFO: GPS data processed {"connection_id":193268,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:01:04] local.INFO: Acknowledgment sent {"connection_id":193268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:01:26] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:26] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:26] local.INFO: IMEI packet received {"connection_id":191894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":191894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:01:32] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:32] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:01:32] local.INFO: IMEI packet received {"connection_id":191894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":191894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:01:33] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:33] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:01:33] local.INFO: Packet analysis {"connection_id":191894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:01:33] local.INFO: Extracted packet for processing {"connection_id":191894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:01: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-25 03: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-25 03: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-25 03:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:01: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-25 03:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:01:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":191894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:01:33] local.INFO: GPS data processed {"connection_id":191894,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:01:33] local.INFO: Acknowledgment sent {"connection_id":191894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:02:05] local.INFO: TCP Data received {"connection_id":191894,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:05] local.INFO: Processing buffer {"connection_id":191894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:05] local.INFO: Packet analysis {"connection_id":191894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:02:05] local.INFO: Extracted packet for processing {"connection_id":191894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02: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-25 03:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:02:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":191894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:02:06] local.INFO: GPS data processed {"connection_id":191894,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:02:06] local.INFO: Acknowledgment sent {"connection_id":191894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:02:32] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:32] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:32] local.INFO: IMEI packet received {"connection_id":193270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":193270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:02:37] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:37] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:02:37] local.INFO: IMEI packet received {"connection_id":193270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":193270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:02:38] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:38] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:38] local.INFO: Packet analysis {"connection_id":193270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:02:38] local.INFO: Extracted packet for processing {"connection_id":193270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:02: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-25 03: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-25 03: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-25 03:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":193270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:02:38] local.INFO: GPS data processed {"connection_id":193270,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:02:38] local.INFO: Acknowledgment sent {"connection_id":193270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:02:42] local.INFO: TCP Data received {"connection_id":193270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:42] local.INFO: Processing buffer {"connection_id":193270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:02:42] local.INFO: Packet analysis {"connection_id":193270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:02:42] local.INFO: Extracted packet for processing {"connection_id":193270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:02: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:02: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-25 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:02: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-25 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":193270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:02:42] local.INFO: GPS data processed {"connection_id":193270,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:02:42] local.INFO: Acknowledgment sent {"connection_id":193270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:03:27] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:27] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:27] local.INFO: IMEI packet received {"connection_id":191895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":191895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:03:30] local.INFO: TCP Data received {"connection_id":193271,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:03:30] local.INFO: Processing buffer {"connection_id":193271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:03:30] local.INFO: IMEI packet received {"connection_id":193271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":193271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:03:32] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:32] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:03:32] local.INFO: IMEI packet received {"connection_id":191895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":191895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:03:32] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:03:32] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:03:32] local.INFO: Packet analysis {"connection_id":191895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:03:32] local.INFO: Extracted packet for processing {"connection_id":191895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:03:32] 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-25 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:03: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-25 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":191895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:03:32] local.INFO: GPS data processed {"connection_id":191895,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:03:32] local.INFO: Acknowledgment sent {"connection_id":191895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:04:04] local.INFO: TCP Data received {"connection_id":191895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:04:04] local.INFO: Processing buffer {"connection_id":191895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d551ec18012d34c14006aa4940000900f530..."} 
[2026-09-25 03:04:04] local.INFO: Packet analysis {"connection_id":191895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03:04:04] local.INFO: Extracted packet for processing {"connection_id":191895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d551"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312962560001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285311000,"timestamp_ms":1790285311000,"timestamp_seconds":1790285311,"priority":1,"record_length":96,"hex_timestamp":"000001a0d551ec18"} 
[2026-09-25 03: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-25 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:04: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-25 03:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312962560001,"66":25462,"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-25 03:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312962560001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312962560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":191895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:04:04] local.INFO: GPS data processed {"connection_id":191895,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:04:04] local.INFO: Acknowledgment sent {"connection_id":191895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:04:10] local.INFO: TCP Data received {"connection_id":194567,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:04:10] local.INFO: Processing buffer {"connection_id":194567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:04:10] local.INFO: IMEI packet received {"connection_id":194567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":194567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:04:26] local.INFO: TCP Data received {"connection_id":194568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:26] local.INFO: Processing buffer {"connection_id":194568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:26] local.INFO: IMEI packet received {"connection_id":194568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":194568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:04:32] local.INFO: TCP Data received {"connection_id":194568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:32] local.INFO: Processing buffer {"connection_id":194568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:04:32] local.INFO: IMEI packet received {"connection_id":194568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":194568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:04:33] local.INFO: TCP Data received {"connection_id":194568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:04:33] local.INFO: Processing buffer {"connection_id":194568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:04:33] local.INFO: Packet analysis {"connection_id":194568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:04:33] local.INFO: Extracted packet for processing {"connection_id":194568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03: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-25 03: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:04: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-25 03: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-25 03: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-25 03:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:04: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-25 03:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":194568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:04:33] local.INFO: GPS data processed {"connection_id":194568,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:04:33] local.INFO: Acknowledgment sent {"connection_id":194568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:05:04] local.INFO: TCP Data received {"connection_id":194568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:04] local.INFO: Processing buffer {"connection_id":194568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:04] local.INFO: Packet analysis {"connection_id":194568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:05:04] local.INFO: Extracted packet for processing {"connection_id":194568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:05: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-25 03:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":194568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:05:04] local.INFO: GPS data processed {"connection_id":194568,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:05:04] local.INFO: Acknowledgment sent {"connection_id":194568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:05:26] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:26] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:26] local.INFO: IMEI packet received {"connection_id":191714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":191714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:05:32] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:32] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:05:32] local.INFO: IMEI packet received {"connection_id":191714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":191714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:05:33] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:33] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:05:33] local.INFO: Packet analysis {"connection_id":191714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:05:33] local.INFO: Extracted packet for processing {"connection_id":191714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03: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-25 03: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:05: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-25 03: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-25 03: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-25 03:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:05: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-25 03:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:05:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":191714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:05:33] local.INFO: GPS data processed {"connection_id":191714,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:05:33] local.INFO: Acknowledgment sent {"connection_id":191714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:06:04] local.INFO: TCP Data received {"connection_id":191714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:04] local.INFO: Processing buffer {"connection_id":191714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:04] local.INFO: Packet analysis {"connection_id":191714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:06:04] local.INFO: Extracted packet for processing {"connection_id":191714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03: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-25 03:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:06: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-25 03:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":191714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:06:04] local.INFO: GPS data processed {"connection_id":191714,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:06:04] local.INFO: Acknowledgment sent {"connection_id":191714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:06:26] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:26] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:26] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:06:32] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:32] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:06:32] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:06:33] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:33] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:06:33] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:06:33] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03: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-25 03: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:06: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-25 03: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-25 03: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-25 03:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:06: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-25 03:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:06: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":893446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:06:33] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:06:33] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:07:06] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:06] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:06] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:07:06] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:07:06] 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":893447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:07:06] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:07:06] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:07:32] local.INFO: TCP Data received {"connection_id":194569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:32] local.INFO: Processing buffer {"connection_id":194569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:32] local.INFO: IMEI packet received {"connection_id":194569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":194569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:07:37] local.INFO: TCP Data received {"connection_id":194569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:37] local.INFO: Processing buffer {"connection_id":194569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:07:37] local.INFO: IMEI packet received {"connection_id":194569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":194569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:07:37] local.INFO: TCP Data received {"connection_id":194569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:37] local.INFO: Processing buffer {"connection_id":194569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:37] local.INFO: Packet analysis {"connection_id":194569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:07:37] local.INFO: Extracted packet for processing {"connection_id":194569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:07: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:07: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-25 03:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:07: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-25 03:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":194569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:07:37] local.INFO: GPS data processed {"connection_id":194569,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:07:37] local.INFO: Acknowledgment sent {"connection_id":194569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:07:42] local.INFO: TCP Data received {"connection_id":194569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:42] local.INFO: Processing buffer {"connection_id":194569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:07:42] local.INFO: Packet analysis {"connection_id":194569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:07:42] local.INFO: Extracted packet for processing {"connection_id":194569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:07: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:07: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-25 03:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:07: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-25 03:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:07: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-25 03:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":194569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:07:42] local.INFO: GPS data processed {"connection_id":194569,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:07:42] local.INFO: Acknowledgment sent {"connection_id":194569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:08:27] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:27] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:27] local.INFO: IMEI packet received {"connection_id":191898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":191898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:08:32] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:32] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:08:32] local.INFO: IMEI packet received {"connection_id":191898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":191898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:08:33] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:08:33] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:08:33] local.INFO: Packet analysis {"connection_id":191898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:08:33] local.INFO: Extracted packet for processing {"connection_id":191898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03: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-25 03:08: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-25 03: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:08: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-25 03: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-25 03: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-25 03:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:08:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:08:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":191898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:08:33] local.INFO: GPS data processed {"connection_id":191898,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:08:33] local.INFO: Acknowledgment sent {"connection_id":191898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:09:04] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:09:04] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55683e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:09:04] local.INFO: Packet analysis {"connection_id":191898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:09:04] local.INFO: Extracted packet for processing {"connection_id":191898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d556"} 
[2026-09-25 03:09: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-25 03:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313039616001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09: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-25 03:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285612000,"timestamp_ms":1790285612000,"timestamp_seconds":1790285612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55683e0"} 
[2026-09-25 03:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 03:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:09: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-25 03:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313039616001,"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-25 03:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313039616001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:09: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-25 03:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313039616001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":191898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:09:04] local.INFO: GPS data processed {"connection_id":191898,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:09:04] local.INFO: Acknowledgment sent {"connection_id":191898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:09:26] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:26] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:26] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:09:32] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:32] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:09:32] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:09:32] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:09:32] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:09:32] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:09:32] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:09:32] 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-25 03:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:09: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-25 03:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:09:32] 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":893452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:09:32] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:09:32] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:09:37] local.INFO: TCP Data received {"connection_id":193273,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:09:37] local.INFO: Processing buffer {"connection_id":193273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:09:37] local.INFO: IMEI packet received {"connection_id":193273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":193273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:10:04] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:04] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:04] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:10:04] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03: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-25 03:10: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:10: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-25 03: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-25 03: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-25 03:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:10: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-25 03:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:10:04] 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":893453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:10:04] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:10:04] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:10:10] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:10:10] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:10:10] local.INFO: IMEI packet received {"connection_id":191899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":191899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:10:26] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:26] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:26] local.INFO: IMEI packet received {"connection_id":191900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":191900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:10:32] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:32] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:10:32] local.INFO: IMEI packet received {"connection_id":191900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":191900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:10:32] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:32] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:10:32] local.INFO: Packet analysis {"connection_id":191900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:10:32] local.INFO: Extracted packet for processing {"connection_id":191900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:10:32] 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-25 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":191900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:10:32] local.INFO: GPS data processed {"connection_id":191900,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:10:32] local.INFO: Acknowledgment sent {"connection_id":191900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:11:05] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:05] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:05] local.INFO: Packet analysis {"connection_id":191900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:11:05] local.INFO: Extracted packet for processing {"connection_id":191900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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-25 03: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-25 03:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:11: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-25 03: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-25 03: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-25 03:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11: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-25 03:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":191900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:11:05] local.INFO: GPS data processed {"connection_id":191900,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:11:05] local.INFO: Acknowledgment sent {"connection_id":191900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:11:32] local.INFO: TCP Data received {"connection_id":194570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:32] local.INFO: Processing buffer {"connection_id":194570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:32] local.INFO: IMEI packet received {"connection_id":194570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":194570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:11:37] local.INFO: TCP Data received {"connection_id":194570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:37] local.INFO: Processing buffer {"connection_id":194570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:11:37] local.INFO: IMEI packet received {"connection_id":194570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":194570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:11:38] local.INFO: TCP Data received {"connection_id":194570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:38] local.INFO: Processing buffer {"connection_id":194570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:38] local.INFO: Packet analysis {"connection_id":194570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:11:38] local.INFO: Extracted packet for processing {"connection_id":194570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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-25 03: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-25 03:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03: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-25 03:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":194570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:11:38] local.INFO: GPS data processed {"connection_id":194570,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:11:38] local.INFO: Acknowledgment sent {"connection_id":194570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:11:42] local.INFO: TCP Data received {"connection_id":194570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:42] local.INFO: Processing buffer {"connection_id":194570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:11:42] local.INFO: Packet analysis {"connection_id":194570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:11:42] local.INFO: Extracted packet for processing {"connection_id":194570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:11: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-25 03:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:11: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-25 03:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:11: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-25 03:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":194570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:11:43] local.INFO: GPS data processed {"connection_id":194570,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:11:43] local.INFO: Acknowledgment sent {"connection_id":194570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:12:27] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:27] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:27] local.INFO: IMEI packet received {"connection_id":193274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":193274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:12:32] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:32] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:12:32] local.INFO: IMEI packet received {"connection_id":193274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":193274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:12:32] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:32] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:32] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:12:32] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:12:32] 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-25 03:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:12: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-25 03:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:12:32] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:12:32] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:12:37] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:37] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:12:37] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:12:37] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:12: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-25 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:12: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-25 03:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:12: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-25 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:12: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-25 03:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:12:37] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:12:37] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:13:09] local.INFO: TCP Data received {"connection_id":193274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:09] local.INFO: Processing buffer {"connection_id":193274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:09] local.INFO: Packet analysis {"connection_id":193274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:13:09] local.INFO: Extracted packet for processing {"connection_id":193274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:13: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-25 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":193274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:13:09] local.INFO: GPS data processed {"connection_id":193274,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:13:09] local.INFO: Acknowledgment sent {"connection_id":193274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:13:27] local.INFO: TCP Data received {"connection_id":194572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:27] local.INFO: Processing buffer {"connection_id":194572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:27] local.INFO: IMEI packet received {"connection_id":194572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":194572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:13:32] local.INFO: TCP Data received {"connection_id":194572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:32] local.INFO: Processing buffer {"connection_id":194572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:13:32] local.INFO: IMEI packet received {"connection_id":194572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":194572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:13:33] local.INFO: TCP Data received {"connection_id":194572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:33] local.INFO: Processing buffer {"connection_id":194572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:13:33] local.INFO: Packet analysis {"connection_id":194572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:13:33] local.INFO: Extracted packet for processing {"connection_id":194572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:13: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-25 03: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-25 03: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-25 03:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:13: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-25 03:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":194572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:13:33] local.INFO: GPS data processed {"connection_id":194572,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:13:33] local.INFO: Acknowledgment sent {"connection_id":194572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:14:05] local.INFO: TCP Data received {"connection_id":194572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:05] local.INFO: Processing buffer {"connection_id":194572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55b1ba8012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:05] local.INFO: Packet analysis {"connection_id":194572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03:14:05] local.INFO: Extracted packet for processing {"connection_id":194572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55b"} 
[2026-09-25 03: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-25 03: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-25 03:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313116672001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790285913000,"timestamp_ms":1790285913000,"timestamp_seconds":1790285913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55b1ba8"} 
[2026-09-25 03: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-25 03:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:14: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-25 03:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313116672001,"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-25 03:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313116672001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313116672001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":194572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:14:05] local.INFO: GPS data processed {"connection_id":194572,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:14:05] local.INFO: Acknowledgment sent {"connection_id":194572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:14:26] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:26] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:26] local.INFO: IMEI packet received {"connection_id":193275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":193275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:14:31] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:31] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:14:31] local.INFO: IMEI packet received {"connection_id":193275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":193275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:14:33] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:33] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:14:33] local.INFO: Packet analysis {"connection_id":193275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:14:33] local.INFO: Extracted packet for processing {"connection_id":193275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:14: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-25 03:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":193275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:14:33] local.INFO: GPS data processed {"connection_id":193275,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:14:33] local.INFO: Acknowledgment sent {"connection_id":193275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:15:04] local.INFO: TCP Data received {"connection_id":193275,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:04] local.INFO: Processing buffer {"connection_id":193275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:04] local.INFO: Packet analysis {"connection_id":193275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:15:04] local.INFO: Extracted packet for processing {"connection_id":193275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:15: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-25 03:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:15: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-25 03:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:15: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-25 03:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:15: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-25 03:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:15: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-25 03:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":193275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:15:04] local.INFO: GPS data processed {"connection_id":193275,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:15:04] local.INFO: Acknowledgment sent {"connection_id":193275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:15:26] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:26] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:26] local.INFO: IMEI packet received {"connection_id":191902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":191902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:15:30] local.INFO: TCP Data received {"connection_id":191901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:15:30] local.INFO: Processing buffer {"connection_id":191901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:15:30] local.INFO: IMEI packet received {"connection_id":191901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":191901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:15:32] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:32] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:15:32] local.INFO: IMEI packet received {"connection_id":191902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":191902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:15:33] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:33] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:15:33] local.INFO: Packet analysis {"connection_id":191902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:15:33] local.INFO: Extracted packet for processing {"connection_id":191902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:15: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-25 03:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":191902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:15:33] local.INFO: GPS data processed {"connection_id":191902,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:15:33] local.INFO: Acknowledgment sent {"connection_id":191902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:16:04] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:04] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:04] local.INFO: Packet analysis {"connection_id":191902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16:04] local.INFO: Extracted packet for processing {"connection_id":191902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16: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-25 03:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16: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-25 03:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:16: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-25 03:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16: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-25 03:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:16: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-25 03:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":191902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:16:04] local.INFO: GPS data processed {"connection_id":191902,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:16:04] local.INFO: Acknowledgment sent {"connection_id":191902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:16:05] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:05] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:05] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:16:10] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:10] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:10] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 03:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:16:12] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d53aca38012d34284006abbd00000700d730..."} 
[2026-09-25 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d53aca38012d34284006abbd00000700d730..."} 
[2026-09-25 03:16:12] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d53aca38012d34284006abbd00000700d730..."} 
[2026-09-25 03:16:12] local.INFO: Packet analysis {"connection_id":191720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 03:16:12] local.INFO: Extracted packet for processing {"connection_id":191720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d53a"} 
[2026-09-25 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758392896,"raw_latitude":111918336,"longitude_deg":75.8392896,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342840","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 03:16:12] 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-25 03:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458312646400001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758324286435950592,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790283795000,"timestamp_ms":1790283795000,"timestamp_seconds":1790283795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d53aca38"} 
[2026-09-25 03: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-25 03:16: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-25 03: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 03:16: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-25 03: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-25 03: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-25 03:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 03:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 03:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 03:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 03:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458312646400001,"66":28398,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758324286435950592},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 03:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 03:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 03:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458312646400001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:16:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 03:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758324286435950592,"description":"Unknown IO ID 45"} 
[2026-09-25 03:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458312646400001,"power":28398,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758324286435950592}} 
[2026-09-25 03:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":191720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:16:12] local.INFO: GPS data processed {"connection_id":191720,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:16:12] local.INFO: Acknowledgment sent {"connection_id":191720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:16:32] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:32] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:32] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:16:37] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:37] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:16:37] local.INFO: IMEI packet received {"connection_id":191721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":191721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:16:37] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:37] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:37] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16:37] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16: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-25 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:16: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-25 03:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16: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-25 03:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:16: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-25 03:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:16:37] 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":893468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:16:37] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:16:37] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:16:42] local.INFO: TCP Data received {"connection_id":191721,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:42] local.INFO: Processing buffer {"connection_id":191721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:16:42] local.INFO: Packet analysis {"connection_id":191721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16:42] local.INFO: Extracted packet for processing {"connection_id":191721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:16: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-25 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:16: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-25 03:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:16:42] 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":893469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:16:42] local.INFO: GPS data processed {"connection_id":191721,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:16:42] local.INFO: Acknowledgment sent {"connection_id":191721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:16:55] local.INFO: TCP Data received {"connection_id":193276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:55] local.INFO: Processing buffer {"connection_id":193276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:16:55] local.INFO: IMEI packet received {"connection_id":193276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":193276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:17:27] local.INFO: TCP Data received {"connection_id":193277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:27] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:27] local.INFO: IMEI packet received {"connection_id":193277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":193277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:17:32] local.INFO: TCP Data received {"connection_id":193277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:32] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:17:32] local.INFO: IMEI packet received {"connection_id":193277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":193277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:17:33] local.INFO: TCP Data received {"connection_id":193277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:17:33] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:17:33] local.INFO: Packet analysis {"connection_id":193277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:17:33] local.INFO: Extracted packet for processing {"connection_id":193277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03: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-25 03: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-25 03:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:17: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-25 03:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":193277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:17:33] local.INFO: GPS data processed {"connection_id":193277,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:17:33] local.INFO: Acknowledgment sent {"connection_id":193277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:18:04] local.INFO: TCP Data received {"connection_id":193277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:04] local.INFO: Processing buffer {"connection_id":193277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:04] local.INFO: Packet analysis {"connection_id":193277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:18:04] local.INFO: Extracted packet for processing {"connection_id":193277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:18: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-25 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:18: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-25 03:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:18: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-25 03:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:18: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-25 03:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:18: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-25 03:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":193277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:18:04] local.INFO: GPS data processed {"connection_id":193277,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:18:04] local.INFO: Acknowledgment sent {"connection_id":193277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:18:27] local.INFO: TCP Data received {"connection_id":194574,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:27] local.INFO: Processing buffer {"connection_id":194574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:27] local.INFO: IMEI packet received {"connection_id":194574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":194574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:18:32] local.INFO: TCP Data received {"connection_id":194574,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:32] local.INFO: Processing buffer {"connection_id":194574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:18:32] local.INFO: IMEI packet received {"connection_id":194574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":194574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:18:33] local.INFO: TCP Data received {"connection_id":194574,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:33] local.INFO: Processing buffer {"connection_id":194574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:18:33] local.INFO: Packet analysis {"connection_id":194574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:18:33] local.INFO: Extracted packet for processing {"connection_id":194574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03: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-25 03:18: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:18: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-25 03:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":194574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:18:33] local.INFO: GPS data processed {"connection_id":194574,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:18:33] local.INFO: Acknowledgment sent {"connection_id":194574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:19:04] local.INFO: TCP Data received {"connection_id":194574,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:19:04] local.INFO: Processing buffer {"connection_id":194574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d55fb370012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:19:04] local.INFO: Packet analysis {"connection_id":194574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:19:04] local.INFO: Extracted packet for processing {"connection_id":194574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d55f"} 
[2026-09-25 03:19: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-25 03:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313193728001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19: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-25 03:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286214000,"timestamp_ms":1790286214000,"timestamp_seconds":1790286214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d55fb370"} 
[2026-09-25 03:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:19: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-25 03:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313193728001,"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-25 03:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313193728001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:19: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-25 03:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313193728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":194574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:19:04] local.INFO: GPS data processed {"connection_id":194574,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:19:04] local.INFO: Acknowledgment sent {"connection_id":194574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:19:27] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:27] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:27] local.INFO: IMEI packet received {"connection_id":193278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":193278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:19:31] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:31] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:19:31] local.INFO: IMEI packet received {"connection_id":193278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":193278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:19:32] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:19:32] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:19:32] local.INFO: Packet analysis {"connection_id":193278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:19:32] local.INFO: Extracted packet for processing {"connection_id":193278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:19:32] 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-25 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:19: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-25 03:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":193278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:19:32] local.INFO: GPS data processed {"connection_id":193278,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:19:32] local.INFO: Acknowledgment sent {"connection_id":193278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:20:04] local.INFO: TCP Data received {"connection_id":193278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:04] local.INFO: Processing buffer {"connection_id":193278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:04] local.INFO: Packet analysis {"connection_id":193278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:20:04] local.INFO: Extracted packet for processing {"connection_id":193278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03: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-25 03: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-25 03:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:20: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-25 03:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":193278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:20:04] local.INFO: GPS data processed {"connection_id":193278,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:20:04] local.INFO: Acknowledgment sent {"connection_id":193278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:20:26] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:26] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:26] local.INFO: IMEI packet received {"connection_id":193279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":193279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:20:32] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:32] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:20:32] local.INFO: IMEI packet received {"connection_id":193279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":193279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:20:32] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:33] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:20:33] local.INFO: Packet analysis {"connection_id":193279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:20:33] local.INFO: Extracted packet for processing {"connection_id":193279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03: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-25 03:20: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:20: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-25 03: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-25 03: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-25 03:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:20: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-25 03:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":193279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:20:33] local.INFO: GPS data processed {"connection_id":193279,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:20:33] local.INFO: Acknowledgment sent {"connection_id":193279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:21:04] local.INFO: TCP Data received {"connection_id":193279,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:04] local.INFO: Processing buffer {"connection_id":193279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:04] local.INFO: Packet analysis {"connection_id":193279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:21:04] local.INFO: Extracted packet for processing {"connection_id":193279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:21: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-25 03:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21: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-25 03:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:21: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-25 03:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21: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-25 03:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:21: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-25 03:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":193279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:21:04] local.INFO: GPS data processed {"connection_id":193279,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:21:04] local.INFO: Acknowledgment sent {"connection_id":193279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:21:32] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:32] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:32] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:21:37] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:37] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:21:37] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:21:38] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:38] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:38] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:21:38] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:21: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-25 03:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21: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-25 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:21:38] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:21:38] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:21:42] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:42] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:21:42] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:21:42] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:21: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:21: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-25 03:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:21:42] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:21:42] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:22:16] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:22:16] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:22:16] local.INFO: IMEI packet received {"connection_id":191723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":191723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:22:27] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:27] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:27] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:22:32] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:32] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:22:32] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:22:32] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:22:32] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:22:32] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:22:32] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:22:32] 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-25 03:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:22: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-25 03:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:22:32] 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":893480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:22:32] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:22:32] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:23:04] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:04] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:04] local.INFO: Packet analysis {"connection_id":191724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:23:04] local.INFO: Extracted packet for processing {"connection_id":191724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:23: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-25 03:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23: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-25 03:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:23: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-25 03:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:23: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-25 03:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:23:04] 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":893481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:23:04] local.INFO: GPS data processed {"connection_id":191724,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:23:04] local.INFO: Acknowledgment sent {"connection_id":191724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:23:26] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:26] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:26] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:23:32] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:32] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:23:32] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:23:32] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:32] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:23:32] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:23:32] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:23:32] 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-25 03:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:23: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-25 03:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:23:32] 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":893482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:23:32] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:23:32] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:24:04] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:04] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5644b38012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:04] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:24:04] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d564"} 
[2026-09-25 03:24: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-25 03:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313270784001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24: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-25 03:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286515000,"timestamp_ms":1790286515000,"timestamp_seconds":1790286515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5644b38"} 
[2026-09-25 03:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313270784001,"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-25 03:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313270784001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:24: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-25 03:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313270784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:24:04] 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":893483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:24:04] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:24:04] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:24:26] local.INFO: TCP Data received {"connection_id":193281,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:26] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:26] local.INFO: IMEI packet received {"connection_id":193281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":193281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:24:31] local.INFO: TCP Data received {"connection_id":193281,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:31] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:24:31] local.INFO: IMEI packet received {"connection_id":193281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":193281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:24:32] local.INFO: TCP Data received {"connection_id":193281,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:32] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:24:32] local.INFO: Packet analysis {"connection_id":193281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:24:32] local.INFO: Extracted packet for processing {"connection_id":193281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:24:32] 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-25 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03: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-25 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":193281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:24:32] local.INFO: GPS data processed {"connection_id":193281,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:24:32] local.INFO: Acknowledgment sent {"connection_id":193281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:25:04] local.INFO: TCP Data received {"connection_id":193281,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:04] local.INFO: Processing buffer {"connection_id":193281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:04] local.INFO: Packet analysis {"connection_id":193281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:25:04] local.INFO: Extracted packet for processing {"connection_id":193281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:25: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-25 03:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25: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-25 03:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:25: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-25 03:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25: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-25 03:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:25: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-25 03:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":193281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:25:04] local.INFO: GPS data processed {"connection_id":193281,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:25:04] local.INFO: Acknowledgment sent {"connection_id":193281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:25:27] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:27] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:27] local.INFO: IMEI packet received {"connection_id":191905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":191905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:25:32] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:32] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:25:32] local.INFO: IMEI packet received {"connection_id":191905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":191905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:25:33] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:33] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:33] local.INFO: Packet analysis {"connection_id":191905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:25:33] local.INFO: Extracted packet for processing {"connection_id":191905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03:25: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:25: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-25 03: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-25 03: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-25 03:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25: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-25 03:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:25:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:25:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":191905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:25:33] local.INFO: GPS data processed {"connection_id":191905,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:25:33] local.INFO: Acknowledgment sent {"connection_id":191905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:25:37] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:37] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:25:37] local.INFO: Packet analysis {"connection_id":191905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:25:37] local.INFO: Extracted packet for processing {"connection_id":191905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:25: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:25: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-25 03: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-25 03: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-25 03:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:25: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-25 03:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":191905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:25:37] local.INFO: GPS data processed {"connection_id":191905,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:25:37] local.INFO: Acknowledgment sent {"connection_id":191905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:26:12] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:12] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:12] local.INFO: Packet analysis {"connection_id":191905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:26:12] local.INFO: Extracted packet for processing {"connection_id":191905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:26: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:26: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-25 03:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03:26: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-25 03: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:26: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-25 03:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:26:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:26:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:26: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-25 03:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":191905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:26:12] local.INFO: GPS data processed {"connection_id":191905,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:26:12] local.INFO: Acknowledgment sent {"connection_id":191905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:26:27] local.INFO: TCP Data received {"connection_id":193282,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:27] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:27] local.INFO: IMEI packet received {"connection_id":193282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":193282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:26:32] local.INFO: TCP Data received {"connection_id":193282,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:32] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:26:32] local.INFO: IMEI packet received {"connection_id":193282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:26:33] local.INFO: TCP Data received {"connection_id":193282,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:33] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:26:33] local.INFO: Packet analysis {"connection_id":193282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:26:33] local.INFO: Extracted packet for processing {"connection_id":193282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03:26: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:26: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-25 03: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-25 03: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-25 03:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:26: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-25 03:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":193282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:26:33] local.INFO: GPS data processed {"connection_id":193282,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:26:33] local.INFO: Acknowledgment sent {"connection_id":193282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:27:04] local.INFO: TCP Data received {"connection_id":193282,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:04] local.INFO: Processing buffer {"connection_id":193282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:04] local.INFO: Packet analysis {"connection_id":193282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:27:04] local.INFO: Extracted packet for processing {"connection_id":193282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03:27: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-25 03:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:27: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-25 03:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":193282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:27:04] local.INFO: GPS data processed {"connection_id":193282,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:27:04] local.INFO: Acknowledgment sent {"connection_id":193282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:27:27] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:27] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:27] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:27:32] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:32] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:27:32] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:27:33] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:33] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:27:33] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:27:33] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:27: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-25 03:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:27: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-25 03:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:27: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-25 03:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:27: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-25 03:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:27: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-25 03:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:27: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-25 03:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:27:33] 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":893491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:27:33] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:27:33] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:28:04] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:04] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:04] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:28:04] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:28: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-25 03:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:28: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-25 03:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:28: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-25 03:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:28:04] local.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-25 03:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:28: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-25 03:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:28:04] 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":893492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:28:04] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:28:04] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:28:05] local.INFO: TCP Data received {"connection_id":191906,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:28:05] local.INFO: Processing buffer {"connection_id":191906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:28:05] local.INFO: IMEI packet received {"connection_id":191906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":191906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:28:26] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:26] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:26] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:28:32] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:32] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:28:32] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:28:33] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:33] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:28:33] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:28:33] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:28: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-25 03:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:28:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:28:33] 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":893493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:28:33] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:28:33] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:29:05] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:29:05] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d568df18012d34c14006aa4940000900f531..."} 
[2026-09-25 03:29:05] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03:29:05] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d568"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790286815000,"timestamp_ms":1790286815000,"timestamp_seconds":1790286815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d568df18"} 
[2026-09-25 03:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03: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-25 03:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03: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-25 03:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313347840001,"66":25441,"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-25 03:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:29:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313347840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:29: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":893494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:29:05] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:29:05] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:29:26] local.INFO: TCP Data received {"connection_id":193285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:26] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:26] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:29:31] local.INFO: TCP Data received {"connection_id":193285,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:31] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:29:31] local.INFO: IMEI packet received {"connection_id":193285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":193285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:29:32] local.INFO: TCP Data received {"connection_id":193285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:29:32] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:29:32] local.INFO: Packet analysis {"connection_id":193285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:29:32] local.INFO: Extracted packet for processing {"connection_id":193285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:29:32] 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-25 03:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:29: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-25 03:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:29:32] local.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-25 03:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":193285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:29:32] local.INFO: GPS data processed {"connection_id":193285,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:29:32] local.INFO: Acknowledgment sent {"connection_id":193285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:30:04] local.INFO: TCP Data received {"connection_id":193285,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:04] local.INFO: Processing buffer {"connection_id":193285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:04] local.INFO: Packet analysis {"connection_id":193285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:30:04] local.INFO: Extracted packet for processing {"connection_id":193285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03: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-25 03: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-25 03:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":193285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:30:04] local.INFO: GPS data processed {"connection_id":193285,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:30:04] local.INFO: Acknowledgment sent {"connection_id":193285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:30:32] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:32] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:32] local.INFO: IMEI packet received {"connection_id":191908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":191908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:30:37] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:37] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:30:37] local.INFO: IMEI packet received {"connection_id":191908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":191908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:30:38] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:38] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:38] local.INFO: Packet analysis {"connection_id":191908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:30:38] local.INFO: Extracted packet for processing {"connection_id":191908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03: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-25 03: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-25 03: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":191908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:30:38] local.INFO: GPS data processed {"connection_id":191908,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:30:38] local.INFO: Acknowledgment sent {"connection_id":191908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:30:42] local.INFO: TCP Data received {"connection_id":191908,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:42] local.INFO: Processing buffer {"connection_id":191908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:30:42] local.INFO: Packet analysis {"connection_id":191908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:30:42] local.INFO: Extracted packet for processing {"connection_id":191908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:30: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:30: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-25 03:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":191908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:30:42] local.INFO: GPS data processed {"connection_id":191908,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:30:42] local.INFO: Acknowledgment sent {"connection_id":191908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:31:27] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:27] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:27] local.INFO: IMEI packet received {"connection_id":191731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":191731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:31:32] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:32] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:31:32] local.INFO: IMEI packet received {"connection_id":191731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":191731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:31:32] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:31:32] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:31:32] local.INFO: Packet analysis {"connection_id":191731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:31:32] local.INFO: Extracted packet for processing {"connection_id":191731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:31:32] 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-25 03:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:31: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-25 03:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:31:32] 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":893499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:31:32] local.INFO: GPS data processed {"connection_id":191731,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:31:32] local.INFO: Acknowledgment sent {"connection_id":191731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:32:03] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:03] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:03] local.INFO: Packet analysis {"connection_id":191731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:32:03] local.INFO: Extracted packet for processing {"connection_id":191731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:32: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:32: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-25 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:32: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-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:32:04] 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":893500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:32:04] local.INFO: GPS data processed {"connection_id":191731,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:32:04] local.INFO: Acknowledgment sent {"connection_id":191731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:32:27] local.INFO: TCP Data received {"connection_id":194578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:27] local.INFO: Processing buffer {"connection_id":194578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:27] local.INFO: IMEI packet received {"connection_id":194578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":194578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:32:32] local.INFO: TCP Data received {"connection_id":194578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:32] local.INFO: Processing buffer {"connection_id":194578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:32:32] local.INFO: IMEI packet received {"connection_id":194578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":194578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:32:33] local.INFO: TCP Data received {"connection_id":194578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:33] local.INFO: Processing buffer {"connection_id":194578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:32:33] local.INFO: Packet analysis {"connection_id":194578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:32:33] local.INFO: Extracted packet for processing {"connection_id":194578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03: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-25 03:32: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-25 03: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03: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-25 03: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-25 03:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:32: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-25 03:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":194578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:32:33] local.INFO: GPS data processed {"connection_id":194578,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:32:33] local.INFO: Acknowledgment sent {"connection_id":194578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:33:05] local.INFO: TCP Data received {"connection_id":194578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:05] local.INFO: Processing buffer {"connection_id":194578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:05] local.INFO: Packet analysis {"connection_id":194578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:33:05] local.INFO: Extracted packet for processing {"connection_id":194578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03: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-25 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:33: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-25 03:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:33:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:33:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":194578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:33:05] local.INFO: GPS data processed {"connection_id":194578,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:33:05] local.INFO: Acknowledgment sent {"connection_id":194578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:33:25] local.INFO: TCP Data received {"connection_id":194579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:33:25] local.INFO: Processing buffer {"connection_id":194579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:33:25] local.INFO: IMEI packet received {"connection_id":194579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":194579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:33:27] local.INFO: TCP Data received {"connection_id":193287,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:27] local.INFO: Processing buffer {"connection_id":193287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:27] local.INFO: IMEI packet received {"connection_id":193287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":193287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:33:32] local.INFO: TCP Data received {"connection_id":193287,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:32] local.INFO: Processing buffer {"connection_id":193287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:33:32] local.INFO: IMEI packet received {"connection_id":193287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":193287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:33:32] local.INFO: TCP Data received {"connection_id":193287,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:32] local.INFO: Processing buffer {"connection_id":193287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:33:32] local.INFO: Packet analysis {"connection_id":193287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:33:32] local.INFO: Extracted packet for processing {"connection_id":193287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:33:32] 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-25 03:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:33: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-25 03:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:33:32] local.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-25 03:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":193287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:33:32] local.INFO: GPS data processed {"connection_id":193287,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:33:32] local.INFO: Acknowledgment sent {"connection_id":193287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:34:04] local.INFO: TCP Data received {"connection_id":193287,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:34:04] local.INFO: Processing buffer {"connection_id":193287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d56d76e0012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:34:04] local.INFO: Packet analysis {"connection_id":193287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:34:04] local.INFO: Extracted packet for processing {"connection_id":193287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d56d"} 
[2026-09-25 03:34: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-25 03:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313424640001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34: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-25 03:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287116000,"timestamp_ms":1790287116000,"timestamp_seconds":1790287116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d56d76e0"} 
[2026-09-25 03:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 03:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:34: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-25 03:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313424640001,"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-25 03:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313424640001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:34: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-25 03:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313424640001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":193287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:34:04] local.INFO: GPS data processed {"connection_id":193287,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:34:04] local.INFO: Acknowledgment sent {"connection_id":193287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:34:05] local.INFO: TCP Data received {"connection_id":193288,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:34:05] local.INFO: Processing buffer {"connection_id":193288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:34:05] local.INFO: IMEI packet received {"connection_id":193288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":193288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:34:26] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:26] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:26] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:34:31] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:31] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:34:31] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:34:32] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:34:32] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:34:32] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:34:32] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:34:32] 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-25 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:34: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-25 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:34:32] local.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-25 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:34:32] 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":893505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:34:32] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:34:32] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:35:04] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:04] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:04] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:35:04] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:35: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-25 03:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35: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-25 03:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:35: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-25 03:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:35: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-25 03:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:35: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-25 03:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:35:04] 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":893506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:35:04] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:35:04] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:35:27] local.INFO: TCP Data received {"connection_id":193289,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:27] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:27] local.INFO: IMEI packet received {"connection_id":193289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":193289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:35:32] local.INFO: TCP Data received {"connection_id":193289,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:32] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:35:32] local.INFO: IMEI packet received {"connection_id":193289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":193289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:35:32] local.INFO: TCP Data received {"connection_id":193289,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:32] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:35:32] local.INFO: Packet analysis {"connection_id":193289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:35:32] local.INFO: Extracted packet for processing {"connection_id":193289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:35:32] 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-25 03:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:35: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-25 03:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 03:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:35: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-25 03:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:35:32] local.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-25 03:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":193289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:35:32] local.INFO: GPS data processed {"connection_id":193289,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:35:32] local.INFO: Acknowledgment sent {"connection_id":193289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:36:04] local.INFO: TCP Data received {"connection_id":193289,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:04] local.INFO: Processing buffer {"connection_id":193289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:04] local.INFO: Packet analysis {"connection_id":193289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:36:04] local.INFO: Extracted packet for processing {"connection_id":193289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:36: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-25 03:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36: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-25 03:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:36: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-25 03:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:36: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-25 03:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:36: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-25 03:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:36: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-25 03:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":193289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:36:04] local.INFO: GPS data processed {"connection_id":193289,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:36:04] local.INFO: Acknowledgment sent {"connection_id":193289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:36:27] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:27] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:27] local.INFO: IMEI packet received {"connection_id":193290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":193290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:36:32] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:32] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:36:32] local.INFO: IMEI packet received {"connection_id":193290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":193290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:36:32] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:32] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:36:32] local.INFO: Packet analysis {"connection_id":193290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:36:32] local.INFO: Extracted packet for processing {"connection_id":193290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:36:32] 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-25 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:36: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-25 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:36:32] local.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-25 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":193290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:36:32] local.INFO: GPS data processed {"connection_id":193290,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:36:32] local.INFO: Acknowledgment sent {"connection_id":193290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:37:04] local.INFO: TCP Data received {"connection_id":193290,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:04] local.INFO: Processing buffer {"connection_id":193290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:04] local.INFO: Packet analysis {"connection_id":193290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:37:04] local.INFO: Extracted packet for processing {"connection_id":193290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:37: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-25 03:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:37: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-25 03:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:37: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-25 03:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:37: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-25 03:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:37: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-25 03:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":193290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:37:04] local.INFO: GPS data processed {"connection_id":193290,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:37:04] local.INFO: Acknowledgment sent {"connection_id":193290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:37:26] local.INFO: TCP Data received {"connection_id":194581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:26] local.INFO: Processing buffer {"connection_id":194581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:26] local.INFO: IMEI packet received {"connection_id":194581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":194581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:37:32] local.INFO: TCP Data received {"connection_id":194581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:32] local.INFO: Processing buffer {"connection_id":194581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:37:32] local.INFO: IMEI packet received {"connection_id":194581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":194581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:37:33] local.INFO: TCP Data received {"connection_id":194581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:33] local.INFO: Processing buffer {"connection_id":194581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:37:33] local.INFO: Packet analysis {"connection_id":194581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:37:33] local.INFO: Extracted packet for processing {"connection_id":194581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03: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":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:37: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-25 03: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-25 03: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-25 03:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:37: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-25 03:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":194581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:37:33] local.INFO: GPS data processed {"connection_id":194581,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:37:33] local.INFO: Acknowledgment sent {"connection_id":194581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:38:04] local.INFO: TCP Data received {"connection_id":194581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:04] local.INFO: Processing buffer {"connection_id":194581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:04] local.INFO: Packet analysis {"connection_id":194581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:38:04] local.INFO: Extracted packet for processing {"connection_id":194581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:38: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-25 03:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:38: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-25 03:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:38: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-25 03:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:38: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-25 03:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:38: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-25 03:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":194581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:38:04] local.INFO: GPS data processed {"connection_id":194581,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:38:04] local.INFO: Acknowledgment sent {"connection_id":194581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:38:26] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:26] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:26] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:38:32] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:32] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:38:32] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:38:33] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:33] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:38:33] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:38:33] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:38: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-25 03: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-25 03:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03: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-25 03: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-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:38: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-25 03: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-25 03: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-25 03:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:38: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-25 03:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:38:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:38:33] 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":893513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:38:33] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:38:33] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:39:04] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:39:04] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5720ea8012d34c14006aa4940000900f531..."} 
[2026-09-25 03:39:04] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:39:04] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d572"} 
[2026-09-25 03:39: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-25 03:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313501696001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39: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-25 03:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287417000,"timestamp_ms":1790287417000,"timestamp_seconds":1790287417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5720ea8"} 
[2026-09-25 03:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:39: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-25 03:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:39: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-25 03:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313501696001,"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-25 03:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313501696001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:39: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-25 03:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313501696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:39:04] 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":893514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:39:04] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:39:04] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:39:25] local.INFO: TCP Data received {"connection_id":191911,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:39:25] local.INFO: Processing buffer {"connection_id":191911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:39:25] local.INFO: IMEI packet received {"connection_id":191911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":191911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:39:26] local.INFO: TCP Data received {"connection_id":193292,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:26] local.INFO: Processing buffer {"connection_id":193292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:26] local.INFO: IMEI packet received {"connection_id":193292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":193292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:39:32] local.INFO: TCP Data received {"connection_id":193292,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:32] local.INFO: Processing buffer {"connection_id":193292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:39:32] local.INFO: IMEI packet received {"connection_id":193292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":193292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:39:33] local.INFO: TCP Data received {"connection_id":193292,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:39:33] local.INFO: Processing buffer {"connection_id":193292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:39:33] local.INFO: Packet analysis {"connection_id":193292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:39:33] local.INFO: Extracted packet for processing {"connection_id":193292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:39: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-25 03:39: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-25 03:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:39: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-25 03:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:39: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-25 03:39: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-25 03:39: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-25 03:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:39: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-25 03:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:39:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:39:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:39: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-25 03:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":193292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:39:33] local.INFO: GPS data processed {"connection_id":193292,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:39:33] local.INFO: Acknowledgment sent {"connection_id":193292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:40:04] local.INFO: TCP Data received {"connection_id":193292,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:04] local.INFO: Processing buffer {"connection_id":193292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:04] local.INFO: Packet analysis {"connection_id":193292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:40:04] local.INFO: Extracted packet for processing {"connection_id":193292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:40: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-25 03:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:40: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-25 03:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:40: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-25 03:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:40: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-25 03:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":193292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:40:05] local.INFO: GPS data processed {"connection_id":193292,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:40:05] local.INFO: Acknowledgment sent {"connection_id":193292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:40:05] local.INFO: TCP Data received {"connection_id":191912,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:40:05] local.INFO: Processing buffer {"connection_id":191912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:40:05] local.INFO: IMEI packet received {"connection_id":191912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":191912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:40:27] local.INFO: TCP Data received {"connection_id":194582,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:27] local.INFO: Processing buffer {"connection_id":194582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:27] local.INFO: IMEI packet received {"connection_id":194582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":194582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:40:32] local.INFO: TCP Data received {"connection_id":194582,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:32] local.INFO: Processing buffer {"connection_id":194582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:40:32] local.INFO: IMEI packet received {"connection_id":194582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":194582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:40:32] local.INFO: TCP Data received {"connection_id":194582,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:32] local.INFO: Processing buffer {"connection_id":194582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:40:32] local.INFO: Packet analysis {"connection_id":194582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:40:32] local.INFO: Extracted packet for processing {"connection_id":194582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:40:32] 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-25 03:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":194582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:40:32] local.INFO: GPS data processed {"connection_id":194582,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:40:32] local.INFO: Acknowledgment sent {"connection_id":194582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:41:05] local.INFO: TCP Data received {"connection_id":194582,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:05] local.INFO: Processing buffer {"connection_id":194582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:05] local.INFO: Packet analysis {"connection_id":194582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:41:05] local.INFO: Extracted packet for processing {"connection_id":194582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03: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-25 03:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:41: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-25 03: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-25 03: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-25 03:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":194582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:41:05] local.INFO: GPS data processed {"connection_id":194582,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:41:05] local.INFO: Acknowledgment sent {"connection_id":194582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:41:26] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:26] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:26] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:41:32] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:32] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:41:32] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:41:32] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:32] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:41:32] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:41:32] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:41:32] 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-25 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:41:32] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:41:32] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:42:04] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:04] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:04] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:42:04] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:42: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-25 03:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42: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-25 03:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:42: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-25 03:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:42: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-25 03:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:42: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-25 03:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:42:04] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:42:04] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:42:26] local.INFO: TCP Data received {"connection_id":193293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:26] local.INFO: Processing buffer {"connection_id":193293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:26] local.INFO: IMEI packet received {"connection_id":193293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":193293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:42:32] local.INFO: TCP Data received {"connection_id":193293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:32] local.INFO: Processing buffer {"connection_id":193293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:42:32] local.INFO: IMEI packet received {"connection_id":193293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:42:32] local.INFO: TCP Data received {"connection_id":193293,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:32] local.INFO: Processing buffer {"connection_id":193293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:42:32] local.INFO: Packet analysis {"connection_id":193293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:42:32] local.INFO: Extracted packet for processing {"connection_id":193293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:42:32] 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-25 03:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":193293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:42:32] local.INFO: GPS data processed {"connection_id":193293,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:42:32] local.INFO: Acknowledgment sent {"connection_id":193293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:43:04] local.INFO: TCP Data received {"connection_id":193293,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:04] local.INFO: Processing buffer {"connection_id":193293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:04] local.INFO: Packet analysis {"connection_id":193293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:43:04] local.INFO: Extracted packet for processing {"connection_id":193293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:43: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-25 03:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:43: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-25 03:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:43: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-25 03:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:43: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-25 03:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":193293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:43:04] local.INFO: GPS data processed {"connection_id":193293,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:43:04] local.INFO: Acknowledgment sent {"connection_id":193293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:43:26] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:26] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:26] local.INFO: IMEI packet received {"connection_id":191914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":191914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:43:32] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:32] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:43:32] local.INFO: IMEI packet received {"connection_id":191914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":191914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:43:32] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:32] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:43:32] local.INFO: Packet analysis {"connection_id":191914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:43:32] local.INFO: Extracted packet for processing {"connection_id":191914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:43:32] 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-25 03:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":191914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:43:32] local.INFO: GPS data processed {"connection_id":191914,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:43:32] local.INFO: Acknowledgment sent {"connection_id":191914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:44:04] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:44:04] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d576a670012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:44:04] local.INFO: Packet analysis {"connection_id":191914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:44:04] local.INFO: Extracted packet for processing {"connection_id":191914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d576"} 
[2026-09-25 03:44: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-25 03:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313578752001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44: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-25 03:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790287718000,"timestamp_ms":1790287718000,"timestamp_seconds":1790287718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d576a670"} 
[2026-09-25 03:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:44: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-25 03:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:44: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-25 03:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313578752001,"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-25 03:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313578752001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:44: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-25 03:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313578752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":191914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:44:04] local.INFO: GPS data processed {"connection_id":191914,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:44:04] local.INFO: Acknowledgment sent {"connection_id":191914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:44:32] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:32] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:32] local.INFO: IMEI packet received {"connection_id":193294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":193294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:44:37] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:37] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:44:37] local.INFO: IMEI packet received {"connection_id":193294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":193294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:44:38] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:38] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:38] local.INFO: Packet analysis {"connection_id":193294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:44:38] local.INFO: Extracted packet for processing {"connection_id":193294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03: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-25 03:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":193294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:44:38] local.INFO: GPS data processed {"connection_id":193294,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:44:38] local.INFO: Acknowledgment sent {"connection_id":193294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:44:42] local.INFO: TCP Data received {"connection_id":193294,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:42] local.INFO: Processing buffer {"connection_id":193294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:44:42] local.INFO: Packet analysis {"connection_id":193294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:44:42] local.INFO: Extracted packet for processing {"connection_id":193294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:44: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:44: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-25 03:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:44: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-25 03:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":193294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:44:42] local.INFO: GPS data processed {"connection_id":193294,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:44:42] local.INFO: Acknowledgment sent {"connection_id":193294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:45:21] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:45:21] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:45:21] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:45:27] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:27] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:27] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:45:32] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:32] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:45:32] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:45:32] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:45:32] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:45:32] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:45:32] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:45:32] 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-25 03:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03: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-25 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:45:33] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:45:33] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:46:04] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:04] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:04] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:46:04] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03: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-25 03:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:46:04] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:46:04] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:46:05] local.INFO: TCP Data received {"connection_id":194586,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:46:05] local.INFO: Processing buffer {"connection_id":194586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:46:05] local.INFO: IMEI packet received {"connection_id":194586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":194586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:46:26] local.INFO: TCP Data received {"connection_id":193295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:26] local.INFO: Processing buffer {"connection_id":193295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:26] local.INFO: IMEI packet received {"connection_id":193295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":193295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:46:32] local.INFO: TCP Data received {"connection_id":193295,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:32] local.INFO: Processing buffer {"connection_id":193295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:46:32] local.INFO: IMEI packet received {"connection_id":193295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":193295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:46:33] local.INFO: TCP Data received {"connection_id":193295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:33] local.INFO: Processing buffer {"connection_id":193295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:46:33] local.INFO: Packet analysis {"connection_id":193295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:46:33] local.INFO: Extracted packet for processing {"connection_id":193295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03: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-25 03:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:46:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":193295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:46:33] local.INFO: GPS data processed {"connection_id":193295,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:46:33] local.INFO: Acknowledgment sent {"connection_id":193295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:47:04] local.INFO: TCP Data received {"connection_id":193295,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:04] local.INFO: Processing buffer {"connection_id":193295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:04] local.INFO: Packet analysis {"connection_id":193295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:47:04] local.INFO: Extracted packet for processing {"connection_id":193295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03: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-25 03:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:47: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-25 03:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":193295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:47:04] local.INFO: GPS data processed {"connection_id":193295,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:47:04] local.INFO: Acknowledgment sent {"connection_id":193295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:47:26] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:26] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:26] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:47:31] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:31] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:47:31] local.INFO: IMEI packet received {"connection_id":191737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":191737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:47:32] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:32] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:47:32] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:47:32] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:47:32] 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-25 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:47:32] 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":893531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:47:32] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:47:32] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:48:03] local.INFO: TCP Data received {"connection_id":191737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:03] local.INFO: Processing buffer {"connection_id":191737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:03] local.INFO: Packet analysis {"connection_id":191737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:48:03] local.INFO: Extracted packet for processing {"connection_id":191737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:48: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48: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-25 03:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:48: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-25 03:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:48:03] 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":893532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:48:03] local.INFO: GPS data processed {"connection_id":191737,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:48:03] local.INFO: Acknowledgment sent {"connection_id":191737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:48:26] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:26] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:26] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:48:31] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:31] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:48:31] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:48:32] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:32] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:48:32] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:48:32] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:48:32] 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-25 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:48:32] 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":893533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:48:32] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:48:32] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:49:05] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:49:05] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57b3e38012d34c14006aa4940000900f530..."} 
[2026-09-25 03:49:05] local.INFO: Packet analysis {"connection_id":191738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03:49:05] local.INFO: Extracted packet for processing {"connection_id":191738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57b"} 
[2026-09-25 03: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790288019000,"timestamp_ms":1790288019000,"timestamp_seconds":1790288019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57b3e38"} 
[2026-09-25 03: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-25 03:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:49: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-25 03: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-25 03: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-25 03:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49: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-25 03:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313655808001,"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-25 03:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313655808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:49:05] 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":893534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:49:05] local.INFO: GPS data processed {"connection_id":191738,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:49:05] local.INFO: Acknowledgment sent {"connection_id":191738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:49:32] local.INFO: TCP Data received {"connection_id":194588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:32] local.INFO: Processing buffer {"connection_id":194588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:32] local.INFO: IMEI packet received {"connection_id":194588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":194588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:49:37] local.INFO: TCP Data received {"connection_id":194588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:37] local.INFO: Processing buffer {"connection_id":194588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:49:37] local.INFO: IMEI packet received {"connection_id":194588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":194588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:49:39] local.INFO: TCP Data received {"connection_id":194588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:39] local.INFO: Processing buffer {"connection_id":194588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:39] local.INFO: Packet analysis {"connection_id":194588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:49:39] local.INFO: Extracted packet for processing {"connection_id":194588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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-25 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:49: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-25 03:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49: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-25 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":194588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:49:39] local.INFO: GPS data processed {"connection_id":194588,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:49:39] local.INFO: Acknowledgment sent {"connection_id":194588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:49:42] local.INFO: TCP Data received {"connection_id":194588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:42] local.INFO: Processing buffer {"connection_id":194588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:49:42] local.INFO: Packet analysis {"connection_id":194588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:49:42] local.INFO: Extracted packet for processing {"connection_id":194588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:49: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:49: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-25 03:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":194588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:49:42] local.INFO: GPS data processed {"connection_id":194588,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:49:42] local.INFO: Acknowledgment sent {"connection_id":194588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:50:27] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:27] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:27] local.INFO: IMEI packet received {"connection_id":193297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":193297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:50:32] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:32] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:50:32] local.INFO: IMEI packet received {"connection_id":193297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":193297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:50:32] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:50:32] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:50:32] local.INFO: Packet analysis {"connection_id":193297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:50:32] local.INFO: Extracted packet for processing {"connection_id":193297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:50:32] 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-25 03:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:50:32] local.INFO: GPS data processed {"connection_id":193297,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:50:32] local.INFO: Acknowledgment sent {"connection_id":193297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:51:04] local.INFO: TCP Data received {"connection_id":193297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:04] local.INFO: Processing buffer {"connection_id":193297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:04] local.INFO: Packet analysis {"connection_id":193297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:51:04] local.INFO: Extracted packet for processing {"connection_id":193297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:51: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-25 03:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51: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-25 03:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:51: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-25 03:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:51: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-25 03:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":193297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:51:04] local.INFO: GPS data processed {"connection_id":193297,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:51:04] local.INFO: Acknowledgment sent {"connection_id":193297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:51:26] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:26] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:26] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:51:30] local.INFO: TCP Data received {"connection_id":191918,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:51:30] local.INFO: Processing buffer {"connection_id":191918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:51:30] local.INFO: IMEI packet received {"connection_id":191918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":191918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:51:32] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:32] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:51:32] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:51:32] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:32] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:51:32] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:51:32] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:51:32] 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-25 03:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:51:32] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:51:32] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:52:04] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:04] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:04] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:52:04] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03: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-25 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03: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-25 03: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-25 03:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:52: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-25 03:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:52:04] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:52:04] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:52:05] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:52:05] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:52:05] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:52:26] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:26] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:26] local.INFO: IMEI packet received {"connection_id":193298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":193298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:52:32] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:32] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:52:32] local.INFO: IMEI packet received {"connection_id":193298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":193298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:52:33] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:33] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:52:33] local.INFO: Packet analysis {"connection_id":193298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:52:33] local.INFO: Extracted packet for processing {"connection_id":193298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03: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-25 03:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:52: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-25 03: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-25 03: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-25 03:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:52: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-25 03:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":193298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:52:33] local.INFO: GPS data processed {"connection_id":193298,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:52:33] local.INFO: Acknowledgment sent {"connection_id":193298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:53:05] local.INFO: TCP Data received {"connection_id":193298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:05] local.INFO: Processing buffer {"connection_id":193298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:05] local.INFO: Packet analysis {"connection_id":193298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:53:05] local.INFO: Extracted packet for processing {"connection_id":193298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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-25 03: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-25 03:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03: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-25 03:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:53: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-25 03:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":193298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:53:05] local.INFO: GPS data processed {"connection_id":193298,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:53:05] local.INFO: Acknowledgment sent {"connection_id":193298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:53:26] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:26] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:26] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:53:32] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:32] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:53:32] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:53:33] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:33] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:53:33] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:53:33] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03: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-25 03:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:53: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-25 03: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-25 03: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-25 03:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:53: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-25 03:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:53:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:53:33] 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":893543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:53:33] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:53:33] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:54:05] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:05] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d57fd600012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:05] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03:54:05] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d57f"} 
[2026-09-25 03: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-25 03: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-25 03:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313732864001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790288320000,"timestamp_ms":1790288320000,"timestamp_seconds":1790288320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d57fd600"} 
[2026-09-25 03: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-25 03:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:54: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-25 03: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-25 03: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-25 03:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03: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-25 03:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313732864001,"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-25 03:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313732864001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:54:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:54:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313732864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:54:05] 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":893544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:54:05] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:54:05] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:54:32] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:32] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:32] local.INFO: IMEI packet received {"connection_id":191921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":191921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:54:37] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:37] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:54:37] local.INFO: IMEI packet received {"connection_id":191921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":191921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:54:37] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:37] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:37] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:54:37] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:54: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:54: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-25 03:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:54: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-25 03:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:54:37] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:54:37] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:54:42] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:42] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:54:42] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:54:42] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:54: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:54: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-25 03:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:54: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-25 03:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:54:42] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:54:42] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:55:27] local.INFO: TCP Data received {"connection_id":194591,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:27] local.INFO: Processing buffer {"connection_id":194591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:27] local.INFO: IMEI packet received {"connection_id":194591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":194591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:55:32] local.INFO: TCP Data received {"connection_id":194591,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:32] local.INFO: Processing buffer {"connection_id":194591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:55:32] local.INFO: IMEI packet received {"connection_id":194591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":194591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:55:34] local.INFO: TCP Data received {"connection_id":194591,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:55:34] local.INFO: Processing buffer {"connection_id":194591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:55:34] local.INFO: Packet analysis {"connection_id":194591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:55:34] local.INFO: Extracted packet for processing {"connection_id":194591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03: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-25 03:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:55: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-25 03:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":194591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:55:34] local.INFO: GPS data processed {"connection_id":194591,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:55:34] local.INFO: Acknowledgment sent {"connection_id":194591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:56:07] local.INFO: TCP Data received {"connection_id":194591,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:07] local.INFO: Processing buffer {"connection_id":194591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:07] local.INFO: Packet analysis {"connection_id":194591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:56:07] local.INFO: Extracted packet for processing {"connection_id":194591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03: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-25 03:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:56: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-25 03: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-25 03: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-25 03:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:56: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-25 03:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:56:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":194591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:56:07] local.INFO: GPS data processed {"connection_id":194591,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:56:07] local.INFO: Acknowledgment sent {"connection_id":194591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:56:26] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:26] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:26] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:56:32] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:32] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:56:32] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:56:33] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:33] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:56:33] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:56:33] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03: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-25 03: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-25 03:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03: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-25 03:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:56: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-25 03:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:56:33] 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":893549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:56:33] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:56:33] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:57:05] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:05] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:05] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:57:05] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03: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-25 03: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-25 03:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03: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-25 03: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-25 03: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:57: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-25 03: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-25 03: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-25 03:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:57: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-25 03:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:57:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:57:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:57:05] 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":893550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:57:05] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:57:05] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:57:26] local.INFO: TCP Data received {"connection_id":194592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:26] local.INFO: Processing buffer {"connection_id":194592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:26] local.INFO: IMEI packet received {"connection_id":194592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":194592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:57:30] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:57:30] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:57:30] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:57:32] local.INFO: TCP Data received {"connection_id":194592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:32] local.INFO: Processing buffer {"connection_id":194592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:57:32] local.INFO: IMEI packet received {"connection_id":194592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":194592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:57:32] local.INFO: TCP Data received {"connection_id":194592,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:32] local.INFO: Processing buffer {"connection_id":194592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:57:32] local.INFO: Packet analysis {"connection_id":194592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:57:32] local.INFO: Extracted packet for processing {"connection_id":194592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:57:32] 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-25 03:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:57: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-25 03:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 03:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 03:57: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-25 03:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"66":25473,"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-25 03:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":194592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:57:32] local.INFO: GPS data processed {"connection_id":194592,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:57:32] local.INFO: Acknowledgment sent {"connection_id":194592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:58:04] local.INFO: TCP Data received {"connection_id":194592,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:04] local.INFO: Processing buffer {"connection_id":194592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:04] local.INFO: Packet analysis {"connection_id":194592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:58:04] local.INFO: Extracted packet for processing {"connection_id":194592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03: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-25 03:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03: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-25 03:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03: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-25 03: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-25 03: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:58: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-25 03: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-25 03: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-25 03:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58:04] local.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-25 03:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"66":25473,"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-25 03:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03: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-25 03:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":194592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:58:04] local.INFO: GPS data processed {"connection_id":194592,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:58:04] local.INFO: Acknowledgment sent {"connection_id":194592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:58:05] local.INFO: TCP Data received {"connection_id":193300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:58:05] local.INFO: Processing buffer {"connection_id":193300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 03:58:05] local.INFO: IMEI packet received {"connection_id":193300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":193300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:58:31] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:31] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:31] local.INFO: IMEI packet received {"connection_id":191922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":191922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:58:37] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:37] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:58:37] local.INFO: IMEI packet received {"connection_id":191922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":191922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:58:38] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:38] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:38] local.INFO: Packet analysis {"connection_id":191922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:58:38] local.INFO: Extracted packet for processing {"connection_id":191922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:58: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:58: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-25 03:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58: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-25 03:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:58: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-25 03:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":191922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:58:38] local.INFO: GPS data processed {"connection_id":191922,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:58:38] local.INFO: Acknowledgment sent {"connection_id":191922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:58:42] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:42] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5846dc8012d34c14006aa4940000900f52f..."} 
[2026-09-25 03:58:42] local.INFO: Packet analysis {"connection_id":191922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:58:42] local.INFO: Extracted packet for processing {"connection_id":191922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d584"} 
[2026-09-25 03:58: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313809920001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790288621000,"timestamp_ms":1790288621000,"timestamp_seconds":1790288621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5846dc8"} 
[2026-09-25 03:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 03:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:58: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-25 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313809920001,"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-25 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313809920001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:58: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-25 03:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313809920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":191922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:58:42] local.INFO: GPS data processed {"connection_id":191922,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:58:42] local.INFO: Acknowledgment sent {"connection_id":191922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 03:59:26] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:26] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:26] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 03:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 03:59:31] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:31] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 03:59:31] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 03:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 03:59:32] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:59:32] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 03:59:32] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 03:59:32] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 03:59:32] 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-25 03:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 03:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 03:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 03:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 03:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 03:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 03:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 03:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 03:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 03:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 03:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 03:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 03:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 03:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 03:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 03:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 03:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 03:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 03:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 03:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 03:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 03:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 03:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 03:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 03:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 03:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 03:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 03:59:32] 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":893555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 03:59:32] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-25 03:59:32] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:00:04] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:04] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:04] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:00:04] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:00: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-25 04:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00: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-25 04:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:00: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-25 04:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:00: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-25 04:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:00:04] 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":893556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:00:04] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:00:04] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:00:26] local.INFO: TCP Data received {"connection_id":194593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:26] local.INFO: Processing buffer {"connection_id":194593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:26] local.INFO: IMEI packet received {"connection_id":194593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":194593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:00:31] local.INFO: TCP Data received {"connection_id":194593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:31] local.INFO: Processing buffer {"connection_id":194593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:00:31] local.INFO: IMEI packet received {"connection_id":194593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":194593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:00:32] local.INFO: TCP Data received {"connection_id":194593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:32] local.INFO: Processing buffer {"connection_id":194593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:00:32] local.INFO: Packet analysis {"connection_id":194593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:00:32] local.INFO: Extracted packet for processing {"connection_id":194593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:00:32] 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-25 04:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":194593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:00:32] local.INFO: GPS data processed {"connection_id":194593,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:00:32] local.INFO: Acknowledgment sent {"connection_id":194593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:01:04] local.INFO: TCP Data received {"connection_id":194593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:04] local.INFO: Processing buffer {"connection_id":194593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:04] local.INFO: Packet analysis {"connection_id":194593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:01:04] local.INFO: Extracted packet for processing {"connection_id":194593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04: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-25 04:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:01: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-25 04:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":194593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:01:04] local.INFO: GPS data processed {"connection_id":194593,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:01:04] local.INFO: Acknowledgment sent {"connection_id":194593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:01:26] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:26] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:26] local.INFO: IMEI packet received {"connection_id":191745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":191745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:01:31] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:31] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:01:31] local.INFO: IMEI packet received {"connection_id":191745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":191745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:01:32] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:32] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:01:32] local.INFO: Packet analysis {"connection_id":191745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:01:32] local.INFO: Extracted packet for processing {"connection_id":191745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:01:32] 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-25 04:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:01:32] local.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-25 04:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:01:32] 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":893559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:01:32] local.INFO: GPS data processed {"connection_id":191745,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:01:32] local.INFO: Acknowledgment sent {"connection_id":191745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:02:04] local.INFO: TCP Data received {"connection_id":191745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:04] local.INFO: Processing buffer {"connection_id":191745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:04] local.INFO: Packet analysis {"connection_id":191745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:02:04] local.INFO: Extracted packet for processing {"connection_id":191745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04: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-25 04: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-25 04:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04: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-25 04:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:02: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-25 04: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-25 04: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-25 04:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:02:04] 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":893560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:02:04] local.INFO: GPS data processed {"connection_id":191745,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:02:04] local.INFO: Acknowledgment sent {"connection_id":191745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:02:32] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:32] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:32] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:02:37] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:37] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:02:37] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:02:38] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:38] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:38] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:02:38] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:02: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-25 04:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04: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-25 04:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:02:38] 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":893561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:02:38] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:02:38] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:02:42] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:42] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:02:42] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:02:42] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:02: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-25 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:02: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-25 04:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:02: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-25 04:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:02:42] 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":893562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:02:42] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:02:42] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:03:26] local.INFO: TCP Data received {"connection_id":194596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:26] local.INFO: Processing buffer {"connection_id":194596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:26] local.INFO: IMEI packet received {"connection_id":194596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":194596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:03:30] local.INFO: TCP Data received {"connection_id":193302,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:03:30] local.INFO: Processing buffer {"connection_id":193302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:03:30] local.INFO: IMEI packet received {"connection_id":193302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":193302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:03:31] local.INFO: TCP Data received {"connection_id":194596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:31] local.INFO: Processing buffer {"connection_id":194596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:03:31] local.INFO: IMEI packet received {"connection_id":194596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":194596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:03:32] local.INFO: TCP Data received {"connection_id":194596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:03:32] local.INFO: Processing buffer {"connection_id":194596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:03:32] local.INFO: Packet analysis {"connection_id":194596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:03:32] local.INFO: Extracted packet for processing {"connection_id":194596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:03:32] 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-25 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":194596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:03:32] local.INFO: GPS data processed {"connection_id":194596,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:03:32] local.INFO: Acknowledgment sent {"connection_id":194596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:04:04] local.INFO: TCP Data received {"connection_id":194596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:04:04] local.INFO: Processing buffer {"connection_id":194596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5890590012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:04:04] local.INFO: Packet analysis {"connection_id":194596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04:04:04] local.INFO: Extracted packet for processing {"connection_id":194596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d589"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313886976001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790288922000,"timestamp_ms":1790288922000,"timestamp_seconds":1790288922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5890590"} 
[2026-09-25 04: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-25 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313886976001,"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-25 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313886976001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313886976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":194596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:04:04] local.INFO: GPS data processed {"connection_id":194596,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:04:04] local.INFO: Acknowledgment sent {"connection_id":194596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:04:05] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:04:05] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:04:05] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:04:27] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:27] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:27] local.INFO: IMEI packet received {"connection_id":191924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":191924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:04:32] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:32] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:04:32] local.INFO: IMEI packet received {"connection_id":191924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":191924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:04:33] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:04:33] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:04:33] local.INFO: Packet analysis {"connection_id":191924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:04:33] local.INFO: Extracted packet for processing {"connection_id":191924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04: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-25 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:04: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-25 04:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:04:33] local.INFO: GPS data processed {"connection_id":191924,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:04:33] local.INFO: Acknowledgment sent {"connection_id":191924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:05:04] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:04] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:04] local.INFO: Packet analysis {"connection_id":191924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:05:04] local.INFO: Extracted packet for processing {"connection_id":191924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04: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-25 04:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":191924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:05:04] local.INFO: GPS data processed {"connection_id":191924,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:05:04] local.INFO: Acknowledgment sent {"connection_id":191924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:05:26] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:26] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:26] local.INFO: IMEI packet received {"connection_id":193303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":193303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:05:31] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:31] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:05:31] local.INFO: IMEI packet received {"connection_id":193303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":193303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:05:32] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:32] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:05:32] local.INFO: Packet analysis {"connection_id":193303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:05:32] local.INFO: Extracted packet for processing {"connection_id":193303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:05:32] 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-25 04:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":193303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:05:32] local.INFO: GPS data processed {"connection_id":193303,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:05:32] local.INFO: Acknowledgment sent {"connection_id":193303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:06:04] local.INFO: TCP Data received {"connection_id":193303,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:04] local.INFO: Processing buffer {"connection_id":193303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:04] local.INFO: Packet analysis {"connection_id":193303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:06:04] local.INFO: Extracted packet for processing {"connection_id":193303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04: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-25 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06: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-25 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":193303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:06:04] local.INFO: GPS data processed {"connection_id":193303,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:06:04] local.INFO: Acknowledgment sent {"connection_id":193303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:06:31] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:31] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:31] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:06:37] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:37] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:06:37] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:06:39] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:39] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:39] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:06:39] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04: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-25 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:06: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-25 04: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-25 04: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-25 04:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06: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-25 04:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:06:39] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:06:39] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:06:42] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:42] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:06:42] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:06:42] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:06: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:06: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-25 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:06: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-25 04:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:06:42] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:06:42] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:07:26] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:26] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:26] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:07:32] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:32] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:07:32] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:07:32] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:07:32] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:07:32] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:07:32] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:07:32] 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-25 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:07:32] local.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-25 04:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:07:33] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:07:33] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:08:04] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:04] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:04] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:08:04] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:08: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08: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-25 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:08: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-25 04:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:08: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-25 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:08: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-25 04:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:08:04] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:08:04] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:08:27] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:27] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:27] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:08:31] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:31] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:08:31] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:08:32] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:32] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:08:32] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:08:32] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:08:32] 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-25 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:08:32] 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":893573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:08:32] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:08:32] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:09:03] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:09:03] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d58d9d58012d34c14006aa4940000900f530..."} 
[2026-09-25 04:09:03] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:09:03] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d58d"} 
[2026-09-25 04:09: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458313964032001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09: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-25 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790289223000,"timestamp_ms":1790289223000,"timestamp_seconds":1790289223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d58d9d58"} 
[2026-09-25 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458313964032001,"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-25 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458313964032001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:09: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-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458313964032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:09:03] 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":893574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:09:03] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:09:03] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:09:20] local.INFO: TCP Data received {"connection_id":194598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:09:20] local.INFO: Processing buffer {"connection_id":194598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:09:20] local.INFO: IMEI packet received {"connection_id":194598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":194598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:09:26] local.INFO: TCP Data received {"connection_id":194599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:26] local.INFO: Processing buffer {"connection_id":194599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:26] local.INFO: IMEI packet received {"connection_id":194599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":194599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:09:31] local.INFO: TCP Data received {"connection_id":194599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:31] local.INFO: Processing buffer {"connection_id":194599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:09:31] local.INFO: IMEI packet received {"connection_id":194599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":194599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:09:32] local.INFO: TCP Data received {"connection_id":194599,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:09:32] local.INFO: Processing buffer {"connection_id":194599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:09:32] local.INFO: Packet analysis {"connection_id":194599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:09:32] local.INFO: Extracted packet for processing {"connection_id":194599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:09: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-25 04:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"66":25462,"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-25 04:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":194599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:09:32] local.INFO: GPS data processed {"connection_id":194599,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:09:32] local.INFO: Acknowledgment sent {"connection_id":194599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:10:04] local.INFO: TCP Data received {"connection_id":194599,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:04] local.INFO: Processing buffer {"connection_id":194599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:04] local.INFO: Packet analysis {"connection_id":194599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:10:04] local.INFO: Extracted packet for processing {"connection_id":194599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04: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-25 04:10: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-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:10: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-25 04: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-25 04: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-25 04:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:10: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-25 04:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"66":25462,"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-25 04:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":194599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:10:04] local.INFO: GPS data processed {"connection_id":194599,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:10:04] local.INFO: Acknowledgment sent {"connection_id":194599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:10:05] local.INFO: TCP Data received {"connection_id":191927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:10:05] local.INFO: Processing buffer {"connection_id":191927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:10:05] local.INFO: IMEI packet received {"connection_id":191927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":191927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:10:26] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:26] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:26] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:10:31] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:31] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:10:31] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:10:32] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:32] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:10:32] local.INFO: Packet analysis {"connection_id":191928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:10:32] local.INFO: Extracted packet for processing {"connection_id":191928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"66":25462,"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-25 04:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":191928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:10:32] local.INFO: GPS data processed {"connection_id":191928,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:10:32] local.INFO: Acknowledgment sent {"connection_id":191928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:11:04] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:04] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:04] local.INFO: Packet analysis {"connection_id":191928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:11:04] local.INFO: Extracted packet for processing {"connection_id":191928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:11: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-25 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11: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-25 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11: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-25 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"66":25462,"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-25 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:11: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-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":191928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:11:04] local.INFO: GPS data processed {"connection_id":191928,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:11:04] local.INFO: Acknowledgment sent {"connection_id":191928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:11:31] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:31] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:31] local.INFO: IMEI packet received {"connection_id":191930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":191930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:11:37] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:37] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:11:37] local.INFO: IMEI packet received {"connection_id":191930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":191930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:11:38] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:38] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:38] local.INFO: Packet analysis {"connection_id":191930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:11:38] local.INFO: Extracted packet for processing {"connection_id":191930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04: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-25 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04: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-25 04:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11: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-25 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":191930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:11:38] local.INFO: GPS data processed {"connection_id":191930,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:11:38] local.INFO: Acknowledgment sent {"connection_id":191930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:11:42] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:42] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:11:42] local.INFO: Packet analysis {"connection_id":191930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:11:42] local.INFO: Extracted packet for processing {"connection_id":191930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:11: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:11: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-25 04:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":191930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:11:42] local.INFO: GPS data processed {"connection_id":191930,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:11:42] local.INFO: Acknowledgment sent {"connection_id":191930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:12:26] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:26] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:26] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:12:31] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:31] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:12:31] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:12:32] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:12:32] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:12:32] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:12:32] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:12: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-25 04:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:12:32] 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":893581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:12:32] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:12:32] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:13:05] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:05] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:05] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:13:05] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04: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-25 04:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:13: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-25 04:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:13: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":893582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:13:05] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:13:05] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:13:26] local.INFO: TCP Data received {"connection_id":194600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:26] local.INFO: Processing buffer {"connection_id":194600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:26] local.INFO: IMEI packet received {"connection_id":194600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":194600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:13:31] local.INFO: TCP Data received {"connection_id":194600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:31] local.INFO: Processing buffer {"connection_id":194600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:13:31] local.INFO: IMEI packet received {"connection_id":194600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":194600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:13:32] local.INFO: TCP Data received {"connection_id":194600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:32] local.INFO: Processing buffer {"connection_id":194600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:13:32] local.INFO: Packet analysis {"connection_id":194600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:13:32] local.INFO: Extracted packet for processing {"connection_id":194600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:13: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-25 04:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":194600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:13:32] local.INFO: GPS data processed {"connection_id":194600,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:13:32] local.INFO: Acknowledgment sent {"connection_id":194600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:14:04] local.INFO: TCP Data received {"connection_id":194600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:14:04] local.INFO: Processing buffer {"connection_id":194600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5923520012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:14:04] local.INFO: Packet analysis {"connection_id":194600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04:14:04] local.INFO: Extracted packet for processing {"connection_id":194600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d592"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314041088001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289524000,"timestamp_ms":1790289524000,"timestamp_seconds":1790289524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5923520"} 
[2026-09-25 04: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-25 04: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-25 04:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:14: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-25 04:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314041088001,"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-25 04:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314041088001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314041088001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":194600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:14:04] local.INFO: GPS data processed {"connection_id":194600,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:14:04] local.INFO: Acknowledgment sent {"connection_id":194600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:14:26] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:26] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:26] local.INFO: IMEI packet received {"connection_id":191931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:14:32] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:32] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:14:32] local.INFO: IMEI packet received {"connection_id":191931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:14:33] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:14:33] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:14:33] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:14:33] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:14: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-25 04:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:14: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-25 04:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:14:33] local.INFO: GPS data processed {"connection_id":191931,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:14:33] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:15:04] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:04] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:04] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:15:04] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:15: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15: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-25 04:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:15: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-25 04:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:15: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-25 04:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:15: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-25 04:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:15:04] local.INFO: GPS data processed {"connection_id":191931,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:15:04] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:15:26] local.INFO: TCP Data received {"connection_id":193306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:26] local.INFO: Processing buffer {"connection_id":193306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:26] local.INFO: IMEI packet received {"connection_id":193306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":193306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:15:31] local.INFO: TCP Data received {"connection_id":193306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:31] local.INFO: Processing buffer {"connection_id":193306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:15:31] local.INFO: IMEI packet received {"connection_id":193306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":193306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:15:32] local.INFO: TCP Data received {"connection_id":193306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:32] local.INFO: Processing buffer {"connection_id":193306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:15:32] local.INFO: Packet analysis {"connection_id":193306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:15:32] local.INFO: Extracted packet for processing {"connection_id":193306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:15:32] 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-25 04:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":193306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:15:32] local.INFO: GPS data processed {"connection_id":193306,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:15:32] local.INFO: Acknowledgment sent {"connection_id":193306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:15:35] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:15:35] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:15:35] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:16:04] local.INFO: TCP Data received {"connection_id":193306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:04] local.INFO: Processing buffer {"connection_id":193306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:04] local.INFO: Packet analysis {"connection_id":193306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:16:04] local.INFO: Extracted packet for processing {"connection_id":193306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:16: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16: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-25 04:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:16: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-25 04:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:16: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-25 04:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":193306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:16:04] local.INFO: GPS data processed {"connection_id":193306,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:16:04] local.INFO: Acknowledgment sent {"connection_id":193306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:16:05] local.INFO: TCP Data received {"connection_id":194602,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:16:05] local.INFO: Processing buffer {"connection_id":194602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:16:05] local.INFO: IMEI packet received {"connection_id":194602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":194602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:16:31] local.INFO: TCP Data received {"connection_id":194603,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:31] local.INFO: Processing buffer {"connection_id":194603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:31] local.INFO: IMEI packet received {"connection_id":194603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":194603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:16:36] local.INFO: TCP Data received {"connection_id":194603,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:36] local.INFO: Processing buffer {"connection_id":194603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:16:36] local.INFO: IMEI packet received {"connection_id":194603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":194603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:16:39] local.INFO: TCP Data received {"connection_id":194603,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:39] local.INFO: Processing buffer {"connection_id":194603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:39] local.INFO: Packet analysis {"connection_id":194603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:16:39] local.INFO: Extracted packet for processing {"connection_id":194603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04: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-25 04:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04: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-25 04:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":194603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:16:39] local.INFO: GPS data processed {"connection_id":194603,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:16:39] local.INFO: Acknowledgment sent {"connection_id":194603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:16:42] local.INFO: TCP Data received {"connection_id":194603,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:42] local.INFO: Processing buffer {"connection_id":194603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:16:42] local.INFO: Packet analysis {"connection_id":194603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:16:42] local.INFO: Extracted packet for processing {"connection_id":194603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:16: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:16: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-25 04:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:16: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-25 04:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:16: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-25 04:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":194603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:16:42] local.INFO: GPS data processed {"connection_id":194603,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:16:42] local.INFO: Acknowledgment sent {"connection_id":194603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:17:27] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:27] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:27] local.INFO: IMEI packet received {"connection_id":193307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":193307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:17:31] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:31] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:17:31] local.INFO: IMEI packet received {"connection_id":193307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":193307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:17:32] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:17:32] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:17:32] local.INFO: Packet analysis {"connection_id":193307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:17:32] local.INFO: Extracted packet for processing {"connection_id":193307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:17:32] 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-25 04:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:17:32] 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-25 04:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":193307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:17:32] local.INFO: GPS data processed {"connection_id":193307,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:17:32] local.INFO: Acknowledgment sent {"connection_id":193307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:18:04] local.INFO: TCP Data received {"connection_id":193307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:04] local.INFO: Processing buffer {"connection_id":193307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:04] local.INFO: Packet analysis {"connection_id":193307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:18:04] local.INFO: Extracted packet for processing {"connection_id":193307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:18: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:18: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-25 04:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:18: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-25 04:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:18: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-25 04:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:18: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-25 04:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":193307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:18:04] local.INFO: GPS data processed {"connection_id":193307,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:18:04] local.INFO: Acknowledgment sent {"connection_id":193307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:18:27] local.INFO: TCP Data received {"connection_id":194604,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:27] local.INFO: Processing buffer {"connection_id":194604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:27] local.INFO: IMEI packet received {"connection_id":194604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":194604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:18:32] local.INFO: TCP Data received {"connection_id":194604,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:32] local.INFO: Processing buffer {"connection_id":194604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:18:32] local.INFO: IMEI packet received {"connection_id":194604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":194604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:18:33] local.INFO: TCP Data received {"connection_id":194604,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:33] local.INFO: Processing buffer {"connection_id":194604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:18:33] local.INFO: Packet analysis {"connection_id":194604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:18:33] local.INFO: Extracted packet for processing {"connection_id":194604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04: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-25 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:18: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-25 04: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-25 04: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-25 04:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:18: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-25 04:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":194604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:18:33] local.INFO: GPS data processed {"connection_id":194604,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:18:33] local.INFO: Acknowledgment sent {"connection_id":194604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:19:05] local.INFO: TCP Data received {"connection_id":194604,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:19:05] local.INFO: Processing buffer {"connection_id":194604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d596cce8012d34c14006aa4940000900f530..."} 
[2026-09-25 04:19:05] local.INFO: Packet analysis {"connection_id":194604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04:19:05] local.INFO: Extracted packet for processing {"connection_id":194604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d596"} 
[2026-09-25 04: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790289825000,"timestamp_ms":1790289825000,"timestamp_seconds":1790289825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d596cce8"} 
[2026-09-25 04: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-25 04:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:19: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-25 04: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-25 04: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-25 04:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04: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-25 04:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314118144001,"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-25 04:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314118144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":194604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:19:05] local.INFO: GPS data processed {"connection_id":194604,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:19:05] local.INFO: Acknowledgment sent {"connection_id":194604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:19:26] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:26] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:26] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:19:31] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:31] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:19:31] local.INFO: IMEI packet received {"connection_id":191756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":191756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:19:32] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:19:32] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:19:32] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:19:32] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:19:32] 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-25 04:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:19: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-25 04:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:19:32] 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":893595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:19:32] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:19:32] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:20:04] local.INFO: TCP Data received {"connection_id":191756,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:04] local.INFO: Processing buffer {"connection_id":191756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:04] local.INFO: Packet analysis {"connection_id":191756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:20:04] local.INFO: Extracted packet for processing {"connection_id":191756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04: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-25 04: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-25 04:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:20: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-25 04:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:20:04] 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":893596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:20:04] local.INFO: GPS data processed {"connection_id":191756,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:20:04] local.INFO: Acknowledgment sent {"connection_id":191756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:20:26] local.INFO: TCP Data received {"connection_id":194606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:26] local.INFO: Processing buffer {"connection_id":194606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:26] local.INFO: IMEI packet received {"connection_id":194606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":194606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:20:32] local.INFO: TCP Data received {"connection_id":194606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:32] local.INFO: Processing buffer {"connection_id":194606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:20:32] local.INFO: IMEI packet received {"connection_id":194606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":194606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:20:33] local.INFO: TCP Data received {"connection_id":194606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:33] local.INFO: Processing buffer {"connection_id":194606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:20:33] local.INFO: Packet analysis {"connection_id":194606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:20:33] local.INFO: Extracted packet for processing {"connection_id":194606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04: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-25 04:20: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-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:20: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-25 04: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-25 04: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-25 04:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:20: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-25 04:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:20:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:20:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":194606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:20:33] local.INFO: GPS data processed {"connection_id":194606,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:20:33] local.INFO: Acknowledgment sent {"connection_id":194606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:21:05] local.INFO: TCP Data received {"connection_id":194606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:05] local.INFO: Processing buffer {"connection_id":194606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:05] local.INFO: Packet analysis {"connection_id":194606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:21:05] local.INFO: Extracted packet for processing {"connection_id":194606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04: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-25 04:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:21: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-25 04:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:21:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":194606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:21:05] local.INFO: GPS data processed {"connection_id":194606,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:21:05] local.INFO: Acknowledgment sent {"connection_id":194606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:21:27] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:27] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:27] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:21:31] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:31] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:21:31] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:21:32] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:32] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:21:32] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:21:32] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:21:32] 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-25 04:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:21:32] 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":893599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:21:32] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:21:32] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:21:35] local.INFO: TCP Data received {"connection_id":194607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:21:35] local.INFO: Processing buffer {"connection_id":194607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:21:35] local.INFO: IMEI packet received {"connection_id":194607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":194607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:22:04] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:04] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:04] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:22:04] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:22: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-25 04:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:22: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-25 04:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:22: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-25 04:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:22: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-25 04:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:22:04] 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":893600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:22:04] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:22:04] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:22:15] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:22:15] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:22:15] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:22:26] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:26] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:26] local.INFO: IMEI packet received {"connection_id":191933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":191933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:22:32] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:32] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:22:32] local.INFO: IMEI packet received {"connection_id":191933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":191933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:22:33] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:33] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:22:33] local.INFO: Packet analysis {"connection_id":191933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:22:33] local.INFO: Extracted packet for processing {"connection_id":191933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:22: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-25 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:22: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-25 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:22: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-25 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:22: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-25 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:22: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-25 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:22: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-25 04:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":191933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:22:33] local.INFO: GPS data processed {"connection_id":191933,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:22:33] local.INFO: Acknowledgment sent {"connection_id":191933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:23:07] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:07] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:07] local.INFO: Packet analysis {"connection_id":191933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:23:07] local.INFO: Extracted packet for processing {"connection_id":191933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 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-25 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 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-25 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:23: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-25 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 04:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":191933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:23:07] local.INFO: GPS data processed {"connection_id":191933,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:23:07] local.INFO: Acknowledgment sent {"connection_id":191933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:23:26] local.INFO: TCP Data received {"connection_id":194608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:26] local.INFO: Processing buffer {"connection_id":194608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:26] local.INFO: IMEI packet received {"connection_id":194608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":194608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:23:31] local.INFO: TCP Data received {"connection_id":194608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:31] local.INFO: Processing buffer {"connection_id":194608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:23:31] local.INFO: IMEI packet received {"connection_id":194608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":194608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:23:32] local.INFO: TCP Data received {"connection_id":194608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:32] local.INFO: Processing buffer {"connection_id":194608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:23:32] local.INFO: Packet analysis {"connection_id":194608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:23:32] local.INFO: Extracted packet for processing {"connection_id":194608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:23:32] 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-25 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:23: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-25 04:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:23:32] local.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-25 04:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":194608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:23:32] local.INFO: GPS data processed {"connection_id":194608,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:23:32] local.INFO: Acknowledgment sent {"connection_id":194608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:24:04] local.INFO: TCP Data received {"connection_id":194608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:24:04] local.INFO: Processing buffer {"connection_id":194608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59b64b0012d34c14006aa4940000900f52f..."} 
[2026-09-25 04:24:04] local.INFO: Packet analysis {"connection_id":194608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:24:04] local.INFO: Extracted packet for processing {"connection_id":194608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59b"} 
[2026-09-25 04:24: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-25 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314195200001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:24: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-25 04:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290126000,"timestamp_ms":1790290126000,"timestamp_seconds":1790290126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59b64b0"} 
[2026-09-25 04:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:24: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-25 04:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314195200001,"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-25 04:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314195200001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:24: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-25 04:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314195200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":194608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:24:04] local.INFO: GPS data processed {"connection_id":194608,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:24:04] local.INFO: Acknowledgment sent {"connection_id":194608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:24:26] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:26] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:26] local.INFO: IMEI packet received {"connection_id":191934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":191934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:24:31] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:31] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:24:31] local.INFO: IMEI packet received {"connection_id":191934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":191934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:24:33] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:24:33] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:24:33] local.INFO: Packet analysis {"connection_id":191934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:24:33] local.INFO: Extracted packet for processing {"connection_id":191934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04: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-25 04: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-25 04: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:24: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-25 04: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-25 04: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-25 04:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:24: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-25 04:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":191934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:24:33] local.INFO: GPS data processed {"connection_id":191934,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:24:33] local.INFO: Acknowledgment sent {"connection_id":191934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:25:04] local.INFO: TCP Data received {"connection_id":191934,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:04] local.INFO: Processing buffer {"connection_id":191934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:04] local.INFO: Packet analysis {"connection_id":191934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:25:04] local.INFO: Extracted packet for processing {"connection_id":191934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:25: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-25 04:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25: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-25 04:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:25: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-25 04:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:25: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-25 04:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:25: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-25 04:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:25: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-25 04:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":191934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:25:04] local.INFO: GPS data processed {"connection_id":191934,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:25:04] local.INFO: Acknowledgment sent {"connection_id":191934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:25:26] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:26] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:26] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:25:31] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:31] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:25:31] local.INFO: IMEI packet received {"connection_id":191759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":191759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:25:32] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:32] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:25:32] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:25:32] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:25: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-25 04:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:25:32] local.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-25 04:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"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-25 04:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:25:32] 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":893607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:25:32] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:25:32] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:26:04] local.INFO: TCP Data received {"connection_id":191759,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:04] local.INFO: Processing buffer {"connection_id":191759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:04] local.INFO: Packet analysis {"connection_id":191759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:26:04] local.INFO: Extracted packet for processing {"connection_id":191759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:26: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-25 04: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-25 04:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26: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-25 04:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04: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-25 04:26: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-25 04:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:26: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-25 04: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-25 04: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-25 04:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:26: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-25 04:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"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-25 04:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:26:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:26: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-25 04:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:26:04] 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":893608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:26:04] local.INFO: GPS data processed {"connection_id":191759,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:26:04] local.INFO: Acknowledgment sent {"connection_id":191759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:26:27] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:27] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:27] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:26:31] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:31] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:26:31] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:26:32] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:32] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:26:32] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:26:32] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:26: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-25 04:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:26:32] 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":893609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:26:32] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:26:32] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:27:04] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:04] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:04] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:27:04] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04: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-25 04: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-25 04:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04: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-25 04:27: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-25 04: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:27: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-25 04: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-25 04: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-25 04:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:27: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-25 04:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:27:04] 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":893610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:27:04] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:27:04] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:27:26] local.INFO: TCP Data received {"connection_id":194610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:26] local.INFO: Processing buffer {"connection_id":194610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:26] local.INFO: IMEI packet received {"connection_id":194610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":194610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:27:31] local.INFO: TCP Data received {"connection_id":194610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:31] local.INFO: Processing buffer {"connection_id":194610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:27:31] local.INFO: IMEI packet received {"connection_id":194610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":194610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:27:32] local.INFO: TCP Data received {"connection_id":194610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:32] local.INFO: Processing buffer {"connection_id":194610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:27:32] local.INFO: Packet analysis {"connection_id":194610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:27:32] local.INFO: Extracted packet for processing {"connection_id":194610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:27: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-25 04:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":194610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:27:32] local.INFO: GPS data processed {"connection_id":194610,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:27:32] local.INFO: Acknowledgment sent {"connection_id":194610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:27:45] local.INFO: TCP Data received {"connection_id":194609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:27:45] local.INFO: Processing buffer {"connection_id":194609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:27:45] local.INFO: IMEI packet received {"connection_id":194609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":194609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:28:04] local.INFO: TCP Data received {"connection_id":194610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:04] local.INFO: Processing buffer {"connection_id":194610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:04] local.INFO: Packet analysis {"connection_id":194610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:28:04] local.INFO: Extracted packet for processing {"connection_id":194610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:28: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-25 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28: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-25 04:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:28: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-25 04:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:28: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-25 04:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:28: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-25 04:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":194610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:28:04] local.INFO: GPS data processed {"connection_id":194610,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:28:04] local.INFO: Acknowledgment sent {"connection_id":194610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:28:05] local.INFO: TCP Data received {"connection_id":191936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:28:05] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:28:05] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:28:26] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:26] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:26] local.INFO: IMEI packet received {"connection_id":193312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":193312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:28:31] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:31] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:28:31] local.INFO: IMEI packet received {"connection_id":193312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:28:32] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:32] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:28:32] local.INFO: Packet analysis {"connection_id":193312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:28:32] local.INFO: Extracted packet for processing {"connection_id":193312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:28:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:28: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-25 04:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":193312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:28:32] local.INFO: GPS data processed {"connection_id":193312,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:28:32] local.INFO: Acknowledgment sent {"connection_id":193312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:29:04] local.INFO: TCP Data received {"connection_id":193312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:29:04] local.INFO: Processing buffer {"connection_id":193312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d59ffc78012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:29:04] local.INFO: Packet analysis {"connection_id":193312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:29:04] local.INFO: Extracted packet for processing {"connection_id":193312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d59f"} 
[2026-09-25 04:29: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-25 04:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314272256001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29: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-25 04:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290427000,"timestamp_ms":1790290427000,"timestamp_seconds":1790290427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d59ffc78"} 
[2026-09-25 04:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 04:29: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-25 04:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:29: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-25 04:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314272256001,"66":25462,"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-25 04:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314272256001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:29: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-25 04:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314272256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":193312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:29:04] local.INFO: GPS data processed {"connection_id":193312,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:29:04] local.INFO: Acknowledgment sent {"connection_id":193312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:29:26] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:26] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:26] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:29:27] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:27] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:27] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:29:31] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:31] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:29:31] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:29:32] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:29:32] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:29:32] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:29:32] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:29:32] 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-25 04:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:29: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-25 04:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:29:32] 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":893615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:29:32] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:29:32] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:30:04] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:04] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:04] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:30:04] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04: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-25 04: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:30: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-25 04: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-25 04: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-25 04:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:30: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-25 04:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:30:04] 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":893616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:30:04] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:30:04] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:30:26] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:26] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:26] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:30:31] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:31] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:30:31] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:30:33] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:33] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:30:33] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:30:33] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04: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-25 04: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:30: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-25 04: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-25 04: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-25 04:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:30: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-25 04:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:30:33] 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":893617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:30:33] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:30:33] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:31:05] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:05] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:05] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:31:05] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04: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-25 04: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:31: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-25 04: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-25 04: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-25 04:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:31: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-25 04:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:31:05] 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":893618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:31:05] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:31:05] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:31:27] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:27] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:27] local.INFO: IMEI packet received {"connection_id":193315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":193315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:31:31] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:31] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:31:31] local.INFO: IMEI packet received {"connection_id":193315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":193315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:31:33] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:33] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:31:33] local.INFO: Packet analysis {"connection_id":193315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:31:33] local.INFO: Extracted packet for processing {"connection_id":193315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04: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-25 04: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:31: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-25 04: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-25 04: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-25 04:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:31: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-25 04:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:31:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:31:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":193315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:31:33] local.INFO: GPS data processed {"connection_id":193315,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:31:33] local.INFO: Acknowledgment sent {"connection_id":193315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:32:04] local.INFO: TCP Data received {"connection_id":193315,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:04] local.INFO: Processing buffer {"connection_id":193315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:04] local.INFO: Packet analysis {"connection_id":193315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:32:04] local.INFO: Extracted packet for processing {"connection_id":193315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:32: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-25 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:32: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-25 04:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:32: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-25 04:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:32: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-25 04:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":193315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:32:04] local.INFO: GPS data processed {"connection_id":193315,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:32:04] local.INFO: Acknowledgment sent {"connection_id":193315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:32:26] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:26] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:26] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:32:32] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:32] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:32:32] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:32:33] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:33] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:32:33] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:32:33] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04: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-25 04:32: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:32: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-25 04: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-25 04: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-25 04:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:32: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-25 04:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:32:33] 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":893621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:32:33] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:32:33] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:33:04] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:04] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:04] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:33:04] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:33: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-25 04:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:33: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-25 04:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:33: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-25 04:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:33: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-25 04:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:33: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-25 04:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:33:04] 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":893622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:33:04] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:33:04] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:33:21] local.INFO: TCP Data received {"connection_id":193316,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:33:21] local.INFO: Processing buffer {"connection_id":193316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:33:21] local.INFO: IMEI packet received {"connection_id":193316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":193316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:33:26] local.INFO: TCP Data received {"connection_id":194611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:26] local.INFO: Processing buffer {"connection_id":194611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:26] local.INFO: IMEI packet received {"connection_id":194611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":194611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:33:31] local.INFO: TCP Data received {"connection_id":194611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:31] local.INFO: Processing buffer {"connection_id":194611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:33:31] local.INFO: IMEI packet received {"connection_id":194611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":194611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:33:38] local.INFO: TCP Data received {"connection_id":194611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:38] local.INFO: Processing buffer {"connection_id":194611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:33:38] local.INFO: Packet analysis {"connection_id":194611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:33:38] local.INFO: Extracted packet for processing {"connection_id":194611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04: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-25 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:33: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-25 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":194611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:33:38] local.INFO: GPS data processed {"connection_id":194611,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:33:38] local.INFO: Acknowledgment sent {"connection_id":194611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:34:08] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:34:08] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:34:08] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:34:10] local.INFO: TCP Data received {"connection_id":194611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:34:10] local.INFO: Processing buffer {"connection_id":194611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a49440012d34c14006aa4940000900f52c..."} 
[2026-09-25 04:34:10] local.INFO: Packet analysis {"connection_id":194611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04:34:10] local.INFO: Extracted packet for processing {"connection_id":194611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a4"} 
[2026-09-25 04: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-25 04:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314349312001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790290728000,"timestamp_ms":1790290728000,"timestamp_seconds":1790290728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a49440"} 
[2026-09-25 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:34: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-25 04:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314349312001,"66":25441,"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-25 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314349312001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314349312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":194611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:34:10] local.INFO: GPS data processed {"connection_id":194611,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:34:10] local.INFO: Acknowledgment sent {"connection_id":194611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:34:27] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:27] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:27] local.INFO: IMEI packet received {"connection_id":191939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":191939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:34:32] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:32] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:32] local.INFO: IMEI packet received {"connection_id":191939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":191939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:34:37] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:37] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:34:37] local.INFO: IMEI packet received {"connection_id":191939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":191939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:34:39] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:39] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:39] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:34:39] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04: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-25 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:34: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-25 04: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-25 04: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-25 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34: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-25 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:34:39] local.INFO: GPS data processed {"connection_id":191939,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:34:39] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:34:42] local.INFO: TCP Data received {"connection_id":191939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:42] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:34:42] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:34:42] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:34: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04: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-25 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:34: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-25 04:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:34: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-25 04:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:34:42] local.INFO: GPS data processed {"connection_id":191939,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:34:42] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:35:26] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:26] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:26] local.INFO: IMEI packet received {"connection_id":193317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":193317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:35:31] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:31] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:35:31] local.INFO: IMEI packet received {"connection_id":193317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":193317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:35:32] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:35:32] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:35:32] local.INFO: Packet analysis {"connection_id":193317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:35:32] local.INFO: Extracted packet for processing {"connection_id":193317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:35: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-25 04:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 04:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:35: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-25 04:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":193317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:35:32] local.INFO: GPS data processed {"connection_id":193317,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:35:32] local.INFO: Acknowledgment sent {"connection_id":193317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:36:04] local.INFO: TCP Data received {"connection_id":193317,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:04] local.INFO: Processing buffer {"connection_id":193317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:04] local.INFO: Packet analysis {"connection_id":193317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:36:04] local.INFO: Extracted packet for processing {"connection_id":193317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:36: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-25 04:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:36: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-25 04:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:36: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-25 04:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:36: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-25 04:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:36: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-25 04:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":193317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:36:04] local.INFO: GPS data processed {"connection_id":193317,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:36:04] local.INFO: Acknowledgment sent {"connection_id":193317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:36:26] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:26] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:26] local.INFO: IMEI packet received {"connection_id":191940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":191940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:36:31] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:31] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:36:31] local.INFO: IMEI packet received {"connection_id":191940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":191940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:36:33] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:33] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:36:33] local.INFO: Packet analysis {"connection_id":191940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:36:33] local.INFO: Extracted packet for processing {"connection_id":191940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04: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-25 04: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-25 04:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:36: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-25 04:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:36:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:36:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":191940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:36:33] local.INFO: GPS data processed {"connection_id":191940,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:36:33] local.INFO: Acknowledgment sent {"connection_id":191940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:37:04] local.INFO: TCP Data received {"connection_id":191940,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:04] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:04] local.INFO: Packet analysis {"connection_id":191940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:37:04] local.INFO: Extracted packet for processing {"connection_id":191940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:37: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-25 04:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37: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-25 04:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:37: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-25 04:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:37: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-25 04:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":191940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:37:04] local.INFO: GPS data processed {"connection_id":191940,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:37:04] local.INFO: Acknowledgment sent {"connection_id":191940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:37:26] local.INFO: TCP Data received {"connection_id":194612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:26] local.INFO: Processing buffer {"connection_id":194612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:26] local.INFO: IMEI packet received {"connection_id":194612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":194612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:37:31] local.INFO: TCP Data received {"connection_id":194612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:31] local.INFO: Processing buffer {"connection_id":194612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:37:31] local.INFO: IMEI packet received {"connection_id":194612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":194612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:37:32] local.INFO: TCP Data received {"connection_id":194612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:32] local.INFO: Processing buffer {"connection_id":194612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:37:32] local.INFO: Packet analysis {"connection_id":194612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:37:32] local.INFO: Extracted packet for processing {"connection_id":194612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":194612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:37:32] local.INFO: GPS data processed {"connection_id":194612,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:37:32] local.INFO: Acknowledgment sent {"connection_id":194612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:38:04] local.INFO: TCP Data received {"connection_id":194612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:04] local.INFO: Processing buffer {"connection_id":194612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:04] local.INFO: Packet analysis {"connection_id":194612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:38:04] local.INFO: Extracted packet for processing {"connection_id":194612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:38: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-25 04:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38: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-25 04:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:38: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-25 04:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:38: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-25 04:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":194612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:38:04] local.INFO: GPS data processed {"connection_id":194612,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:38:04] local.INFO: Acknowledgment sent {"connection_id":194612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:38:26] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:26] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:26] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:38:31] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:31] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:38:31] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:38:32] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:32] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:38:32] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:38:32] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:38: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-25 04:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:38:32] 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":893633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:38:32] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:38:32] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:39:05] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:05] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5a92c08012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:05] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04:39:05] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5a9"} 
[2026-09-25 04: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-25 04: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-25 04:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314426368001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790291029000,"timestamp_ms":1790291029000,"timestamp_seconds":1790291029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5a92c08"} 
[2026-09-25 04: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-25 04:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39: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-25 04:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314426368001,"66":25462,"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-25 04:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314426368001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:39:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314426368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:39:05] 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":893634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:39:05] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:39:05] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:39:28] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:28] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:28] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:39:30] local.INFO: TCP Data received {"connection_id":194613,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:39:30] local.INFO: Processing buffer {"connection_id":194613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:39:30] local.INFO: IMEI packet received {"connection_id":194613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":194613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:39:31] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:31] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:31] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:39:36] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:36] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:39:36] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:39:38] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:38] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:38] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:39:38] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04: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-25 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04: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-25 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39: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-25 04:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"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-25 04:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:39:38] 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":893635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:39:38] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:39:38] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:39:42] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:42] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:39:42] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:39:42] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:39: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:39: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-25 04:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"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-25 04:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:39: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-25 04:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:39:42] 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":893636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:39:42] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:39:42] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:40:05] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:40:05] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:40:05] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:40:26] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:26] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:26] local.INFO: IMEI packet received {"connection_id":191943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":191943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:40:31] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:31] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:40:31] local.INFO: IMEI packet received {"connection_id":191943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":191943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:40:32] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:40:32] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:40:32] local.INFO: Packet analysis {"connection_id":191943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:40:32] local.INFO: Extracted packet for processing {"connection_id":191943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":191943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:40:32] local.INFO: GPS data processed {"connection_id":191943,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:40:32] local.INFO: Acknowledgment sent {"connection_id":191943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:41:04] local.INFO: TCP Data received {"connection_id":191943,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:04] local.INFO: Processing buffer {"connection_id":191943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:04] local.INFO: Packet analysis {"connection_id":191943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:41:04] local.INFO: Extracted packet for processing {"connection_id":191943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04: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-25 04: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-25 04:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04: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-25 04:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:41: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-25 04:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":191943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:41:04] local.INFO: GPS data processed {"connection_id":191943,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:41:04] local.INFO: Acknowledgment sent {"connection_id":191943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:41:26] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:26] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:26] local.INFO: IMEI packet received {"connection_id":191944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:41:31] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:31] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:41:31] local.INFO: IMEI packet received {"connection_id":191944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":191944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:41:33] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:33] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:41:33] local.INFO: Packet analysis {"connection_id":191944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:41:33] local.INFO: Extracted packet for processing {"connection_id":191944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04: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-25 04: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-25 04:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04: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-25 04: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-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:41: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-25 04: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-25 04: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-25 04:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:41: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-25 04:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:41:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:41:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":191944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:41:33] local.INFO: GPS data processed {"connection_id":191944,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:41:33] local.INFO: Acknowledgment sent {"connection_id":191944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:42:04] local.INFO: TCP Data received {"connection_id":191944,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:04] local.INFO: Processing buffer {"connection_id":191944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:04] local.INFO: Packet analysis {"connection_id":191944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:42:04] local.INFO: Extracted packet for processing {"connection_id":191944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:42: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-25 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42: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-25 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:42: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-25 04:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:42: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-25 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":191944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:42:04] local.INFO: GPS data processed {"connection_id":191944,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:42:04] local.INFO: Acknowledgment sent {"connection_id":191944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:42:26] local.INFO: TCP Data received {"connection_id":194614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:26] local.INFO: Processing buffer {"connection_id":194614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:26] local.INFO: IMEI packet received {"connection_id":194614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":194614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:42:31] local.INFO: TCP Data received {"connection_id":194614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:31] local.INFO: Processing buffer {"connection_id":194614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:42:31] local.INFO: IMEI packet received {"connection_id":194614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":194614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:42:32] local.INFO: TCP Data received {"connection_id":194614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:32] local.INFO: Processing buffer {"connection_id":194614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:42:32] local.INFO: Packet analysis {"connection_id":194614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:42:32] local.INFO: Extracted packet for processing {"connection_id":194614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:42: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-25 04:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"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-25 04:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":194614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:42:32] local.INFO: GPS data processed {"connection_id":194614,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:42:32] local.INFO: Acknowledgment sent {"connection_id":194614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:43:04] local.INFO: TCP Data received {"connection_id":194614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:04] local.INFO: Processing buffer {"connection_id":194614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:04] local.INFO: Packet analysis {"connection_id":194614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:43:04] local.INFO: Extracted packet for processing {"connection_id":194614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:43: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-25 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:43: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-25 04:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:43: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-25 04:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"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-25 04:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:43: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-25 04:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":194614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:43:04] local.INFO: GPS data processed {"connection_id":194614,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:43:04] local.INFO: Acknowledgment sent {"connection_id":194614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:43:26] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:26] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:26] local.INFO: IMEI packet received {"connection_id":193320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":193320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:43:31] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:31] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:43:31] local.INFO: IMEI packet received {"connection_id":193320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:43:32] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:32] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:43:32] local.INFO: Packet analysis {"connection_id":193320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:43:32] local.INFO: Extracted packet for processing {"connection_id":193320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:43: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-25 04:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:43:32] 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-25 04:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":193320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:43:32] local.INFO: GPS data processed {"connection_id":193320,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:43:32] local.INFO: Acknowledgment sent {"connection_id":193320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:44:04] local.INFO: TCP Data received {"connection_id":193320,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:44:04] local.INFO: Processing buffer {"connection_id":193320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5adc3d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 04:44:04] local.INFO: Packet analysis {"connection_id":193320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:44:04] local.INFO: Extracted packet for processing {"connection_id":193320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ad"} 
[2026-09-25 04:44: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-25 04:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314503424001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:44: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-25 04:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291330000,"timestamp_ms":1790291330000,"timestamp_seconds":1790291330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5adc3d0"} 
[2026-09-25 04:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:44: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-25 04:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:44: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-25 04:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314503424001,"66":25441,"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-25 04:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314503424001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:44: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-25 04:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314503424001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":193320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:44:04] local.INFO: GPS data processed {"connection_id":193320,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:44:04] local.INFO: Acknowledgment sent {"connection_id":193320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:44:30] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:30] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:30] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:44:31] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:31] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:31] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:44:36] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:36] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:44:36] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:44:38] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:44:38] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:44:38] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:44:38] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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-25 04: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-25 04:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:44: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-25 04:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:44:38] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:44:38] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:45:11] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:11] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:11] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:45:11] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:45: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-25 04:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:45: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-25 04:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:45: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-25 04:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:45: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-25 04:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:45: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-25 04:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:45: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-25 04:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:45:11] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:45:11] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:45:25] local.INFO: TCP Data received {"connection_id":194615,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:45:25] local.INFO: Processing buffer {"connection_id":194615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:45:25] local.INFO: IMEI packet received {"connection_id":194615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":194615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:45:26] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:26] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:26] local.INFO: IMEI packet received {"connection_id":193321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":193321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:45:31] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:31] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:45:31] local.INFO: IMEI packet received {"connection_id":193321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":193321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:45:33] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:33] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:45:33] local.INFO: Packet analysis {"connection_id":193321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:45:33] local.INFO: Extracted packet for processing {"connection_id":193321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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-25 04: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-25 04:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04: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-25 04: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-25 04:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:45: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-25 04:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:45:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":193321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:45:33] local.INFO: GPS data processed {"connection_id":193321,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:45:33] local.INFO: Acknowledgment sent {"connection_id":193321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:46:04] local.INFO: TCP Data received {"connection_id":193321,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:04] local.INFO: Processing buffer {"connection_id":193321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:04] local.INFO: Packet analysis {"connection_id":193321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:46:04] local.INFO: Extracted packet for processing {"connection_id":193321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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-25 04: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-25 04:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:46: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-25 04:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":193321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:46:04] local.INFO: GPS data processed {"connection_id":193321,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:46:04] local.INFO: Acknowledgment sent {"connection_id":193321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:46:05] local.INFO: TCP Data received {"connection_id":194616,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:46:05] local.INFO: Processing buffer {"connection_id":194616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:46:05] local.INFO: IMEI packet received {"connection_id":194616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":194616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:46:26] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:26] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:26] local.INFO: IMEI packet received {"connection_id":193322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":193322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:46:31] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:31] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:46:31] local.INFO: IMEI packet received {"connection_id":193322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":193322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:46:32] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:32] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:46:32] local.INFO: Packet analysis {"connection_id":193322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:46:32] local.INFO: Extracted packet for processing {"connection_id":193322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:46:32] 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-25 04:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:46: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-25 04:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":193322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:46:32] local.INFO: GPS data processed {"connection_id":193322,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:46:32] local.INFO: Acknowledgment sent {"connection_id":193322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:47:04] local.INFO: TCP Data received {"connection_id":193322,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:04] local.INFO: Processing buffer {"connection_id":193322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:04] local.INFO: Packet analysis {"connection_id":193322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:47:04] local.INFO: Extracted packet for processing {"connection_id":193322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04:47: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":193322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:47:04] local.INFO: GPS data processed {"connection_id":193322,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:47:04] local.INFO: Acknowledgment sent {"connection_id":193322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:47:26] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:26] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:26] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:47:31] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:31] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:47:31] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:47:33] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:33] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:47:33] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:47:33] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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-25 04: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-25 04:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04: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-25 04: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-25 04:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:47: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-25 04:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:47:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:47:33] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:47:33] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:48:04] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:04] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:04] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:48:04] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04: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-25 04: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-25 04:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04: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-25 04: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-25 04: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48: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-25 04:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:48:04] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:48:04] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:48:32] local.INFO: TCP Data received {"connection_id":193323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:32] local.INFO: Processing buffer {"connection_id":193323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:32] local.INFO: IMEI packet received {"connection_id":193323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":193323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:48:37] local.INFO: TCP Data received {"connection_id":193323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:37] local.INFO: Processing buffer {"connection_id":193323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:48:37] local.INFO: IMEI packet received {"connection_id":193323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":193323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:48:38] local.INFO: TCP Data received {"connection_id":193323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:38] local.INFO: Processing buffer {"connection_id":193323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:38] local.INFO: Packet analysis {"connection_id":193323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:48:38] local.INFO: Extracted packet for processing {"connection_id":193323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:48: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-25 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:48: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-25 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":193323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:48:38] local.INFO: GPS data processed {"connection_id":193323,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:48:38] local.INFO: Acknowledgment sent {"connection_id":193323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:48:42] local.INFO: TCP Data received {"connection_id":193323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:42] local.INFO: Processing buffer {"connection_id":193323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b25b98012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:48:42] local.INFO: Packet analysis {"connection_id":193323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:48:42] local.INFO: Extracted packet for processing {"connection_id":193323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:48: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-25 04:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314580480001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790291631000,"timestamp_ms":1790291631000,"timestamp_seconds":1790291631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b25b98"} 
[2026-09-25 04:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 04:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:48: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-25 04:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314580480001,"66":25462,"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-25 04:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314580480001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:48: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-25 04:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314580480001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":193323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:48:42] local.INFO: GPS data processed {"connection_id":193323,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:48:42] local.INFO: Acknowledgment sent {"connection_id":193323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:49:26] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:26] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:26] local.INFO: IMEI packet received {"connection_id":193324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":193324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:49:30] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:30] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:49:30] local.INFO: IMEI packet received {"connection_id":193324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":193324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:49:31] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:49:31] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:49:31] local.INFO: Packet analysis {"connection_id":193324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:49:31] local.INFO: Extracted packet for processing {"connection_id":193324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:49: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-25 04:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:49: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-25 04:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:49:31] 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-25 04:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:49: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-25 04:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":193324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:49:32] local.INFO: GPS data processed {"connection_id":193324,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:49:32] local.INFO: Acknowledgment sent {"connection_id":193324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:50:03] local.INFO: TCP Data received {"connection_id":193324,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:03] local.INFO: Processing buffer {"connection_id":193324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:03] local.INFO: Packet analysis {"connection_id":193324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:50:03] local.INFO: Extracted packet for processing {"connection_id":193324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:50: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-25 04:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50: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-25 04:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:50:03] 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-25 04:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:50: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-25 04:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":193324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:50:04] local.INFO: GPS data processed {"connection_id":193324,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:50:04] local.INFO: Acknowledgment sent {"connection_id":193324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:50:26] local.INFO: TCP Data received {"connection_id":194618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:26] local.INFO: Processing buffer {"connection_id":194618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:26] local.INFO: IMEI packet received {"connection_id":194618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":194618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:50:31] local.INFO: TCP Data received {"connection_id":194618,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:31] local.INFO: Processing buffer {"connection_id":194618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:50:31] local.INFO: IMEI packet received {"connection_id":194618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":194618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:50:32] local.INFO: TCP Data received {"connection_id":194618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:32] local.INFO: Processing buffer {"connection_id":194618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:50:32] local.INFO: Packet analysis {"connection_id":194618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:50:32] local.INFO: Extracted packet for processing {"connection_id":194618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:50:32] 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-25 04:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:50: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-25 04:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":194618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:50:32] local.INFO: GPS data processed {"connection_id":194618,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:50:32] local.INFO: Acknowledgment sent {"connection_id":194618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:51:04] local.INFO: TCP Data received {"connection_id":194618,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:04] local.INFO: Processing buffer {"connection_id":194618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:04] local.INFO: Packet analysis {"connection_id":194618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:51:04] local.INFO: Extracted packet for processing {"connection_id":194618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:51: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-25 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51: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-25 04:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:51: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-25 04:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:51: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-25 04:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:51: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-25 04:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":194618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:51:04] local.INFO: GPS data processed {"connection_id":194618,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:51:04] local.INFO: Acknowledgment sent {"connection_id":194618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:51:25] local.INFO: TCP Data received {"connection_id":193325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:51:25] local.INFO: Processing buffer {"connection_id":193325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:51:25] local.INFO: IMEI packet received {"connection_id":193325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":193325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:51:26] local.INFO: TCP Data received {"connection_id":191776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:26] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:26] local.INFO: IMEI packet received {"connection_id":191776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":191776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:51:31] local.INFO: TCP Data received {"connection_id":191776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:31] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:51:31] local.INFO: IMEI packet received {"connection_id":191776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":191776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:51:32] local.INFO: TCP Data received {"connection_id":191776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:32] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:51:32] local.INFO: Packet analysis {"connection_id":191776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:51:32] local.INFO: Extracted packet for processing {"connection_id":191776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:51:32] 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-25 04:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:51: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-25 04:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:51:32] 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-25 04:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:51:32] 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":893659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:51:32] local.INFO: GPS data processed {"connection_id":191776,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:51:32] local.INFO: Acknowledgment sent {"connection_id":191776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:52:04] local.INFO: TCP Data received {"connection_id":191776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:04] local.INFO: Processing buffer {"connection_id":191776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:04] local.INFO: Packet analysis {"connection_id":191776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:52:04] local.INFO: Extracted packet for processing {"connection_id":191776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04: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-25 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:52: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-25 04: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-25 04: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-25 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:52: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-25 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:52:04] 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":893660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:52:04] local.INFO: GPS data processed {"connection_id":191776,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:52:04] local.INFO: Acknowledgment sent {"connection_id":191776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:52:05] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:52:05] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:52:05] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:52:26] local.INFO: TCP Data received {"connection_id":194619,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:26] local.INFO: Processing buffer {"connection_id":194619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:26] local.INFO: IMEI packet received {"connection_id":194619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":194619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:52:31] local.INFO: TCP Data received {"connection_id":194619,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:31] local.INFO: Processing buffer {"connection_id":194619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:52:31] local.INFO: IMEI packet received {"connection_id":194619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":194619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:52:32] local.INFO: TCP Data received {"connection_id":194619,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:32] local.INFO: Processing buffer {"connection_id":194619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:52:32] local.INFO: Packet analysis {"connection_id":194619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:52:32] local.INFO: Extracted packet for processing {"connection_id":194619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:52:32] 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-25 04:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:52: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-25 04:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 04:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:52:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":194619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:52:32] local.INFO: GPS data processed {"connection_id":194619,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:52:32] local.INFO: Acknowledgment sent {"connection_id":194619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:53:04] local.INFO: TCP Data received {"connection_id":194619,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:04] local.INFO: Processing buffer {"connection_id":194619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:04] local.INFO: Packet analysis {"connection_id":194619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:53:04] local.INFO: Extracted packet for processing {"connection_id":194619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04: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-25 04:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:53: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-25 04: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-25 04: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-25 04:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53: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-25 04:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":194619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:53:04] local.INFO: GPS data processed {"connection_id":194619,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:53:04] local.INFO: Acknowledgment sent {"connection_id":194619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:53:31] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:31] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:31] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:53:36] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:36] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:53:36] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:53:38] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:38] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:38] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:53:38] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04: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-25 04: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-25 04:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04: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-25 04: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-25 04:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53: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-25 04:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:53:38] 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":893663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:53:38] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:53:38] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:53:42] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:42] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b6f360012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:53:42] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04:53:42] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b6"} 
[2026-09-25 04: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-25 04: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-25 04:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314657536001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790291932000,"timestamp_ms":1790291932000,"timestamp_seconds":1790291932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b6f360"} 
[2026-09-25 04: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-25 04: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-25 04: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-25 04: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-25 04: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-25 04: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-25 04:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314657536001,"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-25 04:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314657536001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314657536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:53:42] 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":893664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:53:42] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:53:42] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:54:26] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:26] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:26] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:54:31] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:31] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:54:31] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:54:33] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:54:33] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:54:33] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:54:33] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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-25 04: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-25 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04: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-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:54: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-25 04: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-25 04: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-25 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:54: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-25 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:54:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:54:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:54:33] 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":893665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:54:33] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:54:33] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:55:05] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:05] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:05] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:55:05] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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-25 04: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-25 04:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04: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-25 04:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:55: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-25 04:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:55:05] 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":893666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:55:05] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:55:05] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:55:26] local.INFO: TCP Data received {"connection_id":194621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:26] local.INFO: Processing buffer {"connection_id":194621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:26] local.INFO: IMEI packet received {"connection_id":194621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":194621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:55:31] local.INFO: TCP Data received {"connection_id":194621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:31] local.INFO: Processing buffer {"connection_id":194621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:55:31] local.INFO: IMEI packet received {"connection_id":194621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":194621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:55:32] local.INFO: TCP Data received {"connection_id":194621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:32] local.INFO: Processing buffer {"connection_id":194621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:55:32] local.INFO: Packet analysis {"connection_id":194621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:55:32] local.INFO: Extracted packet for processing {"connection_id":194621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:55:32] 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-25 04:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:55: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-25 04:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":194621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:55:32] local.INFO: GPS data processed {"connection_id":194621,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:55:32] local.INFO: Acknowledgment sent {"connection_id":194621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:56:04] local.INFO: TCP Data received {"connection_id":194621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:04] local.INFO: Processing buffer {"connection_id":194621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:04] local.INFO: Packet analysis {"connection_id":194621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:56:04] local.INFO: Extracted packet for processing {"connection_id":194621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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-25 04: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-25 04:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04: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-25 04:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":194621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:56:04] local.INFO: GPS data processed {"connection_id":194621,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:56:04] local.INFO: Acknowledgment sent {"connection_id":194621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:56:26] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:26] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:26] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:56:31] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:31] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:56:31] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:56:32] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:32] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:56:32] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:56:32] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:56:32] 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-25 04:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:56: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-25 04:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:56:32] 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":893669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:56:32] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:56:32] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:57:04] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:04] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:04] local.INFO: Packet analysis {"connection_id":191779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57:04] local.INFO: Extracted packet for processing {"connection_id":191779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57: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-25 04:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:57:04] 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":893670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:57:04] local.INFO: GPS data processed {"connection_id":191779,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:57:04] local.INFO: Acknowledgment sent {"connection_id":191779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:57:25] local.INFO: TCP Data received {"connection_id":194622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:57:25] local.INFO: Processing buffer {"connection_id":194622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:57:25] local.INFO: IMEI packet received {"connection_id":194622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":194622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:57:31] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:31] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:31] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:57:36] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:36] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:57:36] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:57:38] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:38] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:38] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57:38] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57: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-25 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:57: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-25 04:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57: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-25 04:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:57: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-25 04:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:57:38] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:57:38] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:57:42] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:42] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:42] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57:42] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57: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-25 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57: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-25 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:57: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-25 04:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:57:42] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:57:42] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:57:47] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:47] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:57:47] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57:47] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:57: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:57: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-25 04:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:57:47] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:57:47] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:58:05] local.INFO: TCP Data received {"connection_id":194623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:05] local.INFO: Processing buffer {"connection_id":194623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:05] local.INFO: IMEI packet received {"connection_id":194623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":194623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:58:10] local.INFO: TCP Data received {"connection_id":194623,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:10] local.INFO: Processing buffer {"connection_id":194623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:10] local.INFO: IMEI packet received {"connection_id":194623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":194623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:58:11] local.INFO: TCP Data received {"connection_id":194623,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5b23c58012d34290006abbd00000700d730..."} 
[2026-09-25 04:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5b23c58012d34290006abbd00000700d730..."} 
[2026-09-25 04:58:11] local.INFO: Processing buffer {"connection_id":194623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5b23c58012d34290006abbd00000700d730..."} 
[2026-09-25 04:58:11] local.INFO: Packet analysis {"connection_id":194623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:58:11] local.INFO: Extracted packet for processing {"connection_id":194623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5b2"} 
[2026-09-25 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 04:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314578432001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790291623000,"timestamp_ms":1790291623000,"timestamp_seconds":1790291623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5b23c58"} 
[2026-09-25 04:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 04:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 04:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 04:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 04:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 04:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 04:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314578432001,"66":25430,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 04:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 04:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 04:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314578432001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:58:11] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 04:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 04:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314578432001,"power":25430,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 04:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":194623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:58:12] local.INFO: GPS data processed {"connection_id":194623,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:58:12] local.INFO: Acknowledgment sent {"connection_id":194623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:58:27] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:27] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:27] local.INFO: IMEI packet received {"connection_id":193328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":193328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:58:31] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:31] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:58:31] local.INFO: IMEI packet received {"connection_id":193328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":193328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:58:32] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:32] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:32] local.INFO: Packet analysis {"connection_id":193328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:58:32] local.INFO: Extracted packet for processing {"connection_id":193328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:58:32] 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-25 04:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:58: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-25 04:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:58:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":193328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:58:32] local.INFO: GPS data processed {"connection_id":193328,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:58:32] local.INFO: Acknowledgment sent {"connection_id":193328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:58:37] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:37] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:58:37] local.INFO: Packet analysis {"connection_id":193328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:58:37] local.INFO: Extracted packet for processing {"connection_id":193328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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-25 04: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-25 04:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04: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-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:58: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-25 04: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-25 04: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-25 04:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:58: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-25 04:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":193328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:58:37] local.INFO: GPS data processed {"connection_id":193328,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:58:37] local.INFO: Acknowledgment sent {"connection_id":193328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:58:55] local.INFO: TCP Data received {"connection_id":194624,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:55] local.INFO: Processing buffer {"connection_id":194624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 04:58:55] local.INFO: IMEI packet received {"connection_id":194624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 04:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":194624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:59:08] local.INFO: TCP Data received {"connection_id":193328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:08] local.INFO: Processing buffer {"connection_id":193328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:08] local.INFO: Packet analysis {"connection_id":193328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:59:08] local.INFO: Extracted packet for processing {"connection_id":193328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 04: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-25 04:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04: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-25 04:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04: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-25 04:59: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-25 04: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04: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-25 04: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-25 04:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:59: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-25 04:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04: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-25 04:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":193328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:59:08] local.INFO: GPS data processed {"connection_id":193328,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:59:08] local.INFO: Acknowledgment sent {"connection_id":193328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 04:59:26] local.INFO: TCP Data received {"connection_id":194625,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:26] local.INFO: Processing buffer {"connection_id":194625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:26] local.INFO: IMEI packet received {"connection_id":194625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 04:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":194625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 04:59:31] local.INFO: TCP Data received {"connection_id":194625,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:31] local.INFO: Processing buffer {"connection_id":194625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 04:59:31] local.INFO: IMEI packet received {"connection_id":194625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 04:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":194625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 04:59:32] local.INFO: TCP Data received {"connection_id":194625,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:32] local.INFO: Processing buffer {"connection_id":194625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5bb8b28012d34c14006aa4940000900f52e..."} 
[2026-09-25 04:59:32] local.INFO: Packet analysis {"connection_id":194625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:59:32] local.INFO: Extracted packet for processing {"connection_id":194625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5bb"} 
[2026-09-25 04:59:32] 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-25 04:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 04:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314734592001,"note":"Value kept but may cause issues"} 
[2026-09-25 04:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 04:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 04:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 04:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292233000,"timestamp_ms":1790292233000,"timestamp_seconds":1790292233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5bb8b28"} 
[2026-09-25 04:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 04:59: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-25 04:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 04:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 04:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 04:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 04:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 04:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 04:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 04:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 04:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 04:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 04:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314734592001,"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-25 04:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 04:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 04:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314734592001,"description":"Unknown IO ID 0"} 
[2026-09-25 04:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 04:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 04:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 04:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 04:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314734592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 04:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":194625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 04:59:32] local.INFO: GPS data processed {"connection_id":194625,"processed":1,"errors":0,"total":1} 
[2026-09-25 04:59:32] local.INFO: Acknowledgment sent {"connection_id":194625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:00:04] local.INFO: TCP Data received {"connection_id":194625,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:04] local.INFO: Processing buffer {"connection_id":194625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:04] local.INFO: Packet analysis {"connection_id":194625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:00:04] local.INFO: Extracted packet for processing {"connection_id":194625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:00: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00: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-25 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:00: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-25 05:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:00: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-25 05:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:00: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-25 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:00: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-25 05:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":194625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:00:04] local.INFO: GPS data processed {"connection_id":194625,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:00:04] local.INFO: Acknowledgment sent {"connection_id":194625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:00:26] local.INFO: TCP Data received {"connection_id":191951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:26] local.INFO: Processing buffer {"connection_id":191951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:26] local.INFO: IMEI packet received {"connection_id":191951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":191951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:00:31] local.INFO: TCP Data received {"connection_id":191951,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:31] local.INFO: Processing buffer {"connection_id":191951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:00:31] local.INFO: IMEI packet received {"connection_id":191951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":191951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:00:32] local.INFO: TCP Data received {"connection_id":191951,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:32] local.INFO: Processing buffer {"connection_id":191951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:00:32] local.INFO: Packet analysis {"connection_id":191951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:00:32] local.INFO: Extracted packet for processing {"connection_id":191951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:00:32] 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-25 05:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:00: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-25 05:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":191951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:00:32] local.INFO: GPS data processed {"connection_id":191951,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:00:32] local.INFO: Acknowledgment sent {"connection_id":191951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:01:04] local.INFO: TCP Data received {"connection_id":191951,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:04] local.INFO: Processing buffer {"connection_id":191951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:04] local.INFO: Packet analysis {"connection_id":191951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:01:04] local.INFO: Extracted packet for processing {"connection_id":191951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05: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-25 05:01: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-25 05:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01: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-25 05:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":191951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:01:04] local.INFO: GPS data processed {"connection_id":191951,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:01:04] local.INFO: Acknowledgment sent {"connection_id":191951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:01:31] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:31] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:31] local.INFO: IMEI packet received {"connection_id":193330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":193330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:01:36] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:36] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:01:36] local.INFO: IMEI packet received {"connection_id":193330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":193330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:01:38] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:38] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:38] local.INFO: Packet analysis {"connection_id":193330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:01:38] local.INFO: Extracted packet for processing {"connection_id":193330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:01: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-25 05:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:01: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-25 05:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01: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-25 05:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:01: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-25 05:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":193330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:01:38] local.INFO: GPS data processed {"connection_id":193330,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:01:38] local.INFO: Acknowledgment sent {"connection_id":193330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:01:43] local.INFO: TCP Data received {"connection_id":193330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:43] local.INFO: Processing buffer {"connection_id":193330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:01:43] local.INFO: Packet analysis {"connection_id":193330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:01:43] local.INFO: Extracted packet for processing {"connection_id":193330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:01: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-25 05: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-25 05:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05: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-25 05:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:01: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-25 05:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:01: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-25 05:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":193330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:01:43] local.INFO: GPS data processed {"connection_id":193330,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:01:43] local.INFO: Acknowledgment sent {"connection_id":193330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:02:26] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:26] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:26] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:02:31] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:31] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:02:31] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:02:32] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:02:32] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:02:32] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:02:32] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:02:32] 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-25 05:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:02:32] 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":893684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:02:32] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:02:32] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:03:04] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:04] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:04] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:03:04] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05: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-25 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:03: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-25 05: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-25 05: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-25 05:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:03:04] local.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-25 05:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:03:04] 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":893685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:03:04] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:03:04] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:03:27] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:27] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:27] local.INFO: IMEI packet received {"connection_id":191952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":191952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:03:31] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:31] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:03:31] local.INFO: IMEI packet received {"connection_id":191952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":191952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:03:33] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:33] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:03:33] local.INFO: Packet analysis {"connection_id":191952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:03:33] local.INFO: Extracted packet for processing {"connection_id":191952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05: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-25 05:03: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-25 05: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:03: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-25 05: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-25 05: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-25 05:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:03: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-25 05:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:03:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":191952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:03:33] local.INFO: GPS data processed {"connection_id":191952,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:03:33] local.INFO: Acknowledgment sent {"connection_id":191952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:04:04] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:04] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:04] local.INFO: Packet analysis {"connection_id":191952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:04:04] local.INFO: Extracted packet for processing {"connection_id":191952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05: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-25 05:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":191952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:04:04] local.INFO: GPS data processed {"connection_id":191952,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:04:04] local.INFO: Acknowledgment sent {"connection_id":191952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:04:26] local.INFO: TCP Data received {"connection_id":193333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:04:26] local.INFO: Processing buffer {"connection_id":193333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:04:26] local.INFO: IMEI packet received {"connection_id":193333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":193333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:04:26] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:26] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:26] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:04:31] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:31] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:04:31] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:04:32] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:32] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c022f0012d34c14006aa4940000900f530..."} 
[2026-09-25 05:04:32] local.INFO: Packet analysis {"connection_id":191953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:04:32] local.INFO: Extracted packet for processing {"connection_id":191953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:04:32] 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-25 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314811648001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292534000,"timestamp_ms":1790292534000,"timestamp_seconds":1790292534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c022f0"} 
[2026-09-25 05:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:04: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-25 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314811648001,"66":25419,"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-25 05:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314811648001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314811648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":191953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:04:32] local.INFO: GPS data processed {"connection_id":191953,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:04:32] local.INFO: Acknowledgment sent {"connection_id":191953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:05:04] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:04] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:04] local.INFO: Packet analysis {"connection_id":191953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:05:04] local.INFO: Extracted packet for processing {"connection_id":191953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05: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-25 05:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:05: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-25 05:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"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-25 05:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":191953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:05:04] local.INFO: GPS data processed {"connection_id":191953,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:05:04] local.INFO: Acknowledgment sent {"connection_id":191953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:05:05] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:05:05] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:05:05] local.INFO: IMEI packet received {"connection_id":191954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":191954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:05:26] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:26] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:26] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:05:31] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:31] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:05:31] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:05:32] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:32] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:05:32] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:05:32] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:05:32] 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-25 05:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:05: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-25 05:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"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-25 05:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:05:32] 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":893690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:05:32] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:05:32] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:06:04] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:04] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:04] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:06:04] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05: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-25 05: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-25 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"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-25 05:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:06:04] 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":893691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:06:04] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:06:04] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:06:31] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:31] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:31] local.INFO: IMEI packet received {"connection_id":191955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":191955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:06:36] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:36] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:06:36] local.INFO: IMEI packet received {"connection_id":191955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":191955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:06:38] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:38] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:38] local.INFO: Packet analysis {"connection_id":191955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:06:38] local.INFO: Extracted packet for processing {"connection_id":191955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:06: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-25 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"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-25 05:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:06: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-25 05:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":191955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:06:38] local.INFO: GPS data processed {"connection_id":191955,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:06:38] local.INFO: Acknowledgment sent {"connection_id":191955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:06:42] local.INFO: TCP Data received {"connection_id":191955,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:42] local.INFO: Processing buffer {"connection_id":191955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:06:42] local.INFO: Packet analysis {"connection_id":191955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:06:42] local.INFO: Extracted packet for processing {"connection_id":191955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:06: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"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-25 05:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:06: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-25 05:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":191955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:06:42] local.INFO: GPS data processed {"connection_id":191955,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:06:42] local.INFO: Acknowledgment sent {"connection_id":191955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:07:56] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:07:56] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:07:56] local.INFO: IMEI packet received {"connection_id":193335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":193335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:08:01] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:01] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:01] local.INFO: IMEI packet received {"connection_id":193335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":193335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:08:03] local.INFO: TCP Data received {"connection_id":193335,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:03] local.INFO: Processing buffer {"connection_id":193335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:03] local.INFO: Packet analysis {"connection_id":193335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:08:03] local.INFO: Extracted packet for processing {"connection_id":193335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:08: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08: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-25 05:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:08:03] 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-25 05:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"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-25 05:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:08: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-25 05:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":193335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:08:03] local.INFO: GPS data processed {"connection_id":193335,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:08:03] local.INFO: Acknowledgment sent {"connection_id":193335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:08:26] local.INFO: TCP Data received {"connection_id":194627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:26] local.INFO: Processing buffer {"connection_id":194627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:26] local.INFO: IMEI packet received {"connection_id":194627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":194627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:08:31] local.INFO: TCP Data received {"connection_id":194627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:31] local.INFO: Processing buffer {"connection_id":194627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:08:31] local.INFO: IMEI packet received {"connection_id":194627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":194627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:08:32] local.INFO: TCP Data received {"connection_id":194627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:32] local.INFO: Processing buffer {"connection_id":194627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:08:32] local.INFO: Packet analysis {"connection_id":194627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:08:32] local.INFO: Extracted packet for processing {"connection_id":194627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:08:32] 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-25 05:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:08: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-25 05:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":194627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:08:32] local.INFO: GPS data processed {"connection_id":194627,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:08:32] local.INFO: Acknowledgment sent {"connection_id":194627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:09:04] local.INFO: TCP Data received {"connection_id":194627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:04] local.INFO: Processing buffer {"connection_id":194627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:04] local.INFO: Packet analysis {"connection_id":194627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:09:04] local.INFO: Extracted packet for processing {"connection_id":194627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:09: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":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09: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-25 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:09: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-25 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:09: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-25 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":194627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:09:04] local.INFO: GPS data processed {"connection_id":194627,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:09:04] local.INFO: Acknowledgment sent {"connection_id":194627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:09:26] local.INFO: TCP Data received {"connection_id":194628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:26] local.INFO: Processing buffer {"connection_id":194628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:26] local.INFO: IMEI packet received {"connection_id":194628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":194628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:09:31] local.INFO: TCP Data received {"connection_id":194628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:31] local.INFO: Processing buffer {"connection_id":194628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:09:31] local.INFO: IMEI packet received {"connection_id":194628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":194628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:09:32] local.INFO: TCP Data received {"connection_id":194628,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:32] local.INFO: Processing buffer {"connection_id":194628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c4bab8012d34c14006aa4940000900f530..."} 
[2026-09-25 05:09:32] local.INFO: Packet analysis {"connection_id":194628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:09:32] local.INFO: Extracted packet for processing {"connection_id":194628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c4"} 
[2026-09-25 05:09:32] 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-25 05:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314888704001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790292835000,"timestamp_ms":1790292835000,"timestamp_seconds":1790292835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c4bab8"} 
[2026-09-25 05:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:09: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-25 05:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:09:32] 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-25 05:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314888704001,"66":25462,"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-25 05:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314888704001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314888704001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":194628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:09:32] local.INFO: GPS data processed {"connection_id":194628,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:09:32] local.INFO: Acknowledgment sent {"connection_id":194628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:10:04] local.INFO: TCP Data received {"connection_id":194628,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:04] local.INFO: Processing buffer {"connection_id":194628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:04] local.INFO: Packet analysis {"connection_id":194628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:10:04] local.INFO: Extracted packet for processing {"connection_id":194628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05: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-25 05:10: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-25 05:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"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-25 05:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":194628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:10:04] local.INFO: GPS data processed {"connection_id":194628,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:10:04] local.INFO: Acknowledgment sent {"connection_id":194628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:10:30] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:10:30] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:10:30] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:10:31] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:31] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:31] local.INFO: IMEI packet received {"connection_id":193336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":193336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:10:36] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:36] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:10:36] local.INFO: IMEI packet received {"connection_id":193336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":193336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:10:38] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:38] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:38] local.INFO: Packet analysis {"connection_id":193336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:10:38] local.INFO: Extracted packet for processing {"connection_id":193336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:10: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-25 05:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"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-25 05:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":193336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:10:38] local.INFO: GPS data processed {"connection_id":193336,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:10:38] local.INFO: Acknowledgment sent {"connection_id":193336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:10:42] local.INFO: TCP Data received {"connection_id":193336,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:42] local.INFO: Processing buffer {"connection_id":193336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:10:42] local.INFO: Packet analysis {"connection_id":193336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:10:42] local.INFO: Extracted packet for processing {"connection_id":193336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:10: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-25 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:10: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-25 05:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:10:42] 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-25 05:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"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-25 05:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:10: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-25 05:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":193336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:10:42] local.INFO: GPS data processed {"connection_id":193336,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:10:42] local.INFO: Acknowledgment sent {"connection_id":193336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:11:05] local.INFO: TCP Data received {"connection_id":194629,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:11:05] local.INFO: Processing buffer {"connection_id":194629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:11:05] local.INFO: IMEI packet received {"connection_id":194629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":194629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:11:26] local.INFO: TCP Data received {"connection_id":193337,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:26] local.INFO: Processing buffer {"connection_id":193337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:26] local.INFO: IMEI packet received {"connection_id":193337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":193337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:11:31] local.INFO: TCP Data received {"connection_id":193337,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:31] local.INFO: Processing buffer {"connection_id":193337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:11:31] local.INFO: IMEI packet received {"connection_id":193337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":193337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:11:32] local.INFO: TCP Data received {"connection_id":193337,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:11:32] local.INFO: Processing buffer {"connection_id":193337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:11:32] local.INFO: Packet analysis {"connection_id":193337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:11:32] local.INFO: Extracted packet for processing {"connection_id":193337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:11:32] 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-25 05:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":193337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:11:32] local.INFO: GPS data processed {"connection_id":193337,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:11:32] local.INFO: Acknowledgment sent {"connection_id":193337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:12:04] local.INFO: TCP Data received {"connection_id":193337,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:04] local.INFO: Processing buffer {"connection_id":193337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:04] local.INFO: Packet analysis {"connection_id":193337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:12:04] local.INFO: Extracted packet for processing {"connection_id":193337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:12: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-25 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12: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-25 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:12: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-25 05:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:12: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-25 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":193337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:12:04] local.INFO: GPS data processed {"connection_id":193337,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:12:04] local.INFO: Acknowledgment sent {"connection_id":193337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:12:26] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:26] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:26] local.INFO: IMEI packet received {"connection_id":191958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":191958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:12:31] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:31] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:12:31] local.INFO: IMEI packet received {"connection_id":191958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":191958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:12:32] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:32] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:12:32] local.INFO: Packet analysis {"connection_id":191958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:12:32] local.INFO: Extracted packet for processing {"connection_id":191958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:12:32] 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-25 05:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:12: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-25 05:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":191958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:12:32] local.INFO: GPS data processed {"connection_id":191958,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:12:32] local.INFO: Acknowledgment sent {"connection_id":191958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:13:04] local.INFO: TCP Data received {"connection_id":191958,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:04] local.INFO: Processing buffer {"connection_id":191958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:04] local.INFO: Packet analysis {"connection_id":191958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:13:04] local.INFO: Extracted packet for processing {"connection_id":191958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05: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-25 05:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:13: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-25 05: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-25 05: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-25 05:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":191958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:13:04] local.INFO: GPS data processed {"connection_id":191958,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:13:04] local.INFO: Acknowledgment sent {"connection_id":191958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:13:26] local.INFO: TCP Data received {"connection_id":194630,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:26] local.INFO: Processing buffer {"connection_id":194630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:26] local.INFO: IMEI packet received {"connection_id":194630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":194630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:13:31] local.INFO: TCP Data received {"connection_id":194630,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:31] local.INFO: Processing buffer {"connection_id":194630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:13:31] local.INFO: IMEI packet received {"connection_id":194630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":194630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:13:34] local.INFO: TCP Data received {"connection_id":194630,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:34] local.INFO: Processing buffer {"connection_id":194630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:13:34] local.INFO: Packet analysis {"connection_id":194630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:13:34] local.INFO: Extracted packet for processing {"connection_id":194630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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-25 05: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-25 05:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05: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-25 05:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":194630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:13:34] local.INFO: GPS data processed {"connection_id":194630,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:13:34] local.INFO: Acknowledgment sent {"connection_id":194630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:14:06] local.INFO: TCP Data received {"connection_id":194630,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:06] local.INFO: Processing buffer {"connection_id":194630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:06] local.INFO: Packet analysis {"connection_id":194630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:14:06] local.INFO: Extracted packet for processing {"connection_id":194630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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-25 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":194630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:14:06] local.INFO: GPS data processed {"connection_id":194630,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:14:06] local.INFO: Acknowledgment sent {"connection_id":194630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:14:26] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:26] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:26] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:14:32] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:32] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:14:32] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:14:33] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:33] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c95280012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:14:33] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05:14:33] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c9"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314965760001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293136000,"timestamp_ms":1790293136000,"timestamp_seconds":1790293136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c95280"} 
[2026-09-25 05: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-25 05: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-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:14: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-25 05: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-25 05: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-25 05:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:14:33] 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-25 05:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314965760001,"66":25397,"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-25 05:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314965760001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314965760001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:14:33] 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":893707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:14:33] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:14:33] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:15:04] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:04] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:04] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:15:04] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:15: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-25 05:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15: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-25 05:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:15: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-25 05:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:15:04] 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":893708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:15:04] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:15:04] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:15:31] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:31] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:31] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:15:37] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:37] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:15:37] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:15:38] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:38] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:38] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:15:38] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05: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-25 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:15:38] 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":893709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:15:38] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:15:38] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:15:42] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:42] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:15:42] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:15:42] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:15: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-25 05: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-25 05:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05: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-25 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:15: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-25 05:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:15:42] 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":893710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:15:42] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:15:42] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:16:26] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:26] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:26] local.INFO: IMEI packet received {"connection_id":193340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":193340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:16:31] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:31] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:16:31] local.INFO: IMEI packet received {"connection_id":193340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":193340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:16:33] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:16:33] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:16:33] local.INFO: Packet analysis {"connection_id":193340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:16:33] local.INFO: Extracted packet for processing {"connection_id":193340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05: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-25 05:16: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-25 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:16:33] 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-25 05:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:16:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":193340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:16:33] local.INFO: GPS data processed {"connection_id":193340,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:16:33] local.INFO: Acknowledgment sent {"connection_id":193340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:16:35] local.INFO: TCP Data received {"connection_id":191959,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:16:35] local.INFO: Processing buffer {"connection_id":191959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:16:35] local.INFO: IMEI packet received {"connection_id":191959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":191959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:17:04] local.INFO: TCP Data received {"connection_id":193340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:04] local.INFO: Processing buffer {"connection_id":193340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:04] local.INFO: Packet analysis {"connection_id":193340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:17:04] local.INFO: Extracted packet for processing {"connection_id":193340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:17: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-25 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17: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-25 05:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:17: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-25 05:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:17:04] 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-25 05:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:17: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-25 05:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":193340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:17:04] local.INFO: GPS data processed {"connection_id":193340,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:17:04] local.INFO: Acknowledgment sent {"connection_id":193340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:17:05] local.INFO: TCP Data received {"connection_id":193341,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:17:05] local.INFO: Processing buffer {"connection_id":193341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:17:05] local.INFO: IMEI packet received {"connection_id":193341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":193341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:17:26] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:26] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:26] local.INFO: IMEI packet received {"connection_id":191789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":191789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:17:31] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:31] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:17:31] local.INFO: IMEI packet received {"connection_id":191789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":191789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:17:32] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:32] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:17:32] local.INFO: Packet analysis {"connection_id":191789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:17:32] local.INFO: Extracted packet for processing {"connection_id":191789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:17:32] 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-25 05:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:17: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-25 05:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:17:32] 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-25 05:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:17:32] 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":893713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:17:32] local.INFO: GPS data processed {"connection_id":191789,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:17:32] local.INFO: Acknowledgment sent {"connection_id":191789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:18:04] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:04] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:04] local.INFO: Packet analysis {"connection_id":191789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:18:04] local.INFO: Extracted packet for processing {"connection_id":191789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:18: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-25 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:18: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-25 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:18: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-25 05:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:18:04] 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":893714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:18:04] local.INFO: GPS data processed {"connection_id":191789,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:18:04] local.INFO: Acknowledgment sent {"connection_id":191789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:18:26] local.INFO: TCP Data received {"connection_id":193342,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:26] local.INFO: Processing buffer {"connection_id":193342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:26] local.INFO: IMEI packet received {"connection_id":193342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":193342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:18:31] local.INFO: TCP Data received {"connection_id":193342,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:31] local.INFO: Processing buffer {"connection_id":193342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:18:31] local.INFO: IMEI packet received {"connection_id":193342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:18:33] local.INFO: TCP Data received {"connection_id":193342,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:33] local.INFO: Processing buffer {"connection_id":193342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:18:33] local.INFO: Packet analysis {"connection_id":193342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:18:33] local.INFO: Extracted packet for processing {"connection_id":193342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05: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-25 05:18: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-25 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:18:33] 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-25 05:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":193342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:18:33] local.INFO: GPS data processed {"connection_id":193342,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:18:33] local.INFO: Acknowledgment sent {"connection_id":193342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:19:05] local.INFO: TCP Data received {"connection_id":193342,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:05] local.INFO: Processing buffer {"connection_id":193342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:05] local.INFO: Packet analysis {"connection_id":193342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:19:05] local.INFO: Extracted packet for processing {"connection_id":193342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":193342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:19:05] local.INFO: GPS data processed {"connection_id":193342,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:19:05] local.INFO: Acknowledgment sent {"connection_id":193342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:19:26] local.INFO: TCP Data received {"connection_id":194631,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:26] local.INFO: Processing buffer {"connection_id":194631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:26] local.INFO: IMEI packet received {"connection_id":194631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":194631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:19:31] local.INFO: TCP Data received {"connection_id":194631,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:31] local.INFO: Processing buffer {"connection_id":194631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:19:31] local.INFO: IMEI packet received {"connection_id":194631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":194631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:19:32] local.INFO: TCP Data received {"connection_id":194631,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:32] local.INFO: Processing buffer {"connection_id":194631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5cdea48012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:19:32] local.INFO: Packet analysis {"connection_id":194631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:19:32] local.INFO: Extracted packet for processing {"connection_id":194631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5cd"} 
[2026-09-25 05:19:32] 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-25 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315042816001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790293437000,"timestamp_ms":1790293437000,"timestamp_seconds":1790293437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5cdea48"} 
[2026-09-25 05:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:19: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-25 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 05:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:19:32] 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-25 05:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315042816001,"66":25419,"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-25 05:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315042816001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315042816001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":194631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:19:32] local.INFO: GPS data processed {"connection_id":194631,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:19:32] local.INFO: Acknowledgment sent {"connection_id":194631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:20:04] local.INFO: TCP Data received {"connection_id":194631,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:04] local.INFO: Processing buffer {"connection_id":194631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:04] local.INFO: Packet analysis {"connection_id":194631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:20:04] local.INFO: Extracted packet for processing {"connection_id":194631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05: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-25 05: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-25 05:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05: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-25 05: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-25 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":194631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:20:04] local.INFO: GPS data processed {"connection_id":194631,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:20:04] local.INFO: Acknowledgment sent {"connection_id":194631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:20:31] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:31] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:31] local.INFO: IMEI packet received {"connection_id":193344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":193344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:20:36] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:36] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:20:36] local.INFO: IMEI packet received {"connection_id":193344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":193344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:20:38] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:38] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:38] local.INFO: Packet analysis {"connection_id":193344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:20:38] local.INFO: Extracted packet for processing {"connection_id":193344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05: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-25 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05: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-25 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":193344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:20:38] local.INFO: GPS data processed {"connection_id":193344,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:20:38] local.INFO: Acknowledgment sent {"connection_id":193344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:20:42] local.INFO: TCP Data received {"connection_id":193344,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:42] local.INFO: Processing buffer {"connection_id":193344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:20:42] local.INFO: Packet analysis {"connection_id":193344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:20:42] local.INFO: Extracted packet for processing {"connection_id":193344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:20: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:20: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-25 05:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":193344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:20:42] local.INFO: GPS data processed {"connection_id":193344,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:20:42] local.INFO: Acknowledgment sent {"connection_id":193344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:21:26] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:26] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:26] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:21:31] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:31] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:21:31] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:21:33] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:21:33] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:21:33] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:21:33] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05: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-25 05:21: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-25 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:21:33] 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-25 05:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:21:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:21:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:21:33] 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":893721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:21:33] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:21:33] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:22:04] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:04] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:04] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:22:04] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:22: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-25 05:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:22: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-25 05:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:22:04] 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":893722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:22:04] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:22:04] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:22:20] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:22:20] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:22:20] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:22:26] local.INFO: TCP Data received {"connection_id":194632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:26] local.INFO: Processing buffer {"connection_id":194632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:26] local.INFO: IMEI packet received {"connection_id":194632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":194632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:22:31] local.INFO: TCP Data received {"connection_id":194632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:31] local.INFO: Processing buffer {"connection_id":194632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:22:31] local.INFO: IMEI packet received {"connection_id":194632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":194632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:22:33] local.INFO: TCP Data received {"connection_id":194632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:33] local.INFO: Processing buffer {"connection_id":194632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:22:33] local.INFO: Packet analysis {"connection_id":194632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:22:33] local.INFO: Extracted packet for processing {"connection_id":194632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:22: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-25 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:22: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-25 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:22: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-25 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:22:33] 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-25 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:22: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-25 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":194632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:22:33] local.INFO: GPS data processed {"connection_id":194632,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:22:33] local.INFO: Acknowledgment sent {"connection_id":194632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:23:04] local.INFO: TCP Data received {"connection_id":194632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:04] local.INFO: Processing buffer {"connection_id":194632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:04] local.INFO: Packet analysis {"connection_id":194632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:23:04] local.INFO: Extracted packet for processing {"connection_id":194632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:23: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-25 05:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23: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-25 05:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:23: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-25 05:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":194632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:23:04] local.INFO: GPS data processed {"connection_id":194632,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:23:04] local.INFO: Acknowledgment sent {"connection_id":194632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:23:08] local.INFO: TCP Data received {"connection_id":193345,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:23:08] local.INFO: Processing buffer {"connection_id":193345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:23:08] local.INFO: IMEI packet received {"connection_id":193345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":193345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:23:27] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:27] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:27] local.INFO: IMEI packet received {"connection_id":191961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":191961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:23:31] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:31] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:23:31] local.INFO: IMEI packet received {"connection_id":191961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":191961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:23:32] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:32] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:23:32] local.INFO: Packet analysis {"connection_id":191961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:23:32] local.INFO: Extracted packet for processing {"connection_id":191961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:23: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-25 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:23:32] local.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-25 05:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":191961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:23:32] local.INFO: GPS data processed {"connection_id":191961,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:23:32] local.INFO: Acknowledgment sent {"connection_id":191961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:24:04] local.INFO: TCP Data received {"connection_id":191961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:04] local.INFO: Processing buffer {"connection_id":191961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:04] local.INFO: Packet analysis {"connection_id":191961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:24:04] local.INFO: Extracted packet for processing {"connection_id":191961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:24: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-25 05:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:24: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-25 05:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:24: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-25 05:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":191961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:24:04] local.INFO: GPS data processed {"connection_id":191961,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:24:04] local.INFO: Acknowledgment sent {"connection_id":191961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:24:26] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:26] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:26] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:24:31] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:31] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:24:31] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:24:33] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:33] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d28210012d34c14006aa4940000900f52d..."} 
[2026-09-25 05:24:33] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05:24:33] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d2"} 
[2026-09-25 05: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315119872001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790293738000,"timestamp_ms":1790293738000,"timestamp_seconds":1790293738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d28210"} 
[2026-09-25 05: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-25 05: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-25 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:24:33] 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-25 05:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315119872001,"66":25441,"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-25 05:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315119872001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:24:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:24:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315119872001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:24: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":893727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:24:33] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:24:33] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:25:04] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:04] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:04] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:25:04] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:25: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-25 05:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25: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-25 05:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:25: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-25 05:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:04] 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-25 05:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:25: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-25 05:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:25:04] 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":893728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:25:04] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:25:04] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:25:31] local.INFO: TCP Data received {"connection_id":193347,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:31] local.INFO: Processing buffer {"connection_id":193347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:31] local.INFO: IMEI packet received {"connection_id":193347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":193347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:25:36] local.INFO: TCP Data received {"connection_id":193347,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:36] local.INFO: Processing buffer {"connection_id":193347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:25:36] local.INFO: IMEI packet received {"connection_id":193347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":193347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:25:37] local.INFO: TCP Data received {"connection_id":193347,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:37] local.INFO: Processing buffer {"connection_id":193347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:37] local.INFO: Packet analysis {"connection_id":193347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:25:37] local.INFO: Extracted packet for processing {"connection_id":193347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:25: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":193347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:25:37] local.INFO: GPS data processed {"connection_id":193347,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:25:37] local.INFO: Acknowledgment sent {"connection_id":193347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:25:43] local.INFO: TCP Data received {"connection_id":193347,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:43] local.INFO: Processing buffer {"connection_id":193347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:25:43] local.INFO: Packet analysis {"connection_id":193347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:25:43] local.INFO: Extracted packet for processing {"connection_id":193347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05: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-25 05: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-25 05: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":193347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:25:43] local.INFO: GPS data processed {"connection_id":193347,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:25:43] local.INFO: Acknowledgment sent {"connection_id":193347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:26:26] local.INFO: TCP Data received {"connection_id":194635,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:26] local.INFO: Processing buffer {"connection_id":194635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:26] local.INFO: IMEI packet received {"connection_id":194635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":194635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:26:31] local.INFO: TCP Data received {"connection_id":194635,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:31] local.INFO: Processing buffer {"connection_id":194635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:26:31] local.INFO: IMEI packet received {"connection_id":194635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":194635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:26:32] local.INFO: TCP Data received {"connection_id":194635,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:32] local.INFO: Processing buffer {"connection_id":194635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:32] local.INFO: Packet analysis {"connection_id":194635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:26:32] local.INFO: Extracted packet for processing {"connection_id":194635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:26:32] 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-25 05:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:26: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-25 05:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:26:32] 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-25 05:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":194635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:26:32] local.INFO: GPS data processed {"connection_id":194635,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:26:32] local.INFO: Acknowledgment sent {"connection_id":194635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:26:37] local.INFO: TCP Data received {"connection_id":194635,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:37] local.INFO: Processing buffer {"connection_id":194635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:26:37] local.INFO: Packet analysis {"connection_id":194635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:26:37] local.INFO: Extracted packet for processing {"connection_id":194635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:26: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:26:37] 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-25 05:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:26: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-25 05:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":194635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:26:37] local.INFO: GPS data processed {"connection_id":194635,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:26:37] local.INFO: Acknowledgment sent {"connection_id":194635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:27:09] local.INFO: TCP Data received {"connection_id":194635,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:09] local.INFO: Processing buffer {"connection_id":194635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:09] local.INFO: Packet analysis {"connection_id":194635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:27:09] local.INFO: Extracted packet for processing {"connection_id":194635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:27: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:27: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-25 05:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:27:09] 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-25 05:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":194635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:27:09] local.INFO: GPS data processed {"connection_id":194635,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:27:09] local.INFO: Acknowledgment sent {"connection_id":194635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:27:26] local.INFO: TCP Data received {"connection_id":193348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:26] local.INFO: Processing buffer {"connection_id":193348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:26] local.INFO: IMEI packet received {"connection_id":193348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":193348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:27:31] local.INFO: TCP Data received {"connection_id":193348,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:31] local.INFO: Processing buffer {"connection_id":193348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:27:31] local.INFO: IMEI packet received {"connection_id":193348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":193348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:27:33] local.INFO: TCP Data received {"connection_id":193348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:33] local.INFO: Processing buffer {"connection_id":193348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:27:33] local.INFO: Packet analysis {"connection_id":193348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:27:33] local.INFO: Extracted packet for processing {"connection_id":193348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:27: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-25 05:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:27: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-25 05:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:27: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-25 05:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:27:33] 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-25 05:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:27: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-25 05:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":193348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:27:33] local.INFO: GPS data processed {"connection_id":193348,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:27:33] local.INFO: Acknowledgment sent {"connection_id":193348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:28:04] local.INFO: TCP Data received {"connection_id":193348,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:04] local.INFO: Processing buffer {"connection_id":193348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:04] local.INFO: Packet analysis {"connection_id":193348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:28:04] local.INFO: Extracted packet for processing {"connection_id":193348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:28: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-25 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:28: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-25 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:28: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-25 05:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:28: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-25 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":193348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:28:04] local.INFO: GPS data processed {"connection_id":193348,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:28:04] local.INFO: Acknowledgment sent {"connection_id":193348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:28:25] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:28:25] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:28:25] local.INFO: IMEI packet received {"connection_id":191796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":191796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:28:27] local.INFO: TCP Data received {"connection_id":194637,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:27] local.INFO: Processing buffer {"connection_id":194637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:27] local.INFO: IMEI packet received {"connection_id":194637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":194637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:28:31] local.INFO: TCP Data received {"connection_id":194637,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:31] local.INFO: Processing buffer {"connection_id":194637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:28:31] local.INFO: IMEI packet received {"connection_id":194637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":194637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:28:33] local.INFO: TCP Data received {"connection_id":194637,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:33] local.INFO: Processing buffer {"connection_id":194637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:28:33] local.INFO: Packet analysis {"connection_id":194637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:28:33] local.INFO: Extracted packet for processing {"connection_id":194637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05: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-25 05: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-25 05: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05: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-25 05: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-25 05:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:28:33] 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-25 05:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:28:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:28:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":194637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:28:33] local.INFO: GPS data processed {"connection_id":194637,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:28:33] local.INFO: Acknowledgment sent {"connection_id":194637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:29:04] local.INFO: TCP Data received {"connection_id":194637,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:04] local.INFO: Processing buffer {"connection_id":194637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:04] local.INFO: Packet analysis {"connection_id":194637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:29:04] local.INFO: Extracted packet for processing {"connection_id":194637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:29: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-25 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29: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-25 05:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:29:04] 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-25 05:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"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-25 05:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:29: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-25 05:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":194637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:29:04] local.INFO: GPS data processed {"connection_id":194637,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:29:04] local.INFO: Acknowledgment sent {"connection_id":194637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:29:05] local.INFO: TCP Data received {"connection_id":193349,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:29:05] local.INFO: Processing buffer {"connection_id":193349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:29:05] local.INFO: IMEI packet received {"connection_id":193349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":193349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:29:26] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:26] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:26] local.INFO: IMEI packet received {"connection_id":191962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":191962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:29:31] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:31] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:29:31] local.INFO: IMEI packet received {"connection_id":191962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":191962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:29:32] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:32] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5d719d8012d34c14006aa4940000900f52f..."} 
[2026-09-25 05:29:32] local.INFO: Packet analysis {"connection_id":191962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:29:32] local.INFO: Extracted packet for processing {"connection_id":191962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5d7"} 
[2026-09-25 05:29:32] 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-25 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315196928001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294039000,"timestamp_ms":1790294039000,"timestamp_seconds":1790294039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5d719d8"} 
[2026-09-25 05:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:29: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-25 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 05:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315196928001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315196928001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315196928001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":191962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:29:32] local.INFO: GPS data processed {"connection_id":191962,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:29:32] local.INFO: Acknowledgment sent {"connection_id":191962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:30:04] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:04] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:04] local.INFO: Packet analysis {"connection_id":191962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:30:04] local.INFO: Extracted packet for processing {"connection_id":191962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05: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-25 05:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:30: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-25 05: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-25 05: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-25 05:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":191962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:30:04] local.INFO: GPS data processed {"connection_id":191962,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:30:04] local.INFO: Acknowledgment sent {"connection_id":191962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:30:26] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:26] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:26] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:30:31] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:31] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:30:31] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:30:33] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:33] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:30:33] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:30:33] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05: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-25 05:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:30: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-25 05: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-25 05: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-25 05:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:30:33] 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":893740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:30:33] local.INFO: GPS data processed {"connection_id":191797,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:30:33] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:31:04] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:04] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:04] local.INFO: Packet analysis {"connection_id":191797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31:04] local.INFO: Extracted packet for processing {"connection_id":191797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05: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-25 05:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:31: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-25 05: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-25 05: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-25 05:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:31:04] 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":893741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:31:04] local.INFO: GPS data processed {"connection_id":191797,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:31:04] local.INFO: Acknowledgment sent {"connection_id":191797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:31:31] local.INFO: TCP Data received {"connection_id":194639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:31] local.INFO: Processing buffer {"connection_id":194639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:31] local.INFO: IMEI packet received {"connection_id":194639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":194639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:31:36] local.INFO: TCP Data received {"connection_id":194639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:36] local.INFO: Processing buffer {"connection_id":194639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:31:36] local.INFO: IMEI packet received {"connection_id":194639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":194639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:31:38] local.INFO: TCP Data received {"connection_id":194639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:38] local.INFO: Processing buffer {"connection_id":194639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:38] local.INFO: Packet analysis {"connection_id":194639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31:38] local.INFO: Extracted packet for processing {"connection_id":194639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31: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-25 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:31: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-25 05:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":194639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:31:38] local.INFO: GPS data processed {"connection_id":194639,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:31:38] local.INFO: Acknowledgment sent {"connection_id":194639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:31:42] local.INFO: TCP Data received {"connection_id":194639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:42] local.INFO: Processing buffer {"connection_id":194639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:42] local.INFO: Packet analysis {"connection_id":194639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31:42] local.INFO: Extracted packet for processing {"connection_id":194639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31: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-25 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:31: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-25 05:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:31: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-25 05:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":194639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:31:42] local.INFO: GPS data processed {"connection_id":194639,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:31:42] local.INFO: Acknowledgment sent {"connection_id":194639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:31:47] local.INFO: TCP Data received {"connection_id":194639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:47] local.INFO: Processing buffer {"connection_id":194639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:31:47] local.INFO: Packet analysis {"connection_id":194639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31:47] local.INFO: Extracted packet for processing {"connection_id":194639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:31: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:31:47] 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-25 05:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:31: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-25 05:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":194639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:31:47] local.INFO: GPS data processed {"connection_id":194639,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:31:47] local.INFO: Acknowledgment sent {"connection_id":194639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:32:26] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:26] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:26] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:32:31] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:31] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:32:31] local.INFO: IMEI packet received {"connection_id":191799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":191799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:32:33] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:33] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:33] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:32:33] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05: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-25 05:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:32: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-25 05: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-25 05: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-25 05:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:32:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:32:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:32: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":893745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:32:33] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:32:33] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:32:37] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:37] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:32:37] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:32:37] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:32: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-25 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:32: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-25 05:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:32:37] 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":893746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:32:37] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:32:37] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:33:08] local.INFO: TCP Data received {"connection_id":191799,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:08] local.INFO: Processing buffer {"connection_id":191799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:08] local.INFO: Packet analysis {"connection_id":191799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:33:08] local.INFO: Extracted packet for processing {"connection_id":191799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:33: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-25 05: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-25 05:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05: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-25 05:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:33:08] 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":893747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:33:08] local.INFO: GPS data processed {"connection_id":191799,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:33:08] local.INFO: Acknowledgment sent {"connection_id":191799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:33:26] local.INFO: TCP Data received {"connection_id":194640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:26] local.INFO: Processing buffer {"connection_id":194640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:26] local.INFO: IMEI packet received {"connection_id":194640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":194640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:33:31] local.INFO: TCP Data received {"connection_id":194640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:31] local.INFO: Processing buffer {"connection_id":194640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:33:31] local.INFO: IMEI packet received {"connection_id":194640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":194640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:33:32] local.INFO: TCP Data received {"connection_id":194640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:32] local.INFO: Processing buffer {"connection_id":194640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:33:32] local.INFO: Packet analysis {"connection_id":194640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:33:32] local.INFO: Extracted packet for processing {"connection_id":194640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:33:32] 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-25 05:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:33:32] 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-25 05:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:33:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:33:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":194640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:33:33] local.INFO: GPS data processed {"connection_id":194640,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:33:33] local.INFO: Acknowledgment sent {"connection_id":194640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:34:04] local.INFO: TCP Data received {"connection_id":194640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:04] local.INFO: Processing buffer {"connection_id":194640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:04] local.INFO: Packet analysis {"connection_id":194640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:34:04] local.INFO: Extracted packet for processing {"connection_id":194640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:34: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-25 05:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34: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-25 05:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:34: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-25 05:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"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-25 05:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:34: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-25 05:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":194640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:34:04] local.INFO: GPS data processed {"connection_id":194640,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:34:04] local.INFO: Acknowledgment sent {"connection_id":194640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:34:27] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:27] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:27] local.INFO: IMEI packet received {"connection_id":193352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":193352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:34:31] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:31] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:34:31] local.INFO: IMEI packet received {"connection_id":193352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":193352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:34:32] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:32] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5dbb1a0012d34c14006aa4940000900f52e..."} 
[2026-09-25 05:34:32] local.INFO: Packet analysis {"connection_id":193352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:34:32] local.INFO: Extracted packet for processing {"connection_id":193352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5db"} 
[2026-09-25 05:34:32] 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-25 05:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315273984001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294340000,"timestamp_ms":1790294340000,"timestamp_seconds":1790294340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5dbb1a0"} 
[2026-09-25 05:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315273984001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315273984001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315273984001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":193352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:34:32] local.INFO: GPS data processed {"connection_id":193352,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:34:32] local.INFO: Acknowledgment sent {"connection_id":193352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:34:35] local.INFO: TCP Data received {"connection_id":193351,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:34:35] local.INFO: Processing buffer {"connection_id":193351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:34:35] local.INFO: IMEI packet received {"connection_id":193351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":193351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:35:03] local.INFO: TCP Data received {"connection_id":193352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:03] local.INFO: Processing buffer {"connection_id":193352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:03] local.INFO: Packet analysis {"connection_id":193352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:35:03] local.INFO: Extracted packet for processing {"connection_id":193352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:35: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35: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-25 05:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:35: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-25 05:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":193352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:35:03] local.INFO: GPS data processed {"connection_id":193352,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:35:03] local.INFO: Acknowledgment sent {"connection_id":193352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:35:10] local.INFO: TCP Data received {"connection_id":191964,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:35:10] local.INFO: Processing buffer {"connection_id":191964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:35:10] local.INFO: IMEI packet received {"connection_id":191964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":191964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:35:26] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:26] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:26] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:35:31] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:31] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:35:31] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:35:32] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:32] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:35:32] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:35:32] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:35:32] 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-25 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 05:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:35: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-25 05:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:35:32] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:35:32] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:36:04] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:04] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:04] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36:04] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36: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-25 05:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36: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-25 05:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:36: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-25 05:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:36: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-25 05:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:36:04] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:36:04] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:36:31] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:31] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:31] local.INFO: IMEI packet received {"connection_id":191966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":191966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:36:36] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:36] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:36:36] local.INFO: IMEI packet received {"connection_id":191966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":191966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:36:37] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:37] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:37] local.INFO: Packet analysis {"connection_id":191966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36:37] local.INFO: Extracted packet for processing {"connection_id":191966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:36: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-25 05:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":191966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:36:37] local.INFO: GPS data processed {"connection_id":191966,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:36:37] local.INFO: Acknowledgment sent {"connection_id":191966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:36:42] local.INFO: TCP Data received {"connection_id":191966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:42] local.INFO: Processing buffer {"connection_id":191966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:36:42] local.INFO: Packet analysis {"connection_id":191966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36:42] local.INFO: Extracted packet for processing {"connection_id":191966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:36: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:36: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-25 05:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":191966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:36:42] local.INFO: GPS data processed {"connection_id":191966,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:36:42] local.INFO: Acknowledgment sent {"connection_id":191966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:37:26] local.INFO: TCP Data received {"connection_id":194642,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:26] local.INFO: Processing buffer {"connection_id":194642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:26] local.INFO: IMEI packet received {"connection_id":194642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":194642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:37:31] local.INFO: TCP Data received {"connection_id":194642,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:31] local.INFO: Processing buffer {"connection_id":194642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:37:31] local.INFO: IMEI packet received {"connection_id":194642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":194642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:37:33] local.INFO: TCP Data received {"connection_id":194642,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:37:33] local.INFO: Processing buffer {"connection_id":194642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:37:33] local.INFO: Packet analysis {"connection_id":194642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:37:33] local.INFO: Extracted packet for processing {"connection_id":194642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05: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-25 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:37: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-25 05: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-25 05: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-25 05:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:37:33] 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-25 05:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":194642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:37:33] local.INFO: GPS data processed {"connection_id":194642,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:37:33] local.INFO: Acknowledgment sent {"connection_id":194642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:38:04] local.INFO: TCP Data received {"connection_id":194642,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:04] local.INFO: Processing buffer {"connection_id":194642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:04] local.INFO: Packet analysis {"connection_id":194642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:38:04] local.INFO: Extracted packet for processing {"connection_id":194642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:38: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-25 05:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38: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-25 05:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:38: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-25 05:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:38: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-25 05:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":194642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:38:04] local.INFO: GPS data processed {"connection_id":194642,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:38:04] local.INFO: Acknowledgment sent {"connection_id":194642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:38:26] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:26] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:26] local.INFO: IMEI packet received {"connection_id":193354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":193354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:38:31] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:31] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:38:31] local.INFO: IMEI packet received {"connection_id":193354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:38:32] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:32] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:38:32] local.INFO: Packet analysis {"connection_id":193354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:38:32] local.INFO: Extracted packet for processing {"connection_id":193354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:38:32] 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-25 05:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:38:32] 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-25 05:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":193354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:38:32] local.INFO: GPS data processed {"connection_id":193354,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:38:32] local.INFO: Acknowledgment sent {"connection_id":193354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:39:04] local.INFO: TCP Data received {"connection_id":193354,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:04] local.INFO: Processing buffer {"connection_id":193354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:04] local.INFO: Packet analysis {"connection_id":193354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:39:04] local.INFO: Extracted packet for processing {"connection_id":193354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:39: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-25 05:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39: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-25 05:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:39: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-25 05:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:39: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-25 05:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":193354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:39:04] local.INFO: GPS data processed {"connection_id":193354,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:39:04] local.INFO: Acknowledgment sent {"connection_id":193354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:39:26] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:26] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:26] local.INFO: IMEI packet received {"connection_id":193355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":193355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:39:31] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:31] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:39:31] local.INFO: IMEI packet received {"connection_id":193355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":193355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:39:32] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:32] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e04968012d34c14006aa4940000900f52a..."} 
[2026-09-25 05:39:32] local.INFO: Packet analysis {"connection_id":193355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:39:32] local.INFO: Extracted packet for processing {"connection_id":193355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 05:39:32] 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-25 05:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294641000,"timestamp_ms":1790294641000,"timestamp_seconds":1790294641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e04968"} 
[2026-09-25 05:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:39:32] 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-25 05:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315351040001,"66":25473,"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-25 05:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315351040001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":193355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:39:32] local.INFO: GPS data processed {"connection_id":193355,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:39:32] local.INFO: Acknowledgment sent {"connection_id":193355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:40:03] local.INFO: TCP Data received {"connection_id":193355,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:03] local.INFO: Processing buffer {"connection_id":193355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:03] local.INFO: Packet analysis {"connection_id":193355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:40:03] local.INFO: Extracted packet for processing {"connection_id":193355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:40: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40: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-25 05:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:40:03] 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-25 05:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"66":25473,"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-25 05:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:40: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-25 05:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":193355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:40:03] local.INFO: GPS data processed {"connection_id":193355,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:40:03] local.INFO: Acknowledgment sent {"connection_id":193355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:40:26] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:26] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:26] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:40:30] local.INFO: TCP Data received {"connection_id":194644,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:40:30] local.INFO: Processing buffer {"connection_id":194644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:40:30] local.INFO: IMEI packet received {"connection_id":194644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":194644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:40:31] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:31] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:40:31] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:40:32] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:32] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:40:32] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:40:32] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:40:32] 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-25 05:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:40:32] 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-25 05:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"66":25473,"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-25 05:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:40:32] 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":893762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:40:32] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:40:32] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:41:03] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:03] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:03] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:41:03] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:41: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41: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-25 05:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:41:03] 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-25 05:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"66":25473,"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-25 05:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:41: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-25 05:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:41:03] 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":893763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:41:03] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:41:03] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:41:05] local.INFO: TCP Data received {"connection_id":193356,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:41:05] local.INFO: Processing buffer {"connection_id":193356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:41:05] local.INFO: IMEI packet received {"connection_id":193356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":193356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:41:26] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:26] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:26] local.INFO: IMEI packet received {"connection_id":193357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":193357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:41:31] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:31] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:41:31] local.INFO: IMEI packet received {"connection_id":193357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":193357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:41:32] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:32] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:41:32] local.INFO: Packet analysis {"connection_id":193357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:41:32] local.INFO: Extracted packet for processing {"connection_id":193357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:41:32] 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-25 05:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":193357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:41:32] local.INFO: GPS data processed {"connection_id":193357,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:41:32] local.INFO: Acknowledgment sent {"connection_id":193357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:42:03] local.INFO: TCP Data received {"connection_id":193357,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:03] local.INFO: Processing buffer {"connection_id":193357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:03] local.INFO: Packet analysis {"connection_id":193357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:42:03] local.INFO: Extracted packet for processing {"connection_id":193357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:42: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42: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-25 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:42: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-25 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:42: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-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":193357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:42:03] local.INFO: GPS data processed {"connection_id":193357,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:42:03] local.INFO: Acknowledgment sent {"connection_id":193357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:42:26] local.INFO: TCP Data received {"connection_id":194646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:26] local.INFO: Processing buffer {"connection_id":194646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:26] local.INFO: IMEI packet received {"connection_id":194646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":194646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:42:31] local.INFO: TCP Data received {"connection_id":194646,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:31] local.INFO: Processing buffer {"connection_id":194646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:42:31] local.INFO: IMEI packet received {"connection_id":194646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":194646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:42:32] local.INFO: TCP Data received {"connection_id":194646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:32] local.INFO: Processing buffer {"connection_id":194646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:42:32] local.INFO: Packet analysis {"connection_id":194646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:42:32] local.INFO: Extracted packet for processing {"connection_id":194646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:42:32] 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-25 05:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:42: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-25 05:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":194646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:42:32] local.INFO: GPS data processed {"connection_id":194646,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:42:32] local.INFO: Acknowledgment sent {"connection_id":194646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:43:04] local.INFO: TCP Data received {"connection_id":194646,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:04] local.INFO: Processing buffer {"connection_id":194646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:04] local.INFO: Packet analysis {"connection_id":194646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43:04] local.INFO: Extracted packet for processing {"connection_id":194646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43: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-25 05:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:43: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-25 05:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43: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-25 05:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:43: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-25 05:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":194646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:43:04] local.INFO: GPS data processed {"connection_id":194646,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:43:04] local.INFO: Acknowledgment sent {"connection_id":194646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:43:31] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:31] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:31] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:43:36] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:36] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:43:36] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:43:38] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:38] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:38] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43:38] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43: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-25 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43: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-25 05:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:43: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-25 05:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:43:38] 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":893768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:43:38] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:43:38] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:43:42] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:42] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:43:42] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43:42] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:43: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05: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-25 05:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:43: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-25 05:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:43:42] 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":893769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:43:42] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:43:42] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:44:26] local.INFO: TCP Data received {"connection_id":194647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:26] local.INFO: Processing buffer {"connection_id":194647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:26] local.INFO: IMEI packet received {"connection_id":194647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":194647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:44:31] local.INFO: TCP Data received {"connection_id":194647,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:31] local.INFO: Processing buffer {"connection_id":194647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:44:31] local.INFO: IMEI packet received {"connection_id":194647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":194647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:44:32] local.INFO: TCP Data received {"connection_id":194647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:44:32] local.INFO: Processing buffer {"connection_id":194647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e4e130012d34c14006aa4940000900f52b..."} 
[2026-09-25 05:44:32] local.INFO: Packet analysis {"connection_id":194647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:44:32] local.INFO: Extracted packet for processing {"connection_id":194647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e4"} 
[2026-09-25 05:44:32] 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-25 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315428096001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790294942000,"timestamp_ms":1790294942000,"timestamp_seconds":1790294942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e4e130"} 
[2026-09-25 05:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:44: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-25 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315428096001,"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-25 05:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315428096001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315428096001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":194647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:44:32] local.INFO: GPS data processed {"connection_id":194647,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:44:32] local.INFO: Acknowledgment sent {"connection_id":194647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:45:03] local.INFO: TCP Data received {"connection_id":194647,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:03] local.INFO: Processing buffer {"connection_id":194647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:03] local.INFO: Packet analysis {"connection_id":194647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:45:03] local.INFO: Extracted packet for processing {"connection_id":194647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:45: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45: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-25 05:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:45: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-25 05:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:45: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-25 05:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":194647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:45:04] local.INFO: GPS data processed {"connection_id":194647,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:45:04] local.INFO: Acknowledgment sent {"connection_id":194647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:45:26] local.INFO: TCP Data received {"connection_id":193358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:26] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:26] local.INFO: IMEI packet received {"connection_id":193358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":193358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:45:31] local.INFO: TCP Data received {"connection_id":193358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:31] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:45:31] local.INFO: IMEI packet received {"connection_id":193358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":193358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:45:32] local.INFO: TCP Data received {"connection_id":193358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:32] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:45:32] local.INFO: Packet analysis {"connection_id":193358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:45:32] local.INFO: Extracted packet for processing {"connection_id":193358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:45:32] 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-25 05:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:45: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-25 05:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":193358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:45:32] local.INFO: GPS data processed {"connection_id":193358,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:45:32] local.INFO: Acknowledgment sent {"connection_id":193358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:46:03] local.INFO: TCP Data received {"connection_id":193358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:03] local.INFO: Processing buffer {"connection_id":193358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:03] local.INFO: Packet analysis {"connection_id":193358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:46:03] local.INFO: Extracted packet for processing {"connection_id":193358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:46: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46: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-25 05:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:46: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-25 05:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:46: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-25 05:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":193358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:46:03] local.INFO: GPS data processed {"connection_id":193358,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:46:03] local.INFO: Acknowledgment sent {"connection_id":193358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:46:26] local.INFO: TCP Data received {"connection_id":194649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:26] local.INFO: Processing buffer {"connection_id":194649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:26] local.INFO: IMEI packet received {"connection_id":194649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":194649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:46:31] local.INFO: TCP Data received {"connection_id":194649,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:31] local.INFO: Processing buffer {"connection_id":194649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:46:31] local.INFO: IMEI packet received {"connection_id":194649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":194649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:46:32] local.INFO: TCP Data received {"connection_id":194649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:32] local.INFO: Processing buffer {"connection_id":194649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:46:32] local.INFO: Packet analysis {"connection_id":194649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:46:32] local.INFO: Extracted packet for processing {"connection_id":194649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:46:32] 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-25 05:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:46: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-25 05:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":194649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:46:32] local.INFO: GPS data processed {"connection_id":194649,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:46:32] local.INFO: Acknowledgment sent {"connection_id":194649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:46:36] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:46:36] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:46:36] local.INFO: IMEI packet received {"connection_id":191969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":191969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:47:05] local.INFO: TCP Data received {"connection_id":194649,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:05] local.INFO: Processing buffer {"connection_id":194649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:05] local.INFO: Packet analysis {"connection_id":194649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:47:05] local.INFO: Extracted packet for processing {"connection_id":194649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:47:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:47:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":194649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:47:05] local.INFO: GPS data processed {"connection_id":194649,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:47:05] local.INFO: Acknowledgment sent {"connection_id":194649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:47:05] local.INFO: TCP Data received {"connection_id":193359,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:47:05] local.INFO: Processing buffer {"connection_id":193359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:47:05] local.INFO: IMEI packet received {"connection_id":193359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":193359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:47:26] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:26] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:26] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:47:31] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:31] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:47:31] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:47:32] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:32] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:47:32] local.INFO: Packet analysis {"connection_id":191970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:47:32] local.INFO: Extracted packet for processing {"connection_id":191970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:47:32] 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-25 05:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:47: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-25 05:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":191970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:47:32] local.INFO: GPS data processed {"connection_id":191970,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:47:32] local.INFO: Acknowledgment sent {"connection_id":191970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:48:04] local.INFO: TCP Data received {"connection_id":191970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:04] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:04] local.INFO: Packet analysis {"connection_id":191970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:48:04] local.INFO: Extracted packet for processing {"connection_id":191970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05: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-25 05: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-25 05: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-25 05: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-25 05: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-25 05: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-25 05:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":191970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:48:04] local.INFO: GPS data processed {"connection_id":191970,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:48:04] local.INFO: Acknowledgment sent {"connection_id":191970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:48:26] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:26] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:26] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:48:31] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:31] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:48:31] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:48:32] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:32] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:48:32] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:48:32] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:48:32] 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-25 05:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:48:32] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:48:32] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:49:04] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:04] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:04] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:49:04] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05: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-25 05: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-25 05: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-25 05: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-25 05: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-25 05: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-25 05:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:49: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-25 05:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:49:04] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:49:04] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:49:26] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:26] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:26] local.INFO: IMEI packet received {"connection_id":191972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":191972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:49:31] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:31] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:49:31] local.INFO: IMEI packet received {"connection_id":191972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":191972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:49:32] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:32] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e978f8012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:49:32] local.INFO: Packet analysis {"connection_id":191972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:49:32] local.INFO: Extracted packet for processing {"connection_id":191972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e9"} 
[2026-09-25 05:49:32] 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-25 05:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315505152001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295243000,"timestamp_ms":1790295243000,"timestamp_seconds":1790295243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e978f8"} 
[2026-09-25 05:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:49: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-25 05:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315505152001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315505152001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:49:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315505152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":191972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:49:32] local.INFO: GPS data processed {"connection_id":191972,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:49:32] local.INFO: Acknowledgment sent {"connection_id":191972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:50:03] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:03] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:03] local.INFO: Packet analysis {"connection_id":191972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:50:03] local.INFO: Extracted packet for processing {"connection_id":191972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:50: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50: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-25 05:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:50: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-25 05:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:50: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-25 05:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":191972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:50:03] local.INFO: GPS data processed {"connection_id":191972,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:50:03] local.INFO: Acknowledgment sent {"connection_id":191972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:50:26] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:26] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:26] local.INFO: IMEI packet received {"connection_id":193360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":193360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:50:31] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:31] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:50:31] local.INFO: IMEI packet received {"connection_id":193360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":193360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:50:32] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:32] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:50:32] local.INFO: Packet analysis {"connection_id":193360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:50:32] local.INFO: Extracted packet for processing {"connection_id":193360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:50:32] 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-25 05:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:50: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-25 05:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:50:32] local.INFO: GPS data processed {"connection_id":193360,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:50:32] local.INFO: Acknowledgment sent {"connection_id":193360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:51:05] local.INFO: TCP Data received {"connection_id":193360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:05] local.INFO: Processing buffer {"connection_id":193360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:05] local.INFO: Packet analysis {"connection_id":193360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:51:05] local.INFO: Extracted packet for processing {"connection_id":193360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05: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-25 05:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05: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-25 05:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:51:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:51:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":193360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:51:05] local.INFO: GPS data processed {"connection_id":193360,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:51:05] local.INFO: Acknowledgment sent {"connection_id":193360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:51:26] local.INFO: TCP Data received {"connection_id":194650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:26] local.INFO: Processing buffer {"connection_id":194650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:26] local.INFO: IMEI packet received {"connection_id":194650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":194650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:51:31] local.INFO: TCP Data received {"connection_id":194650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:31] local.INFO: Processing buffer {"connection_id":194650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:31] local.INFO: IMEI packet received {"connection_id":194650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":194650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:51:36] local.INFO: TCP Data received {"connection_id":194650,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:36] local.INFO: Processing buffer {"connection_id":194650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:51:36] local.INFO: IMEI packet received {"connection_id":194650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":194650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:51:38] local.INFO: TCP Data received {"connection_id":194650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:38] local.INFO: Processing buffer {"connection_id":194650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:51:38] local.INFO: Packet analysis {"connection_id":194650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:51:38] local.INFO: Extracted packet for processing {"connection_id":194650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:51: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-25 05:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:51: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-25 05:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:51: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-25 05:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:51: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-25 05:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":194650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:51:38] local.INFO: GPS data processed {"connection_id":194650,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:51:38] local.INFO: Acknowledgment sent {"connection_id":194650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:52:09] local.INFO: TCP Data received {"connection_id":194650,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:09] local.INFO: Processing buffer {"connection_id":194650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:09] local.INFO: Packet analysis {"connection_id":194650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:52:09] local.INFO: Extracted packet for processing {"connection_id":194650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:52: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:52: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-25 05:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:52: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-25 05:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:52: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-25 05:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":194650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:52:09] local.INFO: GPS data processed {"connection_id":194650,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:52:09] local.INFO: Acknowledgment sent {"connection_id":194650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:52:26] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:26] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:26] local.INFO: IMEI packet received {"connection_id":191974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":191974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:52:31] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:31] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:52:31] local.INFO: IMEI packet received {"connection_id":191974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":191974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:52:32] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:32] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:52:32] local.INFO: Packet analysis {"connection_id":191974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:52:32] local.INFO: Extracted packet for processing {"connection_id":191974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:52:32] 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-25 05:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:52: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-25 05:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:52:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":191974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:52:32] local.INFO: GPS data processed {"connection_id":191974,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:52:32] local.INFO: Acknowledgment sent {"connection_id":191974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:52:40] local.INFO: TCP Data received {"connection_id":191806,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:52:40] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:52:40] local.INFO: IMEI packet received {"connection_id":191806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":191806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:53:04] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:04] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:04] local.INFO: Packet analysis {"connection_id":191974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:53:04] local.INFO: Extracted packet for processing {"connection_id":191974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05: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-25 05:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:53: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-25 05: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-25 05: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-25 05:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":191974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:53:04] local.INFO: GPS data processed {"connection_id":191974,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:53:04] local.INFO: Acknowledgment sent {"connection_id":191974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:53:05] local.INFO: TCP Data received {"connection_id":194651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:05] local.INFO: Processing buffer {"connection_id":194651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:05] local.INFO: IMEI packet received {"connection_id":194651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":194651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:53:10] local.INFO: TCP Data received {"connection_id":194651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:10] local.INFO: Processing buffer {"connection_id":194651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:10] local.INFO: IMEI packet received {"connection_id":194651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 05:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":194651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:53:11] local.INFO: TCP Data received {"connection_id":194651,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5c003b0012d34290006abbd00000700d730..."} 
[2026-09-25 05:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5c003b0012d34290006abbd00000700d730..."} 
[2026-09-25 05:53:11] local.INFO: Processing buffer {"connection_id":194651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5c003b0012d34290006abbd00000700d730..."} 
[2026-09-25 05:53:11] local.INFO: Packet analysis {"connection_id":194651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:53:11] local.INFO: Extracted packet for processing {"connection_id":194651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5c0"} 
[2026-09-25 05:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 05:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458314809600001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790292526000,"timestamp_ms":1790292526000,"timestamp_seconds":1790292526,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5c003b0"} 
[2026-09-25 05:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 05:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 05:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 05:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 05:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 05:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458314809600001,"66":25375,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 05:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 05:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 05:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458314809600001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:53:11] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 05:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 05:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458314809600001,"power":25375,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 05:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":194651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:53:11] local.INFO: GPS data processed {"connection_id":194651,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:53:11] local.INFO: Acknowledgment sent {"connection_id":194651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:53:26] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:26] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:26] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:53:31] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:31] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:53:31] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:53:32] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:32] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:53:32] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:53:32] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:53:32] 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-25 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:53: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-25 05:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:53:32] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:53:32] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:53:55] local.INFO: TCP Data received {"connection_id":194652,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:55] local.INFO: Processing buffer {"connection_id":194652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:53:55] local.INFO: IMEI packet received {"connection_id":194652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":194652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:54:03] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:03] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:03] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:54:03] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:54: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54: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-25 05:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:54: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-25 05:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:54: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-25 05:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:54:03] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:54:03] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:54:26] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:26] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:26] local.INFO: IMEI packet received {"connection_id":191975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":191975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:54:31] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:31] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:54:31] local.INFO: IMEI packet received {"connection_id":191975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":191975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:54:32] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:32] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5ee10c0012d34c14006aa4940000900f52c..."} 
[2026-09-25 05:54:32] local.INFO: Packet analysis {"connection_id":191975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:54:32] local.INFO: Extracted packet for processing {"connection_id":191975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5ee"} 
[2026-09-25 05:54:32] 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-25 05:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315582208001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295544000,"timestamp_ms":1790295544000,"timestamp_seconds":1790295544,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5ee10c0"} 
[2026-09-25 05:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:54: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-25 05:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 05:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 05:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315582208001,"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-25 05:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315582208001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315582208001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":191975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:54:32] local.INFO: GPS data processed {"connection_id":191975,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:54:32] local.INFO: Acknowledgment sent {"connection_id":191975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:55:04] local.INFO: TCP Data received {"connection_id":191975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:04] local.INFO: Processing buffer {"connection_id":191975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:04] local.INFO: Packet analysis {"connection_id":191975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:55:04] local.INFO: Extracted packet for processing {"connection_id":191975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:55: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-25 05:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55: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-25 05:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:55: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-25 05:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:55: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-25 05:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:55: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-25 05:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":191975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:55:04] local.INFO: GPS data processed {"connection_id":191975,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:55:04] local.INFO: Acknowledgment sent {"connection_id":191975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:55:26] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:26] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:26] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:55:31] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:31] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:55:31] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:55:32] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:32] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:55:32] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:55:32] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:55:32] 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-25 05:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:55: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-25 05:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:55:32] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:55:32] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:56:03] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:03] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:03] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:56:03] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:56: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:56: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-25 05:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:56: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-25 05:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:56: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-25 05:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:56:03] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:56:03] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:56:26] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:26] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:26] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:56:31] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:31] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:56:31] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:56:33] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:33] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:56:33] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:56:33] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05: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-25 05: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-25 05: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:56: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-25 05: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-25 05: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-25 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:56:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:56:33] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:56:33] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:57:04] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:04] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:04] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:57:04] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05: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-25 05:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05: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-25 05: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-25 05:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05: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-25 05:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:57:04] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:57:04] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:57:31] local.INFO: TCP Data received {"connection_id":194655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:31] local.INFO: Processing buffer {"connection_id":194655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:31] local.INFO: IMEI packet received {"connection_id":194655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":194655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:57:36] local.INFO: TCP Data received {"connection_id":194655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:36] local.INFO: Processing buffer {"connection_id":194655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:57:36] local.INFO: IMEI packet received {"connection_id":194655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":194655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:57:38] local.INFO: TCP Data received {"connection_id":194655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:38] local.INFO: Processing buffer {"connection_id":194655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:38] local.INFO: Packet analysis {"connection_id":194655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:57:38] local.INFO: Extracted packet for processing {"connection_id":194655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:57: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-25 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:57: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-25 05:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:57: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-25 05:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":194655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:57:38] local.INFO: GPS data processed {"connection_id":194655,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:57:38] local.INFO: Acknowledgment sent {"connection_id":194655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:57:42] local.INFO: TCP Data received {"connection_id":194655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:42] local.INFO: Processing buffer {"connection_id":194655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:57:42] local.INFO: Packet analysis {"connection_id":194655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:57:42] local.INFO: Extracted packet for processing {"connection_id":194655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:57: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:57: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-25 05:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":194655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:57:42] local.INFO: GPS data processed {"connection_id":194655,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:57:42] local.INFO: Acknowledgment sent {"connection_id":194655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:58:26] local.INFO: TCP Data received {"connection_id":193361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:26] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:26] local.INFO: IMEI packet received {"connection_id":193361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":193361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:58:31] local.INFO: TCP Data received {"connection_id":193361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:31] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:58:31] local.INFO: IMEI packet received {"connection_id":193361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":193361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:58:32] local.INFO: TCP Data received {"connection_id":193361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:58:32] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:58:32] local.INFO: Packet analysis {"connection_id":193361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:58:32] local.INFO: Extracted packet for processing {"connection_id":193361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:58:32] 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-25 05:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:58: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-25 05:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 05:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:58:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":193361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:58:32] local.INFO: GPS data processed {"connection_id":193361,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:58:32] local.INFO: Acknowledgment sent {"connection_id":193361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:59:04] local.INFO: TCP Data received {"connection_id":193361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:04] local.INFO: Processing buffer {"connection_id":193361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:04] local.INFO: Packet analysis {"connection_id":193361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:59:04] local.INFO: Extracted packet for processing {"connection_id":193361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 05: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-25 05:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05: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-25 05:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05: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-25 05: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-25 05: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:59: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-25 05: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-25 05: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-25 05:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:59: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-25 05:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 05:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05: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-25 05:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":193361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:59:04] local.INFO: GPS data processed {"connection_id":193361,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:59:04] local.INFO: Acknowledgment sent {"connection_id":193361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 05:59:15] local.INFO: TCP Data received {"connection_id":191977,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:59:15] local.INFO: Processing buffer {"connection_id":191977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 05:59:15] local.INFO: IMEI packet received {"connection_id":191977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 05:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":191977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:59:26] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:26] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:26] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 05:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 05:59:31] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:31] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 05:59:31] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 05:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 05:59:32] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:32] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f2a888012d34c14006aa4940000900f529..."} 
[2026-09-25 05:59:32] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:59:32] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f2"} 
[2026-09-25 05:59:32] 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-25 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 05:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315659264001,"note":"Value kept but may cause issues"} 
[2026-09-25 05:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 05:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 05:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 05:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790295845000,"timestamp_ms":1790295845000,"timestamp_seconds":1790295845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f2a888"} 
[2026-09-25 05:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 05:59: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-25 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 05:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 05:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 05:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 05:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 05:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 05:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 05:59:32] 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-25 05:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 05:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 05:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315659264001,"66":25430,"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-25 05:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 05:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 05:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315659264001,"description":"Unknown IO ID 0"} 
[2026-09-25 05:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 05:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 05:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 05:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 05:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315659264001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 05:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 05:59:32] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-25 05:59:32] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:00:03] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:03] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:03] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:00:03] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00: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-25 06:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:00:03] 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-25 06:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:00: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-25 06:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:00:03] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:00:03] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:00:26] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:26] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:26] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:00:31] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:31] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:00:31] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:00:32] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:32] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:00:32] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:00:32] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:00:32] 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-25 06:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:00: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-25 06:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:00:32] 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-25 06:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:00:32] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:00:32] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:01:04] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:04] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:04] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:01:04] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06: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-25 06:01: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-25 06:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:01:04] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:01:04] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:01:26] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:26] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:26] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:01:31] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:31] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:01:31] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:01:32] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:32] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:01:32] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:01:32] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:01:32] 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-25 06:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:01:32] 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-25 06:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:01:32] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:01:32] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:02:04] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:04] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:04] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:02:04] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06: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-25 06:02: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-25 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:02:04] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:02:04] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:02:31] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:31] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:31] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:02:36] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:36] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:02:36] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:02:37] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:37] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:37] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:02:37] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:02: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:02: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-25 06:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:02:37] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:02:37] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:02:42] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:42] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:02:42] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:02:42] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:02: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:02:42] 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-25 06:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:02: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-25 06:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:02:42] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:02:42] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:03:26] local.INFO: TCP Data received {"connection_id":194658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:26] local.INFO: Processing buffer {"connection_id":194658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:26] local.INFO: IMEI packet received {"connection_id":194658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":194658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:03:31] local.INFO: TCP Data received {"connection_id":194658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:31] local.INFO: Processing buffer {"connection_id":194658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:03:31] local.INFO: IMEI packet received {"connection_id":194658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":194658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:03:32] local.INFO: TCP Data received {"connection_id":194658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:03:32] local.INFO: Processing buffer {"connection_id":194658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:03:32] local.INFO: Packet analysis {"connection_id":194658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:03:32] local.INFO: Extracted packet for processing {"connection_id":194658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:03:32] 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-25 06:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:03: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-25 06:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:03:32] 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-25 06:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:03:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":194658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:03:33] local.INFO: GPS data processed {"connection_id":194658,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:03:33] local.INFO: Acknowledgment sent {"connection_id":194658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:04:04] local.INFO: TCP Data received {"connection_id":194658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:04] local.INFO: Processing buffer {"connection_id":194658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:04] local.INFO: Packet analysis {"connection_id":194658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:04:04] local.INFO: Extracted packet for processing {"connection_id":194658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":194658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:04:04] local.INFO: GPS data processed {"connection_id":194658,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:04:04] local.INFO: Acknowledgment sent {"connection_id":194658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:04:26] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:26] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:26] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:04:31] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:31] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:04:31] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:04:33] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:33] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5f74050012d34c14006aa4940000900f52a..."} 
[2026-09-25 06:04:33] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06:04:33] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5f7"} 
[2026-09-25 06: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-25 06: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-25 06:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315736320001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790296146000,"timestamp_ms":1790296146000,"timestamp_seconds":1790296146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5f74050"} 
[2026-09-25 06: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-25 06: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-25 06: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:04:33] 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-25 06:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315736320001,"66":25495,"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-25 06:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315736320001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315736320001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:04:33] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:04:33] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:05:04] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:04] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:04] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:05:04] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06: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-25 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06: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-25 06: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-25 06: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-25 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:05:04] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:05:04] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:05:05] local.INFO: TCP Data received {"connection_id":193362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:05:05] local.INFO: Processing buffer {"connection_id":193362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:05:05] local.INFO: IMEI packet received {"connection_id":193362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":193362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:05:26] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:26] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:26] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:05:31] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:31] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:05:31] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:05:32] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:32] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:05:32] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:05:32] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:05:32] 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-25 06:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:05: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-25 06:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:05:32] 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-25 06:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:05:32] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:05:32] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:06:03] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:03] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:03] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:06:03] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:06: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06: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-25 06:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:06:03] 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-25 06:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:06: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-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:06:03] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:06:03] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:06:26] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:26] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:26] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:06:31] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:31] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:06:31] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:06:32] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:32] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:06:32] local.INFO: Packet analysis {"connection_id":191981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:06:32] local.INFO: Extracted packet for processing {"connection_id":191981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:06:32] 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-25 06: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-25 06:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06: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-25 06:06: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-25 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06: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-25 06: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-25 06:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:06:32] 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-25 06:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":191981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:06:32] local.INFO: GPS data processed {"connection_id":191981,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:06:32] local.INFO: Acknowledgment sent {"connection_id":191981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:07:05] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:05] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:05] local.INFO: Packet analysis {"connection_id":191981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:07:05] local.INFO: Extracted packet for processing {"connection_id":191981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06: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-25 06: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-25 06: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-25 06: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-25 06: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-25 06: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-25 06:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":191981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:07:05] local.INFO: GPS data processed {"connection_id":191981,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:07:05] local.INFO: Acknowledgment sent {"connection_id":191981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:07:26] local.INFO: TCP Data received {"connection_id":193364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:26] local.INFO: Processing buffer {"connection_id":193364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:26] local.INFO: IMEI packet received {"connection_id":193364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":193364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:07:31] local.INFO: TCP Data received {"connection_id":193364,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:31] local.INFO: Processing buffer {"connection_id":193364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:07:31] local.INFO: IMEI packet received {"connection_id":193364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":193364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:07:32] local.INFO: TCP Data received {"connection_id":193364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:32] local.INFO: Processing buffer {"connection_id":193364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:07:32] local.INFO: Packet analysis {"connection_id":193364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:07:32] local.INFO: Extracted packet for processing {"connection_id":193364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:07:32] 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-25 06:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:07: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-25 06:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:07:32] 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-25 06:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":193364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:07:32] local.INFO: GPS data processed {"connection_id":193364,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:07:32] local.INFO: Acknowledgment sent {"connection_id":193364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:08:04] local.INFO: TCP Data received {"connection_id":193364,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:04] local.INFO: Processing buffer {"connection_id":193364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:04] local.INFO: Packet analysis {"connection_id":193364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08:04] local.INFO: Extracted packet for processing {"connection_id":193364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08: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-25 06:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:08: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-25 06:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:08: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-25 06:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":193364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:08:04] local.INFO: GPS data processed {"connection_id":193364,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:08:04] local.INFO: Acknowledgment sent {"connection_id":193364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:08:31] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:31] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:31] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:08:36] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:36] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:08:36] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:08:37] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:37] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:37] local.INFO: Packet analysis {"connection_id":191983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08:37] local.INFO: Extracted packet for processing {"connection_id":191983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:08: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-25 06:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:08: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-25 06:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":191983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:08:37] local.INFO: GPS data processed {"connection_id":191983,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:08:37] local.INFO: Acknowledgment sent {"connection_id":191983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:08:42] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:42] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:08:42] local.INFO: Packet analysis {"connection_id":191983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08:42] local.INFO: Extracted packet for processing {"connection_id":191983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:08:42] 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-25 06:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:08: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-25 06:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":191983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:08:42] local.INFO: GPS data processed {"connection_id":191983,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:08:42] local.INFO: Acknowledgment sent {"connection_id":191983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:09:26] local.INFO: TCP Data received {"connection_id":194660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:26] local.INFO: Processing buffer {"connection_id":194660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:26] local.INFO: IMEI packet received {"connection_id":194660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":194660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:09:31] local.INFO: TCP Data received {"connection_id":194660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:31] local.INFO: Processing buffer {"connection_id":194660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:09:31] local.INFO: IMEI packet received {"connection_id":194660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":194660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:09:32] local.INFO: TCP Data received {"connection_id":194660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:09:32] local.INFO: Processing buffer {"connection_id":194660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5fbd818012d34c14006aa4940000900f528..."} 
[2026-09-25 06:09:32] local.INFO: Packet analysis {"connection_id":194660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:09:32] local.INFO: Extracted packet for processing {"connection_id":194660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5fb"} 
[2026-09-25 06:09:32] 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-25 06:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315813376001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296447000,"timestamp_ms":1790296447000,"timestamp_seconds":1790296447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5fbd818"} 
[2026-09-25 06:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:09: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-25 06:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:09:32] 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-25 06:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315813376001,"66":25451,"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-25 06:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315813376001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315813376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":194660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:09:32] local.INFO: GPS data processed {"connection_id":194660,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:09:32] local.INFO: Acknowledgment sent {"connection_id":194660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:10:03] local.INFO: TCP Data received {"connection_id":194660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:03] local.INFO: Processing buffer {"connection_id":194660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:03] local.INFO: Packet analysis {"connection_id":194660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:10:03] local.INFO: Extracted packet for processing {"connection_id":194660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:10: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10: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-25 06:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:10:03] 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-25 06:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:10:03] 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-25 06:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"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-25 06:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:10: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-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":194660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:10:03] local.INFO: GPS data processed {"connection_id":194660,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:10:03] local.INFO: Acknowledgment sent {"connection_id":194660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:10:26] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:26] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:26] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:10:30] local.INFO: TCP Data received {"connection_id":191984,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:10:30] local.INFO: Processing buffer {"connection_id":191984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:10:30] local.INFO: IMEI packet received {"connection_id":191984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":191984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:10:31] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:31] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:10:31] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:10:32] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:32] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:10:32] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:10:32] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:10:32] 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-25 06:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:10:32] 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-25 06:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:10:32] 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-25 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"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-25 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:10:32] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:10:32] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:11:04] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:04] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:04] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:11:04] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:11: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11: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-25 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"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-25 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:11: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-25 06:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:11:04] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:11:04] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:11:05] local.INFO: TCP Data received {"connection_id":191817,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:11:05] local.INFO: Processing buffer {"connection_id":191817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:11:05] local.INFO: IMEI packet received {"connection_id":191817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":191817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:11:26] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:26] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:26] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:11:31] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:31] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:11:31] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:11:32] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:32] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:11:32] local.INFO: Packet analysis {"connection_id":191986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:11:32] local.INFO: Extracted packet for processing {"connection_id":191986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:11:32] 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-25 06:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:11:32] 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-25 06:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":191986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:11:32] local.INFO: GPS data processed {"connection_id":191986,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:11:32] local.INFO: Acknowledgment sent {"connection_id":191986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:12:04] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:04] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:04] local.INFO: Packet analysis {"connection_id":191986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12:04] local.INFO: Extracted packet for processing {"connection_id":191986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12: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-25 06:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:12: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-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":191986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:12:04] local.INFO: GPS data processed {"connection_id":191986,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:12:04] local.INFO: Acknowledgment sent {"connection_id":191986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:12:31] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:31] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:31] local.INFO: IMEI packet received {"connection_id":193366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":193366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:12:36] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:36] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:12:36] local.INFO: IMEI packet received {"connection_id":193366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":193366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:12:37] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:37] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:37] local.INFO: Packet analysis {"connection_id":193366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12:37] local.INFO: Extracted packet for processing {"connection_id":193366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:12: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-25 06:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:12: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-25 06:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":193366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:12:37] local.INFO: GPS data processed {"connection_id":193366,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:12:37] local.INFO: Acknowledgment sent {"connection_id":193366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:12:42] local.INFO: TCP Data received {"connection_id":193366,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:42] local.INFO: Processing buffer {"connection_id":193366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:12:42] local.INFO: Packet analysis {"connection_id":193366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12:42] local.INFO: Extracted packet for processing {"connection_id":193366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:12: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:12: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-25 06:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":193366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:12:42] local.INFO: GPS data processed {"connection_id":193366,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:12:42] local.INFO: Acknowledgment sent {"connection_id":193366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:13:26] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:26] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:26] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:13:31] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:31] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:13:31] local.INFO: IMEI packet received {"connection_id":191820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":191820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:13:32] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:13:32] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:13:32] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:13:32] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:13:32] 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-25 06:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:13: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-25 06:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:13:32] 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-25 06:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:13:32] local.INFO: GPS data processed {"connection_id":191820,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:13:32] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:14:04] local.INFO: TCP Data received {"connection_id":191820,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:04] local.INFO: Processing buffer {"connection_id":191820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:04] local.INFO: Packet analysis {"connection_id":191820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:14:04] local.INFO: Extracted packet for processing {"connection_id":191820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06: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-25 06: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-25 06: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":191820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:14:04] local.INFO: GPS data processed {"connection_id":191820,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:14:04] local.INFO: Acknowledgment sent {"connection_id":191820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:14:26] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:26] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:26] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:14:31] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:31] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:14:31] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:14:32] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:32] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6006fe0012d34c14006aa4940000900f528..."} 
[2026-09-25 06:14:32] local.INFO: Packet analysis {"connection_id":191987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:14:32] local.INFO: Extracted packet for processing {"connection_id":191987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d600"} 
[2026-09-25 06:14:32] 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-25 06:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315890432001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790296748000,"timestamp_ms":1790296748000,"timestamp_seconds":1790296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6006fe0"} 
[2026-09-25 06:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:14: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-25 06:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:14:32] 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-25 06:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:14:32] 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-25 06:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315890432001,"66":25473,"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-25 06:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315890432001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315890432001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":191987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:14:32] local.INFO: GPS data processed {"connection_id":191987,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:14:32] local.INFO: Acknowledgment sent {"connection_id":191987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:15:04] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:04] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:04] local.INFO: Packet analysis {"connection_id":191987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:15:04] local.INFO: Extracted packet for processing {"connection_id":191987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:15: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15: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-25 06:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"66":25473,"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-25 06:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:15: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-25 06:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":191987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:15:04] local.INFO: GPS data processed {"connection_id":191987,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:15:04] local.INFO: Acknowledgment sent {"connection_id":191987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:15:26] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:26] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:26] local.INFO: IMEI packet received {"connection_id":193368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":193368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:15:31] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:31] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:15:31] local.INFO: IMEI packet received {"connection_id":193368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":193368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:15:32] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:32] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:15:32] local.INFO: Packet analysis {"connection_id":193368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:15:32] local.INFO: Extracted packet for processing {"connection_id":193368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:15:32] 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-25 06:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:15: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-25 06:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":193368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:15:32] local.INFO: GPS data processed {"connection_id":193368,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:15:32] local.INFO: Acknowledgment sent {"connection_id":193368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:16:03] local.INFO: TCP Data received {"connection_id":193368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:03] local.INFO: Processing buffer {"connection_id":193368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:03] local.INFO: Packet analysis {"connection_id":193368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:16:03] local.INFO: Extracted packet for processing {"connection_id":193368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:16: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16: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-25 06:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:16: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-25 06:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:16: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-25 06:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:16:03] local.INFO: GPS data processed {"connection_id":193368,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:16:03] local.INFO: Acknowledgment sent {"connection_id":193368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:16:26] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:26] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:26] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:16:30] local.INFO: TCP Data received {"connection_id":193369,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:16:30] local.INFO: Processing buffer {"connection_id":193369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:16:30] local.INFO: IMEI packet received {"connection_id":193369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":193369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:16:31] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:31] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:16:31] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:16:32] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:32] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:16:32] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:16:32] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:16:32] 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-25 06: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-25 06:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06: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-25 06:16: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-25 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:16:32] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:16:32] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:17:03] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:03] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:03] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17:03] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17: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-25 06:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17: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-25 06:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:17: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-25 06:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:17:03] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:17:03] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:17:10] local.INFO: TCP Data received {"connection_id":194661,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:17:10] local.INFO: Processing buffer {"connection_id":194661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:17:10] local.INFO: IMEI packet received {"connection_id":194661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":194661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:17:31] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:31] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:31] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:17:36] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:36] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:17:36] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:17:38] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:38] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:38] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17:38] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:17: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-25 06:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:17: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-25 06:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:17:38] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:17:38] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:17:42] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:42] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:17:42] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17:42] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:17: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:17: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-25 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:17: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-25 06:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:17:42] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:17:42] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:18:26] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:26] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:26] local.INFO: IMEI packet received {"connection_id":191990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":191990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:18:31] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:31] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:18:31] local.INFO: IMEI packet received {"connection_id":191990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":191990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:18:32] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:18:32] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:18:32] local.INFO: Packet analysis {"connection_id":191990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:18:32] local.INFO: Extracted packet for processing {"connection_id":191990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:18:32] 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-25 06:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:18: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-25 06:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":191990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:18:32] local.INFO: GPS data processed {"connection_id":191990,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:18:32] local.INFO: Acknowledgment sent {"connection_id":191990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:19:03] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:03] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:03] local.INFO: Packet analysis {"connection_id":191990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19:03] local.INFO: Extracted packet for processing {"connection_id":191990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19: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-25 06:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:19: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-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":191990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:19:03] local.INFO: GPS data processed {"connection_id":191990,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:19:03] local.INFO: Acknowledgment sent {"connection_id":191990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:19:27] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:27] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:27] local.INFO: IMEI packet received {"connection_id":191991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":191991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:19:31] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:31] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:19:31] local.INFO: IMEI packet received {"connection_id":191991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":191991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:19:32] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:32] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:32] local.INFO: Packet analysis {"connection_id":191991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19:32] local.INFO: Extracted packet for processing {"connection_id":191991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19:32] 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-25 06:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:19: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-25 06:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":191991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:19:32] local.INFO: GPS data processed {"connection_id":191991,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:19:32] local.INFO: Acknowledgment sent {"connection_id":191991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:19:37] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:37] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60507a8012d34c14006aa4940000900f527..."} 
[2026-09-25 06:19:37] local.INFO: Packet analysis {"connection_id":191991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19:37] local.INFO: Extracted packet for processing {"connection_id":191991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d605"} 
[2026-09-25 06:19: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-25 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315967488001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790297049000,"timestamp_ms":1790297049000,"timestamp_seconds":1790297049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60507a8"} 
[2026-09-25 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315967488001,"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-25 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315967488001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:19: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-25 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315967488001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":191991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:19:37] local.INFO: GPS data processed {"connection_id":191991,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:19:37] local.INFO: Acknowledgment sent {"connection_id":191991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:20:08] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:08] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:08] local.INFO: Packet analysis {"connection_id":191991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:20:08] local.INFO: Extracted packet for processing {"connection_id":191991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06: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":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06: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-25 06:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:20: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-25 06:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":191991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:20:08] local.INFO: GPS data processed {"connection_id":191991,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:20:08] local.INFO: Acknowledgment sent {"connection_id":191991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:20:26] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:26] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:26] local.INFO: IMEI packet received {"connection_id":191822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":191822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:20:31] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:31] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:20:31] local.INFO: IMEI packet received {"connection_id":191822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":191822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:20:32] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:32] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:20:32] local.INFO: Packet analysis {"connection_id":191822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:20:32] local.INFO: Extracted packet for processing {"connection_id":191822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:20:32] 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-25 06:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:20: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-25 06:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":191822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:20:32] local.INFO: GPS data processed {"connection_id":191822,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:20:32] local.INFO: Acknowledgment sent {"connection_id":191822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:21:03] local.INFO: TCP Data received {"connection_id":191822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:03] local.INFO: Processing buffer {"connection_id":191822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:03] local.INFO: Packet analysis {"connection_id":191822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:21:03] local.INFO: Extracted packet for processing {"connection_id":191822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:21: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":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21: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-25 06:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:21: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-25 06:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:21: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-25 06:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":191822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:21:03] local.INFO: GPS data processed {"connection_id":191822,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:21:03] local.INFO: Acknowledgment sent {"connection_id":191822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:21:26] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:26] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:26] local.INFO: IMEI packet received {"connection_id":193370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":193370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:21:31] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:31] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:21:31] local.INFO: IMEI packet received {"connection_id":193370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":193370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:21:32] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:32] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:21:32] local.INFO: Packet analysis {"connection_id":193370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:21:32] local.INFO: Extracted packet for processing {"connection_id":193370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:21:32] 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-25 06:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":193370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:21:32] local.INFO: GPS data processed {"connection_id":193370,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:21:32] local.INFO: Acknowledgment sent {"connection_id":193370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:22:03] local.INFO: TCP Data received {"connection_id":193370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:03] local.INFO: Processing buffer {"connection_id":193370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:03] local.INFO: Packet analysis {"connection_id":193370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:22:03] local.INFO: Extracted packet for processing {"connection_id":193370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:22: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":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22: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-25 06:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:22: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-25 06:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:22: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-25 06:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":193370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:22:03] local.INFO: GPS data processed {"connection_id":193370,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:22:03] local.INFO: Acknowledgment sent {"connection_id":193370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:22:26] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:26] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:26] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:22:31] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:31] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:22:31] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:22:32] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:32] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:22:32] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:22:32] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:22:32] 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-25 06:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:22: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-25 06:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:22:32] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:22:32] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:23:03] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:03] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:03] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:23:03] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:23: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":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23: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-25 06:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:23: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-25 06:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:23: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-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:23:03] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:23:03] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:23:05] local.INFO: TCP Data received {"connection_id":194665,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:23:05] local.INFO: Processing buffer {"connection_id":194665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:23:05] local.INFO: IMEI packet received {"connection_id":194665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":194665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:23:26] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:26] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:26] local.INFO: IMEI packet received {"connection_id":193371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":193371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:23:31] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:31] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:23:31] local.INFO: IMEI packet received {"connection_id":193371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":193371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:23:32] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:32] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:23:32] local.INFO: Packet analysis {"connection_id":193371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:23:32] local.INFO: Extracted packet for processing {"connection_id":193371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:23:32] 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-25 06:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:23: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-25 06:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":193371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:23:32] local.INFO: GPS data processed {"connection_id":193371,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:23:32] local.INFO: Acknowledgment sent {"connection_id":193371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:24:03] local.INFO: TCP Data received {"connection_id":193371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:03] local.INFO: Processing buffer {"connection_id":193371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:03] local.INFO: Packet analysis {"connection_id":193371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:24:03] local.INFO: Extracted packet for processing {"connection_id":193371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:24: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":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24: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-25 06:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:24: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-25 06:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:24: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-25 06:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":193371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:24:03] local.INFO: GPS data processed {"connection_id":193371,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:24:03] local.INFO: Acknowledgment sent {"connection_id":193371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:24:26] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:26] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:26] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:24:31] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:31] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:24:31] local.INFO: IMEI packet received {"connection_id":191824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":191824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:24:32] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:32] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6099f70012d34c14006aa4940000900f526..."} 
[2026-09-25 06:24:32] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:24:32] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d609"} 
[2026-09-25 06:24:32] 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-25 06: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-25 06:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316044544001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297350000,"timestamp_ms":1790297350000,"timestamp_seconds":1790297350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6099f70"} 
[2026-09-25 06: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-25 06: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-25 06: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316044544001,"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-25 06:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316044544001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316044544001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:24:32] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:24:32] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:25:03] local.INFO: TCP Data received {"connection_id":191824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:03] local.INFO: Processing buffer {"connection_id":191824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:03] local.INFO: Packet analysis {"connection_id":191824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25:03] local.INFO: Extracted packet for processing {"connection_id":191824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25: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-25 06:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25: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-25 06:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:25: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-25 06:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":191824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:25:03] local.INFO: GPS data processed {"connection_id":191824,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:25:03] local.INFO: Acknowledgment sent {"connection_id":191824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:25:26] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:26] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:26] local.INFO: IMEI packet received {"connection_id":191995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":191995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:25:31] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:31] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:25:31] local.INFO: IMEI packet received {"connection_id":191995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":191995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:25:32] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:32] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:32] local.INFO: Packet analysis {"connection_id":191995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25:32] local.INFO: Extracted packet for processing {"connection_id":191995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25:32] 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-25 06:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:25: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-25 06:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":191995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:25:32] local.INFO: GPS data processed {"connection_id":191995,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:25:32] local.INFO: Acknowledgment sent {"connection_id":191995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:25:37] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:37] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:25:37] local.INFO: Packet analysis {"connection_id":191995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25:37] local.INFO: Extracted packet for processing {"connection_id":191995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:25: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-25 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:25: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-25 06:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:25: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-25 06:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":191995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:25:37] local.INFO: GPS data processed {"connection_id":191995,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:25:37] local.INFO: Acknowledgment sent {"connection_id":191995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:26:08] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:08] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:08] local.INFO: Packet analysis {"connection_id":191995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:26:08] local.INFO: Extracted packet for processing {"connection_id":191995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:26: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-25 06: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-25 06:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06: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-25 06:26: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-25 06:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:26: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-25 06:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":191995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:26:08] local.INFO: GPS data processed {"connection_id":191995,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:26:08] local.INFO: Acknowledgment sent {"connection_id":191995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:26:26] local.INFO: TCP Data received {"connection_id":194668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:26] local.INFO: Processing buffer {"connection_id":194668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:26] local.INFO: IMEI packet received {"connection_id":194668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":194668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:26:31] local.INFO: TCP Data received {"connection_id":194668,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:31] local.INFO: Processing buffer {"connection_id":194668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:26:31] local.INFO: IMEI packet received {"connection_id":194668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":194668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:26:32] local.INFO: TCP Data received {"connection_id":194668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:32] local.INFO: Processing buffer {"connection_id":194668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:26:32] local.INFO: Packet analysis {"connection_id":194668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:26:32] local.INFO: Extracted packet for processing {"connection_id":194668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:26:32] 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-25 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:26: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-25 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":194668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:26:32] local.INFO: GPS data processed {"connection_id":194668,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:26:32] local.INFO: Acknowledgment sent {"connection_id":194668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:27:03] local.INFO: TCP Data received {"connection_id":194668,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:03] local.INFO: Processing buffer {"connection_id":194668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:03] local.INFO: Packet analysis {"connection_id":194668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:27:03] local.INFO: Extracted packet for processing {"connection_id":194668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:27: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27: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-25 06:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:27: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-25 06:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:27: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-25 06:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":194668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:27:03] local.INFO: GPS data processed {"connection_id":194668,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:27:03] local.INFO: Acknowledgment sent {"connection_id":194668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:27:26] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:26] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:26] local.INFO: IMEI packet received {"connection_id":191997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":191997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:27:31] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:31] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:27:31] local.INFO: IMEI packet received {"connection_id":191997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":191997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:27:32] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:32] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:27:32] local.INFO: Packet analysis {"connection_id":191997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:27:32] local.INFO: Extracted packet for processing {"connection_id":191997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:27:32] 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-25 06:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:27: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-25 06:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":191997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:27:32] local.INFO: GPS data processed {"connection_id":191997,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:27:32] local.INFO: Acknowledgment sent {"connection_id":191997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:28:03] local.INFO: TCP Data received {"connection_id":191997,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:03] local.INFO: Processing buffer {"connection_id":191997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:03] local.INFO: Packet analysis {"connection_id":191997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:28:03] local.INFO: Extracted packet for processing {"connection_id":191997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:28: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28: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-25 06:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:28: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-25 06:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:28: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-25 06:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":191997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:28:03] local.INFO: GPS data processed {"connection_id":191997,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:28:03] local.INFO: Acknowledgment sent {"connection_id":191997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:28:26] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:26] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:26] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:28:31] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:31] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:28:31] local.INFO: IMEI packet received {"connection_id":191825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":191825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:28:32] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:32] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:28:32] local.INFO: Packet analysis {"connection_id":191825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:28:32] local.INFO: Extracted packet for processing {"connection_id":191825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:28:32] 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-25 06:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:28: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-25 06:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":191825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:28:32] local.INFO: GPS data processed {"connection_id":191825,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:28:32] local.INFO: Acknowledgment sent {"connection_id":191825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:28:35] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:28:35] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:28:35] local.INFO: IMEI packet received {"connection_id":191998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":191998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:29:03] local.INFO: TCP Data received {"connection_id":191825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:03] local.INFO: Processing buffer {"connection_id":191825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:03] local.INFO: Packet analysis {"connection_id":191825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:29:03] local.INFO: Extracted packet for processing {"connection_id":191825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:29: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":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29: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-25 06:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:29: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-25 06:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:29: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-25 06:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":191825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:29:03] local.INFO: GPS data processed {"connection_id":191825,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:29:03] local.INFO: Acknowledgment sent {"connection_id":191825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:29:05] local.INFO: TCP Data received {"connection_id":191999,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:05] local.INFO: Processing buffer {"connection_id":191999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:05] local.INFO: IMEI packet received {"connection_id":191999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":191999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:29:16] local.INFO: TCP Data received {"connection_id":191999,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:16] local.INFO: Processing buffer {"connection_id":191999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:29:16] local.INFO: IMEI packet received {"connection_id":191999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 06:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":191999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:29:17] local.INFO: TCP Data received {"connection_id":191999,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d5e02a28012d34290006abbd00000700d730..."} 
[2026-09-25 06:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d5e02a28012d34290006abbd00000700d730..."} 
[2026-09-25 06:29:17] local.INFO: Processing buffer {"connection_id":191999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d5e02a28012d34290006abbd00000700d730..."} 
[2026-09-25 06:29:17] local.INFO: Packet analysis {"connection_id":191999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 06:29:17] local.INFO: Extracted packet for processing {"connection_id":191999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d5e0"} 
[2026-09-25 06:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 06:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458315348992001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790294633000,"timestamp_ms":1790294633000,"timestamp_seconds":1790294633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d5e02a28"} 
[2026-09-25 06:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:29: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-25 06:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 06:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 06:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 06:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 06:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 06:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458315348992001,"66":25397,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 06:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 06:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 06:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458315348992001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:29:17] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 06:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 06:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458315348992001,"power":25397,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 06:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":191999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:29:17] local.INFO: GPS data processed {"connection_id":191999,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:29:17] local.INFO: Acknowledgment sent {"connection_id":191999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:29:27] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:27] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:27] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:29:31] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:31] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:29:31] local.INFO: IMEI packet received {"connection_id":191826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":191826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:29:32] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:32] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d60e3738012d34c14006aa4940000900f527..."} 
[2026-09-25 06:29:32] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:29:32] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d60e"} 
[2026-09-25 06:29:32] 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-25 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316121600001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297651000,"timestamp_ms":1790297651000,"timestamp_seconds":1790297651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d60e3738"} 
[2026-09-25 06:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:29: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-25 06:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 06:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316121600001,"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-25 06:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316121600001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316121600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:29:32] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:29:32] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:30:04] local.INFO: TCP Data received {"connection_id":191826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:04] local.INFO: Processing buffer {"connection_id":191826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:04] local.INFO: Packet analysis {"connection_id":191826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:30:04] local.INFO: Extracted packet for processing {"connection_id":191826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06: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-25 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06: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-25 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":191826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:30:04] local.INFO: GPS data processed {"connection_id":191826,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:30:04] local.INFO: Acknowledgment sent {"connection_id":191826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:30:05] local.INFO: TCP Data received {"connection_id":191827,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:30:05] local.INFO: Processing buffer {"connection_id":191827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:30:05] local.INFO: IMEI packet received {"connection_id":191827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":191827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:30:26] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:26] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:26] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:30:31] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:31] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:30:31] local.INFO: IMEI packet received {"connection_id":191828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":191828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:30:32] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:32] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:30:32] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:30:32] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:30:32] 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-25 06:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:30:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:30:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:30:32] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:30:32] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:31:03] local.INFO: TCP Data received {"connection_id":191828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:03] local.INFO: Processing buffer {"connection_id":191828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:03] local.INFO: Packet analysis {"connection_id":191828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:31:03] local.INFO: Extracted packet for processing {"connection_id":191828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:31: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31: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-25 06:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:31: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-25 06:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:31: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-25 06:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":191828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:31:03] local.INFO: GPS data processed {"connection_id":191828,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:31:03] local.INFO: Acknowledgment sent {"connection_id":191828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:31:26] local.INFO: TCP Data received {"connection_id":194669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:26] local.INFO: Processing buffer {"connection_id":194669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:26] local.INFO: IMEI packet received {"connection_id":194669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":194669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:31:31] local.INFO: TCP Data received {"connection_id":194669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:31] local.INFO: Processing buffer {"connection_id":194669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:31:31] local.INFO: IMEI packet received {"connection_id":194669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":194669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:31:32] local.INFO: TCP Data received {"connection_id":194669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:32] local.INFO: Processing buffer {"connection_id":194669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:31:32] local.INFO: Packet analysis {"connection_id":194669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:31:32] local.INFO: Extracted packet for processing {"connection_id":194669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:31:32] 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-25 06:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:31: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-25 06:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":194669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:31:32] local.INFO: GPS data processed {"connection_id":194669,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:31:32] local.INFO: Acknowledgment sent {"connection_id":194669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:32:03] local.INFO: TCP Data received {"connection_id":194669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:03] local.INFO: Processing buffer {"connection_id":194669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:03] local.INFO: Packet analysis {"connection_id":194669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:32:03] local.INFO: Extracted packet for processing {"connection_id":194669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:32: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32: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-25 06:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:32: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-25 06:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:32: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-25 06:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":194669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:32:03] local.INFO: GPS data processed {"connection_id":194669,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:32:03] local.INFO: Acknowledgment sent {"connection_id":194669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:32:26] local.INFO: TCP Data received {"connection_id":192002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:26] local.INFO: Processing buffer {"connection_id":192002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:26] local.INFO: IMEI packet received {"connection_id":192002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":192002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:32:31] local.INFO: TCP Data received {"connection_id":192002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:31] local.INFO: Processing buffer {"connection_id":192002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:32:31] local.INFO: IMEI packet received {"connection_id":192002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":192002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:32:32] local.INFO: TCP Data received {"connection_id":192002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:32] local.INFO: Processing buffer {"connection_id":192002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:32:32] local.INFO: Packet analysis {"connection_id":192002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:32:32] local.INFO: Extracted packet for processing {"connection_id":192002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:32:32] 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-25 06:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:32: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-25 06:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":192002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:32:32] local.INFO: GPS data processed {"connection_id":192002,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:32:32] local.INFO: Acknowledgment sent {"connection_id":192002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:33:04] local.INFO: TCP Data received {"connection_id":192002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:04] local.INFO: Processing buffer {"connection_id":192002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:04] local.INFO: Packet analysis {"connection_id":192002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:33:04] local.INFO: Extracted packet for processing {"connection_id":192002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:33: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-25 06:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33: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-25 06:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:33: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-25 06:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":192002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:33:04] local.INFO: GPS data processed {"connection_id":192002,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:33:04] local.INFO: Acknowledgment sent {"connection_id":192002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:33:31] local.INFO: TCP Data received {"connection_id":193373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:31] local.INFO: Processing buffer {"connection_id":193373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:31] local.INFO: IMEI packet received {"connection_id":193373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":193373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:33:36] local.INFO: TCP Data received {"connection_id":193373,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:36] local.INFO: Processing buffer {"connection_id":193373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:33:36] local.INFO: IMEI packet received {"connection_id":193373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":193373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:33:37] local.INFO: TCP Data received {"connection_id":193373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:37] local.INFO: Processing buffer {"connection_id":193373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:37] local.INFO: Packet analysis {"connection_id":193373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:33:37] local.INFO: Extracted packet for processing {"connection_id":193373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33: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-25 06:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":193373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:33:37] local.INFO: GPS data processed {"connection_id":193373,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:33:37] local.INFO: Acknowledgment sent {"connection_id":193373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:33:42] local.INFO: TCP Data received {"connection_id":193373,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:42] local.INFO: Processing buffer {"connection_id":193373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:33:42] local.INFO: Packet analysis {"connection_id":193373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:33:42] local.INFO: Extracted packet for processing {"connection_id":193373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:33: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:33: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-25 06:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":193373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:33:42] local.INFO: GPS data processed {"connection_id":193373,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:33:42] local.INFO: Acknowledgment sent {"connection_id":193373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:34:26] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:26] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:26] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:34:31] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:31] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:34:31] local.INFO: IMEI packet received {"connection_id":191829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":191829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:34:32] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:34:32] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d612cf00012d34c14006aa4940000900f529..."} 
[2026-09-25 06:34:32] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:34:32] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d612"} 
[2026-09-25 06:34:32] 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-25 06:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316198656001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790297952000,"timestamp_ms":1790297952000,"timestamp_seconds":1790297952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d612cf00"} 
[2026-09-25 06:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:34: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-25 06:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 06:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316198656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316198656001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316198656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:34:32] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:34:32] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:35:03] local.INFO: TCP Data received {"connection_id":191829,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:03] local.INFO: Processing buffer {"connection_id":191829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:03] local.INFO: Packet analysis {"connection_id":191829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:35:03] local.INFO: Extracted packet for processing {"connection_id":191829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:35: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35: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-25 06:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:35: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-25 06:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:35: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-25 06:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":191829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:35:03] local.INFO: GPS data processed {"connection_id":191829,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:35:03] local.INFO: Acknowledgment sent {"connection_id":191829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:35:26] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:26] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:26] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:35:30] local.INFO: TCP Data received {"connection_id":194670,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:35:30] local.INFO: Processing buffer {"connection_id":194670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:35:30] local.INFO: IMEI packet received {"connection_id":194670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":194670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:35:31] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:31] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:35:31] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:35:32] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:32] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:35:32] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:35:32] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:35:32] 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-25 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 06:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:35: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-25 06:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:35:32] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:35:32] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:36:03] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:03] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:03] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:36:03] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:36: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36: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-25 06:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:36: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-25 06:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:36: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-25 06:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:36:03] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:36:03] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:36:05] local.INFO: TCP Data received {"connection_id":192006,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:36:05] local.INFO: Processing buffer {"connection_id":192006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:36:05] local.INFO: IMEI packet received {"connection_id":192006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":192006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:36:26] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:26] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:26] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:36:31] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:31] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:36:31] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:36:32] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:32] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:36:32] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:36:32] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:36:32] 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-25 06:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:36:32] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:36:32] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:37:03] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:03] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:03] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:37:03] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:37: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37: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-25 06:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:37: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-25 06:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:37: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-25 06:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:37:03] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:37:03] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:37:26] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:26] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:26] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:37:31] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:31] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:37:31] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:37:32] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:32] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:37:32] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:37:32] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:37:32] 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-25 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:37:32] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:37:32] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:38:03] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:03] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:03] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:38:03] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:38: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38: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-25 06:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:38: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-25 06:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:38: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-25 06:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:38:03] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:38:03] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:38:26] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:26] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:26] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:38:31] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:31] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:38:31] local.INFO: IMEI packet received {"connection_id":191830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":191830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:38:32] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:32] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:38:32] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:38:32] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:38:32] 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-25 06:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:38:32] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:38:32] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:39:03] local.INFO: TCP Data received {"connection_id":191830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:03] local.INFO: Processing buffer {"connection_id":191830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:03] local.INFO: Packet analysis {"connection_id":191830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:39:03] local.INFO: Extracted packet for processing {"connection_id":191830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:39: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39: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-25 06:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:39: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-25 06:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:39: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-25 06:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":191830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:39:03] local.INFO: GPS data processed {"connection_id":191830,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:39:03] local.INFO: Acknowledgment sent {"connection_id":191830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:39:26] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:26] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:26] local.INFO: IMEI packet received {"connection_id":192009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":192009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:39:31] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:31] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:39:31] local.INFO: IMEI packet received {"connection_id":192009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":192009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:39:32] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:32] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61766c8012d34c14006aa4940000900f528..."} 
[2026-09-25 06:39:32] local.INFO: Packet analysis {"connection_id":192009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:39:32] local.INFO: Extracted packet for processing {"connection_id":192009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d617"} 
[2026-09-25 06:39:32] 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-25 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316275712001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298253000,"timestamp_ms":1790298253000,"timestamp_seconds":1790298253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61766c8"} 
[2026-09-25 06:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316275712001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316275712001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316275712001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":192009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:39:32] local.INFO: GPS data processed {"connection_id":192009,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:39:32] local.INFO: Acknowledgment sent {"connection_id":192009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:40:03] local.INFO: TCP Data received {"connection_id":192009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:03] local.INFO: Processing buffer {"connection_id":192009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:03] local.INFO: Packet analysis {"connection_id":192009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:40:03] local.INFO: Extracted packet for processing {"connection_id":192009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:40: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40: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-25 06:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:40: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-25 06:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:40: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-25 06:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":192009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:40:03] local.INFO: GPS data processed {"connection_id":192009,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:40:03] local.INFO: Acknowledgment sent {"connection_id":192009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:40:26] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:26] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:26] local.INFO: IMEI packet received {"connection_id":192010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":192010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:40:31] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:31] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:40:31] local.INFO: IMEI packet received {"connection_id":192010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:40:32] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:32] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:40:32] local.INFO: Packet analysis {"connection_id":192010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:40:32] local.INFO: Extracted packet for processing {"connection_id":192010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:40:32] 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-25 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":192010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:40:32] local.INFO: GPS data processed {"connection_id":192010,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:40:32] local.INFO: Acknowledgment sent {"connection_id":192010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:41:03] local.INFO: TCP Data received {"connection_id":192010,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:03] local.INFO: Processing buffer {"connection_id":192010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:03] local.INFO: Packet analysis {"connection_id":192010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:41:03] local.INFO: Extracted packet for processing {"connection_id":192010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:41: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41: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-25 06:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:41: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-25 06:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:41: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-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:41:03] local.INFO: GPS data processed {"connection_id":192010,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:41:03] local.INFO: Acknowledgment sent {"connection_id":192010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:41:26] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:26] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:26] local.INFO: IMEI packet received {"connection_id":193376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":193376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:41:31] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:31] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:41:31] local.INFO: IMEI packet received {"connection_id":193376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":193376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:41:32] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:32] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:41:32] local.INFO: Packet analysis {"connection_id":193376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:41:32] local.INFO: Extracted packet for processing {"connection_id":193376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:41:32] 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-25 06:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":193376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:41:32] local.INFO: GPS data processed {"connection_id":193376,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:41:32] local.INFO: Acknowledgment sent {"connection_id":193376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:41:42] local.INFO: TCP Data received {"connection_id":193375,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:41:42] local.INFO: Processing buffer {"connection_id":193375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:41:42] local.INFO: IMEI packet received {"connection_id":193375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":193375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:42:03] local.INFO: TCP Data received {"connection_id":193376,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:03] local.INFO: Processing buffer {"connection_id":193376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:03] local.INFO: Packet analysis {"connection_id":193376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:42:03] local.INFO: Extracted packet for processing {"connection_id":193376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:42: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42: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-25 06:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:42: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-25 06:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:42: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-25 06:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":193376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:42:03] local.INFO: GPS data processed {"connection_id":193376,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:42:03] local.INFO: Acknowledgment sent {"connection_id":193376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:42:05] local.INFO: TCP Data received {"connection_id":194673,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:42:05] local.INFO: Processing buffer {"connection_id":194673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:42:05] local.INFO: IMEI packet received {"connection_id":194673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":194673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:42:26] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:26] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:26] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:42:31] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:31] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:42:31] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:42:32] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:32] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:42:32] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:42:32] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:42:32] 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-25 06:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:42: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-25 06:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:42:32] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:42:32] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:43:03] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:03] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:03] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:43:03] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06: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-25 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06: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-25 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06: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-25 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:43:03] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:43:03] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:43:26] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:26] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:26] local.INFO: IMEI packet received {"connection_id":191832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":191832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:43:31] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:31] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:43:31] local.INFO: IMEI packet received {"connection_id":191832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":191832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:43:32] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:32] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:43:32] local.INFO: Packet analysis {"connection_id":191832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:43:32] local.INFO: Extracted packet for processing {"connection_id":191832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:43:32] 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-25 06:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:43: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-25 06:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":191832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:43:32] local.INFO: GPS data processed {"connection_id":191832,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:43:32] local.INFO: Acknowledgment sent {"connection_id":191832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:44:03] local.INFO: TCP Data received {"connection_id":191832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:03] local.INFO: Processing buffer {"connection_id":191832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:03] local.INFO: Packet analysis {"connection_id":191832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:44:03] local.INFO: Extracted packet for processing {"connection_id":191832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:44: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44: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-25 06:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:44: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-25 06:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":191832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:44:03] local.INFO: GPS data processed {"connection_id":191832,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:44:03] local.INFO: Acknowledgment sent {"connection_id":191832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:44:26] local.INFO: TCP Data received {"connection_id":194675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:26] local.INFO: Processing buffer {"connection_id":194675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:26] local.INFO: IMEI packet received {"connection_id":194675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":194675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:44:31] local.INFO: TCP Data received {"connection_id":194675,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:31] local.INFO: Processing buffer {"connection_id":194675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:44:31] local.INFO: IMEI packet received {"connection_id":194675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":194675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:44:32] local.INFO: TCP Data received {"connection_id":194675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:32] local.INFO: Processing buffer {"connection_id":194675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d61bfe90012d34c14006aa4940000900f528..."} 
[2026-09-25 06:44:32] local.INFO: Packet analysis {"connection_id":194675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:44:32] local.INFO: Extracted packet for processing {"connection_id":194675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d61b"} 
[2026-09-25 06:44:32] 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-25 06:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316352768001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298554000,"timestamp_ms":1790298554000,"timestamp_seconds":1790298554,"priority":1,"record_length":96,"hex_timestamp":"000001a0d61bfe90"} 
[2026-09-25 06:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:44: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-25 06:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 06:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316352768001,"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-25 06:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316352768001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316352768001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":194675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:44:32] local.INFO: GPS data processed {"connection_id":194675,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:44:32] local.INFO: Acknowledgment sent {"connection_id":194675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:45:03] local.INFO: TCP Data received {"connection_id":194675,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:03] local.INFO: Processing buffer {"connection_id":194675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:03] local.INFO: Packet analysis {"connection_id":194675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:45:03] local.INFO: Extracted packet for processing {"connection_id":194675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:45: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45: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-25 06:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:45: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-25 06:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:45: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-25 06:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":194675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:45:03] local.INFO: GPS data processed {"connection_id":194675,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:45:03] local.INFO: Acknowledgment sent {"connection_id":194675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:45:26] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:26] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:26] local.INFO: IMEI packet received {"connection_id":192013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":192013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:45:31] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:31] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:45:31] local.INFO: IMEI packet received {"connection_id":192013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":192013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:45:32] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:32] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:45:32] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:45:32] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:45:32] 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-25 06:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:45: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-25 06:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:45:32] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:45:32] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:46:03] local.INFO: TCP Data received {"connection_id":192013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:03] local.INFO: Processing buffer {"connection_id":192013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:03] local.INFO: Packet analysis {"connection_id":192013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:46:03] local.INFO: Extracted packet for processing {"connection_id":192013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:46: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46: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-25 06:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:46: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-25 06:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:46: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-25 06:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":192013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:46:03] local.INFO: GPS data processed {"connection_id":192013,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:46:03] local.INFO: Acknowledgment sent {"connection_id":192013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:46:26] local.INFO: TCP Data received {"connection_id":194676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:26] local.INFO: Processing buffer {"connection_id":194676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:26] local.INFO: IMEI packet received {"connection_id":194676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":194676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:46:31] local.INFO: TCP Data received {"connection_id":194676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:31] local.INFO: Processing buffer {"connection_id":194676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:46:31] local.INFO: IMEI packet received {"connection_id":194676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":194676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:46:32] local.INFO: TCP Data received {"connection_id":194676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:32] local.INFO: Processing buffer {"connection_id":194676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:46:32] local.INFO: Packet analysis {"connection_id":194676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:46:32] local.INFO: Extracted packet for processing {"connection_id":194676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:46:32] 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-25 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:46: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-25 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":194676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:46:32] local.INFO: GPS data processed {"connection_id":194676,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:46:32] local.INFO: Acknowledgment sent {"connection_id":194676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:47:03] local.INFO: TCP Data received {"connection_id":194676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:03] local.INFO: Processing buffer {"connection_id":194676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:03] local.INFO: Packet analysis {"connection_id":194676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47:03] local.INFO: Extracted packet for processing {"connection_id":194676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47: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-25 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47: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-25 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:47: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-25 06:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":194676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:47:03] local.INFO: GPS data processed {"connection_id":194676,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:47:03] local.INFO: Acknowledgment sent {"connection_id":194676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:47:31] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:31] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:31] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:47:35] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:47:35] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:47:35] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:47:36] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:36] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:47:36] local.INFO: IMEI packet received {"connection_id":191834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":191834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:47:37] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:37] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:37] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47:37] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47: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-25 06:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:47: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-25 06:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:47:37] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:47:37] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:47:42] local.INFO: TCP Data received {"connection_id":191834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:42] local.INFO: Processing buffer {"connection_id":191834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:47:42] local.INFO: Packet analysis {"connection_id":191834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47:42] local.INFO: Extracted packet for processing {"connection_id":191834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:47: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:47: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-25 06:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":191834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:47:42] local.INFO: GPS data processed {"connection_id":191834,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:47:42] local.INFO: Acknowledgment sent {"connection_id":191834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:48:05] local.INFO: TCP Data received {"connection_id":193378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:48:05] local.INFO: Processing buffer {"connection_id":193378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:48:05] local.INFO: IMEI packet received {"connection_id":193378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":193378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:48:26] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:26] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:26] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:48:31] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:31] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:48:31] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:48:33] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:48:33] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:48:33] local.INFO: Packet analysis {"connection_id":192015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:48:33] local.INFO: Extracted packet for processing {"connection_id":192015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06: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-25 06: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-25 06:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06: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-25 06: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-25 06: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-25 06: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-25 06: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-25 06: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-25 06:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06: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-25 06:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":192015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:48:33] local.INFO: GPS data processed {"connection_id":192015,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:48:33] local.INFO: Acknowledgment sent {"connection_id":192015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:49:03] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:03] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:03] local.INFO: Packet analysis {"connection_id":192015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:49:03] local.INFO: Extracted packet for processing {"connection_id":192015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:49: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49: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-25 06:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:49: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-25 06:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:49: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-25 06:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":192015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:49:03] local.INFO: GPS data processed {"connection_id":192015,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:49:03] local.INFO: Acknowledgment sent {"connection_id":192015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:49:26] local.INFO: TCP Data received {"connection_id":194677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:26] local.INFO: Processing buffer {"connection_id":194677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:26] local.INFO: IMEI packet received {"connection_id":194677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":194677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:49:31] local.INFO: TCP Data received {"connection_id":194677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:31] local.INFO: Processing buffer {"connection_id":194677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:49:31] local.INFO: IMEI packet received {"connection_id":194677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":194677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:49:32] local.INFO: TCP Data received {"connection_id":194677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:32] local.INFO: Processing buffer {"connection_id":194677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6209658012d34c14006aa4940000900f528..."} 
[2026-09-25 06:49:32] local.INFO: Packet analysis {"connection_id":194677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:49:32] local.INFO: Extracted packet for processing {"connection_id":194677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d620"} 
[2026-09-25 06:49:32] 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-25 06:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316429824001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790298855000,"timestamp_ms":1790298855000,"timestamp_seconds":1790298855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6209658"} 
[2026-09-25 06:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:49: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-25 06:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 06:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316429824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316429824001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:49:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316429824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":194677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:49:32] local.INFO: GPS data processed {"connection_id":194677,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:49:32] local.INFO: Acknowledgment sent {"connection_id":194677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:50:04] local.INFO: TCP Data received {"connection_id":194677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:04] local.INFO: Processing buffer {"connection_id":194677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:04] local.INFO: Packet analysis {"connection_id":194677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:50:04] local.INFO: Extracted packet for processing {"connection_id":194677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:50: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-25 06:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50: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-25 06:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:50: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-25 06:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:50: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-25 06:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":194677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:50:04] local.INFO: GPS data processed {"connection_id":194677,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:50:04] local.INFO: Acknowledgment sent {"connection_id":194677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:50:26] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:26] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:26] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:50:31] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:31] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:50:31] local.INFO: IMEI packet received {"connection_id":191836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":191836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:50:32] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:32] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:50:32] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:50:32] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:50:32] 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-25 06:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:50: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-25 06:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:50:32] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:50:32] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:51:03] local.INFO: TCP Data received {"connection_id":191836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:03] local.INFO: Processing buffer {"connection_id":191836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:03] local.INFO: Packet analysis {"connection_id":191836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:51:03] local.INFO: Extracted packet for processing {"connection_id":191836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:51: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51: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-25 06:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:51: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-25 06:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:51: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-25 06:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":191836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:51:03] local.INFO: GPS data processed {"connection_id":191836,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:51:03] local.INFO: Acknowledgment sent {"connection_id":191836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:51:26] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:26] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:26] local.INFO: IMEI packet received {"connection_id":193380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":193380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:51:31] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:31] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:51:31] local.INFO: IMEI packet received {"connection_id":193380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:51:32] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:32] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:51:32] local.INFO: Packet analysis {"connection_id":193380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:51:32] local.INFO: Extracted packet for processing {"connection_id":193380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:51:32] 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-25 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:51: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-25 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":193380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:51:32] local.INFO: GPS data processed {"connection_id":193380,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:51:32] local.INFO: Acknowledgment sent {"connection_id":193380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:52:03] local.INFO: TCP Data received {"connection_id":193380,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:03] local.INFO: Processing buffer {"connection_id":193380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:03] local.INFO: Packet analysis {"connection_id":193380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:52:03] local.INFO: Extracted packet for processing {"connection_id":193380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:52: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52: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-25 06:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:52: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-25 06:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:52: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-25 06:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":193380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:52:03] local.INFO: GPS data processed {"connection_id":193380,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:52:03] local.INFO: Acknowledgment sent {"connection_id":193380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:52:26] local.INFO: TCP Data received {"connection_id":194679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:26] local.INFO: Processing buffer {"connection_id":194679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:26] local.INFO: IMEI packet received {"connection_id":194679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":194679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:52:31] local.INFO: TCP Data received {"connection_id":194679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:31] local.INFO: Processing buffer {"connection_id":194679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:31] local.INFO: IMEI packet received {"connection_id":194679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":194679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:52:36] local.INFO: TCP Data received {"connection_id":194679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:36] local.INFO: Processing buffer {"connection_id":194679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:52:36] local.INFO: IMEI packet received {"connection_id":194679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":194679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:52:37] local.INFO: TCP Data received {"connection_id":194679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:37] local.INFO: Processing buffer {"connection_id":194679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:52:37] local.INFO: Packet analysis {"connection_id":194679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:52:37] local.INFO: Extracted packet for processing {"connection_id":194679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:52: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:52: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-25 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":194679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:52:37] local.INFO: GPS data processed {"connection_id":194679,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:52:37] local.INFO: Acknowledgment sent {"connection_id":194679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:53:08] local.INFO: TCP Data received {"connection_id":194679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:08] local.INFO: Processing buffer {"connection_id":194679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:08] local.INFO: Packet analysis {"connection_id":194679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:53:08] local.INFO: Extracted packet for processing {"connection_id":194679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:53: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-25 06: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-25 06:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06: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-25 06:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06: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-25 06:53: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-25 06:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06: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-25 06: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-25 06:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":194679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:53:08] local.INFO: GPS data processed {"connection_id":194679,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:53:08] local.INFO: Acknowledgment sent {"connection_id":194679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:53:20] local.INFO: TCP Data received {"connection_id":191837,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:53:20] local.INFO: Processing buffer {"connection_id":191837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:53:20] local.INFO: IMEI packet received {"connection_id":191837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":191837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:53:26] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:26] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:26] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:53:31] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:31] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:53:31] local.INFO: IMEI packet received {"connection_id":191838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:53:32] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:32] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:53:32] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:53:32] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:53:32] 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-25 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:53: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-25 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:53:32] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:53:32] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:54:03] local.INFO: TCP Data received {"connection_id":191838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:03] local.INFO: Processing buffer {"connection_id":191838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:03] local.INFO: Packet analysis {"connection_id":191838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:54:03] local.INFO: Extracted packet for processing {"connection_id":191838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:54: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54: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-25 06:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 06:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:54: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-25 06:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:54: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-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":191838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:54:03] local.INFO: GPS data processed {"connection_id":191838,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:54:03] local.INFO: Acknowledgment sent {"connection_id":191838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:54:05] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:54:05] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:54:05] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:54:26] local.INFO: TCP Data received {"connection_id":193381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:26] local.INFO: Processing buffer {"connection_id":193381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:26] local.INFO: IMEI packet received {"connection_id":193381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":193381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:54:31] local.INFO: TCP Data received {"connection_id":193381,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:31] local.INFO: Processing buffer {"connection_id":193381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:54:31] local.INFO: IMEI packet received {"connection_id":193381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":193381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:54:32] local.INFO: TCP Data received {"connection_id":193381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:32] local.INFO: Processing buffer {"connection_id":193381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6252e20012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:54:32] local.INFO: Packet analysis {"connection_id":193381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:54:32] local.INFO: Extracted packet for processing {"connection_id":193381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d625"} 
[2026-09-25 06:54:32] 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-25 06:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316506880001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299156000,"timestamp_ms":1790299156000,"timestamp_seconds":1790299156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6252e20"} 
[2026-09-25 06:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:54: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-25 06:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 06:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 06:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316506880001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316506880001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316506880001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":193381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:54:32] local.INFO: GPS data processed {"connection_id":193381,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:54:32] local.INFO: Acknowledgment sent {"connection_id":193381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:55:03] local.INFO: TCP Data received {"connection_id":193381,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:03] local.INFO: Processing buffer {"connection_id":193381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:03] local.INFO: Packet analysis {"connection_id":193381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55:03] local.INFO: Extracted packet for processing {"connection_id":193381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55: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-25 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:55:03] 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-25 06:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55: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-25 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:55: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-25 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":193381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:55:03] local.INFO: GPS data processed {"connection_id":193381,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:55:03] local.INFO: Acknowledgment sent {"connection_id":193381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:55:26] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:26] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:26] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:55:31] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:31] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:55:31] local.INFO: IMEI packet received {"connection_id":191839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":191839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:55:32] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:32] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:32] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55:32] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55:32] 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-25 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:55: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-25 06:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:55:32] 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-25 06:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:55:32] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:55:32] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:55:37] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:37] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:55:37] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55:37] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:55: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:55: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-25 06:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:55: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-25 06:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:55: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-25 06:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:55:37] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:55:37] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:56:08] local.INFO: TCP Data received {"connection_id":191839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:08] local.INFO: Processing buffer {"connection_id":191839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:08] local.INFO: Packet analysis {"connection_id":191839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:56:08] local.INFO: Extracted packet for processing {"connection_id":191839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:56: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-25 06:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:56:08] 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-25 06:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:56: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-25 06:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06: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-25 06:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":191839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:56:08] local.INFO: GPS data processed {"connection_id":191839,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:56:08] local.INFO: Acknowledgment sent {"connection_id":191839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:56:26] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:26] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:26] local.INFO: IMEI packet received {"connection_id":192021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":192021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:56:31] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:31] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:56:31] local.INFO: IMEI packet received {"connection_id":192021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:56:32] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:32] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:56:32] local.INFO: Packet analysis {"connection_id":192021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:56:32] local.INFO: Extracted packet for processing {"connection_id":192021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:56:32] 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-25 06:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:56: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-25 06:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:56:32] 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-25 06:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":192021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:56:32] local.INFO: GPS data processed {"connection_id":192021,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:56:32] local.INFO: Acknowledgment sent {"connection_id":192021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:57:03] local.INFO: TCP Data received {"connection_id":192021,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:03] local.INFO: Processing buffer {"connection_id":192021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:03] local.INFO: Packet analysis {"connection_id":192021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:57:03] local.INFO: Extracted packet for processing {"connection_id":192021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:57: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57: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-25 06:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:57:03] 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-25 06:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:57: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-25 06:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:57: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-25 06:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":192021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:57:03] local.INFO: GPS data processed {"connection_id":192021,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:57:03] local.INFO: Acknowledgment sent {"connection_id":192021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:57:26] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:26] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:26] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:57:31] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:31] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:57:31] local.INFO: IMEI packet received {"connection_id":191840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":191840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:57:32] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:32] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:57:32] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:57:32] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:57:32] 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-25 06:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:57: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-25 06:57:32] local.INFO: IO Element 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-25 06:57:32] 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-25 06:57: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-25 06:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:57:32] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:57:32] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:58:03] local.INFO: TCP Data received {"connection_id":191840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:03] local.INFO: Processing buffer {"connection_id":191840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:03] local.INFO: Packet analysis {"connection_id":191840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:58:03] local.INFO: Extracted packet for processing {"connection_id":191840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:58: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58: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-25 06:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:58:03] 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-25 06:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:58: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-25 06:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:58: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-25 06:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":191840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:58:03] local.INFO: GPS data processed {"connection_id":191840,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:58:03] local.INFO: Acknowledgment sent {"connection_id":191840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:58:26] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:26] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:26] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:58:31] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:31] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:58:31] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:58:32] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:32] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:58:32] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:58:32] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:58:32] 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-25 06:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:58: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-25 06:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:58:32] 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-25 06:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:58:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:58:32] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:58:32] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:59:03] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:03] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:03] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:59:03] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:59: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 06:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 06:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:59:03] 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-25 06:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:59: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-25 06:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:59: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-25 06:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:59:03] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:59:03] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 06:59:27] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:27] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:27] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 06:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:59:30] local.INFO: TCP Data received {"connection_id":193382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:59:30] local.INFO: Processing buffer {"connection_id":193382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 06:59:30] local.INFO: IMEI packet received {"connection_id":193382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 06:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":193382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 06:59:31] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:31] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 06:59:31] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 06:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 06:59:32] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:32] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d629c5e8012d34c14006aa4940000900f52b..."} 
[2026-09-25 06:59:32] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:59:32] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d629"} 
[2026-09-25 06:59:32] 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-25 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 06:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316583936001,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 06:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 06:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299457000,"timestamp_ms":1790299457000,"timestamp_seconds":1790299457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d629c5e8"} 
[2026-09-25 06:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 06:59: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-25 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 06:59:32] 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-25 06:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 06:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 06:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 06:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 06:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 06:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 06:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 06:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 06:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316583936001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 06:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 06:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 06:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316583936001,"description":"Unknown IO ID 0"} 
[2026-09-25 06:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 06:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 06:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 06:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 06:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316583936001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 06:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 06:59:32] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-25 06:59:32] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:00:03] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:03] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:03] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:00:03] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:00: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00: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-25 07:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:00: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-25 07:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:00: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-25 07:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:00:03] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:00:03] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:00:10] local.INFO: TCP Data received {"connection_id":191841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:00:10] local.INFO: Processing buffer {"connection_id":191841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:00:10] local.INFO: IMEI packet received {"connection_id":191841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":191841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:00:26] local.INFO: TCP Data received {"connection_id":194682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:26] local.INFO: Processing buffer {"connection_id":194682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:26] local.INFO: IMEI packet received {"connection_id":194682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":194682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:00:31] local.INFO: TCP Data received {"connection_id":194682,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:31] local.INFO: Processing buffer {"connection_id":194682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:00:31] local.INFO: IMEI packet received {"connection_id":194682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":194682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:00:32] local.INFO: TCP Data received {"connection_id":194682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:32] local.INFO: Processing buffer {"connection_id":194682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:00:32] local.INFO: Packet analysis {"connection_id":194682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:00:32] local.INFO: Extracted packet for processing {"connection_id":194682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:00:32] 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-25 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:00: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-25 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":194682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:00:32] local.INFO: GPS data processed {"connection_id":194682,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:00:32] local.INFO: Acknowledgment sent {"connection_id":194682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:01:05] local.INFO: TCP Data received {"connection_id":194682,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:05] local.INFO: Processing buffer {"connection_id":194682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:05] local.INFO: Packet analysis {"connection_id":194682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:01:05] local.INFO: Extracted packet for processing {"connection_id":194682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07: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-25 07: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-25 07:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07: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-25 07:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:01:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":194682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:01:05] local.INFO: GPS data processed {"connection_id":194682,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:01:05] local.INFO: Acknowledgment sent {"connection_id":194682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:01:31] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:31] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:31] local.INFO: IMEI packet received {"connection_id":192024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":192024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:01:36] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:36] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:01:36] local.INFO: IMEI packet received {"connection_id":192024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":192024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:01:37] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:37] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:01:37] local.INFO: Packet analysis {"connection_id":192024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:01:37] local.INFO: Extracted packet for processing {"connection_id":192024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:01: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:01: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-25 07:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:01: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-25 07:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":192024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:01:37] local.INFO: GPS data processed {"connection_id":192024,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:01:37] local.INFO: Acknowledgment sent {"connection_id":192024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:02:08] local.INFO: TCP Data received {"connection_id":192024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:08] local.INFO: Processing buffer {"connection_id":192024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:08] local.INFO: Packet analysis {"connection_id":192024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:02:08] local.INFO: Extracted packet for processing {"connection_id":192024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:02: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-25 07: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-25 07:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07: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-25 07:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:02: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-25 07:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":192024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:02:08] local.INFO: GPS data processed {"connection_id":192024,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:02:08] local.INFO: Acknowledgment sent {"connection_id":192024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:02:26] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:26] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:26] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:02:31] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:31] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:02:31] local.INFO: IMEI packet received {"connection_id":191842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":191842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:02:32] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:32] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:02:32] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:02:32] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:02:32] 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-25 07:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:02:32] local.INFO: GPS data processed {"connection_id":191842,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:02:32] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:03:03] local.INFO: TCP Data received {"connection_id":191842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:03] local.INFO: Processing buffer {"connection_id":191842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:03] local.INFO: Packet analysis {"connection_id":191842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:03:03] local.INFO: Extracted packet for processing {"connection_id":191842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:03: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03: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-25 07:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:03: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-25 07:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:03: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-25 07:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":191842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:03:03] local.INFO: GPS data processed {"connection_id":191842,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:03:03] local.INFO: Acknowledgment sent {"connection_id":191842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:03:13] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:13] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:13] local.INFO: IMEI packet received {"connection_id":193384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":193384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:03:18] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:18] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:03:18] local.INFO: IMEI packet received {"connection_id":193384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":193384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:03:19] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6319200012d7e2b0005d4d818000700a10c..."} 
[2026-09-25 07:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6319200012d7e2b0005d4d818000700a10c..."} 
[2026-09-25 07:03:19] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6319200012d7e2b0005d4d818000700a10c..."} 
[2026-09-25 07:03:19] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:03:19] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":97835032,"longitude_deg":76.3243264,"latitude_deg":9.7835032,"altitude":7,"angle":161,"satellites":12,"speed":21,"hex_longitude":"2d7e2b00","hex_latitude":"05d4d818","is_valid_coordinates":true} 
[2026-09-25 07:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316788736001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135588118920167424,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089812185453447168,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03: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-25 07:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790299968000,"timestamp_ms":1790299968000,"timestamp_seconds":1790299968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6319200"} 
[2026-09-25 07:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 07:03:19] 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-25 07:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316788736001,"66":13917,"111":206,"85":15104,"24":21,"16":135588118920167424,"45":9089812185453447168},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 07:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316788736001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:03:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 07:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135588118920167424,"km_value":135588118920167.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089812185453447168,"description":"Unknown IO ID 45"} 
[2026-09-25 07:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316788736001,"power":13917,"unknown_111":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9089812185453447168}} 
[2026-09-25 07:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:03:19] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:03:19] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:03:26] local.INFO: TCP Data received {"connection_id":194685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:26] local.INFO: Processing buffer {"connection_id":194685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:26] local.INFO: IMEI packet received {"connection_id":194685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":194685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:03:31] local.INFO: TCP Data received {"connection_id":194685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:31] local.INFO: Processing buffer {"connection_id":194685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:03:31] local.INFO: IMEI packet received {"connection_id":194685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":194685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:03:32] local.INFO: TCP Data received {"connection_id":194685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:32] local.INFO: Processing buffer {"connection_id":194685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:03:32] local.INFO: Packet analysis {"connection_id":194685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:03:32] local.INFO: Extracted packet for processing {"connection_id":194685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:03:32] 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-25 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:03: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-25 07:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":194685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:03:32] local.INFO: GPS data processed {"connection_id":194685,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:03:32] local.INFO: Acknowledgment sent {"connection_id":194685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:03:50] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6319db8012d7e2e4005d4d2c80008008d0c..."} 
[2026-09-25 07:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6319db8012d7e2e4005d4d2c80008008d0c..."} 
[2026-09-25 07:03:50] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6319db8012d7e2e4005d4d2c80008008d0c..."} 
[2026-09-25 07:03:50] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:03:50] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763244096,"raw_latitude":97833672,"longitude_deg":76.3244096,"latitude_deg":9.7833672,"altitude":8,"angle":141,"satellites":12,"speed":20,"hex_longitude":"2d7e2e40","hex_latitude":"05d4d2c8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316791808001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135588196229578752,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360297823246336,"note":"Value kept but may cause issues"} 
[2026-09-25 07:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790299971000,"timestamp_ms":1790299971000,"timestamp_seconds":1790299971,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6319db8"} 
[2026-09-25 07: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-25 07:03:50] 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-25 07: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-25 07:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316791808001,"66":13820,"111":206,"85":15104,"24":20,"16":135588196229578752,"45":9091360297823246336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 07:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316791808001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:03:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 07:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135588196229578752,"km_value":135588196229578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360297823246336,"description":"Unknown IO ID 45"} 
[2026-09-25 07:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316791808001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9091360297823246336}} 
[2026-09-25 07:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:03:50] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:03:50] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:04:03] local.INFO: TCP Data received {"connection_id":194685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:03] local.INFO: Processing buffer {"connection_id":194685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:03] local.INFO: Packet analysis {"connection_id":194685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:04:03] local.INFO: Extracted packet for processing {"connection_id":194685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:04: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04: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-25 07:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:04: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-25 07:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:04: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-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":194685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:04:03] local.INFO: GPS data processed {"connection_id":194685,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:04:03] local.INFO: Acknowledgment sent {"connection_id":194685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:04:22] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d631ad58012d7e330005d4cbf00009009e0c..."} 
[2026-09-25 07:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d631ad58012d7e330005d4cbf00009009e0c..."} 
[2026-09-25 07:04:22] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d631ad58012d7e330005d4cbf00009009e0c..."} 
[2026-09-25 07:04:22] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:04:22] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d631"} 
[2026-09-25 07:04:22] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97831920,"longitude_deg":76.3245312,"latitude_deg":9.783192,"altitude":9,"angle":158,"satellites":12,"speed":24,"hex_longitude":"2d7e3300","hex_latitude":"05d4cbf0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316792576001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135588299308793856,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092275091497207808,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04: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-25 07:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790299975000,"timestamp_ms":1790299975000,"timestamp_seconds":1790299975,"priority":1,"record_length":96,"hex_timestamp":"000001a0d631ad58"} 
[2026-09-25 07: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-25 07:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 07:04:22] 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-25 07: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-25 07: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-25 07:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316792576001,"66":14157,"111":206,"85":15104,"24":24,"16":135588299308793856,"45":9092275091497207808},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 07:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316792576001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:04:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 07:04:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135588299308793856,"km_value":135588299308793.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092275091497207808,"description":"Unknown IO ID 45"} 
[2026-09-25 07:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316792576001,"power":14157,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9092275091497207808}} 
[2026-09-25 07:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:04:22] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:04:22] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:04:26] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:26] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:26] local.INFO: IMEI packet received {"connection_id":193385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":193385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:04:31] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:31] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:04:31] local.INFO: IMEI packet received {"connection_id":193385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":193385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:04:32] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:32] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d62e5db0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:04:32] local.INFO: Packet analysis {"connection_id":193385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:04:32] local.INFO: Extracted packet for processing {"connection_id":193385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d62e"} 
[2026-09-25 07:04:32] 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-25 07:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316660992001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790299758000,"timestamp_ms":1790299758000,"timestamp_seconds":1790299758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d62e5db0"} 
[2026-09-25 07:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:04: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-25 07:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 07:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316660992001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316660992001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316660992001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":193385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:04:32] local.INFO: GPS data processed {"connection_id":193385,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:04:32] local.INFO: Acknowledgment sent {"connection_id":193385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:04:53] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6333fb0012d7e530005d38d08000900b00e..."} 
[2026-09-25 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6333fb0012d7e530005d38d08000900b00e..."} 
[2026-09-25 07:04:53] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6333fb0012d7e530005d38d08000900b00e..."} 
[2026-09-25 07:04:53] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:04:53] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:04:53] local.INFO: GPS Element Parsed {"raw_longitude":763253504,"raw_latitude":97750280,"longitude_deg":76.3253504,"latitude_deg":9.775028,"altitude":9,"angle":176,"satellites":14,"speed":30,"hex_longitude":"2d7e5300","hex_latitude":"05d38d08","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316818688001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135592302218313728,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101563765708175360,"note":"Value kept but may cause issues"} 
[2026-09-25 07:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790300078000,"timestamp_ms":1790300078000,"timestamp_seconds":1790300078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6333fb0"} 
[2026-09-25 07: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-25 07:04:53] 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-25 07: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 07:04:53] 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-25 07: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-25 07: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-25 07:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316818688001,"66":13722,"110":206,"85":15104,"24":30,"16":135592302218313728,"45":9101563765708175360},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-25 07:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316818688001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:04:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 07:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135592302218313728,"km_value":135592302218313.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101563765708175360,"description":"Unknown IO ID 45"} 
[2026-09-25 07:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316818688001,"power":13722,"unknown_110":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9101563765708175360}} 
[2026-09-25 07:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:04:53] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:04:53] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:05:03] local.INFO: TCP Data received {"connection_id":193385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:03] local.INFO: Processing buffer {"connection_id":193385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:03] local.INFO: Packet analysis {"connection_id":193385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:05:03] local.INFO: Extracted packet for processing {"connection_id":193385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:05: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05: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-25 07:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07: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-25 07:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:05: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-25 07:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":193385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:05:03] local.INFO: GPS data processed {"connection_id":193385,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:05:03] local.INFO: Acknowledgment sent {"connection_id":193385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:05:24] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6334780012d7e528005d38678000a00bd0e..."} 
[2026-09-25 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6334780012d7e528005d38678000a00bd0e..."} 
[2026-09-25 07:05:24] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6334780012d7e528005d38678000a00bd0e..."} 
[2026-09-25 07:05:24] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:05:24] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97748600,"longitude_deg":76.3253376,"latitude_deg":9.77486,"altitude":10,"angle":189,"satellites":14,"speed":34,"hex_longitude":"2d7e5280","hex_latitude":"05d38678","is_valid_coordinates":true} 
[2026-09-25 07:05: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-25 07:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316819968001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135592383822692352,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102619296869976064,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790300080000,"timestamp_ms":1790300080000,"timestamp_seconds":1790300080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6334780"} 
[2026-09-25 07:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:05:24] 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-25 07:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 07:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:05: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-25 07:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316819968001,"66":14026,"110":206,"85":15104,"24":34,"16":135592383822692352,"45":9102619296869976064},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-25 07:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316819968001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:05:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 07:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135592383822692352,"km_value":135592383822692.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102619296869976064,"description":"Unknown IO ID 45"} 
[2026-09-25 07:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316819968001,"power":14026,"unknown_110":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9102619296869976064}} 
[2026-09-25 07:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:05:24] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:05:24] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:05:26] local.INFO: TCP Data received {"connection_id":191843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:26] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:26] local.INFO: IMEI packet received {"connection_id":191843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":191843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:05:31] local.INFO: TCP Data received {"connection_id":191843,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:31] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:05:31] local.INFO: IMEI packet received {"connection_id":191843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":191843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:05:32] local.INFO: TCP Data received {"connection_id":191843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:32] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:05:32] local.INFO: Packet analysis {"connection_id":191843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:05:32] local.INFO: Extracted packet for processing {"connection_id":191843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:05:32] 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-25 07:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":191843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:05:32] local.INFO: GPS data processed {"connection_id":191843,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:05:32] local.INFO: Acknowledgment sent {"connection_id":191843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:05:35] local.INFO: TCP Data received {"connection_id":194687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:05:35] local.INFO: Processing buffer {"connection_id":194687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:05:35] local.INFO: IMEI packet received {"connection_id":194687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":194687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:05:55] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6335720012d7e520005d37988000a00b10e..."} 
[2026-09-25 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6335720012d7e520005d37988000a00b10e..."} 
[2026-09-25 07:05:55] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6335720012d7e520005d37988000a00b10e..."} 
[2026-09-25 07:05:55] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:05:55] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":97745288,"longitude_deg":76.3253248,"latitude_deg":9.7745288,"altitude":10,"angle":177,"satellites":14,"speed":30,"hex_longitude":"2d7e5200","hex_latitude":"05d37988","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316820480001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135592547031449600,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102478559381190656,"note":"Value kept but may cause issues"} 
[2026-09-25 07:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790300084000,"timestamp_ms":1790300084000,"timestamp_seconds":1790300084,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6335720"} 
[2026-09-25 07: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-25 07:05:55] 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-25 07: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-25 07:05:55] 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-25 07: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-25 07: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-25 07:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316820480001,"66":13526,"110":206,"85":15104,"24":30,"16":135592547031449600,"45":9102478559381190656},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-09-25 07:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316820480001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:05:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 07:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135592547031449600,"km_value":135592547031449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102478559381190656,"description":"Unknown IO ID 45"} 
[2026-09-25 07:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316820480001,"power":13526,"unknown_110":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9102478559381190656}} 
[2026-09-25 07:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:05:55] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:05:55] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:06:03] local.INFO: TCP Data received {"connection_id":191843,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:03] local.INFO: Processing buffer {"connection_id":191843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:03] local.INFO: Packet analysis {"connection_id":191843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:06:03] local.INFO: Extracted packet for processing {"connection_id":191843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:06: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06: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-25 07:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:06: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-25 07:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:06: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-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":191843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:06:03] local.INFO: GPS data processed {"connection_id":191843,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:06:03] local.INFO: Acknowledgment sent {"connection_id":191843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:06:05] local.INFO: TCP Data received {"connection_id":192025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:06:05] local.INFO: Processing buffer {"connection_id":192025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:06:05] local.INFO: IMEI packet received {"connection_id":192025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":192025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:06:26] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:26] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:26] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:06:26] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6338600012d7e548005d35ab0000900a40e..."} 
[2026-09-25 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6338600012d7e548005d35ab0000900a40e..."} 
[2026-09-25 07:06:26] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6338600012d7e548005d35ab0000900a40e..."} 
[2026-09-25 07:06:26] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:06:26] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763253888,"raw_latitude":97737392,"longitude_deg":76.3253888,"latitude_deg":9.7737392,"altitude":9,"angle":164,"satellites":14,"speed":26,"hex_longitude":"2d7e5480","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316821504001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135592929283538944,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102337821891987456,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790300096000,"timestamp_ms":1790300096000,"timestamp_seconds":1790300096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6338600"} 
[2026-09-25 07: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-25 07:06:26] 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-25 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 07:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316821504001,"66":13906,"109":206,"85":15104,"24":26,"16":135592929283538944,"45":9102337821891987456},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316821504001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135592929283538944,"km_value":135592929283538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102337821891987456,"description":"Unknown IO ID 45"} 
[2026-09-25 07:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316821504001,"power":13906,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9102337821891987456}} 
[2026-09-25 07:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:06:26] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:06:26] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:06:31] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:31] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:06:31] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:06:32] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:32] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:06:32] local.INFO: Packet analysis {"connection_id":192026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:06:32] local.INFO: Extracted packet for processing {"connection_id":192026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:06:32] 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-25 07: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-25 07:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07: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-25 07:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":192026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:06:32] local.INFO: GPS data processed {"connection_id":192026,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:06:32] local.INFO: Acknowledgment sent {"connection_id":192026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:06:57] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6338dd0012d7e56c005d356800009008e0e..."} 
[2026-09-25 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6338dd0012d7e56c005d356800009008e0e..."} 
[2026-09-25 07:06:57] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6338dd0012d7e56c005d356800009008e0e..."} 
[2026-09-25 07:06:57] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:06:57] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d633"} 
[2026-09-25 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763254464,"raw_latitude":97736320,"longitude_deg":76.3254464,"latitude_deg":9.773632,"altitude":9,"angle":142,"satellites":14,"speed":23,"hex_longitude":"2d7e56c0","hex_latitude":"05d35680","is_valid_coordinates":true} 
[2026-09-25 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316824576001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135592989413081088,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103041509331742720,"note":"Value kept but may cause issues"} 
[2026-09-25 07:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790300098000,"timestamp_ms":1790300098000,"timestamp_seconds":1790300098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6338dd0"} 
[2026-09-25 07:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:06:57] 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-25 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-25 07:06:57] 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-25 07:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316824576001,"66":13928,"109":206,"85":15104,"24":23,"16":135592989413081088,"45":9103041509331742720},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316824576001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135592989413081088,"km_value":135592989413081.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103041509331742720,"description":"Unknown IO ID 45"} 
[2026-09-25 07:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316824576001,"power":13928,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9103041509331742720}} 
[2026-09-25 07:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:06:57] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:06:57] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:07:03] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:03] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:03] local.INFO: Packet analysis {"connection_id":192026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07:03] local.INFO: Extracted packet for processing {"connection_id":192026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07: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-25 07:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07: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-25 07:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:07: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-25 07:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":192026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:07:03] local.INFO: GPS data processed {"connection_id":192026,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:07:03] local.INFO: Acknowledgment sent {"connection_id":192026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:07:28] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d635c438012d7e66c005d303780002008316..."} 
[2026-09-25 07:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d635c438012d7e66c005d303780002008316..."} 
[2026-09-25 07:07:28] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d635c438012d7e66c005d303780002008316..."} 
[2026-09-25 07:07:28] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:07:28] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763258560,"raw_latitude":97715064,"longitude_deg":76.325856,"latitude_deg":9.7715064,"altitude":2,"angle":131,"satellites":22,"speed":7,"hex_longitude":"2d7e66c0","hex_latitude":"05d30378","is_valid_coordinates":true} 
[2026-09-25 07:07: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-25 07:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316861952001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135594101809610752,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108108058906847232,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790300243000,"timestamp_ms":1790300243000,"timestamp_seconds":1790300243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d635c438"} 
[2026-09-25 07:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:07:28] 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-25 07:07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 07:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:07: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-25 07:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316861952001,"66":12917,"109":206,"85":15104,"24":7,"16":135594101809610752,"45":9108108058906847232},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316861952001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:07:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135594101809610752,"km_value":135594101809610.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108108058906847232,"description":"Unknown IO ID 45"} 
[2026-09-25 07:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316861952001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9108108058906847232}} 
[2026-09-25 07:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:07:28] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:07:28] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:07:31] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:31] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:31] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:07:36] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:36] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:07:36] local.INFO: IMEI packet received {"connection_id":191844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":191844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:07:37] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:37] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:37] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07:37] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07: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-25 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:07: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-25 07:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:07:37] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:07:37] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:07:42] local.INFO: TCP Data received {"connection_id":191844,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:42] local.INFO: Processing buffer {"connection_id":191844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:07:42] local.INFO: Packet analysis {"connection_id":191844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07:42] local.INFO: Extracted packet for processing {"connection_id":191844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:07: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-25 07:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":191844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:07:42] local.INFO: GPS data processed {"connection_id":191844,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:07:42] local.INFO: Acknowledgment sent {"connection_id":191844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:08:00] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d635c820012d7e67c005d303100002006b16..."} 
[2026-09-25 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d635c820012d7e67c005d303100002006b16..."} 
[2026-09-25 07:08:00] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d635c820012d7e67c005d303100002006b16..."} 
[2026-09-25 07:08:00] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:08:00] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763258816,"raw_latitude":97714960,"longitude_deg":76.3258816,"latitude_deg":9.771496,"altitude":2,"angle":107,"satellites":22,"speed":9,"hex_longitude":"2d7e67c0","hex_latitude":"05d30310","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316862208001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135594114694512640,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427650996224,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790300244000,"timestamp_ms":1790300244000,"timestamp_seconds":1790300244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d635c820"} 
[2026-09-25 07: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-25 07:08:00] 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-25 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-25 07:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316862208001,"66":12917,"109":206,"85":15104,"24":9,"16":135594114694512640,"45":9108178427650996224},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316862208001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135594114694512640,"km_value":135594114694512.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427650996224,"description":"Unknown IO ID 45"} 
[2026-09-25 07:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316862208001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108178427650996224}} 
[2026-09-25 07:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:08:00] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:08:00] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:08:26] local.INFO: TCP Data received {"connection_id":194689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:26] local.INFO: Processing buffer {"connection_id":194689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:26] local.INFO: IMEI packet received {"connection_id":194689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":194689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:08:31] local.INFO: TCP Data received {"connection_id":194689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:31] local.INFO: Processing buffer {"connection_id":194689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:08:31] local.INFO: IMEI packet received {"connection_id":194689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":194689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:08:32] local.INFO: TCP Data received {"connection_id":194689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:08:32] local.INFO: Processing buffer {"connection_id":194689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:08:32] local.INFO: Packet analysis {"connection_id":194689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:08:32] local.INFO: Extracted packet for processing {"connection_id":194689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:08:32] 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-25 07:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":194689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:08:32] local.INFO: GPS data processed {"connection_id":194689,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:08:32] local.INFO: Acknowledgment sent {"connection_id":194689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:08:34] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d635cc08012d7e690005d303080002005315..."} 
[2026-09-25 07:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d635cc08012d7e690005d303080002005315..."} 
[2026-09-25 07:08:34] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d635cc08012d7e690005d303080002005315..."} 
[2026-09-25 07:08:34] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:08:34] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763259136,"raw_latitude":97714952,"longitude_deg":76.3259136,"latitude_deg":9.7714952,"altitude":2,"angle":83,"satellites":21,"speed":13,"hex_longitude":"2d7e6900","hex_latitude":"05d30308","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316862464001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135594131874381824,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108459902627680256,"note":"Value kept but may cause issues"} 
[2026-09-25 07:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790300245000,"timestamp_ms":1790300245000,"timestamp_seconds":1790300245,"priority":1,"record_length":96,"hex_timestamp":"000001a0d635cc08"} 
[2026-09-25 07: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-25 07:08:34] 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-25 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-25 07:08:34] 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-25 07: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-25 07: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-25 07:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316862464001,"66":13993,"109":206,"85":15104,"24":13,"16":135594131874381824,"45":9108459902627680256},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316862464001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:08:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135594131874381824,"km_value":135594131874381.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108459902627680256,"description":"Unknown IO ID 45"} 
[2026-09-25 07:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316862464001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9108459902627680256}} 
[2026-09-25 07:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:08:34] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:08:34] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:09:03] local.INFO: TCP Data received {"connection_id":194689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:03] local.INFO: Processing buffer {"connection_id":194689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:03] local.INFO: Packet analysis {"connection_id":194689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:09:03] local.INFO: Extracted packet for processing {"connection_id":194689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:09: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09: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-25 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:09: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-25 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:09: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-25 07:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":194689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:09:03] local.INFO: GPS data processed {"connection_id":194689,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:09:03] local.INFO: Acknowledgment sent {"connection_id":194689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:09:11] local.INFO: TCP Data received {"connection_id":193384,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d635f700012d7e850005d308100000004616..."} 
[2026-09-25 07:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d635f700012d7e850005d308100000004616..."} 
[2026-09-25 07:09:11] local.INFO: Processing buffer {"connection_id":193384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d635f700012d7e850005d308100000004616..."} 
[2026-09-25 07:09:11] local.INFO: Packet analysis {"connection_id":193384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:09:11] local.INFO: Extracted packet for processing {"connection_id":193384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d635"} 
[2026-09-25 07:09:11] local.INFO: GPS Element Parsed {"raw_longitude":763266304,"raw_latitude":97716240,"longitude_deg":76.3266304,"latitude_deg":9.771624,"altitude":0,"angle":70,"satellites":22,"speed":31,"hex_longitude":"2d7e8500","hex_latitude":"05d30810","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316862720001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135594479766732800,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108811746348566528,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790300256000,"timestamp_ms":1790300256000,"timestamp_seconds":1790300256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d635f700"} 
[2026-09-25 07: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-25 07:09:11] 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-25 07: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 07:09:11] 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-25 07: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-25 07: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-25 07:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316862720001,"66":13798,"109":206,"85":15104,"24":31,"16":135594479766732800,"45":9108811746348566528},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316862720001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:09:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135594479766732800,"km_value":135594479766732.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108811746348566528,"description":"Unknown IO ID 45"} 
[2026-09-25 07:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316862720001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9108811746348566528}} 
[2026-09-25 07:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":193384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:09:11] local.INFO: GPS data processed {"connection_id":193384,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:09:11] local.INFO: Acknowledgment sent {"connection_id":193384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:09:26] local.INFO: TCP Data received {"connection_id":191846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:26] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:26] local.INFO: IMEI packet received {"connection_id":191846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":191846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:09:28] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:28] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:28] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:09:31] local.INFO: TCP Data received {"connection_id":191846,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:31] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:09:31] local.INFO: IMEI packet received {"connection_id":191846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":191846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:09:32] local.INFO: TCP Data received {"connection_id":191846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:32] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d632f578012d34c14006aa4940000900f529..."} 
[2026-09-25 07:09:32] local.INFO: Packet analysis {"connection_id":191846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:09:32] local.INFO: Extracted packet for processing {"connection_id":191846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d632"} 
[2026-09-25 07:09:32] 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-25 07:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316738048001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300059000,"timestamp_ms":1790300059000,"timestamp_seconds":1790300059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d632f578"} 
[2026-09-25 07:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316738048001,"66":25180,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316738048001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316738048001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":191846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:09:32] local.INFO: GPS data processed {"connection_id":191846,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:09:32] local.INFO: Acknowledgment sent {"connection_id":191846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:09:34] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:34] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:09:34] local.INFO: IMEI packet received {"connection_id":191847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":191847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:09:34] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63746f0012d7f394005d376800002002b17..."} 
[2026-09-25 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63746f0012d7f394005d376800002002b17..."} 
[2026-09-25 07:09:34] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63746f0012d7f394005d376800002002b17..."} 
[2026-09-25 07:09:34] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:09:34] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763312448,"raw_latitude":97744512,"longitude_deg":76.3312448,"latitude_deg":9.7744512,"altitude":2,"angle":43,"satellites":23,"speed":37,"hex_longitude":"2d7f3940","hex_latitude":"05d37680","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316886016001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135597232840769536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769735557578752,"note":"Value kept but may cause issues"} 
[2026-09-25 07:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790300342000,"timestamp_ms":1790300342000,"timestamp_seconds":1790300342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63746f0"} 
[2026-09-25 07: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-25 07:09:34] 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-25 07: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-25 07:09:34] 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-25 07: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-25 07: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-25 07:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316886016001,"66":13928,"109":206,"85":15104,"24":37,"16":135597232840769536,"45":9163769735557578752},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316886016001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:09:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135597232840769536,"km_value":135597232840769.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769735557578752,"description":"Unknown IO ID 45"} 
[2026-09-25 07:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316886016001,"power":13928,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9163769735557578752}} 
[2026-09-25 07:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:09:34] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:09:34] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:10:03] local.INFO: TCP Data received {"connection_id":191846,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:03] local.INFO: Processing buffer {"connection_id":191846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:03] local.INFO: Packet analysis {"connection_id":191846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10:03] local.INFO: Extracted packet for processing {"connection_id":191846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10: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-25 07:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:10: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-25 07:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:10: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-25 07:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":191846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:10:03] local.INFO: GPS data processed {"connection_id":191846,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:10:03] local.INFO: Acknowledgment sent {"connection_id":191846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:10:06] local.INFO: TCP Data received {"connection_id":191847,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6376248012d7f4ec005d387480004003618..."} 
[2026-09-25 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6376248012d7f4ec005d387480004003618..."} 
[2026-09-25 07:10:06] local.INFO: Processing buffer {"connection_id":191847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6376248012d7f4ec005d387480004003618..."} 
[2026-09-25 07:10:06] local.INFO: Packet analysis {"connection_id":191847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10:06] local.INFO: Extracted packet for processing {"connection_id":191847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763317952,"raw_latitude":97748808,"longitude_deg":76.3317952,"latitude_deg":9.7748808,"altitude":4,"angle":54,"satellites":24,"speed":39,"hex_longitude":"2d7f4ec0","hex_latitude":"05d38748","is_valid_coordinates":true} 
[2026-09-25 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-25 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316887552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135597567848218624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167428910256128000,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790300349000,"timestamp_ms":1790300349000,"timestamp_seconds":1790300349,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6376248"} 
[2026-09-25 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-25 07:10:06] 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-25 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 07:10:06] 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-25 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-25 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-25 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316887552001,"66":13939,"109":206,"85":15104,"24":39,"16":135597567848218624,"45":9167428910256128000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316887552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:10:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135597567848218624,"km_value":135597567848218.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167428910256128000,"description":"Unknown IO ID 45"} 
[2026-09-25 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316887552001,"power":13939,"unknown_109":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9167428910256128000}} 
[2026-09-25 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":191847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:10:06] local.INFO: GPS data processed {"connection_id":191847,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:10:06] local.INFO: Acknowledgment sent {"connection_id":191847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:10:26] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:26] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:26] local.INFO: IMEI packet received {"connection_id":192028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":192028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:10:28] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:28] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:28] local.INFO: IMEI packet received {"connection_id":192029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":192029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:10:31] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:31] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:10:31] local.INFO: IMEI packet received {"connection_id":192028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":192028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:10:32] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:32] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:10:32] local.INFO: Packet analysis {"connection_id":192028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10:32] local.INFO: Extracted packet for processing {"connection_id":192028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:10:32] 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-25 07:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":192028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:10:32] local.INFO: GPS data processed {"connection_id":192028,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:10:32] local.INFO: Acknowledgment sent {"connection_id":192028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:10:32] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:32] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:32] local.INFO: IMEI packet received {"connection_id":192029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":192029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:10:33] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:33] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:10:33] local.INFO: IMEI packet received {"connection_id":192029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":192029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:10:33] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6388b28012d803d4005d39018000100981c..."} 
[2026-09-25 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6388b28012d803d4005d39018000100981c..."} 
[2026-09-25 07:10:33] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6388b28012d803d4005d39018000100981c..."} 
[2026-09-25 07:10:33] local.INFO: Packet analysis {"connection_id":192029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:10:33] local.INFO: Extracted packet for processing {"connection_id":192029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763379008,"raw_latitude":97751064,"longitude_deg":76.3379008,"latitude_deg":9.7751064,"altitude":1,"angle":152,"satellites":28,"speed":27,"hex_longitude":"2d803d40","hex_latitude":"05d39018","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316908544001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135600552850489344,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206483513227704320,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790300425000,"timestamp_ms":1790300425000,"timestamp_seconds":1790300425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6388b28"} 
[2026-09-25 07: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-25 07:10:33] 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-25 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 07:10:33] 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-25 07: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-25 07: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-25 07:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316908544001,"66":13602,"109":206,"85":15104,"24":27,"16":135600552850489344,"45":-9206483513227704320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 07:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316908544001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:10:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 07:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135600552850489344,"km_value":135600552850489.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206483513227704320,"description":"Unknown IO ID 45"} 
[2026-09-25 07:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316908544001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9206483513227704320}} 
[2026-09-25 07:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":192029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:10:33] local.INFO: GPS data processed {"connection_id":192029,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:10:33] local.INFO: Acknowledgment sent {"connection_id":192029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:10:34] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6389eb0012d8043c005d38400000200841c..."} 
[2026-09-25 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6389eb0012d8043c005d38400000200841c..."} 
[2026-09-25 07:10:34] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6389eb0012d8043c005d38400000200841c..."} 
[2026-09-25 07:10:34] local.INFO: Packet analysis {"connection_id":192029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:10:34] local.INFO: Extracted packet for processing {"connection_id":192029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763380672,"raw_latitude":97747968,"longitude_deg":76.3380672,"latitude_deg":9.7747968,"altitude":2,"angle":132,"satellites":28,"speed":27,"hex_longitude":"2d8043c0","hex_latitude":"05d38400","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316908800001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135600724649181184,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206131669506975744,"note":"Value kept but may cause issues"} 
[2026-09-25 07:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790300430000,"timestamp_ms":1790300430000,"timestamp_seconds":1790300430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6389eb0"} 
[2026-09-25 07: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-25 07:10:34] 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-25 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 07:10:34] 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-25 07: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-25 07: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-25 07:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316908800001,"66":13798,"167":206,"85":15104,"24":27,"16":135600724649181184,"45":-9206131669506975744},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316908800001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:10:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135600724649181184,"km_value":135600724649181.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206131669506975744,"description":"Unknown IO ID 45"} 
[2026-09-25 07:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316908800001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9206131669506975744}} 
[2026-09-25 07:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":192029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:10:34] local.INFO: GPS data processed {"connection_id":192029,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:10:34] local.INFO: Acknowledgment sent {"connection_id":192029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:11:03] local.INFO: TCP Data received {"connection_id":192028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:03] local.INFO: Processing buffer {"connection_id":192028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:03] local.INFO: Packet analysis {"connection_id":192028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:11:03] local.INFO: Extracted packet for processing {"connection_id":192028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:11: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11: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-25 07:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:11: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-25 07:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:11: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-25 07:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":192028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:11:03] local.INFO: GPS data processed {"connection_id":192028,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:11:03] local.INFO: Acknowledgment sent {"connection_id":192028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:11:05] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d638a298012d80460005d38260000100771c..."} 
[2026-09-25 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d638a298012d80460005d38260000100771c..."} 
[2026-09-25 07:11:05] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d638a298012d80460005d38260000100771c..."} 
[2026-09-25 07:11:05] local.INFO: Packet analysis {"connection_id":192029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:05] local.INFO: Extracted packet for processing {"connection_id":192029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763381248,"raw_latitude":97747552,"longitude_deg":76.3381248,"latitude_deg":9.7747552,"altitude":1,"angle":119,"satellites":28,"speed":28,"hex_longitude":"2d804600","hex_latitude":"05d38260","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316910080001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135600763303886848,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204302082159149056,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790300431000,"timestamp_ms":1790300431000,"timestamp_seconds":1790300431,"priority":1,"record_length":96,"hex_timestamp":"000001a0d638a298"} 
[2026-09-25 07: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-25 07:11:05] 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-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:11:05] 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-25 07: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-25 07: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-25 07:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316910080001,"66":13798,"167":206,"85":15104,"24":28,"16":135600763303886848,"45":-9204302082159149056},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316910080001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:11:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135600763303886848,"km_value":135600763303886.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204302082159149056,"description":"Unknown IO ID 45"} 
[2026-09-25 07:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316910080001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9204302082159149056}} 
[2026-09-25 07:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":192029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:11:05] local.INFO: GPS data processed {"connection_id":192029,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:11:05] local.INFO: Acknowledgment sent {"connection_id":192029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:11:26] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:26] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:26] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:11:30] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:11:30] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:11:30] local.INFO: IMEI packet received {"connection_id":192030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:11:31] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:31] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:11:31] local.INFO: IMEI packet received {"connection_id":191848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":191848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:11:32] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:32] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:11:32] local.INFO: Packet analysis {"connection_id":191848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:11:32] local.INFO: Extracted packet for processing {"connection_id":191848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:11:32] 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-25 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":191848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:11:32] local.INFO: GPS data processed {"connection_id":191848,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:11:32] local.INFO: Acknowledgment sent {"connection_id":191848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:11:33] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:33] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:33] local.INFO: IMEI packet received {"connection_id":192031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:11:38] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:38] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:11:38] local.INFO: IMEI packet received {"connection_id":192031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":192031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:11:39] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d638aa68012d804c0005d38098000100661c..."} 
[2026-09-25 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d638aa68012d804c0005d38098000100661c..."} 
[2026-09-25 07:11:39] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d638aa68012d804c0005d38098000100661c..."} 
[2026-09-25 07:11:39] local.INFO: Packet analysis {"connection_id":192031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:39] local.INFO: Extracted packet for processing {"connection_id":192031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763382784,"raw_latitude":97747096,"longitude_deg":76.3382784,"latitude_deg":9.7747096,"altitude":1,"angle":102,"satellites":28,"speed":32,"hex_longitude":"2d804c00","hex_latitude":"05d38098","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316910336001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135600836318330880,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203668763461656576,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790300433000,"timestamp_ms":1790300433000,"timestamp_seconds":1790300433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d638aa68"} 
[2026-09-25 07: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-25 07:11:39] 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-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:11:39] 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-25 07: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-25 07: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-25 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316910336001,"66":13798,"167":206,"85":15104,"24":32,"16":135600836318330880,"45":-9203668763461656576},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316910336001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:11:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135600836318330880,"km_value":135600836318330.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203668763461656576,"description":"Unknown IO ID 45"} 
[2026-09-25 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316910336001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9203668763461656576}} 
[2026-09-25 07:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":192031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:11:39] local.INFO: GPS data processed {"connection_id":192031,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:11:39] local.INFO: Acknowledgment sent {"connection_id":192031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:11:40] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d638d178012d80700005d37e000001005c1c..."} 
[2026-09-25 07:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d638d178012d80700005d37e000001005c1c..."} 
[2026-09-25 07:11:40] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d638d178012d80700005d37e000001005c1c..."} 
[2026-09-25 07:11:40] local.INFO: Packet analysis {"connection_id":192031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:40] local.INFO: Extracted packet for processing {"connection_id":192031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d638"} 
[2026-09-25 07:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763392000,"raw_latitude":97746432,"longitude_deg":76.3392,"latitude_deg":9.7746432,"altitude":1,"angle":92,"satellites":28,"speed":32,"hex_longitude":"2d807000","hex_latitude":"05d37e00","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316910848001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135601278699962368,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201979913601509376,"note":"Value kept but may cause issues"} 
[2026-09-25 07:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790300443000,"timestamp_ms":1790300443000,"timestamp_seconds":1790300443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d638d178"} 
[2026-09-25 07: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-25 07:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:11:40] 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-25 07: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-25 07: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-25 07:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316910848001,"66":13906,"167":206,"85":15104,"24":32,"16":135601278699962368,"45":-9201979913601509376},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316910848001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:11:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135601278699962368,"km_value":135601278699962.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201979913601509376,"description":"Unknown IO ID 45"} 
[2026-09-25 07:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316910848001,"power":13906,"unknown_167":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9201979913601509376}} 
[2026-09-25 07:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":192031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:11:40] local.INFO: GPS data processed {"connection_id":192031,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:11:40] local.INFO: Acknowledgment sent {"connection_id":192031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:12:03] local.INFO: TCP Data received {"connection_id":191848,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:03] local.INFO: Processing buffer {"connection_id":191848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:03] local.INFO: Packet analysis {"connection_id":191848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:12:03] local.INFO: Extracted packet for processing {"connection_id":191848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:12: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12: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-25 07:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:12: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-25 07:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:12: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-25 07:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":191848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:12:03] local.INFO: GPS data processed {"connection_id":191848,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:12:03] local.INFO: Acknowledgment sent {"connection_id":191848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:12:05] local.INFO: TCP Data received {"connection_id":191849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:12:05] local.INFO: Processing buffer {"connection_id":191849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:12:05] local.INFO: IMEI packet received {"connection_id":191849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":191849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:12:11] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d639f670012d80a74005d2fab00004008f1d..."} 
[2026-09-25 07:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d639f670012d80a74005d2fab00004008f1d..."} 
[2026-09-25 07:12:11] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d639f670012d80a74005d2fab00004008f1d..."} 
[2026-09-25 07:12:11] local.INFO: Packet analysis {"connection_id":192031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d639"} 
[2026-09-25 07:12:11] local.INFO: Extracted packet for processing {"connection_id":192031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d639"} 
[2026-09-25 07:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97712816,"longitude_deg":76.3406144,"latitude_deg":9.7712816,"altitude":4,"angle":143,"satellites":29,"speed":17,"hex_longitude":"2d80a740","hex_latitude":"05d2fab0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316932352001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135603542147727360,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176576796962052096,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790300518000,"timestamp_ms":1790300518000,"timestamp_seconds":1790300518,"priority":1,"record_length":96,"hex_timestamp":"000001a0d639f670"} 
[2026-09-25 07: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-25 07:12:11] 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-25 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 07:12:11] 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-25 07: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-25 07: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-25 07:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316932352001,"66":13798,"167":206,"85":15104,"24":17,"16":135603542147727360,"45":-9176576796962052096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316932352001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:12:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135603542147727360,"km_value":135603542147727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176576796962052096,"description":"Unknown IO ID 45"} 
[2026-09-25 07:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316932352001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9176576796962052096}} 
[2026-09-25 07:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":192031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:12:11] local.INFO: GPS data processed {"connection_id":192031,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:12:11] local.INFO: Acknowledgment sent {"connection_id":192031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:12:26] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:26] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:26] local.INFO: IMEI packet received {"connection_id":192032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":192032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:12:26] local.INFO: TCP Data received {"connection_id":194691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:26] local.INFO: Processing buffer {"connection_id":194691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:26] local.INFO: IMEI packet received {"connection_id":194691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":194691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:12:28] local.INFO: TCP Data received {"connection_id":194691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:28] local.INFO: Processing buffer {"connection_id":194691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:28] local.INFO: IMEI packet received {"connection_id":194691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":194691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:12:31] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:31] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:12:31] local.INFO: IMEI packet received {"connection_id":192032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":192032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:12:32] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:32] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:12:32] local.INFO: Packet analysis {"connection_id":192032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:12:32] local.INFO: Extracted packet for processing {"connection_id":192032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:12:32] 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-25 07:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:12: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-25 07:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":192032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:12:32] local.INFO: GPS data processed {"connection_id":192032,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:12:32] local.INFO: Acknowledgment sent {"connection_id":192032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:12:33] local.INFO: TCP Data received {"connection_id":194691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:33] local.INFO: Processing buffer {"connection_id":194691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:12:33] local.INFO: IMEI packet received {"connection_id":194691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":194691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:12:34] local.INFO: TCP Data received {"connection_id":194691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d639fa58012d80a88005d2f9b8000300791d..."} 
[2026-09-25 07:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d639fa58012d80a88005d2f9b8000300791d..."} 
[2026-09-25 07:12:34] local.INFO: Processing buffer {"connection_id":194691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d639fa58012d80a88005d2f9b8000300791d..."} 
[2026-09-25 07:12:34] local.INFO: Packet analysis {"connection_id":194691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d639"} 
[2026-09-25 07:12:34] local.INFO: Extracted packet for processing {"connection_id":194691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d639"} 
[2026-09-25 07:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763406464,"raw_latitude":97712568,"longitude_deg":76.3406464,"latitude_deg":9.7712568,"altitude":3,"angle":121,"satellites":29,"speed":17,"hex_longitude":"2d80a880","hex_latitude":"05d2f9b8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316932608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135603559327596544,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321985437696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790300519000,"timestamp_ms":1790300519000,"timestamp_seconds":1790300519,"priority":1,"record_length":96,"hex_timestamp":"000001a0d639fa58"} 
[2026-09-25 07: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-25 07:12:34] 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-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:12:34] 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-25 07: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-25 07: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-25 07:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316932608001,"66":13798,"167":206,"85":15104,"24":17,"16":135603559327596544,"45":-9176295321985437696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 07:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316932608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:12:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 07:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135603559327596544,"km_value":135603559327596.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321985437696,"description":"Unknown IO ID 45"} 
[2026-09-25 07:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316932608001,"power":13798,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9176295321985437696}} 
[2026-09-25 07:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":194691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:12:34] local.INFO: GPS data processed {"connection_id":194691,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:12:34] local.INFO: Acknowledgment sent {"connection_id":194691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:13:03] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:03] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:03] local.INFO: Packet analysis {"connection_id":192032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:13:03] local.INFO: Extracted packet for processing {"connection_id":192032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:13: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13: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-25 07:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:13: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-25 07:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":192032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:13:03] local.INFO: GPS data processed {"connection_id":192032,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:13:03] local.INFO: Acknowledgment sent {"connection_id":192032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:13:05] local.INFO: TCP Data received {"connection_id":194691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63ab5d8012d80f0c005d2ae30000100821d..."} 
[2026-09-25 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63ab5d8012d80f0c005d2ae30000100821d..."} 
[2026-09-25 07:13:05] local.INFO: Processing buffer {"connection_id":194691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63ab5d8012d80f0c005d2ae30000100821d..."} 
[2026-09-25 07:13:05] local.INFO: Packet analysis {"connection_id":194691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63a"} 
[2026-09-25 07:13:05] local.INFO: Extracted packet for processing {"connection_id":194691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63a"} 
[2026-09-25 07:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763424960,"raw_latitude":97693232,"longitude_deg":76.342496,"latitude_deg":9.7693232,"altitude":1,"angle":130,"satellites":29,"speed":25,"hex_longitude":"2d80f0c0","hex_latitude":"05d2ae30","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316944640001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135605161350397952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156732811108913152,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790300567000,"timestamp_ms":1790300567000,"timestamp_seconds":1790300567,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63ab5d8"} 
[2026-09-25 07: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-25 07:13:05] 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-25 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636931,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3594139864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161065989,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2178845018159054848,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636747874084519,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827447,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3281256448,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3538624512,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-3909118073019301885,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561459822186069,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,196,160,146,45,192,179,1,29,10,66,195,127,64,180,123,240,148,227,214,210,4,113,205,15,92,144,239,52,2,225,5,3,32,128,53,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[]} 
[2026-09-25 07:13:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144238457933856768,"timestamp_seconds":144238457933856.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316944640001,"66":12765,"208":206,"85":15104,"24":25,"16":135605161350397952,"45":-9156732811108913152},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 07:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316944640001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:13:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 07:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135605161350397952,"km_value":135605161350397.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156732811108913152,"description":"Unknown IO ID 45"} 
[2026-09-25 07:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316944640001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9156732811108913152}} 
[2026-09-25 07:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":194691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:13:05] local.INFO: GPS data processed {"connection_id":194691,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:13:05] local.INFO: Acknowledgment sent {"connection_id":194691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:13:26] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:26] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:26] local.INFO: IMEI packet received {"connection_id":192033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":192033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:13:27] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:27] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:27] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:13:28] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:13:28] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:28] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:13:29] local.INFO: TCP Data received {"connection_id":193387,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:29] local.INFO: Processing buffer {"connection_id":193387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:13:29] local.INFO: IMEI packet received {"connection_id":193387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":193387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:13:31] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:31] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:13:31] local.INFO: IMEI packet received {"connection_id":192033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":192033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:13:32] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:32] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:13:32] local.INFO: Packet analysis {"connection_id":192033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:13:32] local.INFO: Extracted packet for processing {"connection_id":192033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:13:32] 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-25 07:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:13: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-25 07:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":192033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:13:32] local.INFO: GPS data processed {"connection_id":192033,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:13:32] local.INFO: Acknowledgment sent {"connection_id":192033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:14:03] local.INFO: TCP Data received {"connection_id":192033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:03] local.INFO: Processing buffer {"connection_id":192033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:03] local.INFO: Packet analysis {"connection_id":192033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:14:03] local.INFO: Extracted packet for processing {"connection_id":192033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:14: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14: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-25 07:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:14: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-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":192033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:14:03] local.INFO: GPS data processed {"connection_id":192033,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:14:03] local.INFO: Acknowledgment sent {"connection_id":192033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:14:26] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:26] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:26] local.INFO: IMEI packet received {"connection_id":193388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":193388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:14:31] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:31] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:14:31] local.INFO: IMEI packet received {"connection_id":193388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":193388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:14:32] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:32] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6378d40012d34c14006aa4940000900f529..."} 
[2026-09-25 07:14:32] local.INFO: Packet analysis {"connection_id":193388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:14:32] local.INFO: Extracted packet for processing {"connection_id":193388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d637"} 
[2026-09-25 07:14:32] 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-25 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316815104001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300360000,"timestamp_ms":1790300360000,"timestamp_seconds":1790300360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6378d40"} 
[2026-09-25 07:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:14: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-25 07:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 07:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316815104001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316815104001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316815104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":193388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:14:32] local.INFO: GPS data processed {"connection_id":193388,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:14:32] local.INFO: Acknowledgment sent {"connection_id":193388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:15:02] local.INFO: TCP Data received {"connection_id":193388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:02] local.INFO: Processing buffer {"connection_id":193388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:02] local.INFO: Packet analysis {"connection_id":193388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:15:02] local.INFO: Extracted packet for processing {"connection_id":193388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:15:02] 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-25 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15: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-25 07:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:15:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:15: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-25 07:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":193388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:15:02] local.INFO: GPS data processed {"connection_id":193388,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:15:02] local.INFO: Acknowledgment sent {"connection_id":193388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:15:31] local.INFO: TCP Data received {"connection_id":193390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:31] local.INFO: Processing buffer {"connection_id":193390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:31] local.INFO: IMEI packet received {"connection_id":193390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":193390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:15:36] local.INFO: TCP Data received {"connection_id":193390,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:36] local.INFO: Processing buffer {"connection_id":193390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:15:36] local.INFO: IMEI packet received {"connection_id":193390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":193390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:15:37] local.INFO: TCP Data received {"connection_id":193390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:37] local.INFO: Processing buffer {"connection_id":193390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:15:37] local.INFO: Packet analysis {"connection_id":193390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:15:37] local.INFO: Extracted packet for processing {"connection_id":193390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:15: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:15: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-25 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:15: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-25 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":193390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:15:37] local.INFO: GPS data processed {"connection_id":193390,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:15:37] local.INFO: Acknowledgment sent {"connection_id":193390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:16:08] local.INFO: TCP Data received {"connection_id":193390,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:08] local.INFO: Processing buffer {"connection_id":193390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:08] local.INFO: Packet analysis {"connection_id":193390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:16:08] local.INFO: Extracted packet for processing {"connection_id":193390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:16: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-25 07: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-25 07:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07: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-25 07:16: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-25 07:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:16: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-25 07:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":193390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:16:08] local.INFO: GPS data processed {"connection_id":193390,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:16:08] local.INFO: Acknowledgment sent {"connection_id":193390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:16:26] local.INFO: TCP Data received {"connection_id":194695,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:26] local.INFO: Processing buffer {"connection_id":194695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:26] local.INFO: IMEI packet received {"connection_id":194695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":194695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:16:31] local.INFO: TCP Data received {"connection_id":194695,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:31] local.INFO: Processing buffer {"connection_id":194695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:16:31] local.INFO: IMEI packet received {"connection_id":194695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":194695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:16:32] local.INFO: TCP Data received {"connection_id":194695,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:32] local.INFO: Processing buffer {"connection_id":194695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:16:32] local.INFO: Packet analysis {"connection_id":194695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:16:32] local.INFO: Extracted packet for processing {"connection_id":194695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:16:32] 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-25 07: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-25 07:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07: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-25 07:16: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-25 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":194695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:16:32] local.INFO: GPS data processed {"connection_id":194695,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:16:32] local.INFO: Acknowledgment sent {"connection_id":194695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:17:03] local.INFO: TCP Data received {"connection_id":194695,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:03] local.INFO: Processing buffer {"connection_id":194695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:03] local.INFO: Packet analysis {"connection_id":194695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:17:03] local.INFO: Extracted packet for processing {"connection_id":194695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:17: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17: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-25 07:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:17: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-25 07:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:17: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-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":194695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:17:03] local.INFO: GPS data processed {"connection_id":194695,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:17:03] local.INFO: Acknowledgment sent {"connection_id":194695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:17:26] local.INFO: TCP Data received {"connection_id":191850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:26] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:26] local.INFO: IMEI packet received {"connection_id":191850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":191850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:17:30] local.INFO: TCP Data received {"connection_id":194697,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:17:30] local.INFO: Processing buffer {"connection_id":194697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:17:30] local.INFO: IMEI packet received {"connection_id":194697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":194697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:17:31] local.INFO: TCP Data received {"connection_id":191850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:31] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:17:31] local.INFO: IMEI packet received {"connection_id":191850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":191850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:17:32] local.INFO: TCP Data received {"connection_id":191850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:32] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:17:32] local.INFO: Packet analysis {"connection_id":191850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:17:32] local.INFO: Extracted packet for processing {"connection_id":191850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:17:32] 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-25 07:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:17: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-25 07:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":191850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:17:32] local.INFO: GPS data processed {"connection_id":191850,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:17:32] local.INFO: Acknowledgment sent {"connection_id":191850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:18:03] local.INFO: TCP Data received {"connection_id":191850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:03] local.INFO: Processing buffer {"connection_id":191850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:03] local.INFO: Packet analysis {"connection_id":191850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:18:03] local.INFO: Extracted packet for processing {"connection_id":191850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:18: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18: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-25 07:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:18: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-25 07:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:18: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-25 07:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":191850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:18:03] local.INFO: GPS data processed {"connection_id":191850,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:18:03] local.INFO: Acknowledgment sent {"connection_id":191850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:18:05] local.INFO: TCP Data received {"connection_id":191851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:18:05] local.INFO: Processing buffer {"connection_id":191851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:18:05] local.INFO: IMEI packet received {"connection_id":191851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":191851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:18:26] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:26] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:26] local.INFO: IMEI packet received {"connection_id":192035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":192035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:18:32] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:32] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:18:32] local.INFO: IMEI packet received {"connection_id":192035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":192035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:18:33] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:18:33] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:18:33] local.INFO: IMEI packet received {"connection_id":191852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":191852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:18:33] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:33] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:18:33] local.INFO: Packet analysis {"connection_id":192035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:18:33] local.INFO: Extracted packet for processing {"connection_id":192035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07: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-25 07:18: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-25 07: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07: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-25 07:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":192035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:18:33] local.INFO: GPS data processed {"connection_id":192035,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:18:33] local.INFO: Acknowledgment sent {"connection_id":192035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:18:34] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63f6128012d82d5c005d15aa8000700631d..."} 
[2026-09-25 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63f6128012d82d5c005d15aa8000700631d..."} 
[2026-09-25 07:18:34] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63f6128012d82d5c005d15aa8000700631d..."} 
[2026-09-25 07:18:34] local.INFO: Packet analysis {"connection_id":191852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:18:34] local.INFO: Extracted packet for processing {"connection_id":191852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763549120,"raw_latitude":97606312,"longitude_deg":76.354912,"latitude_deg":9.7606312,"altitude":7,"angle":99,"satellites":29,"speed":48,"hex_longitude":"2d82d5c0","hex_latitude":"05d15aa8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317021440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135614782077140992,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029083909192550400,"note":"Value kept but may cause issues"} 
[2026-09-25 07:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790300873000,"timestamp_ms":1790300873000,"timestamp_seconds":1790300873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63f6128"} 
[2026-09-25 07: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-25 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:18:34] 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-25 07: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-25 07: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-25 07:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317021440001,"66":13917,"64":206,"85":15104,"24":48,"16":135614782077140992,"45":-9029083909192550400},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-25 07:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317021440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:18:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 07:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135614782077140992,"km_value":135614782077140.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029083909192550400,"description":"Unknown IO ID 45"} 
[2026-09-25 07:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317021440001,"power":13917,"unknown_64":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9029083909192550400}} 
[2026-09-25 07:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":191852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:18:34] local.INFO: GPS data processed {"connection_id":191852,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:18:34] local.INFO: Acknowledgment sent {"connection_id":191852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:19:05] local.INFO: TCP Data received {"connection_id":192035,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:05] local.INFO: Processing buffer {"connection_id":192035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:05] local.INFO: Packet analysis {"connection_id":192035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:19:05] local.INFO: Extracted packet for processing {"connection_id":192035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07: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-25 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07: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-25 07:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"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-25 07:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":192035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:19:05] local.INFO: GPS data processed {"connection_id":192035,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:19:05] local.INFO: Acknowledgment sent {"connection_id":192035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:19:12] local.INFO: TCP Data received {"connection_id":191852,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63f7c80012d82fa0005d156f00007005e1d..."} 
[2026-09-25 07:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63f7c80012d82fa0005d156f00007005e1d..."} 
[2026-09-25 07:19:12] local.INFO: Processing buffer {"connection_id":191852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63f7c80012d82fa0005d156f00007005e1d..."} 
[2026-09-25 07:19:12] local.INFO: Packet analysis {"connection_id":191852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:19:12] local.INFO: Extracted packet for processing {"connection_id":191852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763558400,"raw_latitude":97605360,"longitude_deg":76.35584,"latitude_deg":9.760536,"altitude":7,"angle":94,"satellites":29,"speed":49,"hex_longitude":"2d82fa00","hex_latitude":"05d156f0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317023488001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135615228753739776,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9019091547519801344,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790300880000,"timestamp_ms":1790300880000,"timestamp_seconds":1790300880,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63f7c80"} 
[2026-09-25 07: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-25 07:19: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-25 07: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-25 07:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317023488001,"66":13646,"64":206,"85":15104,"24":49,"16":135615228753739776,"45":-9019091547519801344},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-25 07:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317023488001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:19:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 07:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135615228753739776,"km_value":135615228753739.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9019091547519801344,"description":"Unknown IO ID 45"} 
[2026-09-25 07:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317023488001,"power":13646,"unknown_64":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9019091547519801344}} 
[2026-09-25 07:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":191852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:19:12] local.INFO: GPS data processed {"connection_id":191852,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:19:12] local.INFO: Acknowledgment sent {"connection_id":191852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:19:26] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:26] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:26] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:19:28] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:28] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:28] local.INFO: IMEI packet received {"connection_id":193393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":193393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:19:31] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:31] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:19:31] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:19:32] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:32] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63c2508012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:19:32] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:19:32] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63c"} 
[2026-09-25 07:19:32] 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-25 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316892160001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300661000,"timestamp_ms":1790300661000,"timestamp_seconds":1790300661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63c2508"} 
[2026-09-25 07:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:19: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-25 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:19:32] 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-25 07:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316892160001,"66":25397,"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-25 07:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316892160001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316892160001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:19:32] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:19:32] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:19:33] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:33] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:19:33] local.INFO: IMEI packet received {"connection_id":193393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":193393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:19:33] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63f9bc0012d831d4005d154800006005b1c..."} 
[2026-09-25 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63f9bc0012d831d4005d154800006005b1c..."} 
[2026-09-25 07:19:33] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63f9bc0012d831d4005d154800006005b1c..."} 
[2026-09-25 07:19:33] local.INFO: Packet analysis {"connection_id":193393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:19:33] local.INFO: Extracted packet for processing {"connection_id":193393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763567424,"raw_latitude":97604736,"longitude_deg":76.3567424,"latitude_deg":9.7604736,"altitude":6,"angle":91,"satellites":28,"speed":37,"hex_longitude":"2d831d40","hex_latitude":"05d15480","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317025280001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135615658250469376,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008888079614283776,"note":"Value kept but may cause issues"} 
[2026-09-25 07:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790300888000,"timestamp_ms":1790300888000,"timestamp_seconds":1790300888,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63f9bc0"} 
[2026-09-25 07: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-25 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 07:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317025280001,"66":13624,"64":206,"85":15104,"24":37,"16":135615658250469376,"45":-9008888079614283776},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-25 07:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317025280001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:19:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 07:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135615658250469376,"km_value":135615658250469.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008888079614283776,"description":"Unknown IO ID 45"} 
[2026-09-25 07:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317025280001,"power":13624,"unknown_64":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9008888079614283776}} 
[2026-09-25 07:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":193393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:19:34] local.INFO: GPS data processed {"connection_id":193393,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:19:34] local.INFO: Acknowledgment sent {"connection_id":193393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:20:04] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:04] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:04] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:20:04] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07: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-25 07: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-25 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:20:04] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:20:04] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:20:06] local.INFO: TCP Data received {"connection_id":193393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d63fbee8012d83328005d15330000300691d..."} 
[2026-09-25 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d63fbee8012d83328005d15330000300691d..."} 
[2026-09-25 07:20:06] local.INFO: Processing buffer {"connection_id":193393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d63fbee8012d83328005d15330000300691d..."} 
[2026-09-25 07:20:06] local.INFO: Packet analysis {"connection_id":193393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:20:06] local.INFO: Extracted packet for processing {"connection_id":193393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d63f"} 
[2026-09-25 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763572864,"raw_latitude":97604400,"longitude_deg":76.3572864,"latitude_deg":9.76044,"altitude":3,"angle":105,"satellites":29,"speed":7,"hex_longitude":"2d833280","hex_latitude":"05d15330","is_valid_coordinates":true} 
[2026-09-25 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-25 07:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317027328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135615920243474432,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8998966086685392896,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790300897000,"timestamp_ms":1790300897000,"timestamp_seconds":1790300897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d63fbee8"} 
[2026-09-25 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-25 07:20:06] 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-25 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 07:20:06] 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-25 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-25 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-25 07:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317027328001,"66":13526,"64":206,"85":15104,"24":7,"16":135615920243474432,"45":-8998966086685392896},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-25 07:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317027328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135615920243474432,"km_value":135615920243474.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8998966086685392896,"description":"Unknown IO ID 45"} 
[2026-09-25 07:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317027328001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8998966086685392896}} 
[2026-09-25 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":193393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:20:07] local.INFO: GPS data processed {"connection_id":193393,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:20:07] local.INFO: Acknowledgment sent {"connection_id":193393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:20:26] local.INFO: TCP Data received {"connection_id":194698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:26] local.INFO: Processing buffer {"connection_id":194698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:26] local.INFO: IMEI packet received {"connection_id":194698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":194698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:20:30] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:30] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:30] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:20:31] local.INFO: TCP Data received {"connection_id":194698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:31] local.INFO: Processing buffer {"connection_id":194698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:20:31] local.INFO: IMEI packet received {"connection_id":194698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":194698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:20:32] local.INFO: TCP Data received {"connection_id":194698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:32] local.INFO: Processing buffer {"connection_id":194698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:20:32] local.INFO: Packet analysis {"connection_id":194698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:20:32] local.INFO: Extracted packet for processing {"connection_id":194698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:20:32] 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-25 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:20: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-25 07:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:20:32] 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-25 07:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":194698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:20:32] local.INFO: GPS data processed {"connection_id":194698,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:20:32] local.INFO: Acknowledgment sent {"connection_id":194698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:20:33] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:33] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:33] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:20:38] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:38] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:20:38] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:20:39] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6418020012d82e9c005d157780006011222..."} 
[2026-09-25 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6418020012d82e9c005d157780006011222..."} 
[2026-09-25 07:20:39] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6418020012d82e9c005d157780006011222..."} 
[2026-09-25 07:20:39] local.INFO: Packet analysis {"connection_id":192037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:20:39] local.INFO: Extracted packet for processing {"connection_id":192037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763554240,"raw_latitude":97605496,"longitude_deg":76.355424,"latitude_deg":9.7605496,"altitude":6,"angle":274,"satellites":34,"speed":46,"hex_longitude":"2d82e9c0","hex_latitude":"05d15778","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317057024001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135616925265821696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003258580080173056,"note":"Value kept but may cause issues"} 
[2026-09-25 07:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790301012000,"timestamp_ms":1790301012000,"timestamp_seconds":1790301012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6418020"} 
[2026-09-25 07: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-25 07:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-25 07:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317057024001,"66":13319,"221":206,"85":15104,"24":46,"16":135616925265821696,"45":-9003258580080173056},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317057024001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:20:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135616925265821696,"km_value":135616925265821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003258580080173056,"description":"Unknown IO ID 45"} 
[2026-09-25 07:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317057024001,"power":13319,"unknown_221":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9003258580080173056}} 
[2026-09-25 07:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":192037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:20:39] local.INFO: GPS data processed {"connection_id":192037,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:20:39] local.INFO: Acknowledgment sent {"connection_id":192037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:03] local.INFO: TCP Data received {"connection_id":194698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:03] local.INFO: Processing buffer {"connection_id":194698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:03] local.INFO: Packet analysis {"connection_id":194698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:21:03] local.INFO: Extracted packet for processing {"connection_id":194698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:21: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21: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-25 07:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:03] 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-25 07:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:21: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-25 07:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":194698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:03] local.INFO: GPS data processed {"connection_id":194698,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:03] local.INFO: Acknowledgment sent {"connection_id":194698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:10] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6419f60012d82c5c005d15c880003011921..."} 
[2026-09-25 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6419f60012d82c5c005d15c880003011921..."} 
[2026-09-25 07:21:10] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6419f60012d82c5c005d15c880003011921..."} 
[2026-09-25 07:21:10] local.INFO: Packet analysis {"connection_id":192037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:10] local.INFO: Extracted packet for processing {"connection_id":192037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763545024,"raw_latitude":97606792,"longitude_deg":76.3545024,"latitude_deg":9.7606792,"altitude":3,"angle":281,"satellites":33,"speed":46,"hex_longitude":"2d82c5c0","hex_latitude":"05d15c88","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317059072001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135617371942420480,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9013462047985797120,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790301020000,"timestamp_ms":1790301020000,"timestamp_seconds":1790301020,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6419f60"} 
[2026-09-25 07: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-25 07:21: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-25 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3594533864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201223173,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5856931332598602752,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":141,"raw_value":4026609027,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728678,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3456827392,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57815469613012283,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2346376700846358533,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,221,85,24,241,157,16,206,160,96,45,8,34,10,66,42,128,82,38,1,240,227,214,209,4,113,205,141,52,48,29,239,2,225,5,56,64],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-09-25 07:21:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432646976445480960,"timestamp_seconds":432646976445480.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317059072001,"66":13830,"221":206,"85":15104,"24":46,"16":135617371942420480,"45":-9013462047985797120},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317059072001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135617371942420480,"km_value":135617371942420.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9013462047985797120,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317059072001,"power":13830,"unknown_221":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9013462047985797120}} 
[2026-09-25 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":192037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:10] local.INFO: GPS data processed {"connection_id":192037,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:10] local.INFO: Acknowledgment sent {"connection_id":192037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:29] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:29] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:29] local.INFO: IMEI packet received {"connection_id":192038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:21:31] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:31] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:31] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:21:37] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:37] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:21:37] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:21:38] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:38] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:38] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:21:38] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:38] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:38] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:40] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:40] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:21:40] local.INFO: IMEI packet received {"connection_id":192038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":192038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:21:41] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d641bea0012d82a30005d161c00001010d21..."} 
[2026-09-25 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d641bea0012d82a30005d161c00001010d21..."} 
[2026-09-25 07:21:41] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d641bea0012d82a30005d161c00001010d21..."} 
[2026-09-25 07:21:41] local.INFO: Packet analysis {"connection_id":192038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:41] local.INFO: Extracted packet for processing {"connection_id":192038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763536128,"raw_latitude":97608128,"longitude_deg":76.3536128,"latitude_deg":9.7608128,"altitude":1,"angle":269,"satellites":33,"speed":38,"hex_longitude":"2d82a300","hex_latitude":"05d161c0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317061120001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135617801439150080,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9023595147147048960,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790301028000,"timestamp_ms":1790301028000,"timestamp_seconds":1790301028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d641bea0"} 
[2026-09-25 07: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-25 07:21: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-25 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626830521600,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3594554864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201157637,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4160826755,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376806,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3456827392,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":59,"raw_value":-1729050740405565999,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.WARNING: Large IO value detected {"io_id":82,"raw_value":-5764602025340043262,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,221,85,24,241,157,16,207,160,128,45,192,87,6,34,10,66,206,96,8,42,1,240,88,227,214,209,4,113,205,5,223,52,48,32,239,2,225,59,82],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-09-25 07:21:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216481886618124288,"timestamp_seconds":216481886618124.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317061120001,"66":13559,"221":206,"85":15104,"24":38,"16":135617801439150080,"45":-9023595147147048960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317061120001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135617801439150080,"km_value":135617801439150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9023595147147048960,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317061120001,"power":13559,"unknown_221":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9023595147147048960}} 
[2026-09-25 07:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":192038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:41] local.INFO: GPS data processed {"connection_id":192038,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:41] local.INFO: Acknowledgment sent {"connection_id":192038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:42] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d641f550012d82964005d162a80000015022..."} 
[2026-09-25 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d641f550012d82964005d162a80000015022..."} 
[2026-09-25 07:21:42] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d641f550012d82964005d162a80000015022..."} 
[2026-09-25 07:21:42] local.INFO: Packet analysis {"connection_id":192038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:42] local.INFO: Extracted packet for processing {"connection_id":192038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97608360,"longitude_deg":76.3532864,"latitude_deg":9.760836,"altitude":0,"angle":336,"satellites":34,"speed":9,"hex_longitude":"2d829640","hex_latitude":"05d162a8","is_valid_coordinates":true} 
[2026-09-25 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317063168001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135617964647907328,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033376402587402240,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790301042000,"timestamp_ms":1790301042000,"timestamp_seconds":1790301042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d641f550"} 
[2026-09-25 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:21:42] 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-25 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:42] 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-25 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317063168001,"66":13852,"221":206,"85":15104,"24":9,"16":135617964647907328,"45":-9033376402587402240},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317063168001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135617964647907328,"km_value":135617964647907.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033376402587402240,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317063168001,"power":13852,"unknown_221":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9033376402587402240}} 
[2026-09-25 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":192038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":893999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:42] local.INFO: GPS data processed {"connection_id":192038,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:42] local.INFO: Acknowledgment sent {"connection_id":192038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:21:42] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:42] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:21:42] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:21:42] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:21: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:21:42] 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-25 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:21: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-25 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:21:42] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:21:42] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:22:13] local.INFO: TCP Data received {"connection_id":192038,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d641f938012d82960005d163900000015e22..."} 
[2026-09-25 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d641f938012d82960005d163900000015e22..."} 
[2026-09-25 07:22:13] local.INFO: Processing buffer {"connection_id":192038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d641f938012d82960005d163900000015e22..."} 
[2026-09-25 07:22:13] local.INFO: Packet analysis {"connection_id":192038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:22:13] local.INFO: Extracted packet for processing {"connection_id":192038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d641"} 
[2026-09-25 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97608592,"longitude_deg":76.35328,"latitude_deg":9.7608592,"altitude":0,"angle":350,"satellites":34,"speed":10,"hex_longitude":"2d829600","hex_latitude":"05d16390","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317066752001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135617977532809216,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540403712,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790301043000,"timestamp_ms":1790301043000,"timestamp_seconds":1790301043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d641f938"} 
[2026-09-25 07: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-25 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 07:22:13] 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-25 07: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-25 07: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-25 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317066752001,"66":13852,"221":206,"85":15104,"24":10,"16":135617977532809216,"45":-9036965208540403712},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317066752001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:22:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135617977532809216,"km_value":135617977532809.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540403712,"description":"Unknown IO ID 45"} 
[2026-09-25 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317066752001,"power":13852,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9036965208540403712}} 
[2026-09-25 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":192038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:22:13] local.INFO: GPS data processed {"connection_id":192038,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:22:13] local.INFO: Acknowledgment sent {"connection_id":192038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:22:26] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:26] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:26] local.INFO: IMEI packet received {"connection_id":191854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":191854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:22:28] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:28] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:28] local.INFO: IMEI packet received {"connection_id":191855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":191855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:22:29] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:29] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:29] local.INFO: IMEI packet received {"connection_id":191855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":191855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:22:31] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:31] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:22:31] local.INFO: IMEI packet received {"connection_id":191854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":191854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:22:32] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:22:32] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:22:32] local.INFO: Packet analysis {"connection_id":191854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:22:32] local.INFO: Extracted packet for processing {"connection_id":191854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:22:32] 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-25 07:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:22: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-25 07:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:22:32] 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-25 07:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":191854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:22:32] local.INFO: GPS data processed {"connection_id":191854,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:22:32] local.INFO: Acknowledgment sent {"connection_id":191854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:22:33] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:33] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:22:33] local.INFO: IMEI packet received {"connection_id":191855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:22:34] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64204f0012d82960005d167b80000000221..."} 
[2026-09-25 07:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64204f0012d82960005d167b80000000221..."} 
[2026-09-25 07:22:34] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64204f0012d82960005d167b80000000221..."} 
[2026-09-25 07:22:34] local.INFO: Packet analysis {"connection_id":191855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d642"} 
[2026-09-25 07:22:34] local.INFO: Extracted packet for processing {"connection_id":191855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d642"} 
[2026-09-25 07:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97609656,"longitude_deg":76.35328,"latitude_deg":9.7609656,"altitude":0,"angle":2,"satellites":33,"speed":17,"hex_longitude":"2d829600","hex_latitude":"05d167b8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317067008001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135618029072416768,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577284521984,"note":"Value kept but may cause issues"} 
[2026-09-25 07:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790301046000,"timestamp_ms":1790301046000,"timestamp_seconds":1790301046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64204f0"} 
[2026-09-25 07: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-25 07:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 07:22:34] 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-25 07: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-25 07: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-25 07:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317067008001,"66":13319,"221":206,"85":15104,"24":17,"16":135618029072416768,"45":-9037035577284521984},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 07:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317067008001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:22:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 07:22:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135618029072416768,"km_value":135618029072416.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577284521984,"description":"Unknown IO ID 45"} 
[2026-09-25 07:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317067008001,"power":13319,"unknown_221":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9037035577284521984}} 
[2026-09-25 07:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":191855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:22:34] local.INFO: GPS data processed {"connection_id":191855,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:22:34] local.INFO: Acknowledgment sent {"connection_id":191855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:23:03] local.INFO: TCP Data received {"connection_id":191854,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:03] local.INFO: Processing buffer {"connection_id":191854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:03] local.INFO: Packet analysis {"connection_id":191854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:23:03] local.INFO: Extracted packet for processing {"connection_id":191854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:23: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23: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-25 07:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:23:03] 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-25 07:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:23: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-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":191854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:23:03] local.INFO: GPS data processed {"connection_id":191854,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:23:03] local.INFO: Acknowledgment sent {"connection_id":191854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:23:05] local.INFO: TCP Data received {"connection_id":191855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d643c628012d828b0005d2d4880003015e21..."} 
[2026-09-25 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d643c628012d828b0005d2d4880003015e21..."} 
[2026-09-25 07:23:05] local.INFO: Processing buffer {"connection_id":191855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d643c628012d828b0005d2d4880003015e21..."} 
[2026-09-25 07:23:05] local.INFO: Packet analysis {"connection_id":191855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d643"} 
[2026-09-25 07:23:05] local.INFO: Extracted packet for processing {"connection_id":191855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d643"} 
[2026-09-25 07:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":97703048,"longitude_deg":76.3529984,"latitude_deg":9.7703048,"altitude":3,"angle":350,"satellites":33,"speed":33,"hex_longitude":"2d828b00","hex_latitude":"05d2d488","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317094656001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135622573147815936,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038794795867041792,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790301161000,"timestamp_ms":1790301161000,"timestamp_seconds":1790301161,"priority":1,"record_length":96,"hex_timestamp":"000001a0d643c628"} 
[2026-09-25 07: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-25 07:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 07:23:05] 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-25 07: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-25 07: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-25 07:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317094656001,"66":13624,"68":206,"85":15104,"24":33,"16":135622573147815936,"45":-9038794795867041792},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-25 07:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317094656001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:23:05] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-25 07:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135622573147815936,"km_value":135622573147815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038794795867041792,"description":"Unknown IO ID 45"} 
[2026-09-25 07:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317094656001,"power":13624,"unknown_68":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9038794795867041792}} 
[2026-09-25 07:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":191855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:23:05] local.INFO: GPS data processed {"connection_id":191855,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:23:05] local.INFO: Acknowledgment sent {"connection_id":191855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:23:26] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:26] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:26] local.INFO: IMEI packet received {"connection_id":193395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":193395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:23:28] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:28] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:28] local.INFO: IMEI packet received {"connection_id":192042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":192042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:23:30] local.INFO: TCP Data received {"connection_id":192041,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:23:30] local.INFO: Processing buffer {"connection_id":192041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:23:30] local.INFO: IMEI packet received {"connection_id":192041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:23:31] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:31] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:23:31] local.INFO: IMEI packet received {"connection_id":193395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":193395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:23:32] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:32] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:23:32] local.INFO: Packet analysis {"connection_id":193395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:23:32] local.INFO: Extracted packet for processing {"connection_id":193395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:23:32] 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-25 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:23: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-25 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:23:32] 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-25 07:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":193395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:23:32] local.INFO: GPS data processed {"connection_id":193395,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:23:32] local.INFO: Acknowledgment sent {"connection_id":193395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:23:32] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:32] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:23:32] local.INFO: IMEI packet received {"connection_id":192042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":192042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:23:33] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d643f508012d82850005d2f7480004015b22..."} 
[2026-09-25 07:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d643f508012d82850005d2f7480004015b22..."} 
[2026-09-25 07:23:33] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d643f508012d82850005d2f7480004015b22..."} 
[2026-09-25 07:23:33] local.INFO: Packet analysis {"connection_id":192042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d643"} 
[2026-09-25 07:23:33] local.INFO: Extracted packet for processing {"connection_id":192042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d643"} 
[2026-09-25 07:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":97711944,"longitude_deg":76.3528448,"latitude_deg":9.7711944,"altitude":4,"angle":347,"satellites":34,"speed":28,"hex_longitude":"2d828500","hex_latitude":"05d2f748","is_valid_coordinates":true} 
[2026-09-25 07:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317097216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135623011234480128,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040131802004158464,"note":"Value kept but may cause issues"} 
[2026-09-25 07:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790301173000,"timestamp_ms":1790301173000,"timestamp_seconds":1790301173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d643f508"} 
[2026-09-25 07:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 07:23:33] 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-25 07:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317097216001,"66":13798,"68":206,"85":15104,"24":28,"16":135623011234480128,"45":-9040131802004158464},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-25 07:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317097216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:23:33] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-25 07:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135623011234480128,"km_value":135623011234480.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040131802004158464,"description":"Unknown IO ID 45"} 
[2026-09-25 07:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317097216001,"power":13798,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9040131802004158464}} 
[2026-09-25 07:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":192042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:23:33] local.INFO: GPS data processed {"connection_id":192042,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:23:33] local.INFO: Acknowledgment sent {"connection_id":192042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:24:03] local.INFO: TCP Data received {"connection_id":193395,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:03] local.INFO: Processing buffer {"connection_id":193395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:03] local.INFO: Packet analysis {"connection_id":193395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:24:03] local.INFO: Extracted packet for processing {"connection_id":193395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:24: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24: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-25 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:24:03] 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-25 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:24: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-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":193395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:24:03] local.INFO: GPS data processed {"connection_id":193395,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:24:03] local.INFO: Acknowledgment sent {"connection_id":193395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:24:06] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6441060012d82828005d30bb00004016722..."} 
[2026-09-25 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6441060012d82828005d30bb00004016722..."} 
[2026-09-25 07:24:06] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6441060012d82828005d30bb00004016722..."} 
[2026-09-25 07:24:06] local.INFO: Packet analysis {"connection_id":192042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d644"} 
[2026-09-25 07:24:06] local.INFO: Extracted packet for processing {"connection_id":192042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d644"} 
[2026-09-25 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97717168,"longitude_deg":76.3527808,"latitude_deg":9.7717168,"altitude":4,"angle":359,"satellites":34,"speed":27,"hex_longitude":"2d828280","hex_latitude":"05d30bb0","is_valid_coordinates":true} 
[2026-09-25 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-25 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317100288001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135623268932517888,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651862145024,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790301180000,"timestamp_ms":1790301180000,"timestamp_seconds":1790301180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6441060"} 
[2026-09-25 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-25 07:24: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-25 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:24:06] 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-25 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-25 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-25 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317100288001,"66":13917,"68":206,"85":15104,"24":27,"16":135623268932517888,"45":-9041820651862145024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-25 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317100288001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:24:06] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-25 07:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135623268932517888,"km_value":135623268932517.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651862145024,"description":"Unknown IO ID 45"} 
[2026-09-25 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317100288001,"power":13917,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9041820651862145024}} 
[2026-09-25 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":192042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:24:06] local.INFO: GPS data processed {"connection_id":192042,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:24:06] local.INFO: Acknowledgment sent {"connection_id":192042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:24:10] local.INFO: TCP Data received {"connection_id":194699,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:24:10] local.INFO: Processing buffer {"connection_id":194699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:24:10] local.INFO: IMEI packet received {"connection_id":194699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":194699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:24:26] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:26] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:26] local.INFO: IMEI packet received {"connection_id":193396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":193396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:24:31] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:31] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:24:31] local.INFO: IMEI packet received {"connection_id":193396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":193396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:24:32] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:32] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d640bcd0012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:24:32] local.INFO: Packet analysis {"connection_id":193396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:24:32] local.INFO: Extracted packet for processing {"connection_id":193396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d640"} 
[2026-09-25 07:24:32] 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-25 07: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-25 07:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458316969216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790300962000,"timestamp_ms":1790300962000,"timestamp_seconds":1790300962,"priority":1,"record_length":96,"hex_timestamp":"000001a0d640bcd0"} 
[2026-09-25 07: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-25 07: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-25 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 07:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07: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-25 07: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-25 07:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:24:32] 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-25 07:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458316969216001,"66":25495,"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-25 07:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458316969216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458316969216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":193396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:24:32] local.INFO: GPS data processed {"connection_id":193396,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:24:32] local.INFO: Acknowledgment sent {"connection_id":193396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:24:37] local.INFO: TCP Data received {"connection_id":194700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:37] local.INFO: Processing buffer {"connection_id":194700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:37] local.INFO: IMEI packet received {"connection_id":194700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":194700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:24:39] local.INFO: TCP Data received {"connection_id":194700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:39] local.INFO: Processing buffer {"connection_id":194700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:39] local.INFO: IMEI packet received {"connection_id":194700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":194700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:24:40] local.INFO: TCP Data received {"connection_id":194700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:40] local.INFO: Processing buffer {"connection_id":194700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:40] local.INFO: IMEI packet received {"connection_id":194700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":194700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:24:41] local.INFO: TCP Data received {"connection_id":194700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:41] local.INFO: Processing buffer {"connection_id":194700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:24:41] local.INFO: IMEI packet received {"connection_id":194700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":194700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:25:03] local.INFO: TCP Data received {"connection_id":193396,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:03] local.INFO: Processing buffer {"connection_id":193396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:03] local.INFO: Packet analysis {"connection_id":193396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25:03] local.INFO: Extracted packet for processing {"connection_id":193396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25: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-25 07:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:03] 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-25 07:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:25: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-25 07:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":193396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:25:03] local.INFO: GPS data processed {"connection_id":193396,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:25:03] local.INFO: Acknowledgment sent {"connection_id":193396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:25:31] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:31] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:31] local.INFO: IMEI packet received {"connection_id":191856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":191856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:25:36] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:36] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:25:36] local.INFO: IMEI packet received {"connection_id":191856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":191856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:25:37] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:37] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:37] local.INFO: Packet analysis {"connection_id":191856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25:37] local.INFO: Extracted packet for processing {"connection_id":191856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:25: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-25 07:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":191856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:25:37] local.INFO: GPS data processed {"connection_id":191856,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:25:37] local.INFO: Acknowledgment sent {"connection_id":191856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:25:42] local.INFO: TCP Data received {"connection_id":191856,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:42] local.INFO: Processing buffer {"connection_id":191856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:25:42] local.INFO: Packet analysis {"connection_id":191856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25:42] local.INFO: Extracted packet for processing {"connection_id":191856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:25: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:25:42] 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-25 07:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:25: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-25 07:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":191856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:25:42] local.INFO: GPS data processed {"connection_id":191856,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:25:42] local.INFO: Acknowledgment sent {"connection_id":191856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:26:26] local.INFO: TCP Data received {"connection_id":193397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:26] local.INFO: Processing buffer {"connection_id":193397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:26] local.INFO: IMEI packet received {"connection_id":193397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":193397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:26:31] local.INFO: TCP Data received {"connection_id":193397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:31] local.INFO: Processing buffer {"connection_id":193397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:26:31] local.INFO: IMEI packet received {"connection_id":193397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":193397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:26:32] local.INFO: TCP Data received {"connection_id":193397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:32] local.INFO: Processing buffer {"connection_id":193397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:32] local.INFO: Packet analysis {"connection_id":193397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:26:32] local.INFO: Extracted packet for processing {"connection_id":193397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:26:32] 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-25 07:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:26: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-25 07:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:26:32] 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-25 07:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":193397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:26:32] local.INFO: GPS data processed {"connection_id":193397,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:26:32] local.INFO: Acknowledgment sent {"connection_id":193397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:26:37] local.INFO: TCP Data received {"connection_id":193397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:37] local.INFO: Processing buffer {"connection_id":193397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:26:37] local.INFO: Packet analysis {"connection_id":193397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:26:37] local.INFO: Extracted packet for processing {"connection_id":193397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:26: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:26: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-25 07:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":193397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:26:37] local.INFO: GPS data processed {"connection_id":193397,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:26:37] local.INFO: Acknowledgment sent {"connection_id":193397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:27:03] local.INFO: TCP Data received {"connection_id":191857,"ip":"112.124.57.42","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-09-25 07:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191857,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-09-25 07:27:03] local.INFO: Processing buffer {"connection_id":191857,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-09-25 07:27:08] local.INFO: TCP Data received {"connection_id":193397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:08] local.INFO: Processing buffer {"connection_id":193397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:08] local.INFO: Packet analysis {"connection_id":193397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:27:08] local.INFO: Extracted packet for processing {"connection_id":193397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:27: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-25 07:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:27: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-25 07:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:27: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-25 07:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":193397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:27:08] local.INFO: GPS data processed {"connection_id":193397,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:27:08] local.INFO: Acknowledgment sent {"connection_id":193397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:27:09] local.INFO: TCP Data received {"connection_id":193398,"ip":"112.124.57.42","data_length":18,"data_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193398,"packet_length":18,"packet_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:09] local.INFO: Processing buffer {"connection_id":193398,"buffer_length":18,"buffer_hex":"474554202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193398,"buffer_length":18,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-09-25 07:27:14] local.INFO: TCP Data received {"connection_id":192044,"ip":"112.124.57.42","data_length":22,"data_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192044,"packet_length":22,"packet_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:14] local.INFO: Processing buffer {"connection_id":192044,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20485454502f312e300d0a0d0a..."} 
[2026-09-25 07:27:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192044,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20485454502f31"} 
[2026-09-25 07:27:19] local.INFO: TCP Data received {"connection_id":192045,"ip":"112.124.57.42","data_length":22,"data_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-25 07:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192045,"packet_length":22,"packet_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-25 07:27:19] local.INFO: Processing buffer {"connection_id":192045,"buffer_length":22,"buffer_hex":"4f5054494f4e53202f20525453502f312e300d0a0d0a..."} 
[2026-09-25 07:27:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192045,"buffer_length":22,"first_bytes_hex":"4f5054494f4e53202f20525453502f31"} 
[2026-09-25 07:27:24] local.INFO: TCP Data received {"connection_id":191858,"ip":"112.124.57.42","data_length":44,"data_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-25 07:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191858,"packet_length":44,"packet_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-25 07:27:24] local.INFO: Processing buffer {"connection_id":191858,"buffer_length":44,"buffer_hex":"8000002872fe1d130000000000000002000186a00001977c0000000000000000..."} 
[2026-09-25 07:27:24] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-09-25 07:27:24] local.INFO: Found valid Teltonika packet at position {"connection_id":191858,"packet_position":8,"bytes_removed":8} 
[2026-09-25 07:27:24] local.INFO: Packet analysis {"connection_id":191858,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a00001977c"} 
[2026-09-25 07:27:24] local.INFO: Extracted packet for processing {"connection_id":191858,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00001"} 
[2026-09-25 07:27:24] local.WARNING: Failed to parse Teltonika packet {"connection_id":191858,"packet_length":14} 
[2026-09-25 07:27:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":191858,"buffer_length":22,"first_bytes_hex":"977c0000000000000000000000000000"} 
[2026-09-25 07:27:26] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:26] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:26] local.INFO: IMEI packet received {"connection_id":193399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":193399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:27:29] local.INFO: TCP Data received {"connection_id":194706,"ip":"112.124.57.42","data_length":32,"data_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-25 07:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194706,"packet_length":32,"packet_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-25 07:27:29] local.INFO: Processing buffer {"connection_id":194706,"buffer_length":32,"buffer_hex":"001e0006010000010000000000000776657273696f6e0462696e640000100003..."} 
[2026-09-25 07:27:29] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194706,"buffer_length":32,"first_bytes_hex":"001e0006010000010000000000000776"} 
[2026-09-25 07:27:31] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:31] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:27:31] local.INFO: IMEI packet received {"connection_id":193399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":193399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:27:32] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:32] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:27:32] local.INFO: Packet analysis {"connection_id":193399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:27:32] local.INFO: Extracted packet for processing {"connection_id":193399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:27:32] 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-25 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:27: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-25 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":193399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:27:32] local.INFO: GPS data processed {"connection_id":193399,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:27:32] local.INFO: Acknowledgment sent {"connection_id":193399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:27:35] local.INFO: TCP Data received {"connection_id":192046,"ip":"112.124.57.42","data_length":14,"data_hex":"000c000010000000000000000000..."} 
[2026-09-25 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192046,"packet_length":14,"packet_hex":"000c000010000000000000000000..."} 
[2026-09-25 07:27:35] local.INFO: Processing buffer {"connection_id":192046,"buffer_length":14,"buffer_hex":"000c000010000000000000000000..."} 
[2026-09-25 07:27:40] local.INFO: TCP Data received {"connection_id":194707,"ip":"112.124.57.42","data_length":6,"data_hex":"48454c500d0a..."} 
[2026-09-25 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194707,"packet_length":6,"packet_hex":"48454c500d0a..."} 
[2026-09-25 07:27:40] local.INFO: Processing buffer {"connection_id":194707,"buffer_length":6,"buffer_hex":"48454c500d0a..."} 
[2026-09-25 07:27:48] local.INFO: TCP Data received {"connection_id":194708,"ip":"112.124.57.42","data_length":88,"data_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-25 07:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194708,"packet_length":88,"packet_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-25 07:27:48] local.INFO: Processing buffer {"connection_id":194708,"buffer_length":88,"buffer_hex":"16030000530100004f03003f47d7f7ba2ceeeab2607ef300fd827bb9d596c877..."} 
[2026-09-25 07:27:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194708,"buffer_length":88,"first_bytes_hex":"16030000530100004f03003f47d7f7ba"} 
[2026-09-25 07:27:53] local.INFO: TCP Data received {"connection_id":193400,"ip":"112.124.57.42","data_length":42,"data_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6b736574..."} 
[2026-09-25 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193400,"packet_length":42,"packet_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6b736574..."} 
[2026-09-25 07:27:53] local.INFO: Processing buffer {"connection_id":193400,"buffer_length":42,"buffer_hex":"0300002a25e00000000000436f6f6b69653a206d737473686173683d6b736574..."} 
[2026-09-25 07:27:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193400,"buffer_length":42,"first_bytes_hex":"0300002a25e00000000000436f6f6b69"} 
[2026-09-25 07:27:58] local.INFO: TCP Data received {"connection_id":194709,"ip":"112.124.57.42","data_length":110,"data_hex":"160300006901000065030367508320a5b14c9d6e7a8bc32d4e7f1a9cb56e3d8a..."} 
[2026-09-25 07:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194709,"packet_length":110,"packet_hex":"160300006901000065030367508320a5b14c9d6e7a8bc32d4e7f1a9cb56e3d8a..."} 
[2026-09-25 07:27:58] local.INFO: Processing buffer {"connection_id":194709,"buffer_length":110,"buffer_hex":"160300006901000065030367508320a5b14c9d6e7a8bc32d4e7f1a9cb56e3d8a..."} 
[2026-09-25 07:27:58] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194709,"buffer_length":110,"first_bytes_hex":"160300006901000065030367508320a5"} 
[2026-09-25 07:28:03] local.INFO: TCP Data received {"connection_id":193399,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:03] local.INFO: Processing buffer {"connection_id":193399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:03] local.INFO: Packet analysis {"connection_id":193399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:28:03] local.INFO: Extracted packet for processing {"connection_id":193399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:28: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28: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-25 07:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:28: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-25 07:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":193399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:28:03] local.INFO: GPS data processed {"connection_id":193399,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:28:03] local.INFO: Acknowledgment sent {"connection_id":193399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:28:03] local.INFO: TCP Data received {"connection_id":194710,"ip":"112.124.57.42","data_length":117,"data_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-25 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194710,"packet_length":117,"packet_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-25 07:28:03] local.INFO: Processing buffer {"connection_id":194710,"buffer_length":117,"buffer_hex":"000000716a816e30816ba103020105a20302010aa4815e305ca0070305005080..."} 
[2026-09-25 07:28:03] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194710,"buffer_length":117,"first_bytes_hex":"000000716a816e30816ba103020105a2"} 
[2026-09-25 07:28:09] local.INFO: TCP Data received {"connection_id":193401,"ip":"112.124.57.42","data_length":168,"data_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-25 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193401,"packet_length":168,"packet_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-25 07:28:09] local.INFO: Processing buffer {"connection_id":193401,"buffer_length":168,"buffer_hex":"000000a4ff534d42720000000008014000000000000000000000000000004006..."} 
[2026-09-25 07:28:09] local.INFO: Found valid packet candidate {"position":23,"data_field_length":64,"total_length":76,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-25 07:28:09] local.INFO: Found valid Teltonika packet at position {"connection_id":193401,"packet_position":23,"bytes_removed":23} 
[2026-09-25 07:28:09] local.INFO: Packet analysis {"connection_id":193401,"data_field_length":64,"total_packet_length":76,"buffer_length":145,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-25 07:28:09] local.INFO: Extracted packet for processing {"connection_id":193401,"packet_length":76,"remaining_buffer_length":69,"packet_hex_start":"00000000000000400600000100008100"} 
[2026-09-25 07:28:09] local.WARNING: Failed to parse Teltonika packet {"connection_id":193401,"packet_length":76} 
[2026-09-25 07:28:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193401,"buffer_length":69,"first_bytes_hex":"4e4554574f524b5320332e3000024c41"} 
[2026-09-25 07:28:14] local.INFO: TCP Data received {"connection_id":192047,"ip":"112.124.57.42","data_length":12,"data_hex":"6c000b000000000000000000..."} 
[2026-09-25 07:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192047,"packet_length":12,"packet_hex":"6c000b000000000000000000..."} 
[2026-09-25 07:28:14] local.INFO: Processing buffer {"connection_id":192047,"buffer_length":12,"buffer_hex":"6c000b000000000000000000..."} 
[2026-09-25 07:28:20] local.INFO: TCP Data received {"connection_id":194712,"ip":"112.124.57.42","data_length":53,"data_hex":"474554202f74656d7025323066696c65732532432f446566253631756c742e74..."} 
[2026-09-25 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194712,"packet_length":53,"packet_hex":"474554202f74656d7025323066696c65732532432f446566253631756c742e74..."} 
[2026-09-25 07:28:20] local.INFO: Processing buffer {"connection_id":194712,"buffer_length":53,"buffer_hex":"474554202f74656d7025323066696c65732532432f446566253631756c742e74..."} 
[2026-09-25 07:28:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194712,"buffer_length":53,"first_bytes_hex":"474554202f74656d7025323066696c65"} 
[2026-09-25 07:28:25] local.INFO: TCP Data received {"connection_id":191860,"ip":"112.124.57.42","data_length":9,"data_hex":"0164656661756c740a..."} 
[2026-09-25 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191860,"packet_length":9,"packet_hex":"0164656661756c740a..."} 
[2026-09-25 07:28:25] local.INFO: Processing buffer {"connection_id":191860,"buffer_length":9,"buffer_hex":"0164656661756c740a..."} 
[2026-09-25 07:28:26] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:26] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:26] local.INFO: IMEI packet received {"connection_id":191859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":191859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:28:31] local.INFO: TCP Data received {"connection_id":193402,"ip":"112.124.57.42","data_length":51,"data_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-25 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193402,"packet_length":51,"packet_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-25 07:28:31] local.INFO: Processing buffer {"connection_id":193402,"buffer_length":51,"buffer_hex":"30840000002d02010763840000002404000a01000a0100020100020164010100..."} 
[2026-09-25 07:28:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193402,"buffer_length":51,"first_bytes_hex":"30840000002d02010763840000002404"} 
[2026-09-25 07:28:31] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:31] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:28:31] local.INFO: IMEI packet received {"connection_id":191859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":191859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:28:32] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:32] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:28:32] local.INFO: Packet analysis {"connection_id":191859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:28:32] local.INFO: Extracted packet for processing {"connection_id":191859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:28:32] 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-25 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:28: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-25 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:28:32] 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-25 07:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":191859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:28:32] local.INFO: GPS data processed {"connection_id":191859,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:28:32] local.INFO: Acknowledgment sent {"connection_id":191859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:28:36] local.INFO: TCP Data received {"connection_id":193404,"ip":"112.124.57.42","data_length":14,"data_hex":"300c020101600702010204008000..."} 
[2026-09-25 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193404,"packet_length":14,"packet_hex":"300c020101600702010204008000..."} 
[2026-09-25 07:28:36] local.INFO: Processing buffer {"connection_id":193404,"buffer_length":14,"buffer_hex":"300c020101600702010204008000..."} 
[2026-09-25 07:28:41] local.INFO: TCP Data received {"connection_id":193405,"ip":"112.124.57.42","data_length":223,"data_hex":"4f5054494f4e53207369703a6b73205349502f322e300d0a5669613a20534950..."} 
[2026-09-25 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193405,"packet_length":223,"packet_hex":"4f5054494f4e53207369703a6b73205349502f322e300d0a5669613a20534950..."} 
[2026-09-25 07:28:41] local.INFO: Processing buffer {"connection_id":193405,"buffer_length":223,"buffer_hex":"4f5054494f4e53207369703a6b73205349502f322e300d0a5669613a20534950..."} 
[2026-09-25 07:28:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193405,"buffer_length":223,"first_bytes_hex":"4f5054494f4e53207369703a6b732053"} 
[2026-09-25 07:28:49] local.INFO: TCP Data received {"connection_id":194713,"ip":"112.124.57.42","data_length":16,"data_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-25 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194713,"packet_length":16,"packet_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-25 07:28:49] local.INFO: Processing buffer {"connection_id":194713,"buffer_length":16,"buffer_hex":"544e4d5004000000544e4d4500000400..."} 
[2026-09-25 07:28:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194713,"buffer_length":16,"first_bytes_hex":"544e4d5004000000544e4d4500000400"} 
[2026-09-25 07:28:54] local.INFO: TCP Data received {"connection_id":191861,"ip":"112.124.57.42","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-09-25 07:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191861,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-09-25 07:28:54] local.INFO: Processing buffer {"connection_id":191861,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-09-25 07:28:59] local.INFO: TCP Data received {"connection_id":194714,"ip":"112.124.57.42","data_length":23,"data_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-25 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194714,"packet_length":23,"packet_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-25 07:28:59] local.INFO: Processing buffer {"connection_id":194714,"buffer_length":23,"buffer_hex":"446d6454000000170000000100000000111100ff01ff13..."} 
[2026-09-25 07:28:59] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194714,"buffer_length":23,"first_bytes_hex":"446d6454000000170000000100000000"} 
[2026-09-25 07:29:04] local.INFO: TCP Data received {"connection_id":191859,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:04] local.INFO: Processing buffer {"connection_id":191859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:04] local.INFO: Packet analysis {"connection_id":191859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:29:04] local.INFO: Extracted packet for processing {"connection_id":191859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:29: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29: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-25 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:29: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-25 07:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:29: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-25 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":191859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:29:04] local.INFO: GPS data processed {"connection_id":191859,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:29:04] local.INFO: Acknowledgment sent {"connection_id":191859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:29:04] local.INFO: TCP Data received {"connection_id":191862,"ip":"112.124.57.42","data_length":60,"data_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-25 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191862,"packet_length":60,"packet_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-25 07:29:04] local.INFO: Processing buffer {"connection_id":191862,"buffer_length":60,"buffer_hex":"3a0000002f00000002000040020f0001003d050000000000000000000000002f..."} 
[2026-09-25 07:29:04] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":191862,"buffer_length":60,"first_bytes_hex":"3a0000002f00000002000040020f0001"} 
[2026-09-25 07:29:10] local.INFO: TCP Data received {"connection_id":193406,"ip":"112.124.57.42","data_length":7,"data_hex":"4a524d4900024b..."} 
[2026-09-25 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193406,"packet_length":7,"packet_hex":"4a524d4900024b..."} 
[2026-09-25 07:29:10] local.INFO: Processing buffer {"connection_id":193406,"buffer_length":7,"buffer_hex":"4a524d4900024b..."} 
[2026-09-25 07:29:15] local.INFO: TCP Data received {"connection_id":193407,"ip":"112.124.57.42","data_length":175,"data_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-25 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193407,"packet_length":175,"packet_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-25 07:29:15] local.INFO: Processing buffer {"connection_id":193407,"buffer_length":175,"buffer_hex":"010000fdcefa0bb0a00000004d4d531400000000000000000000000000000012..."} 
[2026-09-25 07:29:15] local.INFO: Found valid packet candidate {"position":24,"data_field_length":18,"total_length":30,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-25 07:29:15] local.INFO: Found valid Teltonika packet at position {"connection_id":193407,"packet_position":24,"bytes_removed":24} 
[2026-09-25 07:29:15] local.INFO: Packet analysis {"connection_id":193407,"data_field_length":18,"total_packet_length":30,"buffer_length":151,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-25 07:29:15] local.INFO: Extracted packet for processing {"connection_id":193407,"packet_length":30,"remaining_buffer_length":121,"packet_hex_start":"000000000000001200000001000300f0"} 
[2026-09-25 07:29:15] local.WARNING: Failed to parse Teltonika packet {"connection_id":193407,"packet_length":30} 
[2026-09-25 07:29:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193407,"buffer_length":121,"first_bytes_hex":"0050006c0061007900650072002f0039"} 
[2026-09-25 07:29:20] local.INFO: TCP Data received {"connection_id":192049,"ip":"112.124.57.42","data_length":90,"data_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-25 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":90,"packet_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-25 07:29:20] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":90,"buffer_hex":"005a0000010000000136012c000008007fff7f08000000010020003a00000000..."} 
[2026-09-25 07:29:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192049,"buffer_length":90,"first_bytes_hex":"005a0000010000000136012c00000800"} 
[2026-09-25 07:29:25] local.INFO: TCP Data received {"connection_id":192048,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:29:25] local.INFO: Processing buffer {"connection_id":192048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:29:25] local.INFO: IMEI packet received {"connection_id":192048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":192048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:29:25] local.INFO: TCP Data received {"connection_id":194715,"ip":"112.124.57.42","data_length":52,"data_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-25 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194715,"packet_length":52,"packet_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-25 07:29:25] local.INFO: Processing buffer {"connection_id":194715,"buffer_length":52,"buffer_hex":"1201003400000000000015000601001b000102001c000c0300280004ff080001..."} 
[2026-09-25 07:29:25] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":194715,"buffer_length":52,"first_bytes_hex":"1201003400000000000015000601001b"} 
[2026-09-25 07:29:26] local.INFO: TCP Data received {"connection_id":192050,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:26] local.INFO: Processing buffer {"connection_id":192050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:26] local.INFO: IMEI packet received {"connection_id":192050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":192050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:29:30] local.INFO: TCP Data received {"connection_id":191863,"ip":"112.124.57.42","data_length":18,"data_hex":"000300010000000000000002000000000f00..."} 
[2026-09-25 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191863,"packet_length":18,"packet_hex":"000300010000000000000002000000000f00..."} 
[2026-09-25 07:29:30] local.INFO: Processing buffer {"connection_id":191863,"buffer_length":18,"buffer_hex":"000300010000000000000002000000000f00..."} 
[2026-09-25 07:29:30] local.INFO: Found valid packet candidate {"position":4,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000000000f00"} 
[2026-09-25 07:29:30] local.INFO: Found valid Teltonika packet at position {"connection_id":191863,"packet_position":4,"bytes_removed":4} 
[2026-09-25 07:29:31] local.INFO: TCP Data received {"connection_id":192050,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:31] local.INFO: Processing buffer {"connection_id":192050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:29:31] local.INFO: IMEI packet received {"connection_id":192050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":192050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:29:32] local.INFO: TCP Data received {"connection_id":192050,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:32] local.INFO: Processing buffer {"connection_id":192050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6455498012d34c14006aa4940000900f528..."} 
[2026-09-25 07:29:32] local.INFO: Packet analysis {"connection_id":192050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:29:32] local.INFO: Extracted packet for processing {"connection_id":192050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d645"} 
[2026-09-25 07:29:32] 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-25 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317046272001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301263000,"timestamp_ms":1790301263000,"timestamp_seconds":1790301263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6455498"} 
[2026-09-25 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:29: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-25 07:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 07:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 07:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:29:32] 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-25 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317046272001,"66":25473,"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-25 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317046272001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317046272001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":192050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:29:32] local.INFO: GPS data processed {"connection_id":192050,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:29:32] local.INFO: Acknowledgment sent {"connection_id":192050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:29:36] local.INFO: TCP Data received {"connection_id":193408,"ip":"112.124.57.42","data_length":48,"data_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-25 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193408,"packet_length":48,"packet_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-25 07:29:36] local.INFO: Processing buffer {"connection_id":193408,"buffer_length":48,"buffer_hex":"47494f5001000100240000000000000001000000010000000600000061626364..."} 
[2026-09-25 07:29:36] local.INFO: Found valid packet candidate {"position":9,"data_field_length":1,"total_length":13,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-09-25 07:29:36] local.INFO: Found valid Teltonika packet at position {"connection_id":193408,"packet_position":9,"bytes_removed":9} 
[2026-09-25 07:29:36] local.INFO: Packet analysis {"connection_id":193408,"data_field_length":1,"total_packet_length":13,"buffer_length":39,"packet_hex_start":"00000000000000010000000100000006"} 
[2026-09-25 07:29:36] local.INFO: Extracted packet for processing {"connection_id":193408,"packet_length":13,"remaining_buffer_length":26,"packet_hex_start":"00000000000000010000000100"} 
[2026-09-25 07:29:36] local.WARNING: Failed to parse Teltonika packet {"connection_id":193408,"packet_length":13} 
[2026-09-25 07:29:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193408,"buffer_length":26,"first_bytes_hex":"00000600000061626364656600000400"} 
[2026-09-25 07:29:42] local.INFO: TCP Data received {"connection_id":194716,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:29:42] local.INFO: Processing buffer {"connection_id":194716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:29:42] local.INFO: IMEI packet received {"connection_id":194716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":194716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:29:43] local.INFO: TCP Data received {"connection_id":194716,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64963a8012d8279c005d5edf80001003120..."} 
[2026-09-25 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64963a8012d8279c005d5edf80001003120..."} 
[2026-09-25 07:29:43] local.INFO: Processing buffer {"connection_id":194716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64963a8012d8279c005d5edf80001003120..."} 
[2026-09-25 07:29:43] local.INFO: Packet analysis {"connection_id":194716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:29:43] local.INFO: Extracted packet for processing {"connection_id":194716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:29:43] local.INFO: GPS Element Parsed {"raw_longitude":763525568,"raw_latitude":97906168,"longitude_deg":76.3525568,"latitude_deg":9.7906168,"altitude":1,"angle":49,"satellites":32,"speed":19,"hex_longitude":"2d8279c0","hex_latitude":"05d5edf8","is_valid_coordinates":true} 
[2026-09-25 07:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317189376001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135637592648450048,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050827851067584512,"note":"Value kept but may cause issues"} 
[2026-09-25 07:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790301529000,"timestamp_ms":1790301529000,"timestamp_seconds":1790301529,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64963a8"} 
[2026-09-25 07:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:29: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-25 07:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 07:29:43] 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-25 07:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317189376001,"66":13830,"165":206,"85":15104,"24":19,"16":135637592648450048,"45":-9050827851067584512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-09-25 07:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317189376001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:29:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 07:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135637592648450048,"km_value":135637592648450.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050827851067584512,"description":"Unknown IO ID 45"} 
[2026-09-25 07:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317189376001,"power":13830,"unknown_165":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9050827851067584512}} 
[2026-09-25 07:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":194716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:29:43] local.INFO: GPS data processed {"connection_id":194716,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:29:43] local.INFO: Acknowledgment sent {"connection_id":194716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:29:44] local.INFO: TCP Data received {"connection_id":193409,"ip":"112.124.57.42","data_length":44,"data_hex":"8000002827f736250000000000000002000186a0000000020000000000000000..."} 
[2026-09-25 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193409,"packet_length":44,"packet_hex":"8000002827f736250000000000000002000186a0000000020000000000000000..."} 
[2026-09-25 07:29:44] local.INFO: Processing buffer {"connection_id":193409,"buffer_length":44,"buffer_hex":"8000002827f736250000000000000002000186a0000000020000000000000000..."} 
[2026-09-25 07:29:44] local.INFO: Found valid packet candidate {"position":8,"data_field_length":2,"total_length":14,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-09-25 07:29:44] local.INFO: Found valid Teltonika packet at position {"connection_id":193409,"packet_position":8,"bytes_removed":8} 
[2026-09-25 07:29:44] local.INFO: Packet analysis {"connection_id":193409,"data_field_length":2,"total_packet_length":14,"buffer_length":36,"packet_hex_start":"0000000000000002000186a000000002"} 
[2026-09-25 07:29:44] local.INFO: Extracted packet for processing {"connection_id":193409,"packet_length":14,"remaining_buffer_length":22,"packet_hex_start":"0000000000000002000186a00000"} 
[2026-09-25 07:29:44] local.WARNING: Failed to parse Teltonika packet {"connection_id":193409,"packet_length":14} 
[2026-09-25 07:29:44] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193409,"buffer_length":22,"first_bytes_hex":"00020000000000000000000000000000"} 
[2026-09-25 07:29:44] local.INFO: TCP Data received {"connection_id":193410,"ip":"112.124.57.42","data_length":110,"data_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-25 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193410,"packet_length":110,"packet_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-25 07:29:44] local.INFO: Processing buffer {"connection_id":193410,"buffer_length":110,"buffer_hex":"1603000069010000650303551ca7e472616e646f6d3172616e646f6d3272616e..."} 
[2026-09-25 07:29:44] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":193410,"buffer_length":110,"first_bytes_hex":"1603000069010000650303551ca7e472"} 
[2026-09-25 07:30:04] local.INFO: TCP Data received {"connection_id":192050,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:04] local.INFO: Processing buffer {"connection_id":192050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:04] local.INFO: Packet analysis {"connection_id":192050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:30:04] local.INFO: Extracted packet for processing {"connection_id":192050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07: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-25 07: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-25 07:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:30:04] 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-25 07:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":192050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:30:04] local.INFO: GPS data processed {"connection_id":192050,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:30:04] local.INFO: Acknowledgment sent {"connection_id":192050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:30:07] local.INFO: TCP Data received {"connection_id":191864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:30:07] local.INFO: Processing buffer {"connection_id":191864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:30:07] local.INFO: IMEI packet received {"connection_id":191864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":191864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:30:26] local.INFO: TCP Data received {"connection_id":194717,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:26] local.INFO: Processing buffer {"connection_id":194717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:26] local.INFO: IMEI packet received {"connection_id":194717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":194717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:30:28] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:30:28] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:30:28] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:30:29] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:30:29] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:30:29] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:30:31] local.INFO: TCP Data received {"connection_id":194717,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:31] local.INFO: Processing buffer {"connection_id":194717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:30:31] local.INFO: IMEI packet received {"connection_id":194717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":194717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:30:32] local.INFO: TCP Data received {"connection_id":194717,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:32] local.INFO: Processing buffer {"connection_id":194717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:30:32] local.INFO: Packet analysis {"connection_id":194717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:30:32] local.INFO: Extracted packet for processing {"connection_id":194717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:30:32] 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-25 07:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:30:32] 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-25 07:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:30:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:30:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":194717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:30:32] local.INFO: GPS data processed {"connection_id":194717,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:30:32] local.INFO: Acknowledgment sent {"connection_id":194717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:30:33] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:30:33] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:30:33] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:30:34] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64a7900012d82b54005d62e100005003621..."} 
[2026-09-25 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64a7900012d82b54005d62e100005003621..."} 
[2026-09-25 07:30:34] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0d6..."} 
[2026-09-25 07:30:34] local.INFO: IMEI packet received {"connection_id":193411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":193411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:30:35] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64a84b8012d82b88005d631a80004001d21..."} 
[2026-09-25 07:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64a84b8012d82b88005d631a80004001d21..."} 
[2026-09-25 07:30:35] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d64a7900012d82b54005d62e100005003621..."} 
[2026-09-25 07:30:35] local.INFO: Packet analysis {"connection_id":193411,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:30:35] local.INFO: Extracted packet for processing {"connection_id":193411,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763540800,"raw_latitude":97922576,"longitude_deg":76.35408,"latitude_deg":9.7922576,"altitude":5,"angle":54,"satellites":33,"speed":16,"hex_longitude":"2d82b540","hex_latitude":"05d62e10","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317208832001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135638919793344512,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029506121577412608,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790301600000,"timestamp_ms":1790301600000,"timestamp_seconds":1790301600,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64a7900"} 
[2026-09-25 07: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-25 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 07:30:35] 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-25 07: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-25 07: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-25 07:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317208832001,"66":13678,"157":206,"85":15104,"24":16,"16":135638919793344512,"45":-9029506121577412608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317208832001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135638919793344512,"km_value":135638919793344.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029506121577412608,"description":"Unknown IO ID 45"} 
[2026-09-25 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317208832001,"power":13678,"unknown_157":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9029506121577412608}} 
[2026-09-25 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":193411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:30:35] local.INFO: GPS data processed {"connection_id":193411,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:30:35] local.INFO: Acknowledgment sent {"connection_id":193411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:30:35] local.INFO: Packet analysis {"connection_id":193411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:30:35] local.INFO: Extracted packet for processing {"connection_id":193411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97923496,"longitude_deg":76.3541632,"latitude_deg":9.7923496,"altitude":4,"angle":29,"satellites":33,"speed":18,"hex_longitude":"2d82b880","hex_latitude":"05d631a8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317209600001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135638979922886656,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028239484181934080,"note":"Value kept but may cause issues"} 
[2026-09-25 07:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790301603000,"timestamp_ms":1790301603000,"timestamp_seconds":1790301603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64a84b8"} 
[2026-09-25 07: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-25 07:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 07:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317209600001,"66":13798,"157":206,"85":15104,"24":18,"16":135638979922886656,"45":-9028239484181934080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-25 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317209600001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135638979922886656,"km_value":135638979922886.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028239484181934080,"description":"Unknown IO ID 45"} 
[2026-09-25 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317209600001,"power":13798,"unknown_157":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9028239484181934080}} 
[2026-09-25 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":193411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:30:35] local.INFO: GPS data processed {"connection_id":193411,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:30:35] local.INFO: Acknowledgment sent {"connection_id":193411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:31:03] local.INFO: TCP Data received {"connection_id":194717,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:03] local.INFO: Processing buffer {"connection_id":194717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:03] local.INFO: Packet analysis {"connection_id":194717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31:03] local.INFO: Extracted packet for processing {"connection_id":194717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31: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-25 07:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:03] 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-25 07:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:31: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-25 07:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":194717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:31:03] local.INFO: GPS data processed {"connection_id":194717,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:31:03] local.INFO: Acknowledgment sent {"connection_id":194717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:31:06] local.INFO: TCP Data received {"connection_id":193411,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64a88a0012d82b94005d633a00004001121..."} 
[2026-09-25 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64a88a0012d82b94005d633a00004001121..."} 
[2026-09-25 07:31:06] local.INFO: Processing buffer {"connection_id":193411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64a88a0012d82b94005d633a00004001121..."} 
[2026-09-25 07:31:06] local.INFO: Packet analysis {"connection_id":193411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:31:06] local.INFO: Extracted packet for processing {"connection_id":193411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64a"} 
[2026-09-25 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763541824,"raw_latitude":97924000,"longitude_deg":76.3541824,"latitude_deg":9.7924,"altitude":4,"angle":17,"satellites":33,"speed":22,"hex_longitude":"2d82b940","hex_latitude":"05d633a0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317210368001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135639005692690432,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690507388928,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790301604000,"timestamp_ms":1790301604000,"timestamp_seconds":1790301604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64a88a0"} 
[2026-09-25 07: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-25 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:31:06] 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-25 07: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-25 07: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-25 07:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317210368001,"66":13798,"157":206,"85":15104,"24":22,"16":135639005692690432,"45":-9027324690507388928},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-25 07:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317210368001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:31:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-25 07:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135639005692690432,"km_value":135639005692690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690507388928,"description":"Unknown IO ID 45"} 
[2026-09-25 07:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317210368001,"power":13798,"unknown_157":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9027324690507388928}} 
[2026-09-25 07:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":193411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:31:06] local.INFO: GPS data processed {"connection_id":193411,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:31:06] local.INFO: Acknowledgment sent {"connection_id":193411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:31:27] local.INFO: TCP Data received {"connection_id":193412,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:27] local.INFO: Processing buffer {"connection_id":193412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:27] local.INFO: IMEI packet received {"connection_id":193412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":193412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:31:28] local.INFO: TCP Data received {"connection_id":193412,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:28] local.INFO: Processing buffer {"connection_id":193412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:28] local.INFO: IMEI packet received {"connection_id":193412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":193412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:31:31] local.INFO: TCP Data received {"connection_id":194718,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:31] local.INFO: Processing buffer {"connection_id":194718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:31] local.INFO: IMEI packet received {"connection_id":194718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":194718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:31:33] local.INFO: TCP Data received {"connection_id":193412,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:33] local.INFO: Processing buffer {"connection_id":193412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:31:33] local.INFO: IMEI packet received {"connection_id":193412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":193412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:31:34] local.INFO: TCP Data received {"connection_id":193412,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64b6b30012d82ba4005d697d00008014e21..."} 
[2026-09-25 07:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64b6b30012d82ba4005d697d00008014e21..."} 
[2026-09-25 07:31:34] local.INFO: Processing buffer {"connection_id":193412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64b6b30012d82ba4005d697d00008014e21..."} 
[2026-09-25 07:31:34] local.INFO: Packet analysis {"connection_id":193412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:31:34] local.INFO: Extracted packet for processing {"connection_id":193412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763542080,"raw_latitude":97949648,"longitude_deg":76.354208,"latitude_deg":9.7949648,"altitude":8,"angle":334,"satellites":33,"speed":21,"hex_longitude":"2d82ba40","hex_latitude":"05d697d0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317224448001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135640418736930816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025495103152568320,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790301662000,"timestamp_ms":1790301662000,"timestamp_seconds":1790301662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64b6b30"} 
[2026-09-25 07: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-25 07:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 07:31:34] 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-25 07: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-25 07: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-25 07:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317224448001,"66":13580,"156":206,"85":15104,"24":21,"16":135640418736930816,"45":-9025495103152568320},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317224448001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:31:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135640418736930816,"km_value":135640418736930.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025495103152568320,"description":"Unknown IO ID 45"} 
[2026-09-25 07:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317224448001,"power":13580,"unknown_156":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9025495103152568320}} 
[2026-09-25 07:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":193412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:31:34] local.INFO: GPS data processed {"connection_id":193412,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:31:34] local.INFO: Acknowledgment sent {"connection_id":193412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:31:36] local.INFO: TCP Data received {"connection_id":194718,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:36] local.INFO: Processing buffer {"connection_id":194718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:31:36] local.INFO: IMEI packet received {"connection_id":194718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":194718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:31:37] local.INFO: TCP Data received {"connection_id":194718,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:37] local.INFO: Processing buffer {"connection_id":194718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:37] local.INFO: Packet analysis {"connection_id":194718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31:37] local.INFO: Extracted packet for processing {"connection_id":194718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:31: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-25 07:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:31: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-25 07:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":194718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:31:37] local.INFO: GPS data processed {"connection_id":194718,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:31:37] local.INFO: Acknowledgment sent {"connection_id":194718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:31:42] local.INFO: TCP Data received {"connection_id":194718,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:42] local.INFO: Processing buffer {"connection_id":194718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:31:42] local.INFO: Packet analysis {"connection_id":194718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31:42] local.INFO: Extracted packet for processing {"connection_id":194718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:31: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:31: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-25 07:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":194718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:31:42] local.INFO: GPS data processed {"connection_id":194718,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:31:42] local.INFO: Acknowledgment sent {"connection_id":194718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:32:05] local.INFO: TCP Data received {"connection_id":193412,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64b76e8012d82b84005d69e700009015d21..."} 
[2026-09-25 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64b76e8012d82b84005d69e700009015d21..."} 
[2026-09-25 07:32:05] local.INFO: Processing buffer {"connection_id":193412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64b76e8012d82b84005d69e700009015d21..."} 
[2026-09-25 07:32:05] local.INFO: Packet analysis {"connection_id":193412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:32:05] local.INFO: Extracted packet for processing {"connection_id":193412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763541568,"raw_latitude":97951344,"longitude_deg":76.3541568,"latitude_deg":9.7951344,"altitude":9,"angle":349,"satellites":33,"speed":24,"hex_longitude":"2d82b840","hex_latitude":"05d69e70","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317225472001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135640504636276736,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026832109291450368,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790301665000,"timestamp_ms":1790301665000,"timestamp_seconds":1790301665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64b76e8"} 
[2026-09-25 07: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-25 07:32: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-25 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636963,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3595238864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2194505733,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6494753642686447626,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2264924166,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728281757,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147560834,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812326,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3824156672,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3599048704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-3494786891935383546,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747873134686635,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,85,24,241,157,16,228,160,91,45,144,7,34,10,66,79,64,139,6,60,1,240,230,227,214,4,113,205,11,52,206,112,33,239,53,2,225,5,130,51,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-09-25 07:32:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576828130922397696,"timestamp_seconds":576828130922397.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317225472001,"66":13613,"156":206,"85":15104,"24":24,"16":135640504636276736,"45":-9026832109291450368},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317225472001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:32:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135640504636276736,"km_value":135640504636276.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026832109291450368,"description":"Unknown IO ID 45"} 
[2026-09-25 07:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317225472001,"power":13613,"unknown_156":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9026832109291450368}} 
[2026-09-25 07:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":193412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:32:05] local.INFO: GPS data processed {"connection_id":193412,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:32:05] local.INFO: Acknowledgment sent {"connection_id":193412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:32:26] local.INFO: TCP Data received {"connection_id":194719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:26] local.INFO: Processing buffer {"connection_id":194719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:26] local.INFO: IMEI packet received {"connection_id":194719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":194719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:32:28] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:28] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:28] local.INFO: IMEI packet received {"connection_id":192052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":192052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:32:31] local.INFO: TCP Data received {"connection_id":194719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:31] local.INFO: Processing buffer {"connection_id":194719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:32:31] local.INFO: IMEI packet received {"connection_id":194719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":194719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:32:32] local.INFO: TCP Data received {"connection_id":194719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:32:32] local.INFO: Processing buffer {"connection_id":194719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:32:32] local.INFO: Packet analysis {"connection_id":194719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:32:32] local.INFO: Extracted packet for processing {"connection_id":194719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:32:32] 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-25 07:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:32: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-25 07:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:32:32] 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-25 07:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":194719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:32:32] local.INFO: GPS data processed {"connection_id":194719,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:32:32] local.INFO: Acknowledgment sent {"connection_id":194719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:32:33] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:33] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:32:33] local.INFO: IMEI packet received {"connection_id":192052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":192052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:32:34] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64b82a0012d82b80005d6a5a00009000321..."} 
[2026-09-25 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64b82a0012d82b80005d6a5a00009000321..."} 
[2026-09-25 07:32:34] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64b82a0012d82b80005d6a5a00009000321..."} 
[2026-09-25 07:32:34] local.INFO: Packet analysis {"connection_id":192052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:32:34] local.INFO: Extracted packet for processing {"connection_id":192052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97953184,"longitude_deg":76.3541504,"latitude_deg":9.7953184,"altitude":9,"angle":3,"satellites":33,"speed":24,"hex_longitude":"2d82b800","hex_latitude":"05d6a5a0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317226240001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135640594830589952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027395059244437504,"note":"Value kept but may cause issues"} 
[2026-09-25 07:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790301668000,"timestamp_ms":1790301668000,"timestamp_seconds":1790301668,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64b82a0"} 
[2026-09-25 07: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-25 07:32: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-25 07:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317226240001,"66":13787,"156":206,"85":15104,"24":24,"16":135640594830589952,"45":-9027395059244437504},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317226240001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135640594830589952,"km_value":135640594830589.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027395059244437504,"description":"Unknown IO ID 45"} 
[2026-09-25 07:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317226240001,"power":13787,"unknown_156":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9027395059244437504}} 
[2026-09-25 07:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":192052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:32:34] local.INFO: GPS data processed {"connection_id":192052,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:32:34] local.INFO: Acknowledgment sent {"connection_id":192052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:33:03] local.INFO: TCP Data received {"connection_id":194719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:03] local.INFO: Processing buffer {"connection_id":194719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:03] local.INFO: Packet analysis {"connection_id":194719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:33:03] local.INFO: Extracted packet for processing {"connection_id":194719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:33: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33: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-25 07:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:33: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-25 07:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":194719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:33:03] local.INFO: GPS data processed {"connection_id":194719,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:33:03] local.INFO: Acknowledgment sent {"connection_id":194719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:33:05] local.INFO: TCP Data received {"connection_id":192052,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64bc508012d82ba4005d6c9780005000221..."} 
[2026-09-25 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64bc508012d82ba4005d6c9780005000221..."} 
[2026-09-25 07:33:05] local.INFO: Processing buffer {"connection_id":192052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64bc508012d82ba4005d6c9780005000221..."} 
[2026-09-25 07:33:05] local.INFO: Packet analysis {"connection_id":192052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:33:05] local.INFO: Extracted packet for processing {"connection_id":192052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:33:05] local.INFO: GPS Element Parsed {"raw_longitude":763542080,"raw_latitude":97962360,"longitude_deg":76.354208,"latitude_deg":9.796236,"altitude":5,"angle":2,"satellites":33,"speed":22,"hex_longitude":"2d82ba40","hex_latitude":"05d6c978","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317227008001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135641041507188736,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427988144128,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790301685000,"timestamp_ms":1790301685000,"timestamp_seconds":1790301685,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64bc508"} 
[2026-09-25 07: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-25 07:33: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-25 07: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-25 07:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317227008001,"66":13646,"156":206,"85":15104,"24":22,"16":135641041507188736,"45":-9027465427988144128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317227008001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:33:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:33:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135641041507188736,"km_value":135641041507188.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427988144128,"description":"Unknown IO ID 45"} 
[2026-09-25 07:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317227008001,"power":13646,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9027465427988144128}} 
[2026-09-25 07:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":192052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:33:05] local.INFO: GPS data processed {"connection_id":192052,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:33:05] local.INFO: Acknowledgment sent {"connection_id":192052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:33:26] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:26] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:26] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:33:31] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:31] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:33:31] local.INFO: IMEI packet received {"connection_id":191866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":191866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:33:32] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:32] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:33:32] local.INFO: Packet analysis {"connection_id":191866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:33:32] local.INFO: Extracted packet for processing {"connection_id":191866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:33:32] 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-25 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:33: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-25 07:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":191866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:33:32] local.INFO: GPS data processed {"connection_id":191866,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:33:32] local.INFO: Acknowledgment sent {"connection_id":191866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:33:33] local.INFO: TCP Data received {"connection_id":194721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:33] local.INFO: Processing buffer {"connection_id":194721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:33] local.INFO: IMEI packet received {"connection_id":194721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:33:34] local.INFO: TCP Data received {"connection_id":194721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:34] local.INFO: Processing buffer {"connection_id":194721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:34] local.INFO: IMEI packet received {"connection_id":194721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":194721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:33:38] local.INFO: TCP Data received {"connection_id":194721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:38] local.INFO: Processing buffer {"connection_id":194721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:33:38] local.INFO: IMEI packet received {"connection_id":194721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":194721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:33:39] local.INFO: TCP Data received {"connection_id":194721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64bffa0012d82b84005d6ebe80002015f22..."} 
[2026-09-25 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64bffa0012d82b84005d6ebe80002015f22..."} 
[2026-09-25 07:33:39] local.INFO: Processing buffer {"connection_id":194721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64bffa0012d82b84005d6ebe80002015f22..."} 
[2026-09-25 07:33:39] local.INFO: Packet analysis {"connection_id":194721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:33:39] local.INFO: Extracted packet for processing {"connection_id":194721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64b"} 
[2026-09-25 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763541568,"raw_latitude":97971176,"longitude_deg":76.3541568,"latitude_deg":9.7971176,"altitude":2,"angle":351,"satellites":34,"speed":25,"hex_longitude":"2d82b840","hex_latitude":"05d6ebe8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317231360001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135641471003918336,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026832109288196096,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790301700000,"timestamp_ms":1790301700000,"timestamp_seconds":1790301700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64bffa0"} 
[2026-09-25 07: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-25 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 07:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317231360001,"66":13961,"156":206,"85":15104,"24":25,"16":135641471003918336,"45":-9026832109288196096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317231360001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:33:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135641471003918336,"km_value":135641471003918.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026832109288196096,"description":"Unknown IO ID 45"} 
[2026-09-25 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317231360001,"power":13961,"unknown_156":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9026832109288196096}} 
[2026-09-25 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":194721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:33:39] local.INFO: GPS data processed {"connection_id":194721,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:33:39] local.INFO: Acknowledgment sent {"connection_id":194721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:33:46] local.INFO: TCP Data received {"connection_id":194721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64c2e80012d82b2c005d710e00004015e22..."} 
[2026-09-25 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64c2e80012d82b2c005d710e00004015e22..."} 
[2026-09-25 07:33:46] local.INFO: Processing buffer {"connection_id":194721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64c2e80012d82b2c005d710e00004015e22..."} 
[2026-09-25 07:33:46] local.INFO: Packet analysis {"connection_id":194721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64c"} 
[2026-09-25 07:33:46] local.INFO: Extracted packet for processing {"connection_id":194721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64c"} 
[2026-09-25 07:33:46] local.INFO: GPS Element Parsed {"raw_longitude":763540160,"raw_latitude":97980640,"longitude_deg":76.354016,"latitude_deg":9.798064,"altitude":4,"angle":350,"satellites":34,"speed":35,"hex_longitude":"2d82b2c0","hex_latitude":"05d710e0","is_valid_coordinates":true} 
[2026-09-25 07:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317235200001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135641934860386304,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027395059239360512,"note":"Value kept but may cause issues"} 
[2026-09-25 07:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790301712000,"timestamp_ms":1790301712000,"timestamp_seconds":1790301712,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64c2e80"} 
[2026-09-25 07:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 07:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317235200001,"66":13820,"156":206,"85":15104,"24":35,"16":135641934860386304,"45":-9027395059239360512},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 07:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317235200001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:33:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 07:33:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135641934860386304,"km_value":135641934860386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027395059239360512,"description":"Unknown IO ID 45"} 
[2026-09-25 07:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317235200001,"power":13820,"unknown_156":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9027395059239360512}} 
[2026-09-25 07:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":194721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:33:46] local.INFO: GPS data processed {"connection_id":194721,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:33:46] local.INFO: Acknowledgment sent {"connection_id":194721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:34:04] local.INFO: TCP Data received {"connection_id":191866,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:04] local.INFO: Processing buffer {"connection_id":191866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:04] local.INFO: Packet analysis {"connection_id":191866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:34:04] local.INFO: Extracted packet for processing {"connection_id":191866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:34: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-25 07:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34: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-25 07:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:34: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-25 07:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:34: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-25 07:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":191866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:34:04] local.INFO: GPS data processed {"connection_id":191866,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:34:04] local.INFO: Acknowledgment sent {"connection_id":191866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:34:26] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:26] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:26] local.INFO: IMEI packet received {"connection_id":192054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":192054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:34:28] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:28] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:28] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:34:29] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:29] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:29] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:34:31] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:31] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:34:31] local.INFO: IMEI packet received {"connection_id":192054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":192054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:34:32] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:32] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:34:32] local.INFO: Packet analysis {"connection_id":192054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:34:32] local.INFO: Extracted packet for processing {"connection_id":192054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:34:32] 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-25 07:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:34: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-25 07:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:34:32] local.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-25 07:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":192054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:34:32] local.INFO: GPS data processed {"connection_id":192054,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:34:32] local.INFO: Acknowledgment sent {"connection_id":192054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:34:33] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:33] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:34:33] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:34:34] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e3608012d82888005d88a100003015222..."} 
[2026-09-25 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e3608012d82888005d88a100003015222..."} 
[2026-09-25 07:34:34] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e3608012d82888005d88a100003015222..."} 
[2026-09-25 07:34:34] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:34:34] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763529344,"raw_latitude":98077200,"longitude_deg":76.3529344,"latitude_deg":9.80772,"altitude":3,"angle":338,"satellites":34,"speed":39,"hex_longitude":"2d828880","hex_latitude":"05d88a10","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317269760001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135646676504281088,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824470934145024,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790301845000,"timestamp_ms":1790301845000,"timestamp_seconds":1790301845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e3608"} 
[2026-09-25 07: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-25 07:34:34] 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-25 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 07:34:34] 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-25 07: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-25 07: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-25 07:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317269760001,"66":13406,"47":206,"85":15104,"24":39,"16":135646676504281088,"45":-9036824470934145024},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 07:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317269760001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:34:34] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 07:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135646676504281088,"km_value":135646676504281.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824470934145024,"description":"Unknown IO ID 45"} 
[2026-09-25 07:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317269760001,"power":13406,"unknown_47":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9036824470934145024}} 
[2026-09-25 07:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:34:34] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:34:34] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:34:39] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e3dd8012d8286c005d891980003015f22..."} 
[2026-09-25 07:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e3dd8012d8286c005d891980003015f22..."} 
[2026-09-25 07:34:39] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e3dd8012d8286c005d891980003015f22..."} 
[2026-09-25 07:34:39] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:34:39] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98079128,"longitude_deg":76.3528896,"latitude_deg":9.8079128,"altitude":3,"angle":351,"satellites":34,"speed":40,"hex_longitude":"2d8286c0","hex_latitude":"05d89198","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317272320001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135646775288528896,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040835489350152192,"note":"Value kept but may cause issues"} 
[2026-09-25 07:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790301847000,"timestamp_ms":1790301847000,"timestamp_seconds":1790301847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e3dd8"} 
[2026-09-25 07: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-25 07:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 07:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317272320001,"66":13993,"47":206,"85":15104,"24":40,"16":135646775288528896,"45":-9040835489350152192},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 07:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317272320001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:34:39] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 07:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135646775288528896,"km_value":135646775288528.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040835489350152192,"description":"Unknown IO ID 45"} 
[2026-09-25 07:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317272320001,"power":13993,"unknown_47":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9040835489350152192}} 
[2026-09-25 07:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:34:39] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:34:39] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:35:03] local.INFO: TCP Data received {"connection_id":192054,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:35:03] local.INFO: Processing buffer {"connection_id":192054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d649ec60012d34c14006aa4940000900f529..."} 
[2026-09-25 07:35:03] local.INFO: Packet analysis {"connection_id":192054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:35:03] local.INFO: Extracted packet for processing {"connection_id":192054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d649"} 
[2026-09-25 07:35: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317123328001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35: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-25 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301564000,"timestamp_ms":1790301564000,"timestamp_seconds":1790301564,"priority":1,"record_length":96,"hex_timestamp":"000001a0d649ec60"} 
[2026-09-25 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317123328001,"66":25473,"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-25 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317123328001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:35: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-25 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317123328001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":192054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:35:03] local.INFO: GPS data processed {"connection_id":192054,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:35:03] local.INFO: Acknowledgment sent {"connection_id":192054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:35:10] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e4d78012d82864005d8a1f00004000221..."} 
[2026-09-25 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e4d78012d82864005d8a1f00004000221..."} 
[2026-09-25 07:35:10] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e4d78012d82864005d8a1f00004000221..."} 
[2026-09-25 07:35:10] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:10] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763528768,"raw_latitude":98083312,"longitude_deg":76.3528768,"latitude_deg":9.8083312,"altitude":4,"angle":2,"satellites":33,"speed":42,"hex_longitude":"2d828640","hex_latitude":"05d8a1f0","is_valid_coordinates":true} 
[2026-09-25 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317272832001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135646977151991808,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558902272,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790301851000,"timestamp_ms":1790301851000,"timestamp_seconds":1790301851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e4d78"} 
[2026-09-25 07:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:35:10] 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-25 07:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 07:35:10] 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-25 07:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317272832001,"66":13798,"47":206,"85":15104,"24":42,"16":135646977151991808,"45":-9041328070558902272},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 07:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317272832001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:35:10] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 07:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135646977151991808,"km_value":135646977151991.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558902272,"description":"Unknown IO ID 45"} 
[2026-09-25 07:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317272832001,"power":13798,"unknown_47":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9041328070558902272}} 
[2026-09-25 07:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:35:10] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:35:10] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:35:20] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:35:20] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:35:20] local.INFO: IMEI packet received {"connection_id":192056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":192056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:35:26] local.INFO: TCP Data received {"connection_id":194723,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:26] local.INFO: Processing buffer {"connection_id":194723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:26] local.INFO: IMEI packet received {"connection_id":194723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":194723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:35:28] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:28] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:28] local.INFO: IMEI packet received {"connection_id":194722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":194722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:35:30] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:30] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:30] local.INFO: IMEI packet received {"connection_id":194722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":194722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:35:31] local.INFO: TCP Data received {"connection_id":194723,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:31] local.INFO: Processing buffer {"connection_id":194723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:35:31] local.INFO: IMEI packet received {"connection_id":194723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":194723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:35:33] local.INFO: TCP Data received {"connection_id":194723,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:35:33] local.INFO: Processing buffer {"connection_id":194723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:35:33] local.INFO: Packet analysis {"connection_id":194723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:33] local.INFO: Extracted packet for processing {"connection_id":194723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:35:33] 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-25 07:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:35:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:35:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":194723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:35:33] local.INFO: GPS data processed {"connection_id":194723,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:35:33] local.INFO: Acknowledgment sent {"connection_id":194723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:35:33] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:33] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:35:33] local.INFO: IMEI packet received {"connection_id":194722,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":194722,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:35:34] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e6cb8012d82854005d8c5200005016422..."} 
[2026-09-25 07:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e6cb8012d82854005d8c5200005016422..."} 
[2026-09-25 07:35:34] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e6cb8012d82854005d8c5200005016422..."} 
[2026-09-25 07:35:34] local.INFO: Packet analysis {"connection_id":194722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:34] local.INFO: Extracted packet for processing {"connection_id":194722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":98092320,"longitude_deg":76.3528512,"latitude_deg":9.809232,"altitude":5,"angle":356,"satellites":34,"speed":45,"hex_longitude":"2d828540","hex_latitude":"05d8c520","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317273856001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135647415238656000,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041468808046186496,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790301859000,"timestamp_ms":1790301859000,"timestamp_seconds":1790301859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e6cb8"} 
[2026-09-25 07: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-25 07:35:34] 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-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 07:35:34] 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-25 07: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-25 07: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-25 07:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317273856001,"66":13678,"47":206,"85":15104,"24":45,"16":135647415238656000,"45":-9041468808046186496},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 07:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317273856001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:35:34] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 07:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135647415238656000,"km_value":135647415238656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041468808046186496,"description":"Unknown IO ID 45"} 
[2026-09-25 07:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317273856001,"power":13678,"unknown_47":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9041468808046186496}} 
[2026-09-25 07:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":194722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:35:34] local.INFO: GPS data processed {"connection_id":194722,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:35:34] local.INFO: Acknowledgment sent {"connection_id":194722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:35:38] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8bf8012d82834005d8ea700005016522..."} 
[2026-09-25 07:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8bf8012d82834005d8ea700005016522..."} 
[2026-09-25 07:35:38] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8bf8012d82834005d8ea700005016522..."} 
[2026-09-25 07:35:38] local.INFO: Packet analysis {"connection_id":194722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:38] local.INFO: Extracted packet for processing {"connection_id":194722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":763528000,"raw_latitude":98101872,"longitude_deg":76.3528,"latitude_deg":9.8101872,"altitude":5,"angle":357,"satellites":34,"speed":44,"hex_longitude":"2d828340","hex_latitude":"05d8ea70","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317275904001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135647879095123968,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750283020591104,"note":"Value kept but may cause issues"} 
[2026-09-25 07:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790301867000,"timestamp_ms":1790301867000,"timestamp_seconds":1790301867,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8bf8"} 
[2026-09-25 07: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-25 07:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 07:35:38] 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-25 07: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-25 07: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-25 07:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317275904001,"66":13580,"47":206,"85":15104,"24":44,"16":135647879095123968,"45":-9041750283020591104},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 07:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317275904001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:35:38] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 07:35:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135647879095123968,"km_value":135647879095123.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750283020591104,"description":"Unknown IO ID 45"} 
[2026-09-25 07:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317275904001,"power":13580,"unknown_47":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9041750283020591104}} 
[2026-09-25 07:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":194722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:35:39] local.INFO: GPS data processed {"connection_id":194722,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:35:39] local.INFO: Acknowledgment sent {"connection_id":194722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:36:04] local.INFO: TCP Data received {"connection_id":194723,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:04] local.INFO: Processing buffer {"connection_id":194723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:04] local.INFO: Packet analysis {"connection_id":194723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:04] local.INFO: Extracted packet for processing {"connection_id":194723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36: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-25 07:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36: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-25 07:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:36: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-25 07:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:36: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-25 07:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:36: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-25 07:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":194723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:36:04] local.INFO: GPS data processed {"connection_id":194723,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:36:04] local.INFO: Acknowledgment sent {"connection_id":194723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:36:05] local.INFO: TCP Data received {"connection_id":194724,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:36:05] local.INFO: Processing buffer {"connection_id":194724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:36:05] local.INFO: IMEI packet received {"connection_id":194724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":194724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:36:09] local.INFO: TCP Data received {"connection_id":194722,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64eda18012d8280c005d902980003015c22..."} 
[2026-09-25 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64eda18012d8280c005d902980003015c22..."} 
[2026-09-25 07:36:09] local.INFO: Processing buffer {"connection_id":194722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64eda18012d8280c005d902980003015c22..."} 
[2026-09-25 07:36:09] local.INFO: Packet analysis {"connection_id":194722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:09] local.INFO: Extracted packet for processing {"connection_id":194722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":98108056,"longitude_deg":76.352736,"latitude_deg":9.8108056,"altitude":3,"angle":348,"satellites":34,"speed":12,"hex_longitude":"2d8280c0","hex_latitude":"05d90298","is_valid_coordinates":true} 
[2026-09-25 07:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277952001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135648179742834688,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042313232971567104,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790301887000,"timestamp_ms":1790301887000,"timestamp_seconds":1790301887,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64eda18"} 
[2026-09-25 07:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:36: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-25 07:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751636969,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3595436864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189983749,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3630381056,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131037,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6855041737430138890,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2316304387,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":14,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221608553,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917243903921749,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3918069760,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-7295824969686581242,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:09] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,47,85,24,241,157,16,235,160,108,45,64,197,5,34,10,66,234,77,161,4,33,61,192,1,240,169,227,214,216,113,205,39,14,150,184,239,53,2,225,15,130,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0}]} 
[2026-09-25 07:36:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360680641872527360,"timestamp_seconds":360680641872527.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194722,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277952001,"66":13374,"49":206,"85":15104,"24":12,"16":135648179742834688,"45":-9042313232971567104},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-25 07:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277952001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:36:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-25 07:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135648179742834688,"km_value":135648179742834.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042313232971567104,"description":"Unknown IO ID 45"} 
[2026-09-25 07:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277952001,"power":13374,"unknown_49":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9042313232971567104}} 
[2026-09-25 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":194722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:36:10] local.INFO: GPS data processed {"connection_id":194722,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:36:10] local.INFO: Acknowledgment sent {"connection_id":194722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:36:28] local.INFO: TCP Data received {"connection_id":194725,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:28] local.INFO: Processing buffer {"connection_id":194725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:28] local.INFO: IMEI packet received {"connection_id":194725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":194725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:36:32] local.INFO: TCP Data received {"connection_id":191867,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:32] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:32] local.INFO: IMEI packet received {"connection_id":191867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":191867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:36:33] local.INFO: TCP Data received {"connection_id":194725,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:33] local.INFO: Processing buffer {"connection_id":194725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:36:33] local.INFO: IMEI packet received {"connection_id":194725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":194725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:36:35] local.INFO: TCP Data received {"connection_id":194725,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64efd40012d8280c005d905800003000421..."} 
[2026-09-25 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64efd40012d8280c005d905800003000421..."} 
[2026-09-25 07:36:35] local.INFO: Processing buffer {"connection_id":194725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64efd40012d8280c005d905800003000421..."} 
[2026-09-25 07:36:35] local.INFO: Packet analysis {"connection_id":194725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:35] local.INFO: Extracted packet for processing {"connection_id":194725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":98108800,"longitude_deg":76.352736,"latitude_deg":9.81088,"altitude":3,"angle":4,"satellites":33,"speed":5,"hex_longitude":"2d8280c0","hex_latitude":"05d90580","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317283072001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135648218397540352,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920411760640,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790301896000,"timestamp_ms":1790301896000,"timestamp_seconds":1790301896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64efd40"} 
[2026-09-25 07: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-25 07:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 07:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317283072001,"66":13406,"49":206,"85":15104,"24":5,"16":135648218397540352,"45":-9043016920411760640},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-25 07:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317283072001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:36:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-25 07:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135648218397540352,"km_value":135648218397540.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920411760640,"description":"Unknown IO ID 45"} 
[2026-09-25 07:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317283072001,"power":13406,"unknown_49":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9043016920411760640}} 
[2026-09-25 07:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":194725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:36:35] local.INFO: GPS data processed {"connection_id":194725,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:36:35] local.INFO: Acknowledgment sent {"connection_id":194725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:36:36] local.INFO: TCP Data received {"connection_id":191867,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:36] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:36:36] local.INFO: IMEI packet received {"connection_id":191867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":191867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:36:37] local.INFO: TCP Data received {"connection_id":191867,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:37] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:37] local.INFO: Packet analysis {"connection_id":191867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:37] local.INFO: Extracted packet for processing {"connection_id":191867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:36: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-25 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":191867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:36:37] local.INFO: GPS data processed {"connection_id":191867,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:36:37] local.INFO: Acknowledgment sent {"connection_id":191867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:36:42] local.INFO: TCP Data received {"connection_id":191867,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:42] local.INFO: Processing buffer {"connection_id":191867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:36:42] local.INFO: Packet analysis {"connection_id":191867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36:42] local.INFO: Extracted packet for processing {"connection_id":191867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:36: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:36: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-25 07:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":191867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:36:42] local.INFO: GPS data processed {"connection_id":191867,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:36:42] local.INFO: Acknowledgment sent {"connection_id":191867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:37:06] local.INFO: TCP Data received {"connection_id":194725,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6507440012d823dc005da17580002015e22..."} 
[2026-09-25 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6507440012d823dc005da17580002015e22..."} 
[2026-09-25 07:37:06] local.INFO: Processing buffer {"connection_id":194725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6507440012d823dc005da17580002015e22..."} 
[2026-09-25 07:37:06] local.INFO: Packet analysis {"connection_id":194725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d650"} 
[2026-09-25 07:37:06] local.INFO: Extracted packet for processing {"connection_id":194725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d650"} 
[2026-09-25 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763510208,"raw_latitude":98178904,"longitude_deg":76.3510208,"latitude_deg":9.8178904,"altitude":2,"angle":350,"satellites":34,"speed":39,"hex_longitude":"2d823dc0","hex_latitude":"05da1758","is_valid_coordinates":true} 
[2026-09-25 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317307136001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135651727385821184,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060186893975310336,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790301992000,"timestamp_ms":1790301992000,"timestamp_seconds":1790301992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6507440"} 
[2026-09-25 07:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:37: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-25 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 07:37:06] 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-25 07:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317307136001,"66":13602,"71":206,"85":15104,"24":39,"16":135651727385821184,"45":-9060186893975310336},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317307136001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:37:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135651727385821184,"km_value":135651727385821.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060186893975310336,"description":"Unknown IO ID 45"} 
[2026-09-25 07:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317307136001,"power":13602,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9060186893975310336}} 
[2026-09-25 07:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":194725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:37:06] local.INFO: GPS data processed {"connection_id":194725,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:37:06] local.INFO: Acknowledgment sent {"connection_id":194725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:37:26] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:26] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:26] local.INFO: IMEI packet received {"connection_id":193413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":193413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:37:28] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:28] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:28] local.INFO: IMEI packet received {"connection_id":193414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":193414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:37:31] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:31] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:31] local.INFO: IMEI packet received {"connection_id":193414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":193414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:37:31] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:31] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:37:31] local.INFO: IMEI packet received {"connection_id":193413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":193413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:37:32] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:37:32] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:37:32] local.INFO: Packet analysis {"connection_id":193413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:37:32] local.INFO: Extracted packet for processing {"connection_id":193413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:37:32] 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-25 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:37:32] 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-25 07:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":193413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:37:32] local.INFO: GPS data processed {"connection_id":193413,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:37:32] local.INFO: Acknowledgment sent {"connection_id":193413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:37:33] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:33] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:37:33] local.INFO: IMEI packet received {"connection_id":193414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":193414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:37:33] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6509f38012d82378005da3c300002015e22..."} 
[2026-09-25 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6509f38012d82378005da3c300002015e22..."} 
[2026-09-25 07:37:33] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6509f38012d82378005da3c300002015e22..."} 
[2026-09-25 07:37:33] local.INFO: Packet analysis {"connection_id":193414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d650"} 
[2026-09-25 07:37:33] local.INFO: Extracted packet for processing {"connection_id":193414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d650"} 
[2026-09-25 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763508608,"raw_latitude":98188336,"longitude_deg":76.3508608,"latitude_deg":9.8188336,"altitude":2,"angle":350,"satellites":34,"speed":35,"hex_longitude":"2d823780","hex_latitude":"05da3c30","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317309952001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135652191242289152,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061875743833237504,"note":"Value kept but may cause issues"} 
[2026-09-25 07:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790302003000,"timestamp_ms":1790302003000,"timestamp_seconds":1790302003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6509f38"} 
[2026-09-25 07: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-25 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 07:37:33] 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-25 07: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-25 07: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-25 07:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317309952001,"66":13396,"71":206,"85":15104,"24":35,"16":135652191242289152,"45":-9061875743833237504},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317309952001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:37:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135652191242289152,"km_value":135652191242289.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061875743833237504,"description":"Unknown IO ID 45"} 
[2026-09-25 07:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317309952001,"power":13396,"unknown_71":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9061875743833237504}} 
[2026-09-25 07:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":193414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:37:33] local.INFO: GPS data processed {"connection_id":193414,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:37:33] local.INFO: Acknowledgment sent {"connection_id":193414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:38:03] local.INFO: TCP Data received {"connection_id":193413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:03] local.INFO: Processing buffer {"connection_id":193413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:03] local.INFO: Packet analysis {"connection_id":193413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:38:03] local.INFO: Extracted packet for processing {"connection_id":193413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:38: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38: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-25 07:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:38:03] 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-25 07:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:38: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-25 07:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":193413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:38:03] local.INFO: GPS data processed {"connection_id":193413,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:38:03] local.INFO: Acknowledgment sent {"connection_id":193413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:38:04] local.INFO: TCP Data received {"connection_id":193414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6519938012d81b20005da74880000012221..."} 
[2026-09-25 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6519938012d81b20005da74880000012221..."} 
[2026-09-25 07:38:04] local.INFO: Processing buffer {"connection_id":193414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6519938012d81b20005da74880000012221..."} 
[2026-09-25 07:38:04] local.INFO: Packet analysis {"connection_id":193414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d651"} 
[2026-09-25 07:38:04] local.INFO: Extracted packet for processing {"connection_id":193414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d651"} 
[2026-09-25 07:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763474432,"raw_latitude":98202760,"longitude_deg":76.3474432,"latitude_deg":9.820276,"altitude":0,"angle":290,"satellites":33,"speed":32,"hex_longitude":"2d81b200","hex_latitude":"05da7488","is_valid_coordinates":true} 
[2026-09-25 07:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317328640001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135654626488745984,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099452653218131968,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302067000,"timestamp_ms":1790302067000,"timestamp_seconds":1790302067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6519938"} 
[2026-09-25 07:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:38:04] 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-25 07:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 07:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317328640001,"66":13787,"71":206,"85":15104,"24":32,"16":135654626488745984,"45":-9099452653218131968},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317328640001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:38:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135654626488745984,"km_value":135654626488745.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099452653218131968,"description":"Unknown IO ID 45"} 
[2026-09-25 07:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317328640001,"power":13787,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9099452653218131968}} 
[2026-09-25 07:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":193414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:38:04] local.INFO: GPS data processed {"connection_id":193414,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:38:04] local.INFO: Acknowledgment sent {"connection_id":193414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:38:26] local.INFO: TCP Data received {"connection_id":192057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:26] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:26] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:38:28] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:28] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:28] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:38:31] local.INFO: TCP Data received {"connection_id":192057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:31] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:38:31] local.INFO: IMEI packet received {"connection_id":192057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":192057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:38:32] local.INFO: TCP Data received {"connection_id":192057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:32] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:38:32] local.INFO: Packet analysis {"connection_id":192057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:38:32] local.INFO: Extracted packet for processing {"connection_id":192057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:38:32] 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-25 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:38: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-25 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:38:32] 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-25 07:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":192057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:38:32] local.INFO: GPS data processed {"connection_id":192057,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:38:32] local.INFO: Acknowledgment sent {"connection_id":192057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:38:33] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:33] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:38:33] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:38:33] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d651c430012d81904005da81880000011c21..."} 
[2026-09-25 07:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d651c430012d81904005da81880000011c21..."} 
[2026-09-25 07:38:33] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d651c430012d81904005da81880000011c21..."} 
[2026-09-25 07:38:33] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d651"} 
[2026-09-25 07:38:33] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d651"} 
[2026-09-25 07:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763465792,"raw_latitude":98206088,"longitude_deg":76.3465792,"latitude_deg":9.8206088,"altitude":0,"angle":284,"satellites":33,"speed":35,"hex_longitude":"2d819040","hex_latitude":"05da8188","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317329152001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135655068870377472,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101211871822444544,"note":"Value kept but may cause issues"} 
[2026-09-25 07:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790302078000,"timestamp_ms":1790302078000,"timestamp_seconds":1790302078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d651c430"} 
[2026-09-25 07: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-25 07:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-25 07:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317329152001,"66":13972,"71":206,"85":15104,"24":35,"16":135655068870377472,"45":-9101211871822444544},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317329152001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:38:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135655068870377472,"km_value":135655068870377.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101211871822444544,"description":"Unknown IO ID 45"} 
[2026-09-25 07:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317329152001,"power":13972,"unknown_71":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9101211871822444544}} 
[2026-09-25 07:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:38:34] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:38:34] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:39:04] local.INFO: TCP Data received {"connection_id":192057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:04] local.INFO: Processing buffer {"connection_id":192057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:04] local.INFO: Packet analysis {"connection_id":192057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:39:04] local.INFO: Extracted packet for processing {"connection_id":192057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:39: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-25 07:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39: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-25 07:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:39: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-25 07:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:39: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-25 07:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":192057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:39:04] local.INFO: GPS data processed {"connection_id":192057,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:39:04] local.INFO: Acknowledgment sent {"connection_id":192057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:39:05] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6528398012d81398005dafed00001014822..."} 
[2026-09-25 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6528398012d81398005dafed00001014822..."} 
[2026-09-25 07:39:05] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6528398012d81398005dafed00001014822..."} 
[2026-09-25 07:39:05] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:05] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763443584,"raw_latitude":98238160,"longitude_deg":76.3443584,"latitude_deg":9.823816,"altitude":1,"angle":328,"satellites":34,"speed":32,"hex_longitude":"2d813980","hex_latitude":"05dafed0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317343488001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135657207764090880,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9132666700461318144,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302127000,"timestamp_ms":1790302127000,"timestamp_seconds":1790302127,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6528398"} 
[2026-09-25 07: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-25 07:39:05] 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-25 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 07:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317343488001,"66":13722,"71":206,"85":15104,"24":32,"16":135657207764090880,"45":-9132666700461318144},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317343488001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:39:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135657207764090880,"km_value":135657207764090.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9132666700461318144,"description":"Unknown IO ID 45"} 
[2026-09-25 07:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317343488001,"power":13722,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9132666700461318144}} 
[2026-09-25 07:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:39:05] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:39:05] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:39:26] local.INFO: TCP Data received {"connection_id":193415,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:26] local.INFO: Processing buffer {"connection_id":193415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:26] local.INFO: IMEI packet received {"connection_id":193415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":193415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:39:31] local.INFO: TCP Data received {"connection_id":193415,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:31] local.INFO: Processing buffer {"connection_id":193415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:39:31] local.INFO: IMEI packet received {"connection_id":193415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":193415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:39:32] local.INFO: TCP Data received {"connection_id":193415,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:32] local.INFO: Processing buffer {"connection_id":193415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:39:32] local.INFO: Packet analysis {"connection_id":193415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:39:32] local.INFO: Extracted packet for processing {"connection_id":193415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:39:32] 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-25 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:39: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-25 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:39:32] 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-25 07:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":193415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:39:32] local.INFO: GPS data processed {"connection_id":193415,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:39:32] local.INFO: Acknowledgment sent {"connection_id":193415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:39:33] local.INFO: TCP Data received {"connection_id":193416,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:33] local.INFO: Processing buffer {"connection_id":193416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:33] local.INFO: IMEI packet received {"connection_id":193416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":193416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:39:34] local.INFO: TCP Data received {"connection_id":193416,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:34] local.INFO: Processing buffer {"connection_id":193416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:39:34] local.INFO: IMEI packet received {"connection_id":193416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":193416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:39:38] local.INFO: TCP Data received {"connection_id":193416,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6528b68012d81368005db05600001015522..."} 
[2026-09-25 07:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6528b68012d81368005db05600001015522..."} 
[2026-09-25 07:39:38] local.INFO: Processing buffer {"connection_id":193416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6528b68012d81368005db05600001015522..."} 
[2026-09-25 07:39:38] local.INFO: Packet analysis {"connection_id":193416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:38] local.INFO: Extracted packet for processing {"connection_id":193416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763442816,"raw_latitude":98239840,"longitude_deg":76.3442816,"latitude_deg":9.823984,"altitude":1,"angle":341,"satellites":34,"speed":39,"hex_longitude":"2d813680","hex_latitude":"05db0560","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317344512001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135657297958404096,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135129606507016192,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790302129000,"timestamp_ms":1790302129000,"timestamp_seconds":1790302129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6528b68"} 
[2026-09-25 07: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-25 07:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 07:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317344512001,"66":13624,"71":206,"85":15104,"24":39,"16":135657297958404096,"45":-9135129606507016192},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 07:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317344512001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:39:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 07:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135657297958404096,"km_value":135657297958404.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135129606507016192,"description":"Unknown IO ID 45"} 
[2026-09-25 07:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317344512001,"power":13624,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9135129606507016192}} 
[2026-09-25 07:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":193416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:39:38] local.INFO: GPS data processed {"connection_id":193416,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:39:38] local.INFO: Acknowledgment sent {"connection_id":193416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:39:40] local.INFO: TCP Data received {"connection_id":193416,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d652a2d8012d812e4005db1c980001014a21..."} 
[2026-09-25 07:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d652a2d8012d812e4005db1c980001014a21..."} 
[2026-09-25 07:39:40] local.INFO: Processing buffer {"connection_id":193416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d652a2d8012d812e4005db1c980001014a21..."} 
[2026-09-25 07:39:40] local.INFO: Packet analysis {"connection_id":193416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:40] local.INFO: Extracted packet for processing {"connection_id":193416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763440704,"raw_latitude":98245784,"longitude_deg":76.3440704,"latitude_deg":9.8245784,"altitude":1,"angle":330,"satellites":33,"speed":41,"hex_longitude":"2d812e40","hex_latitude":"05db1c98","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317345024001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135657607196049408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9135974031436718080,"note":"Value kept but may cause issues"} 
[2026-09-25 07:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790302135000,"timestamp_ms":1790302135000,"timestamp_seconds":1790302135,"priority":1,"record_length":96,"hex_timestamp":"000001a0d652a2d8"} 
[2026-09-25 07: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-25 07:39: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-25 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 07:39:40] 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-25 07: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-25 07: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-25 07:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317345024001,"66":13472,"153":206,"85":15104,"24":41,"16":135657607196049408,"45":-9135974031436718080},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-25 07:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317345024001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:39:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 07:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135657607196049408,"km_value":135657607196049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9135974031436718080,"description":"Unknown IO ID 45"} 
[2026-09-25 07:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317345024001,"power":13472,"unknown_153":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9135974031436718080}} 
[2026-09-25 07:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":193416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:39:40] local.INFO: GPS data processed {"connection_id":193416,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:39:40] local.INFO: Acknowledgment sent {"connection_id":193416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:40:04] local.INFO: TCP Data received {"connection_id":193415,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:40:04] local.INFO: Processing buffer {"connection_id":193415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d64e8428012d34c14006aa4940000900f52a..."} 
[2026-09-25 07:40:04] local.INFO: Packet analysis {"connection_id":193415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:40:04] local.INFO: Extracted packet for processing {"connection_id":193415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d64e"} 
[2026-09-25 07:40: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-25 07:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317200384001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790301865000,"timestamp_ms":1790301865000,"timestamp_seconds":1790301865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d64e8428"} 
[2026-09-25 07:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:40: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-25 07:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:40: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-25 07:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317200384001,"66":25430,"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-25 07:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317200384001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:40: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-25 07:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317200384001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":193415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:40:04] local.INFO: GPS data processed {"connection_id":193415,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:40:04] local.INFO: Acknowledgment sent {"connection_id":193415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:40:11] local.INFO: TCP Data received {"connection_id":193416,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d652c218012d811b0005db39b80003014922..."} 
[2026-09-25 07:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d652c218012d811b0005db39b80003014922..."} 
[2026-09-25 07:40:11] local.INFO: Processing buffer {"connection_id":193416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d652c218012d811b0005db39b80003014922..."} 
[2026-09-25 07:40:11] local.INFO: Packet analysis {"connection_id":193416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:40:11] local.INFO: Extracted packet for processing {"connection_id":193416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763435776,"raw_latitude":98253240,"longitude_deg":76.3435776,"latitude_deg":9.825324,"altitude":3,"angle":329,"satellites":34,"speed":47,"hex_longitude":"2d811b00","hex_latitude":"05db39b8","is_valid_coordinates":true} 
[2026-09-25 07:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317346560001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135658036692779008,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138296199993059328,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790302143000,"timestamp_ms":1790302143000,"timestamp_seconds":1790302143,"priority":1,"record_length":96,"hex_timestamp":"000001a0d652c218"} 
[2026-09-25 07:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:40:11] 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-25 07:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 07:40:11] 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-25 07:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317346560001,"66":13450,"153":206,"85":15104,"24":47,"16":135658036692779008,"45":-9138296199993059328},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-25 07:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317346560001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:40:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 07:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135658036692779008,"km_value":135658036692779.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138296199993059328,"description":"Unknown IO ID 45"} 
[2026-09-25 07:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317346560001,"power":13450,"unknown_153":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9138296199993059328}} 
[2026-09-25 07:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":193416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:40:11] local.INFO: GPS data processed {"connection_id":193416,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:40:11] local.INFO: Acknowledgment sent {"connection_id":193416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:40:28] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:28] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:28] local.INFO: IMEI packet received {"connection_id":192059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":192059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:40:31] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:31] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:40:31] local.INFO: IMEI packet received {"connection_id":192059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:40:31] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:31] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:31] local.INFO: IMEI packet received {"connection_id":191870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":191870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:40:31] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d652dd70012d8108c005db58180003014521..."} 
[2026-09-25 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d652dd70012d8108c005db58180003014521..."} 
[2026-09-25 07:40:31] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d652dd70012d8108c005db58180003014521..."} 
[2026-09-25 07:40:31] local.INFO: Packet analysis {"connection_id":192059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:40:31] local.INFO: Extracted packet for processing {"connection_id":192059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763431104,"raw_latitude":98261016,"longitude_deg":76.3431104,"latitude_deg":9.8261016,"altitude":3,"angle":325,"satellites":33,"speed":52,"hex_longitude":"2d8108c0","hex_latitude":"05db5818","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317348608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135658474779443200,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143714593292830720,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790302150000,"timestamp_ms":1790302150000,"timestamp_seconds":1790302150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d652dd70"} 
[2026-09-25 07: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-25 07:40: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-25 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 07:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317348608001,"66":12613,"153":206,"85":15104,"24":52,"16":135658474779443200,"45":-9143714593292830720},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-09-25 07:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317348608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:40:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 07:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135658474779443200,"km_value":135658474779443.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143714593292830720,"description":"Unknown IO ID 45"} 
[2026-09-25 07:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317348608001,"power":12613,"unknown_153":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9143714593292830720}} 
[2026-09-25 07:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":192059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:40:31] local.INFO: GPS data processed {"connection_id":192059,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:40:31] local.INFO: Acknowledgment sent {"connection_id":192059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:40:36] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:36] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:40:36] local.INFO: IMEI packet received {"connection_id":191870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":191870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:40:37] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:37] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:37] local.INFO: Packet analysis {"connection_id":191870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:40:37] local.INFO: Extracted packet for processing {"connection_id":191870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:40: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:40: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-25 07:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":191870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:40:37] local.INFO: GPS data processed {"connection_id":191870,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:40:37] local.INFO: Acknowledgment sent {"connection_id":191870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:40:41] local.INFO: TCP Data received {"connection_id":191870,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:41] local.INFO: Processing buffer {"connection_id":191870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:40:41] local.INFO: Packet analysis {"connection_id":191870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:40:41] local.INFO: Extracted packet for processing {"connection_id":191870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:40: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07: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-25 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:40: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-25 07:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":191870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:40:41] local.INFO: GPS data processed {"connection_id":191870,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:40:41] local.INFO: Acknowledgment sent {"connection_id":191870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:41:02] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d652f0f8012d80fc0005db6eb80001015322..."} 
[2026-09-25 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d652f0f8012d80fc0005db6eb80001015322..."} 
[2026-09-25 07:41:02] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d652f0f8012d80fc0005db6eb80001015322..."} 
[2026-09-25 07:41:02] local.INFO: Packet analysis {"connection_id":192059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:41:02] local.INFO: Extracted packet for processing {"connection_id":192059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d652"} 
[2026-09-25 07:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763427840,"raw_latitude":98266808,"longitude_deg":76.342784,"latitude_deg":9.8266808,"altitude":1,"angle":339,"satellites":34,"speed":53,"hex_longitude":"2d80fc00","hex_latitude":"05db6eb8","is_valid_coordinates":true} 
[2026-09-25 07:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317350400001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135658801196957696,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148851511615809536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790302155000,"timestamp_ms":1790302155000,"timestamp_seconds":1790302155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d652f0f8"} 
[2026-09-25 07:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 07:41: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-25 07:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317350400001,"66":12667,"154":206,"85":15104,"24":53,"16":135658801196957696,"45":-9148851511615809536},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-25 07:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317350400001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:41:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 07:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135658801196957696,"km_value":135658801196957.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148851511615809536,"description":"Unknown IO ID 45"} 
[2026-09-25 07:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317350400001,"power":12667,"unknown_154":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9148851511615809536}} 
[2026-09-25 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:41:03] local.INFO: GPS data processed {"connection_id":192059,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:41:03] local.INFO: Acknowledgment sent {"connection_id":192059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:41:26] local.INFO: TCP Data received {"connection_id":194729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:26] local.INFO: Processing buffer {"connection_id":194729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:26] local.INFO: IMEI packet received {"connection_id":194729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":194729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:41:28] local.INFO: TCP Data received {"connection_id":191872,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:28] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:28] local.INFO: IMEI packet received {"connection_id":191872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":191872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:41:31] local.INFO: TCP Data received {"connection_id":194729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:31] local.INFO: Processing buffer {"connection_id":194729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:41:31] local.INFO: IMEI packet received {"connection_id":194729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":194729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:41:32] local.INFO: TCP Data received {"connection_id":194729,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:41:32] local.INFO: Processing buffer {"connection_id":194729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:41:32] local.INFO: Packet analysis {"connection_id":194729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:41:32] local.INFO: Extracted packet for processing {"connection_id":194729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:41:32] 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-25 07:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":194729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:41:32] local.INFO: GPS data processed {"connection_id":194729,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:41:32] local.INFO: Acknowledgment sent {"connection_id":194729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:41:33] local.INFO: TCP Data received {"connection_id":191872,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:33] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:41:33] local.INFO: IMEI packet received {"connection_id":191872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:41:33] local.INFO: TCP Data received {"connection_id":191872,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6530c50012d80ee8005db92d80001014e22..."} 
[2026-09-25 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6530c50012d80ee8005db92d80001014e22..."} 
[2026-09-25 07:41:33] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6530c50012d80ee8005db92d80001014e22..."} 
[2026-09-25 07:41:33] local.INFO: Packet analysis {"connection_id":191872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:41:33] local.INFO: Extracted packet for processing {"connection_id":191872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763424384,"raw_latitude":98276056,"longitude_deg":76.3424384,"latitude_deg":9.8276056,"altitude":1,"angle":334,"satellites":34,"speed":52,"hex_longitude":"2d80ee80","hex_latitude":"05db92d8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317351680001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135659277938327552,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152440317567387648,"note":"Value kept but may cause issues"} 
[2026-09-25 07:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790302162000,"timestamp_ms":1790302162000,"timestamp_seconds":1790302162,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6530c50"} 
[2026-09-25 07: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-25 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 07:41:33] 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-25 07: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-25 07: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-25 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317351680001,"66":13830,"154":206,"85":15104,"24":52,"16":135659277938327552,"45":-9152440317567387648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-25 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317351680001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:41:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 07:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135659277938327552,"km_value":135659277938327.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152440317567387648,"description":"Unknown IO ID 45"} 
[2026-09-25 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317351680001,"power":13830,"unknown_154":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-9152440317567387648}} 
[2026-09-25 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":191872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:41:33] local.INFO: GPS data processed {"connection_id":191872,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:41:33] local.INFO: Acknowledgment sent {"connection_id":191872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:41:35] local.INFO: TCP Data received {"connection_id":191871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:41:35] local.INFO: Processing buffer {"connection_id":191871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:41:35] local.INFO: IMEI packet received {"connection_id":191871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":191871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:42:03] local.INFO: TCP Data received {"connection_id":194729,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:03] local.INFO: Processing buffer {"connection_id":194729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:03] local.INFO: Packet analysis {"connection_id":194729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:42:03] local.INFO: Extracted packet for processing {"connection_id":194729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:42: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42: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-25 07:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:42: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-25 07:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":194729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:42:03] local.INFO: GPS data processed {"connection_id":194729,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:42:03] local.INFO: Acknowledgment sent {"connection_id":194729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:42:04] local.INFO: TCP Data received {"connection_id":191872,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d654b230012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d654b230012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:04] local.INFO: Processing buffer {"connection_id":191872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d654b230012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:04] local.INFO: Packet analysis {"connection_id":191872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d654"} 
[2026-09-25 07:42:04] local.INFO: Extracted packet for processing {"connection_id":191872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d654"} 
[2026-09-25 07:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":98344768,"longitude_deg":76.3391424,"latitude_deg":9.8344768,"altitude":3,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d806dc0","hex_latitude":"05dc9f40","is_valid_coordinates":true} 
[2026-09-25 07:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317375744001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662980200136704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480132984520704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302270000,"timestamp_ms":1790302270000,"timestamp_seconds":1790302270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d654b230"} 
[2026-09-25 07:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:42: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-25 07:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 07:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317375744001,"66":13222,"251":206,"85":15104,"24":0,"16":135662980200136704,"45":-9192480132984520704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317375744001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:42:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662980200136704,"km_value":135662980200136.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480132984520704,"description":"Unknown IO ID 45"} 
[2026-09-25 07:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317375744001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9192480132984520704}} 
[2026-09-25 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":191872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:42:05] local.INFO: GPS data processed {"connection_id":191872,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:42:05] local.INFO: Acknowledgment sent {"connection_id":191872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:42:10] local.INFO: TCP Data received {"connection_id":194730,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:42:10] local.INFO: Processing buffer {"connection_id":194730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:42:10] local.INFO: IMEI packet received {"connection_id":194730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":194730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:42:26] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:26] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:26] local.INFO: IMEI packet received {"connection_id":194731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":194731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:42:26] local.INFO: TCP Data received {"connection_id":193417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:26] local.INFO: Processing buffer {"connection_id":193417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:26] local.INFO: IMEI packet received {"connection_id":193417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":193417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:42:27] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:27] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:27] local.INFO: IMEI packet received {"connection_id":194731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":194731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:42:28] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:28] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:28] local.INFO: IMEI packet received {"connection_id":194731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":194731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:42:31] local.INFO: TCP Data received {"connection_id":193417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:31] local.INFO: Processing buffer {"connection_id":193417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:42:31] local.INFO: IMEI packet received {"connection_id":193417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:42:32] local.INFO: TCP Data received {"connection_id":193417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:32] local.INFO: Processing buffer {"connection_id":193417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:42:32] local.INFO: Packet analysis {"connection_id":193417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:42:32] local.INFO: Extracted packet for processing {"connection_id":193417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:42:32] 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-25 07:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:42:32] local.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-25 07:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":193417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:42:32] local.INFO: GPS data processed {"connection_id":193417,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:42:32] local.INFO: Acknowledgment sent {"connection_id":193417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:42:33] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:33] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:42:33] local.INFO: IMEI packet received {"connection_id":194731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":194731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:42:34] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6550438012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6550438012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:34] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6550438012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:42:34] local.INFO: Packet analysis {"connection_id":194731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:42:34] local.INFO: Extracted packet for processing {"connection_id":194731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":98344768,"longitude_deg":76.3391424,"latitude_deg":9.8344768,"altitude":3,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d806dc0","hex_latitude":"05dc9f40","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317381120001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662980200136704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480132984520704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302291000,"timestamp_ms":1790302291000,"timestamp_seconds":1790302291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6550438"} 
[2026-09-25 07: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-25 07:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 07:42:34] 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-25 07: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-25 07: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-25 07:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317381120001,"66":13363,"251":206,"85":15104,"24":0,"16":135662980200136704,"45":-9192480132984520704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317381120001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:42:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662980200136704,"km_value":135662980200136.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480132984520704,"description":"Unknown IO ID 45"} 
[2026-09-25 07:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317381120001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9192480132984520704}} 
[2026-09-25 07:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":194731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:42:34] local.INFO: GPS data processed {"connection_id":194731,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:42:34] local.INFO: Acknowledgment sent {"connection_id":194731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:43:04] local.INFO: TCP Data received {"connection_id":193417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:04] local.INFO: Processing buffer {"connection_id":193417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:04] local.INFO: Packet analysis {"connection_id":193417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:43:04] local.INFO: Extracted packet for processing {"connection_id":193417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:43: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-25 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:43: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-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":193417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:43:04] local.INFO: GPS data processed {"connection_id":193417,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:43:04] local.INFO: Acknowledgment sent {"connection_id":193417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:43:04] local.INFO: TCP Data received {"connection_id":194731,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6555640012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6555640012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:43:04] local.INFO: Processing buffer {"connection_id":194731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6555640012d806dc005dc9f40000301461f..."} 
[2026-09-25 07:43:04] local.INFO: Packet analysis {"connection_id":194731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:43:04] local.INFO: Extracted packet for processing {"connection_id":194731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":98344768,"longitude_deg":76.3391424,"latitude_deg":9.8344768,"altitude":3,"angle":326,"satellites":31,"speed":0,"hex_longitude":"2d806dc0","hex_latitude":"05dc9f40","is_valid_coordinates":true} 
[2026-09-25 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317386496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662980200136704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480132984520704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302312000,"timestamp_ms":1790302312000,"timestamp_seconds":1790302312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6555640"} 
[2026-09-25 07:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:43:04] 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-25 07:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 07:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317386496001,"66":13396,"251":206,"85":15104,"24":0,"16":135662980200136704,"45":-9192480132984520704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317386496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662980200136704,"km_value":135662980200136.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480132984520704,"description":"Unknown IO ID 45"} 
[2026-09-25 07:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317386496001,"power":13396,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9192480132984520704}} 
[2026-09-25 07:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":194731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:43:05] local.INFO: GPS data processed {"connection_id":194731,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:43:05] local.INFO: Acknowledgment sent {"connection_id":194731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:43:26] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:26] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:26] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:43:28] local.INFO: TCP Data received {"connection_id":194732,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:28] local.INFO: Processing buffer {"connection_id":194732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:28] local.INFO: IMEI packet received {"connection_id":194732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":194732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:43:31] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:31] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:43:31] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:43:32] local.INFO: TCP Data received {"connection_id":194732,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:32] local.INFO: Processing buffer {"connection_id":194732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:43:32] local.INFO: IMEI packet received {"connection_id":194732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":194732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:43:32] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:32] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:43:32] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:43:32] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:43:32] 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-25 07:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:43:32] 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-25 07:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:43:32] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:43:32] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:43:32] local.INFO: TCP Data received {"connection_id":194732,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d655a848012d806dc005dc9f400003014621..."} 
[2026-09-25 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d655a848012d806dc005dc9f400003014621..."} 
[2026-09-25 07:43:32] local.INFO: Processing buffer {"connection_id":194732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d655a848012d806dc005dc9f400003014621..."} 
[2026-09-25 07:43:32] local.INFO: Packet analysis {"connection_id":194732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:43:32] local.INFO: Extracted packet for processing {"connection_id":194732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:43:32] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":98344768,"longitude_deg":76.3391424,"latitude_deg":9.8344768,"altitude":3,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d806dc0","hex_latitude":"05dc9f40","is_valid_coordinates":true} 
[2026-09-25 07:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317391872001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662980200136704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480132984520704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302333000,"timestamp_ms":1790302333000,"timestamp_seconds":1790302333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d655a848"} 
[2026-09-25 07:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:43:32] 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-25 07:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-25 07:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317391872001,"66":13450,"251":206,"85":15104,"24":0,"16":135662980200136704,"45":-9192480132984520704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317391872001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662980200136704,"km_value":135662980200136.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480132984520704,"description":"Unknown IO ID 45"} 
[2026-09-25 07:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317391872001,"power":13450,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9192480132984520704}} 
[2026-09-25 07:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":194732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:43:33] local.INFO: GPS data processed {"connection_id":194732,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:43:33] local.INFO: Acknowledgment sent {"connection_id":194732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:44:03] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:03] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:03] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:44:03] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:44: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44: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-25 07:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:44:03] 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-25 07:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:44: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-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:44:03] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:44:03] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:44:04] local.INFO: TCP Data received {"connection_id":194732,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d655cb70012d806e0005dc9e800004000a22..."} 
[2026-09-25 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d655cb70012d806e0005dc9e800004000a22..."} 
[2026-09-25 07:44:04] local.INFO: Processing buffer {"connection_id":194732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d655cb70012d806e0005dc9e800004000a22..."} 
[2026-09-25 07:44:04] local.INFO: Packet analysis {"connection_id":194732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:44:04] local.INFO: Extracted packet for processing {"connection_id":194732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:44:04] local.INFO: GPS Element Parsed {"raw_longitude":763391488,"raw_latitude":98344576,"longitude_deg":76.3391488,"latitude_deg":9.8344576,"altitude":4,"angle":10,"satellites":34,"speed":1,"hex_longitude":"2d806e00","hex_latitude":"05dc9e80","is_valid_coordinates":true} 
[2026-09-25 07:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317397248001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662988790071296,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480132984520704,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302342000,"timestamp_ms":1790302342000,"timestamp_seconds":1790302342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d655cb70"} 
[2026-09-25 07:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:44: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-25 07:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 07:44:04] 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-25 07:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317397248001,"66":13830,"251":206,"85":15104,"24":1,"16":135662988790071296,"45":-9192480132984520704},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317397248001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:44:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662988790071296,"km_value":135662988790071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480132984520704,"description":"Unknown IO ID 45"} 
[2026-09-25 07:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317397248001,"power":13830,"unknown_251":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9192480132984520704}} 
[2026-09-25 07:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":194732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:44:04] local.INFO: GPS data processed {"connection_id":194732,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:44:04] local.INFO: Acknowledgment sent {"connection_id":194732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:44:26] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:26] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:26] local.INFO: IMEI packet received {"connection_id":192061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":192061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:44:28] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:28] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:28] local.INFO: IMEI packet received {"connection_id":193418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":193418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:44:31] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:31] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:44:31] local.INFO: IMEI packet received {"connection_id":192061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":192061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:44:32] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:32] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:44:32] local.INFO: Packet analysis {"connection_id":192061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:44:32] local.INFO: Extracted packet for processing {"connection_id":192061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:44:32] 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-25 07:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:44:32] 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-25 07:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":192061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:44:32] local.INFO: GPS data processed {"connection_id":192061,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:44:32] local.INFO: Acknowledgment sent {"connection_id":192061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:44:33] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:33] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:44:33] local.INFO: IMEI packet received {"connection_id":193418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":193418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:44:34] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d655cf58012d806e4005dc9ec80004001c22..."} 
[2026-09-25 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d655cf58012d806e4005dc9ec80004001c22..."} 
[2026-09-25 07:44:34] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d655cf58012d806e4005dc9ec80004001c22..."} 
[2026-09-25 07:44:34] local.INFO: Packet analysis {"connection_id":193418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:44:34] local.INFO: Extracted packet for processing {"connection_id":193418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763391552,"raw_latitude":98344648,"longitude_deg":76.3391552,"latitude_deg":9.8344648,"altitude":4,"angle":28,"satellites":34,"speed":2,"hex_longitude":"2d806e40","hex_latitude":"05dc9ec8","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317399552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135662997380005888,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192409764240392192,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302343000,"timestamp_ms":1790302343000,"timestamp_seconds":1790302343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d655cf58"} 
[2026-09-25 07: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-25 07:44:34] 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-25 07: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1970333442703360,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626827722752,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3595832864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154676229,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2671771651,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221609631,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926247,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4173529088,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3701399552,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":1153253009359111644,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.WARNING: Large IO value detected {"io_id":137,"raw_value":1152921510296551460,"note":"Value kept but may cause issues"} 
[2026-09-25 07:44:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,251,85,24,241,157,16,248,160,168,45,192,159,3,33,10,66,86,31,4,1,240,51,227,214,220,113,205,96,109,64,32,239,52,2,225,5,7,231,137],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-09-25 07:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288241517296943104,"timestamp_seconds":288241517296943.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317399552001,"66":13646,"251":206,"85":15104,"24":2,"16":135662997380005888,"45":-9192409764240392192},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317399552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135662997380005888,"km_value":135662997380005.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192409764240392192,"description":"Unknown IO ID 45"} 
[2026-09-25 07:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317399552001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9192409764240392192}} 
[2026-09-25 07:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":193418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:44:34] local.INFO: GPS data processed {"connection_id":193418,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:44:34] local.INFO: Acknowledgment sent {"connection_id":193418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:45:04] local.INFO: TCP Data received {"connection_id":192061,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:04] local.INFO: Processing buffer {"connection_id":192061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6531bf0012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:04] local.INFO: Packet analysis {"connection_id":192061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07:45:04] local.INFO: Extracted packet for processing {"connection_id":192061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d653"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317277440001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302166000,"timestamp_ms":1790302166000,"timestamp_seconds":1790302166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6531bf0"} 
[2026-09-25 07: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-25 07:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 07:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:04] 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-25 07:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317277440001,"66":25473,"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-25 07:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317277440001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317277440001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":192061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:45:04] local.INFO: GPS data processed {"connection_id":192061,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:45:04] local.INFO: Acknowledgment sent {"connection_id":192061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:45:05] local.INFO: TCP Data received {"connection_id":193418,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d655d340012d806e8005dc9f280004002c22..."} 
[2026-09-25 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d655d340012d806e8005dc9f280004002c22..."} 
[2026-09-25 07:45:05] local.INFO: Processing buffer {"connection_id":193418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d655d340012d806e8005dc9f280004002c22..."} 
[2026-09-25 07:45:05] local.INFO: Packet analysis {"connection_id":193418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:45:05] local.INFO: Extracted packet for processing {"connection_id":193418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763391616,"raw_latitude":98344744,"longitude_deg":76.3391616,"latitude_deg":9.8344744,"altitude":4,"angle":44,"satellites":34,"speed":3,"hex_longitude":"2d806e80","hex_latitude":"05dc9f28","is_valid_coordinates":true} 
[2026-09-25 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317399808001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663001674973184,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192339395496196096,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302344000,"timestamp_ms":1790302344000,"timestamp_seconds":1790302344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d655d340"} 
[2026-09-25 07:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:45:05] 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-25 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 07:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317399808001,"66":13646,"251":206,"85":15104,"24":3,"16":135663001674973184,"45":-9192339395496196096},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317399808001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:45:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663001674973184,"km_value":135663001674973.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192339395496196096,"description":"Unknown IO ID 45"} 
[2026-09-25 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317399808001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9192339395496196096}} 
[2026-09-25 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":193418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:45:05] local.INFO: GPS data processed {"connection_id":193418,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:45:05] local.INFO: Acknowledgment sent {"connection_id":193418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:45:28] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:28] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:28] local.INFO: IMEI packet received {"connection_id":192062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":192062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:45:31] local.INFO: TCP Data received {"connection_id":194733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:31] local.INFO: Processing buffer {"connection_id":194733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:31] local.INFO: IMEI packet received {"connection_id":194733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":194733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:45:33] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:33] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:45:33] local.INFO: IMEI packet received {"connection_id":192062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":192062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:45:34] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d655d728012d806f0005dc9f580004004922..."} 
[2026-09-25 07:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d655d728012d806f0005dc9f580004004922..."} 
[2026-09-25 07:45:34] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d655d728012d806f0005dc9f580004004922..."} 
[2026-09-25 07:45:34] local.INFO: Packet analysis {"connection_id":192062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:45:34] local.INFO: Extracted packet for processing {"connection_id":192062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d655"} 
[2026-09-25 07:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763391744,"raw_latitude":98344792,"longitude_deg":76.3391744,"latitude_deg":9.8344792,"altitude":4,"angle":73,"satellites":34,"speed":5,"hex_longitude":"2d806f00","hex_latitude":"05dc9f58","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317400064001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663005969940480,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192269026751993856,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302345000,"timestamp_ms":1790302345000,"timestamp_seconds":1790302345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d655d728"} 
[2026-09-25 07: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-25 07:45:34] 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-25 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 07:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317400064001,"66":13646,"251":206,"85":15104,"24":5,"16":135663005969940480,"45":-9192269026751993856},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317400064001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:45:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663005969940480,"km_value":135663005969940.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192269026751993856,"description":"Unknown IO ID 45"} 
[2026-09-25 07:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317400064001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9192269026751993856}} 
[2026-09-25 07:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":192062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:45:34] local.INFO: GPS data processed {"connection_id":192062,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:45:34] local.INFO: Acknowledgment sent {"connection_id":192062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:45:36] local.INFO: TCP Data received {"connection_id":194733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:36] local.INFO: Processing buffer {"connection_id":194733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:45:36] local.INFO: IMEI packet received {"connection_id":194733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":194733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:45:37] local.INFO: TCP Data received {"connection_id":194733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:37] local.INFO: Processing buffer {"connection_id":194733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:37] local.INFO: Packet analysis {"connection_id":194733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:45:37] local.INFO: Extracted packet for processing {"connection_id":194733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:45: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:45: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-25 07:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:45: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-25 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":194733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:45:37] local.INFO: GPS data processed {"connection_id":194733,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:45:37] local.INFO: Acknowledgment sent {"connection_id":194733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:45:42] local.INFO: TCP Data received {"connection_id":194733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:42] local.INFO: Processing buffer {"connection_id":194733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:45:42] local.INFO: Packet analysis {"connection_id":194733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:45:42] local.INFO: Extracted packet for processing {"connection_id":194733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:45: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:45: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-25 07:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":194733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:45:42] local.INFO: GPS data processed {"connection_id":194733,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:45:42] local.INFO: Acknowledgment sent {"connection_id":194733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:46:04] local.INFO: TCP Data received {"connection_id":192062,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6591348012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6591348012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:04] local.INFO: Processing buffer {"connection_id":192062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6591348012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:04] local.INFO: Packet analysis {"connection_id":192062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:46:04] local.INFO: Extracted packet for processing {"connection_id":192062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349880,"longitude_deg":76.3405632,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":32,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317449216001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302557000,"timestamp_ms":1790302557000,"timestamp_seconds":1790302557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6591348"} 
[2026-09-25 07: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-25 07:46: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-25 07: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 07:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317449216001,"66":13319,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176858271775770624},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317449216001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317449216001,"power":13319,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":192062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:46:05] local.INFO: GPS data processed {"connection_id":192062,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:46:05] local.INFO: Acknowledgment sent {"connection_id":192062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:46:26] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:26] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:26] local.INFO: IMEI packet received {"connection_id":193421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":193421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:46:28] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:28] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:28] local.INFO: IMEI packet received {"connection_id":191875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":191875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:46:31] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:31] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:46:31] local.INFO: IMEI packet received {"connection_id":193421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":193421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:46:32] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:46:32] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:46:32] local.INFO: Packet analysis {"connection_id":193421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:46:32] local.INFO: Extracted packet for processing {"connection_id":193421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:46:32] 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-25 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:46: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-25 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":193421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:46:32] local.INFO: GPS data processed {"connection_id":193421,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:46:32] local.INFO: Acknowledgment sent {"connection_id":193421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:46:33] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:33] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:46:33] local.INFO: IMEI packet received {"connection_id":191875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:46:34] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:34] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:46:34] local.INFO: Packet analysis {"connection_id":191875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:46:34] local.INFO: Extracted packet for processing {"connection_id":191875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349880,"longitude_deg":76.3405632,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":32,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317454592001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302560000,"timestamp_ms":1790302560000,"timestamp_seconds":1790302560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6591f00"} 
[2026-09-25 07: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-25 07:46:34] 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-25 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3596035864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158313477,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-5447103740710542848,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818179278,"corrected_to":0} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024999,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4186112000,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702732800,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57887062422869307,"corrected_to":0} 
[2026-09-25 07:46:34] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-3093971649060028411,"note":"Value kept but may cause issues"} 
[2026-09-25 07:46:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,250,85,24,241,157,16,249,160,193,45,64,179,1,33,10,66,111,29,240,56,227,214,220,4,113,205,121,165,34,239,52,2,225,5,203,86],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2818179278,"validated":0},{"io_id":203,"original":57887062422869307,"validated":0}]} 
[2026-09-25 07:46:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72127000709431296,"timestamp_seconds":72127000709431.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317454592001,"66":13928,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176858271775770624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317454592001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:46:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317454592001,"power":13928,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":191875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:46:34] local.INFO: GPS data processed {"connection_id":191875,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:46:34] local.INFO: Acknowledgment sent {"connection_id":191875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:47:03] local.INFO: TCP Data received {"connection_id":193421,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:03] local.INFO: Processing buffer {"connection_id":193421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:03] local.INFO: Packet analysis {"connection_id":193421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:47:03] local.INFO: Extracted packet for processing {"connection_id":193421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:47: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47: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-25 07:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:47: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-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":193421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:47:03] local.INFO: GPS data processed {"connection_id":193421,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:47:03] local.INFO: Acknowledgment sent {"connection_id":193421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:47:05] local.INFO: TCP Data received {"connection_id":191875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:47:05] local.INFO: Processing buffer {"connection_id":191875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6591f00012d80a54005dcb3380001003f20..."} 
[2026-09-25 07:47:05] local.INFO: Packet analysis {"connection_id":191875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:47:05] local.INFO: Extracted packet for processing {"connection_id":191875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349880,"longitude_deg":76.3405632,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":32,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:47:05] 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-25 07:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317455360001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302560000,"timestamp_ms":1790302560000,"timestamp_seconds":1790302560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6591f00"} 
[2026-09-25 07: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-25 07:47: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-25 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 07:47:05] 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-25 07: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-25 07: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-25 07:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317455360001,"66":13928,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176858271775770624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317455360001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:47:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317455360001,"power":13928,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":191875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:47:05] local.INFO: GPS data processed {"connection_id":191875,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:47:05] local.INFO: Acknowledgment sent {"connection_id":191875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:47:26] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:26] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:26] local.INFO: IMEI packet received {"connection_id":192064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":192064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:47:28] local.INFO: TCP Data received {"connection_id":193422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:28] local.INFO: Processing buffer {"connection_id":193422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:28] local.INFO: IMEI packet received {"connection_id":193422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":193422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:47:31] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:31] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:47:31] local.INFO: IMEI packet received {"connection_id":192064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":192064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:47:32] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:32] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:47:32] local.INFO: Packet analysis {"connection_id":192064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:47:32] local.INFO: Extracted packet for processing {"connection_id":192064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:47:32] 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-25 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:47: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-25 07:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:47:32] 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-25 07:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":192064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:47:32] local.INFO: GPS data processed {"connection_id":192064,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:47:32] local.INFO: Acknowledgment sent {"connection_id":192064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:47:33] local.INFO: TCP Data received {"connection_id":193422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:33] local.INFO: Processing buffer {"connection_id":193422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:47:33] local.INFO: IMEI packet received {"connection_id":193422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":193422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:47:34] local.INFO: TCP Data received {"connection_id":193422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:47:34] local.INFO: Processing buffer {"connection_id":193422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:47:34] local.INFO: Packet analysis {"connection_id":193422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:47:34] local.INFO: Extracted packet for processing {"connection_id":193422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317455360001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07:47: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-25 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 07:47:34] 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-25 07: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-25 07: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-25 07:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317455360001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176858271775770624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317455360001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:47:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317455360001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":193422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:47:34] local.INFO: GPS data processed {"connection_id":193422,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:47:34] local.INFO: Acknowledgment sent {"connection_id":193422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:48:04] local.INFO: TCP Data received {"connection_id":192064,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:04] local.INFO: Processing buffer {"connection_id":192064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:04] local.INFO: Packet analysis {"connection_id":192064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:48:04] local.INFO: Extracted packet for processing {"connection_id":192064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":192064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:48:04] local.INFO: GPS data processed {"connection_id":192064,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:48:04] local.INFO: Acknowledgment sent {"connection_id":192064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:48:04] local.INFO: TCP Data received {"connection_id":194734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:04] local.INFO: Processing buffer {"connection_id":194734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:04] local.INFO: IMEI packet received {"connection_id":194734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 07:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":194734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:48:05] local.INFO: TCP Data received {"connection_id":191876,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:48:05] local.INFO: Processing buffer {"connection_id":191876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:48:05] local.INFO: IMEI packet received {"connection_id":191876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":191876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:48:05] local.INFO: TCP Data received {"connection_id":193422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:05] local.INFO: Processing buffer {"connection_id":193422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:05] local.INFO: Packet analysis {"connection_id":193422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:48:05] local.INFO: Extracted packet for processing {"connection_id":193422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:48:05] 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-25 07:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07:48: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:48:05] 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-25 07: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-25 07: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-25 07:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:48:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":193422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:48:05] local.INFO: GPS data processed {"connection_id":193422,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:48:05] local.INFO: Acknowledgment sent {"connection_id":193422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:48:09] local.INFO: TCP Data received {"connection_id":194734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:09] local.INFO: Processing buffer {"connection_id":194734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:09] local.INFO: IMEI packet received {"connection_id":194734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 07:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":194734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:48:11] local.INFO: TCP Data received {"connection_id":194734,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:11] local.INFO: Processing buffer {"connection_id":194734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 07:48:11] local.INFO: IMEI packet received {"connection_id":194734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 07:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":194734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:48:11] local.INFO: TCP Data received {"connection_id":194734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194734,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:11] local.INFO: Processing buffer {"connection_id":194734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:11] local.INFO: Packet analysis {"connection_id":194734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 07:48:11] local.INFO: Extracted packet for processing {"connection_id":194734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 07:48: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-25 07:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22926050094743552,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 07:48: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-25 07:48:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 07:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194734,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194734,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 07:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194734,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 07:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 07:48:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 07:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":194734,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 07:48:11] local.ERROR: GPS data processing failed {"connection_id":194734,"error":"No valid data to process"} 
[2026-09-25 07:48:11] local.INFO: Acknowledgment sent {"connection_id":194734,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 07:48:15] local.INFO: TCP Data received {"connection_id":194734,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194734,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:15] local.INFO: Processing buffer {"connection_id":194734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-09-25 07:48:15] local.INFO: Packet analysis {"connection_id":194734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 07:48:15] local.INFO: Extracted packet for processing {"connection_id":194734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 07:48: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-25 07:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22926050094743552,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 07:48:15] 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-25 07:48:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 07:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194734,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194734,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 07:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194734,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 07:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 07:48:15] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 07:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":194734,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 07:48:15] local.ERROR: GPS data processing failed {"connection_id":194734,"error":"No valid data to process"} 
[2026-09-25 07:48:15] local.INFO: Acknowledgment sent {"connection_id":194734,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 07:48:26] local.INFO: TCP Data received {"connection_id":194735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:26] local.INFO: Processing buffer {"connection_id":194735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:26] local.INFO: IMEI packet received {"connection_id":194735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":194735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:48:28] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:28] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:28] local.INFO: IMEI packet received {"connection_id":191877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":191877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:48:31] local.INFO: TCP Data received {"connection_id":194735,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:31] local.INFO: Processing buffer {"connection_id":194735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:48:31] local.INFO: IMEI packet received {"connection_id":194735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":194735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:48:32] local.INFO: TCP Data received {"connection_id":194735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:32] local.INFO: Processing buffer {"connection_id":194735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:48:32] local.INFO: Packet analysis {"connection_id":194735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:48:32] local.INFO: Extracted packet for processing {"connection_id":194735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:48:32] 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-25 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:48:32] 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-25 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":194735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:48:32] local.INFO: GPS data processed {"connection_id":194735,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:48:32] local.INFO: Acknowledgment sent {"connection_id":194735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:48:33] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:33] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:48:33] local.INFO: IMEI packet received {"connection_id":191877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:48:34] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:34] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:48:34] local.INFO: Packet analysis {"connection_id":191877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:48:34] local.INFO: Extracted packet for processing {"connection_id":191877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07:48: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:48:34] 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-25 07: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-25 07: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-25 07:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:48:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:48:34] local.INFO: GPS data processed {"connection_id":191877,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:48:34] local.INFO: Acknowledgment sent {"connection_id":191877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:49:04] local.INFO: TCP Data received {"connection_id":194735,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:04] local.INFO: Processing buffer {"connection_id":194735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:04] local.INFO: Packet analysis {"connection_id":194735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:49:04] local.INFO: Extracted packet for processing {"connection_id":194735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07: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-25 07:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07: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-25 07:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":194735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:49:04] local.INFO: GPS data processed {"connection_id":194735,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:49:04] local.INFO: Acknowledgment sent {"connection_id":194735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:49:05] local.INFO: TCP Data received {"connection_id":191877,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:05] local.INFO: Processing buffer {"connection_id":191877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:05] local.INFO: Packet analysis {"connection_id":191877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:49:05] local.INFO: Extracted packet for processing {"connection_id":191877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:49:05] 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-25 07:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:49:05] 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-25 07: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-25 07: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-25 07:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:49:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":191877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:49:05] local.INFO: GPS data processed {"connection_id":191877,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:49:05] local.INFO: Acknowledgment sent {"connection_id":191877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:49:26] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:26] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:26] local.INFO: IMEI packet received {"connection_id":193423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":193423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:49:28] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:28] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:28] local.INFO: IMEI packet received {"connection_id":193424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":193424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:49:32] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:32] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:49:32] local.INFO: IMEI packet received {"connection_id":193423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":193423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:49:33] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:33] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:49:33] local.INFO: Packet analysis {"connection_id":193423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:49:33] local.INFO: Extracted packet for processing {"connection_id":193423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07: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-25 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:49:33] 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-25 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:49:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":193423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:49:33] local.INFO: GPS data processed {"connection_id":193423,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:49:33] local.INFO: Acknowledgment sent {"connection_id":193423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:49:33] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:33] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:49:33] local.INFO: IMEI packet received {"connection_id":193424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":193424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:49:34] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:34] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:49:34] local.INFO: Packet analysis {"connection_id":193424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:49:34] local.INFO: Extracted packet for processing {"connection_id":193424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:49:34] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:49:34] 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-25 07: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-25 07: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-25 07:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:49:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:49:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":193424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:49:34] local.INFO: GPS data processed {"connection_id":193424,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:49:34] local.INFO: Acknowledgment sent {"connection_id":193424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:50:04] local.INFO: TCP Data received {"connection_id":193423,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:04] local.INFO: Processing buffer {"connection_id":193423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d657b3b8012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:04] local.INFO: Packet analysis {"connection_id":193423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:50:04] local.INFO: Extracted packet for processing {"connection_id":193423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d657"} 
[2026-09-25 07:50: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-25 07:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317354496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50: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-25 07:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302467000,"timestamp_ms":1790302467000,"timestamp_seconds":1790302467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d657b3b8"} 
[2026-09-25 07:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 07:50: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-25 07:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317354496001,"66":25419,"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-25 07:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317354496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:50: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-25 07:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317354496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":193423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:50:04] local.INFO: GPS data processed {"connection_id":193423,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:50:04] local.INFO: Acknowledgment sent {"connection_id":193423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:50:05] local.INFO: TCP Data received {"connection_id":193424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:05] local.INFO: Processing buffer {"connection_id":193424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:05] local.INFO: Packet analysis {"connection_id":193424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:50:05] local.INFO: Extracted packet for processing {"connection_id":193424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:50:05] 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-25 07: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-25 07: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-25 07:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:50:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":193424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:50:05] local.INFO: GPS data processed {"connection_id":193424,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:50:05] local.INFO: Acknowledgment sent {"connection_id":193424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:50:26] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:26] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:26] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:50:28] local.INFO: TCP Data received {"connection_id":194737,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:28] local.INFO: Processing buffer {"connection_id":194737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:28] local.INFO: IMEI packet received {"connection_id":194737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":194737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:50:31] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:31] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:50:31] local.INFO: IMEI packet received {"connection_id":191879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":191879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:50:32] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:32] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:50:32] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:50:32] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:50:32] 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-25 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:50: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-25 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:50:32] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:50:32] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:50:33] local.INFO: TCP Data received {"connection_id":194737,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:33] local.INFO: Processing buffer {"connection_id":194737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:50:33] local.INFO: IMEI packet received {"connection_id":194737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":194737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:50:34] local.INFO: TCP Data received {"connection_id":194737,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:34] local.INFO: Processing buffer {"connection_id":194737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d659e638012d80a58005dcb3500001003f24..."} 
[2026-09-25 07:50:34] local.INFO: Packet analysis {"connection_id":194737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:50:34] local.INFO: Extracted packet for processing {"connection_id":194737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d659"} 
[2026-09-25 07:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98349904,"longitude_deg":76.3405696,"latitude_deg":9.8349904,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a580","hex_latitude":"05dcb350","is_valid_coordinates":true} 
[2026-09-25 07:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302611000,"timestamp_ms":1790302611000,"timestamp_seconds":1790302611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d659e638"} 
[2026-09-25 07: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-25 07:50: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:50:34] 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-25 07: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-25 07: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-25 07:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":13559,"250":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-09-25 07:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:50:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-09-25 07:50:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":13559,"unknown_250":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":194737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:50:34] local.INFO: GPS data processed {"connection_id":194737,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:50:34] local.INFO: Acknowledgment sent {"connection_id":194737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:03] local.INFO: TCP Data received {"connection_id":191879,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:03] local.INFO: Processing buffer {"connection_id":191879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:03] local.INFO: Packet analysis {"connection_id":191879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:51:03] local.INFO: Extracted packet for processing {"connection_id":191879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:51: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51: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-25 07:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 07:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:51: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-25 07:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":191879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:03] local.INFO: GPS data processed {"connection_id":191879,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:03] local.INFO: Acknowledgment sent {"connection_id":191879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:05] local.INFO: TCP Data received {"connection_id":194737,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:05] local.INFO: Processing buffer {"connection_id":194737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:05] local.INFO: Packet analysis {"connection_id":194737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:05] local.INFO: Extracted packet for processing {"connection_id":194737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98349880,"longitude_deg":76.340544,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a480","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:51:05] 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-25 07:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317468416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903031586816,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302846000,"timestamp_ms":1790302846000,"timestamp_seconds":1790302846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65d7c30"} 
[2026-09-25 07: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-25 07: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-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:05] 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-25 07: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-25 07: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-25 07:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317468416001,"66":2242,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176787903031586816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317468416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903031586816,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317468416001,"power":2242,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176787903031586816}} 
[2026-09-25 07:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":194737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:05] local.INFO: GPS data processed {"connection_id":194737,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:05] local.INFO: Acknowledgment sent {"connection_id":194737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:31] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:31] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:31] local.INFO: IMEI packet received {"connection_id":193426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:51:33] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:51:33] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:51:33] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:51:33] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:51:33] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:51:33] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:51:36] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:36] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:51:36] local.INFO: IMEI packet received {"connection_id":193426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":193426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:51:37] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:37] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:37] local.INFO: Packet analysis {"connection_id":193426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:51:37] local.INFO: Extracted packet for processing {"connection_id":193426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":193426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:37] local.INFO: GPS data processed {"connection_id":193426,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:37] local.INFO: Acknowledgment sent {"connection_id":193426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:38] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:51:38] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 07:51:38] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:51:39] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:39] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a0d6..."} 
[2026-09-25 07:51:39] local.INFO: IMEI packet received {"connection_id":191880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":191880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:51:41] local.INFO: TCP Data received {"connection_id":193426,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:41] local.INFO: Processing buffer {"connection_id":193426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:51:41] local.INFO: Packet analysis {"connection_id":193426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:51:41] local.INFO: Extracted packet for processing {"connection_id":193426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:51: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:51: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-25 07:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":193426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:41] local.INFO: GPS data processed {"connection_id":193426,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:41] local.INFO: Acknowledgment sent {"connection_id":193426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:43] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65db6c8012d80a48005dcb3380001003f23..."} 
[2026-09-25 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65db6c8012d80a48005dcb3380001003f23..."} 
[2026-09-25 07:51:43] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d65d7c30012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:43] local.INFO: Packet analysis {"connection_id":191880,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:43] local.INFO: Extracted packet for processing {"connection_id":191880,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98349880,"longitude_deg":76.340544,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a480","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:51:43] 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-25 07:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317528576001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378008303616,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790302846000,"timestamp_ms":1790302846000,"timestamp_seconds":1790302846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65d7c30"} 
[2026-09-25 07:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:43] 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-25 07:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317528576001,"66":2242,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9177069378008303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317528576001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378008303616,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317528576001,"power":2242,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177069378008303616}} 
[2026-09-25 07:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":191880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:43] local.INFO: GPS data processed {"connection_id":191880,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:43] local.INFO: Acknowledgment sent {"connection_id":191880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:43] local.INFO: Packet analysis {"connection_id":191880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:43] local.INFO: Extracted packet for processing {"connection_id":191880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65d"} 
[2026-09-25 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98349880,"longitude_deg":76.340544,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":35,"speed":0,"hex_longitude":"2d80a480","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317528576001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378008303616,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790302861000,"timestamp_ms":1790302861000,"timestamp_seconds":1790302861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65db6c8"} 
[2026-09-25 07:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:43] 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-25 07:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317528576001,"66":13189,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9177069378008303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317528576001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378008303616,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317528576001,"power":13189,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177069378008303616}} 
[2026-09-25 07:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":191880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:43] local.INFO: GPS data processed {"connection_id":191880,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:43] local.INFO: Acknowledgment sent {"connection_id":191880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:51:48] local.INFO: TCP Data received {"connection_id":191880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:48] local.INFO: Processing buffer {"connection_id":191880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:51:48] local.INFO: Packet analysis {"connection_id":191880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:51:48] local.INFO: Extracted packet for processing {"connection_id":191880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98349880,"longitude_deg":76.340544,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a480","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317532416001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378008303616,"note":"Value kept but may cause issues"} 
[2026-09-25 07:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790302891000,"timestamp_ms":1790302891000,"timestamp_seconds":1790302891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65e2bf8"} 
[2026-09-25 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:51:48] 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-25 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317532416001,"66":13330,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9177069378008303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317532416001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:51:48] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378008303616,"description":"Unknown IO ID 45"} 
[2026-09-25 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317532416001,"power":13330,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177069378008303616}} 
[2026-09-25 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":191880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:51:48] local.INFO: GPS data processed {"connection_id":191880,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:51:48] local.INFO: Acknowledgment sent {"connection_id":191880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:52:26] local.INFO: TCP Data received {"connection_id":194739,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:26] local.INFO: Processing buffer {"connection_id":194739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:26] local.INFO: IMEI packet received {"connection_id":194739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":194739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:52:28] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:28] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:28] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:52:31] local.INFO: TCP Data received {"connection_id":194739,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:31] local.INFO: Processing buffer {"connection_id":194739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:52:31] local.INFO: IMEI packet received {"connection_id":194739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":194739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:52:32] local.INFO: TCP Data received {"connection_id":194739,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:52:32] local.INFO: Processing buffer {"connection_id":194739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:52:32] local.INFO: Packet analysis {"connection_id":194739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:52:32] local.INFO: Extracted packet for processing {"connection_id":194739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:52:32] 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-25 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:52: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-25 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:52:32] 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-25 07:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:52:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":194739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:52:32] local.INFO: GPS data processed {"connection_id":194739,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:52:32] local.INFO: Acknowledgment sent {"connection_id":194739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:52:33] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:33] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:52:33] local.INFO: IMEI packet received {"connection_id":191881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":191881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:52:34] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:52:34] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65e2bf8012d80a48005dcb3380001003f24..."} 
[2026-09-25 07:52:34] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:52:34] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98349880,"longitude_deg":76.340544,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a480","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07:52:34] 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-25 07:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317540096001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378008303616,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302891000,"timestamp_ms":1790302891000,"timestamp_seconds":1790302891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65e2bf8"} 
[2026-09-25 07: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-25 07:52:34] 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-25 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3596215864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158329861,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278802497998467920,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-5525916738484493312,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818179278,"corrected_to":0} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147867827,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024999,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4186112000,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702738944,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57887062422869307,"corrected_to":0} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-1857733551346843643,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-432118698770163712,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 07:52:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,251,85,24,241,157,16,249,160,182,45,128,179,1,35,10,66,124,36,240,194,227,214,220,4,113,205,230,165,80,239,52,250,2,225,5,247,89,167,83],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2818179278,"validated":0},{"io_id":247,"original":57887062422869307,"validated":0}]} 
[2026-09-25 07:52:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72127017889300719,"timestamp_seconds":72127017889300.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317540096001,"66":13330,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9177069378008303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317540096001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:52:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378008303616,"description":"Unknown IO ID 45"} 
[2026-09-25 07:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317540096001,"power":13330,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177069378008303616}} 
[2026-09-25 07:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:52:34] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:52:34] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:53:04] local.INFO: TCP Data received {"connection_id":194739,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:04] local.INFO: Processing buffer {"connection_id":194739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:04] local.INFO: Packet analysis {"connection_id":194739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:53:04] local.INFO: Extracted packet for processing {"connection_id":194739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":194739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:53:04] local.INFO: GPS data processed {"connection_id":194739,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:53:04] local.INFO: Acknowledgment sent {"connection_id":194739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:53:05] local.INFO: TCP Data received {"connection_id":191881,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65e8da0012d80a54005dcb3380001003f23..."} 
[2026-09-25 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65e8da0012d80a54005dcb3380001003f23..."} 
[2026-09-25 07:53:05] local.INFO: Processing buffer {"connection_id":191881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65e8da0012d80a54005dcb3380001003f23..."} 
[2026-09-25 07:53:05] local.INFO: Packet analysis {"connection_id":191881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:53:05] local.INFO: Extracted packet for processing {"connection_id":191881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349880,"longitude_deg":76.3405632,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":35,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317540096001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177069378008303616,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790302916000,"timestamp_ms":1790302916000,"timestamp_seconds":1790302916,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65e8da0"} 
[2026-09-25 07: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-25 07:53:05] 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-25 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435545201,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3596215864,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158264325,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278802497998467920,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-5525916738484493312,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147867827,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024999,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4186112000,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702738944,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57887062422869307,"corrected_to":0} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":89,"raw_value":-1857733551346843643,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-432118698770163712,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,251,85,24,241,157,16,249,160,43,45,128,179,1,36,10,66,182,35,124,240,194,227,214,220,4,113,205,230,165,80,239,52,250,2,225,5,247,89,167,83],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0},{"io_id":247,"original":57887062422869307,"validated":0}]} 
[2026-09-25 07:53:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72127017889300720,"timestamp_seconds":72127017889300.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 07: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-25 07:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317540096001,"66":13526,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9177069378008303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317540096001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:53:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177069378008303616,"description":"Unknown IO ID 45"} 
[2026-09-25 07:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317540096001,"power":13526,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9177069378008303616}} 
[2026-09-25 07:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":191881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:53:05] local.INFO: GPS data processed {"connection_id":191881,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:53:05] local.INFO: Acknowledgment sent {"connection_id":191881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:53:26] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:26] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:26] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:53:28] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:28] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:28] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:53:30] local.INFO: TCP Data received {"connection_id":194740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:53:30] local.INFO: Processing buffer {"connection_id":194740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:53:30] local.INFO: IMEI packet received {"connection_id":194740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":194740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:53:31] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:31] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:53:31] local.INFO: IMEI packet received {"connection_id":191882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":191882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:53:33] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:33] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:53:33] local.INFO: IMEI packet received {"connection_id":192065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:53:33] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:33] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:53:33] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:53:33] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07: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-25 07:53: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-25 07: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:53:33] 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-25 07:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:53:33] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:53:33] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:53:34] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65edfa8012d80a54005dcb3380001003f24..."} 
[2026-09-25 07:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65edfa8012d80a54005dcb3380001003f24..."} 
[2026-09-25 07:53:34] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65edfa8012d80a54005dcb3380001003f24..."} 
[2026-09-25 07:53:34] local.INFO: Packet analysis {"connection_id":192065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:53:34] local.INFO: Extracted packet for processing {"connection_id":192065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65e"} 
[2026-09-25 07:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763405632,"raw_latitude":98349880,"longitude_deg":76.3405632,"latitude_deg":9.834988,"altitude":1,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d80a540","hex_latitude":"05dcb338","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317546496001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663804833857536,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790302937000,"timestamp_ms":1790302937000,"timestamp_seconds":1790302937,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65edfa8"} 
[2026-09-25 07: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-25 07:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 07:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317546496001,"66":13526,"251":206,"85":15104,"24":0,"16":135663804833857536,"45":-9176858271775770624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317546496001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:53:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663804833857536,"km_value":135663804833857.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317546496001,"power":13526,"unknown_251":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":192065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:53:34] local.INFO: GPS data processed {"connection_id":192065,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:53:34] local.INFO: Acknowledgment sent {"connection_id":192065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:54:04] local.INFO: TCP Data received {"connection_id":191882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:04] local.INFO: Processing buffer {"connection_id":191882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:04] local.INFO: Packet analysis {"connection_id":191882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:54:04] local.INFO: Extracted packet for processing {"connection_id":191882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07: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-25 07:54: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-25 07: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":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":191882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:54:04] local.INFO: GPS data processed {"connection_id":191882,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:54:04] local.INFO: Acknowledgment sent {"connection_id":191882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:54:04] local.INFO: TCP Data received {"connection_id":192065,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65f2dc8012d80a48005dcb3b00000011925..."} 
[2026-09-25 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65f2dc8012d80a48005dcb3b00000011925..."} 
[2026-09-25 07:54:04] local.INFO: Processing buffer {"connection_id":192065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65f2dc8012d80a48005dcb3b00000011925..."} 
[2026-09-25 07:54:04] local.INFO: Packet analysis {"connection_id":192065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65f"} 
[2026-09-25 07:54:04] local.INFO: Extracted packet for processing {"connection_id":192065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65f"} 
[2026-09-25 07:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763405440,"raw_latitude":98350000,"longitude_deg":76.340544,"latitude_deg":9.835,"altitude":0,"angle":281,"satellites":37,"speed":2,"hex_longitude":"2d80a480","hex_latitude":"05dcb3b0","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317551872001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135663813423792128,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176858271775770624,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302957000,"timestamp_ms":1790302957000,"timestamp_seconds":1790302957,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65f2dc8"} 
[2026-09-25 07: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-25 07:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 07:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 07:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317551872001,"66":13678,"251":206,"85":15104,"24":2,"16":135663813423792128,"45":-9176858271775770624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 07:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 07:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317551872001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 07:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135663813423792128,"km_value":135663813423792.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176858271775770624,"description":"Unknown IO ID 45"} 
[2026-09-25 07:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317551872001,"power":13678,"unknown_251":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9176858271775770624}} 
[2026-09-25 07:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":192065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:54:05] local.INFO: GPS data processed {"connection_id":192065,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:54:05] local.INFO: Acknowledgment sent {"connection_id":192065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:54:11] local.INFO: TCP Data received {"connection_id":194741,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:54:11] local.INFO: Processing buffer {"connection_id":194741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:54:11] local.INFO: IMEI packet received {"connection_id":194741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":194741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:54:26] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:26] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:26] local.INFO: IMEI packet received {"connection_id":191883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":191883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:54:31] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:31] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:54:31] local.INFO: IMEI packet received {"connection_id":191883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":191883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:54:32] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:32] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:54:32] local.INFO: Packet analysis {"connection_id":191883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:54:32] local.INFO: Extracted packet for processing {"connection_id":191883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:54:32] 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-25 07:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:54: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-25 07:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:54:32] 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-25 07:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":191883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:54:32] local.INFO: GPS data processed {"connection_id":191883,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:54:32] local.INFO: Acknowledgment sent {"connection_id":191883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:55:04] local.INFO: TCP Data received {"connection_id":191883,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:04] local.INFO: Processing buffer {"connection_id":191883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d65c4b80012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:04] local.INFO: Packet analysis {"connection_id":191883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:55:04] local.INFO: Extracted packet for processing {"connection_id":191883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d65c"} 
[2026-09-25 07:55: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-25 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317431552001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55: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-25 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790302768000,"timestamp_ms":1790302768000,"timestamp_seconds":1790302768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d65c4b80"} 
[2026-09-25 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:55: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-25 07:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317431552001,"66":25321,"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-25 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317431552001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:55: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-25 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317431552001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":191883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:55:04] local.INFO: GPS data processed {"connection_id":191883,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:55:04] local.INFO: Acknowledgment sent {"connection_id":191883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:55:10] local.INFO: TCP Data received {"connection_id":194743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:10] local.INFO: Processing buffer {"connection_id":194743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:10] local.INFO: IMEI packet received {"connection_id":194743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":194743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:55:11] local.INFO: TCP Data received {"connection_id":194743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:11] local.INFO: Processing buffer {"connection_id":194743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:11] local.INFO: IMEI packet received {"connection_id":194743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":194743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:55:13] local.INFO: TCP Data received {"connection_id":194743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:13] local.INFO: Processing buffer {"connection_id":194743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:13] local.INFO: IMEI packet received {"connection_id":194743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 07:55:13] local.ERROR: TCP Connection error {"connection_id":194743,"code":2,"message":"client closed"} 
[2026-09-25 07:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":194743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:55:31] local.INFO: TCP Data received {"connection_id":191884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:31] local.INFO: Processing buffer {"connection_id":191884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:31] local.INFO: IMEI packet received {"connection_id":191884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":191884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:55:33] local.INFO: TCP Data received {"connection_id":191885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:33] local.INFO: Processing buffer {"connection_id":191885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 07:55:33] local.INFO: IMEI packet received {"connection_id":191885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 07:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":191885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:55:36] local.INFO: TCP Data received {"connection_id":191884,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:36] local.INFO: Processing buffer {"connection_id":191884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:55:36] local.INFO: IMEI packet received {"connection_id":191884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":191884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:55:37] local.INFO: TCP Data received {"connection_id":191884,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:37] local.INFO: Processing buffer {"connection_id":191884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:37] local.INFO: Packet analysis {"connection_id":191884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:55:37] local.INFO: Extracted packet for processing {"connection_id":191884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:55: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:55: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-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":191884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:55:37] local.INFO: GPS data processed {"connection_id":191884,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:55:37] local.INFO: Acknowledgment sent {"connection_id":191884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:55:42] local.INFO: TCP Data received {"connection_id":191884,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:42] local.INFO: Processing buffer {"connection_id":191884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:55:42] local.INFO: Packet analysis {"connection_id":191884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:55:42] local.INFO: Extracted packet for processing {"connection_id":191884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:55: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:55: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-25 07:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":191884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:55:42] local.INFO: GPS data processed {"connection_id":191884,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:55:42] local.INFO: Acknowledgment sent {"connection_id":191884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:56:26] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:26] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:26] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:56:31] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:31] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:56:31] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:56:32] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:56:32] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:56:32] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:56:32] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:56:32] 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-25 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:56:32] 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-25 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:56:32] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:56:32] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:57:04] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:04] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:04] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:57:04] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07: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-25 07:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:57:04] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:57:04] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:57:26] local.INFO: TCP Data received {"connection_id":194745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:26] local.INFO: Processing buffer {"connection_id":194745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:26] local.INFO: IMEI packet received {"connection_id":194745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":194745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:57:31] local.INFO: TCP Data received {"connection_id":194745,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:31] local.INFO: Processing buffer {"connection_id":194745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:57:31] local.INFO: IMEI packet received {"connection_id":194745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":194745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:57:32] local.INFO: TCP Data received {"connection_id":194745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:32] local.INFO: Processing buffer {"connection_id":194745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:57:32] local.INFO: Packet analysis {"connection_id":194745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:57:32] local.INFO: Extracted packet for processing {"connection_id":194745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:57:32] 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-25 07:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 07:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:57: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-25 07:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:57:32] 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-25 07:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":194745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:57:32] local.INFO: GPS data processed {"connection_id":194745,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:57:32] local.INFO: Acknowledgment sent {"connection_id":194745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:58:04] local.INFO: TCP Data received {"connection_id":194745,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:04] local.INFO: Processing buffer {"connection_id":194745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:04] local.INFO: Packet analysis {"connection_id":194745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:58:04] local.INFO: Extracted packet for processing {"connection_id":194745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07: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-25 07: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-25 07:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07: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-25 07:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":194745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:58:04] local.INFO: GPS data processed {"connection_id":194745,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:58:04] local.INFO: Acknowledgment sent {"connection_id":194745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:58:26] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:26] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:26] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:58:31] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:31] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:58:31] local.INFO: IMEI packet received {"connection_id":192069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":192069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:58:32] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:32] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:58:32] local.INFO: Packet analysis {"connection_id":192069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:58:32] local.INFO: Extracted packet for processing {"connection_id":192069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:58:32] 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-25 07:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:58:32] 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-25 07:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:58:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 07:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":192069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:58:32] local.INFO: GPS data processed {"connection_id":192069,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:58:32] local.INFO: Acknowledgment sent {"connection_id":192069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:59:04] local.INFO: TCP Data received {"connection_id":192069,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:04] local.INFO: Processing buffer {"connection_id":192069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:04] local.INFO: Packet analysis {"connection_id":192069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:59:04] local.INFO: Extracted packet for processing {"connection_id":192069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07: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-25 07:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07: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-25 07:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07: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-25 07:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07: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-25 07: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-25 07:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07: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-25 07:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":192069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:59:04] local.INFO: GPS data processed {"connection_id":192069,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:59:04] local.INFO: Acknowledgment sent {"connection_id":192069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:59:31] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:31] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:31] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 07:59:36] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:36] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 07:59:36] local.INFO: IMEI packet received {"connection_id":191887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":191887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 07:59:37] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:37] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:37] local.INFO: Packet analysis {"connection_id":191887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:59:37] local.INFO: Extracted packet for processing {"connection_id":191887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:59: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 07:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 07:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 07:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:59: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-25 07:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":191887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:59:37] local.INFO: GPS data processed {"connection_id":191887,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:59:37] local.INFO: Acknowledgment sent {"connection_id":191887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:59:41] local.INFO: TCP Data received {"connection_id":191887,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:41] local.INFO: Processing buffer {"connection_id":191887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d660e348012d34c14006aa4940000900f529..."} 
[2026-09-25 07:59:41] local.INFO: Packet analysis {"connection_id":191887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:59:41] local.INFO: Extracted packet for processing {"connection_id":191887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d660"} 
[2026-09-25 07:59: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 07:59: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-25 07:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317508608001,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 07:59: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-25 07:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790303069000,"timestamp_ms":1790303069000,"timestamp_seconds":1790303069,"priority":1,"record_length":96,"hex_timestamp":"000001a0d660e348"} 
[2026-09-25 07:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 07:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 07:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 07:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 07:59: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-25 07:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 07:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 07:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 07:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 07:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 07:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 07:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 07:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317508608001,"66":25451,"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-25 07:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 07:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 07:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317508608001,"description":"Unknown IO ID 0"} 
[2026-09-25 07:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 07:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 07:59: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-25 07:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 07:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317508608001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 07:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":191887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 07:59:41] local.INFO: GPS data processed {"connection_id":191887,"processed":1,"errors":0,"total":1} 
[2026-09-25 07:59:41] local.INFO: Acknowledgment sent {"connection_id":191887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 07:59:45] local.INFO: TCP Data received {"connection_id":194746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:59:45] local.INFO: Processing buffer {"connection_id":194746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 07:59:45] local.INFO: IMEI packet received {"connection_id":194746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 07:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":194746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:00:04] local.INFO: TCP Data received {"connection_id":193429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:00:04] local.INFO: Processing buffer {"connection_id":193429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:00:04] local.INFO: IMEI packet received {"connection_id":193429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":193429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:00:26] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:26] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:26] local.INFO: IMEI packet received {"connection_id":192070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":192070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:00:31] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:31] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:00:31] local.INFO: IMEI packet received {"connection_id":192070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":192070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:00:32] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:00:32] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:00:32] local.INFO: Packet analysis {"connection_id":192070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:00:32] local.INFO: Extracted packet for processing {"connection_id":192070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:00:32] 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-25 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:00: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-25 08:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:00:32] 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-25 08:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:00:32] 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-25 08:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":192070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:00:32] local.INFO: GPS data processed {"connection_id":192070,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:00:32] local.INFO: Acknowledgment sent {"connection_id":192070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:00:34] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:00:34] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:00:34] local.INFO: IMEI packet received {"connection_id":192071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":192071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:00:34] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d665e0a0012d7fd4c005e07f700001000325..."} 
[2026-09-25 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d665e0a0012d7fd4c005e07f700001000325..."} 
[2026-09-25 08:00:34] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d665e0a0012d7fd4c005e07f700001000325..."} 
[2026-09-25 08:00:34] local.INFO: Packet analysis {"connection_id":192071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:00:34] local.INFO: Extracted packet for processing {"connection_id":192071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763352256,"raw_latitude":98598768,"longitude_deg":76.3352256,"latitude_deg":9.8598768,"altitude":1,"angle":3,"satellites":37,"speed":30,"hex_longitude":"2d7fd4c0","hex_latitude":"05e07f70","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317668096001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135677948161163264,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211409375584923648,"note":"Value kept but may cause issues"} 
[2026-09-25 08:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790303396000,"timestamp_ms":1790303396000,"timestamp_seconds":1790303396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d665e0a0"} 
[2026-09-25 08: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-25 08:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:00:34] 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-25 08: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-25 08: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-25 08:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317668096001,"66":13559,"121":206,"85":15104,"24":30,"16":135677948161163264,"45":9211409375584923648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-25 08:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317668096001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-25 08:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135677948161163264,"km_value":135677948161163.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211409375584923648,"description":"Unknown IO ID 45"} 
[2026-09-25 08:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317668096001,"power":13559,"unknown_121":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9211409375584923648}} 
[2026-09-25 08:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":192071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:00:34] local.INFO: GPS data processed {"connection_id":192071,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:00:34] local.INFO: Acknowledgment sent {"connection_id":192071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:01:03] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:03] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:03] local.INFO: Packet analysis {"connection_id":192070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:01:03] local.INFO: Extracted packet for processing {"connection_id":192070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:01: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01: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-25 08:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:01:03] 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-25 08:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:01:03] 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-25 08:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:01: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-25 08:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":192070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:01:03] local.INFO: GPS data processed {"connection_id":192070,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:01:03] local.INFO: Acknowledgment sent {"connection_id":192070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:01:05] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66607b0012d7fd78005e0a3a80001000625..."} 
[2026-09-25 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66607b0012d7fd78005e0a3a80001000625..."} 
[2026-09-25 08:01:05] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66607b0012d7fd78005e0a3a80001000625..."} 
[2026-09-25 08:01:05] local.INFO: Packet analysis {"connection_id":192071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:05] local.INFO: Extracted packet for processing {"connection_id":192071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763352960,"raw_latitude":98608040,"longitude_deg":76.335296,"latitude_deg":9.860804,"altitude":1,"angle":6,"satellites":37,"speed":36,"hex_longitude":"2d7fd780","hex_latitude":"05e0a3a8","is_valid_coordinates":true} 
[2026-09-25 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317669376001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135678399132729344,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211198269353324544,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790303406000,"timestamp_ms":1790303406000,"timestamp_seconds":1790303406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66607b0"} 
[2026-09-25 08:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:01:05] 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-25 08:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:01:05] 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-25 08:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317669376001,"66":13472,"121":206,"85":15104,"24":36,"16":135678399132729344,"45":9211198269353324544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-25 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317669376001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:01:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-25 08:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135678399132729344,"km_value":135678399132729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211198269353324544,"description":"Unknown IO ID 45"} 
[2026-09-25 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317669376001,"power":13472,"unknown_121":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9211198269353324544}} 
[2026-09-25 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":192071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:01:05] local.INFO: GPS data processed {"connection_id":192071,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:01:05] local.INFO: Acknowledgment sent {"connection_id":192071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:01:26] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:26] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:26] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:01:30] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:30] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:30] local.INFO: IMEI packet received {"connection_id":191888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":191888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:01:31] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:31] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:01:31] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:01:32] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:32] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:01:32] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:01:32] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:01:32] 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-25 08:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:01:32] 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-25 08:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:01:32] 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-25 08:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:01:32] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:01:32] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:01:33] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:33] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:33] local.INFO: IMEI packet received {"connection_id":191888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":191888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:01:38] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:38] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:01:38] local.INFO: IMEI packet received {"connection_id":191888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":191888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:01:39] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6661368012d7fd7c005e0ad100000015f25..."} 
[2026-09-25 08:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6661368012d7fd7c005e0ad100000015f25..."} 
[2026-09-25 08:01:39] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6661368012d7fd7c005e0ad100000015f25..."} 
[2026-09-25 08:01:39] local.INFO: Packet analysis {"connection_id":191888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:39] local.INFO: Extracted packet for processing {"connection_id":191888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763353024,"raw_latitude":98610448,"longitude_deg":76.3353024,"latitude_deg":9.8610448,"altitude":0,"angle":351,"satellites":37,"speed":28,"hex_longitude":"2d7fd7c0","hex_latitude":"05e0ad10","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317671936001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135678515096846336,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211972325541652480,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790303409000,"timestamp_ms":1790303409000,"timestamp_seconds":1790303409,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6661368"} 
[2026-09-25 08: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-25 08:01:39] 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-25 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 08:01:39] 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-25 08: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-25 08: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-25 08:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317671936001,"66":13678,"121":206,"85":15104,"24":28,"16":135678515096846336,"45":9211972325541652480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-25 08:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317671936001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-25 08:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135678515096846336,"km_value":135678515096846.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211972325541652480,"description":"Unknown IO ID 45"} 
[2026-09-25 08:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317671936001,"power":13678,"unknown_121":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9211972325541652480}} 
[2026-09-25 08:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:01:39] local.INFO: GPS data processed {"connection_id":191888,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:01:39] local.INFO: Acknowledgment sent {"connection_id":191888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:01:41] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6661b38012d7fd5c005e0b2480000014725..."} 
[2026-09-25 08:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6661b38012d7fd5c005e0b2480000014725..."} 
[2026-09-25 08:01:41] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6661b38012d7fd5c005e0b2480000014725..."} 
[2026-09-25 08:01:41] local.INFO: Packet analysis {"connection_id":191888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:41] local.INFO: Extracted packet for processing {"connection_id":191888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763352512,"raw_latitude":98611784,"longitude_deg":76.3352512,"latitude_deg":9.8611784,"altitude":0,"angle":327,"satellites":37,"speed":30,"hex_longitude":"2d7fd5c0","hex_latitude":"05e0b248","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317672704001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135678588111290368,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212042694286446592,"note":"Value kept but may cause issues"} 
[2026-09-25 08:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790303411000,"timestamp_ms":1790303411000,"timestamp_seconds":1790303411,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6661b38"} 
[2026-09-25 08: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-25 08:01:41] 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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:01:41] 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-25 08: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-25 08: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-25 08:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317672704001,"66":13678,"121":206,"85":15104,"24":30,"16":135678588111290368,"45":9212042694286446592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-25 08:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317672704001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:01:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-25 08:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135678588111290368,"km_value":135678588111290.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212042694286446592,"description":"Unknown IO ID 45"} 
[2026-09-25 08:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317672704001,"power":13678,"unknown_121":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9212042694286446592}} 
[2026-09-25 08:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":191888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:01:41] local.INFO: GPS data processed {"connection_id":191888,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:01:41] local.INFO: Acknowledgment sent {"connection_id":191888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:02:04] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:04] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:04] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:02:04] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08: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-25 08:02: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-25 08: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:02:04] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:02:04] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:02:12] local.INFO: TCP Data received {"connection_id":191888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6662308012d7fd14005e0b7180000013925..."} 
[2026-09-25 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6662308012d7fd14005e0b7180000013925..."} 
[2026-09-25 08:02:12] local.INFO: Processing buffer {"connection_id":191888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6662308012d7fd14005e0b7180000013925..."} 
[2026-09-25 08:02:12] local.INFO: Packet analysis {"connection_id":191888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:02:12] local.INFO: Extracted packet for processing {"connection_id":191888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d666"} 
[2026-09-25 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763351360,"raw_latitude":98613016,"longitude_deg":76.335136,"latitude_deg":9.8613016,"altitude":0,"angle":313,"satellites":37,"speed":35,"hex_longitude":"2d7fd140","hex_latitude":"05e0b718","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317673216001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135678669715668992,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211479744333367296,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790303413000,"timestamp_ms":1790303413000,"timestamp_seconds":1790303413,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6662308"} 
[2026-09-25 08: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-25 08:02: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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317673216001,"66":13678,"121":206,"85":15104,"24":35,"16":135678669715668992,"45":9211479744333367296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-09-25 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317673216001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:02:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-25 08:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135678669715668992,"km_value":135678669715668.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211479744333367296,"description":"Unknown IO ID 45"} 
[2026-09-25 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317673216001,"power":13678,"unknown_121":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9211479744333367296}} 
[2026-09-25 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":191888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:02:12] local.INFO: GPS data processed {"connection_id":191888,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:02:12] local.INFO: Acknowledgment sent {"connection_id":191888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:02:25] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:25] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:25] local.INFO: IMEI packet received {"connection_id":192073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":192073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:02:26] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:26] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:26] local.INFO: IMEI packet received {"connection_id":193432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":193432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:02:27] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:27] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:27] local.INFO: IMEI packet received {"connection_id":192073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":192073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:02:28] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:28] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:28] local.INFO: IMEI packet received {"connection_id":192073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:02:31] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:31] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:02:31] local.INFO: IMEI packet received {"connection_id":193432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":193432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:02:32] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:32] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:02:32] local.INFO: Packet analysis {"connection_id":193432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:02:32] local.INFO: Extracted packet for processing {"connection_id":193432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:02:32] 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-25 08:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:02:32] 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-25 08:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:02:32] 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-25 08:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":193432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:02:32] local.INFO: GPS data processed {"connection_id":193432,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:02:32] local.INFO: Acknowledgment sent {"connection_id":193432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:02:33] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:33] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:02:33] local.INFO: IMEI packet received {"connection_id":192073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:02:34] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d667ec10012d7ec20005e0f2a80000010524..."} 
[2026-09-25 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d667ec10012d7ec20005e0f2a80000010524..."} 
[2026-09-25 08:02:34] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d667ec10012d7ec20005e0f2a80000010524..."} 
[2026-09-25 08:02:34] local.INFO: Packet analysis {"connection_id":192073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:02:34] local.INFO: Extracted packet for processing {"connection_id":192073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763281920,"raw_latitude":98628264,"longitude_deg":76.328192,"latitude_deg":9.8628264,"altitude":0,"angle":261,"satellites":36,"speed":27,"hex_longitude":"2d7ec200","hex_latitude":"05e0f2a8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317701120001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135682238833491968,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141322106392604672,"note":"Value kept but may cause issues"} 
[2026-09-25 08:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790303530000,"timestamp_ms":1790303530000,"timestamp_seconds":1790303530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d667ec10"} 
[2026-09-25 08: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-25 08:02:34] 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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:02:34] 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-25 08: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-25 08: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-25 08:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317701120001,"66":13678,"103":206,"85":15104,"24":27,"16":135682238833491968,"45":9141322106392604672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-25 08:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317701120001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:02:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 08:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135682238833491968,"km_value":135682238833491.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141322106392604672,"description":"Unknown IO ID 45"} 
[2026-09-25 08:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317701120001,"power":13678,"unknown_103":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9141322106392604672}} 
[2026-09-25 08:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":192073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:02:34] local.INFO: GPS data processed {"connection_id":192073,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:02:34] local.INFO: Acknowledgment sent {"connection_id":192073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:03:04] local.INFO: TCP Data received {"connection_id":193432,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:04] local.INFO: Processing buffer {"connection_id":193432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:04] local.INFO: Packet analysis {"connection_id":193432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:03:04] local.INFO: Extracted packet for processing {"connection_id":193432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08: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-25 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":193432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:03:04] local.INFO: GPS data processed {"connection_id":193432,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:03:04] local.INFO: Acknowledgment sent {"connection_id":193432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:03:05] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d667f7c8012d7eba4005e0f078000000f724..."} 
[2026-09-25 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d667f7c8012d7eba4005e0f078000000f724..."} 
[2026-09-25 08:03:05] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d667f7c8012d7eba4005e0f078000000f724..."} 
[2026-09-25 08:03:05] local.INFO: Packet analysis {"connection_id":192073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:03:05] local.INFO: Extracted packet for processing {"connection_id":192073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763279936,"raw_latitude":98627704,"longitude_deg":76.3279936,"latitude_deg":9.8627704,"altitude":0,"angle":247,"satellites":36,"speed":27,"hex_longitude":"2d7eba40","hex_latitude":"05e0f078","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317703680001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135682337617739776,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133863019509622784,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790303533000,"timestamp_ms":1790303533000,"timestamp_seconds":1790303533,"priority":1,"record_length":96,"hex_timestamp":"000001a0d667f7c8"} 
[2026-09-25 08: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-25 08:03:05] 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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:03:05] 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-25 08: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-25 08: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-25 08:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317703680001,"66":13646,"103":206,"85":15104,"24":27,"16":135682337617739776,"45":9133863019509622784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-25 08:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317703680001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:03:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 08:03:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135682337617739776,"km_value":135682337617739.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133863019509622784,"description":"Unknown IO ID 45"} 
[2026-09-25 08:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317703680001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9133863019509622784}} 
[2026-09-25 08:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":192073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:03:05] local.INFO: GPS data processed {"connection_id":192073,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:03:05] local.INFO: Acknowledgment sent {"connection_id":192073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:03:26] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:26] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:26] local.INFO: IMEI packet received {"connection_id":191889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":191889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:03:28] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:28] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:28] local.INFO: IMEI packet received {"connection_id":191890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":191890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:03:31] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:31] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:03:31] local.INFO: IMEI packet received {"connection_id":191889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":191889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:03:31] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:31] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:31] local.INFO: IMEI packet received {"connection_id":191890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":191890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:03:32] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:32] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:03:32] local.INFO: Packet analysis {"connection_id":191889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:03:32] local.INFO: Extracted packet for processing {"connection_id":191889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:03:32] 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-25 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:03: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-25 08:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:03:32] 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-25 08:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:03:32] 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-25 08:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":191889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:03:32] local.INFO: GPS data processed {"connection_id":191889,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:03:32] local.INFO: Acknowledgment sent {"connection_id":191889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:03:33] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:33] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:03:33] local.INFO: IMEI packet received {"connection_id":191890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:03:34] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d667ff98012d7eb54005e0ed18000100e624..."} 
[2026-09-25 08:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d667ff98012d7eb54005e0ed18000100e624..."} 
[2026-09-25 08:03:34] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d667ff98012d7eb54005e0ed18000100e624..."} 
[2026-09-25 08:03:34] local.INFO: Packet analysis {"connection_id":191890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:03:34] local.INFO: Extracted packet for processing {"connection_id":191890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d667"} 
[2026-09-25 08:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763278656,"raw_latitude":98626840,"longitude_deg":76.3278656,"latitude_deg":9.862684,"altitude":1,"angle":230,"satellites":36,"speed":33,"hex_longitude":"2d7eb540","hex_latitude":"05e0ed18","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317704448001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135682410632183808,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131681588439971840,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790303535000,"timestamp_ms":1790303535000,"timestamp_seconds":1790303535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d667ff98"} 
[2026-09-25 08: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-25 08:03:34] 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-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317704448001,"66":13646,"103":206,"85":15104,"24":33,"16":135682410632183808,"45":9131681588439971840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-25 08:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317704448001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:03:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 08:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135682410632183808,"km_value":135682410632183.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131681588439971840,"description":"Unknown IO ID 45"} 
[2026-09-25 08:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317704448001,"power":13646,"unknown_103":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9131681588439971840}} 
[2026-09-25 08:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":191890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:03:34] local.INFO: GPS data processed {"connection_id":191890,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:03:34] local.INFO: Acknowledgment sent {"connection_id":191890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:03:38] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6681ed8012d7ea30005e0dd98000200f524..."} 
[2026-09-25 08:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6681ed8012d7ea30005e0dd98000200f524..."} 
[2026-09-25 08:03:38] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6681ed8012d7ea30005e0dd98000200f524..."} 
[2026-09-25 08:03:38] local.INFO: Packet analysis {"connection_id":191890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d668"} 
[2026-09-25 08:03:38] local.INFO: Extracted packet for processing {"connection_id":191890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d668"} 
[2026-09-25 08:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":98622872,"longitude_deg":76.3273984,"latitude_deg":9.8622872,"altitude":2,"angle":245,"satellites":36,"speed":26,"hex_longitude":"2d7ea300","hex_latitude":"05e0dd98","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317704960001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135682706984927232,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274213556197376,"note":"Value kept but may cause issues"} 
[2026-09-25 08:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790303543000,"timestamp_ms":1790303543000,"timestamp_seconds":1790303543,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6681ed8"} 
[2026-09-25 08: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-25 08:03:38] 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-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317704960001,"66":13537,"103":206,"85":15104,"24":26,"16":135682706984927232,"45":9130274213556197376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-25 08:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317704960001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:03:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 08:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135682706984927232,"km_value":135682706984927.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274213556197376,"description":"Unknown IO ID 45"} 
[2026-09-25 08:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317704960001,"power":13537,"unknown_103":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9130274213556197376}} 
[2026-09-25 08:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":191890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:03:38] local.INFO: GPS data processed {"connection_id":191890,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:03:38] local.INFO: Acknowledgment sent {"connection_id":191890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:04:04] local.INFO: TCP Data received {"connection_id":191889,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:04] local.INFO: Processing buffer {"connection_id":191889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:04] local.INFO: Packet analysis {"connection_id":191889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:04:04] local.INFO: Extracted packet for processing {"connection_id":191889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"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-25 08:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":191889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:04:04] local.INFO: GPS data processed {"connection_id":191889,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:04:04] local.INFO: Acknowledgment sent {"connection_id":191889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:04:09] local.INFO: TCP Data received {"connection_id":191890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66826a8012d7e9dc005e0dc400002010625..."} 
[2026-09-25 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66826a8012d7e9dc005e0dc400002010625..."} 
[2026-09-25 08:04:09] local.INFO: Processing buffer {"connection_id":191890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66826a8012d7e9dc005e0dc400002010625..."} 
[2026-09-25 08:04:09] local.INFO: Packet analysis {"connection_id":191890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d668"} 
[2026-09-25 08:04:09] local.INFO: Extracted packet for processing {"connection_id":191890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d668"} 
[2026-09-25 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763272640,"raw_latitude":98622528,"longitude_deg":76.327264,"latitude_deg":9.8622528,"altitude":2,"angle":262,"satellites":37,"speed":28,"hex_longitude":"2d7e9dc0","hex_latitude":"05e0dc40","is_valid_coordinates":true} 
[2026-09-25 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317707008001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135682775704403968,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125137295230212096,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790303545000,"timestamp_ms":1790303545000,"timestamp_seconds":1790303545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66826a8"} 
[2026-09-25 08:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:04:09] 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-25 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 08:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317707008001,"66":13472,"103":206,"85":15104,"24":28,"16":135682775704403968,"45":9125137295230212096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-09-25 08:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317707008001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135682775704403968,"km_value":135682775704403.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125137295230212096,"description":"Unknown IO ID 45"} 
[2026-09-25 08:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317707008001,"power":13472,"unknown_103":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9125137295230212096}} 
[2026-09-25 08:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":191890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:04:09] local.INFO: GPS data processed {"connection_id":191890,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:04:09] local.INFO: Acknowledgment sent {"connection_id":191890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:04:26] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:26] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:26] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:04:27] local.INFO: TCP Data received {"connection_id":191892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:27] local.INFO: Processing buffer {"connection_id":191892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:27] local.INFO: IMEI packet received {"connection_id":191892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":191892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:04:28] local.INFO: TCP Data received {"connection_id":191892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:28] local.INFO: Processing buffer {"connection_id":191892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:28] local.INFO: IMEI packet received {"connection_id":191892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":191892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:04:31] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:31] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:04:31] local.INFO: IMEI packet received {"connection_id":191891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":191891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:04:33] local.INFO: TCP Data received {"connection_id":191892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:33] local.INFO: Processing buffer {"connection_id":191892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:04:33] local.INFO: IMEI packet received {"connection_id":191892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":191892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:04:33] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:33] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:04:33] local.INFO: Packet analysis {"connection_id":191891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:04:33] local.INFO: Extracted packet for processing {"connection_id":191891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08: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-25 08: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-25 08: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:04: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-25 08: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-25 08: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-25 08:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:04:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:04:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":191891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:04:33] local.INFO: GPS data processed {"connection_id":191891,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:04:33] local.INFO: Acknowledgment sent {"connection_id":191891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:04:34] local.INFO: TCP Data received {"connection_id":191892,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d669c8a0012d7e1e8005e121480003001525..."} 
[2026-09-25 08:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d669c8a0012d7e1e8005e121480003001525..."} 
[2026-09-25 08:04:34] local.INFO: Processing buffer {"connection_id":191892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d669c8a0012d7e1e8005e121480003001525..."} 
[2026-09-25 08:04:34] local.INFO: Packet analysis {"connection_id":191892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d669"} 
[2026-09-25 08:04:34] local.INFO: Extracted packet for processing {"connection_id":191892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d669"} 
[2026-09-25 08:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98640200,"longitude_deg":76.3240064,"latitude_deg":9.86402,"altitude":3,"angle":21,"satellites":37,"speed":29,"hex_longitude":"2d7e1e80","hex_latitude":"05e12148","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317733888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135685314030075904,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086223379703744512,"note":"Value kept but may cause issues"} 
[2026-09-25 08:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790303652000,"timestamp_ms":1790303652000,"timestamp_seconds":1790303652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d669c8a0"} 
[2026-09-25 08: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-25 08:04:34] 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-25 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 08:04:34] 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-25 08: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-25 08: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-25 08:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317733888001,"66":13624,"105":206,"85":15104,"24":29,"16":135685314030075904,"45":9086223379703744512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 08:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317733888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:04:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 08:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135685314030075904,"km_value":135685314030075.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086223379703744512,"description":"Unknown IO ID 45"} 
[2026-09-25 08:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317733888001,"power":13624,"unknown_105":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9086223379703744512}} 
[2026-09-25 08:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":191892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:04:34] local.INFO: GPS data processed {"connection_id":191892,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:04:34] local.INFO: Acknowledgment sent {"connection_id":191892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:05:05] local.INFO: TCP Data received {"connection_id":191891,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:05:05] local.INFO: Processing buffer {"connection_id":191891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6657b10012d34c14006aa4940000900f528..."} 
[2026-09-25 08:05:05] local.INFO: Packet analysis {"connection_id":191891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08:05:05] local.INFO: Extracted packet for processing {"connection_id":191891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d665"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317585664001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790303370000,"timestamp_ms":1790303370000,"timestamp_seconds":1790303370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6657b10"} 
[2026-09-25 08:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 08:05: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-25 08:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317585664001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317585664001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317585664001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":191891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:05:05] local.INFO: GPS data processed {"connection_id":191891,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:05:05] local.INFO: Acknowledgment sent {"connection_id":191891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:05:08] local.INFO: TCP Data received {"connection_id":191892,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d669d070012d7e1fc005e126c80003000a24..."} 
[2026-09-25 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d669d070012d7e1fc005e126c80003000a24..."} 
[2026-09-25 08:05:08] local.INFO: Processing buffer {"connection_id":191892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d669d070012d7e1fc005e126c80003000a24..."} 
[2026-09-25 08:05:08] local.INFO: Packet analysis {"connection_id":191892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d669"} 
[2026-09-25 08:05:08] local.INFO: Extracted packet for processing {"connection_id":191892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d669"} 
[2026-09-25 08:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":98641608,"longitude_deg":76.3240384,"latitude_deg":9.8641608,"altitude":3,"angle":10,"satellites":36,"speed":30,"hex_longitude":"2d7e1fc0","hex_latitude":"05e126c8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317734912001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135685382749552640,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860820486144,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790303654000,"timestamp_ms":1790303654000,"timestamp_seconds":1790303654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d669d070"} 
[2026-09-25 08: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-25 08:05:08] 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-25 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 08:05:08] 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-25 08: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-25 08: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-25 08:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317734912001,"66":13319,"105":206,"85":15104,"24":30,"16":135685382749552640,"45":9087841860820486144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 08:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317734912001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:05:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 08:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135685382749552640,"km_value":135685382749552.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860820486144,"description":"Unknown IO ID 45"} 
[2026-09-25 08:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317734912001,"power":13319,"unknown_105":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9087841860820486144}} 
[2026-09-25 08:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":191892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:05:08] local.INFO: GPS data processed {"connection_id":191892,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:05:08] local.INFO: Acknowledgment sent {"connection_id":191892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:05:28] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:05:28] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:28] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:05:30] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:30] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:30] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:05:31] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:31] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:05:31] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:05:31] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:31] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:31] local.INFO: IMEI packet received {"connection_id":193435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":193435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:05:35] local.INFO: TCP Data received {"connection_id":193434,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:05:35] local.INFO: Processing buffer {"connection_id":193434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:05:35] local.INFO: IMEI packet received {"connection_id":193434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":193434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:05:36] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:36] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:05:36] local.INFO: IMEI packet received {"connection_id":193435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":193435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:05:37] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:37] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:37] local.INFO: Packet analysis {"connection_id":193435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:05:37] local.INFO: Extracted packet for processing {"connection_id":193435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:05: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:05: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-25 08:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":193435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:05:37] local.INFO: GPS data processed {"connection_id":193435,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:05:37] local.INFO: Acknowledgment sent {"connection_id":193435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:05:42] local.INFO: TCP Data received {"connection_id":193435,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:42] local.INFO: Processing buffer {"connection_id":193435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:05:42] local.INFO: Packet analysis {"connection_id":193435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:05:42] local.INFO: Extracted packet for processing {"connection_id":193435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:05: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:05: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-25 08:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":193435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:05:42] local.INFO: GPS data processed {"connection_id":193435,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:05:42] local.INFO: Acknowledgment sent {"connection_id":193435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:06:04] local.INFO: TCP Data received {"connection_id":192075,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:06:04] local.INFO: Processing buffer {"connection_id":192075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:06:04] local.INFO: IMEI packet received {"connection_id":192075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":192075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:06:26] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:26] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:26] local.INFO: IMEI packet received {"connection_id":192076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":192076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:06:31] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:31] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:06:31] local.INFO: IMEI packet received {"connection_id":192076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":192076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:06:32] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:06:32] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:06:32] local.INFO: Packet analysis {"connection_id":192076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:06:32] local.INFO: Extracted packet for processing {"connection_id":192076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:06:32] 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-25 08: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-25 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08: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-25 08:06: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-25 08: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":192076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:06:32] local.INFO: GPS data processed {"connection_id":192076,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:06:32] local.INFO: Acknowledgment sent {"connection_id":192076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:07:05] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:05] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:05] local.INFO: Packet analysis {"connection_id":192076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:07:05] local.INFO: Extracted packet for processing {"connection_id":192076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08: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-25 08: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-25 08:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08: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-25 08: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-25 08: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":192076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:07:05] local.INFO: GPS data processed {"connection_id":192076,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:07:05] local.INFO: Acknowledgment sent {"connection_id":192076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:07:26] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:26] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:26] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:07:31] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:31] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:07:31] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:07:32] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:32] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:07:32] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:07:32] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:07:32] 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-25 08:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:07: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-25 08:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:07:32] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:07:32] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:08:03] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:03] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:03] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:08:03] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:08: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08: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-25 08:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:08: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-25 08:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:08:03] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:08:03] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:08:26] local.INFO: TCP Data received {"connection_id":194749,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:26] local.INFO: Processing buffer {"connection_id":194749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:26] local.INFO: IMEI packet received {"connection_id":194749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":194749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:08:31] local.INFO: TCP Data received {"connection_id":194749,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:31] local.INFO: Processing buffer {"connection_id":194749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:08:31] local.INFO: IMEI packet received {"connection_id":194749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":194749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:08:32] local.INFO: TCP Data received {"connection_id":194749,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:32] local.INFO: Processing buffer {"connection_id":194749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:08:32] local.INFO: Packet analysis {"connection_id":194749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:08:32] local.INFO: Extracted packet for processing {"connection_id":194749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:08:32] 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-25 08:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:08: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-25 08:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":194749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:08:32] local.INFO: GPS data processed {"connection_id":194749,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:08:32] local.INFO: Acknowledgment sent {"connection_id":194749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:09:03] local.INFO: TCP Data received {"connection_id":194749,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:03] local.INFO: Processing buffer {"connection_id":194749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:03] local.INFO: Packet analysis {"connection_id":194749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:09:03] local.INFO: Extracted packet for processing {"connection_id":194749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:09: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09: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-25 08:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:09: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-25 08:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":194749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:09:03] local.INFO: GPS data processed {"connection_id":194749,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:09:03] local.INFO: Acknowledgment sent {"connection_id":194749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:09:26] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:26] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:26] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:09:31] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:31] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:09:31] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:09:32] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:32] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:09:32] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:09:32] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:09:32] 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-25 08:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:09: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-25 08:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:09:32] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:09:32] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:10:04] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:04] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66a12d8012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:04] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08:10:04] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66a"} 
[2026-09-25 08: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317662720001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303671000,"timestamp_ms":1790303671000,"timestamp_seconds":1790303671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66a12d8"} 
[2026-09-25 08: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-25 08:10: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-25 08:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317662720001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317662720001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317662720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:10:04] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:10:04] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:10:31] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:31] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:31] local.INFO: IMEI packet received {"connection_id":191898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":191898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:10:33] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:10:33] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:10:33] local.INFO: IMEI packet received {"connection_id":191897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":191897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:10:34] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66f0c48012d7be90005e1dad80002011920..."} 
[2026-09-25 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66f0c48012d7be90005e1dad80002011920..."} 
[2026-09-25 08:10:34] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66f0c48012d7be90005e1dad80002011920..."} 
[2026-09-25 08:10:34] local.INFO: Packet analysis {"connection_id":191897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66f"} 
[2026-09-25 08:10:34] local.INFO: Extracted packet for processing {"connection_id":191897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66f"} 
[2026-09-25 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763095296,"raw_latitude":98687704,"longitude_deg":76.3095296,"latitude_deg":9.8687704,"altitude":2,"angle":281,"satellites":32,"speed":22,"hex_longitude":"2d7be900","hex_latitude":"05e1dad8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317821952001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135695789455310848,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932538042432442368,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790303997000,"timestamp_ms":1790303997000,"timestamp_seconds":1790303997,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66f0c48"} 
[2026-09-25 08: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-25 08:10:34] 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-25 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 08:10:34] 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-25 08: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-25 08: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-25 08:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317821952001,"66":13559,"43":206,"85":15104,"24":22,"16":135695789455310848,"45":8932538042432442368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 08:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317821952001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:10:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 08:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135695789455310848,"km_value":135695789455310.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932538042432442368,"description":"Unknown IO ID 45"} 
[2026-09-25 08:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317821952001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8932538042432442368}} 
[2026-09-25 08:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":191897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:10:34] local.INFO: GPS data processed {"connection_id":191897,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:10:34] local.INFO: Acknowledgment sent {"connection_id":191897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:10:36] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:36] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:10:36] local.INFO: IMEI packet received {"connection_id":191898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":191898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:10:37] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:37] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:37] local.INFO: Packet analysis {"connection_id":191898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:10:37] local.INFO: Extracted packet for processing {"connection_id":191898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:10: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:10: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-25 08:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":191898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:10:37] local.INFO: GPS data processed {"connection_id":191898,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:10:37] local.INFO: Acknowledgment sent {"connection_id":191898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:10:42] local.INFO: TCP Data received {"connection_id":191898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:42] local.INFO: Processing buffer {"connection_id":191898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:10:42] local.INFO: Packet analysis {"connection_id":191898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:10:42] local.INFO: Extracted packet for processing {"connection_id":191898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:10: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:10: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-25 08:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":191898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:10:42] local.INFO: GPS data processed {"connection_id":191898,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:10:42] local.INFO: Acknowledgment sent {"connection_id":191898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:11:05] local.INFO: TCP Data received {"connection_id":191897,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66f3740012d7bd7c005e1dd480004010d22..."} 
[2026-09-25 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66f3740012d7bd7c005e1dd480004010d22..."} 
[2026-09-25 08:11:05] local.INFO: Processing buffer {"connection_id":191897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66f3740012d7bd7c005e1dd480004010d22..."} 
[2026-09-25 08:11:05] local.INFO: Packet analysis {"connection_id":191897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66f"} 
[2026-09-25 08:11:05] local.INFO: Extracted packet for processing {"connection_id":191897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66f"} 
[2026-09-25 08:11:05] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98688328,"longitude_deg":76.309088,"latitude_deg":9.8688328,"altitude":4,"angle":269,"satellites":34,"speed":23,"hex_longitude":"2d7bd7c0","hex_latitude":"05e1dd48","is_valid_coordinates":true} 
[2026-09-25 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317823232001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135696004203675648,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928667761502771200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304008000,"timestamp_ms":1790304008000,"timestamp_seconds":1790304008,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66f3740"} 
[2026-09-25 08:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:11:05] 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-25 08:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:11:05] 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-25 08:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317823232001,"66":13678,"43":206,"85":15104,"24":23,"16":135696004203675648,"45":8928667761502771200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 08:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317823232001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:11:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 08:11:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135696004203675648,"km_value":135696004203675.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928667761502771200,"description":"Unknown IO ID 45"} 
[2026-09-25 08:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317823232001,"power":13678,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8928667761502771200}} 
[2026-09-25 08:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":191897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:11:05] local.INFO: GPS data processed {"connection_id":191897,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:11:05] local.INFO: Acknowledgment sent {"connection_id":191897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:11:26] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:26] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:26] local.INFO: IMEI packet received {"connection_id":194750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":194750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:11:26] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:26] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:26] local.INFO: IMEI packet received {"connection_id":193438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":193438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:11:28] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: IMEI packet received {"connection_id":194750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":194750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:11:28] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:28] local.INFO: IMEI packet received {"connection_id":194750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":194750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:11:30] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:30] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:11:30] local.INFO: IMEI packet received {"connection_id":194750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":194750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:11:30] local.INFO: TCP Data received {"connection_id":192081,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:11:30] local.INFO: Processing buffer {"connection_id":192081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:11:30] local.INFO: IMEI packet received {"connection_id":192081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:11:31] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6706020012d7b400005e1aac0000600e523..."} 
[2026-09-25 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6706020012d7b400005e1aac0000600e523..."} 
[2026-09-25 08:11:31] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6706020012d7b400005e1aac0000600e523..."} 
[2026-09-25 08:11:31] local.INFO: Packet analysis {"connection_id":194750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:11:31] local.INFO: Extracted packet for processing {"connection_id":194750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763052032,"raw_latitude":98675392,"longitude_deg":76.3052032,"latitude_deg":9.8675392,"altitude":6,"angle":229,"satellites":35,"speed":5,"hex_longitude":"2d7b4000","hex_latitude":"05e1aac0","is_valid_coordinates":true} 
[2026-09-25 08:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317843712001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881872546621599744,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135698027133272064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790304084000,"timestamp_ms":1790304084000,"timestamp_seconds":1790304084,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6706020"} 
[2026-09-25 08:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 08:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317843712001,"66":13537,"45":8881872546621599744,"85":15104,"24":5,"16":135698027133272064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317843712001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881872546621599744,"description":"Unknown IO ID 45"} 
[2026-09-25 08:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135698027133272064,"km_value":135698027133272.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:11:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317843712001,"power":13537,"unknown_45":8881872546621599744,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-09-25 08:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":194750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:11:31] local.INFO: GPS data processed {"connection_id":194750,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:11:31] local.INFO: Acknowledgment sent {"connection_id":194750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:11:31] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:31] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:11:31] local.INFO: IMEI packet received {"connection_id":193438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":193438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:11:32] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:11:32] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:11:32] local.INFO: Packet analysis {"connection_id":193438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:11:32] local.INFO: Extracted packet for processing {"connection_id":193438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:11:32] 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-25 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":193438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:11:32] local.INFO: GPS data processed {"connection_id":193438,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:11:32] local.INFO: Acknowledgment sent {"connection_id":193438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:12:01] local.INFO: TCP Data received {"connection_id":194750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67067f0012d7b3f4005e1a9b8000600cd20..."} 
[2026-09-25 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67067f0012d7b3f4005e1a9b8000600cd20..."} 
[2026-09-25 08:12:01] local.INFO: Processing buffer {"connection_id":194750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67067f0012d7b3f4005e1a9b8000600cd20..."} 
[2026-09-25 08:12:01] local.INFO: Packet analysis {"connection_id":194750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:12:01] local.INFO: Extracted packet for processing {"connection_id":194750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98675128,"longitude_deg":76.305184,"latitude_deg":9.8675128,"altitude":6,"angle":205,"satellites":32,"speed":7,"hex_longitude":"2d7b3f40","hex_latitude":"05e1a9b8","is_valid_coordinates":true} 
[2026-09-25 08:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317845504001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881098490435518464,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135698044313141248,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790304086000,"timestamp_ms":1790304086000,"timestamp_seconds":1790304086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67067f0"} 
[2026-09-25 08:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:12:01] 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-25 08:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 08:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317845504001,"66":13559,"45":8881098490435518464,"85":15104,"24":7,"16":135698044313141248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317845504001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881098490435518464,"description":"Unknown IO ID 45"} 
[2026-09-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135698044313141248,"km_value":135698044313141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:12:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317845504001,"power":13559,"unknown_45":8881098490435518464,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-09-25 08:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":194750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:12:01] local.INFO: GPS data processed {"connection_id":194750,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:12:01] local.INFO: Acknowledgment sent {"connection_id":194750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:12:03] local.INFO: TCP Data received {"connection_id":193438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:03] local.INFO: Processing buffer {"connection_id":193438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:03] local.INFO: Packet analysis {"connection_id":193438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:12:03] local.INFO: Extracted packet for processing {"connection_id":193438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:12: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12: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-25 08:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:12: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-25 08:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":193438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:12:03] local.INFO: GPS data processed {"connection_id":193438,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:12:03] local.INFO: Acknowledgment sent {"connection_id":193438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:12:05] local.INFO: TCP Data received {"connection_id":191899,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:12:05] local.INFO: Processing buffer {"connection_id":191899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:12:05] local.INFO: IMEI packet received {"connection_id":191899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":191899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:12:26] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:26] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:26] local.INFO: IMEI packet received {"connection_id":191900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":191900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:12:27] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:27] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:27] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:12:28] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:28] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:28] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:12:31] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:31] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:12:31] local.INFO: IMEI packet received {"connection_id":191900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":191900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:12:32] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:32] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:12:32] local.INFO: Packet analysis {"connection_id":191900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:12:32] local.INFO: Extracted packet for processing {"connection_id":191900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:12:32] 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-25 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:12: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-25 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":191900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:12:32] local.INFO: GPS data processed {"connection_id":191900,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:12:32] local.INFO: Acknowledgment sent {"connection_id":191900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:12:33] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:33] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:12:33] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:12:34] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6706fc0012d7b3f0005e1a7e0000700ba21..."} 
[2026-09-25 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6706fc0012d7b3f0005e1a7e0000700ba21..."} 
[2026-09-25 08:12:34] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6706fc0012d7b3f0005e1a7e0000700ba21..."} 
[2026-09-25 08:12:34] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:12:34] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d670"} 
[2026-09-25 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98674656,"longitude_deg":76.3051776,"latitude_deg":9.8674656,"altitude":7,"angle":186,"satellites":33,"speed":10,"hex_longitude":"2d7b3f00","hex_latitude":"05e1a7e0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317846016001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384202917888,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135698065787977728,"note":"Value kept but may cause issues"} 
[2026-09-25 08:12:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304088000,"timestamp_ms":1790304088000,"timestamp_seconds":1790304088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6706fc0"} 
[2026-09-25 08: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-25 08:12:34] 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-25 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:12:34] 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-25 08: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-25 08: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-25 08:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317846016001,"66":13602,"45":8880887384202917888,"85":15104,"24":10,"16":135698065787977728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317846016001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384202917888,"description":"Unknown IO ID 45"} 
[2026-09-25 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135698065787977728,"km_value":135698065787977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317846016001,"power":13602,"unknown_45":8880887384202917888,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-25 08:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:12:34] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:12:34] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:13:04] local.INFO: TCP Data received {"connection_id":191900,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:04] local.INFO: Processing buffer {"connection_id":191900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:04] local.INFO: Packet analysis {"connection_id":191900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:13:04] local.INFO: Extracted packet for processing {"connection_id":191900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08: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-25 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":191900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:13:04] local.INFO: GPS data processed {"connection_id":191900,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:13:04] local.INFO: Acknowledgment sent {"connection_id":191900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:13:05] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6717d48012d7b39c005e1a4d80000016516..."} 
[2026-09-25 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6717d48012d7b39c005e1a4d80000016516..."} 
[2026-09-25 08:13:05] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6717d48012d7b39c005e1a4d80000016516..."} 
[2026-09-25 08:13:05] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:13:05] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763050432,"raw_latitude":98673880,"longitude_deg":76.3050432,"latitude_deg":9.867388,"altitude":0,"angle":357,"satellites":22,"speed":26,"hex_longitude":"2d7b39c0","hex_latitude":"05e1a4d8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317861120001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909223534592,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135699989933326336,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304157000,"timestamp_ms":1790304157000,"timestamp_seconds":1790304157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6717d48"} 
[2026-09-25 08: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-25 08:13:05] 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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:13:05] 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-25 08: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-25 08: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-25 08:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317861120001,"66":13504,"45":8880605909223534592,"85":15104,"24":26,"16":135699989933326336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317861120001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909223534592,"description":"Unknown IO ID 45"} 
[2026-09-25 08:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135699989933326336,"km_value":135699989933326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:13:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317861120001,"power":13504,"unknown_45":8880605909223534592,"unknown_85":15104,"ignition":26,"odometer":null}} 
[2026-09-25 08:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:13:05] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:13:05] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:13:26] local.INFO: TCP Data received {"connection_id":191901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:26] local.INFO: Processing buffer {"connection_id":191901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:26] local.INFO: IMEI packet received {"connection_id":191901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":191901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:13:28] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:28] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:28] local.INFO: IMEI packet received {"connection_id":193440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:13:31] local.INFO: TCP Data received {"connection_id":191901,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:31] local.INFO: Processing buffer {"connection_id":191901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:13:31] local.INFO: IMEI packet received {"connection_id":191901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":191901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:13:32] local.INFO: TCP Data received {"connection_id":191901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:32] local.INFO: Processing buffer {"connection_id":191901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:13:32] local.INFO: Packet analysis {"connection_id":191901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:13:32] local.INFO: Extracted packet for processing {"connection_id":191901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:13:32] 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-25 08:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:13: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-25 08:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":191901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:13:32] local.INFO: GPS data processed {"connection_id":191901,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:13:32] local.INFO: Acknowledgment sent {"connection_id":191901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:13:33] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:33] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:13:33] local.INFO: IMEI packet received {"connection_id":193440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":193440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:13:34] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d671ac28012d7b368005e1c7a80000016514..."} 
[2026-09-25 08:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d671ac28012d7b368005e1c7a80000016514..."} 
[2026-09-25 08:13:34] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d671ac28012d7b368005e1c7a80000016514..."} 
[2026-09-25 08:13:34] local.INFO: Packet analysis {"connection_id":193440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:13:34] local.INFO: Extracted packet for processing {"connection_id":193440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98682792,"longitude_deg":76.30496,"latitude_deg":9.8682792,"altitude":0,"angle":357,"satellites":20,"speed":29,"hex_longitude":"2d7b3680","hex_latitude":"05e1c7a8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317864192001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879339271830689792,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135700428019990528,"note":"Value kept but may cause issues"} 
[2026-09-25 08:13:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304169000,"timestamp_ms":1790304169000,"timestamp_seconds":1790304169,"priority":1,"record_length":96,"hex_timestamp":"000001a0d671ac28"} 
[2026-09-25 08: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-25 08:13:34] 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-25 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 08:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317864192001,"66":12428,"45":8879339271830689792,"85":15104,"24":29,"16":135700428019990528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317864192001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879339271830689792,"description":"Unknown IO ID 45"} 
[2026-09-25 08:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135700428019990528,"km_value":135700428019990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:13:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317864192001,"power":12428,"unknown_45":8879339271830689792,"unknown_85":15104,"ignition":29,"odometer":null}} 
[2026-09-25 08:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":193440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:13:34] local.INFO: GPS data processed {"connection_id":193440,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:13:34] local.INFO: Acknowledgment sent {"connection_id":193440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:14:03] local.INFO: TCP Data received {"connection_id":191901,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:03] local.INFO: Processing buffer {"connection_id":191901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:03] local.INFO: Packet analysis {"connection_id":191901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:14:03] local.INFO: Extracted packet for processing {"connection_id":191901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:14: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14: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-25 08:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:14: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-25 08:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":191901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:14:03] local.INFO: GPS data processed {"connection_id":191901,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:14:03] local.INFO: Acknowledgment sent {"connection_id":191901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:14:05] local.INFO: TCP Data received {"connection_id":193440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d671d720012d7b334005e1ec200000016216..."} 
[2026-09-25 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d671d720012d7b334005e1ec200000016216..."} 
[2026-09-25 08:14:05] local.INFO: Processing buffer {"connection_id":193440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d671d720012d7b334005e1ec200000016216..."} 
[2026-09-25 08:14:05] local.INFO: Packet analysis {"connection_id":193440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:14:05] local.INFO: Extracted packet for processing {"connection_id":193440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d671"} 
[2026-09-25 08:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98692128,"longitude_deg":76.3048768,"latitude_deg":9.8692128,"altitude":0,"angle":354,"satellites":22,"speed":40,"hex_longitude":"2d7b3340","hex_latitude":"05e1ec20","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317867264001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478158661632,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135700883286523904,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304180000,"timestamp_ms":1790304180000,"timestamp_seconds":1790304180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d671d720"} 
[2026-09-25 08: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-25 08:14:05] 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-25 08: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 08:14:05] 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-25 08: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-25 08: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-25 08:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317867264001,"66":12939,"45":8878424478158661632,"85":15104,"24":40,"16":135700883286523904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317867264001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478158661632,"description":"Unknown IO ID 45"} 
[2026-09-25 08:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135700883286523904,"km_value":135700883286523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:14:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317867264001,"power":12939,"unknown_45":8878424478158661632,"unknown_85":15104,"ignition":40,"odometer":null}} 
[2026-09-25 08:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":193440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:14:05] local.INFO: GPS data processed {"connection_id":193440,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:14:05] local.INFO: Acknowledgment sent {"connection_id":193440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:14:26] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:26] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:26] local.INFO: IMEI packet received {"connection_id":191902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":191902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:14:28] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:28] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:28] local.INFO: IMEI packet received {"connection_id":192083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":192083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:14:31] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:31] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:31] local.INFO: IMEI packet received {"connection_id":192083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":192083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:14:31] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:31] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:14:31] local.INFO: IMEI packet received {"connection_id":191902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":191902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:14:32] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:32] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:14:32] local.INFO: Packet analysis {"connection_id":191902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:14:32] local.INFO: Extracted packet for processing {"connection_id":191902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:14:32] 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-25 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:14: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-25 08:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":191902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:14:32] local.INFO: GPS data processed {"connection_id":191902,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:14:32] local.INFO: Acknowledgment sent {"connection_id":191902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:14:33] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:33] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:14:33] local.INFO: IMEI packet received {"connection_id":192083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":192083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:14:34] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6721988012d7b2e4005e20f480000015e15..."} 
[2026-09-25 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6721988012d7b2e4005e20f480000015e15..."} 
[2026-09-25 08:14:34] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6721988012d7b2e4005e20f480000015e15..."} 
[2026-09-25 08:14:34] local.INFO: Packet analysis {"connection_id":192083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:14:34] local.INFO: Extracted packet for processing {"connection_id":192083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763047488,"raw_latitude":98701128,"longitude_deg":76.3047488,"latitude_deg":9.8701128,"altitude":0,"angle":350,"satellites":21,"speed":14,"hex_longitude":"2d7b2e40","hex_latitude":"05e20f48","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317870080001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684486742016,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135701321373188096,"note":"Value kept but may cause issues"} 
[2026-09-25 08:14:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304197000,"timestamp_ms":1790304197000,"timestamp_seconds":1790304197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6721988"} 
[2026-09-25 08: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-25 08:14:34] 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-25 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-25 08:14:34] 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-25 08: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-25 08: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-25 08:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317870080001,"66":13319,"45":8877509684486742016,"85":15104,"24":14,"16":135701321373188096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317870080001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684486742016,"description":"Unknown IO ID 45"} 
[2026-09-25 08:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135701321373188096,"km_value":135701321373188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:14:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317870080001,"power":13319,"unknown_45":8877509684486742016,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-09-25 08:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":192083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:14:34] local.INFO: GPS data processed {"connection_id":192083,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:14:34] local.INFO: Acknowledgment sent {"connection_id":192083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:15:04] local.INFO: TCP Data received {"connection_id":191902,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:04] local.INFO: Processing buffer {"connection_id":191902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d66eaaa0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:04] local.INFO: Packet analysis {"connection_id":191902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:15:04] local.INFO: Extracted packet for processing {"connection_id":191902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d66e"} 
[2026-09-25 08:15: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-25 08:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317739776001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15: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-25 08:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790303972000,"timestamp_ms":1790303972000,"timestamp_seconds":1790303972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d66eaaa0"} 
[2026-09-25 08:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317739776001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317739776001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:15: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-25 08:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317739776001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":191902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:15:04] local.INFO: GPS data processed {"connection_id":191902,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:15:04] local.INFO: Acknowledgment sent {"connection_id":191902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:15:05] local.INFO: TCP Data received {"connection_id":192083,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6725fd8012d7b2b4005e233480000016215..."} 
[2026-09-25 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6725fd8012d7b2b4005e233480000016215..."} 
[2026-09-25 08:15:05] local.INFO: Processing buffer {"connection_id":192083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6725fd8012d7b2b4005e233480000016215..."} 
[2026-09-25 08:15:05] local.INFO: Packet analysis {"connection_id":192083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:15:05] local.INFO: Extracted packet for processing {"connection_id":192083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763046720,"raw_latitude":98710344,"longitude_deg":76.304672,"latitude_deg":9.8710344,"altitude":0,"angle":354,"satellites":21,"speed":25,"hex_longitude":"2d7b2b40","hex_latitude":"05e23348","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317874432001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876102309605492736,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135701776639721472,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304215000,"timestamp_ms":1790304215000,"timestamp_seconds":1790304215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6725fd8"} 
[2026-09-25 08: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-25 08:15:05] 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-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3597732864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":225,"raw_value":6669831073926617856,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":583217446597722117,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3780995072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,27,160,215,64,236,22,10,66,172,128,199,20,26,125,192,1,240,227,214,225,4,113,205,29,15,68,184,28,239,53,2,226,5,6,11,88],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-09-25 08:15:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384919264952320,"timestamp_seconds":384919264952.32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317874432001,"66":13798,"45":8876102309605492736,"85":15104,"24":25,"16":135701776639721472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317874432001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876102309605492736,"description":"Unknown IO ID 45"} 
[2026-09-25 08:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135701776639721472,"km_value":135701776639721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:15:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317874432001,"power":13798,"unknown_45":8876102309605492736,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-09-25 08:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":192083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:15:05] local.INFO: GPS data processed {"connection_id":192083,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:15:05] local.INFO: Acknowledgment sent {"connection_id":192083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:15:28] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:28] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:28] local.INFO: IMEI packet received {"connection_id":193442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":193442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:15:31] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:31] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:31] local.INFO: IMEI packet received {"connection_id":191903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":191903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:15:33] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:33] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:15:33] local.INFO: IMEI packet received {"connection_id":193442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":193442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:15:34] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67292a0012d7b26c005e258780000016114..."} 
[2026-09-25 08:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67292a0012d7b26c005e258780000016114..."} 
[2026-09-25 08:15:34] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67292a0012d7b26c005e258780000016114..."} 
[2026-09-25 08:15:34] local.INFO: Packet analysis {"connection_id":193442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:15:34] local.INFO: Extracted packet for processing {"connection_id":193442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98719864,"longitude_deg":76.3045568,"latitude_deg":9.8719864,"altitude":0,"angle":353,"satellites":20,"speed":30,"hex_longitude":"2d7b26c0","hex_latitude":"05e25878","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317879040001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875257884677720064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135702240496189440,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304228000,"timestamp_ms":1790304228000,"timestamp_seconds":1790304228,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67292a0"} 
[2026-09-25 08: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-25 08:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 08:15:34] 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-25 08: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-25 08: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-25 08:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317879040001,"66":13602,"45":8875257884677720064,"85":15104,"24":30,"16":135702240496189440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317879040001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875257884677720064,"description":"Unknown IO ID 45"} 
[2026-09-25 08:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135702240496189440,"km_value":135702240496189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:15:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317879040001,"power":13602,"unknown_45":8875257884677720064,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-09-25 08:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":193442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:15:35] local.INFO: GPS data processed {"connection_id":193442,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:15:35] local.INFO: Acknowledgment sent {"connection_id":193442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:15:36] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:36] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:15:36] local.INFO: IMEI packet received {"connection_id":191903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":191903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:15:37] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:37] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:37] local.INFO: Packet analysis {"connection_id":191903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:15:37] local.INFO: Extracted packet for processing {"connection_id":191903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:15: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:15: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-25 08:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":191903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:15:37] local.INFO: GPS data processed {"connection_id":191903,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:15:37] local.INFO: Acknowledgment sent {"connection_id":191903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:15:42] local.INFO: TCP Data received {"connection_id":191903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:42] local.INFO: Processing buffer {"connection_id":191903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:15:42] local.INFO: Packet analysis {"connection_id":191903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:15:42] local.INFO: Extracted packet for processing {"connection_id":191903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:15: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08: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-25 08:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:15: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-25 08:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":191903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:15:42] local.INFO: GPS data processed {"connection_id":191903,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:15:42] local.INFO: Acknowledgment sent {"connection_id":191903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:16:06] local.INFO: TCP Data received {"connection_id":193442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d672b9b0012d7b214005e27e900000015f15..."} 
[2026-09-25 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d672b9b0012d7b214005e27e900000015f15..."} 
[2026-09-25 08:16:06] local.INFO: Processing buffer {"connection_id":193442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d672b9b0012d7b214005e27e900000015f15..."} 
[2026-09-25 08:16:06] local.INFO: Packet analysis {"connection_id":193442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:16:06] local.INFO: Extracted packet for processing {"connection_id":193442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d672"} 
[2026-09-25 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98729616,"longitude_deg":76.304416,"latitude_deg":9.8729616,"altitude":0,"angle":351,"satellites":21,"speed":39,"hex_longitude":"2d7b2140","hex_latitude":"05e27e90","is_valid_coordinates":true} 
[2026-09-25 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-25 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317882368001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247284959232,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135702717237559296,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790304238000,"timestamp_ms":1790304238000,"timestamp_seconds":1790304238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d672b9b0"} 
[2026-09-25 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-25 08:16:06] 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-25 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 08:16:06] 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-25 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-25 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-25 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317882368001,"66":12798,"45":8873991247284959232,"85":15104,"24":39,"16":135702717237559296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317882368001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247284959232,"description":"Unknown IO ID 45"} 
[2026-09-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135702717237559296,"km_value":135702717237559.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458317882368001,"power":12798,"unknown_45":8873991247284959232,"unknown_85":15104,"ignition":39,"odometer":null}} 
[2026-09-25 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":193442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:16:06] local.INFO: GPS data processed {"connection_id":193442,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:16:06] local.INFO: Acknowledgment sent {"connection_id":193442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:16:26] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:26] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:26] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:16:31] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:31] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:16:31] local.INFO: IMEI packet received {"connection_id":191904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":191904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:16:32] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:16:32] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:16:32] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:16:32] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:16:32] 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-25 08: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-25 08:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08: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-25 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:16:32] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:16:32] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:16:32] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:32] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:32] local.INFO: IMEI packet received {"connection_id":192084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":192084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:16:33] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:33] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:33] local.INFO: IMEI packet received {"connection_id":192084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":192084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:16:35] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:35] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:16:35] local.INFO: IMEI packet received {"connection_id":192084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":192084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:16:36] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d674e848012d7ad88005e3e0700003015920..."} 
[2026-09-25 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d674e848012d7ad88005e3e0700003015920..."} 
[2026-09-25 08:16:36] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d674e848012d7ad88005e3e0700003015920..."} 
[2026-09-25 08:16:36] local.INFO: Packet analysis {"connection_id":192084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d674"} 
[2026-09-25 08:16:36] local.INFO: Extracted packet for processing {"connection_id":192084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d674"} 
[2026-09-25 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763025536,"raw_latitude":98820208,"longitude_deg":76.3025536,"latitude_deg":9.8820208,"altitude":3,"angle":345,"satellites":32,"speed":42,"hex_longitude":"2d7ad880","hex_latitude":"05e3e070","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317919232001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135707244133089280,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854991686380224512,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790304381000,"timestamp_ms":1790304381000,"timestamp_seconds":1790304381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d674e848"} 
[2026-09-25 08: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-25 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3597887864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2147869489,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743839,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-1432144681480678400,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809419264,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3659175992088461317,"note":"Value kept but may cause issues"} 
[2026-09-25 08:16:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,32,160,158,45,192,153,1,36,10,66,91,64,118,31,40,240,94,227,214,4,113,205,175,7,128,20,239,53,2,226,5,21,12,115],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 08:16:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216547874495594496,"timestamp_seconds":216547874495594.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317919232001,"66":13580,"208":206,"85":15104,"24":42,"16":135707244133089280,"45":8854991686380224512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317919232001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:16:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135707244133089280,"km_value":135707244133089.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854991686380224512,"description":"Unknown IO ID 45"} 
[2026-09-25 08:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317919232001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8854991686380224512}} 
[2026-09-25 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:16:36] local.INFO: GPS data processed {"connection_id":192084,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:16:36] local.INFO: Acknowledgment sent {"connection_id":192084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:17:03] local.INFO: TCP Data received {"connection_id":191904,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:03] local.INFO: Processing buffer {"connection_id":191904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:03] local.INFO: Packet analysis {"connection_id":191904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:17:03] local.INFO: Extracted packet for processing {"connection_id":191904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:17: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17: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-25 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:17: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-25 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":191904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:17:03] local.INFO: GPS data processed {"connection_id":191904,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:17:03] local.INFO: Acknowledgment sent {"connection_id":191904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:17:26] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:26] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:26] local.INFO: IMEI packet received {"connection_id":192085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":192085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:17:28] local.INFO: TCP Data received {"connection_id":192084,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6750b70012d7ad0c005e404a00003015d20..."} 
[2026-09-25 08:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6750b70012d7ad0c005e404a00003015d20..."} 
[2026-09-25 08:17:28] local.INFO: Processing buffer {"connection_id":192084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6750b70012d7ad0c005e404a00003015d20..."} 
[2026-09-25 08:17:28] local.INFO: Packet analysis {"connection_id":192084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:17:28] local.INFO: Extracted packet for processing {"connection_id":192084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763023552,"raw_latitude":98829472,"longitude_deg":76.3023552,"latitude_deg":9.8829472,"altitude":3,"angle":349,"satellites":32,"speed":38,"hex_longitude":"2d7ad0c0","hex_latitude":"05e404a0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317921536001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135707703694589952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851965830383038464,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790304390000,"timestamp_ms":1790304390000,"timestamp_seconds":1790304390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6750b70"} 
[2026-09-25 08: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-25 08:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637022,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3597905864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7209700143661056010,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636284017598416,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916939833658965,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811672064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":123,"raw_value":792640007186677760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,33,160,197,45,64,187,3,37,10,66,32,158,192,153,1,36,91,240,138,227,31,214,4,113,205,19,120,20,239,53,2,226,5,21,123,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 08:17:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216552251067072512,"timestamp_seconds":216552251067072.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317921536001,"66":13461,"208":206,"85":15104,"24":38,"16":135707703694589952,"45":8851965830383038464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317921536001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:17:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135707703694589952,"km_value":135707703694589.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851965830383038464,"description":"Unknown IO ID 45"} 
[2026-09-25 08:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317921536001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8851965830383038464}} 
[2026-09-25 08:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":192084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:17:28] local.INFO: GPS data processed {"connection_id":192084,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:17:28] local.INFO: Acknowledgment sent {"connection_id":192084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:17:30] local.INFO: TCP Data received {"connection_id":193444,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:17:30] local.INFO: Processing buffer {"connection_id":193444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:17:30] local.INFO: IMEI packet received {"connection_id":193444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":193444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:17:31] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:31] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:17:31] local.INFO: IMEI packet received {"connection_id":192085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":192085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:17:32] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:32] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:17:32] local.INFO: Packet analysis {"connection_id":192085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:17:32] local.INFO: Extracted packet for processing {"connection_id":192085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:17:32] 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-25 08:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:17:32] 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-25 08:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"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-25 08:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":192085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:17:32] local.INFO: GPS data processed {"connection_id":192085,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:17:32] local.INFO: Acknowledgment sent {"connection_id":192085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:17:33] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:33] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:33] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:17:38] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:38] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:17:38] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:17:38] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6751728012d7acd8005e40f180004014f20..."} 
[2026-09-25 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6751728012d7acd8005e40f180004014f20..."} 
[2026-09-25 08:17:38] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6751728012d7acd8005e40f180004014f20..."} 
[2026-09-25 08:17:38] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:17:38] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832152,"longitude_deg":76.302272,"latitude_deg":9.8832152,"altitude":4,"angle":335,"satellites":32,"speed":37,"hex_longitude":"2d7acd80","hex_latitude":"05e40f18","is_valid_coordinates":true} 
[2026-09-25 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317923840001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135707841133543424,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849784399315902464,"note":"Value kept but may cause issues"} 
[2026-09-25 08:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790304393000,"timestamp_ms":1790304393000,"timestamp_seconds":1790304393,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6751728"} 
[2026-09-25 08:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 08:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317923840001,"66":13254,"208":206,"85":15104,"24":37,"16":135707841133543424,"45":8849784399315902464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317923840001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:17:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135707841133543424,"km_value":135707841133543.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849784399315902464,"description":"Unknown IO ID 45"} 
[2026-09-25 08:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317923840001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8849784399315902464}} 
[2026-09-25 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:17:39] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:17:39] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:03] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:03] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:03] local.INFO: Packet analysis {"connection_id":192085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:18:03] local.INFO: Extracted packet for processing {"connection_id":192085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:18: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18: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-25 08:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:18:03] 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-25 08:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"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-25 08:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:18: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-25 08:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":192085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:18:03] local.INFO: GPS data processed {"connection_id":192085,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:18:03] local.INFO: Acknowledgment sent {"connection_id":192085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:05] local.INFO: TCP Data received {"connection_id":192087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:18:05] local.INFO: Processing buffer {"connection_id":192087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:18:05] local.INFO: IMEI packet received {"connection_id":192087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":192087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:18:26] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:26] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:26] local.INFO: IMEI packet received {"connection_id":193445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":193445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:18:29] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6751ef8012d7ac94005e415180004013f24..."} 
[2026-09-25 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6751ef8012d7ac94005e415180004013f24..."} 
[2026-09-25 08:18:29] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6751ef8012d7ac94005e415180004013f24..."} 
[2026-09-25 08:18:29] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:18:29] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d675"} 
[2026-09-25 08:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98833688,"longitude_deg":76.3021632,"latitude_deg":9.8833688,"altitude":4,"angle":319,"satellites":36,"speed":37,"hex_longitude":"2d7ac940","hex_latitude":"05e41518","is_valid_coordinates":true} 
[2026-09-25 08:18: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-25 08:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317924608001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135707931327856640,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642278912,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790304395000,"timestamp_ms":1790304395000,"timestamp_seconds":1790304395,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6751ef8"} 
[2026-09-25 08:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:18:29] 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-25 08:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 08:18:29] 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-25 08:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317924608001,"66":13189,"208":206,"85":15104,"24":37,"16":135707931327856640,"45":8848869605642278912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317924608001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:18:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135707931327856640,"km_value":135707931327856.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642278912,"description":"Unknown IO ID 45"} 
[2026-09-25 08:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317924608001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8848869605642278912}} 
[2026-09-25 08:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:18:29] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:18:29] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:31] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:31] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:18:31] local.INFO: IMEI packet received {"connection_id":193445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:18:32] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:32] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:18:32] local.INFO: Packet analysis {"connection_id":193445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:18:32] local.INFO: Extracted packet for processing {"connection_id":193445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:18:32] 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-25 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:18:32] 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-25 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"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-25 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":193445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:18:32] local.INFO: GPS data processed {"connection_id":193445,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:18:32] local.INFO: Acknowledgment sent {"connection_id":193445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:52] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: IMEI packet received {"connection_id":191905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":191905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:18:52] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:18:52] local.INFO: IMEI packet received {"connection_id":191905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":191905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:18:53] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d676b920012d7a050005e4a1a0000200f51f..."} 
[2026-09-25 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d676b920012d7a050005e4a1a0000200f51f..."} 
[2026-09-25 08:18:53] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d676b920012d7a050005e4a1a0000200f51f..."} 
[2026-09-25 08:18:53] local.INFO: Packet analysis {"connection_id":191905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:18:53] local.INFO: Extracted packet for processing {"connection_id":191905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":762971392,"raw_latitude":98869664,"longitude_deg":76.2971392,"latitude_deg":9.8869664,"altitude":2,"angle":245,"satellites":31,"speed":27,"hex_longitude":"2d7a0500","hex_latitude":"05e4a1a0","is_valid_coordinates":true} 
[2026-09-25 08:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317947904001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711182618099712,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802004022030512128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790304500000,"timestamp_ms":1790304500000,"timestamp_seconds":1790304500,"priority":1,"record_length":96,"hex_timestamp":"000001a0d676b920"} 
[2026-09-25 08:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 08:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317947904001,"66":13624,"95":206,"87":13824,"24":27,"16":135711182618099712,"45":8802004022030512128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317947904001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:18:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:18:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711182618099712,"km_value":135711182618099.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802004022030512128,"description":"Unknown IO ID 45"} 
[2026-09-25 08:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317947904001,"power":13624,"unknown_95":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8802004022030512128}} 
[2026-09-25 08:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":191905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:18:53] local.INFO: GPS data processed {"connection_id":191905,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:18:53] local.INFO: Acknowledgment sent {"connection_id":191905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:54] local.INFO: TCP Data received {"connection_id":191905,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d676ebe8012d79e40005e492c8000100f820..."} 
[2026-09-25 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d676ebe8012d79e40005e492c8000100f820..."} 
[2026-09-25 08:18:54] local.INFO: Processing buffer {"connection_id":191905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d676ebe8012d79e40005e492c8000100f820..."} 
[2026-09-25 08:18:54] local.INFO: Packet analysis {"connection_id":191905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:18:54] local.INFO: Extracted packet for processing {"connection_id":191905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762962944,"raw_latitude":98865864,"longitude_deg":76.2962944,"latitude_deg":9.8865864,"altitude":1,"angle":248,"satellites":32,"speed":11,"hex_longitude":"2d79e400","hex_latitude":"05e492c8","is_valid_coordinates":true} 
[2026-09-25 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317952000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711624999731200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792433872821395456,"note":"Value kept but may cause issues"} 
[2026-09-25 08:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790304513000,"timestamp_ms":1790304513000,"timestamp_seconds":1790304513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d676ebe8"} 
[2026-09-25 08:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 08:18:54] 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-25 08:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317952000001,"66":13417,"145":206,"87":12288,"24":11,"16":135711624999731200,"45":8792433872821395456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-25 08:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317952000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:18:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-25 08:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 08:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711624999731200,"km_value":135711624999731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792433872821395456,"description":"Unknown IO ID 45"} 
[2026-09-25 08:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317952000001,"power":13417,"unknown_145":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8792433872821395456}} 
[2026-09-25 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":191905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:18:54] local.INFO: GPS data processed {"connection_id":191905,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:18:54] local.INFO: Acknowledgment sent {"connection_id":191905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:18:57] local.INFO: TCP Data received {"connection_id":193446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:18:57] local.INFO: Processing buffer {"connection_id":193446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:18:57] local.INFO: IMEI packet received {"connection_id":193446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":193446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:19:03] local.INFO: TCP Data received {"connection_id":193446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:19:03] local.INFO: Processing buffer {"connection_id":193446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:19:03] local.INFO: IMEI packet received {"connection_id":193446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":193446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:19:03] local.INFO: TCP Data received {"connection_id":193445,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:03] local.INFO: Processing buffer {"connection_id":193445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:03] local.INFO: Packet analysis {"connection_id":193445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:19:03] local.INFO: Extracted packet for processing {"connection_id":193445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:19: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19: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-25 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:19:03] 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-25 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"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-25 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:19: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-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":193445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:19:03] local.INFO: GPS data processed {"connection_id":193445,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:19:03] local.INFO: Acknowledgment sent {"connection_id":193445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:19:04] local.INFO: TCP Data received {"connection_id":193446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-25 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-25 08:19:04] local.INFO: Processing buffer {"connection_id":193446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-09-25 08:19:04] local.INFO: Packet analysis {"connection_id":193446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 08:19:04] local.INFO: Extracted packet for processing {"connection_id":193446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:04] 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-25 08:19:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":32000,"timestamp_seconds":32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08:19:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193446,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193446,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193446,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 08:19:04] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":193446,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 08:19:04] local.ERROR: GPS data processing failed {"connection_id":193446,"error":"No valid data to process"} 
[2026-09-25 08:19:04] local.INFO: Acknowledgment sent {"connection_id":193446,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 08:19:26] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:26] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:26] local.INFO: IMEI packet received {"connection_id":193447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":193447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:19:28] local.INFO: TCP Data received {"connection_id":192088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:28] local.INFO: Processing buffer {"connection_id":192088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:28] local.INFO: IMEI packet received {"connection_id":192088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":192088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:19:31] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:31] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:19:31] local.INFO: IMEI packet received {"connection_id":193447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":193447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:19:32] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:32] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:19:32] local.INFO: Packet analysis {"connection_id":193447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:19:32] local.INFO: Extracted packet for processing {"connection_id":193447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:19:32] 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-25 08:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":193447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:19:32] local.INFO: GPS data processed {"connection_id":193447,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:19:32] local.INFO: Acknowledgment sent {"connection_id":193447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:19:33] local.INFO: TCP Data received {"connection_id":192088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:33] local.INFO: Processing buffer {"connection_id":192088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:19:33] local.INFO: IMEI packet received {"connection_id":192088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":192088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:19:34] local.INFO: TCP Data received {"connection_id":192088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d676efd0012d79e34005e492a80001010821..."} 
[2026-09-25 08:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d676efd0012d79e34005e492a80001010821..."} 
[2026-09-25 08:19:34] local.INFO: Processing buffer {"connection_id":192088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d676efd0012d79e34005e492a80001010821..."} 
[2026-09-25 08:19:34] local.INFO: Packet analysis {"connection_id":192088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:19:34] local.INFO: Extracted packet for processing {"connection_id":192088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:19:34] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":98865832,"longitude_deg":76.2962752,"latitude_deg":9.8865832,"altitude":1,"angle":264,"satellites":33,"speed":10,"hex_longitude":"2d79e340","hex_latitude":"05e492a8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317955328001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711637884633088,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198588971008,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304514000,"timestamp_ms":1790304514000,"timestamp_seconds":1790304514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d676efd0"} 
[2026-09-25 08: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-25 08:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-25 08:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317955328001,"66":13678,"145":206,"87":12288,"24":10,"16":135711637884633088,"45":8783145198588971008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-25 08:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317955328001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:19:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-25 08:19:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 08:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711637884633088,"km_value":135711637884633.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198588971008,"description":"Unknown IO ID 45"} 
[2026-09-25 08:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317955328001,"power":13678,"unknown_145":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8783145198588971008}} 
[2026-09-25 08:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":192088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:19:34] local.INFO: GPS data processed {"connection_id":192088,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:19:34] local.INFO: Acknowledgment sent {"connection_id":192088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:19:40] local.INFO: TCP Data received {"connection_id":193446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-25 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193446,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-25 08:19:40] local.INFO: Processing buffer {"connection_id":193446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-25 08:19:40] local.INFO: Packet analysis {"connection_id":193446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 08:19:40] local.INFO: Extracted packet for processing {"connection_id":193446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 08:19:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 08:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:19:40] 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-25 08:19:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08:19:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 08:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193446,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193446,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 08:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193446,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 08:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 08:19:40] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 08:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":193446,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 08:19:40] local.ERROR: GPS data processing failed {"connection_id":193446,"error":"No valid data to process"} 
[2026-09-25 08:19:40] local.INFO: Acknowledgment sent {"connection_id":193446,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 08:20:03] local.INFO: TCP Data received {"connection_id":193447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:03] local.INFO: Processing buffer {"connection_id":193447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6734268012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:03] local.INFO: Packet analysis {"connection_id":193447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:20:03] local.INFO: Extracted packet for processing {"connection_id":193447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d673"} 
[2026-09-25 08:20: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20: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-25 08:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304273000,"timestamp_ms":1790304273000,"timestamp_seconds":1790304273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6734268"} 
[2026-09-25 08:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317816832001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:20: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-25 08:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317816832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":193447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:20:03] local.INFO: GPS data processed {"connection_id":193447,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:20:03] local.INFO: Acknowledgment sent {"connection_id":193447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:20:05] local.INFO: TCP Data received {"connection_id":192088,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d676f3b8012d79e24005e492d8000101221f..."} 
[2026-09-25 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d676f3b8012d79e24005e492d8000101221f..."} 
[2026-09-25 08:20:05] local.INFO: Processing buffer {"connection_id":192088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d676f3b8012d79e24005e492d8000101221f..."} 
[2026-09-25 08:20:05] local.INFO: Packet analysis {"connection_id":192088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:20:05] local.INFO: Extracted packet for processing {"connection_id":192088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d676"} 
[2026-09-25 08:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865880,"longitude_deg":76.2962496,"latitude_deg":9.886588,"altitude":1,"angle":290,"satellites":31,"speed":10,"hex_longitude":"2d79e240","hex_latitude":"05e492d8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317955584001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711650769534976,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782934092356429824,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304515000,"timestamp_ms":1790304515000,"timestamp_seconds":1790304515,"priority":1,"record_length":96,"hex_timestamp":"000001a0d676f3b8"} 
[2026-09-25 08: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-25 08:20:05] 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-25 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:20:05] 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-25 08: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-25 08: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-25 08:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317955584001,"66":13678,"145":206,"87":12288,"24":10,"16":135711650769534976,"45":8782934092356429824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-25 08:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317955584001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:20:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-25 08:20:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 08:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711650769534976,"km_value":135711650769534.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782934092356429824,"description":"Unknown IO ID 45"} 
[2026-09-25 08:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317955584001,"power":13678,"unknown_145":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8782934092356429824}} 
[2026-09-25 08:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":192088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:20:05] local.INFO: GPS data processed {"connection_id":192088,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:20:05] local.INFO: Acknowledgment sent {"connection_id":192088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:20:26] local.INFO: TCP Data received {"connection_id":194753,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:26] local.INFO: Processing buffer {"connection_id":194753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:26] local.INFO: IMEI packet received {"connection_id":194753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":194753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:20:31] local.INFO: TCP Data received {"connection_id":194753,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:31] local.INFO: Processing buffer {"connection_id":194753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:20:31] local.INFO: IMEI packet received {"connection_id":194753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":194753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:20:31] local.INFO: TCP Data received {"connection_id":194753,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:31] local.INFO: Processing buffer {"connection_id":194753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:20:31] local.INFO: Packet analysis {"connection_id":194753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:20:31] local.INFO: Extracted packet for processing {"connection_id":194753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:20: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20: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-25 08:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08: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-25 08:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:20:31] 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-25 08:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:20: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-25 08:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":194753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:20:32] local.INFO: GPS data processed {"connection_id":194753,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:20:32] local.INFO: Acknowledgment sent {"connection_id":194753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:20:48] local.INFO: TCP Data received {"connection_id":193448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:48] local.INFO: Processing buffer {"connection_id":193448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:48] local.INFO: IMEI packet received {"connection_id":193448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":193448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:20:53] local.INFO: TCP Data received {"connection_id":193448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:53] local.INFO: Processing buffer {"connection_id":193448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:20:53] local.INFO: IMEI packet received {"connection_id":193448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":193448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:20:54] local.INFO: TCP Data received {"connection_id":193448,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6783020012d79e10005e48ee0000000e125..."} 
[2026-09-25 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6783020012d79e10005e48ee0000000e125..."} 
[2026-09-25 08:20:54] local.INFO: Processing buffer {"connection_id":193448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6783020012d79e10005e48ee0000000e125..."} 
[2026-09-25 08:20:54] local.INFO: Packet analysis {"connection_id":193448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:20:54] local.INFO: Extracted packet for processing {"connection_id":193448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":762962176,"raw_latitude":98864864,"longitude_deg":76.2962176,"latitude_deg":9.8864864,"altitude":0,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d79e100","hex_latitude":"05e48ee0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317971200001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711783913521152,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773658583040,"note":"Value kept but may cause issues"} 
[2026-09-25 08:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790304596000,"timestamp_ms":1790304596000,"timestamp_seconds":1790304596,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6783020"} 
[2026-09-25 08: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-25 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 08:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317971200001,"66":13461,"182":206,"87":13824,"24":0,"16":135711783913521152,"45":8782300773658583040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-25 08:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317971200001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:20:54] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 08:20:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711783913521152,"km_value":135711783913521.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773658583040,"description":"Unknown IO ID 45"} 
[2026-09-25 08:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317971200001,"power":13461,"unknown_182":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782300773658583040}} 
[2026-09-25 08:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":193448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:20:54] local.INFO: GPS data processed {"connection_id":193448,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:20:54] local.INFO: Acknowledgment sent {"connection_id":193448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:21:03] local.INFO: TCP Data received {"connection_id":194753,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:03] local.INFO: Processing buffer {"connection_id":194753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:03] local.INFO: Packet analysis {"connection_id":194753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:21:03] local.INFO: Extracted packet for processing {"connection_id":194753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:21: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21: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-25 08:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:21:03] 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-25 08:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:21: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-25 08:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":194753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:21:03] local.INFO: GPS data processed {"connection_id":194753,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:21:03] local.INFO: Acknowledgment sent {"connection_id":194753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:21:26] local.INFO: TCP Data received {"connection_id":191907,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:26] local.INFO: Processing buffer {"connection_id":191907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:26] local.INFO: IMEI packet received {"connection_id":191907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":191907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:21:31] local.INFO: TCP Data received {"connection_id":191907,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:31] local.INFO: Processing buffer {"connection_id":191907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:21:31] local.INFO: IMEI packet received {"connection_id":191907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":191907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:21:32] local.INFO: TCP Data received {"connection_id":191907,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:32] local.INFO: Processing buffer {"connection_id":191907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:21:32] local.INFO: Packet analysis {"connection_id":191907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:21:32] local.INFO: Extracted packet for processing {"connection_id":191907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:21:32] 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-25 08:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:21:32] 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-25 08:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":191907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:21:32] local.INFO: GPS data processed {"connection_id":191907,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:21:32] local.INFO: Acknowledgment sent {"connection_id":191907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:21:37] local.INFO: TCP Data received {"connection_id":194754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:37] local.INFO: Processing buffer {"connection_id":194754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:37] local.INFO: IMEI packet received {"connection_id":194754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":194754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:21:38] local.INFO: TCP Data received {"connection_id":194754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:38] local.INFO: Processing buffer {"connection_id":194754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:21:38] local.INFO: IMEI packet received {"connection_id":194754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":194754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:21:39] local.INFO: TCP Data received {"connection_id":194754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6786ab8012d79e20005e48fb00000000726..."} 
[2026-09-25 08:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6786ab8012d79e20005e48fb00000000726..."} 
[2026-09-25 08:21:39] local.INFO: Processing buffer {"connection_id":194754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6786ab8012d79e20005e48fb00000000726..."} 
[2026-09-25 08:21:39] local.INFO: Packet analysis {"connection_id":194754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:21:39] local.INFO: Extracted packet for processing {"connection_id":194754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:21:39] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":98865072,"longitude_deg":76.2962432,"latitude_deg":9.8865072,"altitude":0,"angle":7,"satellites":38,"speed":6,"hex_longitude":"2d79e200","hex_latitude":"05e48fb0","is_valid_coordinates":true} 
[2026-09-25 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-25 08:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317976576001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711801093390336,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782300773658583040,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790304611000,"timestamp_ms":1790304611000,"timestamp_seconds":1790304611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6786ab8"} 
[2026-09-25 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-25 08:21:39] 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-25 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 08:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 08:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317976576001,"66":13472,"182":206,"87":13824,"24":6,"16":135711801093390336,"45":8782300773658583040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-25 08:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317976576001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:21:39] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 08:21:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711801093390336,"km_value":135711801093390.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782300773658583040,"description":"Unknown IO ID 45"} 
[2026-09-25 08:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317976576001,"power":13472,"unknown_182":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782300773658583040}} 
[2026-09-25 08:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":194754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:21:39] local.INFO: GPS data processed {"connection_id":194754,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:21:39] local.INFO: Acknowledgment sent {"connection_id":194754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:21:52] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:21:52] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:21:52] local.INFO: IMEI packet received {"connection_id":193449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":193449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:21:52] local.INFO: TCP Data received {"connection_id":194754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6787288012d79e24005e490e80000001326..."} 
[2026-09-25 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6787288012d79e24005e490e80000001326..."} 
[2026-09-25 08:21:52] local.INFO: Processing buffer {"connection_id":194754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6787288012d79e24005e490e80000001326..."} 
[2026-09-25 08:21:52] local.INFO: Packet analysis {"connection_id":194754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:21:52] local.INFO: Extracted packet for processing {"connection_id":194754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d678"} 
[2026-09-25 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":98865384,"longitude_deg":76.2962496,"latitude_deg":9.8865384,"altitude":0,"angle":19,"satellites":38,"speed":6,"hex_longitude":"2d79e240","hex_latitude":"05e490e8","is_valid_coordinates":true} 
[2026-09-25 08:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317980416001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135711813978292224,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248635346944,"note":"Value kept but may cause issues"} 
[2026-09-25 08:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790304613000,"timestamp_ms":1790304613000,"timestamp_seconds":1790304613,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6787288"} 
[2026-09-25 08:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 08:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":194754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":194754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":194754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317980416001,"66":13298,"182":206,"87":13824,"24":6,"16":135711813978292224,"45":8782582248635346944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-25 08:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317980416001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:21:52] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 08:21:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135711813978292224,"km_value":135711813978292.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248635346944,"description":"Unknown IO ID 45"} 
[2026-09-25 08:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317980416001,"power":13298,"unknown_182":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8782582248635346944}} 
[2026-09-25 08:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":194754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:21:52] local.INFO: GPS data processed {"connection_id":194754,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:21:52] local.INFO: Acknowledgment sent {"connection_id":194754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:00] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:22:00] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:22:00] local.INFO: IMEI packet received {"connection_id":193449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":193449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:22:01] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d679aef00100000000000000000000000000..."} 
[2026-09-25 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d679aef00100000000000000000000000000..."} 
[2026-09-25 08:22:01] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d679aef00100000000000000000000000000..."} 
[2026-09-25 08:22:01] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d679"} 
[2026-09-25 08:22:01] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d679"} 
[2026-09-25 08:22:01] 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-25 08:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:01] 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-25 08:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790304694000,"timestamp_ms":1790304694000,"timestamp_seconds":1790304694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d679aef0"} 
[2026-09-25 08:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:22:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 08:22:01] local.INFO: GPS data processed {"connection_id":193449,"processed":0,"errors":0,"total":1} 
[2026-09-25 08:22:01] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:03] local.INFO: TCP Data received {"connection_id":191907,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:03] local.INFO: Processing buffer {"connection_id":191907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:03] local.INFO: Packet analysis {"connection_id":191907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:22:03] local.INFO: Extracted packet for processing {"connection_id":191907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:22: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22: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-25 08:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:22:03] 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-25 08:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:22: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-25 08:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":191907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:22:03] local.INFO: GPS data processed {"connection_id":191907,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:22:03] local.INFO: Acknowledgment sent {"connection_id":191907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:26] local.INFO: TCP Data received {"connection_id":192090,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:26] local.INFO: Processing buffer {"connection_id":192090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:26] local.INFO: IMEI packet received {"connection_id":192090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":192090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:22:31] local.INFO: TCP Data received {"connection_id":192090,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:31] local.INFO: Processing buffer {"connection_id":192090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:22:31] local.INFO: IMEI packet received {"connection_id":192090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":192090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:22:32] local.INFO: TCP Data received {"connection_id":192090,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:32] local.INFO: Processing buffer {"connection_id":192090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:22:32] local.INFO: Packet analysis {"connection_id":192090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:22:32] local.INFO: Extracted packet for processing {"connection_id":192090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:22:32] 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-25 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:22:32] 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-25 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":192090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:22:32] local.INFO: GPS data processed {"connection_id":192090,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:22:32] local.INFO: Acknowledgment sent {"connection_id":192090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:32] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a00f80100000000000000000000000000..."} 
[2026-09-25 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a00f80100000000000000000000000000..."} 
[2026-09-25 08:22:32] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a00f80100000000000000000000000000..."} 
[2026-09-25 08:22:32] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:22:32] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:22:32] 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-25 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:32] 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-25 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304715000,"timestamp_ms":1790304715000,"timestamp_seconds":1790304715,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a00f8"} 
[2026-09-25 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:32] 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-25 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 08:22:32] local.INFO: GPS data processed {"connection_id":193449,"processed":0,"errors":0,"total":1} 
[2026-09-25 08:22:32] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:33] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:33] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:33] local.INFO: IMEI packet received {"connection_id":191909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":191909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:22:35] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:35] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:22:35] local.INFO: IMEI packet received {"connection_id":191909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":191909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:22:36] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d679fd10012d7a594005e47250000b008325..."} 
[2026-09-25 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d679fd10012d7a594005e47250000b008325..."} 
[2026-09-25 08:22:36] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d679fd10012d7a594005e47250000b008325..."} 
[2026-09-25 08:22:36] local.INFO: Packet analysis {"connection_id":191909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d679"} 
[2026-09-25 08:22:36] local.INFO: Extracted packet for processing {"connection_id":191909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d679"} 
[2026-09-25 08:22:36] local.INFO: GPS Element Parsed {"raw_longitude":762992960,"raw_latitude":98857552,"longitude_deg":76.299296,"latitude_deg":9.8857552,"altitude":11,"angle":131,"satellites":37,"speed":32,"hex_longitude":"2d7a5940","hex_latitude":"05e47250","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318006272001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135713746713575424,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814881502211244032,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790304714000,"timestamp_ms":1790304714000,"timestamp_seconds":1790304714,"priority":1,"record_length":96,"hex_timestamp":"000001a0d679fd10"} 
[2026-09-25 08: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-25 08:22:36] 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-25 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318006272001,"66":13678,"182":206,"87":13824,"24":32,"16":135713746713575424,"45":8814881502211244032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,87,24,16,45]} 
[2026-09-25 08:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318006272001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:22:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-25 08:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135713746713575424,"km_value":135713746713575.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814881502211244032,"description":"Unknown IO ID 45"} 
[2026-09-25 08:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318006272001,"power":13678,"unknown_182":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8814881502211244032}} 
[2026-09-25 08:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":191909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:22:36] local.INFO: GPS data processed {"connection_id":191909,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:22:36] local.INFO: Acknowledgment sent {"connection_id":191909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:22:55] local.INFO: TCP Data received {"connection_id":191909,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a2038012d7a788005e45a980009007f24..."} 
[2026-09-25 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a2038012d7a788005e45a980009007f24..."} 
[2026-09-25 08:22:55] local.INFO: Processing buffer {"connection_id":191909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a2038012d7a788005e45a980009007f24..."} 
[2026-09-25 08:22:55] local.INFO: Packet analysis {"connection_id":191909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:22:55] local.INFO: Extracted packet for processing {"connection_id":191909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763000960,"raw_latitude":98851480,"longitude_deg":76.300096,"latitude_deg":9.885148,"altitude":9,"angle":127,"satellites":36,"speed":48,"hex_longitude":"2d7a7880","hex_latitude":"05e45a98","is_valid_coordinates":true} 
[2026-09-25 08:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318006784001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135714227749912576,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816148139606167552,"note":"Value kept but may cause issues"} 
[2026-09-25 08:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790304723000,"timestamp_ms":1790304723000,"timestamp_seconds":1790304723,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a2038"} 
[2026-09-25 08:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:22:55] 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-25 08:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 08:22:55] 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-25 08:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318006784001,"66":13472,"95":206,"87":13824,"24":48,"16":135714227749912576,"45":8816148139606167552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318006784001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:22:55] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:22:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135714227749912576,"km_value":135714227749912.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816148139606167552,"description":"Unknown IO ID 45"} 
[2026-09-25 08:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318006784001,"power":13472,"unknown_95":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8816148139606167552}} 
[2026-09-25 08:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":191909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:22:55] local.INFO: GPS data processed {"connection_id":191909,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:22:55] local.INFO: Acknowledgment sent {"connection_id":191909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:03] local.INFO: TCP Data received {"connection_id":192090,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:03] local.INFO: Processing buffer {"connection_id":192090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:03] local.INFO: Packet analysis {"connection_id":192090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:23:03] local.INFO: Extracted packet for processing {"connection_id":192090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:23: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23: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-25 08:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:23:03] 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-25 08:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:23: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-25 08:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":192090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:23:03] local.INFO: GPS data processed {"connection_id":192090,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:23:03] local.INFO: Acknowledgment sent {"connection_id":192090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:04] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a53000100000000000000000000000000..."} 
[2026-09-25 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a53000100000000000000000000000000..."} 
[2026-09-25 08:23:04] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a53000100000000000000000000000000..."} 
[2026-09-25 08:23:04] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:04] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:04] 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-25 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790304736000,"timestamp_ms":1790304736000,"timestamp_seconds":1790304736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a5300"} 
[2026-09-25 08:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:23:04] 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-25 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 08:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 08:23:04] local.INFO: GPS data processed {"connection_id":193449,"processed":0,"errors":0,"total":1} 
[2026-09-25 08:23:04] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:26] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:26] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:26] local.INFO: IMEI packet received {"connection_id":193450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":193450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:23:28] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:28] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:28] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:23:29] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:23:29] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:29] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:23:30] local.INFO: TCP Data received {"connection_id":194755,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:23:30] local.INFO: Processing buffer {"connection_id":194755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:23:30] local.INFO: IMEI packet received {"connection_id":194755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":194755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:23:32] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:32] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:23:32] local.INFO: IMEI packet received {"connection_id":193450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":193450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:23:33] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:33] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:23:33] local.INFO: Packet analysis {"connection_id":193450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:23:33] local.INFO: Extracted packet for processing {"connection_id":193450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:23: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-25 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23: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-25 08:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:23: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-25 08:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:23:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:23:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:23: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-25 08:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":193450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:23:33] local.INFO: GPS data processed {"connection_id":193450,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:23:33] local.INFO: Acknowledgment sent {"connection_id":193450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:33] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:33] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:23:33] local.INFO: IMEI packet received {"connection_id":193451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":193451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:23:35] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67aa5080100000000000000000000000000..."} 
[2026-09-25 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67aa5080100000000000000000000000000..."} 
[2026-09-25 08:23:35] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67aa5080100000000000000000000000000..."} 
[2026-09-25 08:23:35] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:35] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:35] 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-25 08:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790304757000,"timestamp_ms":1790304757000,"timestamp_seconds":1790304757,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67aa508"} 
[2026-09-25 08: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-25 08:23:35] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 08:23:35] 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-25 08: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-25 08: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-25 08:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 08:23:35] local.INFO: GPS data processed {"connection_id":193449,"processed":0,"errors":0,"total":1} 
[2026-09-25 08:23:35] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:35] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a3b90012d7a944005e445080007008223..."} 
[2026-09-25 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a3b90012d7a944005e445080007008223..."} 
[2026-09-25 08:23:35] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a3b90012d7a944005e445080007008223..."} 
[2026-09-25 08:23:35] local.INFO: Packet analysis {"connection_id":193451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:35] local.INFO: Extracted packet for processing {"connection_id":193451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:35] local.INFO: GPS Element Parsed {"raw_longitude":763008064,"raw_latitude":98845960,"longitude_deg":76.3008064,"latitude_deg":9.884596,"altitude":7,"angle":130,"satellites":35,"speed":51,"hex_longitude":"2d7a9440","hex_latitude":"05e44508","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318009088001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135714661541609472,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824944232626821120,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790304730000,"timestamp_ms":1790304730000,"timestamp_seconds":1790304730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a3b90"} 
[2026-09-25 08: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-25 08:23:35] 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-25 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 08:23:35] 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-25 08: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-25 08: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-25 08:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318009088001,"66":13406,"95":206,"87":13824,"24":51,"16":135714661541609472,"45":8824944232626821120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318009088001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:23:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:23:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135714661541609472,"km_value":135714661541609.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824944232626821120,"description":"Unknown IO ID 45"} 
[2026-09-25 08:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318009088001,"power":13406,"unknown_95":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8824944232626821120}} 
[2026-09-25 08:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":193451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:23:35] local.INFO: GPS data processed {"connection_id":193451,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:23:35] local.INFO: Acknowledgment sent {"connection_id":193451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:23:37] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a56e8012d7aaf4005e42ee00005008323..."} 
[2026-09-25 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a56e8012d7aaf4005e42ee00005008323..."} 
[2026-09-25 08:23:37] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a56e8012d7aaf4005e42ee00005008323..."} 
[2026-09-25 08:23:37] local.INFO: Packet analysis {"connection_id":193451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:37] local.INFO: Extracted packet for processing {"connection_id":193451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763014976,"raw_latitude":98840288,"longitude_deg":76.3014976,"latitude_deg":9.8840288,"altitude":5,"angle":131,"satellites":35,"speed":48,"hex_longitude":"2d7aaf40","hex_latitude":"05e42ee0","is_valid_coordinates":true} 
[2026-09-25 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318010880001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135715091038339072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832755163229128704,"note":"Value kept but may cause issues"} 
[2026-09-25 08:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790304737000,"timestamp_ms":1790304737000,"timestamp_seconds":1790304737,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a56e8"} 
[2026-09-25 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 08:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318010880001,"66":13298,"95":206,"87":13824,"24":48,"16":135715091038339072,"45":8832755163229128704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318010880001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:23:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:23:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135715091038339072,"km_value":135715091038339.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832755163229128704,"description":"Unknown IO ID 45"} 
[2026-09-25 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318010880001,"power":13298,"unknown_95":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8832755163229128704}} 
[2026-09-25 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":193451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:23:37] local.INFO: GPS data processed {"connection_id":193451,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:23:37] local.INFO: Acknowledgment sent {"connection_id":193451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:04] local.INFO: TCP Data received {"connection_id":193450,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:04] local.INFO: Processing buffer {"connection_id":193450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:04] local.INFO: Packet analysis {"connection_id":193450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:24:04] local.INFO: Extracted packet for processing {"connection_id":193450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:24: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-25 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24: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-25 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:24: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-25 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:24: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-25 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":193450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:24:04] local.INFO: GPS data processed {"connection_id":193450,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:24:04] local.INFO: Acknowledgment sent {"connection_id":193450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:05] local.INFO: TCP Data received {"connection_id":194756,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:24:05] local.INFO: Processing buffer {"connection_id":194756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:24:05] local.INFO: IMEI packet received {"connection_id":194756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":194756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:24:06] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67af7100100000000000000000000000000..."} 
[2026-09-25 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67af7100100000000000000000000000000..."} 
[2026-09-25 08:24:06] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67af7100100000000000000000000000000..."} 
[2026-09-25 08:24:06] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:24:06] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33727660915949568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:06] 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-25 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790304778000,"timestamp_ms":1790304778000,"timestamp_seconds":1790304778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67af710"} 
[2026-09-25 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:24:06] 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-25 08:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 08:24:06] local.INFO: GPS data processed {"connection_id":193449,"processed":0,"errors":0,"total":1} 
[2026-09-25 08:24:06] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:09] local.INFO: TCP Data received {"connection_id":193451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67a7628012d7ac20005e41d300004008e25..."} 
[2026-09-25 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67a7628012d7ac20005e41d300004008e25..."} 
[2026-09-25 08:24:09] local.INFO: Processing buffer {"connection_id":193451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67a7628012d7ac20005e41d300004008e25..."} 
[2026-09-25 08:24:09] local.INFO: Packet analysis {"connection_id":193451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:24:09] local.INFO: Extracted packet for processing {"connection_id":193451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67a"} 
[2026-09-25 08:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763019776,"raw_latitude":98835760,"longitude_deg":76.3019776,"latitude_deg":9.883576,"altitude":4,"angle":142,"satellites":37,"speed":26,"hex_longitude":"2d7ac200","hex_latitude":"05e41d30","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318012672001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135715408865918976,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354987598864384,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790304745000,"timestamp_ms":1790304745000,"timestamp_seconds":1790304745,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67a7628"} 
[2026-09-25 08: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-25 08:24: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-25 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-25 08:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318012672001,"66":13515,"95":206,"87":13824,"24":26,"16":135715408865918976,"45":8840354987598864384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318012672001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:24:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:24:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135715408865918976,"km_value":135715408865918.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354987598864384,"description":"Unknown IO ID 45"} 
[2026-09-25 08:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318012672001,"power":13515,"unknown_95":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8840354987598864384}} 
[2026-09-25 08:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":193451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:24:09] local.INFO: GPS data processed {"connection_id":193451,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:24:09] local.INFO: Acknowledgment sent {"connection_id":193451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:26] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:26] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:26] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:24:28] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:28] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:28] local.INFO: IMEI packet received {"connection_id":191910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":191910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:24:31] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:31] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:24:31] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:24:32] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:32] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:24:32] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:24:32] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:24:32] 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-25 08: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-25 08:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08: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-25 08:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08: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-25 08: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-25 08:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:24:32] 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-25 08:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:24:32] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:24:32] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:33] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:33] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:24:33] local.INFO: IMEI packet received {"connection_id":191910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":191910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:24:34] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67bb290012d7b0e0005e33de0000800a424..."} 
[2026-09-25 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67bb290012d7b0e0005e33de0000800a424..."} 
[2026-09-25 08:24:34] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67bb290012d7b0e0005e33de0000800a424..."} 
[2026-09-25 08:24:34] local.INFO: Packet analysis {"connection_id":191910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67b"} 
[2026-09-25 08:24:34] local.INFO: Extracted packet for processing {"connection_id":191910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67b"} 
[2026-09-25 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98778592,"longitude_deg":76.3039232,"latitude_deg":9.8778592,"altitude":8,"angle":164,"satellites":36,"speed":8,"hex_longitude":"2d7b0e00","hex_latitude":"05e33de0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318034432001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135718363803418624,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004138182656,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304826000,"timestamp_ms":1790304826000,"timestamp_seconds":1790304826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67bb290"} 
[2026-09-25 08: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-25 08:24:34] 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-25 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 08:24:34] 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-25 08: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-25 08: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-25 08:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318034432001,"66":13243,"208":206,"85":15104,"24":8,"16":135718363803418624,"45":8866884004138182656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318034432001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:24:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135718363803418624,"km_value":135718363803418.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004138182656,"description":"Unknown IO ID 45"} 
[2026-09-25 08:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318034432001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8866884004138182656}} 
[2026-09-25 08:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":191910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:24:34] local.INFO: GPS data processed {"connection_id":191910,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:24:34] local.INFO: Acknowledgment sent {"connection_id":191910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:24:37] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c56a0012d0bf8c00702a8500012002f06..."} 
[2026-09-25 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c56a0012d0bf8c00702a8500012002f06..."} 
[2026-09-25 08:24:37] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c56a0012d0bf8c00702a8500012002f06..."} 
[2026-09-25 08:24:37] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:24:37] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":755759296,"raw_latitude":117614672,"longitude_deg":75.5759296,"latitude_deg":11.7614672,"altitude":18,"angle":47,"satellites":6,"speed":8,"hex_longitude":"2d0bf8c0","hex_latitude":"0702a850","is_valid_coordinates":true} 
[2026-09-25 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318044928001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33728330930847744,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252518094848,"note":"Value kept but may cause issues"} 
[2026-09-25 08:24:37] 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-25 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790304868000,"timestamp_ms":1790304868000,"timestamp_seconds":1790304868,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c56a0"} 
[2026-09-25 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:24:37] 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-25 08:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318044928001,"66":14439,"37":206,"94":11008,"24":8,"16":33728330930847744,"45":862228252518094848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318044928001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:24:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:24:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33728330930847744,"km_value":33728330930847.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252518094848,"description":"Unknown IO ID 45"} 
[2026-09-25 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318044928001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862228252518094848}} 
[2026-09-25 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:24:37] local.INFO: GPS data processed {"connection_id":193449,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:24:37] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:03] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:25:03] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d677da30012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:25:03] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:25:03] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d677"} 
[2026-09-25 08:25: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317893888001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25: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-25 08:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304574000,"timestamp_ms":1790304574000,"timestamp_seconds":1790304574,"priority":1,"record_length":96,"hex_timestamp":"000001a0d677da30"} 
[2026-09-25 08:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:25:03] 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-25 08:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317893888001,"66":25473,"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-25 08:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317893888001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:25: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-25 08:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317893888001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:03] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:03] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:06] local.INFO: TCP Data received {"connection_id":191910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c0498012d7b110005e33858000900a325..."} 
[2026-09-25 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c0498012d7b110005e33858000900a325..."} 
[2026-09-25 08:25:06] local.INFO: Processing buffer {"connection_id":191910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c0498012d7b110005e33858000900a325..."} 
[2026-09-25 08:25:06] local.INFO: Packet analysis {"connection_id":191910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:06] local.INFO: Extracted packet for processing {"connection_id":191910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763040000,"raw_latitude":98777176,"longitude_deg":76.304,"latitude_deg":9.8777176,"altitude":9,"angle":163,"satellites":37,"speed":0,"hex_longitude":"2d7b1100","hex_latitude":"05e33858","is_valid_coordinates":true} 
[2026-09-25 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318035456001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135718445407797248,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741626404864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790304847000,"timestamp_ms":1790304847000,"timestamp_seconds":1790304847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c0498"} 
[2026-09-25 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:25:06] 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-25 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 08:25:06] 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-25 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318035456001,"66":13646,"208":206,"85":15104,"24":0,"16":135718445407797248,"45":8867024741626404864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318035456001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135718445407797248,"km_value":135718445407797.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741626404864,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318035456001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867024741626404864}} 
[2026-09-25 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":191910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:06] local.INFO: GPS data processed {"connection_id":191910,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:06] local.INFO: Acknowledgment sent {"connection_id":191910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:08] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c5a88012d0bf9800702a8e00012004106..."} 
[2026-09-25 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c5a88012d0bf9800702a8e00012004106..."} 
[2026-09-25 08:25:08] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c5a88012d0bf9800702a8e00012004106..."} 
[2026-09-25 08:25:08] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:08] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:08] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117614816,"longitude_deg":75.5759488,"latitude_deg":11.7614816,"altitude":18,"angle":65,"satellites":6,"speed":10,"hex_longitude":"2d0bf980","hex_latitude":"0702a8e0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318046208001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33728343815749632,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862650464983339008,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:08] 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-25 08:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790304869000,"timestamp_ms":1790304869000,"timestamp_seconds":1790304869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c5a88"} 
[2026-09-25 08: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-25 08:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 08:25:08] 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-25 08: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-25 08: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-25 08:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318046208001,"66":14439,"37":206,"94":11008,"24":10,"16":33728343815749632,"45":862650464983339008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318046208001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:25:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33728343815749632,"km_value":33728343815749.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":862650464983339008,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318046208001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862650464983339008}} 
[2026-09-25 08:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894230,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:08] local.INFO: GPS data processed {"connection_id":193449,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:08] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:26] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:26] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:26] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:25:28] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:28] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:28] local.INFO: IMEI packet received {"connection_id":193453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":193453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:25:31] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:31] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:25:31] local.INFO: IMEI packet received {"connection_id":193452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":193452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:25:32] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:25:32] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:25:32] local.INFO: Packet analysis {"connection_id":193452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:32] local.INFO: Extracted packet for processing {"connection_id":193452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:32] 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-25 08:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:25: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-25 08:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":193452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:32] local.INFO: GPS data processed {"connection_id":193452,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:32] local.INFO: Acknowledgment sent {"connection_id":193452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:33] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:33] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:25:33] local.INFO: IMEI packet received {"connection_id":193453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":193453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:25:34] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c1820012d7b120005e337a8000a00b124..."} 
[2026-09-25 08:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c1820012d7b120005e337a8000a00b124..."} 
[2026-09-25 08:25:34] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c1820012d7b120005e337a8000a00b124..."} 
[2026-09-25 08:25:34] local.INFO: Packet analysis {"connection_id":193453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:34] local.INFO: Extracted packet for processing {"connection_id":193453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98777000,"longitude_deg":76.3040256,"latitude_deg":9.8777,"altitude":10,"angle":177,"satellites":36,"speed":4,"hex_longitude":"2d7b1200","hex_latitude":"05e337a8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318040832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135718462587666432,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166556174336,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790304852000,"timestamp_ms":1790304852000,"timestamp_seconds":1790304852,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c1820"} 
[2026-09-25 08: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-25 08:25:34] 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-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318040832001,"66":13580,"208":206,"85":15104,"24":4,"16":135718462587666432,"45":8867869166556174336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318040832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135718462587666432,"km_value":135718462587666.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166556174336,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318040832001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867869166556174336}} 
[2026-09-25 08:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":193453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:34] local.INFO: GPS data processed {"connection_id":193453,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:34] local.INFO: Acknowledgment sent {"connection_id":193453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:25:38] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c6e10012d0bff800702aad00013004f06..."} 
[2026-09-25 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c6e10012d0bff800702aad00013004f06..."} 
[2026-09-25 08:25:38] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c6e10012d0bff800702aad00013004f06..."} 
[2026-09-25 08:25:38] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:38] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":755761024,"raw_latitude":117615312,"longitude_deg":75.5761024,"latitude_deg":11.7615312,"altitude":19,"angle":79,"satellites":6,"speed":11,"hex_longitude":"2d0bff80","hex_latitude":"0702aad0","is_valid_coordinates":true} 
[2026-09-25 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318046464001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33728421125160960,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862861571215908864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790304874000,"timestamp_ms":1790304874000,"timestamp_seconds":1790304874,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c6e10"} 
[2026-09-25 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:25:38] 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-25 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 08:25: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-25 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318046464001,"66":14450,"37":206,"94":11008,"24":11,"16":33728421125160960,"45":862861571215908864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318046464001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:25:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:25:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33728421125160960,"km_value":33728421125160.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":862861571215908864,"description":"Unknown IO ID 45"} 
[2026-09-25 08:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318046464001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":862861571215908864}} 
[2026-09-25 08:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894233,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:25:39] local.INFO: GPS data processed {"connection_id":193449,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:25:39] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:03] local.INFO: TCP Data received {"connection_id":193452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:03] local.INFO: Processing buffer {"connection_id":193452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:03] local.INFO: Packet analysis {"connection_id":193452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:03] local.INFO: Extracted packet for processing {"connection_id":193452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26: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-25 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08: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-25 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:26: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-25 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":193452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:03] local.INFO: GPS data processed {"connection_id":193452,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:03] local.INFO: Acknowledgment sent {"connection_id":193452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:05] local.INFO: TCP Data received {"connection_id":193453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c23d8012d7b124005e335d0000a00a527..."} 
[2026-09-25 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c23d8012d7b124005e335d0000a00a527..."} 
[2026-09-25 08:26:05] local.INFO: Processing buffer {"connection_id":193453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c23d8012d7b124005e335d0000a00a527..."} 
[2026-09-25 08:26:05] local.INFO: Packet analysis {"connection_id":193453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:05] local.INFO: Extracted packet for processing {"connection_id":193453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98776528,"longitude_deg":76.304032,"latitude_deg":9.8776528,"altitude":10,"angle":165,"satellites":39,"speed":7,"hex_longitude":"2d7b1240","hex_latitude":"05e335d0","is_valid_coordinates":true} 
[2026-09-25 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318042112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135718488357470208,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641532839936,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790304855000,"timestamp_ms":1790304855000,"timestamp_seconds":1790304855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c23d8"} 
[2026-09-25 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:26:05] 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-25 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637034,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3598411864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462184400,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2149683770767179776,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628969660796501,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814340608,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-594468676185358330,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,43,160,4,45,56,9,37,10,66,178,61,8,36,162,128,1,240,88,227,214,113,205,21,104,239,52,2,226,5,7,32,122,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 08:26:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720770708556480512,"timestamp_seconds":720770708556480.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318042112001,"66":13493,"208":206,"85":15104,"24":7,"16":135718488357470208,"45":8868150641532839936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318042112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135718488357470208,"km_value":135718488357470.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641532839936,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318042112001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8868150641532839936}} 
[2026-09-25 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":193453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:06] local.INFO: GPS data processed {"connection_id":193453,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:06] local.INFO: Acknowledgment sent {"connection_id":193453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:10] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67cbc30012d0c12000702ae880015004f06..."} 
[2026-09-25 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67cbc30012d0c12000702ae880015004f06..."} 
[2026-09-25 08:26:10] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67cbc30012d0c12000702ae880015004f06..."} 
[2026-09-25 08:26:10] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:10] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":755765760,"raw_latitude":117616264,"longitude_deg":75.576576,"latitude_deg":11.7616264,"altitude":21,"angle":79,"satellites":6,"speed":9,"hex_longitude":"2d0c1200","hex_latitude":"0702ae88","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318047744001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33728653053394944,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864550421076299776,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26: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-25 08:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790304894000,"timestamp_ms":1790304894000,"timestamp_seconds":1790304894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67cbc30"} 
[2026-09-25 08: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-25 08:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:26: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-25 08: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-25 08: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-25 08:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318047744001,"66":14407,"37":206,"94":11008,"24":9,"16":33728653053394944,"45":864550421076299776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318047744001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:26:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33728653053394944,"km_value":33728653053394.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":864550421076299776,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318047744001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":864550421076299776}} 
[2026-09-25 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:10] local.INFO: GPS data processed {"connection_id":193449,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:10] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:26] local.INFO: TCP Data received {"connection_id":194757,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:26] local.INFO: Processing buffer {"connection_id":194757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:26] local.INFO: IMEI packet received {"connection_id":194757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":194757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:26:28] local.INFO: TCP Data received {"connection_id":192092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:28] local.INFO: Processing buffer {"connection_id":192092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:28] local.INFO: IMEI packet received {"connection_id":192092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":192092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:26:31] local.INFO: TCP Data received {"connection_id":194757,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:31] local.INFO: Processing buffer {"connection_id":194757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:26:31] local.INFO: IMEI packet received {"connection_id":194757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":194757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:26:32] local.INFO: TCP Data received {"connection_id":194757,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:32] local.INFO: Processing buffer {"connection_id":194757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:26:32] local.INFO: Packet analysis {"connection_id":194757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:32] local.INFO: Extracted packet for processing {"connection_id":194757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:32] 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-25 08:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:26: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-25 08:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:26:32] 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-25 08:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":194757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:32] local.INFO: GPS data processed {"connection_id":194757,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:32] local.INFO: Acknowledgment sent {"connection_id":194757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:32] local.INFO: TCP Data received {"connection_id":192092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:32] local.INFO: Processing buffer {"connection_id":192092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:26:32] local.INFO: IMEI packet received {"connection_id":192092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":192092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:26:33] local.INFO: TCP Data received {"connection_id":192092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d7b140005e325a0000c00b224..."} 
[2026-09-25 08:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d7b140005e325a0000c00b224..."} 
[2026-09-25 08:26:33] local.INFO: Processing buffer {"connection_id":192092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d7b140005e325a0000c00b224..."} 
[2026-09-25 08:26:33] local.INFO: Packet analysis {"connection_id":192092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:33] local.INFO: Extracted packet for processing {"connection_id":192092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98772384,"longitude_deg":76.3040768,"latitude_deg":9.8772384,"altitude":12,"angle":178,"satellites":36,"speed":11,"hex_longitude":"2d7b1400","hex_latitude":"05e325a0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318042880001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135718690220933120,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010276896768,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08: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-25 08:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 08:26:33] 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-25 08: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-25 08: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-25 08:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318042880001,"66":13602,"208":206,"85":15104,"24":11,"16":135718690220933120,"45":8868221010276896768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318042880001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135718690220933120,"km_value":135718690220933.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010276896768,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318042880001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8868221010276896768}} 
[2026-09-25 08:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":192092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:33] local.INFO: GPS data processed {"connection_id":192092,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:33] local.INFO: Acknowledgment sent {"connection_id":192092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:26:41] local.INFO: TCP Data received {"connection_id":193449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e1fa8012d0c23000702b718001901400a..."} 
[2026-09-25 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e1fa8012d0c23000702b718001901400a..."} 
[2026-09-25 08:26:41] local.INFO: Processing buffer {"connection_id":193449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e1fa8012d0c23000702b718001901400a..."} 
[2026-09-25 08:26:41] local.INFO: Packet analysis {"connection_id":193449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:26:41] local.INFO: Extracted packet for processing {"connection_id":193449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":755770112,"raw_latitude":117618456,"longitude_deg":75.5770112,"latitude_deg":11.7618456,"altitude":25,"angle":320,"satellites":10,"speed":15,"hex_longitude":"2d0c2300","hex_latitude":"0702b718","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318075392001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33729116909862912,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207680212992,"note":"Value kept but may cause issues"} 
[2026-09-25 08:26: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-25 08:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790304985000,"timestamp_ms":1790304985000,"timestamp_seconds":1790304985,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e1fa8"} 
[2026-09-25 08: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-25 08:26: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-25 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 08:26:41] 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-25 08: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-25 08: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-25 08:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318075392001,"66":14135,"37":206,"94":11008,"24":15,"16":33729116909862912,"45":875387207680212992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318075392001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:26:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:26:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33729116909862912,"km_value":33729116909862.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207680212992,"description":"Unknown IO ID 45"} 
[2026-09-25 08:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318075392001,"power":14135,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":875387207680212992}} 
[2026-09-25 08:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":193449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:26:41] local.INFO: GPS data processed {"connection_id":193449,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:26:41] local.INFO: Acknowledgment sent {"connection_id":193449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:01] local.INFO: TCP Data received {"connection_id":194758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:01] local.INFO: Processing buffer {"connection_id":194758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:01] local.INFO: IMEI packet received {"connection_id":194758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":194758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:27:02] local.INFO: TCP Data received {"connection_id":194758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:02] local.INFO: Processing buffer {"connection_id":194758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:02] local.INFO: IMEI packet received {"connection_id":194758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":194758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:27:03] local.INFO: TCP Data received {"connection_id":194757,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:03] local.INFO: Processing buffer {"connection_id":194757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:03] local.INFO: Packet analysis {"connection_id":194757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:27:03] local.INFO: Extracted packet for processing {"connection_id":194757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:27: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27: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-25 08:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:27:03] 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-25 08:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:27: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-25 08:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":194757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:03] local.INFO: GPS data processed {"connection_id":194757,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:03] local.INFO: Acknowledgment sent {"connection_id":194757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:04] local.INFO: TCP Data received {"connection_id":192092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e65f8012d7b214005e292b0000b015125..."} 
[2026-09-25 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e65f8012d7b214005e292b0000b015125..."} 
[2026-09-25 08:27:04] local.INFO: Processing buffer {"connection_id":192092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e65f8012d7b214005e292b0000b015125..."} 
[2026-09-25 08:27:04] local.INFO: Packet analysis {"connection_id":192092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:04] local.INFO: Extracted packet for processing {"connection_id":192092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98734768,"longitude_deg":76.304416,"latitude_deg":9.8734768,"altitude":11,"angle":337,"satellites":37,"speed":9,"hex_longitude":"2d7b2140","hex_latitude":"05e292b0","is_valid_coordinates":true} 
[2026-09-25 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318080256001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135720657315954688,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241149306880,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790305003000,"timestamp_ms":1790305003000,"timestamp_seconds":1790305003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e65f8"} 
[2026-09-25 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:27:04] 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-25 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318080256001,"66":13580,"207":206,"85":15104,"24":9,"16":135720657315954688,"45":8872654241149306880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318080256001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 08:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135720657315954688,"km_value":135720657315954.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241149306880,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318080256001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8872654241149306880}} 
[2026-09-25 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":192092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:04] local.INFO: GPS data processed {"connection_id":192092,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:04] local.INFO: Acknowledgment sent {"connection_id":192092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:07] local.INFO: TCP Data received {"connection_id":194758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:07] local.INFO: Processing buffer {"connection_id":194758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:27:07] local.INFO: IMEI packet received {"connection_id":194758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":194758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:27:08] local.INFO: TCP Data received {"connection_id":194758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e2778012d0c21400702baa8001901500a..."} 
[2026-09-25 08:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e2778012d0c21400702baa8001901500a..."} 
[2026-09-25 08:27:08] local.INFO: Processing buffer {"connection_id":194758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e2778012d0c21400702baa8001901500a..."} 
[2026-09-25 08:27:08] local.INFO: Packet analysis {"connection_id":194758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:08] local.INFO: Extracted packet for processing {"connection_id":194758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:08] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117619368,"longitude_deg":75.5769664,"latitude_deg":11.7619368,"altitude":25,"angle":336,"satellites":10,"speed":21,"hex_longitude":"2d0c2140","hex_latitude":"0702baa8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318076160001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33729168449470464,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542782750332928,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:08] 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-25 08:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790304987000,"timestamp_ms":1790304987000,"timestamp_seconds":1790304987,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e2778"} 
[2026-09-25 08: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-25 08:27:08] 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-25 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-25 08:27:08] 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-25 08: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-25 08: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-25 08:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318076160001,"66":14515,"37":206,"94":11008,"24":21,"16":33729168449470464,"45":874542782750332928},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318076160001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:08] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:27:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33729168449470464,"km_value":33729168449470.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542782750332928,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318076160001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":874542782750332928}} 
[2026-09-25 08:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":194758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894242,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:08] local.INFO: GPS data processed {"connection_id":194758,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:08] local.INFO: Acknowledgment sent {"connection_id":194758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:26] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:26] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:26] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:27:32] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:32] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:27:32] local.INFO: IMEI packet received {"connection_id":191913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":191913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:27:33] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:33] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:33] local.INFO: IMEI packet received {"connection_id":193455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":193455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:27:33] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:33] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:27:33] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:27:33] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:27: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-25 08:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27: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-25 08:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:27: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-25 08:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:27: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-25 08:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:27:33] 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-25 08:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:27: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-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:33] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:33] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:38] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:38] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:27:38] local.INFO: IMEI packet received {"connection_id":193455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":193455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:27:39] local.INFO: TCP Data received {"connection_id":194758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e4aa0012d0c18800702d6700018015b0b..."} 
[2026-09-25 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e4aa0012d0c18800702d6700018015b0b..."} 
[2026-09-25 08:27:39] local.INFO: Processing buffer {"connection_id":194758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e4aa0012d0c18800702d6700018015b0b..."} 
[2026-09-25 08:27:39] local.INFO: Packet analysis {"connection_id":194758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:39] local.INFO: Extracted packet for processing {"connection_id":194758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":755767424,"raw_latitude":117626480,"longitude_deg":75.5767424,"latitude_deg":11.762648,"altitude":24,"angle":347,"satellites":11,"speed":29,"hex_longitude":"2d0c1880","hex_latitude":"0702d670","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318076672001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33729529226723328,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201541322752,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] 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-25 08:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790304996000,"timestamp_ms":1790304996000,"timestamp_seconds":1790304996,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e4aa0"} 
[2026-09-25 08: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-25 08:27:39] 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-25 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318076672001,"66":14450,"37":206,"94":11008,"24":29,"16":33729529226723328,"45":874050201541322752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318076672001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33729529226723328,"km_value":33729529226723.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201541322752,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318076672001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":874050201541322752}} 
[2026-09-25 08:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":194758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:39] local.INFO: GPS data processed {"connection_id":194758,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:39] local.INFO: Acknowledgment sent {"connection_id":194758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:27:39] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e71b0012d7b204005e297b0000b015d25..."} 
[2026-09-25 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e71b0012d7b204005e297b0000b015d25..."} 
[2026-09-25 08:27:39] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e71b0012d7b204005e297b0000b015d25..."} 
[2026-09-25 08:27:39] local.INFO: Packet analysis {"connection_id":193455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:39] local.INFO: Extracted packet for processing {"connection_id":193455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98736048,"longitude_deg":76.3043904,"latitude_deg":9.8736048,"altitude":11,"angle":349,"satellites":37,"speed":20,"hex_longitude":"2d7b2040","hex_latitude":"05e297b0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318080768001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135720721740464128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916866048,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790305006000,"timestamp_ms":1790305006000,"timestamp_seconds":1790305006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e71b0"} 
[2026-09-25 08: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-25 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637036,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3598582864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2149062546697486336,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621522895,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147869330,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570285096972715,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3802085376,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2594079856350199825,"note":"Value kept but may cause issues"} 
[2026-09-25 08:27:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,207,85,24,241,157,16,45,160,94,145,11,39,10,66,90,64,144,59,1,240,110,227,214,226,4,113,205,51,38,232,36,239,52,2,5,13,123],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-25 08:27:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793004228750147584,"timestamp_seconds":793004228750147.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318080768001,"66":13450,"207":206,"85":15104,"24":20,"16":135720721740464128,"45":8872443134916866048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 08:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318080768001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135720721740464128,"km_value":135720721740464.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916866048,"description":"Unknown IO ID 45"} 
[2026-09-25 08:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318080768001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8872443134916866048}} 
[2026-09-25 08:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":193455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:27:39] local.INFO: GPS data processed {"connection_id":193455,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:27:39] local.INFO: Acknowledgment sent {"connection_id":193455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:28:07] local.INFO: TCP Data received {"connection_id":191913,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:07] local.INFO: Processing buffer {"connection_id":191913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:07] local.INFO: Packet analysis {"connection_id":191913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:28:07] local.INFO: Extracted packet for processing {"connection_id":191913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 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-25 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 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-25 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:28:07] 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-25 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":191913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:28:07] local.INFO: GPS data processed {"connection_id":191913,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:28:07] local.INFO: Acknowledgment sent {"connection_id":191913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:28:10] local.INFO: TCP Data received {"connection_id":193455,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67e98c0012d7b188005e2bbd0000a015e21..."} 
[2026-09-25 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67e98c0012d7b188005e2bbd0000a015e21..."} 
[2026-09-25 08:28:10] local.INFO: Processing buffer {"connection_id":193455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67e98c0012d7b188005e2bbd0000a015e21..."} 
[2026-09-25 08:28:10] local.INFO: Packet analysis {"connection_id":193455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:28:10] local.INFO: Extracted packet for processing {"connection_id":193455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763041920,"raw_latitude":98745296,"longitude_deg":76.304192,"latitude_deg":9.8745296,"altitude":10,"angle":350,"satellites":33,"speed":52,"hex_longitude":"2d7b1880","hex_latitude":"05e2bbd0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318081536001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135721181301964800,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940483072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790305016000,"timestamp_ms":1790305016000,"timestamp_seconds":1790305016,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67e98c0"} 
[2026-09-25 08: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-25 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 08:28:10] 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-25 08: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-25 08: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-25 08:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318081536001,"66":13189,"207":206,"85":15104,"24":52,"16":135721181301964800,"45":8872161659940483072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 08:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318081536001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:28:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 08:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135721181301964800,"km_value":135721181301964.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940483072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318081536001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8872161659940483072}} 
[2026-09-25 08:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":193455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:28:10] local.INFO: GPS data processed {"connection_id":193455,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:28:10] local.INFO: Acknowledgment sent {"connection_id":193455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:28:17] local.INFO: TCP Data received {"connection_id":194759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: Processing buffer {"connection_id":194759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: IMEI packet received {"connection_id":194759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":194759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:28:17] local.INFO: TCP Data received {"connection_id":194759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: Processing buffer {"connection_id":194759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:17] local.INFO: IMEI packet received {"connection_id":194759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":194759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:28:18] local.INFO: TCP Data received {"connection_id":194759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:18] local.INFO: Processing buffer {"connection_id":194759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:18] local.INFO: IMEI packet received {"connection_id":194759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":194759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:28:22] local.INFO: TCP Data received {"connection_id":194759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:22] local.INFO: Processing buffer {"connection_id":194759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:28:22] local.INFO: IMEI packet received {"connection_id":194759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":194759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:28:23] local.INFO: TCP Data received {"connection_id":194759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67fc588012d0c4ac00703c7a0000f002e0d..."} 
[2026-09-25 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67fc588012d0c4ac00703c7a0000f002e0d..."} 
[2026-09-25 08:28:23] local.INFO: Processing buffer {"connection_id":194759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67fc588012d0c4ac00703c7a0000f002e0d..."} 
[2026-09-25 08:28:23] local.INFO: Packet analysis {"connection_id":194759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:28:23] local.INFO: Extracted packet for processing {"connection_id":194759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755780288,"raw_latitude":117688224,"longitude_deg":75.5780288,"latitude_deg":11.7688224,"altitude":15,"angle":46,"satellites":13,"speed":16,"hex_longitude":"2d0c4ac0","hex_latitude":"0703c7a0","is_valid_coordinates":true} 
[2026-09-25 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318103296001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33733003855265792,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250673823744,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:23] 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-25 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790305093000,"timestamp_ms":1790305093000,"timestamp_seconds":1790305093,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67fc588"} 
[2026-09-25 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:28: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-25 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 08:28:23] 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-25 08:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318103296001,"66":14559,"37":206,"94":11008,"24":16,"16":33733003855265792,"45":884746250673823744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318103296001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:28:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33733003855265792,"km_value":33733003855265.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250673823744,"description":"Unknown IO ID 45"} 
[2026-09-25 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318103296001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":884746250673823744}} 
[2026-09-25 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":194759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:28:23] local.INFO: GPS data processed {"connection_id":194759,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:28:23] local.INFO: Acknowledgment sent {"connection_id":194759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:28:27] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:27] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:27] local.INFO: IMEI packet received {"connection_id":191914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":191914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:28:28] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:28] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:28] local.INFO: IMEI packet received {"connection_id":193456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":193456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:28:31] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:31] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:28:31] local.INFO: IMEI packet received {"connection_id":191914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":191914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:28:32] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:32] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:28:32] local.INFO: Packet analysis {"connection_id":191914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:28:32] local.INFO: Extracted packet for processing {"connection_id":191914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:28:32] 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-25 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:28: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-25 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":191914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:28:32] local.INFO: GPS data processed {"connection_id":191914,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:28:32] local.INFO: Acknowledgment sent {"connection_id":191914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:28:33] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:33] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:28:33] local.INFO: IMEI packet received {"connection_id":193456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":193456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:28:34] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67ebbe8012d7b11c005e2e0a0000b015f19..."} 
[2026-09-25 08:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67ebbe8012d7b11c005e2e0a0000b015f19..."} 
[2026-09-25 08:28:34] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67ebbe8012d7b11c005e2e0a0000b015f19..."} 
[2026-09-25 08:28:34] local.INFO: Packet analysis {"connection_id":193456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:28:34] local.INFO: Extracted packet for processing {"connection_id":193456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67e"} 
[2026-09-25 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763040192,"raw_latitude":98754720,"longitude_deg":76.3040192,"latitude_deg":9.875472,"altitude":11,"angle":351,"satellites":25,"speed":31,"hex_longitude":"2d7b11c0","hex_latitude":"05e2e0a0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318084096001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135721645158432768,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869980228873342976,"note":"Value kept but may cause issues"} 
[2026-09-25 08:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305025000,"timestamp_ms":1790305025000,"timestamp_seconds":1790305025,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67ebbe8"} 
[2026-09-25 08: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-25 08:28:34] 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-25 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 08:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318084096001,"66":13298,"207":206,"85":15104,"24":31,"16":135721645158432768,"45":8869980228873342976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 08:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318084096001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:28:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 08:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135721645158432768,"km_value":135721645158432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869980228873342976,"description":"Unknown IO ID 45"} 
[2026-09-25 08:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318084096001,"power":13298,"unknown_207":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8869980228873342976}} 
[2026-09-25 08:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":193456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:28:34] local.INFO: GPS data processed {"connection_id":193456,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:28:34] local.INFO: Acknowledgment sent {"connection_id":193456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:03] local.INFO: TCP Data received {"connection_id":191914,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:03] local.INFO: Processing buffer {"connection_id":191914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:03] local.INFO: Packet analysis {"connection_id":191914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:29:03] local.INFO: Extracted packet for processing {"connection_id":191914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:29: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29: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-25 08:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:29: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-25 08:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":191914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:03] local.INFO: GPS data processed {"connection_id":191914,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:03] local.INFO: Acknowledgment sent {"connection_id":191914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:06] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:29:06] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:06] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:29:06] local.INFO: TCP Data received {"connection_id":193456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67f0df0012d7b0ac005e2f6e8000a015d18..."} 
[2026-09-25 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67f0df0012d7b0ac005e2f6e8000a015d18..."} 
[2026-09-25 08:29:06] local.INFO: Processing buffer {"connection_id":193456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67f0df0012d7b0ac005e2f6e8000a015d18..."} 
[2026-09-25 08:29:06] local.INFO: Packet analysis {"connection_id":193456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:29:06] local.INFO: Extracted packet for processing {"connection_id":193456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98760424,"longitude_deg":76.30384,"latitude_deg":9.8760424,"altitude":10,"angle":349,"satellites":24,"speed":0,"hex_longitude":"2d7b0ac0","hex_latitude":"05e2f6e8","is_valid_coordinates":true} 
[2026-09-25 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-25 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318086400001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135721954396078080,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868080272782958592,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790305046000,"timestamp_ms":1790305046000,"timestamp_seconds":1790305046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67f0df0"} 
[2026-09-25 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-25 08:29:06] 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-25 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-25 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318086400001,"66":13102,"207":206,"85":15104,"24":0,"16":135721954396078080,"45":8868080272782958592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318086400001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 08:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135721954396078080,"km_value":135721954396078.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868080272782958592,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318086400001,"power":13102,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868080272782958592}} 
[2026-09-25 08:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":193456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:07] local.INFO: GPS data processed {"connection_id":193456,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:07] local.INFO: Acknowledgment sent {"connection_id":193456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:12] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:12] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:29:12] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:29:12] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67fc970012d0c4bc00703c8d0000f001f0d..."} 
[2026-09-25 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67fc970012d0c4bc00703c8d0000f001f0d..."} 
[2026-09-25 08:29:12] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67fc970012d0c4bc00703c8d0000f001f0d..."} 
[2026-09-25 08:29:12] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:29:12] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67f"} 
[2026-09-25 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":755780544,"raw_latitude":117688528,"longitude_deg":75.5780544,"latitude_deg":11.7688528,"altitude":15,"angle":31,"satellites":13,"speed":16,"hex_longitude":"2d0c4bc0","hex_latitude":"0703c8d0","is_valid_coordinates":true} 
[2026-09-25 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-25 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318103808001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33733021035134976,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413092442112,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305094000,"timestamp_ms":1790305094000,"timestamp_seconds":1790305094,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67fc970"} 
[2026-09-25 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-25 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-25 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":223,"data_length":795,"current_offset":136} 
[2026-09-25 08:29:12] 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-25 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-25 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-25 08:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318103808001,"66":14559,"37":206,"94":11008,"24":16,"16":33733021035134976,"45":885731413092442112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 08:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318103808001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 08:29:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33733021035134976,"km_value":33733021035134.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413092442112,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318103808001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":885731413092442112}} 
[2026-09-25 08:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:13] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:13] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:26] local.INFO: TCP Data received {"connection_id":194760,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:26] local.INFO: Processing buffer {"connection_id":194760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:26] local.INFO: IMEI packet received {"connection_id":194760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":194760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:29:28] local.INFO: TCP Data received {"connection_id":193457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:28] local.INFO: Processing buffer {"connection_id":193457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:28] local.INFO: IMEI packet received {"connection_id":193457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":193457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:29:29] local.INFO: TCP Data received {"connection_id":193457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:29] local.INFO: Processing buffer {"connection_id":193457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:29] local.INFO: IMEI packet received {"connection_id":193457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":193457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:29:30] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:29:30] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:29:30] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:29:31] local.INFO: TCP Data received {"connection_id":194760,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:31] local.INFO: Processing buffer {"connection_id":194760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:29:31] local.INFO: IMEI packet received {"connection_id":194760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":194760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:29:32] local.INFO: TCP Data received {"connection_id":194760,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:32] local.INFO: Processing buffer {"connection_id":194760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:29:32] local.INFO: Packet analysis {"connection_id":194760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:29:32] local.INFO: Extracted packet for processing {"connection_id":194760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:29:32] 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-25 08:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:29: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-25 08:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:29:32] 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-25 08:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":194760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:32] local.INFO: GPS data processed {"connection_id":194760,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:32] local.INFO: Acknowledgment sent {"connection_id":194760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:33] local.INFO: TCP Data received {"connection_id":193457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:33] local.INFO: Processing buffer {"connection_id":193457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:29:33] local.INFO: IMEI packet received {"connection_id":193457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":193457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:29:34] local.INFO: TCP Data received {"connection_id":193457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6807168012d7b040005e345d00003015e1d..."} 
[2026-09-25 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6807168012d7b040005e345d00003015e1d..."} 
[2026-09-25 08:29:34] local.INFO: Processing buffer {"connection_id":193457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6807168012d7b040005e345d00003015e1d..."} 
[2026-09-25 08:29:34] local.INFO: Packet analysis {"connection_id":193457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:29:34] local.INFO: Extracted packet for processing {"connection_id":193457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98780624,"longitude_deg":76.3036672,"latitude_deg":9.8780624,"altitude":3,"angle":350,"satellites":29,"speed":9,"hex_longitude":"2d7b0400","hex_latitude":"05e345d0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318112512001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135722972303327232,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516882860032,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305137000,"timestamp_ms":1790305137000,"timestamp_seconds":1790305137,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6807168"} 
[2026-09-25 08: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-25 08:29:34] 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-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318112512001,"66":13559,"208":206,"85":15104,"24":9,"16":135722972303327232,"45":8863928516882860032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318112512001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135722972303327232,"km_value":135722972303327.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516882860032,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318112512001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8863928516882860032}} 
[2026-09-25 08:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":193457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:34] local.INFO: GPS data processed {"connection_id":193457,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:34] local.INFO: Acknowledgment sent {"connection_id":193457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:29:46] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d680e2b0012d0cb84007047ed0001201600e..."} 
[2026-09-25 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d680e2b0012d0cb84007047ed0001201600e..."} 
[2026-09-25 08:29:46] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d680e2b0012d0cb84007047ed0001201600e..."} 
[2026-09-25 08:29:46] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:29:46] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755808320,"raw_latitude":117735120,"longitude_deg":75.580832,"latitude_deg":11.773512,"altitude":18,"angle":352,"satellites":14,"speed":37,"hex_longitude":"2d0cb840","hex_latitude":"07047ed0","is_valid_coordinates":true} 
[2026-09-25 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318121984001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33735812763877376,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029286313984,"note":"Value kept but may cause issues"} 
[2026-09-25 08:29:46] 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-25 08:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790305166000,"timestamp_ms":1790305166000,"timestamp_seconds":1790305166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d680e2b0"} 
[2026-09-25 08:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:29: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-25 08:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:29: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-25 08:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318121984001,"66":14374,"16":33735812763877376,"94":11008,"24":37,"45":916764029286313984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 08:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318121984001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33735812763877376,"km_value":33735812763877.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029286313984,"description":"Unknown IO ID 45"} 
[2026-09-25 08:29:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458318121984001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":916764029286313984}} 
[2026-09-25 08:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:29:46] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:29:46] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:01] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:30:01] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:01] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:02] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:02] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:02] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:03] local.INFO: TCP Data received {"connection_id":194760,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:30:03] local.INFO: Processing buffer {"connection_id":194760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d67c71f8012d34c14006aa4940000900f528..."} 
[2026-09-25 08:30:03] local.INFO: Packet analysis {"connection_id":194760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:30:03] local.INFO: Extracted packet for processing {"connection_id":194760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d67c"} 
[2026-09-25 08:30: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458317970944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30: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-25 08:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790304875000,"timestamp_ms":1790304875000,"timestamp_seconds":1790304875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d67c71f8"} 
[2026-09-25 08:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:30:03] 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-25 08:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458317970944001,"66":25441,"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-25 08:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458317970944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:30: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-25 08:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458317970944001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":194760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:03] local.INFO: GPS data processed {"connection_id":194760,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:03] local.INFO: Acknowledgment sent {"connection_id":194760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:05] local.INFO: TCP Data received {"connection_id":193457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6808cc0012d7b010005e352900004015022..."} 
[2026-09-25 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6808cc0012d7b010005e352900004015022..."} 
[2026-09-25 08:30:05] local.INFO: Processing buffer {"connection_id":193457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6808cc0012d7b010005e352900004015022..."} 
[2026-09-25 08:30:05] local.INFO: Packet analysis {"connection_id":193457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:05] local.INFO: Extracted packet for processing {"connection_id":193457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763035904,"raw_latitude":98783888,"longitude_deg":76.3035904,"latitude_deg":9.8783888,"altitude":4,"angle":336,"satellites":34,"speed":21,"hex_longitude":"2d7b0100","hex_latitude":"05e35290","is_valid_coordinates":true} 
[2026-09-25 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318115072001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135723131217117184,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859818496,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305144000,"timestamp_ms":1790305144000,"timestamp_seconds":1790305144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6808cc0"} 
[2026-09-25 08:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:30:05] 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-25 08:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:05] 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-25 08:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318115072001,"66":13243,"208":206,"85":15104,"24":21,"16":135723131217117184,"45":8864209991859818496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318115072001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135723131217117184,"km_value":135723131217117.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859818496,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318115072001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8864209991859818496}} 
[2026-09-25 08:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":193457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:05] local.INFO: GPS data processed {"connection_id":193457,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:05] local.INFO: Acknowledgment sent {"connection_id":193457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:06] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:06] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:30:06] local.INFO: IMEI packet received {"connection_id":191915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":191915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:07] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d680ee68012d0cb60007048918001201540e..."} 
[2026-09-25 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d680ee68012d0cb60007048918001201540e..."} 
[2026-09-25 08:30:07] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d680ee68012d0cb60007048918001201540e..."} 
[2026-09-25 08:30:07] local.INFO: Packet analysis {"connection_id":191915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:07] local.INFO: Extracted packet for processing {"connection_id":191915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":755807744,"raw_latitude":117737752,"longitude_deg":75.5807744,"latitude_deg":11.7737752,"altitude":18,"angle":340,"satellites":14,"speed":33,"hex_longitude":"2d0cb600","hex_latitude":"07048918","is_valid_coordinates":true} 
[2026-09-25 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-25 08:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318122496001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33735941612896256,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916552923054264320,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:07] 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-25 08:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305169000,"timestamp_ms":1790305169000,"timestamp_seconds":1790305169,"priority":1,"record_length":96,"hex_timestamp":"000001a0d680ee68"} 
[2026-09-25 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-25 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:07] 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-25 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-25 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-25 08:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318122496001,"66":14580,"16":33735941612896256,"94":11008,"24":33,"45":916552923054264320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 08:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318122496001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33735941612896256,"km_value":33735941612896.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:30:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":916552923054264320,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458318122496001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":916552923054264320}} 
[2026-09-25 08:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":191915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:07] local.INFO: GPS data processed {"connection_id":191915,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:07] local.INFO: Acknowledgment sent {"connection_id":191915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:19] local.INFO: TCP Data received {"connection_id":194761,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:30:19] local.INFO: Processing buffer {"connection_id":194761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:30:19] local.INFO: IMEI packet received {"connection_id":194761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":194761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:30:26] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:26] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:26] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:30:26] local.INFO: TCP Data received {"connection_id":194762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:26] local.INFO: Processing buffer {"connection_id":194762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:26] local.INFO: IMEI packet received {"connection_id":194762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":194762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:30:28] local.INFO: TCP Data received {"connection_id":194762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:28] local.INFO: Processing buffer {"connection_id":194762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:28] local.INFO: IMEI packet received {"connection_id":194762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":194762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:31] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:31] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:30:31] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:32] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:30:32] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:30:32] local.INFO: Packet analysis {"connection_id":192096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:30:32] local.INFO: Extracted packet for processing {"connection_id":192096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:30:32] 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-25 08:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:30:32] 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-25 08:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:30:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":192096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:32] local.INFO: GPS data processed {"connection_id":192096,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:32] local.INFO: Acknowledgment sent {"connection_id":192096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:33] local.INFO: TCP Data received {"connection_id":194762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:33] local.INFO: Processing buffer {"connection_id":194762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:30:33] local.INFO: IMEI packet received {"connection_id":194762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":194762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:30:34] local.INFO: TCP Data received {"connection_id":194762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d680a048012d7afe4005e35bb00005015c22..."} 
[2026-09-25 08:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d680a048012d7afe4005e35bb00005015c22..."} 
[2026-09-25 08:30:34] local.INFO: Processing buffer {"connection_id":194762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d680a048012d7afe4005e35bb00005015c22..."} 
[2026-09-25 08:30:34] local.INFO: Packet analysis {"connection_id":194762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:34] local.INFO: Extracted packet for processing {"connection_id":194762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763035200,"raw_latitude":98786224,"longitude_deg":76.30352,"latitude_deg":9.8786224,"altitude":5,"angle":348,"satellites":34,"speed":18,"hex_longitude":"2d7afe40","hex_latitude":"05e35bb0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318116864001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135723251476201472,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863365566930522112,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305149000,"timestamp_ms":1790305149000,"timestamp_seconds":1790305149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d680a048"} 
[2026-09-25 08: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-25 08:30:34] 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-25 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:34] 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-25 08: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-25 08: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-25 08:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318116864001,"66":13722,"208":206,"85":15104,"24":18,"16":135723251476201472,"45":8863365566930522112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318116864001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135723251476201472,"km_value":135723251476201.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863365566930522112,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318116864001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8863365566930522112}} 
[2026-09-25 08:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":194762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:34] local.INFO: GPS data processed {"connection_id":194762,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:34] local.INFO: Acknowledgment sent {"connection_id":194762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:30:51] local.INFO: TCP Data received {"connection_id":191915,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d680fa20012d0cb0c007049260001201480e..."} 
[2026-09-25 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d680fa20012d0cb0c007049260001201480e..."} 
[2026-09-25 08:30:51] local.INFO: Processing buffer {"connection_id":191915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d680fa20012d0cb0c007049260001201480e..."} 
[2026-09-25 08:30:51] local.INFO: Packet analysis {"connection_id":191915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:51] local.INFO: Extracted packet for processing {"connection_id":191915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755806400,"raw_latitude":117740128,"longitude_deg":75.58064,"latitude_deg":11.7740128,"altitude":18,"angle":328,"satellites":14,"speed":36,"hex_longitude":"2d0cb0c0","hex_latitude":"07049260","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318123264001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33736074756882432,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915919604357339136,"note":"Value kept but may cause issues"} 
[2026-09-25 08:30:51] 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-25 08:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790305172000,"timestamp_ms":1790305172000,"timestamp_seconds":1790305172,"priority":1,"record_length":96,"hex_timestamp":"000001a0d680fa20"} 
[2026-09-25 08: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-25 08:30: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-25 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:30:51] 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-25 08: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-25 08: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-25 08:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318123264001,"66":14428,"16":33736074756882432,"94":11008,"24":36,"45":915919604357339136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 08:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318123264001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33736074756882432,"km_value":33736074756882.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":915919604357339136,"description":"Unknown IO ID 45"} 
[2026-09-25 08:30:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458318123264001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":36,"unknown_45":915919604357339136}} 
[2026-09-25 08:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":191915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:30:51] local.INFO: GPS data processed {"connection_id":191915,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:30:51] local.INFO: Acknowledgment sent {"connection_id":191915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:31:03] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:03] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:03] local.INFO: Packet analysis {"connection_id":192096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:31:03] local.INFO: Extracted packet for processing {"connection_id":192096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:31: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31: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-25 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:31:03] 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-25 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:31: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-25 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":192096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:31:03] local.INFO: GPS data processed {"connection_id":192096,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:31:03] local.INFO: Acknowledgment sent {"connection_id":192096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:31:04] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:04] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:04] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:31:05] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:05] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:05] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:05] local.INFO: TCP Data received {"connection_id":194762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d680e2b0012d7af58005e37e700004015a23..."} 
[2026-09-25 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d680e2b0012d7af58005e37e700004015a23..."} 
[2026-09-25 08:31:05] local.INFO: Processing buffer {"connection_id":194762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d680e2b0012d7af58005e37e700004015a23..."} 
[2026-09-25 08:31:05] local.INFO: Packet analysis {"connection_id":194762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:31:05] local.INFO: Extracted packet for processing {"connection_id":194762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d680"} 
[2026-09-25 08:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98795120,"longitude_deg":76.303296,"latitude_deg":9.879512,"altitude":4,"angle":346,"satellites":35,"speed":15,"hex_longitude":"2d7af580","hex_latitude":"05e37e70","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318118144001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135723698152800256,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591510745165824,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305166000,"timestamp_ms":1790305166000,"timestamp_seconds":1790305166,"priority":1,"record_length":96,"hex_timestamp":"000001a0d680e2b0"} 
[2026-09-25 08: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-25 08:31:05] 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-25 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 08:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318118144001,"66":13222,"208":206,"85":15104,"24":15,"16":135723698152800256,"45":8862591510745165824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318118144001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:31:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135723698152800256,"km_value":135723698152800.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591510745165824,"description":"Unknown IO ID 45"} 
[2026-09-25 08:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318118144001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8862591510745165824}} 
[2026-09-25 08:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":194762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:31:05] local.INFO: GPS data processed {"connection_id":194762,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:31:05] local.INFO: Acknowledgment sent {"connection_id":194762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:31:06] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:06] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:31:06] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:26] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:26] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:26] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:31:27] local.INFO: TCP Data received {"connection_id":194764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:27] local.INFO: Processing buffer {"connection_id":194764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:27] local.INFO: IMEI packet received {"connection_id":194764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":194764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:31:30] local.INFO: TCP Data received {"connection_id":194764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:30] local.INFO: Processing buffer {"connection_id":194764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:30] local.INFO: IMEI packet received {"connection_id":194764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":194764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:31] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:31] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:31:31] local.INFO: IMEI packet received {"connection_id":191916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":191916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:32] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:32] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:31:32] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:31:32] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:31:32] 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-25 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:31: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-25 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:31:32] 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-25 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:31:32] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:31:32] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:31:33] local.INFO: TCP Data received {"connection_id":194764,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:33] local.INFO: Processing buffer {"connection_id":194764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:31:33] local.INFO: IMEI packet received {"connection_id":194764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":194764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:31:35] local.INFO: TCP Data received {"connection_id":194764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d682abb8012d7aca0005e411580002012323..."} 
[2026-09-25 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d682abb8012d7aca0005e411580002012323..."} 
[2026-09-25 08:31:35] local.INFO: Processing buffer {"connection_id":194764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d682abb8012d7aca0005e411580002012323..."} 
[2026-09-25 08:31:35] local.INFO: Packet analysis {"connection_id":194764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:31:35] local.INFO: Extracted packet for processing {"connection_id":194764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832728,"longitude_deg":76.3021824,"latitude_deg":9.8832728,"altitude":2,"angle":291,"satellites":35,"speed":7,"hex_longitude":"2d7aca00","hex_latitude":"05e41158","is_valid_coordinates":true} 
[2026-09-25 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-25 08:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318152192001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135725613708214272,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200631296,"note":"Value kept but may cause issues"} 
[2026-09-25 08:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790305283000,"timestamp_ms":1790305283000,"timestamp_seconds":1790305283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d682abb8"} 
[2026-09-25 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-25 08:31:35] 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-25 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 08:31:35] 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-25 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-25 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-25 08:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318152192001,"66":13602,"208":206,"85":15104,"24":7,"16":135725613708214272,"45":8848165918200631296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318152192001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:31:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135725613708214272,"km_value":135725613708214.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200631296,"description":"Unknown IO ID 45"} 
[2026-09-25 08:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318152192001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848165918200631296}} 
[2026-09-25 08:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":194764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:31:35] local.INFO: GPS data processed {"connection_id":194764,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:31:35] local.INFO: Acknowledgment sent {"connection_id":194764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:32:04] local.INFO: TCP Data received {"connection_id":191916,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:04] local.INFO: Processing buffer {"connection_id":191916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:04] local.INFO: Packet analysis {"connection_id":191916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:32:04] local.INFO: Extracted packet for processing {"connection_id":191916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:32: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-25 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32: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-25 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:32: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-25 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":191916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:32:04] local.INFO: GPS data processed {"connection_id":191916,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:32:04] local.INFO: Acknowledgment sent {"connection_id":191916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:32:06] local.INFO: TCP Data received {"connection_id":194764,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d682afa0012d7ac98005e411780002011623..."} 
[2026-09-25 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d682afa0012d7ac98005e411780002011623..."} 
[2026-09-25 08:32:07] local.INFO: Processing buffer {"connection_id":194764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d682afa0012d7ac98005e411780002011623..."} 
[2026-09-25 08:32:07] local.INFO: Packet analysis {"connection_id":194764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:32:07] local.INFO: Extracted packet for processing {"connection_id":194764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98832760,"longitude_deg":76.3021696,"latitude_deg":9.883276,"altitude":2,"angle":278,"satellites":35,"speed":6,"hex_longitude":"2d7ac980","hex_latitude":"05e41178","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318152448001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135725622298148864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223939072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305284000,"timestamp_ms":1790305284000,"timestamp_seconds":1790305284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d682afa0"} 
[2026-09-25 08: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-25 08:32:07] 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-25 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 08:32:07] 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-25 08: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-25 08: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-25 08:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318152448001,"66":13820,"208":206,"85":15104,"24":6,"16":135725622298148864,"45":8847884443223939072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318152448001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:32:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135725622298148864,"km_value":135725622298148.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223939072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318152448001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8847884443223939072}} 
[2026-09-25 08:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":194764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:32:07] local.INFO: GPS data processed {"connection_id":194764,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:32:07] local.INFO: Acknowledgment sent {"connection_id":194764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:32:26] local.INFO: TCP Data received {"connection_id":193459,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:26] local.INFO: Processing buffer {"connection_id":193459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:26] local.INFO: IMEI packet received {"connection_id":193459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":193459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:32:28] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:32:28] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:28] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:32:29] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:29] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:29] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:32:31] local.INFO: TCP Data received {"connection_id":193459,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:31] local.INFO: Processing buffer {"connection_id":193459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:32:31] local.INFO: IMEI packet received {"connection_id":193459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":193459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:32:32] local.INFO: TCP Data received {"connection_id":193459,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:32] local.INFO: Processing buffer {"connection_id":193459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:32:32] local.INFO: Packet analysis {"connection_id":193459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:32:32] local.INFO: Extracted packet for processing {"connection_id":193459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:32:32] 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-25 08:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:32: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-25 08:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":193459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:32:32] local.INFO: GPS data processed {"connection_id":193459,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:32:32] local.INFO: Acknowledgment sent {"connection_id":193459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:32:34] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:34] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:32:34] local.INFO: IMEI packet received {"connection_id":191917,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":191917,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:32:35] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d682b388012d7ac90005e411780002010524..."} 
[2026-09-25 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d682b388012d7ac90005e411780002010524..."} 
[2026-09-25 08:32:35] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d682b388012d7ac90005e411780002010524..."} 
[2026-09-25 08:32:35] local.INFO: Packet analysis {"connection_id":191917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:32:35] local.INFO: Extracted packet for processing {"connection_id":191917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98832760,"longitude_deg":76.3021568,"latitude_deg":9.883276,"altitude":2,"angle":261,"satellites":36,"speed":7,"hex_longitude":"2d7ac900","hex_latitude":"05e41178","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318152704001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135725630888083456,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705735591936,"note":"Value kept but may cause issues"} 
[2026-09-25 08:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790305285000,"timestamp_ms":1790305285000,"timestamp_seconds":1790305285,"priority":1,"record_length":96,"hex_timestamp":"000001a0d682b388"} 
[2026-09-25 08: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-25 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 08:32:35] 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-25 08: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-25 08: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-25 08:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318152704001,"66":13820,"208":206,"85":15104,"24":7,"16":135725630888083456,"45":8847743705735591936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318152704001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:32:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135725630888083456,"km_value":135725630888083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705735591936,"description":"Unknown IO ID 45"} 
[2026-09-25 08:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318152704001,"power":13820,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8847743705735591936}} 
[2026-09-25 08:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":191917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:32:35] local.INFO: GPS data processed {"connection_id":191917,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:32:35] local.INFO: Acknowledgment sent {"connection_id":191917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:33:03] local.INFO: TCP Data received {"connection_id":193459,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:03] local.INFO: Processing buffer {"connection_id":193459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:03] local.INFO: Packet analysis {"connection_id":193459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:33:03] local.INFO: Extracted packet for processing {"connection_id":193459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:33: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33: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-25 08:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:33: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-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":193459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:33:03] local.INFO: GPS data processed {"connection_id":193459,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:33:03] local.INFO: Acknowledgment sent {"connection_id":193459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:33:07] local.INFO: TCP Data received {"connection_id":191917,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d682f208012d7aa4c005e40b80000201011d..."} 
[2026-09-25 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d682f208012d7aa4c005e40b80000201011d..."} 
[2026-09-25 08:33:07] local.INFO: Processing buffer {"connection_id":191917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d682f208012d7aa4c005e40b80000201011d..."} 
[2026-09-25 08:33:07] local.INFO: Packet analysis {"connection_id":191917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:33:07] local.INFO: Extracted packet for processing {"connection_id":191917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d682"} 
[2026-09-25 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":98831232,"longitude_deg":76.3012288,"latitude_deg":9.8831232,"altitude":2,"angle":257,"satellites":29,"speed":20,"hex_longitude":"2d7aa4c0","hex_latitude":"05e40b80","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318152960001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135726077564682240,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247236608,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305301000,"timestamp_ms":1790305301000,"timestamp_seconds":1790305301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d682f208"} 
[2026-09-25 08: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-25 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 08:33:07] 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-25 08: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-25 08: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-25 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191917,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318152960001,"66":13341,"208":206,"85":15104,"24":20,"16":135726077564682240,"45":8847602968247236608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318152960001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:33:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135726077564682240,"km_value":135726077564682.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247236608,"description":"Unknown IO ID 45"} 
[2026-09-25 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318152960001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8847602968247236608}} 
[2026-09-25 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":191917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:33:07] local.INFO: GPS data processed {"connection_id":191917,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:33:07] local.INFO: Acknowledgment sent {"connection_id":191917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:33:26] local.INFO: TCP Data received {"connection_id":193461,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:26] local.INFO: Processing buffer {"connection_id":193461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:26] local.INFO: IMEI packet received {"connection_id":193461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":193461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:33:31] local.INFO: TCP Data received {"connection_id":193461,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:31] local.INFO: Processing buffer {"connection_id":193461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:33:31] local.INFO: IMEI packet received {"connection_id":193461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":193461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:33:32] local.INFO: TCP Data received {"connection_id":193461,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:32] local.INFO: Processing buffer {"connection_id":193461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:33:32] local.INFO: Packet analysis {"connection_id":193461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:33:32] local.INFO: Extracted packet for processing {"connection_id":193461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:33:32] 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-25 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:33: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-25 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:33:32] 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-25 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":193461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:33:32] local.INFO: GPS data processed {"connection_id":193461,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:33:32] local.INFO: Acknowledgment sent {"connection_id":193461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:33:33] local.INFO: TCP Data received {"connection_id":194767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:33] local.INFO: Processing buffer {"connection_id":194767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:33] local.INFO: IMEI packet received {"connection_id":194767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":194767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:33:38] local.INFO: TCP Data received {"connection_id":194767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:38] local.INFO: Processing buffer {"connection_id":194767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:33:38] local.INFO: IMEI packet received {"connection_id":194767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":194767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:33:40] local.INFO: TCP Data received {"connection_id":194767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6830978012d7a9e4005e40a88000101111f..."} 
[2026-09-25 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6830978012d7a9e4005e40a88000101111f..."} 
[2026-09-25 08:33:40] local.INFO: Processing buffer {"connection_id":194767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6830978012d7a9e4005e40a88000101111f..."} 
[2026-09-25 08:33:40] local.INFO: Packet analysis {"connection_id":194767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d683"} 
[2026-09-25 08:33:40] local.INFO: Extracted packet for processing {"connection_id":194767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d683"} 
[2026-09-25 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830984,"longitude_deg":76.3010624,"latitude_deg":9.8830984,"altitude":1,"angle":273,"satellites":31,"speed":5,"hex_longitude":"2d7a9e40","hex_latitude":"05e40a88","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318157056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135726159169060864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399500341084160,"note":"Value kept but may cause issues"} 
[2026-09-25 08:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790305307000,"timestamp_ms":1790305307000,"timestamp_seconds":1790305307,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6830978"} 
[2026-09-25 08: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-25 08:33: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-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318157056001,"66":13515,"208":206,"85":15104,"24":5,"16":135726159169060864,"45":8837399500341084160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318157056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:33:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135726159169060864,"km_value":135726159169060.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399500341084160,"description":"Unknown IO ID 45"} 
[2026-09-25 08:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318157056001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8837399500341084160}} 
[2026-09-25 08:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":194767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:33:40] local.INFO: GPS data processed {"connection_id":194767,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:33:40] local.INFO: Acknowledgment sent {"connection_id":194767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:34:03] local.INFO: TCP Data received {"connection_id":193461,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:03] local.INFO: Processing buffer {"connection_id":193461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:03] local.INFO: Packet analysis {"connection_id":193461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:34:03] local.INFO: Extracted packet for processing {"connection_id":193461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:34: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34: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-25 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:34:03] 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-25 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:34: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-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":193461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:34:03] local.INFO: GPS data processed {"connection_id":193461,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:34:03] local.INFO: Acknowledgment sent {"connection_id":193461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:34:12] local.INFO: TCP Data received {"connection_id":194767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d684d668012d7acc4005e410a00000008624..."} 
[2026-09-25 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d684d668012d7acc4005e410a00000008624..."} 
[2026-09-25 08:34:12] local.INFO: Processing buffer {"connection_id":194767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d684d668012d7acc4005e410a00000008624..."} 
[2026-09-25 08:34:12] local.INFO: Packet analysis {"connection_id":194767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d684"} 
[2026-09-25 08:34:12] local.INFO: Extracted packet for processing {"connection_id":194767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d684"} 
[2026-09-25 08:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832544,"longitude_deg":76.30224,"latitude_deg":9.8832544,"altitude":0,"angle":134,"satellites":36,"speed":8,"hex_longitude":"2d7acc40","hex_latitude":"05e410a0","is_valid_coordinates":true} 
[2026-09-25 08:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318188544001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135726769054416896,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688986624,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305425000,"timestamp_ms":1790305425000,"timestamp_seconds":1790305425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d684d668"} 
[2026-09-25 08:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:34: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-25 08:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 08:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318188544001,"66":13515,"208":206,"85":15104,"24":8,"16":135726769054416896,"45":8848306655688986624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318188544001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:34:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135726769054416896,"km_value":135726769054416.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688986624,"description":"Unknown IO ID 45"} 
[2026-09-25 08:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318188544001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848306655688986624}} 
[2026-09-25 08:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":194767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:34:12] local.INFO: GPS data processed {"connection_id":194767,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:34:12] local.INFO: Acknowledgment sent {"connection_id":194767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:34:26] local.INFO: TCP Data received {"connection_id":194768,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:26] local.INFO: Processing buffer {"connection_id":194768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:26] local.INFO: IMEI packet received {"connection_id":194768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":194768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:34:28] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:28] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:28] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:34:31] local.INFO: TCP Data received {"connection_id":194768,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:31] local.INFO: Processing buffer {"connection_id":194768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:34:31] local.INFO: IMEI packet received {"connection_id":194768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":194768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:34:32] local.INFO: TCP Data received {"connection_id":194768,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:32] local.INFO: Processing buffer {"connection_id":194768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:34:32] local.INFO: Packet analysis {"connection_id":194768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:34:32] local.INFO: Extracted packet for processing {"connection_id":194768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:34:32] 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-25 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:34: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-25 08:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:34:32] 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-25 08:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":194768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:34:32] local.INFO: GPS data processed {"connection_id":194768,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:34:32] local.INFO: Acknowledgment sent {"connection_id":194768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:34:33] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:33] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:34:33] local.INFO: IMEI packet received {"connection_id":191919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":191919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:34:34] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d684de38012d7acdc005e40e70000000a024..."} 
[2026-09-25 08:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d684de38012d7acdc005e40e70000000a024..."} 
[2026-09-25 08:34:34] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d684de38012d7acdc005e40e70000000a024..."} 
[2026-09-25 08:34:34] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d684"} 
[2026-09-25 08:34:34] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d684"} 
[2026-09-25 08:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98831984,"longitude_deg":76.3022784,"latitude_deg":9.8831984,"altitude":0,"angle":160,"satellites":36,"speed":15,"hex_longitude":"2d7acdc0","hex_latitude":"05e40e70","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318188800001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135726803414155264,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921490944,"note":"Value kept but may cause issues"} 
[2026-09-25 08:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305427000,"timestamp_ms":1790305427000,"timestamp_seconds":1790305427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d684de38"} 
[2026-09-25 08: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-25 08:34:34] 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-25 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 08:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318188800001,"66":13341,"208":206,"85":15104,"24":15,"16":135726803414155264,"45":8848517761921490944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318188800001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:34:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135726803414155264,"km_value":135726803414155.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921490944,"description":"Unknown IO ID 45"} 
[2026-09-25 08:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318188800001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8848517761921490944}} 
[2026-09-25 08:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:34:34] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:34:34] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:35:03] local.INFO: TCP Data received {"connection_id":194768,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:35:03] local.INFO: Processing buffer {"connection_id":194768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68109c0012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:35:03] local.INFO: Packet analysis {"connection_id":194768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:35:03] local.INFO: Extracted packet for processing {"connection_id":194768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d681"} 
[2026-09-25 08:35: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318048000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35: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-25 08:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305176000,"timestamp_ms":1790305176000,"timestamp_seconds":1790305176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68109c0"} 
[2026-09-25 08:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 08:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:35:03] 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-25 08:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318048000001,"66":25430,"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-25 08:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318048000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:35: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-25 08:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318048000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":194768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:35:03] local.INFO: GPS data processed {"connection_id":194768,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:35:03] local.INFO: Acknowledgment sent {"connection_id":194768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:35:06] local.INFO: TCP Data received {"connection_id":191919,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68514e8012d7ad60005e3ea40000100a725..."} 
[2026-09-25 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68514e8012d7ad60005e3ea40000100a725..."} 
[2026-09-25 08:35:06] local.INFO: Processing buffer {"connection_id":191919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68514e8012d7ad60005e3ea40000100a725..."} 
[2026-09-25 08:35:06] local.INFO: Packet analysis {"connection_id":191919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35:06] local.INFO: Extracted packet for processing {"connection_id":191919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98822720,"longitude_deg":76.3024896,"latitude_deg":9.882272,"altitude":1,"angle":167,"satellites":37,"speed":31,"hex_longitude":"2d7ad600","hex_latitude":"05e3ea40","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318189312001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135727262975655936,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386413568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790305441000,"timestamp_ms":1790305441000,"timestamp_seconds":1790305441,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68514e8"} 
[2026-09-25 08: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-25 08:35:06] 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-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318189312001,"66":13319,"208":206,"85":15104,"24":31,"16":135727262975655936,"45":8848939974386413568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318189312001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:35:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135727262975655936,"km_value":135727262975655.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386413568,"description":"Unknown IO ID 45"} 
[2026-09-25 08:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318189312001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8848939974386413568}} 
[2026-09-25 08:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":191919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:35:06] local.INFO: GPS data processed {"connection_id":191919,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:35:06] local.INFO: Acknowledgment sent {"connection_id":191919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:35:26] local.INFO: TCP Data received {"connection_id":193464,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:26] local.INFO: Processing buffer {"connection_id":193464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:26] local.INFO: IMEI packet received {"connection_id":193464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":193464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:35:28] local.INFO: TCP Data received {"connection_id":194769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:28] local.INFO: Processing buffer {"connection_id":194769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:28] local.INFO: IMEI packet received {"connection_id":194769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":194769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:35:31] local.INFO: TCP Data received {"connection_id":193464,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:31] local.INFO: Processing buffer {"connection_id":193464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:35:31] local.INFO: IMEI packet received {"connection_id":193464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":193464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:35:31] local.INFO: TCP Data received {"connection_id":193464,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:35:31] local.INFO: Processing buffer {"connection_id":193464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:35:31] local.INFO: Packet analysis {"connection_id":193464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35:31] local.INFO: Extracted packet for processing {"connection_id":193464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35: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-25 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:35:31] 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-25 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:35: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-25 08:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":193464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:35:31] local.INFO: GPS data processed {"connection_id":193464,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:35:31] local.INFO: Acknowledgment sent {"connection_id":193464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:35:33] local.INFO: TCP Data received {"connection_id":194769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:33] local.INFO: Processing buffer {"connection_id":194769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:35:33] local.INFO: IMEI packet received {"connection_id":194769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":194769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:35:34] local.INFO: TCP Data received {"connection_id":194769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68543c8012d7adf4005e3c858000300a621..."} 
[2026-09-25 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68543c8012d7adf4005e3c858000300a621..."} 
[2026-09-25 08:35:34] local.INFO: Processing buffer {"connection_id":194769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68543c8012d7adf4005e3c858000300a621..."} 
[2026-09-25 08:35:34] local.INFO: Packet analysis {"connection_id":194769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35:34] local.INFO: Extracted packet for processing {"connection_id":194769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763027264,"raw_latitude":98814040,"longitude_deg":76.3027264,"latitude_deg":9.881404,"altitude":3,"angle":166,"satellites":33,"speed":32,"hex_longitude":"2d7adf40","hex_latitude":"05e3c858","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318192896001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135727701062320128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142941904896,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305453000,"timestamp_ms":1790305453000,"timestamp_seconds":1790305453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68543c8"} 
[2026-09-25 08: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-25 08:35:34] 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-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3599000864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2227875841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13459408,"corrected_to":0} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":228,"raw_value":932245131461140480,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221611537,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826329600,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.WARNING: Large IO value detected {"io_id":132,"raw_value":1657325957715116037,"note":"Value kept but may cause issues"} 
[2026-09-25 08:35:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,51,160,222,45,192,14,36,10,66,50,214,64,210,128,1,240,203,227,228,4,113,205,2,183,201,88,35,239,53,226,5,11,122,132],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":203,"original":13459408,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 08:35:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72241371395588096,"timestamp_seconds":72241371395588.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318192896001,"66":13537,"208":206,"85":15104,"24":32,"16":135727701062320128,"45":8851262142941904896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318192896001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:35:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135727701062320128,"km_value":135727701062320.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142941904896,"description":"Unknown IO ID 45"} 
[2026-09-25 08:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318192896001,"power":13537,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8851262142941904896}} 
[2026-09-25 08:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":194769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:35:34] local.INFO: GPS data processed {"connection_id":194769,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:35:34] local.INFO: Acknowledgment sent {"connection_id":194769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:03] local.INFO: TCP Data received {"connection_id":193464,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:03] local.INFO: Processing buffer {"connection_id":193464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:03] local.INFO: Packet analysis {"connection_id":193464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:03] local.INFO: Extracted packet for processing {"connection_id":193464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36: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-25 08:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:03] 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-25 08:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:36: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-25 08:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":193464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:03] local.INFO: GPS data processed {"connection_id":193464,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:03] local.INFO: Acknowledgment sent {"connection_id":193464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:04] local.INFO: TCP Data received {"connection_id":193465,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:36:04] local.INFO: Processing buffer {"connection_id":193465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:36:04] local.INFO: IMEI packet received {"connection_id":193465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":193465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:36:05] local.INFO: TCP Data received {"connection_id":194769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6856ec0012d7aea8005e3a5d0000300a023..."} 
[2026-09-25 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6856ec0012d7aea8005e3a5d0000300a023..."} 
[2026-09-25 08:36:05] local.INFO: Processing buffer {"connection_id":194769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6856ec0012d7aea8005e3a5d0000300a023..."} 
[2026-09-25 08:36:05] local.INFO: Packet analysis {"connection_id":194769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:05] local.INFO: Extracted packet for processing {"connection_id":194769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763030144,"raw_latitude":98805200,"longitude_deg":76.3030144,"latitude_deg":9.88052,"altitude":3,"angle":160,"satellites":35,"speed":31,"hex_longitude":"2d7aea80","hex_latitude":"05e3a5d0","is_valid_coordinates":true} 
[2026-09-25 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318195968001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135728147738918912,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853865786474256384,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305464000,"timestamp_ms":1790305464000,"timestamp_seconds":1790305464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6856ec0"} 
[2026-09-25 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318195968001,"66":13363,"208":206,"85":15104,"24":31,"16":135728147738918912,"45":8853865786474256384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318195968001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135728147738918912,"km_value":135728147738918.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853865786474256384,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318195968001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8853865786474256384}} 
[2026-09-25 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":194769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:06] local.INFO: GPS data processed {"connection_id":194769,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:06] local.INFO: Acknowledgment sent {"connection_id":194769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:12] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:36:12] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:36:12] local.INFO: IMEI packet received {"connection_id":191921,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":191921,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:36:12] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6869f70012d0d5c000705de800014001216..."} 
[2026-09-25 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6869f70012d0d5c000705de800014001216..."} 
[2026-09-25 08:36:12] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6869f70012d0d5c000705de800014001216..."} 
[2026-09-25 08:36:12] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:36:12] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755850240,"raw_latitude":117825152,"longitude_deg":75.585024,"latitude_deg":11.7825152,"altitude":20,"angle":18,"satellites":22,"speed":11,"hex_longitude":"2d0d5c00","hex_latitude":"0705de80","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318218240001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33744248079646720,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962362975536857088,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:12] 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-25 08:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305542000,"timestamp_ms":1790305542000,"timestamp_seconds":1790305542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6869f70"} 
[2026-09-25 08: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-25 08:36:12] 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-25 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:12] 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-25 08: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-25 08: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-25 08:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318218240001,"66":14515,"167":206,"94":11008,"24":11,"16":33744248079646720,"45":962362975536857088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318218240001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:36:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33744248079646720,"km_value":33744248079646.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":962362975536857088,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318218240001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":962362975536857088}} 
[2026-09-25 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:13] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:13] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:26] local.INFO: TCP Data received {"connection_id":194770,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:26] local.INFO: Processing buffer {"connection_id":194770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:26] local.INFO: IMEI packet received {"connection_id":194770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":194770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:36:28] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:28] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:28] local.INFO: IMEI packet received {"connection_id":193466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":193466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:36:31] local.INFO: TCP Data received {"connection_id":194770,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:31] local.INFO: Processing buffer {"connection_id":194770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:36:31] local.INFO: IMEI packet received {"connection_id":194770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":194770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:36:32] local.INFO: TCP Data received {"connection_id":194770,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:32] local.INFO: Processing buffer {"connection_id":194770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:32] local.INFO: Packet analysis {"connection_id":194770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:32] local.INFO: Extracted packet for processing {"connection_id":194770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:32] 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-25 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:36: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-25 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:32] 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-25 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":194770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:32] local.INFO: GPS data processed {"connection_id":194770,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:32] local.INFO: Acknowledgment sent {"connection_id":194770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:33] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:33] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:36:33] local.INFO: IMEI packet received {"connection_id":193466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":193466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:36:34] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685b128012d7af64005e383b0000500a423..."} 
[2026-09-25 08:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685b128012d7af64005e383b0000500a423..."} 
[2026-09-25 08:36:34] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685b128012d7af64005e383b0000500a423..."} 
[2026-09-25 08:36:34] local.INFO: Packet analysis {"connection_id":193466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:34] local.INFO: Extracted packet for processing {"connection_id":193466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98796464,"longitude_deg":76.3033152,"latitude_deg":9.8796464,"altitude":5,"angle":164,"satellites":35,"speed":18,"hex_longitude":"2d7af640","hex_latitude":"05e383b0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318198784001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135728598710484992,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032379959988224,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305481000,"timestamp_ms":1790305481000,"timestamp_seconds":1790305481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685b128"} 
[2026-09-25 08: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-25 08:36:34] 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-25 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318198784001,"66":13406,"208":206,"85":15104,"24":18,"16":135728598710484992,"45":8857032379959988224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318198784001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135728598710484992,"km_value":135728598710484.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032379959988224,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318198784001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8857032379959988224}} 
[2026-09-25 08:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":193466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:34] local.INFO: GPS data processed {"connection_id":193466,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:34] local.INFO: Acknowledgment sent {"connection_id":193466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:37] local.INFO: TCP Data received {"connection_id":194770,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:37] local.INFO: Processing buffer {"connection_id":194770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:36:37] local.INFO: Packet analysis {"connection_id":194770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36:37] local.INFO: Extracted packet for processing {"connection_id":194770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:36: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:36:37] 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-25 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:36: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-25 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":194770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:37] local.INFO: GPS data processed {"connection_id":194770,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:37] local.INFO: Acknowledgment sent {"connection_id":194770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:36:43] local.INFO: TCP Data received {"connection_id":191921,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d686bac8012d0d5e800705e6500017001f16..."} 
[2026-09-25 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d686bac8012d0d5e800705e6500017001f16..."} 
[2026-09-25 08:36:43] local.INFO: Processing buffer {"connection_id":191921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d686bac8012d0d5e800705e6500017001f16..."} 
[2026-09-25 08:36:43] local.INFO: Packet analysis {"connection_id":191921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:36:43] local.INFO: Extracted packet for processing {"connection_id":191921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":755850880,"raw_latitude":117827152,"longitude_deg":75.585088,"latitude_deg":11.7827152,"altitude":23,"angle":31,"satellites":22,"speed":11,"hex_longitude":"2d0d5e80","hex_latitude":"0705e650","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318218752001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33744351158861824,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962644450513682432,"note":"Value kept but may cause issues"} 
[2026-09-25 08:36:43] 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-25 08:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790305549000,"timestamp_ms":1790305549000,"timestamp_seconds":1790305549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d686bac8"} 
[2026-09-25 08: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-25 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:36: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-25 08: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-25 08: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-25 08:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318218752001,"66":14450,"167":206,"94":11008,"24":11,"16":33744351158861824,"45":962644450513682432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318218752001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:36:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:36:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33744351158861824,"km_value":33744351158861.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":962644450513682432,"description":"Unknown IO ID 45"} 
[2026-09-25 08:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318218752001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":962644450513682432}} 
[2026-09-25 08:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":191921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:36:44] local.INFO: GPS data processed {"connection_id":191921,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:36:44] local.INFO: Acknowledgment sent {"connection_id":191921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:02] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:02] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:02] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:37:05] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:05] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:37:05] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:37:05] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d686c680012d0d60000705e9580017001216..."} 
[2026-09-25 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d686c680012d0d60000705e9580017001216..."} 
[2026-09-25 08:37:05] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d686c680012d0d60000705e9580017001216..."} 
[2026-09-25 08:37:05] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:37:05] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d686"} 
[2026-09-25 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":755851264,"raw_latitude":117827928,"longitude_deg":75.5851264,"latitude_deg":11.7827928,"altitude":23,"angle":18,"satellites":22,"speed":11,"hex_longitude":"2d0d6000","hex_latitude":"0705e958","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318220544001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33744394108534784,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963348137955971072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] 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-25 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305552000,"timestamp_ms":1790305552000,"timestamp_seconds":1790305552,"priority":1,"record_length":96,"hex_timestamp":"000001a0d686c680"} 
[2026-09-25 08: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-25 08:37:05] 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-25 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:05] 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-25 08: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-25 08: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-25 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318220544001,"66":14559,"167":206,"94":11008,"24":11,"16":33744394108534784,"45":963348137955971072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318220544001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33744394108534784,"km_value":33744394108534.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":963348137955971072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318220544001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":963348137955971072}} 
[2026-09-25 08:37:05] local.INFO: TCP Data received {"connection_id":193466,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685ebc0012d7b004005e36168000800a223..."} 
[2026-09-25 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685ebc0012d7b004005e36168000800a223..."} 
[2026-09-25 08:37:05] local.INFO: Processing buffer {"connection_id":193466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685ebc0012d7b004005e36168000800a223..."} 
[2026-09-25 08:37:05] local.INFO: Packet analysis {"connection_id":193466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37:05] local.INFO: Extracted packet for processing {"connection_id":193466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763035712,"raw_latitude":98787688,"longitude_deg":76.3035712,"latitude_deg":9.8787688,"altitude":8,"angle":162,"satellites":35,"speed":22,"hex_longitude":"2d7b0040","hex_latitude":"05e36168","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318203136001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135729041092116480,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860339710934102016,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305496000,"timestamp_ms":1790305496000,"timestamp_seconds":1790305496,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685ebc0"} 
[2026-09-25 08: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-25 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318203136001,"66":13450,"208":206,"85":15104,"24":22,"16":135729041092116480,"45":8860339710934102016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318203136001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135729041092116480,"km_value":135729041092116.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860339710934102016,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318203136001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8860339710934102016}} 
[2026-09-25 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":193466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:05] local.INFO: GPS data processed {"connection_id":193466,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:05] local.INFO: Acknowledgment sent {"connection_id":193466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:05] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:05] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:08] local.INFO: TCP Data received {"connection_id":194770,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:08] local.INFO: Processing buffer {"connection_id":194770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:08] local.INFO: Packet analysis {"connection_id":194770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37:08] local.INFO: Extracted packet for processing {"connection_id":194770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37: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-25 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:37: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-25 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:37:08] 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-25 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":194770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:08] local.INFO: GPS data processed {"connection_id":194770,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:08] local.INFO: Acknowledgment sent {"connection_id":194770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:26] local.INFO: TCP Data received {"connection_id":194771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:26] local.INFO: Processing buffer {"connection_id":194771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:26] local.INFO: IMEI packet received {"connection_id":194771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":194771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:37:29] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:29] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:29] local.INFO: IMEI packet received {"connection_id":191922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":191922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:37:31] local.INFO: TCP Data received {"connection_id":194771,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:31] local.INFO: Processing buffer {"connection_id":194771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:37:31] local.INFO: IMEI packet received {"connection_id":194771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":194771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:37:32] local.INFO: TCP Data received {"connection_id":194771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:32] local.INFO: Processing buffer {"connection_id":194771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:37:32] local.INFO: Packet analysis {"connection_id":194771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37:32] local.INFO: Extracted packet for processing {"connection_id":194771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:37:32] 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-25 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:37:32] 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-25 08:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":194771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:32] local.INFO: GPS data processed {"connection_id":194771,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:32] local.INFO: Acknowledgment sent {"connection_id":194771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:37] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d687eb78012d0da340070639400014016016..."} 
[2026-09-25 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d687eb78012d0da340070639400014016016..."} 
[2026-09-25 08:37:37] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d687eb78012d0da340070639400014016016..."} 
[2026-09-25 08:37:37] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:37] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":755868480,"raw_latitude":117848384,"longitude_deg":75.586848,"latitude_deg":11.7848384,"altitude":20,"angle":352,"satellites":22,"speed":17,"hex_longitude":"2d0da340","hex_latitude":"07063940","is_valid_coordinates":true} 
[2026-09-25 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318240256001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746017606172672,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982699542610153472,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790305627000,"timestamp_ms":1790305627000,"timestamp_seconds":1790305627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d687eb78"} 
[2026-09-25 08:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:37:37] 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-25 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:37] 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-25 08:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318240256001,"66":14396,"167":206,"94":11008,"24":17,"16":33746017606172672,"45":982699542610153472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318240256001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:37:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746017606172672,"km_value":33746017606172.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":982699542610153472,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318240256001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":982699542610153472}} 
[2026-09-25 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:37] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:37] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:37] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: IMEI packet received {"connection_id":191922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":191922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:37:37] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:37:37] local.INFO: IMEI packet received {"connection_id":191922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":191922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:37:38] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d687e3a8012d7b508005e3b918000b003022..."} 
[2026-09-25 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d687e3a8012d7b508005e3b918000b003022..."} 
[2026-09-25 08:37:38] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d687e3a8012d7b508005e3b918000b003022..."} 
[2026-09-25 08:37:38] local.INFO: Packet analysis {"connection_id":191922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:38] local.INFO: Extracted packet for processing {"connection_id":191922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":98810136,"longitude_deg":76.3056256,"latitude_deg":9.8810136,"altitude":11,"angle":48,"satellites":34,"speed":31,"hex_longitude":"2d7b5080","hex_latitude":"05e3b918","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318238464001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135730810618642432,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882224390375776256,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790305625000,"timestamp_ms":1790305625000,"timestamp_seconds":1790305625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d687e3a8"} 
[2026-09-25 08: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-25 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318238464001,"66":13406,"208":206,"85":15104,"24":31,"16":135730810618642432,"45":8882224390375776256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318238464001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135730810618642432,"km_value":135730810618642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882224390375776256,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318238464001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8882224390375776256}} 
[2026-09-25 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":191922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:38] local.INFO: GPS data processed {"connection_id":191922,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:38] local.INFO: Acknowledgment sent {"connection_id":191922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:37:39] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d687f730012d7b5c8005e3c4f0000a002426..."} 
[2026-09-25 08:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d687f730012d7b5c8005e3c4f0000a002426..."} 
[2026-09-25 08:37:39] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d687f730012d7b5c8005e3c4f0000a002426..."} 
[2026-09-25 08:37:39] local.INFO: Packet analysis {"connection_id":191922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:39] local.INFO: Extracted packet for processing {"connection_id":191922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d687"} 
[2026-09-25 08:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":98813168,"longitude_deg":76.3059328,"latitude_deg":9.8813168,"altitude":10,"angle":36,"satellites":38,"speed":38,"hex_longitude":"2d7b5c80","hex_latitude":"05e3c4f0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318240000001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135731021072039936,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827585738752,"note":"Value kept but may cause issues"} 
[2026-09-25 08:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790305630000,"timestamp_ms":1790305630000,"timestamp_seconds":1790305630,"priority":1,"record_length":96,"hex_timestamp":"000001a0d687f730"} 
[2026-09-25 08: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-25 08:37:39] 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-25 08:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 08:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318240000001,"66":13646,"208":206,"85":15104,"24":38,"16":135731021072039936,"45":8885742827585738752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318240000001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:37:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135731021072039936,"km_value":135731021072039.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827585738752,"description":"Unknown IO ID 45"} 
[2026-09-25 08:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318240000001,"power":13646,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8885742827585738752}} 
[2026-09-25 08:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":191922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:37:40] local.INFO: GPS data processed {"connection_id":191922,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:37:40] local.INFO: Acknowledgment sent {"connection_id":191922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:02] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:38:02] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:02] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:38:03] local.INFO: TCP Data received {"connection_id":194771,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:03] local.INFO: Processing buffer {"connection_id":194771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:03] local.INFO: Packet analysis {"connection_id":194771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:38:03] local.INFO: Extracted packet for processing {"connection_id":194771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:38: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38: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-25 08:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:38:03] 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-25 08:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"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-25 08:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:38: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-25 08:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":194771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:03] local.INFO: GPS data processed {"connection_id":194771,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:03] local.INFO: Acknowledgment sent {"connection_id":194771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:07] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:07] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:38:07] local.INFO: IMEI packet received {"connection_id":192100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":192100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:38:07] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6880ab8012d0da10007064b780014000616..."} 
[2026-09-25 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6880ab8012d0da10007064b780014000616..."} 
[2026-09-25 08:38:07] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6880ab8012d0da10007064b780014000616..."} 
[2026-09-25 08:38:07] local.INFO: Packet analysis {"connection_id":192100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:07] local.INFO: Extracted packet for processing {"connection_id":192100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:07] local.INFO: GPS Element Parsed {"raw_longitude":755867904,"raw_latitude":117853048,"longitude_deg":75.5867904,"latitude_deg":11.7853048,"altitude":20,"angle":6,"satellites":22,"speed":24,"hex_longitude":"2d0da100","hex_latitude":"07064b78","is_valid_coordinates":true} 
[2026-09-25 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-25 08:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318240512001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746249534406656,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982699542610264064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:07] 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-25 08:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305635000,"timestamp_ms":1790305635000,"timestamp_seconds":1790305635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6880ab8"} 
[2026-09-25 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-25 08:38:07] 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-25 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:07] 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-25 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-25 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-25 08:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318240512001,"66":14439,"167":206,"94":11008,"24":24,"16":33746249534406656,"45":982699542610264064},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318240512001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:38:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746249534406656,"km_value":33746249534406.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":982699542610264064,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318240512001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":982699542610264064}} 
[2026-09-25 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":192100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894298,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:08] local.INFO: GPS data processed {"connection_id":192100,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:08] local.INFO: Acknowledgment sent {"connection_id":192100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:11] local.INFO: TCP Data received {"connection_id":191922,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6881a58012d7b700005e3e268000b001f26..."} 
[2026-09-25 08:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6881a58012d7b700005e3e268000b001f26..."} 
[2026-09-25 08:38:11] local.INFO: Processing buffer {"connection_id":191922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6881a58012d7b700005e3e268000b001f26..."} 
[2026-09-25 08:38:11] local.INFO: Packet analysis {"connection_id":191922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:11] local.INFO: Extracted packet for processing {"connection_id":191922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":98820712,"longitude_deg":76.306432,"latitude_deg":9.8820712,"altitude":11,"angle":31,"satellites":38,"speed":44,"hex_longitude":"2d7b7000","hex_latitude":"05e3e268","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318241280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135731459158704128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527307042816,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790305639000,"timestamp_ms":1790305639000,"timestamp_seconds":1790305639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6881a58"} 
[2026-09-25 08: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-25 08:38:11] 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-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318241280001,"66":13580,"208":206,"85":15104,"24":44,"16":135731459158704128,"45":8889120527307042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318241280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135731459158704128,"km_value":135731459158704.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527307042816,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318241280001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8889120527307042816}} 
[2026-09-25 08:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":191922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:11] local.INFO: GPS data processed {"connection_id":191922,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:11] local.INFO: Acknowledgment sent {"connection_id":191922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:26] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:26] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:26] local.INFO: IMEI packet received {"connection_id":191924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":191924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:38:28] local.INFO: TCP Data received {"connection_id":194772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:28] local.INFO: Processing buffer {"connection_id":194772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:28] local.INFO: IMEI packet received {"connection_id":194772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":194772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:38:31] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:31] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:38:31] local.INFO: IMEI packet received {"connection_id":191924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":191924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:38:32] local.INFO: TCP Data received {"connection_id":194772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:32] local.INFO: Processing buffer {"connection_id":194772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:38:32] local.INFO: IMEI packet received {"connection_id":194772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":194772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:38:32] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:32] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:38:32] local.INFO: Packet analysis {"connection_id":191924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:38:32] local.INFO: Extracted packet for processing {"connection_id":191924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:38:32] 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-25 08:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:38: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-25 08:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":191924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:32] local.INFO: GPS data processed {"connection_id":191924,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:32] local.INFO: Acknowledgment sent {"connection_id":191924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:33] local.INFO: TCP Data received {"connection_id":194772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6883998012d7b83c005e40078000c002127..."} 
[2026-09-25 08:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6883998012d7b83c005e40078000c002127..."} 
[2026-09-25 08:38:33] local.INFO: Processing buffer {"connection_id":194772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6883998012d7b83c005e40078000c002127..."} 
[2026-09-25 08:38:33] local.INFO: Packet analysis {"connection_id":194772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:33] local.INFO: Extracted packet for processing {"connection_id":194772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":98828408,"longitude_deg":76.3069376,"latitude_deg":9.8828408,"altitude":12,"angle":33,"satellites":39,"speed":49,"hex_longitude":"2d7b83c0","hex_latitude":"05e40078","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135731901540335616,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289354831872,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790305647000,"timestamp_ms":1790305647000,"timestamp_seconds":1790305647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6883998"} 
[2026-09-25 08: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-25 08:38:33] 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-25 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637045,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3599175864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2307915785,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2146756870814040064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2275491841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283677648,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221611372,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814496256,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":864697602392195082,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906719794941525,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,208,85,24,241,157,16,55,160,247,45,128,196,10,38,66,54,227,185,11,34,204,1,240,192,214,4,113,205,30,98,27,112,36,239,53,2,226,5,8,123,52,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 08:38:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792667782489309184,"timestamp_seconds":792667782489309.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318243584001,"66":13504,"208":206,"85":15104,"24":49,"16":135731901540335616,"45":8894609289354831872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135731901540335616,"km_value":135731901540335.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289354831872,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318243584001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8894609289354831872}} 
[2026-09-25 08:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":194772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:33] local.INFO: GPS data processed {"connection_id":194772,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:33] local.INFO: Acknowledgment sent {"connection_id":194772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:34] local.INFO: TCP Data received {"connection_id":194772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68858d8012d7b97c005e41ea0000d002127..."} 
[2026-09-25 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68858d8012d7b97c005e41ea0000d002127..."} 
[2026-09-25 08:38:34] local.INFO: Processing buffer {"connection_id":194772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68858d8012d7b97c005e41ea0000d002127..."} 
[2026-09-25 08:38:34] local.INFO: Packet analysis {"connection_id":194772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:34] local.INFO: Extracted packet for processing {"connection_id":194772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":98836128,"longitude_deg":76.3074496,"latitude_deg":9.8836128,"altitude":13,"angle":33,"satellites":39,"speed":39,"hex_longitude":"2d7b97c0","hex_latitude":"05e41ea0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318245632001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135732348216934400,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900168420146837504,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305655000,"timestamp_ms":1790305655000,"timestamp_seconds":1790305655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68858d8"} 
[2026-09-25 08: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-25 08:38:34] 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-25 08: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 08:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318245632001,"66":13276,"208":206,"85":15104,"24":39,"16":135732348216934400,"45":8900168420146837504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 08:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318245632001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 08:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 08:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135732348216934400,"km_value":135732348216934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900168420146837504,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318245632001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8900168420146837504}} 
[2026-09-25 08:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":194772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:34] local.INFO: GPS data processed {"connection_id":194772,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:34] local.INFO: Acknowledgment sent {"connection_id":194772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:38:38] local.INFO: TCP Data received {"connection_id":192100,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6881a58012d0da200070652b80014001116..."} 
[2026-09-25 08:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6881a58012d0da200070652b80014001116..."} 
[2026-09-25 08:38:38] local.INFO: Processing buffer {"connection_id":192100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6881a58012d0da200070652b80014001116..."} 
[2026-09-25 08:38:38] local.INFO: Packet analysis {"connection_id":192100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:38] local.INFO: Extracted packet for processing {"connection_id":192100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117854904,"longitude_deg":75.586816,"latitude_deg":11.7854904,"altitude":20,"angle":17,"satellites":22,"speed":8,"hex_longitude":"2d0da200","hex_latitude":"070652b8","is_valid_coordinates":true} 
[2026-09-25 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318242560001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746339728719872,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982066223913859072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790305639000,"timestamp_ms":1790305639000,"timestamp_seconds":1790305639,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6881a58"} 
[2026-09-25 08:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 08:38: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-25 08:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318242560001,"66":14515,"167":206,"94":11008,"24":8,"16":33746339728719872,"45":982066223913859072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318242560001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:38:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:38:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746339728719872,"km_value":33746339728719.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":982066223913859072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318242560001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":982066223913859072}} 
[2026-09-25 08:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":192100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:38:38] local.INFO: GPS data processed {"connection_id":192100,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:38:38] local.INFO: Acknowledgment sent {"connection_id":192100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:02] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:02] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:02] local.INFO: IMEI packet received {"connection_id":193467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":193467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:39:03] local.INFO: TCP Data received {"connection_id":191924,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:03] local.INFO: Processing buffer {"connection_id":191924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:03] local.INFO: Packet analysis {"connection_id":191924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:39:03] local.INFO: Extracted packet for processing {"connection_id":191924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:39: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39: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-25 08:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:39: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-25 08:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":191924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:03] local.INFO: GPS data processed {"connection_id":191924,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:03] local.INFO: Acknowledgment sent {"connection_id":191924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:05] local.INFO: TCP Data received {"connection_id":194772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6887fe8012d7badc005e43ea0000e002227..."} 
[2026-09-25 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6887fe8012d7badc005e43ea0000e002227..."} 
[2026-09-25 08:39:05] local.INFO: Processing buffer {"connection_id":194772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6887fe8012d7badc005e43ea0000e002227..."} 
[2026-09-25 08:39:05] local.INFO: Packet analysis {"connection_id":194772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:05] local.INFO: Extracted packet for processing {"connection_id":194772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763080128,"raw_latitude":98844320,"longitude_deg":76.3080128,"latitude_deg":9.884432,"altitude":14,"angle":34,"satellites":39,"speed":42,"hex_longitude":"2d7badc0","hex_latitude":"05e43ea0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318247680001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135732829253271552,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919683026944,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305665000,"timestamp_ms":1790305665000,"timestamp_seconds":1790305665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6887fe8"} 
[2026-09-25 08: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-25 08:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:05] 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-25 08: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-25 08: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-25 08:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318247680001,"66":13678,"39":206,"87":13824,"24":42,"16":135732829253271552,"45":8905797919683026944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 08:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318247680001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 08:39:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135732829253271552,"km_value":135732829253271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919683026944,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318247680001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8905797919683026944}} 
[2026-09-25 08:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":194772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:05] local.INFO: GPS data processed {"connection_id":194772,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:05] local.INFO: Acknowledgment sent {"connection_id":194772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:05] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:05] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:05] local.INFO: IMEI packet received {"connection_id":193467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":193467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:06] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:06] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:39:06] local.INFO: IMEI packet received {"connection_id":193467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":193467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:07] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6886878012d0da240070653280013001117..."} 
[2026-09-25 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6886878012d0da240070653280013001117..."} 
[2026-09-25 08:39:07] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6886878012d0da240070653280013001117..."} 
[2026-09-25 08:39:07] local.INFO: Packet analysis {"connection_id":193467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:07] local.INFO: Extracted packet for processing {"connection_id":193467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855016,"longitude_deg":75.5868224,"latitude_deg":11.7855016,"altitude":19,"angle":17,"satellites":23,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"07065328","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746352613621760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698891044864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:07] 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-25 08:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305659000,"timestamp_ms":1790305659000,"timestamp_seconds":1790305659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6886878"} 
[2026-09-25 08: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-25 08:39:07] 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-25 08: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":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:07] 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-25 08: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-25 08: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-25 08:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318243584001,"66":14407,"167":206,"94":11008,"24":0,"16":33746352613621760,"45":982347698891044864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:39:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746352613621760,"km_value":33746352613621.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698891044864,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318243584001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982347698891044864}} 
[2026-09-25 08:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":193467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:07] local.INFO: GPS data processed {"connection_id":193467,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:07] local.INFO: Acknowledgment sent {"connection_id":193467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:12] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d688ba80012d0da240070653280013001118..."} 
[2026-09-25 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d688ba80012d0da240070653280013001118..."} 
[2026-09-25 08:39:12] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d688ba80012d0da240070653280013001118..."} 
[2026-09-25 08:39:12] local.INFO: Packet analysis {"connection_id":193467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:12] local.INFO: Extracted packet for processing {"connection_id":193467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d688"} 
[2026-09-25 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855016,"longitude_deg":75.5868224,"latitude_deg":11.7855016,"altitude":19,"angle":17,"satellites":24,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"07065328","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318248704001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746352613621760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067635251200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:12] 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-25 08:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305680000,"timestamp_ms":1790305680000,"timestamp_seconds":1790305680,"priority":1,"record_length":96,"hex_timestamp":"000001a0d688ba80"} 
[2026-09-25 08: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-25 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 08:39: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-25 08: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-25 08: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-25 08:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318248704001,"66":14515,"167":206,"94":11008,"24":0,"16":33746352613621760,"45":982418067635251200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318248704001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:39:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746352613621760,"km_value":33746352613621.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067635251200,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318248704001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982418067635251200}} 
[2026-09-25 08:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":193467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:12] local.INFO: GPS data processed {"connection_id":193467,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:12] local.INFO: Acknowledgment sent {"connection_id":193467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:26] local.INFO: TCP Data received {"connection_id":193468,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:26] local.INFO: Processing buffer {"connection_id":193468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:26] local.INFO: IMEI packet received {"connection_id":193468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":193468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:39:28] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:28] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:28] local.INFO: IMEI packet received {"connection_id":194773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":194773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:39:29] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:29] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:29] local.INFO: IMEI packet received {"connection_id":194773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":194773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:30] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:30] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:30] local.INFO: IMEI packet received {"connection_id":194773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":194773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:31] local.INFO: TCP Data received {"connection_id":193468,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:31] local.INFO: Processing buffer {"connection_id":193468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:39:31] local.INFO: IMEI packet received {"connection_id":193468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":193468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:32] local.INFO: TCP Data received {"connection_id":193468,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:32] local.INFO: Processing buffer {"connection_id":193468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:39:32] local.INFO: Packet analysis {"connection_id":193468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:39:32] local.INFO: Extracted packet for processing {"connection_id":193468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:39:32] 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-25 08:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:39: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-25 08:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":193468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:32] local.INFO: GPS data processed {"connection_id":193468,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:32] local.INFO: Acknowledgment sent {"connection_id":193468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:33] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:33] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:39:33] local.INFO: IMEI packet received {"connection_id":194773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":194773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:39:34] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d689ef18012d7c294005e573700002015c21..."} 
[2026-09-25 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d689ef18012d7c294005e573700002015c21..."} 
[2026-09-25 08:39:34] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d689ef18012d7c294005e573700002015c21..."} 
[2026-09-25 08:39:34] local.INFO: Packet analysis {"connection_id":194773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:39:34] local.INFO: Extracted packet for processing {"connection_id":194773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763111744,"raw_latitude":98923376,"longitude_deg":76.3111744,"latitude_deg":9.8923376,"altitude":2,"angle":348,"satellites":33,"speed":43,"hex_longitude":"2d7c2940","hex_latitude":"05e57370","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318270976001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135737218709848064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950059859790712832,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305759000,"timestamp_ms":1790305759000,"timestamp_seconds":1790305759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d689ef18"} 
[2026-09-25 08: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-25 08:39:34] 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-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036184,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818539,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3599304864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3839404032,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2303907841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827416,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,39,87,24,241,157,16,59,160,125,45,192,44,4,37,10,66,102,64,36,5,94,1,240,237,227,214,229,113,205,30,47,239,52,2,226,8,43],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-25 08:39:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360659742560550912,"timestamp_seconds":360659742560550.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318270976001,"66":13319,"39":206,"87":13824,"24":43,"16":135737218709848064,"45":8950059859790712832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 08:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318270976001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 08:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135737218709848064,"km_value":135737218709848.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950059859790712832,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318270976001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8950059859790712832}} 
[2026-09-25 08:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":194773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:34] local.INFO: GPS data processed {"connection_id":194773,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:34] local.INFO: Acknowledgment sent {"connection_id":194773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:38] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:39:38] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:39:38] local.INFO: Packet analysis {"connection_id":194773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:39:38] local.INFO: Extracted packet for processing {"connection_id":194773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":98931944,"longitude_deg":76.310912,"latitude_deg":9.8931944,"altitude":2,"angle":337,"satellites":31,"speed":46,"hex_longitude":"2d7c1f00","hex_latitude":"05e594e8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318274304001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135737652501544960,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946752528816762880,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790305767000,"timestamp_ms":1790305767000,"timestamp_seconds":1790305767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a0e58"} 
[2026-09-25 08: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-25 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3599314864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3841564672,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2304675841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308376,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57799294766176054,"corrected_to":0} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":137,"raw_value":621498043443838981,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-2835015931067881472,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,39,87,24,241,157,16,60,160,188,45,78,5,32,10,66,59,125,192,44,4,37,102,64,1,240,221,227,214,229,113,205,21,82,208,239,52,2,226,7,50,203,137,228],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":203,"original":57799294766176054,"validated":0}]} 
[2026-09-25 08:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144497959859060736,"timestamp_seconds":144497959859060.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318274304001,"66":13428,"39":206,"87":13824,"24":46,"16":135737652501544960,"45":8946752528816762880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318274304001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135737652501544960,"km_value":135737652501544.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946752528816762880,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318274304001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8946752528816762880}} 
[2026-09-25 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":194773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:38] local.INFO: GPS data processed {"connection_id":194773,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:38] local.INFO: Acknowledgment sent {"connection_id":194773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:39:43] local.INFO: TCP Data received {"connection_id":193467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6890c88012d0da24007065328001300111a..."} 
[2026-09-25 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6890c88012d0da24007065328001300111a..."} 
[2026-09-25 08:39:43] local.INFO: Processing buffer {"connection_id":193467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6890c88012d0da24007065328001300111a..."} 
[2026-09-25 08:39:43] local.INFO: Packet analysis {"connection_id":193467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:39:43] local.INFO: Extracted packet for processing {"connection_id":193467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855016,"longitude_deg":75.5868224,"latitude_deg":11.7855016,"altitude":19,"angle":17,"satellites":26,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"07065328","is_valid_coordinates":true} 
[2026-09-25 08:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318254080001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746352613621760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067635251200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:39:43] 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-25 08:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790305701000,"timestamp_ms":1790305701000,"timestamp_seconds":1790305701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6890c88"} 
[2026-09-25 08:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:39:43] 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-25 08:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:39: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-25 08:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318254080001,"66":13993,"167":206,"94":11008,"24":0,"16":33746352613621760,"45":982418067635251200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318254080001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:39:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:39:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746352613621760,"km_value":33746352613621.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067635251200,"description":"Unknown IO ID 45"} 
[2026-09-25 08:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318254080001,"power":13993,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982418067635251200}} 
[2026-09-25 08:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":193467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:39:43] local.INFO: GPS data processed {"connection_id":193467,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:39:43] local.INFO: Acknowledgment sent {"connection_id":193467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:01] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:01] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:01] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:40:04] local.INFO: TCP Data received {"connection_id":193468,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:04] local.INFO: Processing buffer {"connection_id":193468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d685a188012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:04] local.INFO: Packet analysis {"connection_id":193468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:40:04] local.INFO: Extracted packet for processing {"connection_id":193468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d685"} 
[2026-09-25 08:40: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-25 08:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318125056001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790305477000,"timestamp_ms":1790305477000,"timestamp_seconds":1790305477,"priority":1,"record_length":96,"hex_timestamp":"000001a0d685a188"} 
[2026-09-25 08:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:40: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-25 08:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 08:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318125056001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318125056001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:40: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-25 08:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318125056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":193468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:04] local.INFO: GPS data processed {"connection_id":193468,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:04] local.INFO: Acknowledgment sent {"connection_id":193468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:07] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:07] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:40:07] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:40:07] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6895e90012d0da24007065328001300111a..."} 
[2026-09-25 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6895e90012d0da24007065328001300111a..."} 
[2026-09-25 08:40:07] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6895e90012d0da24007065328001300111a..."} 
[2026-09-25 08:40:07] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:40:07] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855016,"longitude_deg":75.5868224,"latitude_deg":11.7855016,"altitude":19,"angle":17,"satellites":26,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"07065328","is_valid_coordinates":true} 
[2026-09-25 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-25 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318259456001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746352613621760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067635251200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:07] 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-25 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305722000,"timestamp_ms":1790305722000,"timestamp_seconds":1790305722,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6895e90"} 
[2026-09-25 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-25 08:40:07] 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-25 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 08:40:07] 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-25 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-25 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-25 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318259456001,"66":14537,"167":206,"94":11008,"24":0,"16":33746352613621760,"45":982418067635251200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318259456001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:40:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746352613621760,"km_value":33746352613621.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067635251200,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318259456001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982418067635251200}} 
[2026-09-25 08:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:08] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:08] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:10] local.INFO: TCP Data received {"connection_id":194773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:40:10] local.INFO: Processing buffer {"connection_id":194773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a0e58012d7c1f0005e594e8000201511f..."} 
[2026-09-25 08:40:10] local.INFO: Packet analysis {"connection_id":194773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:40:10] local.INFO: Extracted packet for processing {"connection_id":194773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763109120,"raw_latitude":98931944,"longitude_deg":76.310912,"latitude_deg":9.8931944,"altitude":2,"angle":337,"satellites":31,"speed":46,"hex_longitude":"2d7c1f00","hex_latitude":"05e594e8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318276352001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135737652501544960,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943867410307672064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790305767000,"timestamp_ms":1790305767000,"timestamp_seconds":1790305767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a0e58"} 
[2026-09-25 08: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-25 08:40: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-25 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 08:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318276352001,"66":13428,"39":206,"87":13824,"24":46,"16":135737652501544960,"45":8943867410307672064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 08:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318276352001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 08:40:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135737652501544960,"km_value":135737652501544.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943867410307672064,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318276352001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8943867410307672064}} 
[2026-09-25 08:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":194773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:10] local.INFO: GPS data processed {"connection_id":194773,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:10] local.INFO: Acknowledgment sent {"connection_id":194773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:26] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:26] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:26] local.INFO: IMEI packet received {"connection_id":192104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":192104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:40:28] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:28] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:28] local.INFO: IMEI packet received {"connection_id":192103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":192103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:40:31] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:31] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:40:31] local.INFO: IMEI packet received {"connection_id":192104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:40:33] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:33] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:40:33] local.INFO: IMEI packet received {"connection_id":192103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":192103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:40:33] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:33] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:40:33] local.INFO: Packet analysis {"connection_id":192104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:40:33] local.INFO: Extracted packet for processing {"connection_id":192104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08: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-25 08: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-25 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:40: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-25 08: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-25 08: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-25 08:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:40:33] 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-25 08:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:40:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":192104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:33] local.INFO: GPS data processed {"connection_id":192104,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:33] local.INFO: Acknowledgment sent {"connection_id":192104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:34] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a2d98012d7c0fc005e5b4900000014f1f..."} 
[2026-09-25 08:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a2d98012d7c0fc005e5b4900000014f1f..."} 
[2026-09-25 08:40:34] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a2d98012d7c0fc005e5b4900000014f1f..."} 
[2026-09-25 08:40:34] local.INFO: Packet analysis {"connection_id":192103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:40:34] local.INFO: Extracted packet for processing {"connection_id":192103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763105216,"raw_latitude":98940048,"longitude_deg":76.3105216,"latitude_deg":9.8940048,"altitude":0,"angle":335,"satellites":31,"speed":44,"hex_longitude":"2d7c0fc0","hex_latitude":"05e5b490","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318276352001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135738086293241856,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943867410307672064,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305775000,"timestamp_ms":1790305775000,"timestamp_seconds":1790305775,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a2d98"} 
[2026-09-25 08: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-25 08:40:34] 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-25 08: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 08:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318276352001,"66":13015,"39":206,"87":13824,"24":44,"16":135738086293241856,"45":8943867410307672064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 08:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318276352001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 08:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135738086293241856,"km_value":135738086293241.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943867410307672064,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318276352001,"power":13015,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8943867410307672064}} 
[2026-09-25 08:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":192103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:34] local.INFO: GPS data processed {"connection_id":192103,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:34] local.INFO: Acknowledgment sent {"connection_id":192103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:40:40] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d689b098012d0da240070653280013001116..."} 
[2026-09-25 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d689b098012d0da240070653280013001116..."} 
[2026-09-25 08:40:40] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d689b098012d0da240070653280013001116..."} 
[2026-09-25 08:40:40] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:40:40] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d689"} 
[2026-09-25 08:40:40] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117855016,"longitude_deg":75.5868224,"latitude_deg":11.7855016,"altitude":19,"angle":17,"satellites":22,"speed":0,"hex_longitude":"2d0da240","hex_latitude":"07065328","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318264832001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33746352613621760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067635251200,"note":"Value kept but may cause issues"} 
[2026-09-25 08:40: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-25 08:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790305743000,"timestamp_ms":1790305743000,"timestamp_seconds":1790305743,"priority":1,"record_length":96,"hex_timestamp":"000001a0d689b098"} 
[2026-09-25 08: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-25 08:40:40] 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-25 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 08:40: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-25 08: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-25 08: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-25 08:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318264832001,"66":14559,"167":206,"94":11008,"24":0,"16":33746352613621760,"45":982418067635251200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318264832001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:40:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:40:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33746352613621760,"km_value":33746352613621.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067635251200,"description":"Unknown IO ID 45"} 
[2026-09-25 08:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318264832001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982418067635251200}} 
[2026-09-25 08:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:40:40] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:40:40] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:01] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:01] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:01] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:41:02] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:02] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:02] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:41:05] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:05] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:05] local.INFO: Packet analysis {"connection_id":192104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:41:05] local.INFO: Extracted packet for processing {"connection_id":192104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08: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-25 08: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-25 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:41: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-25 08: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-25 08: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-25 08:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:41: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-25 08:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":192104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:05] local.INFO: GPS data processed {"connection_id":192104,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:05] local.INFO: Acknowledgment sent {"connection_id":192104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:05] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a4cd8012d7bff4005e5d2280000013f21..."} 
[2026-09-25 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a4cd8012d7bff4005e5d2280000013f21..."} 
[2026-09-25 08:41:05] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a4cd8012d7bff4005e5d2280000013f21..."} 
[2026-09-25 08:41:05] local.INFO: Packet analysis {"connection_id":192103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:41:05] local.INFO: Extracted packet for processing {"connection_id":192103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":98947624,"longitude_deg":76.3100992,"latitude_deg":9.8947624,"altitude":0,"angle":319,"satellites":33,"speed":41,"hex_longitude":"2d7bff40","hex_latitude":"05e5d228","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318278400001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135738507200036864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939574916914909184,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790305783000,"timestamp_ms":1790305783000,"timestamp_seconds":1790305783,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a4cd8"} 
[2026-09-25 08: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-25 08:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:05] 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-25 08: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-25 08: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-25 08:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318278400001,"66":13450,"40":206,"87":13824,"24":41,"16":135738507200036864,"45":8939574916914909184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-25 08:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318278400001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135738507200036864,"km_value":135738507200036.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939574916914909184,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318278400001,"power":13450,"unknown_40":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8939574916914909184}} 
[2026-09-25 08:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":192103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:05] local.INFO: GPS data processed {"connection_id":192103,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:05] local.INFO: Acknowledgment sent {"connection_id":192103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:07] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:07] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:41:07] local.INFO: IMEI packet received {"connection_id":191925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":191925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:41:08] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68b71d0012d0dc00007067fe8001900421a..."} 
[2026-09-25 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68b71d0012d0dc00007067fe8001900421a..."} 
[2026-09-25 08:41:08] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68b71d0012d0dc00007067fe8001900421a..."} 
[2026-09-25 08:41:08] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:08] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":755875840,"raw_latitude":117866472,"longitude_deg":75.587584,"latitude_deg":11.7866472,"altitude":25,"angle":66,"satellites":26,"speed":19,"hex_longitude":"2d0dc000","hex_latitude":"07067fe8","is_valid_coordinates":true} 
[2026-09-25 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318299392001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33747039808389120,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":990369735730198528,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790305858000,"timestamp_ms":1790305858000,"timestamp_seconds":1790305858,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68b71d0"} 
[2026-09-25 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318299392001,"66":14439,"167":206,"94":11008,"24":19,"16":33747039808389120,"45":990369735730198528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318299392001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33747039808389120,"km_value":33747039808389.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":990369735730198528,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318299392001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":990369735730198528}} 
[2026-09-25 08:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:08] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:08] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:26] local.INFO: TCP Data received {"connection_id":194776,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:26] local.INFO: Processing buffer {"connection_id":194776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:26] local.INFO: IMEI packet received {"connection_id":194776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":194776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:41:28] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:28] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:28] local.INFO: IMEI packet received {"connection_id":193469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":193469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:41:30] local.INFO: TCP Data received {"connection_id":194775,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:41:30] local.INFO: Processing buffer {"connection_id":194775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:41:30] local.INFO: IMEI packet received {"connection_id":194775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":194775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:41:30] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:30] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:30] local.INFO: IMEI packet received {"connection_id":193469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":193469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:41:31] local.INFO: TCP Data received {"connection_id":194776,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:31] local.INFO: Processing buffer {"connection_id":194776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:41:31] local.INFO: IMEI packet received {"connection_id":194776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":194776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:41:32] local.INFO: TCP Data received {"connection_id":194776,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:32] local.INFO: Processing buffer {"connection_id":194776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:41:32] local.INFO: Packet analysis {"connection_id":194776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:41:32] local.INFO: Extracted packet for processing {"connection_id":194776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:41:32] 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-25 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:41:32] 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-25 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":194776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:32] local.INFO: GPS data processed {"connection_id":194776,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:32] local.INFO: Acknowledgment sent {"connection_id":194776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:38] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:38] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:41:38] local.INFO: IMEI packet received {"connection_id":193469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":193469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:41:39] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68b9110012d7ba1c005e67dd80000016024..."} 
[2026-09-25 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68b9110012d7ba1c005e67dd80000016024..."} 
[2026-09-25 08:41:39] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68b9110012d7ba1c005e67dd80000016024..."} 
[2026-09-25 08:41:39] local.INFO: Packet analysis {"connection_id":193469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:39] local.INFO: Extracted packet for processing {"connection_id":193469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763077056,"raw_latitude":98991576,"longitude_deg":76.3077056,"latitude_deg":9.8991576,"altitude":0,"angle":352,"satellites":36,"speed":28,"hex_longitude":"2d7ba1c0","hex_latitude":"05e67dd8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318300416001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135740985396166656,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909457094419167232,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790305866000,"timestamp_ms":1790305866000,"timestamp_seconds":1790305866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68b9110"} 
[2026-09-25 08: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-25 08:41:39] 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-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3599404864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2329507841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3858489344,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147870238,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57799299061143350,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-8968917363045187579,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-925489723402673664,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,95,87,24,241,157,16,63,160,102,45,192,97,35,10,66,55,65,36,62,43,128,1,240,230,227,214,4,113,205,5,190,206,48,34,239,52,40,2,226,32,116,138,229],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-09-25 08:41:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":372884767506432,"timestamp_seconds":372884767506.432,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318300416001,"66":12906,"95":206,"87":13824,"24":28,"16":135740985396166656,"45":8909457094419167232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318300416001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135740985396166656,"km_value":135740985396166.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909457094419167232,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318300416001,"power":12906,"unknown_95":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8909457094419167232}} 
[2026-09-25 08:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":193469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:39] local.INFO: GPS data processed {"connection_id":193469,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:39] local.INFO: Acknowledgment sent {"connection_id":193469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:39] local.INFO: TCP Data received {"connection_id":191925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68bfa88012d0dec400706a4a00018003718..."} 
[2026-09-25 08:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68bfa88012d0dec400706a4a00018003718..."} 
[2026-09-25 08:41:39] local.INFO: Processing buffer {"connection_id":191925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68bfa88012d0dec400706a4a00018003718..."} 
[2026-09-25 08:41:39] local.INFO: Packet analysis {"connection_id":191925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:39] local.INFO: Extracted packet for processing {"connection_id":191925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:39] local.INFO: GPS Element Parsed {"raw_longitude":755887168,"raw_latitude":117875872,"longitude_deg":75.5887168,"latitude_deg":11.7875872,"altitude":24,"angle":55,"satellites":24,"speed":14,"hex_longitude":"2d0dec40","hex_latitude":"0706a4a0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318308352001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33747911686750208,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002895372196243456,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:39] 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-25 08:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790305893000,"timestamp_ms":1790305893000,"timestamp_seconds":1790305893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68bfa88"} 
[2026-09-25 08: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-25 08:41:39] 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-25 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:39] 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-25 08: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-25 08: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-25 08:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318308352001,"66":14580,"167":206,"94":11008,"24":14,"16":33747911686750208,"45":1002895372196243456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318308352001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33747911686750208,"km_value":33747911686750.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002895372196243456,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318308352001,"power":14580,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1002895372196243456}} 
[2026-09-25 08:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":191925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:39] local.INFO: GPS data processed {"connection_id":191925,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:39] local.INFO: Acknowledgment sent {"connection_id":191925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:41:40] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68bc3d8012d7b998005e6a1900003015a23..."} 
[2026-09-25 08:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68bc3d8012d7b998005e6a1900003015a23..."} 
[2026-09-25 08:41:40] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68bc3d8012d7b998005e6a1900003015a23..."} 
[2026-09-25 08:41:40] local.INFO: Packet analysis {"connection_id":193469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:40] local.INFO: Extracted packet for processing {"connection_id":193469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763074944,"raw_latitude":99000720,"longitude_deg":76.3074944,"latitude_deg":9.900072,"altitude":3,"angle":346,"satellites":35,"speed":32,"hex_longitude":"2d7b9980","hex_latitude":"05e6a190","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318301696001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135741440662700032,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908612669489928192,"note":"Value kept but may cause issues"} 
[2026-09-25 08:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790305879000,"timestamp_ms":1790305879000,"timestamp_seconds":1790305879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68bc3d8"} 
[2026-09-25 08: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-25 08:41: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-25 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-25 08:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318301696001,"66":13656,"95":206,"87":13824,"24":32,"16":135741440662700032,"45":8908612669489928192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318301696001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:41:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:41:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135741440662700032,"km_value":135741440662700.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908612669489928192,"description":"Unknown IO ID 45"} 
[2026-09-25 08:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318301696001,"power":13656,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8908612669489928192}} 
[2026-09-25 08:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":193469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:41:40] local.INFO: GPS data processed {"connection_id":193469,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:41:40] local.INFO: Acknowledgment sent {"connection_id":193469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:01] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:01] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:01] local.INFO: IMEI packet received {"connection_id":192105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":192105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:42:02] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:02] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:02] local.INFO: IMEI packet received {"connection_id":192105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":192105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:42:03] local.INFO: TCP Data received {"connection_id":194776,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:03] local.INFO: Processing buffer {"connection_id":194776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:03] local.INFO: Packet analysis {"connection_id":194776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:42:03] local.INFO: Extracted packet for processing {"connection_id":194776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:42: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42: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-25 08:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:42: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-25 08:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":194776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:03] local.INFO: GPS data processed {"connection_id":194776,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:03] local.INFO: Acknowledgment sent {"connection_id":194776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:05] local.INFO: TCP Data received {"connection_id":193470,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:42:05] local.INFO: Processing buffer {"connection_id":193470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:42:05] local.INFO: IMEI packet received {"connection_id":193470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":193470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:42:06] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:06] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:42:06] local.INFO: IMEI packet received {"connection_id":192105,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":192105,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:42:07] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68bfe70012d0decc00706a5d00018001918..."} 
[2026-09-25 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68bfe70012d0decc00706a5d00018001918..."} 
[2026-09-25 08:42:07] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68bfe70012d0decc00706a5d00018001918..."} 
[2026-09-25 08:42:07] local.INFO: Packet analysis {"connection_id":192105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:42:07] local.INFO: Extracted packet for processing {"connection_id":192105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755887296,"raw_latitude":117876176,"longitude_deg":75.5887296,"latitude_deg":11.7876176,"altitude":24,"angle":25,"satellites":24,"speed":14,"hex_longitude":"2d0decc0","hex_latitude":"0706a5d0","is_valid_coordinates":true} 
[2026-09-25 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-25 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318308608001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33747928866619392,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003247215917178880,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:07] 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-25 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790305894000,"timestamp_ms":1790305894000,"timestamp_seconds":1790305894,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68bfe70"} 
[2026-09-25 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-25 08:42:07] 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-25 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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:07] 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-25 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-25 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-25 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318308608001,"66":14450,"167":206,"94":11008,"24":14,"16":33747928866619392,"45":1003247215917178880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318308608001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 08:42:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33747928866619392,"km_value":33747928866619.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003247215917178880,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318308608001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1003247215917178880}} 
[2026-09-25 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":192105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:07] local.INFO: GPS data processed {"connection_id":192105,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:07] local.INFO: Acknowledgment sent {"connection_id":192105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:11] local.INFO: TCP Data received {"connection_id":193469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68be700012d7b93c005e6ba000002016721..."} 
[2026-09-25 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68be700012d7b93c005e6ba000002016721..."} 
[2026-09-25 08:42:11] local.INFO: Processing buffer {"connection_id":193469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68be700012d7b93c005e6ba000002016721..."} 
[2026-09-25 08:42:11] local.INFO: Packet analysis {"connection_id":193469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:42:11] local.INFO: Extracted packet for processing {"connection_id":193469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68b"} 
[2026-09-25 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763073472,"raw_latitude":99006976,"longitude_deg":76.3073472,"latitude_deg":9.9006976,"altitude":2,"angle":359,"satellites":33,"speed":8,"hex_longitude":"2d7b93c0","hex_latitude":"05e6ba00","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318305024001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135741754195312640,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906290500934406144,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790305888000,"timestamp_ms":1790305888000,"timestamp_seconds":1790305888,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68be700"} 
[2026-09-25 08: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-25 08:42:11] 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-25 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:11] 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-25 08: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-25 08: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-25 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318305024001,"66":13352,"95":206,"87":13824,"24":8,"16":135741754195312640,"45":8906290500934406144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318305024001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:42:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135741754195312640,"km_value":135741754195312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906290500934406144,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318305024001,"power":13352,"unknown_95":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8906290500934406144}} 
[2026-09-25 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":193469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:11] local.INFO: GPS data processed {"connection_id":193469,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:11] local.INFO: Acknowledgment sent {"connection_id":193469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:26] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:26] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:26] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:42:28] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:28] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:28] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:42:31] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:31] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:42:31] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:42:32] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:32] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:42:32] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:42:32] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:42:32] 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-25 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:42: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-25 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:42:32] 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-25 08:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:32] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:32] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:33] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:33] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:42:33] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:42:34] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68c19c8012d7b944005e6bc780002000e22..."} 
[2026-09-25 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68c19c8012d7b944005e6bc780002000e22..."} 
[2026-09-25 08:42:34] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68c19c8012d7b944005e6bc780002000e22..."} 
[2026-09-25 08:42:34] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:42:34] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":99007608,"longitude_deg":76.30736,"latitude_deg":9.9007608,"altitude":2,"angle":14,"satellites":34,"speed":7,"hex_longitude":"2d7b9440","hex_latitude":"05e6bc78","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318307328001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135741805734920192,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904672019819921408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305901000,"timestamp_ms":1790305901000,"timestamp_seconds":1790305901,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68c19c8"} 
[2026-09-25 08: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-25 08:42:34] 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-25 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318307328001,"66":13493,"95":206,"87":13824,"24":7,"16":135741805734920192,"45":8904672019819921408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318307328001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:42:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135741805734920192,"km_value":135741805734920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904672019819921408,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318307328001,"power":13493,"unknown_95":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8904672019819921408}} 
[2026-09-25 08:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:34] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:34] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:42:38] local.INFO: TCP Data received {"connection_id":192105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68cc990012d0dcf800706fb60001e002a19..."} 
[2026-09-25 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68cc990012d0dcf800706fb60001e002a19..."} 
[2026-09-25 08:42:38] local.INFO: Processing buffer {"connection_id":192105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68cc990012d0dcf800706fb60001e002a19..."} 
[2026-09-25 08:42:38] local.INFO: Packet analysis {"connection_id":192105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:42:38] local.INFO: Extracted packet for processing {"connection_id":192105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":755879808,"raw_latitude":117898080,"longitude_deg":75.5879808,"latitude_deg":11.789808,"altitude":30,"angle":42,"satellites":25,"speed":9,"hex_longitude":"2d0dcf80","hex_latitude":"0706fb60","is_valid_coordinates":true} 
[2026-09-25 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318321408001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33749260306481152,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229132918784,"note":"Value kept but may cause issues"} 
[2026-09-25 08:42: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-25 08:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790305946000,"timestamp_ms":1790305946000,"timestamp_seconds":1790305946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68cc990"} 
[2026-09-25 08:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-25 08:42:38] 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-25 08:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192105,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318321408001,"66":14548,"219":206,"94":10240,"24":9,"16":33749260306481152,"45":994662229132918784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318321408001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33749260306481152,"km_value":33749260306481.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229132918784,"description":"Unknown IO ID 45"} 
[2026-09-25 08:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318321408001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":994662229132918784}} 
[2026-09-25 08:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":192105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:42:39] local.INFO: GPS data processed {"connection_id":192105,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:42:39] local.INFO: Acknowledgment sent {"connection_id":192105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:03] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:03] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:03] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:43:03] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08: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-25 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:43:03] 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-25 08:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:03] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:03] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:07] local.INFO: TCP Data received {"connection_id":194777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:07] local.INFO: Processing buffer {"connection_id":194777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:07] local.INFO: IMEI packet received {"connection_id":194777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":194777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:43:10] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68c44c0012d7b97c005e6d2680003000121..."} 
[2026-09-25 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68c44c0012d7b97c005e6d2680003000121..."} 
[2026-09-25 08:43:10] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68c44c0012d7b97c005e6d2680003000121..."} 
[2026-09-25 08:43:10] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:10] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99013224,"longitude_deg":76.3074496,"latitude_deg":9.9013224,"altitude":3,"angle":1,"satellites":33,"speed":29,"hex_longitude":"2d7b97c0","hex_latitude":"05e6d268","is_valid_coordinates":true} 
[2026-09-25 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318310656001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135742080612827136,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757308438528,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790305912000,"timestamp_ms":1790305912000,"timestamp_seconds":1790305912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68c44c0"} 
[2026-09-25 08:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:43: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-25 08:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 08:43:10] 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-25 08:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318310656001,"66":13406,"95":206,"87":13824,"24":29,"16":135742080612827136,"45":8904812757308438528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 08:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318310656001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 08:43:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135742080612827136,"km_value":135742080612827.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757308438528,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318310656001,"power":13406,"unknown_95":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8904812757308438528}} 
[2026-09-25 08:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:10] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:10] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:11] local.INFO: TCP Data received {"connection_id":194777,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:11] local.INFO: Processing buffer {"connection_id":194777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:11] local.INFO: IMEI packet received {"connection_id":194777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":194777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:43:12] local.INFO: TCP Data received {"connection_id":194777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68cd160012d0dd0c00706fc58001e004719..."} 
[2026-09-25 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68cd160012d0dd0c00706fc58001e004719..."} 
[2026-09-25 08:43:12] local.INFO: Processing buffer {"connection_id":194777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68cd160012d0dd0c00706fc58001e004719..."} 
[2026-09-25 08:43:12] local.INFO: Packet analysis {"connection_id":194777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:12] local.INFO: Extracted packet for processing {"connection_id":194777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":117898328,"longitude_deg":75.5880128,"latitude_deg":11.7898328,"altitude":30,"angle":71,"satellites":25,"speed":6,"hex_longitude":"2d0dd0c0","hex_latitude":"0706fc58","is_valid_coordinates":true} 
[2026-09-25 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-25 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318322176001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33749281781317632,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995154810342432768,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305948000,"timestamp_ms":1790305948000,"timestamp_seconds":1790305948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68cd160"} 
[2026-09-25 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-25 08:43: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-25 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":212,"data_length":795,"current_offset":136} 
[2026-09-25 08:43: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-25 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-25 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-25 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318322176001,"66":14428,"219":206,"94":10240,"24":6,"16":33749281781317632,"45":995154810342432768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318322176001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33749281781317632,"km_value":33749281781317.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":995154810342432768,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318322176001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":995154810342432768}} 
[2026-09-25 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":194777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:12] local.INFO: GPS data processed {"connection_id":194777,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:12] local.INFO: Acknowledgment sent {"connection_id":194777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:12] local.INFO: TCP Data received {"connection_id":194777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68cd548012d0dd0c00706fca8001d005719..."} 
[2026-09-25 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68cd548012d0dd0c00706fca8001d005719..."} 
[2026-09-25 08:43:12] local.INFO: Processing buffer {"connection_id":194777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68cd548012d0dd0c00706fca8001d005719..."} 
[2026-09-25 08:43:12] local.INFO: Packet analysis {"connection_id":194777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:12] local.INFO: Extracted packet for processing {"connection_id":194777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68c"} 
[2026-09-25 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":117898408,"longitude_deg":75.5880128,"latitude_deg":11.7898408,"altitude":29,"angle":87,"satellites":25,"speed":8,"hex_longitude":"2d0dd0c0","hex_latitude":"0706fca8","is_valid_coordinates":true} 
[2026-09-25 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-25 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318322688001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33749281781317632,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506654063384576,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790305949000,"timestamp_ms":1790305949000,"timestamp_seconds":1790305949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68cd548"} 
[2026-09-25 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-25 08:43: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-25 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":92,"data_length":795,"current_offset":136} 
[2026-09-25 08:43: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-25 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-25 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-25 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318322688001,"66":14428,"219":206,"94":10240,"24":8,"16":33749281781317632,"45":995506654063384576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318322688001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33749281781317632,"km_value":33749281781317.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506654063384576,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318322688001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":995506654063384576}} 
[2026-09-25 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":194777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:12] local.INFO: GPS data processed {"connection_id":194777,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:12] local.INFO: Acknowledgment sent {"connection_id":194777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:26] local.INFO: TCP Data received {"connection_id":193471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:26] local.INFO: Processing buffer {"connection_id":193471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:26] local.INFO: IMEI packet received {"connection_id":193471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":193471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:43:28] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:28] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:28] local.INFO: IMEI packet received {"connection_id":192108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":192108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:43:29] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:29] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:29] local.INFO: IMEI packet received {"connection_id":192108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:43:31] local.INFO: TCP Data received {"connection_id":193471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:31] local.INFO: Processing buffer {"connection_id":193471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:43:31] local.INFO: IMEI packet received {"connection_id":193471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":193471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:43:32] local.INFO: TCP Data received {"connection_id":193471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:32] local.INFO: Processing buffer {"connection_id":193471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:43:32] local.INFO: Packet analysis {"connection_id":193471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:43:32] local.INFO: Extracted packet for processing {"connection_id":193471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:43:32] 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-25 08:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:43: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-25 08:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":193471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:32] local.INFO: GPS data processed {"connection_id":193471,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:32] local.INFO: Acknowledgment sent {"connection_id":193471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:33] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:33] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:43:33] local.INFO: IMEI packet received {"connection_id":192108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":192108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:43:34] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68d8510012d7b6d0005e772a00003015e21..."} 
[2026-09-25 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68d8510012d7b6d0005e772a00003015e21..."} 
[2026-09-25 08:43:34] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68d8510012d7b6d0005e772a00003015e21..."} 
[2026-09-25 08:43:34] local.INFO: Packet analysis {"connection_id":192108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:43:34] local.INFO: Extracted packet for processing {"connection_id":192108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763063552,"raw_latitude":99054240,"longitude_deg":76.3063552,"latitude_deg":9.905424,"altitude":3,"angle":350,"satellites":33,"speed":17,"hex_longitude":"2d7b6d00","hex_latitude":"05e772a0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318329088001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135744163671965696,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895242608110608384,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790305994000,"timestamp_ms":1790305994000,"timestamp_seconds":1790305994,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68d8510"} 
[2026-09-25 08: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-25 08:43:34] 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-25 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 08:43:34] 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-25 08: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-25 08: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-25 08:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318329088001,"66":13646,"96":206,"87":13824,"24":17,"16":135744163671965696,"45":8895242608110608384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 08:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318329088001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135744163671965696,"km_value":135744163671965.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895242608110608384,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318329088001,"power":13646,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8895242608110608384}} 
[2026-09-25 08:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":192108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:34] local.INFO: GPS data processed {"connection_id":192108,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:34] local.INFO: Acknowledgment sent {"connection_id":192108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:43] local.INFO: TCP Data received {"connection_id":194777,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68d0040012d0de3800706fff8001c004919..."} 
[2026-09-25 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68d0040012d0de3800706fff8001c004919..."} 
[2026-09-25 08:43:43] local.INFO: Processing buffer {"connection_id":194777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68d0040012d0de3800706fff8001c004919..."} 
[2026-09-25 08:43:43] local.INFO: Packet analysis {"connection_id":194777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:43:43] local.INFO: Extracted packet for processing {"connection_id":194777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755884928,"raw_latitude":117899256,"longitude_deg":75.5884928,"latitude_deg":11.7899256,"altitude":28,"angle":73,"satellites":25,"speed":18,"hex_longitude":"2d0de380","hex_latitude":"0706fff8","is_valid_coordinates":true} 
[2026-09-25 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318322944001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33749513709551616,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506654063405056,"note":"Value kept but may cause issues"} 
[2026-09-25 08:43: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-25 08:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790305960000,"timestamp_ms":1790305960000,"timestamp_seconds":1790305960,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68d0040"} 
[2026-09-25 08:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:43: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-25 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 08:43: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-25 08:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318322944001,"66":14548,"219":206,"94":10240,"24":18,"16":33749513709551616,"45":995506654063405056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318322944001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:43:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33749513709551616,"km_value":33749513709551.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506654063405056,"description":"Unknown IO ID 45"} 
[2026-09-25 08:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318322944001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":995506654063405056}} 
[2026-09-25 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":194777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:43:43] local.INFO: GPS data processed {"connection_id":194777,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:43:43] local.INFO: Acknowledgment sent {"connection_id":194777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:43:59] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:43:59] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:43:59] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:01] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:01] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:01] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:03] local.INFO: TCP Data received {"connection_id":193471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:03] local.INFO: Processing buffer {"connection_id":193471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:03] local.INFO: Packet analysis {"connection_id":193471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:44:03] local.INFO: Extracted packet for processing {"connection_id":193471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:44: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44: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-25 08:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:44: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-25 08:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":193471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:44:03] local.INFO: GPS data processed {"connection_id":193471,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:44:03] local.INFO: Acknowledgment sent {"connection_id":193471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:44:05] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68db008012d7b66c005e78ba80004015220..."} 
[2026-09-25 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68db008012d7b66c005e78ba80004015220..."} 
[2026-09-25 08:44:05] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68db008012d7b66c005e78ba80004015220..."} 
[2026-09-25 08:44:05] local.INFO: Packet analysis {"connection_id":192108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:44:05] local.INFO: Extracted packet for processing {"connection_id":192108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":99060648,"longitude_deg":76.3061952,"latitude_deg":9.9060648,"altitude":4,"angle":338,"satellites":32,"speed":16,"hex_longitude":"2d7b66c0","hex_latitude":"05e78ba8","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318334464001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135744485794512896,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893764864484483072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790306005000,"timestamp_ms":1790306005000,"timestamp_seconds":1790306005,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68db008"} 
[2026-09-25 08: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-25 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318334464001,"66":13352,"96":206,"87":13824,"24":16,"16":135744485794512896,"45":8893764864484483072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318334464001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:44:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 08:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135744485794512896,"km_value":135744485794512.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893764864484483072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318334464001,"power":13352,"unknown_96":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8893764864484483072}} 
[2026-09-25 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":192108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:44:05] local.INFO: GPS data processed {"connection_id":192108,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:44:05] local.INFO: Acknowledgment sent {"connection_id":192108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:44:07] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:07] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:44:07] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:07] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68e2538012d0e3c40070702300018009318..."} 
[2026-09-25 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68e2538012d0e3c40070702300018009318..."} 
[2026-09-25 08:44:07] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68e2538012d0e3c40070702300018009318..."} 
[2026-09-25 08:44:07] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:44:07] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117899824,"longitude_deg":75.5907648,"latitude_deg":11.7899824,"altitude":24,"angle":147,"satellites":24,"speed":13,"hex_longitude":"2d0e3c40","hex_latitude":"07070230","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318344704001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33750634696015872,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025554107827709952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44: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-25 08:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790306035000,"timestamp_ms":1790306035000,"timestamp_seconds":1790306035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68e2538"} 
[2026-09-25 08: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-25 08:44:07] 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-25 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:44:07] 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-25 08: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-25 08: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-25 08:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318344704001,"66":14450,"219":206,"94":10240,"24":13,"16":33750634696015872,"45":1025554107827709952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318344704001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:44:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:44:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33750634696015872,"km_value":33750634696015.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025554107827709952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318344704001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025554107827709952}} 
[2026-09-25 08:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:44:08] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:44:08] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:44:26] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:26] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:26] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:44:29] local.INFO: TCP Data received {"connection_id":191927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: Processing buffer {"connection_id":191927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: IMEI packet received {"connection_id":191927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":191927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:44:29] local.INFO: TCP Data received {"connection_id":191927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: Processing buffer {"connection_id":191927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:29] local.INFO: IMEI packet received {"connection_id":191927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":191927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:31] local.INFO: TCP Data received {"connection_id":191927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:31] local.INFO: Processing buffer {"connection_id":191927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:31] local.INFO: IMEI packet received {"connection_id":191927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":191927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:32] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:32] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:44:32] local.INFO: IMEI packet received {"connection_id":191926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":191926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:33] local.INFO: TCP Data received {"connection_id":191927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:33] local.INFO: Processing buffer {"connection_id":191927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:44:33] local.INFO: IMEI packet received {"connection_id":191927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":191927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:44:33] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:33] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:44:33] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:44:33] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08: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-25 08: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-25 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:44: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-25 08: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-25 08: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-25 08:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:44:33] 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-25 08:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:44:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:44:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:44:33] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:44:33] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:44:39] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68e2d08012d0e3d000706fff8001900a818..."} 
[2026-09-25 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68e2d08012d0e3d000706fff8001900a818..."} 
[2026-09-25 08:44:39] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68e2d08012d0e3d000706fff8001900a818..."} 
[2026-09-25 08:44:39] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:44:39] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:44:39] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117899256,"longitude_deg":75.590784,"latitude_deg":11.7899256,"altitude":25,"angle":168,"satellites":24,"speed":9,"hex_longitude":"2d0e3d00","hex_latitude":"0706fff8","is_valid_coordinates":true} 
[2026-09-25 08:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318344960001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33750660465819648,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214060163072,"note":"Value kept but may cause issues"} 
[2026-09-25 08:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790306037000,"timestamp_ms":1790306037000,"timestamp_seconds":1790306037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68e2d08"} 
[2026-09-25 08:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:44:39] 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-25 08:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318344960001,"66":14309,"219":206,"94":10240,"24":9,"16":33750660465819648,"45":1025765214060163072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318344960001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:44:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:44:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33750660465819648,"km_value":33750660465819.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214060163072,"description":"Unknown IO ID 45"} 
[2026-09-25 08:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318344960001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025765214060163072}} 
[2026-09-25 08:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:44:39] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:44:39] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:45:02] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: IMEI packet received {"connection_id":193472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":193472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:45:02] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:02] local.INFO: IMEI packet received {"connection_id":193472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":193472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:45:04] local.INFO: TCP Data received {"connection_id":191926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:45:04] local.INFO: Processing buffer {"connection_id":191926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68a3950012d34c14006aa4940000900f529..."} 
[2026-09-25 08:45:04] local.INFO: Packet analysis {"connection_id":191926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08:45:04] local.INFO: Extracted packet for processing {"connection_id":191926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68a"} 
[2026-09-25 08: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318202112001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790305778000,"timestamp_ms":1790305778000,"timestamp_seconds":1790305778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68a3950"} 
[2026-09-25 08: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-25 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 08:45: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-25 08: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-25 08: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-25 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318202112001,"66":25495,"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-25 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318202112001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318202112001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":191926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:45:04] local.INFO: GPS data processed {"connection_id":191926,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:45:04] local.INFO: Acknowledgment sent {"connection_id":191926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:45:06] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:06] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:45:06] local.INFO: IMEI packet received {"connection_id":193472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":193472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:45:07] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68e30f0012d0e3d400706ff20001900b419..."} 
[2026-09-25 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68e30f0012d0e3d400706ff20001900b419..."} 
[2026-09-25 08:45:07] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68e30f0012d0e3d400706ff20001900b419..."} 
[2026-09-25 08:45:07] local.INFO: Packet analysis {"connection_id":193472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:07] local.INFO: Extracted packet for processing {"connection_id":193472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117899040,"longitude_deg":75.5907904,"latitude_deg":11.789904,"altitude":25,"angle":180,"satellites":25,"speed":8,"hex_longitude":"2d0e3d40","hex_latitude":"0706ff20","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318345472001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33750673350721536,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292550656,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45: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-25 08:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790306038000,"timestamp_ms":1790306038000,"timestamp_seconds":1790306038,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68e30f0"} 
[2026-09-25 08: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-25 08:45:07] 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-25 08: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-25 08:45:07] 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-25 08: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-25 08: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-25 08:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318345472001,"66":14580,"219":206,"94":10240,"24":8,"16":33750673350721536,"45":1025976320292550656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318345472001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:45:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33750673350721536,"km_value":33750673350721.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292550656,"description":"Unknown IO ID 45"} 
[2026-09-25 08:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318345472001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1025976320292550656}} 
[2026-09-25 08:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":193472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:45:07] local.INFO: GPS data processed {"connection_id":193472,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:45:07] local.INFO: Acknowledgment sent {"connection_id":193472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:45:12] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68e67a0012d0e3d000706ef28001b00a519..."} 
[2026-09-25 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68e67a0012d0e3d000706ef28001b00a519..."} 
[2026-09-25 08:45:12] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68e67a0012d0e3d000706ef28001b00a519..."} 
[2026-09-25 08:45:12] local.INFO: Packet analysis {"connection_id":193472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:12] local.INFO: Extracted packet for processing {"connection_id":193472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117894952,"longitude_deg":75.590784,"latitude_deg":11.7894952,"altitude":27,"angle":165,"satellites":25,"speed":8,"hex_longitude":"2d0e3d00","hex_latitude":"0706ef28","is_valid_coordinates":true} 
[2026-09-25 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-25 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318345728001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33750875214184448,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036673024,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790306052000,"timestamp_ms":1790306052000,"timestamp_seconds":1790306052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68e67a0"} 
[2026-09-25 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-25 08:45: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-25 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":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:45:12] 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-25 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-25 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-25 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318345728001,"66":14646,"219":206,"94":10240,"24":8,"16":33750875214184448,"45":1026046689036673024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318345728001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:45:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:45:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33750875214184448,"km_value":33750875214184.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036673024,"description":"Unknown IO ID 45"} 
[2026-09-25 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318345728001,"power":14646,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1026046689036673024}} 
[2026-09-25 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":193472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:45:12] local.INFO: GPS data processed {"connection_id":193472,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:45:12] local.INFO: Acknowledgment sent {"connection_id":193472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:45:26] local.INFO: TCP Data received {"connection_id":194780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:26] local.INFO: Processing buffer {"connection_id":194780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:26] local.INFO: IMEI packet received {"connection_id":194780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":194780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:45:31] local.INFO: TCP Data received {"connection_id":194780,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:31] local.INFO: Processing buffer {"connection_id":194780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:45:31] local.INFO: IMEI packet received {"connection_id":194780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":194780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:45:32] local.INFO: TCP Data received {"connection_id":194780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:45:32] local.INFO: Processing buffer {"connection_id":194780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:45:32] local.INFO: Packet analysis {"connection_id":194780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:32] local.INFO: Extracted packet for processing {"connection_id":194780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:45:32] 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-25 08:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:45: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-25 08:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:45:32] 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-25 08:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":194780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:45:32] local.INFO: GPS data processed {"connection_id":194780,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:45:32] local.INFO: Acknowledgment sent {"connection_id":194780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:45:43] local.INFO: TCP Data received {"connection_id":193472,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68fa408012d0e30c007068400001100d819..."} 
[2026-09-25 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68fa408012d0e30c007068400001100d819..."} 
[2026-09-25 08:45:43] local.INFO: Processing buffer {"connection_id":193472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68fa408012d0e30c007068400001100d819..."} 
[2026-09-25 08:45:43] local.INFO: Packet analysis {"connection_id":193472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68f"} 
[2026-09-25 08:45:43] local.INFO: Extracted packet for processing {"connection_id":193472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68f"} 
[2026-09-25 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755904704,"raw_latitude":117867520,"longitude_deg":75.5904704,"latitude_deg":11.786752,"altitude":17,"angle":216,"satellites":25,"speed":5,"hex_longitude":"2d0e30c0","hex_latitude":"07068400","is_valid_coordinates":true} 
[2026-09-25 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-25 08:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318369024001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33752241013784576,"note":"Value kept but may cause issues"} 
[2026-09-25 08:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023091201773377536,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 08:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790306133000,"timestamp_ms":1790306133000,"timestamp_seconds":1790306133,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68fa408"} 
[2026-09-25 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-25 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-25 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":92,"data_length":795,"current_offset":136} 
[2026-09-25 08:45: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-25 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-25 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-25 08:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318369024001,"66":14580,"219":206,"94":10240,"24":5,"16":33752241013784576,"45":1023091201773377536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318369024001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:45:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:45:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33752241013784576,"km_value":33752241013784.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023091201773377536,"description":"Unknown IO ID 45"} 
[2026-09-25 08:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318369024001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1023091201773377536}} 
[2026-09-25 08:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":193472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894347,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:45:44] local.INFO: GPS data processed {"connection_id":193472,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:45:44] local.INFO: Acknowledgment sent {"connection_id":193472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:46:02] local.INFO: TCP Data received {"connection_id":194781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:02] local.INFO: Processing buffer {"connection_id":194781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:02] local.INFO: IMEI packet received {"connection_id":194781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":194781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:46:03] local.INFO: TCP Data received {"connection_id":194780,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:03] local.INFO: Processing buffer {"connection_id":194780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:03] local.INFO: Packet analysis {"connection_id":194780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:46:03] local.INFO: Extracted packet for processing {"connection_id":194780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:46: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46: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-25 08:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:46:03] 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-25 08:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:46: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-25 08:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":194780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:46:03] local.INFO: GPS data processed {"connection_id":194780,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:46:03] local.INFO: Acknowledgment sent {"connection_id":194780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:46:06] local.INFO: TCP Data received {"connection_id":194781,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:06] local.INFO: Processing buffer {"connection_id":194781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:06] local.INFO: IMEI packet received {"connection_id":194781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":194781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:46:07] local.INFO: TCP Data received {"connection_id":194781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68fabd8012d0e2fc007068308001100e619..."} 
[2026-09-25 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68fabd8012d0e2fc007068308001100e619..."} 
[2026-09-25 08:46:07] local.INFO: Processing buffer {"connection_id":194781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68fabd8012d0e2fc007068308001100e619..."} 
[2026-09-25 08:46:07] local.INFO: Packet analysis {"connection_id":194781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68f"} 
[2026-09-25 08:46:07] local.INFO: Extracted packet for processing {"connection_id":194781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68f"} 
[2026-09-25 08:46:07] local.INFO: GPS Element Parsed {"raw_longitude":755904448,"raw_latitude":117867272,"longitude_deg":75.5904448,"latitude_deg":11.7867272,"altitude":17,"angle":230,"satellites":25,"speed":6,"hex_longitude":"2d0e2fc0","hex_latitude":"07068308","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318370048001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33752258193653760,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022528251819720704,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46: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-25 08:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790306135000,"timestamp_ms":1790306135000,"timestamp_seconds":1790306135,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68fabd8"} 
[2026-09-25 08: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-25 08:46:07] 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-25 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 08:46:07] 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-25 08: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-25 08: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-25 08:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318370048001,"66":14439,"219":206,"94":10240,"24":6,"16":33752258193653760,"45":1022528251819720704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318370048001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:46:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:46:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33752258193653760,"km_value":33752258193653.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022528251819720704,"description":"Unknown IO ID 45"} 
[2026-09-25 08:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318370048001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1022528251819720704}} 
[2026-09-25 08:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":194781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:46:07] local.INFO: GPS data processed {"connection_id":194781,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:46:07] local.INFO: Acknowledgment sent {"connection_id":194781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:46:26] local.INFO: TCP Data received {"connection_id":192112,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:26] local.INFO: Processing buffer {"connection_id":192112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:26] local.INFO: IMEI packet received {"connection_id":192112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":192112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:46:31] local.INFO: TCP Data received {"connection_id":192112,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:31] local.INFO: Processing buffer {"connection_id":192112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:46:31] local.INFO: IMEI packet received {"connection_id":192112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":192112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:46:32] local.INFO: TCP Data received {"connection_id":192112,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:32] local.INFO: Processing buffer {"connection_id":192112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:46:32] local.INFO: Packet analysis {"connection_id":192112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:46:32] local.INFO: Extracted packet for processing {"connection_id":192112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:46:32] 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-25 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:46: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-25 08:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:46:32] 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-25 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":192112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:46:32] local.INFO: GPS data processed {"connection_id":192112,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:46:32] local.INFO: Acknowledgment sent {"connection_id":192112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:46:38] local.INFO: TCP Data received {"connection_id":194781,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6909250012d0e078007068dc0000b013119..."} 
[2026-09-25 08:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6909250012d0e078007068dc0000b013119..."} 
[2026-09-25 08:46:38] local.INFO: Processing buffer {"connection_id":194781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6909250012d0e078007068dc0000b013119..."} 
[2026-09-25 08:46:38] local.INFO: Packet analysis {"connection_id":194781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d690"} 
[2026-09-25 08:46:38] local.INFO: Extracted packet for processing {"connection_id":194781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d690"} 
[2026-09-25 08:46:38] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":117870016,"longitude_deg":75.5894144,"latitude_deg":11.7870016,"altitude":11,"angle":305,"satellites":25,"speed":5,"hex_longitude":"2d0e0780","hex_latitude":"07068dc0","is_valid_coordinates":true} 
[2026-09-25 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318385408001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33752829424304128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515263549440,"note":"Value kept but may cause issues"} 
[2026-09-25 08:46: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-25 08:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790306194000,"timestamp_ms":1790306194000,"timestamp_seconds":1790306194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6909250"} 
[2026-09-25 08:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:46:38] 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-25 08:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 08:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194781,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318385408001,"66":14396,"219":206,"94":10240,"24":5,"16":33752829424304128,"45":1011128515263549440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318385408001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:46:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:46:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33752829424304128,"km_value":33752829424304.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515263549440,"description":"Unknown IO ID 45"} 
[2026-09-25 08:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318385408001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1011128515263549440}} 
[2026-09-25 08:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":194781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:46:38] local.INFO: GPS data processed {"connection_id":194781,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:46:38] local.INFO: Acknowledgment sent {"connection_id":194781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:46:59] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:59] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:46:59] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:47:00] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:00] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:00] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:47:01] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:01] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:01] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:47:02] local.INFO: TCP Data received {"connection_id":192113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:02] local.INFO: Processing buffer {"connection_id":192113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:47:02] local.INFO: IMEI packet received {"connection_id":192113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":192113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:47:03] local.INFO: TCP Data received {"connection_id":192112,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:03] local.INFO: Processing buffer {"connection_id":192112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:03] local.INFO: Packet analysis {"connection_id":192112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:47:03] local.INFO: Extracted packet for processing {"connection_id":192112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:47: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47: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-25 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:47: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-25 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":192112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:47:03] local.INFO: GPS data processed {"connection_id":192112,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:47:03] local.INFO: Acknowledgment sent {"connection_id":192112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:47:26] local.INFO: TCP Data received {"connection_id":194782,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:26] local.INFO: Processing buffer {"connection_id":194782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:26] local.INFO: IMEI packet received {"connection_id":194782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":194782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:47:31] local.INFO: TCP Data received {"connection_id":194782,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:31] local.INFO: Processing buffer {"connection_id":194782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:47:31] local.INFO: IMEI packet received {"connection_id":194782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":194782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:47:32] local.INFO: TCP Data received {"connection_id":194782,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:32] local.INFO: Processing buffer {"connection_id":194782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:47:32] local.INFO: Packet analysis {"connection_id":194782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:47:32] local.INFO: Extracted packet for processing {"connection_id":194782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:47:32] 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-25 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:47: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-25 08:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:47:32] 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-25 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":194782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:47:32] local.INFO: GPS data processed {"connection_id":194782,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:47:32] local.INFO: Acknowledgment sent {"connection_id":194782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:47:35] local.INFO: TCP Data received {"connection_id":191928,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:47:35] local.INFO: Processing buffer {"connection_id":191928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:47:35] local.INFO: IMEI packet received {"connection_id":191928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":191928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:48:03] local.INFO: TCP Data received {"connection_id":194782,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:03] local.INFO: Processing buffer {"connection_id":194782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:03] local.INFO: Packet analysis {"connection_id":194782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:48:03] local.INFO: Extracted packet for processing {"connection_id":194782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:48: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48: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-25 08:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:48:03] 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-25 08:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:48: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-25 08:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":194782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:48:03] local.INFO: GPS data processed {"connection_id":194782,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:48:03] local.INFO: Acknowledgment sent {"connection_id":194782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:48:04] local.INFO: TCP Data received {"connection_id":191930,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:48:04] local.INFO: Processing buffer {"connection_id":191930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:48:04] local.INFO: IMEI packet received {"connection_id":191930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":191930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:48:26] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:26] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:26] local.INFO: IMEI packet received {"connection_id":193476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":193476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:48:31] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:31] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:48:31] local.INFO: IMEI packet received {"connection_id":193476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":193476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:48:32] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:32] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:48:32] local.INFO: Packet analysis {"connection_id":193476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:48:32] local.INFO: Extracted packet for processing {"connection_id":193476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:48:32] 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-25 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":193476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:48:32] local.INFO: GPS data processed {"connection_id":193476,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:48:32] local.INFO: Acknowledgment sent {"connection_id":193476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:49:03] local.INFO: TCP Data received {"connection_id":193476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:03] local.INFO: Processing buffer {"connection_id":193476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:03] local.INFO: Packet analysis {"connection_id":193476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:49:03] local.INFO: Extracted packet for processing {"connection_id":193476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:49: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49: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-25 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:49: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-25 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":193476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:49:03] local.INFO: GPS data processed {"connection_id":193476,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:49:03] local.INFO: Acknowledgment sent {"connection_id":193476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:49:26] local.INFO: TCP Data received {"connection_id":192115,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:26] local.INFO: Processing buffer {"connection_id":192115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:26] local.INFO: IMEI packet received {"connection_id":192115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":192115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:49:31] local.INFO: TCP Data received {"connection_id":192115,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:31] local.INFO: Processing buffer {"connection_id":192115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:49:31] local.INFO: IMEI packet received {"connection_id":192115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":192115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:49:32] local.INFO: TCP Data received {"connection_id":192115,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:32] local.INFO: Processing buffer {"connection_id":192115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:49:32] local.INFO: Packet analysis {"connection_id":192115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:49:32] local.INFO: Extracted packet for processing {"connection_id":192115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:49:32] 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-25 08:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:49: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-25 08:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:49:32] 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-25 08:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:49:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:49:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":192115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:49:32] local.INFO: GPS data processed {"connection_id":192115,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:49:32] local.INFO: Acknowledgment sent {"connection_id":192115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:49:38] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:49:38] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:49:38] local.INFO: IMEI packet received {"connection_id":191931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":191931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:49:39] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6926328012d7b92c005e940180002004623..."} 
[2026-09-25 08:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6926328012d7b92c005e940180002004623..."} 
[2026-09-25 08:49:39] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6926328012d7b92c005e940180002004623..."} 
[2026-09-25 08:49:39] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d692"} 
[2026-09-25 08:49:39] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d692"} 
[2026-09-25 08:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763073216,"raw_latitude":99172376,"longitude_deg":76.3073216,"latitude_deg":9.9172376,"altitude":2,"angle":70,"satellites":35,"speed":13,"hex_longitude":"2d7b92c0","hex_latitude":"05e94018","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318415104001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135750717792059392,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903616488699547648,"note":"Value kept but may cause issues"} 
[2026-09-25 08:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790306313000,"timestamp_ms":1790306313000,"timestamp_seconds":1790306313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6926328"} 
[2026-09-25 08: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-25 08:49:39] 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-25 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 08:49:39] 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-25 08: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-25 08: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-25 08:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318415104001,"66":13646,"9":206,"87":13824,"24":13,"16":135750717792059392,"45":8903616488699547648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-25 08:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318415104001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:49:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-25 08:49:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135750717792059392,"km_value":135750717792059.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903616488699547648,"description":"Unknown IO ID 45"} 
[2026-09-25 08:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318415104001,"power":13646,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8903616488699547648}} 
[2026-09-25 08:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:49:39] local.INFO: GPS data processed {"connection_id":191931,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:49:39] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:50:04] local.INFO: TCP Data received {"connection_id":192115,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:50:04] local.INFO: Processing buffer {"connection_id":192115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68ed118012d34c14006aa4940000900f52b..."} 
[2026-09-25 08:50:04] local.INFO: Packet analysis {"connection_id":192115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:50:04] local.INFO: Extracted packet for processing {"connection_id":192115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68e"} 
[2026-09-25 08:50: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-25 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318279168001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50: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-25 08:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790306079000,"timestamp_ms":1790306079000,"timestamp_seconds":1790306079,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68ed118"} 
[2026-09-25 08:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:50: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-25 08:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:50:04] 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-25 08:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318279168001,"66":25473,"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-25 08:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318279168001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:50: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-25 08:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318279168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":192115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:50:04] local.INFO: GPS data processed {"connection_id":192115,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:50:04] local.INFO: Acknowledgment sent {"connection_id":192115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:50:11] local.INFO: TCP Data received {"connection_id":191931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d692a978012d7bb44005e94b900003004724..."} 
[2026-09-25 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d692a978012d7bb44005e94b900003004724..."} 
[2026-09-25 08:50:11] local.INFO: Processing buffer {"connection_id":191931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d692a978012d7bb44005e94b900003004724..."} 
[2026-09-25 08:50:11] local.INFO: Packet analysis {"connection_id":191931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d692"} 
[2026-09-25 08:50:11] local.INFO: Extracted packet for processing {"connection_id":191931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d692"} 
[2026-09-25 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763081792,"raw_latitude":99175312,"longitude_deg":76.3081792,"latitude_deg":9.9175312,"altitude":3,"angle":71,"satellites":36,"speed":20,"hex_longitude":"2d7bb440","hex_latitude":"05e94b90","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318416128001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135751151583756288,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904390544885553152,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790306331000,"timestamp_ms":1790306331000,"timestamp_seconds":1790306331,"priority":1,"record_length":96,"hex_timestamp":"000001a0d692a978"} 
[2026-09-25 08: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-25 08:50:11] 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-25 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 08:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318416128001,"66":13406,"9":206,"87":13824,"24":20,"16":135751151583756288,"45":8904390544885553152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-25 08:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318416128001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135751151583756288,"km_value":135751151583756.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904390544885553152,"description":"Unknown IO ID 45"} 
[2026-09-25 08:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318416128001,"power":13406,"unknown_9":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8904390544885553152}} 
[2026-09-25 08:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":191931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:50:11] local.INFO: GPS data processed {"connection_id":191931,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:50:11] local.INFO: Acknowledgment sent {"connection_id":191931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:50:25] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:25] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:25] local.INFO: IMEI packet received {"connection_id":193479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":193479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:50:31] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:31] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:50:31] local.INFO: IMEI packet received {"connection_id":193479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":193479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:50:32] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:50:32] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:50:32] local.INFO: Packet analysis {"connection_id":193479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:50:32] local.INFO: Extracted packet for processing {"connection_id":193479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:50:32] 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-25 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:50: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-25 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:50:32] local.INFO: GPS data processed {"connection_id":193479,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:50:32] local.INFO: Acknowledgment sent {"connection_id":193479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:50:33] local.INFO: TCP Data received {"connection_id":194785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:33] local.INFO: Processing buffer {"connection_id":194785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:33] local.INFO: IMEI packet received {"connection_id":194785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":194785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:50:34] local.INFO: TCP Data received {"connection_id":194785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:34] local.INFO: Processing buffer {"connection_id":194785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:34] local.INFO: IMEI packet received {"connection_id":194785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":194785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:50:37] local.INFO: TCP Data received {"connection_id":194785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:37] local.INFO: Processing buffer {"connection_id":194785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:50:37] local.INFO: IMEI packet received {"connection_id":194785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":194785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:50:38] local.INFO: TCP Data received {"connection_id":194785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69410d8012d7c7a0005e996700004003620..."} 
[2026-09-25 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69410d8012d7c7a0005e996700004003620..."} 
[2026-09-25 08:50:38] local.INFO: Processing buffer {"connection_id":194785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69410d8012d7c7a0005e996700004003620..."} 
[2026-09-25 08:50:38] local.INFO: Packet analysis {"connection_id":194785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:50:38] local.INFO: Extracted packet for processing {"connection_id":194785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":99194480,"longitude_deg":76.3132416,"latitude_deg":9.919448,"altitude":4,"angle":54,"satellites":32,"speed":6,"hex_longitude":"2d7c7a00","hex_latitude":"05e99670","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318444032001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135753762923872256,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264511348736,"note":"Value kept but may cause issues"} 
[2026-09-25 08:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790306423000,"timestamp_ms":1790306423000,"timestamp_seconds":1790306423,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69410d8"} 
[2026-09-25 08: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-25 08:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318444032001,"66":13341,"9":206,"87":13824,"24":6,"16":135753762923872256,"45":8969411264511348736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-25 08:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318444032001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:50:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-25 08:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135753762923872256,"km_value":135753762923872.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264511348736,"description":"Unknown IO ID 45"} 
[2026-09-25 08:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318444032001,"power":13341,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8969411264511348736}} 
[2026-09-25 08:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":194785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:50:38] local.INFO: GPS data processed {"connection_id":194785,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:50:38] local.INFO: Acknowledgment sent {"connection_id":194785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:51:03] local.INFO: TCP Data received {"connection_id":193479,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:03] local.INFO: Processing buffer {"connection_id":193479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:03] local.INFO: Packet analysis {"connection_id":193479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:51:03] local.INFO: Extracted packet for processing {"connection_id":193479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:51: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51: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-25 08:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:51: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-25 08:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":193479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:51:03] local.INFO: GPS data processed {"connection_id":193479,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:51:03] local.INFO: Acknowledgment sent {"connection_id":193479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:51:10] local.INFO: TCP Data received {"connection_id":194785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6943400012d7c7c0005e997480005004b22..."} 
[2026-09-25 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6943400012d7c7c0005e997480005004b22..."} 
[2026-09-25 08:51:10] local.INFO: Processing buffer {"connection_id":194785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6943400012d7c7c0005e997480005004b22..."} 
[2026-09-25 08:51:10] local.INFO: Packet analysis {"connection_id":194785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:51:10] local.INFO: Extracted packet for processing {"connection_id":194785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99194696,"longitude_deg":76.3132928,"latitude_deg":9.9194696,"altitude":5,"angle":75,"satellites":34,"speed":4,"hex_longitude":"2d7c7c00","hex_latitude":"05e99748","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318444288001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135753788693676032,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481633255550976,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790306432000,"timestamp_ms":1790306432000,"timestamp_seconds":1790306432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6943400"} 
[2026-09-25 08: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-25 08:51:10] 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-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318444288001,"66":13091,"156":206,"87":13824,"24":4,"16":135753788693676032,"45":8969481633255550976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 08:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318444288001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:51:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 08:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135753788693676032,"km_value":135753788693676.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481633255550976,"description":"Unknown IO ID 45"} 
[2026-09-25 08:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318444288001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8969481633255550976}} 
[2026-09-25 08:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":194785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:51:10] local.INFO: GPS data processed {"connection_id":194785,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:51:10] local.INFO: Acknowledgment sent {"connection_id":194785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:51:26] local.INFO: TCP Data received {"connection_id":193480,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:26] local.INFO: Processing buffer {"connection_id":193480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:26] local.INFO: IMEI packet received {"connection_id":193480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":193480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:51:27] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:27] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:27] local.INFO: IMEI packet received {"connection_id":192116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":192116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:51:28] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:28] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:28] local.INFO: IMEI packet received {"connection_id":192116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":192116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:51:31] local.INFO: TCP Data received {"connection_id":193480,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:31] local.INFO: Processing buffer {"connection_id":193480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:51:31] local.INFO: IMEI packet received {"connection_id":193480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:51:32] local.INFO: TCP Data received {"connection_id":193480,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:32] local.INFO: Processing buffer {"connection_id":193480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:51:32] local.INFO: Packet analysis {"connection_id":193480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:51:32] local.INFO: Extracted packet for processing {"connection_id":193480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:51:32] 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-25 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:51: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-25 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":193480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:51:32] local.INFO: GPS data processed {"connection_id":193480,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:51:32] local.INFO: Acknowledgment sent {"connection_id":193480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:51:37] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:37] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:51:37] local.INFO: IMEI packet received {"connection_id":192116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":192116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:51:39] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d694dbf8012d7c8d8005e99b200003002822..."} 
[2026-09-25 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d694dbf8012d7c8d8005e99b200003002822..."} 
[2026-09-25 08:51:39] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d694dbf8012d7c8d8005e99b200003002822..."} 
[2026-09-25 08:51:39] local.INFO: Packet analysis {"connection_id":192116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:51:39] local.INFO: Extracted packet for processing {"connection_id":192116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":763137408,"raw_latitude":99195680,"longitude_deg":76.3137408,"latitude_deg":9.919568,"altitude":3,"angle":40,"satellites":34,"speed":1,"hex_longitude":"2d7c8d80","hex_latitude":"05e99b20","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318456576001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135754012031975424,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657813331968,"note":"Value kept but may cause issues"} 
[2026-09-25 08:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790306475000,"timestamp_ms":1790306475000,"timestamp_seconds":1790306475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d694dbf8"} 
[2026-09-25 08: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-25 08:51:39] 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-25 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 08:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318456576001,"66":13341,"156":206,"87":13824,"24":1,"16":135754012031975424,"45":8974829657813331968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 08:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318456576001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:51:39] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 08:51:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135754012031975424,"km_value":135754012031975.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657813331968,"description":"Unknown IO ID 45"} 
[2026-09-25 08:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318456576001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8974829657813331968}} 
[2026-09-25 08:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":192116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:51:39] local.INFO: GPS data processed {"connection_id":192116,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:51:39] local.INFO: Acknowledgment sent {"connection_id":192116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:03] local.INFO: TCP Data received {"connection_id":193480,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:03] local.INFO: Processing buffer {"connection_id":193480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:03] local.INFO: Packet analysis {"connection_id":193480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:52:03] local.INFO: Extracted packet for processing {"connection_id":193480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:52: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52: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-25 08:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:52: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-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":193480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:03] local.INFO: GPS data processed {"connection_id":193480,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:03] local.INFO: Acknowledgment sent {"connection_id":193480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:06] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:06] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:06] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:52:07] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:07] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:52:07] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:52:07] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6952630012d0e3ec00706d720002500001d..."} 
[2026-09-25 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6952630012d0e3ec00706d720002500001d..."} 
[2026-09-25 08:52:07] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6952630012d0e3ec00706d720002500001d..."} 
[2026-09-25 08:52:07] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:07] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":755908288,"raw_latitude":117888800,"longitude_deg":75.5908288,"latitude_deg":11.78888,"altitude":37,"angle":0,"satellites":29,"speed":5,"hex_longitude":"2d0e3ec0","hex_latitude":"0706d720","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318461952001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33754663375339520,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532754864128,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52: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-25 08:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790306494000,"timestamp_ms":1790306494000,"timestamp_seconds":1790306494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6952630"} 
[2026-09-25 08: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-25 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 08:52:07] 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-25 08: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-25 08: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-25 08:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318461952001,"66":14548,"219":206,"94":10240,"24":5,"16":33754663375339520,"45":1026398532754864128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318461952001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:52:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33754663375339520,"km_value":33754663375339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532754864128,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318461952001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1026398532754864128}} 
[2026-09-25 08:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:08] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:08] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:08] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69539b8012d0e3e000706d8f0002501381d..."} 
[2026-09-25 08:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69539b8012d0e3e000706d8f0002501381d..."} 
[2026-09-25 08:52:08] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69539b8012d0e3e000706d8f0002501381d..."} 
[2026-09-25 08:52:08] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:08] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:08] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117889264,"longitude_deg":75.5908096,"latitude_deg":11.7889264,"altitude":37,"angle":312,"satellites":29,"speed":5,"hex_longitude":"2d0e3e00","hex_latitude":"0706d8f0","is_valid_coordinates":true} 
[2026-09-25 08:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318462464001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33754689145143296,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026468901499117568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:08] 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-25 08:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790306499000,"timestamp_ms":1790306499000,"timestamp_seconds":1790306499,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69539b8"} 
[2026-09-25 08:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:52:08] 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-25 08:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 08:52:08] 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-25 08:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318462464001,"66":14548,"219":206,"94":10240,"24":5,"16":33754689145143296,"45":1026468901499117568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318462464001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:52:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33754689145143296,"km_value":33754689145143.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026468901499117568,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318462464001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1026468901499117568}} 
[2026-09-25 08:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:08] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:08] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:12] local.INFO: TCP Data received {"connection_id":192116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d694e7b0012d7c8e0005e99bb00003001822..."} 
[2026-09-25 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d694e7b0012d7c8e0005e99bb00003001822..."} 
[2026-09-25 08:52:12] local.INFO: Processing buffer {"connection_id":192116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d694e7b0012d7c8e0005e99bb00003001822..."} 
[2026-09-25 08:52:12] local.INFO: Packet analysis {"connection_id":192116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:52:12] local.INFO: Extracted packet for processing {"connection_id":192116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d694"} 
[2026-09-25 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":99195824,"longitude_deg":76.3137536,"latitude_deg":9.9195824,"altitude":3,"angle":24,"satellites":34,"speed":1,"hex_longitude":"2d7c8e00","hex_latitude":"05e99bb0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318457600001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135754020621910016,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974970395301715968,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790306478000,"timestamp_ms":1790306478000,"timestamp_seconds":1790306478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d694e7b0"} 
[2026-09-25 08: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-25 08:52:12] 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-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 08:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318457600001,"66":13319,"154":206,"87":13824,"24":1,"16":135754020621910016,"45":8974970395301715968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-09-25 08:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318457600001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:12] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 08:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135754020621910016,"km_value":135754020621910.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974970395301715968,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318457600001,"power":13319,"unknown_154":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8974970395301715968}} 
[2026-09-25 08:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":192116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:12] local.INFO: GPS data processed {"connection_id":192116,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:12] local.INFO: Acknowledgment sent {"connection_id":192116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:26] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:26] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:26] local.INFO: IMEI packet received {"connection_id":191932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":191932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:52:28] local.INFO: TCP Data received {"connection_id":194789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:28] local.INFO: Processing buffer {"connection_id":194789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:28] local.INFO: IMEI packet received {"connection_id":194789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":194789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:52:30] local.INFO: TCP Data received {"connection_id":194789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:30] local.INFO: Processing buffer {"connection_id":194789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:30] local.INFO: IMEI packet received {"connection_id":194789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":194789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:52:31] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:31] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:52:31] local.INFO: IMEI packet received {"connection_id":191932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":191932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:52:32] local.INFO: TCP Data received {"connection_id":194789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:32] local.INFO: Processing buffer {"connection_id":194789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:32] local.INFO: IMEI packet received {"connection_id":194789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":194789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:52:32] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:32] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:52:32] local.INFO: Packet analysis {"connection_id":191932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:52:32] local.INFO: Extracted packet for processing {"connection_id":191932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:52:32] 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-25 08:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:52: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-25 08:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:52:32] 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-25 08:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"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-25 08:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":191932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:32] local.INFO: GPS data processed {"connection_id":191932,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:32] local.INFO: Acknowledgment sent {"connection_id":191932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:52:33] local.INFO: TCP Data received {"connection_id":194789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:33] local.INFO: Processing buffer {"connection_id":194789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:52:33] local.INFO: IMEI packet received {"connection_id":194789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":194789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:52:40] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6953da0012d0e3dc00706d9300025012b1d..."} 
[2026-09-25 08:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6953da0012d0e3dc00706d9300025012b1d..."} 
[2026-09-25 08:52:40] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6953da0012d0e3dc00706d9300025012b1d..."} 
[2026-09-25 08:52:40] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:40] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d695"} 
[2026-09-25 08:52:40] local.INFO: GPS Element Parsed {"raw_longitude":755908032,"raw_latitude":117889328,"longitude_deg":75.5908032,"latitude_deg":11.7889328,"altitude":37,"angle":299,"satellites":29,"speed":5,"hex_longitude":"2d0e3dc0","hex_latitude":"0706d930","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318463744001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33754693440110592,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026257795266703360,"note":"Value kept but may cause issues"} 
[2026-09-25 08:52: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-25 08:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790306500000,"timestamp_ms":1790306500000,"timestamp_seconds":1790306500,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6953da0"} 
[2026-09-25 08: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-25 08:52: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-25 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 08:52: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-25 08: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-25 08: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-25 08:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318463744001,"66":14559,"219":206,"94":10240,"24":5,"16":33754693440110592,"45":1026257795266703360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 08:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318463744001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:52:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 08:52:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33754693440110592,"km_value":33754693440110.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026257795266703360,"description":"Unknown IO ID 45"} 
[2026-09-25 08:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318463744001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":1026257795266703360}} 
[2026-09-25 08:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:52:40] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:52:40] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:53:01] local.INFO: TCP Data received {"connection_id":193481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:01] local.INFO: Processing buffer {"connection_id":193481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:01] local.INFO: IMEI packet received {"connection_id":193481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":193481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:53:02] local.INFO: TCP Data received {"connection_id":193481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:02] local.INFO: Processing buffer {"connection_id":193481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:02] local.INFO: IMEI packet received {"connection_id":193481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":193481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:53:03] local.INFO: TCP Data received {"connection_id":191932,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:03] local.INFO: Processing buffer {"connection_id":191932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:03] local.INFO: Packet analysis {"connection_id":191932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:53:03] local.INFO: Extracted packet for processing {"connection_id":191932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:53: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53: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-25 08:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:53:03] 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-25 08:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"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-25 08:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:53: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-25 08:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":191932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:53:03] local.INFO: GPS data processed {"connection_id":191932,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:53:03] local.INFO: Acknowledgment sent {"connection_id":191932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:53:03] local.INFO: TCP Data received {"connection_id":193481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:03] local.INFO: Processing buffer {"connection_id":193481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:03] local.INFO: IMEI packet received {"connection_id":193481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":193481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:53:05] local.INFO: TCP Data received {"connection_id":193481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:05] local.INFO: Processing buffer {"connection_id":193481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:53:05] local.INFO: IMEI packet received {"connection_id":193481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":193481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:53:26] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:26] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:26] local.INFO: IMEI packet received {"connection_id":192119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":192119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:53:30] local.INFO: TCP Data received {"connection_id":191933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:53:30] local.INFO: Processing buffer {"connection_id":191933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:53:30] local.INFO: IMEI packet received {"connection_id":191933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":191933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:53:31] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:31] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:53:31] local.INFO: IMEI packet received {"connection_id":192119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":192119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:53:32] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:32] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:53:32] local.INFO: Packet analysis {"connection_id":192119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:53:32] local.INFO: Extracted packet for processing {"connection_id":192119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:53:32] 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-25 08:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:53: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-25 08:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:53:32] 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-25 08:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"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-25 08:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":192119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:53:32] local.INFO: GPS data processed {"connection_id":192119,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:53:32] local.INFO: Acknowledgment sent {"connection_id":192119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:54:03] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:03] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:03] local.INFO: Packet analysis {"connection_id":192119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:54:03] local.INFO: Extracted packet for processing {"connection_id":192119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:54: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54: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-25 08:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:54:03] 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-25 08:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"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-25 08:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:54: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-25 08:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":192119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:54:03] local.INFO: GPS data processed {"connection_id":192119,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:54:03] local.INFO: Acknowledgment sent {"connection_id":192119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:54:10] local.INFO: TCP Data received {"connection_id":194790,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:54:10] local.INFO: Processing buffer {"connection_id":194790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:54:10] local.INFO: IMEI packet received {"connection_id":194790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":194790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:54:25] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:25] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:25] local.INFO: IMEI packet received {"connection_id":192120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":192120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:54:31] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:31] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:54:31] local.INFO: IMEI packet received {"connection_id":192120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":192120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:54:32] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:32] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:54:32] local.INFO: Packet analysis {"connection_id":192120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:54:32] local.INFO: Extracted packet for processing {"connection_id":192120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:54:32] 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-25 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:54: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-25 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":192120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:54:32] local.INFO: GPS data processed {"connection_id":192120,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:54:32] local.INFO: Acknowledgment sent {"connection_id":192120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:55:03] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:55:03] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69368e0012d34c14006aa4940000900f52a..."} 
[2026-09-25 08:55:03] local.INFO: Packet analysis {"connection_id":192120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:55:03] local.INFO: Extracted packet for processing {"connection_id":192120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d693"} 
[2026-09-25 08:55: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318356224001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55: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-25 08:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306380000,"timestamp_ms":1790306380000,"timestamp_seconds":1790306380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69368e0"} 
[2026-09-25 08:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 08:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318356224001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 08:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318356224001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:55: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-25 08:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318356224001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":192120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:55:03] local.INFO: GPS data processed {"connection_id":192120,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:55:03] local.INFO: Acknowledgment sent {"connection_id":192120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:55:26] local.INFO: TCP Data received {"connection_id":194792,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:26] local.INFO: Processing buffer {"connection_id":194792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:26] local.INFO: IMEI packet received {"connection_id":194792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":194792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:55:31] local.INFO: TCP Data received {"connection_id":194792,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:31] local.INFO: Processing buffer {"connection_id":194792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:55:31] local.INFO: IMEI packet received {"connection_id":194792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":194792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:55:32] local.INFO: TCP Data received {"connection_id":194792,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:55:32] local.INFO: Processing buffer {"connection_id":194792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:55:32] local.INFO: Packet analysis {"connection_id":194792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:55:32] local.INFO: Extracted packet for processing {"connection_id":194792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:55:32] 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-25 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:55: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-25 08:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:55:32] 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-25 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":194792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:55:32] local.INFO: GPS data processed {"connection_id":194792,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:55:32] local.INFO: Acknowledgment sent {"connection_id":194792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:56:04] local.INFO: TCP Data received {"connection_id":194792,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:04] local.INFO: Processing buffer {"connection_id":194792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:04] local.INFO: Packet analysis {"connection_id":194792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:56:04] local.INFO: Extracted packet for processing {"connection_id":194792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08: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-25 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08: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-25 08: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-25 08: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:56: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-25 08: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-25 08: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-25 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:56:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:56:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08: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-25 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":194792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:56:04] local.INFO: GPS data processed {"connection_id":194792,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:56:04] local.INFO: Acknowledgment sent {"connection_id":194792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:56:26] local.INFO: TCP Data received {"connection_id":194793,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:26] local.INFO: Processing buffer {"connection_id":194793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:26] local.INFO: IMEI packet received {"connection_id":194793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":194793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:56:31] local.INFO: TCP Data received {"connection_id":194793,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:31] local.INFO: Processing buffer {"connection_id":194793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:56:31] local.INFO: IMEI packet received {"connection_id":194793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":194793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:56:32] local.INFO: TCP Data received {"connection_id":194793,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:32] local.INFO: Processing buffer {"connection_id":194793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:56:32] local.INFO: Packet analysis {"connection_id":194793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:56:32] local.INFO: Extracted packet for processing {"connection_id":194793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:56:32] 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-25 08:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:56: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-25 08:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:56:32] 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-25 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":194793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:56:32] local.INFO: GPS data processed {"connection_id":194793,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:56:32] local.INFO: Acknowledgment sent {"connection_id":194793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:57:03] local.INFO: TCP Data received {"connection_id":194793,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:03] local.INFO: Processing buffer {"connection_id":194793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:03] local.INFO: Packet analysis {"connection_id":194793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:57:03] local.INFO: Extracted packet for processing {"connection_id":194793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:57: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57: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-25 08:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:57:03] 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-25 08:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:57: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-25 08:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":194793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:57:03] local.INFO: GPS data processed {"connection_id":194793,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:57:03] local.INFO: Acknowledgment sent {"connection_id":194793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:57:26] local.INFO: TCP Data received {"connection_id":194794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:26] local.INFO: Processing buffer {"connection_id":194794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:26] local.INFO: IMEI packet received {"connection_id":194794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":194794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:57:31] local.INFO: TCP Data received {"connection_id":194794,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:31] local.INFO: Processing buffer {"connection_id":194794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:57:31] local.INFO: IMEI packet received {"connection_id":194794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":194794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:57:32] local.INFO: TCP Data received {"connection_id":194794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:32] local.INFO: Processing buffer {"connection_id":194794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:57:32] local.INFO: Packet analysis {"connection_id":194794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:57:32] local.INFO: Extracted packet for processing {"connection_id":194794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:57:32] 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-25 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:57: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-25 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 08:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:57: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-25 08:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:57:32] 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-25 08:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":194794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:57:32] local.INFO: GPS data processed {"connection_id":194794,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:57:32] local.INFO: Acknowledgment sent {"connection_id":194794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:57:33] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:57:33] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:57:33] local.INFO: IMEI packet received {"connection_id":193487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":193487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:57:35] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6997b90012d7d208005eafd500014014623..."} 
[2026-09-25 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6997b90012d7d208005eafd500014014623..."} 
[2026-09-25 08:57:35] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6997b90012d7d208005eafd500014014623..."} 
[2026-09-25 08:57:35] local.INFO: Packet analysis {"connection_id":193487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d699"} 
[2026-09-25 08:57:35] local.INFO: Extracted packet for processing {"connection_id":193487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d699"} 
[2026-09-25 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99286352,"longitude_deg":76.317504,"latitude_deg":9.9286352,"altitude":20,"angle":326,"satellites":35,"speed":8,"hex_longitude":"2d7d2080","hex_latitude":"05eafd50","is_valid_coordinates":true} 
[2026-09-25 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-25 08:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318534912001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135760063640895488,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645514752,"note":"Value kept but may cause issues"} 
[2026-09-25 08:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790306778000,"timestamp_ms":1790306778000,"timestamp_seconds":1790306778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6997b90"} 
[2026-09-25 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-25 08:57:35] 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-25 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 08:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 08:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318534912001,"66":12939,"158":206,"87":13824,"24":8,"16":135760063640895488,"45":9016417585645514752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 08:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318534912001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:57:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 08:57:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135760063640895488,"km_value":135760063640895.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645514752,"description":"Unknown IO ID 45"} 
[2026-09-25 08:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318534912001,"power":12939,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016417585645514752}} 
[2026-09-25 08:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":193487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:57:35] local.INFO: GPS data processed {"connection_id":193487,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:57:35] local.INFO: Acknowledgment sent {"connection_id":193487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:03] local.INFO: TCP Data received {"connection_id":194794,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:03] local.INFO: Processing buffer {"connection_id":194794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:03] local.INFO: Packet analysis {"connection_id":194794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:58:03] local.INFO: Extracted packet for processing {"connection_id":194794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:58: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58: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-25 08:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:58:03] 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-25 08:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:58: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-25 08:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":194794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:03] local.INFO: GPS data processed {"connection_id":194794,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:03] local.INFO: Acknowledgment sent {"connection_id":194794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:06] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:58:06] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:58:06] local.INFO: IMEI packet received {"connection_id":192123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":192123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:58:06] local.INFO: TCP Data received {"connection_id":193487,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69a98b8012d7ce84005eaed40001501151e..."} 
[2026-09-25 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69a98b8012d7ce84005eaed40001501151e..."} 
[2026-09-25 08:58:06] local.INFO: Processing buffer {"connection_id":193487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69a98b8012d7ce84005eaed40001501151e..."} 
[2026-09-25 08:58:06] local.INFO: Packet analysis {"connection_id":193487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:06] local.INFO: Extracted packet for processing {"connection_id":193487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763160640,"raw_latitude":99282240,"longitude_deg":76.316064,"latitude_deg":9.928224,"altitude":21,"angle":277,"satellites":30,"speed":11,"hex_longitude":"2d7ce840","hex_latitude":"05eaed40","is_valid_coordinates":true} 
[2026-09-25 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-25 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318553088001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135760802375270400,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001780886855571456,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790306851000,"timestamp_ms":1790306851000,"timestamp_seconds":1790306851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69a98b8"} 
[2026-09-25 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-25 08:58:06] 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-25 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318553088001,"66":13319,"158":206,"87":13824,"24":11,"16":135760802375270400,"45":9001780886855571456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318553088001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135760802375270400,"km_value":135760802375270.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001780886855571456,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318553088001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9001780886855571456}} 
[2026-09-25 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":193487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:06] local.INFO: GPS data processed {"connection_id":193487,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:06] local.INFO: Acknowledgment sent {"connection_id":193487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:06] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69a8918012d0c8300070772f0001001151e..."} 
[2026-09-25 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69a8918012d0c8300070772f0001001151e..."} 
[2026-09-25 08:58:06] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69a8918012d0c8300070772f0001001151e..."} 
[2026-09-25 08:58:06] local.INFO: Packet analysis {"connection_id":192123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:06] local.INFO: Extracted packet for processing {"connection_id":192123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755794688,"raw_latitude":117928688,"longitude_deg":75.5794688,"latitude_deg":11.7928688,"altitude":16,"angle":277,"satellites":30,"speed":11,"hex_longitude":"2d0c8300","hex_latitude":"070772f0","is_valid_coordinates":true} 
[2026-09-25 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-25 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318551552001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33761750071377920,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904308761617084416,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790306847000,"timestamp_ms":1790306847000,"timestamp_seconds":1790306847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69a8918"} 
[2026-09-25 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-25 08:58:06] 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-25 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:06] 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-25 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-25 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-25 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318551552001,"66":14515,"221":206,"94":10240,"24":11,"16":33761750071377920,"45":904308761617084416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318551552001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33761750071377920,"km_value":33761750071377.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":904308761617084416,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318551552001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":904308761617084416}} 
[2026-09-25 08:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:07] local.INFO: GPS data processed {"connection_id":192123,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:07] local.INFO: Acknowledgment sent {"connection_id":192123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:25] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:25] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:25] local.INFO: IMEI packet received {"connection_id":193489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":193489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:58:26] local.INFO: TCP Data received {"connection_id":194795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:26] local.INFO: Processing buffer {"connection_id":194795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:26] local.INFO: IMEI packet received {"connection_id":194795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":194795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:58:28] local.INFO: TCP Data received {"connection_id":194795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:28] local.INFO: Processing buffer {"connection_id":194795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:28] local.INFO: IMEI packet received {"connection_id":194795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":194795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:58:31] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:31] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:58:31] local.INFO: IMEI packet received {"connection_id":193489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":193489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:58:32] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:32] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:58:32] local.INFO: Packet analysis {"connection_id":193489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:58:32] local.INFO: Extracted packet for processing {"connection_id":193489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:58:32] 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-25 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:58: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-25 08:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:58:32] local.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-25 08:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:58:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":193489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:32] local.INFO: GPS data processed {"connection_id":193489,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:32] local.INFO: Acknowledgment sent {"connection_id":193489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:33] local.INFO: TCP Data received {"connection_id":194795,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:33] local.INFO: Processing buffer {"connection_id":194795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:58:33] local.INFO: IMEI packet received {"connection_id":194795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":194795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:58:33] local.INFO: TCP Data received {"connection_id":194795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69ab028012d7ce14005eaed78001501071f..."} 
[2026-09-25 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69ab028012d7ce14005eaed78001501071f..."} 
[2026-09-25 08:58:33] local.INFO: Processing buffer {"connection_id":194795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69ab028012d7ce14005eaed78001501071f..."} 
[2026-09-25 08:58:33] local.INFO: Packet analysis {"connection_id":194795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:33] local.INFO: Extracted packet for processing {"connection_id":194795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69a"} 
[2026-09-25 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763158848,"raw_latitude":99282296,"longitude_deg":76.3158848,"latitude_deg":9.9282296,"altitude":21,"angle":263,"satellites":31,"speed":6,"hex_longitude":"2d7ce140","hex_latitude":"05eaed78","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318553856001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135760888274616320,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000514249460367360,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790306857000,"timestamp_ms":1790306857000,"timestamp_seconds":1790306857,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69ab028"} 
[2026-09-25 08: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-25 08:58:33] 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-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3600408864,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2586019841,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-279223078096461568,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":3221613298,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941941248,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.WARNING: Large IO value detected {"io_id":153,"raw_value":-6446901571696869371,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,81,160,141,45,192,237,22,26,10,66,133,238,27,117,1,240,34,227,214,234,4,113,205,14,40,239,53,2,226,5,23,19,220,153],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-25 08:58:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513514168367120384,"timestamp_seconds":1513514168367120.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 08: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-25 08:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318553856001,"66":13363,"158":206,"87":13824,"24":6,"16":135760888274616320,"45":9000514249460367360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 08:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318553856001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 08:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135760888274616320,"km_value":135760888274616.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000514249460367360,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318553856001,"power":13363,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9000514249460367360}} 
[2026-09-25 08:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":194795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:33] local.INFO: GPS data processed {"connection_id":194795,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:33] local.INFO: Acknowledgment sent {"connection_id":194795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:58:37] local.INFO: TCP Data received {"connection_id":192123,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69b5ff0012d0c30c007075490000e00f71e..."} 
[2026-09-25 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69b5ff0012d0c30c007075490000e00f71e..."} 
[2026-09-25 08:58:37] local.INFO: Processing buffer {"connection_id":192123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69b5ff0012d0c30c007075490000e00f71e..."} 
[2026-09-25 08:58:37] local.INFO: Packet analysis {"connection_id":192123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:58:37] local.INFO: Extracted packet for processing {"connection_id":192123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755773632,"raw_latitude":117920912,"longitude_deg":75.5773632,"latitude_deg":11.7920912,"altitude":14,"angle":247,"satellites":30,"speed":23,"hex_longitude":"2d0c30c0","hex_latitude":"07075490","is_valid_coordinates":true} 
[2026-09-25 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318566656001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33763090101174272,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879046382455189504,"note":"Value kept but may cause issues"} 
[2026-09-25 08:58:37] 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-25 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790306902000,"timestamp_ms":1790306902000,"timestamp_seconds":1790306902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69b5ff0"} 
[2026-09-25 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:58:37] 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-25 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 08:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318566656001,"66":14363,"221":206,"94":10240,"24":23,"16":33763090101174272,"45":879046382455189504},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318566656001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33763090101174272,"km_value":33763090101174.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":879046382455189504,"description":"Unknown IO ID 45"} 
[2026-09-25 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318566656001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":879046382455189504}} 
[2026-09-25 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":192123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:58:38] local.INFO: GPS data processed {"connection_id":192123,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:58:38] local.INFO: Acknowledgment sent {"connection_id":192123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:59:00] local.INFO: TCP Data received {"connection_id":191936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:00] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:00] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 08:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:59:01] local.INFO: TCP Data received {"connection_id":191936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:01] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:01] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:02] local.INFO: TCP Data received {"connection_id":191936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:02] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:02] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:03] local.INFO: TCP Data received {"connection_id":193489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:03] local.INFO: Processing buffer {"connection_id":193489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:03] local.INFO: Packet analysis {"connection_id":193489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:59:03] local.INFO: Extracted packet for processing {"connection_id":193489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:59: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"66":25495,"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-25 08:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:59: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-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":193489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:59:03] local.INFO: GPS data processed {"connection_id":193489,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:59:03] local.INFO: Acknowledgment sent {"connection_id":193489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:59:03] local.INFO: TCP Data received {"connection_id":191936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:03] local.INFO: Processing buffer {"connection_id":191936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 08:59:03] local.INFO: IMEI packet received {"connection_id":191936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 08:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":191936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:05] local.INFO: TCP Data received {"connection_id":194795,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69b0230012d7cc54005eae9d0001101021f..."} 
[2026-09-25 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69b0230012d7cc54005eae9d0001101021f..."} 
[2026-09-25 08:59:05] local.INFO: Processing buffer {"connection_id":194795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69b0230012d7cc54005eae9d0001101021f..."} 
[2026-09-25 08:59:05] local.INFO: Packet analysis {"connection_id":194795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:59:05] local.INFO: Extracted packet for processing {"connection_id":194795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763151680,"raw_latitude":99281360,"longitude_deg":76.315168,"latitude_deg":9.928136,"altitude":17,"angle":258,"satellites":31,"speed":17,"hex_longitude":"2d7cc540","hex_latitude":"05eae9d0","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318555392001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135761231872000000,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924623407104,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790306878000,"timestamp_ms":1790306878000,"timestamp_seconds":1790306878,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69b0230"} 
[2026-09-25 08: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-25 08:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 08:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 08: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-25 08: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-25 08:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318555392001,"66":13820,"158":206,"87":13824,"24":17,"16":135761231872000000,"45":8998543924623407104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 08:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318555392001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:59:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 08:59:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135761231872000000,"km_value":135761231872000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924623407104,"description":"Unknown IO ID 45"} 
[2026-09-25 08:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318555392001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8998543924623407104}} 
[2026-09-25 08:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":194795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:59:05] local.INFO: GPS data processed {"connection_id":194795,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:59:05] local.INFO: Acknowledgment sent {"connection_id":194795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:59:26] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:26] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:26] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 08:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:59:28] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:28] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:28] local.INFO: IMEI packet received {"connection_id":192126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 08:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 08:59:29] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:29] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:29] local.INFO: IMEI packet received {"connection_id":192126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:31] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:31] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 08:59:31] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 08:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:32] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:32] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 08:59:32] local.INFO: Packet analysis {"connection_id":192125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:59:32] local.INFO: Extracted packet for processing {"connection_id":192125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 08:59:32] 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-25 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 08:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 08:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 08:59: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-25 08:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 08:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 08:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 08:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 08:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 08:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 08:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 08:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"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-25 08:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 08:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 08:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 08:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 08:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 08:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 08:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":192125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:59:32] local.INFO: GPS data processed {"connection_id":192125,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:59:32] local.INFO: Acknowledgment sent {"connection_id":192125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:59:33] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:33] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 08:59:33] local.INFO: IMEI packet received {"connection_id":192126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 08:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 08:59:34] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69b38e0012d7ca24005eae110000e00f91e..."} 
[2026-09-25 08:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69b38e0012d7ca24005eae110000e00f91e..."} 
[2026-09-25 08:59:34] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69b38e0012d7ca24005eae110000e00f91e..."} 
[2026-09-25 08:59:34] local.INFO: Packet analysis {"connection_id":192126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:59:34] local.INFO: Extracted packet for processing {"connection_id":192126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 08:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763142720,"raw_latitude":99279120,"longitude_deg":76.314272,"latitude_deg":9.927912,"altitude":14,"angle":249,"satellites":30,"speed":27,"hex_longitude":"2d7ca240","hex_latitude":"05eae110","is_valid_coordinates":true} 
[2026-09-25 08: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-25 08:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318560768001,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135761678548598784,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990662625275269120,"note":"Value kept but may cause issues"} 
[2026-09-25 08:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 08:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790306892000,"timestamp_ms":1790306892000,"timestamp_seconds":1790306892,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69b38e0"} 
[2026-09-25 08: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-25 08:59:34] 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-25 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 08:59:34] 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-25 08: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-25 08: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-25 08:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 08:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 08:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 08:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 08:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 08:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 08:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318560768001,"66":13493,"158":206,"87":13824,"24":27,"16":135761678548598784,"45":8990662625275269120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 08:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 08:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 08:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318560768001,"description":"Unknown IO ID 0"} 
[2026-09-25 08:59:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 08:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 08:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135761678548598784,"km_value":135761678548598.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 08:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990662625275269120,"description":"Unknown IO ID 45"} 
[2026-09-25 08:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318560768001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8990662625275269120}} 
[2026-09-25 08:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":192126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 08:59:34] local.INFO: GPS data processed {"connection_id":192126,"processed":1,"errors":0,"total":1} 
[2026-09-25 08:59:34] local.INFO: Acknowledgment sent {"connection_id":192126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 08:59:35] local.INFO: TCP Data received {"connection_id":192124,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:59:35] local.INFO: Processing buffer {"connection_id":192124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 08:59:35] local.INFO: IMEI packet received {"connection_id":192124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 08:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":192124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:00:03] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:00:03] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69800a8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:00:03] local.INFO: Packet analysis {"connection_id":192125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 09:00:03] local.INFO: Extracted packet for processing {"connection_id":192125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d698"} 
[2026-09-25 09:00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318433280001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00: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-25 09:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306681000,"timestamp_ms":1790306681000,"timestamp_seconds":1790306681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69800a8"} 
[2026-09-25 09:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:00: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-25 09:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318433280001,"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-25 09:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318433280001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:00: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-25 09:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318433280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":192125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:00:03] local.INFO: GPS data processed {"connection_id":192125,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:00:03] local.INFO: Acknowledgment sent {"connection_id":192125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:05] local.INFO: TCP Data received {"connection_id":191937,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:00:05] local.INFO: Processing buffer {"connection_id":191937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:00:05] local.INFO: IMEI packet received {"connection_id":191937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":191937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:00:05] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69b67c0012d7c884005ead738000a00ea1f..."} 
[2026-09-25 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69b67c0012d7c884005ead738000a00ea1f..."} 
[2026-09-25 09:00:05] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69b67c0012d7c884005ead738000a00ea1f..."} 
[2026-09-25 09:00:05] local.INFO: Packet analysis {"connection_id":192126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 09:00:05] local.INFO: Extracted packet for processing {"connection_id":192126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763136064,"raw_latitude":99276600,"longitude_deg":76.3136064,"latitude_deg":9.92766,"altitude":10,"angle":234,"satellites":31,"speed":8,"hex_longitude":"2d7c8840","hex_latitude":"05ead738","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318564352001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762017851015168,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811001089822720,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790306904000,"timestamp_ms":1790306904000,"timestamp_seconds":1790306904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69b67c0"} 
[2026-09-25 09: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-25 09:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 09:00:05] 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-25 09: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-25 09: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-25 09:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318564352001,"66":13319,"158":206,"87":13824,"24":8,"16":135762017851015168,"45":8980811001089822720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 09:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318564352001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:00:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 09:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762017851015168,"km_value":135762017851015.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811001089822720,"description":"Unknown IO ID 45"} 
[2026-09-25 09:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318564352001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8980811001089822720}} 
[2026-09-25 09:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":192126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:00:05] local.INFO: GPS data processed {"connection_id":192126,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:00:05] local.INFO: Acknowledgment sent {"connection_id":192126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:26] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:26] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:26] local.INFO: IMEI packet received {"connection_id":191938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":191938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:00:26] local.INFO: TCP Data received {"connection_id":191939,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191939,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:26] local.INFO: Processing buffer {"connection_id":191939,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:26] local.INFO: Packet analysis {"connection_id":191939,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:26] local.INFO: Extracted packet for processing {"connection_id":191939,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00: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-25 09:00:26] 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-25 09:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:26] 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-25 09:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 09:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 09:00:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191939,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 09:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191939,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191939,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:26] 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-25 09:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":191939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 09:00:26] local.INFO: GPS data processed {"connection_id":191939,"processed":0,"errors":0,"total":1} 
[2026-09-25 09:00:26] local.INFO: Acknowledgment sent {"connection_id":191939,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:28] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:28] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:28] local.INFO: IMEI packet received {"connection_id":194797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":194797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:00:31] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:31] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:00:31] local.INFO: IMEI packet received {"connection_id":191938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":191938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:00:32] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:32] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:32] local.INFO: IMEI packet received {"connection_id":194797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":194797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:00:32] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:00:32] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:00:32] local.INFO: Packet analysis {"connection_id":191938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:00:32] local.INFO: Extracted packet for processing {"connection_id":191938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:00:32] 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-25 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":191938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:00:32] local.INFO: GPS data processed {"connection_id":191938,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:00:32] local.INFO: Acknowledgment sent {"connection_id":191938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:33] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:33] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:00:33] local.INFO: IMEI packet received {"connection_id":194797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":194797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:00:33] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69bb9c8012d7c870005ead6b0000a00e818..."} 
[2026-09-25 09:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69bb9c8012d7c870005ead6b0000a00e818..."} 
[2026-09-25 09:00:33] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69bb9c8012d7c870005ead6b0000a00e818..."} 
[2026-09-25 09:00:33] local.INFO: Packet analysis {"connection_id":194797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 09:00:33] local.INFO: Extracted packet for processing {"connection_id":194797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69b"} 
[2026-09-25 09:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":24,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318567424001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973492651694700544,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790306925000,"timestamp_ms":1790306925000,"timestamp_seconds":1790306925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69bb9c8"} 
[2026-09-25 09: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-25 09:00:33] 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-25 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3600450864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2593699841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1218223604696998912,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3221613293,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510928,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941480448,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.WARNING: Large IO value detected {"io_id":154,"raw_value":8471272193965490181,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,158,87,24,241,157,16,82,160,56,45,64,225,14,30,10,66,2,233,17,31,176,1,240,51,227,81,214,234,4,113,205,11,141,236,88,26,239,48,226,5,22,7,154],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-25 09:00:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720833359244689408,"timestamp_seconds":720833359244689.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318567424001,"66":13319,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973492651694700544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318567424001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:00:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:00:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973492651694700544,"description":"Unknown IO ID 45"} 
[2026-09-25 09:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318567424001,"power":13319,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973492651694700544}} 
[2026-09-25 09:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":194797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:00:33] local.INFO: GPS data processed {"connection_id":194797,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:00:33] local.INFO: Acknowledgment sent {"connection_id":194797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:34] local.INFO: TCP Data received {"connection_id":191940,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191940,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:34] local.INFO: Processing buffer {"connection_id":191940,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:34] local.INFO: Packet analysis {"connection_id":191940,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:34] local.INFO: Extracted packet for processing {"connection_id":191940,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:34] 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-25 09:00:34] 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-25 09:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:34] 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-25 09:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 09:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 09:00:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191940,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 09:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191940,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191940,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:34] 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-25 09:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":191940,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 09:00:34] local.INFO: GPS data processed {"connection_id":191940,"processed":0,"errors":0,"total":1} 
[2026-09-25 09:00:34] local.INFO: Acknowledgment sent {"connection_id":191940,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:38] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c0bd0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c0bd0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:00:38] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c0bd0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:00:38] local.INFO: Packet analysis {"connection_id":194797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:00:38] local.INFO: Extracted packet for processing {"connection_id":194797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":26,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318572800001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790306946000,"timestamp_ms":1790306946000,"timestamp_seconds":1790306946,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c0bd0"} 
[2026-09-25 09:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:00:38] 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-25 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3600452864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2595235841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1281273999481038080,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941423104,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":173,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-8849571972901765115,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,8,87,24,241,157,16,82,160,103,45,64,215,10,31,66,158,56,225,14,30,2,1,240,252,227,214,234,4,113,205,6,152,232,239,52,226,5,22,15,173,154],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-25 09:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720831130156138496,"timestamp_seconds":720831130156138.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318572800001,"66":13363,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318572800001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:00:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:00:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318572800001,"power":13363,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":194797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:00:38] local.INFO: GPS data processed {"connection_id":194797,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:00:38] local.INFO: Acknowledgment sent {"connection_id":194797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:40] local.INFO: TCP Data received {"connection_id":193490,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193490,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:40] local.INFO: Processing buffer {"connection_id":193490,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:40] local.INFO: Packet analysis {"connection_id":193490,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:40] local.INFO: Extracted packet for processing {"connection_id":193490,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 09:00:40] 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-25 09:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:40] 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-25 09:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 09:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 09:00:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193490,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 09:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193490,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193490,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:40] 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-25 09:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":193490,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 09:00:40] local.INFO: GPS data processed {"connection_id":193490,"processed":0,"errors":0,"total":1} 
[2026-09-25 09:00:40] local.INFO: Acknowledgment sent {"connection_id":193490,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:00:46] local.INFO: TCP Data received {"connection_id":193491,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193491,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:46] local.INFO: Processing buffer {"connection_id":193491,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 09:00:46] local.INFO: Packet analysis {"connection_id":193491,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09:00:46] local.INFO: Extracted packet for processing {"connection_id":193491,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 09: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-25 09:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-25 09:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 09:00:46] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-25 09:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 09:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 09:00:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":193491,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 09:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":193491,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":193491,"device_imei":null,"avl_records_count":1} 
[2026-09-25 09:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":193491,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 09:00:46] local.INFO: GPS data processed {"connection_id":193491,"processed":0,"errors":0,"total":1} 
[2026-09-25 09:00:46] local.INFO: Acknowledgment sent {"connection_id":193491,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:01:03] local.INFO: TCP Data received {"connection_id":191938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:03] local.INFO: Processing buffer {"connection_id":191938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:03] local.INFO: Packet analysis {"connection_id":191938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:03] local.INFO: Extracted packet for processing {"connection_id":191938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01: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-25 09:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:01: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-25 09:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:01: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-25 09:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":191938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:01:03] local.INFO: GPS data processed {"connection_id":191938,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:01:03] local.INFO: Acknowledgment sent {"connection_id":191938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:01:10] local.INFO: TCP Data received {"connection_id":194797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c5dd8012d7c870005ead6b0000a00e81b..."} 
[2026-09-25 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c5dd8012d7c870005ead6b0000a00e81b..."} 
[2026-09-25 09:01:10] local.INFO: Processing buffer {"connection_id":194797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c5dd8012d7c870005ead6b0000a00e81b..."} 
[2026-09-25 09:01:10] local.INFO: Packet analysis {"connection_id":194797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:10] local.INFO: Extracted packet for processing {"connection_id":194797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":27,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318578176001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790306967000,"timestamp_ms":1790306967000,"timestamp_seconds":1790306967,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c5dd8"} 
[2026-09-25 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318578176001,"66":13243,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318578176001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:01:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:01:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318578176001,"power":13243,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":194797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:01:10] local.INFO: GPS data processed {"connection_id":194797,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:01:10] local.INFO: Acknowledgment sent {"connection_id":194797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:01:26] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:26] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:26] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:01:31] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:31] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:01:31] local.INFO: IMEI packet received {"connection_id":191942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":191942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:01:32] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:32] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:01:32] local.INFO: Packet analysis {"connection_id":191942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:32] local.INFO: Extracted packet for processing {"connection_id":191942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:32] 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-25 09:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":191942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:01:32] local.INFO: GPS data processed {"connection_id":191942,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:01:32] local.INFO: Acknowledgment sent {"connection_id":191942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:01:33] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:33] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:33] local.INFO: IMEI packet received {"connection_id":193492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":193492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:01:35] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:35] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:01:35] local.INFO: IMEI packet received {"connection_id":193492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":193492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:01:36] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69cafe0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69cafe0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:01:36] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69cafe0012d7c870005ead6b0000a00e81a..."} 
[2026-09-25 09:01:36] local.INFO: Packet analysis {"connection_id":193492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:36] local.INFO: Extracted packet for processing {"connection_id":193492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":26,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318583552001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790306988000,"timestamp_ms":1790306988000,"timestamp_seconds":1790306988,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69cafe0"} 
[2026-09-25 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-25 09:01:36] 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-25 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 09:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318583552001,"66":13526,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318583552001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318583552001,"power":13526,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":193492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:01:36] local.INFO: GPS data processed {"connection_id":193492,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:01:36] local.INFO: Acknowledgment sent {"connection_id":193492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:01:38] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69d01e8012d7c870005ead6b0000a00e817..."} 
[2026-09-25 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69d01e8012d7c870005ead6b0000a00e817..."} 
[2026-09-25 09:01:38] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69d01e8012d7c870005ead6b0000a00e817..."} 
[2026-09-25 09:01:38] local.INFO: Packet analysis {"connection_id":193492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:01:38] local.INFO: Extracted packet for processing {"connection_id":193492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":23,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318588928001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790307009000,"timestamp_ms":1790307009000,"timestamp_seconds":1790307009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69d01e8"} 
[2026-09-25 09:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:01:38] 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-25 09:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 09:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318588928001,"66":13135,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318588928001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:01:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:01:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318588928001,"power":13135,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":193492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:01:38] local.INFO: GPS data processed {"connection_id":193492,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:01:38] local.INFO: Acknowledgment sent {"connection_id":193492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:02:04] local.INFO: TCP Data received {"connection_id":191942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:04] local.INFO: Processing buffer {"connection_id":191942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:04] local.INFO: Packet analysis {"connection_id":191942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:02:04] local.INFO: Extracted packet for processing {"connection_id":191942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09: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-25 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09: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-25 09: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-25 09: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-25 09:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":191942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:02:04] local.INFO: GPS data processed {"connection_id":191942,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:02:04] local.INFO: Acknowledgment sent {"connection_id":191942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:02:09] local.INFO: TCP Data received {"connection_id":193492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69d53f0012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69d53f0012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:09] local.INFO: Processing buffer {"connection_id":193492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69d53f0012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:09] local.INFO: Packet analysis {"connection_id":193492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:02:09] local.INFO: Extracted packet for processing {"connection_id":193492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":22,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318594304001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790307030000,"timestamp_ms":1790307030000,"timestamp_seconds":1790307030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69d53f0"} 
[2026-09-25 09: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-25 09:02:09] 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-25 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 09:02:09] 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-25 09: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-25 09: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-25 09:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318594304001,"66":13363,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318594304001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:02:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:02:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318594304001,"power":13363,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":193492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:02:09] local.INFO: GPS data processed {"connection_id":193492,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:02:09] local.INFO: Acknowledgment sent {"connection_id":193492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:02:26] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:26] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:26] local.INFO: IMEI packet received {"connection_id":193493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":193493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:02:28] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:28] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:28] local.INFO: IMEI packet received {"connection_id":192128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:02:31] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:31] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:02:31] local.INFO: IMEI packet received {"connection_id":193493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":193493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:02:31] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:31] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:02:31] local.INFO: IMEI packet received {"connection_id":192128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":192128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:02:32] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:32] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:02:32] local.INFO: Packet analysis {"connection_id":193493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:02:32] local.INFO: Extracted packet for processing {"connection_id":193493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:02:32] 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-25 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":193493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:02:32] local.INFO: GPS data processed {"connection_id":193493,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:02:32] local.INFO: Acknowledgment sent {"connection_id":193493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:02:32] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69da5f8012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69da5f8012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:32] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69da5f8012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:02:32] local.INFO: Packet analysis {"connection_id":192128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:02:32] local.INFO: Extracted packet for processing {"connection_id":192128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":22,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318599680001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307051000,"timestamp_ms":1790307051000,"timestamp_seconds":1790307051,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69da5f8"} 
[2026-09-25 09:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:02:32] 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-25 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 09:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318599680001,"66":13559,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318599680001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318599680001,"power":13559,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":192128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:02:32] local.INFO: GPS data processed {"connection_id":192128,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:02:32] local.INFO: Acknowledgment sent {"connection_id":192128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:03:03] local.INFO: TCP Data received {"connection_id":193493,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:03] local.INFO: Processing buffer {"connection_id":193493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:03] local.INFO: Packet analysis {"connection_id":193493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:03:03] local.INFO: Extracted packet for processing {"connection_id":193493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:03: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03: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-25 09:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:03: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-25 09:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:03: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-25 09:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":193493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:03:03] local.INFO: GPS data processed {"connection_id":193493,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:03:03] local.INFO: Acknowledgment sent {"connection_id":193493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:03:04] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69df800012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69df800012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:04] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69df800012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:04] local.INFO: Packet analysis {"connection_id":192128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:03:04] local.INFO: Extracted packet for processing {"connection_id":192128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69d"} 
[2026-09-25 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":22,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318605056001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790307072000,"timestamp_ms":1790307072000,"timestamp_seconds":1790307072,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69df800"} 
[2026-09-25 09:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:03:04] 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-25 09:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 09:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318605056001,"66":13406,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318605056001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:03:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:03:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318605056001,"power":13406,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":192128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:03:04] local.INFO: GPS data processed {"connection_id":192128,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:03:04] local.INFO: Acknowledgment sent {"connection_id":192128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:03:26] local.INFO: TCP Data received {"connection_id":194799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:26] local.INFO: Processing buffer {"connection_id":194799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:26] local.INFO: IMEI packet received {"connection_id":194799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":194799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:03:28] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:28] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:28] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:03:29] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:29] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:29] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:03:31] local.INFO: TCP Data received {"connection_id":194799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:31] local.INFO: Processing buffer {"connection_id":194799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:03:31] local.INFO: IMEI packet received {"connection_id":194799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":194799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:03:31] local.INFO: TCP Data received {"connection_id":194799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:31] local.INFO: Processing buffer {"connection_id":194799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:03:31] local.INFO: Packet analysis {"connection_id":194799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:03:31] local.INFO: Extracted packet for processing {"connection_id":194799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:03: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03: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-25 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:03: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-25 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:03: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-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":194799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:03:31] local.INFO: GPS data processed {"connection_id":194799,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:03:31] local.INFO: Acknowledgment sent {"connection_id":194799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:03:33] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:33] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:03:33] local.INFO: IMEI packet received {"connection_id":191945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":191945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:03:34] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69e4a08012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69e4a08012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:34] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69e4a08012d7c870005ead6b0000a00e816..."} 
[2026-09-25 09:03:34] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69e"} 
[2026-09-25 09:03:34] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69e"} 
[2026-09-25 09:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763135744,"raw_latitude":99276464,"longitude_deg":76.3135744,"latitude_deg":9.9276464,"altitude":10,"angle":232,"satellites":22,"speed":0,"hex_longitude":"2d7c8700","hex_latitude":"05ead6b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318610432001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762035030884352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307093000,"timestamp_ms":1790307093000,"timestamp_seconds":1790307093,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69e4a08"} 
[2026-09-25 09: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-25 09:03:34] 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-25 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 09:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318610432001,"66":13515,"8":206,"87":13824,"24":0,"16":135762035030884352,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318610432001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:03:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:03:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762035030884352,"km_value":135762035030884.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318610432001,"power":13515,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:03:34] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:03:34] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:03:39] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69e8888012d7c800005ead2c0000900f61f..."} 
[2026-09-25 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69e8888012d7c800005ead2c0000900f61f..."} 
[2026-09-25 09:03:39] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69e8888012d7c800005ead2c0000900f61f..."} 
[2026-09-25 09:03:39] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69e"} 
[2026-09-25 09:03:39] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69e"} 
[2026-09-25 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763133952,"raw_latitude":99275456,"longitude_deg":76.3133952,"latitude_deg":9.9275456,"altitude":9,"angle":246,"satellites":31,"speed":4,"hex_longitude":"2d7c8000","hex_latitude":"05ead2c0","is_valid_coordinates":true} 
[2026-09-25 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318615808001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135762138110099456,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973140807973777408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307109000,"timestamp_ms":1790307109000,"timestamp_seconds":1790307109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69e8888"} 
[2026-09-25 09:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:03:39] 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-25 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 09:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318615808001,"66":13515,"8":206,"87":13824,"24":4,"16":135762138110099456,"45":8973140807973777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 09:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318615808001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:03:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 09:03:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135762138110099456,"km_value":135762138110099.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973140807973777408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318615808001,"power":13515,"unknown_8":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8973140807973777408}} 
[2026-09-25 09:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:03:39] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:03:39] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:03] local.INFO: TCP Data received {"connection_id":194799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:03] local.INFO: Processing buffer {"connection_id":194799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:03] local.INFO: Packet analysis {"connection_id":194799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:04:03] local.INFO: Extracted packet for processing {"connection_id":194799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:04: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04: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-25 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:04: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-25 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:04: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-25 09:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":194799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:03] local.INFO: GPS data processed {"connection_id":194799,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:03] local.INFO: Acknowledgment sent {"connection_id":194799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:07] local.INFO: TCP Data received {"connection_id":194800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:04:07] local.INFO: Processing buffer {"connection_id":194800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:04:07] local.INFO: IMEI packet received {"connection_id":194800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":194800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:04:08] local.INFO: TCP Data received {"connection_id":194800,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a0d6a045d8012d0ae600070593f80023012b1e..."} 
[2026-09-25 09:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194800,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d6a045d8012d0ae600070593f80023012b1e..."} 
[2026-09-25 09:04:08] local.INFO: Processing buffer {"connection_id":194800,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d6a045d8012d0ae600070593f80023012b1e..."} 
[2026-09-25 09:04:08] local.INFO: Packet analysis {"connection_id":194800,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d6a0"} 
[2026-09-25 09:04:08] local.INFO: Extracted packet for processing {"connection_id":194800,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d6a0"} 
[2026-09-25 09:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755688960,"raw_latitude":117806072,"longitude_deg":75.568896,"latitude_deg":11.7806072,"altitude":35,"angle":299,"satellites":30,"speed":13,"hex_longitude":"2d0ae600","hex_latitude":"070593f8","is_valid_coordinates":true} 
[2026-09-25 09:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-25 09:04:08] 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-25 09:04:08] 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-25 09:04:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:04:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 09:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194800,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 09:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194800,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 09:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194800,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 09:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 09:04:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 09:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":194800,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 09:04:08] local.ERROR: GPS data processing failed {"connection_id":194800,"error":"No valid data to process"} 
[2026-09-25 09:04:08] local.INFO: Acknowledgment sent {"connection_id":194800,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 09:04:10] local.INFO: TCP Data received {"connection_id":191945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a08c28012d7c2e4005eb20b00005014a21..."} 
[2026-09-25 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a08c28012d7c2e4005eb20b00005014a21..."} 
[2026-09-25 09:04:10] local.INFO: Processing buffer {"connection_id":191945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a08c28012d7c2e4005eb20b00005014a21..."} 
[2026-09-25 09:04:10] local.INFO: Packet analysis {"connection_id":191945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:10] local.INFO: Extracted packet for processing {"connection_id":191945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763113024,"raw_latitude":99295408,"longitude_deg":76.3113024,"latitude_deg":9.9295408,"altitude":5,"angle":330,"satellites":33,"speed":22,"hex_longitude":"2d7c2e40","hex_latitude":"05eb20b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318652928001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135764161039695872,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853748545536,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790307241000,"timestamp_ms":1790307241000,"timestamp_seconds":1790307241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a08c28"} 
[2026-09-25 09: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-25 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318652928001,"66":13820,"10":206,"87":13824,"24":22,"16":135764161039695872,"45":8948722853748545536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318652928001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:04:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135764161039695872,"km_value":135764161039695.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853748545536,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318652928001,"power":13820,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8948722853748545536}} 
[2026-09-25 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":191945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:10] local.INFO: GPS data processed {"connection_id":191945,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:10] local.INFO: Acknowledgment sent {"connection_id":191945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:26] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:26] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:26] local.INFO: IMEI packet received {"connection_id":193494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":193494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:04:30] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:30] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:30] local.INFO: IMEI packet received {"connection_id":193495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":193495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:04:31] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:31] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:04:31] local.INFO: IMEI packet received {"connection_id":193494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":193494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:04:32] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:32] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:04:32] local.INFO: Packet analysis {"connection_id":193494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:04:32] local.INFO: Extracted packet for processing {"connection_id":193494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:04:32] 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-25 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":193494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:32] local.INFO: GPS data processed {"connection_id":193494,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:32] local.INFO: Acknowledgment sent {"connection_id":193494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:37] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:37] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:04:37] local.INFO: IMEI packet received {"connection_id":193495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":193495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:04:39] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a093f8012d7c2b4005eb24480005013c21..."} 
[2026-09-25 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a093f8012d7c2b4005eb24480005013c21..."} 
[2026-09-25 09:04:39] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a093f8012d7c2b4005eb24480005013c21..."} 
[2026-09-25 09:04:39] local.INFO: Packet analysis {"connection_id":193495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:39] local.INFO: Extracted packet for processing {"connection_id":193495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763112256,"raw_latitude":99296328,"longitude_deg":76.3112256,"latitude_deg":9.9296328,"altitude":5,"angle":316,"satellites":33,"speed":23,"hex_longitude":"2d7c2b40","hex_latitude":"05eb2448","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318653696001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135764221169238016,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948159903795556352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307243000,"timestamp_ms":1790307243000,"timestamp_seconds":1790307243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a093f8"} 
[2026-09-25 09: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-25 09:04:39] 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-25 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:39] 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-25 09: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-25 09: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-25 09:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318653696001,"66":13646,"10":206,"87":13824,"24":23,"16":135764221169238016,"45":8948159903795556352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318653696001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135764221169238016,"km_value":135764221169238.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948159903795556352,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318653696001,"power":13646,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8948159903795556352}} 
[2026-09-25 09:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":193495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:39] local.INFO: GPS data processed {"connection_id":193495,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:39] local.INFO: Acknowledgment sent {"connection_id":193495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:39] local.INFO: TCP Data received {"connection_id":194800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a05190012d0ae280070595400025010c1e..."} 
[2026-09-25 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a05190012d0ae280070595400025010c1e..."} 
[2026-09-25 09:04:39] local.INFO: Processing buffer {"connection_id":194800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a05190012d0ae280070595400025010c1e..."} 
[2026-09-25 09:04:39] local.INFO: Packet analysis {"connection_id":194800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:39] local.INFO: Extracted packet for processing {"connection_id":194800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:39] local.INFO: GPS Element Parsed {"raw_longitude":755688064,"raw_latitude":117806400,"longitude_deg":75.5688064,"latitude_deg":11.78064,"altitude":37,"angle":268,"satellites":30,"speed":10,"hex_longitude":"2d0ae280","hex_latitude":"07059540","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318649088001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772255561383936,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785315215181084672,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307226000,"timestamp_ms":1790307226000,"timestamp_seconds":1790307226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a05190"} 
[2026-09-25 09: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-25 09:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:39] 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-25 09: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-25 09: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-25 09:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318649088001,"66":14548,"165":206,"94":10240,"24":10,"16":33772255561383936,"45":785315215181084672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318649088001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772255561383936,"km_value":33772255561383.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":785315215181084672,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318649088001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":785315215181084672}} 
[2026-09-25 09:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":194800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:40] local.INFO: GPS data processed {"connection_id":194800,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:40] local.INFO: Acknowledgment sent {"connection_id":194800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:04:40] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a09fb0012d7c26c005eb29e00005014821..."} 
[2026-09-25 09:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a09fb0012d7c26c005eb29e00005014821..."} 
[2026-09-25 09:04:40] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a09fb0012d7c26c005eb29e00005014821..."} 
[2026-09-25 09:04:40] local.INFO: Packet analysis {"connection_id":193495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:40] local.INFO: Extracted packet for processing {"connection_id":193495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763111104,"raw_latitude":99297760,"longitude_deg":76.3111104,"latitude_deg":9.929776,"altitude":5,"angle":328,"satellites":33,"speed":23,"hex_longitude":"2d7c26c0","hex_latitude":"05eb29e0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318654208001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135764307068583936,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947315478865659904,"note":"Value kept but may cause issues"} 
[2026-09-25 09:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790307246000,"timestamp_ms":1790307246000,"timestamp_seconds":1790307246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a09fb0"} 
[2026-09-25 09: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-25 09: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-25 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 09:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318654208001,"66":13646,"10":206,"87":13824,"24":23,"16":135764307068583936,"45":8947315478865659904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318654208001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:04:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:04:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135764307068583936,"km_value":135764307068583.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947315478865659904,"description":"Unknown IO ID 45"} 
[2026-09-25 09:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318654208001,"power":13646,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8947315478865659904}} 
[2026-09-25 09:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":193495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:04:40] local.INFO: GPS data processed {"connection_id":193495,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:04:40] local.INFO: Acknowledgment sent {"connection_id":193495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:03] local.INFO: TCP Data received {"connection_id":193494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:03] local.INFO: Processing buffer {"connection_id":193494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d69c9870012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:03] local.INFO: Packet analysis {"connection_id":193494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:05:03] local.INFO: Extracted packet for processing {"connection_id":193494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d69c"} 
[2026-09-25 09:05: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318510336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05: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-25 09:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790306982000,"timestamp_ms":1790306982000,"timestamp_seconds":1790306982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d69c9870"} 
[2026-09-25 09: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-25 09:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09: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-25 09: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-25 09:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318510336001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318510336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:05: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-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318510336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":193494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:03] local.INFO: GPS data processed {"connection_id":193494,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:03] local.INFO: Acknowledgment sent {"connection_id":193494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:03] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:05:03] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:05:03] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:05:04] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 09:05:04] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 09:05:04] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:04] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:05:04] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 09:05:04] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:05] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a05578012d0ae140070594e8002500fd1e..."} 
[2026-09-25 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a05578012d0ae140070594e8002500fd1e..."} 
[2026-09-25 09:05:05] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d6..."} 
[2026-09-25 09:05:05] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:06] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a0a398012d0abe4007058c68001d01041e..."} 
[2026-09-25 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a0a398012d0abe4007058c68001d01041e..."} 
[2026-09-25 09:05:06] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d6a05578012d0ae140070594e8002500fd1e..."} 
[2026-09-25 09:05:06] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:06] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":755687744,"raw_latitude":117806312,"longitude_deg":75.5687744,"latitude_deg":11.7806312,"altitude":37,"angle":253,"satellites":30,"speed":15,"hex_longitude":"2d0ae140","hex_latitude":"070594e8","is_valid_coordinates":true} 
[2026-09-25 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318649856001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772277036220416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784330052762681344,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790307227000,"timestamp_ms":1790307227000,"timestamp_seconds":1790307227,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a05578"} 
[2026-09-25 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:06] 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-25 09:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318649856001,"66":14548,"165":206,"94":10240,"24":15,"16":33772277036220416,"45":784330052762681344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318649856001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772277036220416,"km_value":33772277036220.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":784330052762681344,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318649856001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":784330052762681344}} 
[2026-09-25 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:06] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:06] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:06] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:06] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":755678784,"raw_latitude":117804136,"longitude_deg":75.5678784,"latitude_deg":11.7804136,"altitude":29,"angle":260,"satellites":30,"speed":17,"hex_longitude":"2d0abe40","hex_latitude":"07058c68","is_valid_coordinates":true} 
[2026-09-25 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318650112001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772710827917312,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783978209041770496,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790307247000,"timestamp_ms":1790307247000,"timestamp_seconds":1790307247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a0a398"} 
[2026-09-25 09:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:06] 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-25 09:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318650112001,"66":14396,"165":206,"94":10240,"24":17,"16":33772710827917312,"45":783978209041770496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318650112001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772710827917312,"km_value":33772710827917.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":783978209041770496,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318650112001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":783978209041770496}} 
[2026-09-25 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:06] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:06] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:07] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a0bb08012d0ab64007058ae0001800f71e..."} 
[2026-09-25 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a0bb08012d0ab64007058ae0001800f71e..."} 
[2026-09-25 09:05:07] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a0bb08012d0ab64007058ae0001800f71e..."} 
[2026-09-25 09:05:07] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:07] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755676736,"raw_latitude":117803744,"longitude_deg":75.5676736,"latitude_deg":11.7803744,"altitude":24,"angle":247,"satellites":30,"speed":8,"hex_longitude":"2d0ab640","hex_latitude":"07058ae0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318655232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772813907132416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774126584856340480,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:07] 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-25 09:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790307253000,"timestamp_ms":1790307253000,"timestamp_seconds":1790307253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a0bb08"} 
[2026-09-25 09: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-25 09:05:07] 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-25 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:07] 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-25 09: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-25 09: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-25 09:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318655232001,"66":14374,"165":206,"94":10240,"24":8,"16":33772813907132416,"45":774126584856340480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318655232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:05:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772813907132416,"km_value":33772813907132.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":774126584856340480,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318655232001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":774126584856340480}} 
[2026-09-25 09:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:07] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:07] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:08] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a10928012d0ab48007058a38001a00f71d..."} 
[2026-09-25 09:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a10928012d0ab48007058a38001a00f71d..."} 
[2026-09-25 09:05:08] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a10928012d0ab48007058a38001a00f71d..."} 
[2026-09-25 09:05:08] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:08] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":755676288,"raw_latitude":117803576,"longitude_deg":75.5676288,"latitude_deg":11.7803576,"altitude":26,"angle":247,"satellites":29,"speed":0,"hex_longitude":"2d0ab480","hex_latitude":"07058a38","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318656768001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772835381968896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771874785042554880,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307273000,"timestamp_ms":1790307273000,"timestamp_seconds":1790307273,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a10928"} 
[2026-09-25 09: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-25 09:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318656768001,"66":14374,"153":206,"94":10240,"24":0,"16":33772835381968896,"45":771874785042554880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 09:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318656768001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 09:05:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772835381968896,"km_value":33772835381968.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":771874785042554880,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318656768001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":771874785042554880}} 
[2026-09-25 09:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:08] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:08] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:15] local.INFO: TCP Data received {"connection_id":193495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a0a780012d7c258005eb2e380004015c22..."} 
[2026-09-25 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a0a780012d7c258005eb2e380004015c22..."} 
[2026-09-25 09:05:15] local.INFO: Processing buffer {"connection_id":193495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a0a780012d7c258005eb2e380004015c22..."} 
[2026-09-25 09:05:15] local.INFO: Packet analysis {"connection_id":193495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:15] local.INFO: Extracted packet for processing {"connection_id":193495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763110784,"raw_latitude":99298872,"longitude_deg":76.3110784,"latitude_deg":9.9298872,"altitude":4,"angle":348,"satellites":34,"speed":23,"hex_longitude":"2d7c2580","hex_latitude":"05eb2e38","is_valid_coordinates":true} 
[2026-09-25 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318654976001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135764362903158784,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946048841470828544,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790307248000,"timestamp_ms":1790307248000,"timestamp_seconds":1790307248,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a0a780"} 
[2026-09-25 09:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:05:15] 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-25 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318654976001,"66":13602,"10":206,"87":13824,"24":23,"16":135764362903158784,"45":8946048841470828544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318654976001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:05:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135764362903158784,"km_value":135764362903158.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946048841470828544,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318654976001,"power":13602,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8946048841470828544}} 
[2026-09-25 09:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":193495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:15] local.INFO: GPS data processed {"connection_id":193495,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:15] local.INFO: Acknowledgment sent {"connection_id":193495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:26] local.INFO: TCP Data received {"connection_id":194802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:26] local.INFO: Processing buffer {"connection_id":194802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:26] local.INFO: IMEI packet received {"connection_id":194802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":194802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:05:27] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:27] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:27] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:05:28] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:28] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:28] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:31] local.INFO: TCP Data received {"connection_id":194802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:31] local.INFO: Processing buffer {"connection_id":194802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:05:31] local.INFO: IMEI packet received {"connection_id":194802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":194802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:32] local.INFO: TCP Data received {"connection_id":194802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:32] local.INFO: Processing buffer {"connection_id":194802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:05:32] local.INFO: Packet analysis {"connection_id":194802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:32] local.INFO: Extracted packet for processing {"connection_id":194802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:32] 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-25 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:05: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-25 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":194802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:32] local.INFO: GPS data processed {"connection_id":194802,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:32] local.INFO: Acknowledgment sent {"connection_id":194802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:33] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:33] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:05:33] local.INFO: IMEI packet received {"connection_id":192132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":192132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:05:34] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a0d660012d7c23c005eb4b900001016720..."} 
[2026-09-25 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a0d660012d7c23c005eb4b900001016720..."} 
[2026-09-25 09:05:34] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a0d660012d7c23c005eb4b900001016720..."} 
[2026-09-25 09:05:34] local.INFO: Packet analysis {"connection_id":192132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:34] local.INFO: Extracted packet for processing {"connection_id":192132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a0"} 
[2026-09-25 09:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":99306384,"longitude_deg":76.3110336,"latitude_deg":9.9306384,"altitude":1,"angle":359,"satellites":32,"speed":27,"hex_longitude":"2d7c23c0","hex_latitude":"05eb4b90","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318655488001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135764732270346240,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997750224896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307260000,"timestamp_ms":1790307260000,"timestamp_seconds":1790307260,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a0d660"} 
[2026-09-25 09: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-25 09:05:34] 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-25 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 09:05:34] 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-25 09: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-25 09: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-25 09:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318655488001,"66":13678,"10":206,"87":13824,"24":27,"16":135764732270346240,"45":8945696997750224896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318655488001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135764732270346240,"km_value":135764732270346.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997750224896,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318655488001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8945696997750224896}} 
[2026-09-25 09:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":192132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:34] local.INFO: GPS data processed {"connection_id":192132,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:34] local.INFO: Acknowledgment sent {"connection_id":192132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:05:40] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:05:40] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:05:40] local.INFO: IMEI packet received {"connection_id":192131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":192131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:05:40] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a14b90012d0ab300070589d8001a01171d..."} 
[2026-09-25 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a14b90012d0ab300070589d8001a01171d..."} 
[2026-09-25 09:05:40] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a14b90012d0ab300070589d8001a01171d..."} 
[2026-09-25 09:05:40] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:40] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:05:40] local.INFO: GPS Element Parsed {"raw_longitude":755675904,"raw_latitude":117803480,"longitude_deg":75.5675904,"latitude_deg":11.780348,"altitude":26,"angle":279,"satellites":29,"speed":3,"hex_longitude":"2d0ab300","hex_latitude":"070589d8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318661888001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772856856805376,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771382203833268224,"note":"Value kept but may cause issues"} 
[2026-09-25 09:05:40] 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-25 09:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790307290000,"timestamp_ms":1790307290000,"timestamp_seconds":1790307290,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a14b90"} 
[2026-09-25 09: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-25 09:05:40] 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-25 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:05: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-25 09: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-25 09: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-25 09:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318661888001,"66":14407,"153":206,"94":10240,"24":3,"16":33772856856805376,"45":771382203833268224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 09:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318661888001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:05:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 09:05:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772856856805376,"km_value":33772856856805.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":771382203833268224,"description":"Unknown IO ID 45"} 
[2026-09-25 09:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318661888001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":771382203833268224}} 
[2026-09-25 09:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:05:40] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:05:40] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:01] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:01] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:01] local.INFO: IMEI packet received {"connection_id":191946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":191946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:06:04] local.INFO: TCP Data received {"connection_id":194802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:04] local.INFO: Processing buffer {"connection_id":194802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:04] local.INFO: Packet analysis {"connection_id":194802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:04] local.INFO: Extracted packet for processing {"connection_id":194802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09: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-25 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":194802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:04] local.INFO: GPS data processed {"connection_id":194802,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:04] local.INFO: Acknowledgment sent {"connection_id":194802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:05] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:06:05] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:06:05] local.INFO: IMEI packet received {"connection_id":192133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":192133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:06:06] local.INFO: TCP Data received {"connection_id":192132,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a10158012d7c1fc005eb6a000000015a1e..."} 
[2026-09-25 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a10158012d7c1fc005eb6a000000015a1e..."} 
[2026-09-25 09:06:06] local.INFO: Processing buffer {"connection_id":192132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a10158012d7c1fc005eb6a000000015a1e..."} 
[2026-09-25 09:06:06] local.INFO: Packet analysis {"connection_id":192132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:06] local.INFO: Extracted packet for processing {"connection_id":192132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":99314176,"longitude_deg":76.3109312,"latitude_deg":9.9314176,"altitude":0,"angle":346,"satellites":30,"speed":27,"hex_longitude":"2d7c1fc0","hex_latitude":"05eb6a00","is_valid_coordinates":true} 
[2026-09-25 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318658560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135765114522435584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416542904320,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790307271000,"timestamp_ms":1790307271000,"timestamp_seconds":1790307271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a10158"} 
[2026-09-25 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:06:06] 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-25 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:06] 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-25 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318658560001,"66":13537,"10":206,"87":13824,"24":27,"16":135765114522435584,"45":8945204416542904320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318658560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135765114522435584,"km_value":135765114522435.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416542904320,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318658560001,"power":13537,"unknown_10":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8945204416542904320}} 
[2026-09-25 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":192132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:06] local.INFO: GPS data processed {"connection_id":192132,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:06] local.INFO: Acknowledgment sent {"connection_id":192132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:07] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:07] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:06:07] local.INFO: IMEI packet received {"connection_id":191946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":191946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:06:08] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a15748012d0ab08007058948001a01041d..."} 
[2026-09-25 09:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a15748012d0ab08007058948001a01041d..."} 
[2026-09-25 09:06:08] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a15748012d0ab08007058948001a01041d..."} 
[2026-09-25 09:06:08] local.INFO: Packet analysis {"connection_id":191946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:08] local.INFO: Extracted packet for processing {"connection_id":191946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:08] local.INFO: GPS Element Parsed {"raw_longitude":755675264,"raw_latitude":117803336,"longitude_deg":75.5675264,"latitude_deg":11.7803336,"altitude":26,"angle":260,"satellites":29,"speed":8,"hex_longitude":"2d0ab080","hex_latitude":"07058948","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33772886921576448,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770959991368177664,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307293000,"timestamp_ms":1790307293000,"timestamp_seconds":1790307293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a15748"} 
[2026-09-25 09: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-25 09:06:08] 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-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:08] 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-25 09: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-25 09: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-25 09:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318666240001,"66":14439,"153":206,"94":10240,"24":8,"16":33772886921576448,"45":770959991368177664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 09:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 09:06:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33772886921576448,"km_value":33772886921576.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":770959991368177664,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318666240001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":770959991368177664}} 
[2026-09-25 09:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":191946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:08] local.INFO: GPS data processed {"connection_id":191946,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:08] local.INFO: Acknowledgment sent {"connection_id":191946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:26] local.INFO: TCP Data received {"connection_id":194803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:26] local.INFO: Processing buffer {"connection_id":194803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:26] local.INFO: IMEI packet received {"connection_id":194803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":194803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:06:26] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:26] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:26] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:06:27] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:27] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:27] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:06:28] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:28] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:28] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:06:31] local.INFO: TCP Data received {"connection_id":194803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:31] local.INFO: Processing buffer {"connection_id":194803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:06:31] local.INFO: IMEI packet received {"connection_id":194803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":194803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:06:31] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:31] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:06:31] local.INFO: IMEI packet received {"connection_id":191947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":191947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:06:32] local.INFO: TCP Data received {"connection_id":194803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:32] local.INFO: Processing buffer {"connection_id":194803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:06:32] local.INFO: Packet analysis {"connection_id":194803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:32] local.INFO: Extracted packet for processing {"connection_id":194803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:06:32] 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-25 09: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-25 09:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09: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-25 09:06: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-25 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":194803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:32] local.INFO: GPS data processed {"connection_id":194803,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:32] local.INFO: Acknowledgment sent {"connection_id":194803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:33] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a29b80012d7be78005ec2ca80000014021..."} 
[2026-09-25 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a29b80012d7be78005ec2ca80000014021..."} 
[2026-09-25 09:06:33] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a29b80012d7be78005ec2ca80000014021..."} 
[2026-09-25 09:06:33] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:06:33] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763094912,"raw_latitude":99364008,"longitude_deg":76.3094912,"latitude_deg":9.9364008,"altitude":0,"angle":320,"satellites":33,"speed":20,"hex_longitude":"2d7be780","hex_latitude":"05ec2ca8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318687232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135767639963205632,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371449117165568,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790307376000,"timestamp_ms":1790307376000,"timestamp_seconds":1790307376,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a29b80"} 
[2026-09-25 09: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-25 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3600909864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277513320615878280,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":86,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2717603841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4715268809834750464,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024917,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955372032,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":161,"raw_value":8822552964884594693,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":20,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":78,"raw_value":720802814342731776,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,160,93,45,64,3,30,10,66,50,224,31,1,240,88,227,86,214,235,4,113,205,6,212,104,32,239,52,2,226,5,7,94,161,20,78,97],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-25 09:06:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":372871882407936,"timestamp_seconds":372871882407.936,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318687232001,"66":13363,"198":206,"87":13824,"24":20,"16":135767639963205632,"45":8929371449117165568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318687232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135767639963205632,"km_value":135767639963205.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371449117165568,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318687232001,"power":13363,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8929371449117165568}} 
[2026-09-25 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:33] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:33] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:06:39] local.INFO: TCP Data received {"connection_id":191946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a2c290012d0a82c00705a9700017012f1f..."} 
[2026-09-25 09:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a2c290012d0a82c00705a9700017012f1f..."} 
[2026-09-25 09:06:39] local.INFO: Processing buffer {"connection_id":191946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a2c290012d0a82c00705a9700017012f1f..."} 
[2026-09-25 09:06:39] local.INFO: Packet analysis {"connection_id":191946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:06:39] local.INFO: Extracted packet for processing {"connection_id":191946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:06:39] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811568,"longitude_deg":75.5663552,"latitude_deg":11.7811568,"altitude":23,"angle":303,"satellites":31,"speed":7,"hex_longitude":"2d0a82c0","hex_latitude":"0705a970","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318690304001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33773750210002944,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720638976,"note":"Value kept but may cause issues"} 
[2026-09-25 09:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307386000,"timestamp_ms":1790307386000,"timestamp_seconds":1790307386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a2c290"} 
[2026-09-25 09: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-25 09:06:39] 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-25 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318690304001,"66":14407,"165":206,"94":10240,"24":7,"16":33773750210002944,"45":757660298720638976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318690304001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:06:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:06:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33773750210002944,"km_value":33773750210002.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720638976,"description":"Unknown IO ID 45"} 
[2026-09-25 09:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318690304001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":757660298720638976}} 
[2026-09-25 09:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":191946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:06:39] local.INFO: GPS data processed {"connection_id":191946,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:06:39] local.INFO: Acknowledgment sent {"connection_id":191946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:02] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:07:02] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:02] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:07:03] local.INFO: TCP Data received {"connection_id":194803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:03] local.INFO: Processing buffer {"connection_id":194803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:03] local.INFO: Packet analysis {"connection_id":194803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:07:03] local.INFO: Extracted packet for processing {"connection_id":194803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:07: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07: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-25 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:07: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-25 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848317952},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:07: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-25 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":194803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:03] local.INFO: GPS data processed {"connection_id":194803,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:03] local.INFO: Acknowledgment sent {"connection_id":194803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:05] local.INFO: TCP Data received {"connection_id":191947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a2af08012d7be34005ec33580000015d21..."} 
[2026-09-25 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a2af08012d7be34005ec33580000015d21..."} 
[2026-09-25 09:07:05] local.INFO: Processing buffer {"connection_id":191947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a2af08012d7be34005ec33580000015d21..."} 
[2026-09-25 09:07:05] local.INFO: Packet analysis {"connection_id":191947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:05] local.INFO: Extracted packet for processing {"connection_id":191947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":99365720,"longitude_deg":76.3093824,"latitude_deg":9.936572,"altitude":0,"angle":349,"satellites":33,"speed":14,"hex_longitude":"2d7be340","hex_latitude":"05ec3358","is_valid_coordinates":true} 
[2026-09-25 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318688256001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135767743042420736,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928245549210839040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790307381000,"timestamp_ms":1790307381000,"timestamp_seconds":1790307381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a2af08"} 
[2026-09-25 09:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:07:05] 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-25 09:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 09:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318688256001,"66":13319,"198":206,"87":13824,"24":14,"16":135767743042420736,"45":8928245549210839040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318688256001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:07:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135767743042420736,"km_value":135767743042420.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928245549210839040,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318688256001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8928245549210839040}} 
[2026-09-25 09:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":191947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:05] local.INFO: GPS data processed {"connection_id":191947,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:05] local.INFO: Acknowledgment sent {"connection_id":191947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:07] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:07] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:07:07] local.INFO: IMEI packet received {"connection_id":191948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":191948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:07:07] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a2c678012d0a82000705a9f00017013f1f..."} 
[2026-09-25 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a2c678012d0a82000705a9f00017013f1f..."} 
[2026-09-25 09:07:07] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a2c678012d0a82000705a9f00017013f1f..."} 
[2026-09-25 09:07:07] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:07] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811696,"longitude_deg":75.566336,"latitude_deg":11.7811696,"altitude":23,"angle":319,"satellites":31,"speed":10,"hex_longitude":"2d0a8200","hex_latitude":"0705a9f0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318690816001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33773758799937536,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743959040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:07] 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-25 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790307387000,"timestamp_ms":1790307387000,"timestamp_seconds":1790307387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a2c678"} 
[2026-09-25 09: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-25 09:07:07] 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-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:07: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-25 09: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-25 09: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-25 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318690816001,"66":14407,"165":206,"94":10240,"24":10,"16":33773758799937536,"45":757378823743959040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318690816001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33773758799937536,"km_value":33773758799937.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743959040,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318690816001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757378823743959040}} 
[2026-09-25 09:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:08] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:08] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:27] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:27] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:27] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:07:28] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:07:28] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:28] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:07:31] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:31] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:07:31] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:07:32] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:32] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:07:32] local.INFO: Packet analysis {"connection_id":192135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:07:32] local.INFO: Extracted packet for processing {"connection_id":192135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:07:32] 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-25 09:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:07: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-25 09:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:07:32] 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-25 09:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"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-25 09:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":192135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:32] local.INFO: GPS data processed {"connection_id":192135,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:32] local.INFO: Acknowledgment sent {"connection_id":192135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:33] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:33] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:07:33] local.INFO: IMEI packet received {"connection_id":193496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":193496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:07:34] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a2b2f0012d7be34005ec34d00000000b22..."} 
[2026-09-25 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a2b2f0012d7be34005ec34d00000000b22..."} 
[2026-09-25 09:07:34] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a2b2f0012d7be34005ec34d00000000b22..."} 
[2026-09-25 09:07:34] local.INFO: Packet analysis {"connection_id":193496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:34] local.INFO: Extracted packet for processing {"connection_id":193496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":99366096,"longitude_deg":76.3093824,"latitude_deg":9.9366096,"altitude":0,"angle":11,"satellites":34,"speed":13,"hex_longitude":"2d7be340","hex_latitude":"05ec34d0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318689536001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135767760222289920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927049280560257024,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307382000,"timestamp_ms":1790307382000,"timestamp_seconds":1790307382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a2b2f0"} 
[2026-09-25 09: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-25 09:07:34] 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-25 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3600939864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4366239838714322944,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955720192,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.WARNING: Large IO value detected {"io_id":161,"raw_value":-3150266644480049147,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,88,160,155,45,128,44,33,10,66,139,36,32,93,64,1,240,116,227,214,235,4,113,205,26,3,255,239,53,2,226,5,6,161],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-25 09:07:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383871292932096,"timestamp_seconds":383871292932.096,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318689536001,"66":13493,"198":206,"87":13824,"24":13,"16":135767760222289920,"45":8927049280560257024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318689536001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135767760222289920,"km_value":135767760222289.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927049280560257024,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318689536001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927049280560257024}} 
[2026-09-25 09:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":193496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:34] local.INFO: GPS data processed {"connection_id":193496,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:34] local.INFO: Acknowledgment sent {"connection_id":193496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:07:40] local.INFO: TCP Data received {"connection_id":191948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a2ca60012d0a81800705aad80017014b1f..."} 
[2026-09-25 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a2ca60012d0a81800705aad80017014b1f..."} 
[2026-09-25 09:07:40] local.INFO: Processing buffer {"connection_id":191948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a2ca60012d0a81800705aad80017014b1f..."} 
[2026-09-25 09:07:40] local.INFO: Packet analysis {"connection_id":191948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:40] local.INFO: Extracted packet for processing {"connection_id":191948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a2"} 
[2026-09-25 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":117811928,"longitude_deg":75.5663232,"latitude_deg":11.7811928,"altitude":23,"angle":331,"satellites":31,"speed":11,"hex_longitude":"2d0a8180","hex_latitude":"0705aad8","is_valid_coordinates":true} 
[2026-09-25 09:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318691072001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33773771684839424,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511458816,"note":"Value kept but may cause issues"} 
[2026-09-25 09:07: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-25 09:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790307388000,"timestamp_ms":1790307388000,"timestamp_seconds":1790307388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a2ca60"} 
[2026-09-25 09:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:07:40] 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-25 09:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:07: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-25 09:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318691072001,"66":14396,"165":206,"94":10240,"24":11,"16":33773771684839424,"45":757167717511458816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318691072001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33773771684839424,"km_value":33773771684839.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511458816,"description":"Unknown IO ID 45"} 
[2026-09-25 09:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318691072001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757167717511458816}} 
[2026-09-25 09:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":191948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:07:40] local.INFO: GPS data processed {"connection_id":191948,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:07:40] local.INFO: Acknowledgment sent {"connection_id":191948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:08:01] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:01] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:01] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:08:02] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:02] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:02] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:08:06] local.INFO: TCP Data received {"connection_id":193496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a431c0012d7d1c0005ec42d80009006721..."} 
[2026-09-25 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a431c0012d7d1c0005ec42d80009006721..."} 
[2026-09-25 09:08:06] local.INFO: Processing buffer {"connection_id":193496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a431c0012d7d1c0005ec42d80009006721..."} 
[2026-09-25 09:08:06] local.INFO: Packet analysis {"connection_id":193496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:06] local.INFO: Extracted packet for processing {"connection_id":193496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99369688,"longitude_deg":76.3173888,"latitude_deg":9.9369688,"altitude":9,"angle":103,"satellites":33,"speed":12,"hex_longitude":"2d7d1c00","hex_latitude":"05ec42d8","is_valid_coordinates":true} 
[2026-09-25 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-25 09:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318713600001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135771604218019840,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304737212416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790307480000,"timestamp_ms":1790307480000,"timestamp_seconds":1790307480,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a431c0"} 
[2026-09-25 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-25 09:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-25 09:08:06] 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-25 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-25 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-25 09:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318713600001,"66":12504,"110":206,"87":13824,"24":12,"16":135771604218019840,"45":9012547304737212416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318713600001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:08:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:08:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135771604218019840,"km_value":135771604218019.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304737212416,"description":"Unknown IO ID 45"} 
[2026-09-25 09:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318713600001,"power":12504,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9012547304737212416}} 
[2026-09-25 09:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":193496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:08:06] local.INFO: GPS data processed {"connection_id":193496,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:08:06] local.INFO: Acknowledgment sent {"connection_id":193496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:08:07] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:07] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:08:07] local.INFO: IMEI packet received {"connection_id":192136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":192136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:08:08] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a41668012d0a7800070618a00014003b1f..."} 
[2026-09-25 09:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a41668012d0a7800070618a00014003b1f..."} 
[2026-09-25 09:08:08] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a41668012d0a7800070618a00014003b1f..."} 
[2026-09-25 09:08:08] local.INFO: Packet analysis {"connection_id":192136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:08] local.INFO: Extracted packet for processing {"connection_id":192136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:08] local.INFO: GPS Element Parsed {"raw_longitude":755660800,"raw_latitude":117840032,"longitude_deg":75.56608,"latitude_deg":11.7840032,"altitude":20,"angle":59,"satellites":31,"speed":8,"hex_longitude":"2d0a7800","hex_latitude":"070618a0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318712832001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33775193319014400,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861519036416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:08] 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-25 09:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307473000,"timestamp_ms":1790307473000,"timestamp_seconds":1790307473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a41668"} 
[2026-09-25 09: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-25 09:08: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:08:08] 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-25 09: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-25 09: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-25 09:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318712832001,"66":14407,"165":206,"94":10240,"24":8,"16":33775193319014400,"45":754141861519036416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318712832001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:08:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:08:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33775193319014400,"km_value":33775193319014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861519036416,"description":"Unknown IO ID 45"} 
[2026-09-25 09:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318712832001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":754141861519036416}} 
[2026-09-25 09:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":192136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:08:08] local.INFO: GPS data processed {"connection_id":192136,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:08:08] local.INFO: Acknowledgment sent {"connection_id":192136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:08:28] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:28] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:28] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:08:33] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:33] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:08:33] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:08:34] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a435a8012d7d1d0005ec4250000a00791f..."} 
[2026-09-25 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a435a8012d7d1d0005ec4250000a00791f..."} 
[2026-09-25 09:08:34] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a435a8012d7d1d0005ec4250000a00791f..."} 
[2026-09-25 09:08:34] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:34] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99369552,"longitude_deg":76.3174144,"latitude_deg":9.9369552,"altitude":10,"angle":121,"satellites":31,"speed":10,"hex_longitude":"2d7d1d00","hex_latitude":"05ec4250","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318714880001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135771617102921728,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527530496,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307481000,"timestamp_ms":1790307481000,"timestamp_seconds":1790307481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a435a8"} 
[2026-09-25 09: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-25 09:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 09:08:34] 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-25 09: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-25 09: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-25 09:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318714880001,"66":12689,"110":206,"87":13824,"24":10,"16":135771617102921728,"45":9015080579527530496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318714880001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:08:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135771617102921728,"km_value":135771617102921.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527530496,"description":"Unknown IO ID 45"} 
[2026-09-25 09:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318714880001,"power":12689,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015080579527530496}} 
[2026-09-25 09:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:08:34] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:08:34] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:08:39] local.INFO: TCP Data received {"connection_id":192136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a41a50012d0a78c0070618f00014004a1f..."} 
[2026-09-25 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a41a50012d0a78c0070618f00014004a1f..."} 
[2026-09-25 09:08:39] local.INFO: Processing buffer {"connection_id":192136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a41a50012d0a78c0070618f00014004a1f..."} 
[2026-09-25 09:08:39] local.INFO: Packet analysis {"connection_id":192136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:39] local.INFO: Extracted packet for processing {"connection_id":192136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:08:39] local.INFO: GPS Element Parsed {"raw_longitude":755660992,"raw_latitude":117840112,"longitude_deg":75.5660992,"latitude_deg":11.7840112,"altitude":20,"angle":74,"satellites":31,"speed":7,"hex_longitude":"2d0a78c0","hex_latitude":"070618f0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318713088001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33775206203916288,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754352967751606272,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307474000,"timestamp_ms":1790307474000,"timestamp_seconds":1790307474,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a41a50"} 
[2026-09-25 09: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-25 09:08: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-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:08:39] 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-25 09: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-25 09: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-25 09:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318713088001,"66":14374,"165":206,"94":10240,"24":7,"16":33775206203916288,"45":754352967751606272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318713088001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:08:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:08:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33775206203916288,"km_value":33775206203916.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":754352967751606272,"description":"Unknown IO ID 45"} 
[2026-09-25 09:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318713088001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":754352967751606272}} 
[2026-09-25 09:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":192136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:08:39] local.INFO: GPS data processed {"connection_id":192136,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:08:39] local.INFO: Acknowledgment sent {"connection_id":192136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:08:41] local.INFO: TCP Data received {"connection_id":194805,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:41] local.INFO: Processing buffer {"connection_id":194805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:41] local.INFO: IMEI packet received {"connection_id":194805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":194805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:08:46] local.INFO: TCP Data received {"connection_id":194805,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:46] local.INFO: Processing buffer {"connection_id":194805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:08:46] local.INFO: IMEI packet received {"connection_id":194805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":194805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:08:47] local.INFO: TCP Data received {"connection_id":194805,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:08:47] local.INFO: Processing buffer {"connection_id":194805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:08:47] local.INFO: Packet analysis {"connection_id":194805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:08:47] local.INFO: Extracted packet for processing {"connection_id":194805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:08: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"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-25 09:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:08: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-25 09:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":194805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:08:47] local.INFO: GPS data processed {"connection_id":194805,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:08:47] local.INFO: Acknowledgment sent {"connection_id":194805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:09:03] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:03] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:03] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:09:04] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:04] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:04] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:05] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a43990012d7d1d8005ec41b0000a00911f..."} 
[2026-09-25 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a43990012d7d1d8005ec41b0000a00911f..."} 
[2026-09-25 09:09:05] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a43990012d7d1d8005ec41b0000a00911f..."} 
[2026-09-25 09:09:05] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:09:05] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99369392,"longitude_deg":76.3174272,"latitude_deg":9.9369392,"altitude":10,"angle":145,"satellites":31,"speed":8,"hex_longitude":"2d7d1d80","hex_latitude":"05ec41b0","is_valid_coordinates":true} 
[2026-09-25 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318715136001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135771629987823616,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504206336,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790307482000,"timestamp_ms":1790307482000,"timestamp_seconds":1790307482,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a43990"} 
[2026-09-25 09:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 09:09:05] 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-25 09:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318715136001,"66":12689,"110":206,"87":13824,"24":8,"16":135771629987823616,"45":9015362054504206336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318715136001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:09:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135771629987823616,"km_value":135771629987823.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504206336,"description":"Unknown IO ID 45"} 
[2026-09-25 09:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318715136001,"power":12689,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015362054504206336}} 
[2026-09-25 09:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:09:05] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:09:05] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:09:05] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:05] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:05] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:06] local.INFO: TCP Data received {"connection_id":191949,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:06] local.INFO: Processing buffer {"connection_id":191949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:09:06] local.INFO: IMEI packet received {"connection_id":191949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":191949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:26] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:26] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:26] local.INFO: IMEI packet received {"connection_id":193499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":193499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:09:28] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:28] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:28] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:09:31] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:31] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:09:31] local.INFO: IMEI packet received {"connection_id":193499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:32] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:32] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:32] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:32] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:09:32] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:09:32] local.INFO: Packet analysis {"connection_id":193499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:09:32] local.INFO: Extracted packet for processing {"connection_id":193499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:09:32] 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-25 09:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:09: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-25 09:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"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-25 09:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":193499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:09:32] local.INFO: GPS data processed {"connection_id":193499,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:09:32] local.INFO: Acknowledgment sent {"connection_id":193499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:09:33] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:33] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:09:33] local.INFO: IMEI packet received {"connection_id":191950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":191950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:09:34] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a43d78012d7d1dc005ec4110000a00a51f..."} 
[2026-09-25 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a43d78012d7d1dc005ec4110000a00a51f..."} 
[2026-09-25 09:09:34] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a43d78012d7d1dc005ec4110000a00a51f..."} 
[2026-09-25 09:09:34] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:09:34] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99369232,"longitude_deg":76.3174336,"latitude_deg":9.9369232,"altitude":10,"angle":165,"satellites":31,"speed":5,"hex_longitude":"2d7d1dc0","hex_latitude":"05ec4110","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318715392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135771638577758208,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992520704,"note":"Value kept but may cause issues"} 
[2026-09-25 09:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307483000,"timestamp_ms":1790307483000,"timestamp_seconds":1790307483,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a43d78"} 
[2026-09-25 09: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-25 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 09:09:34] 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-25 09: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-25 09: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-25 09:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318715392001,"66":13352,"110":206,"87":13824,"24":5,"16":135771638577758208,"45":9015502791992520704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318715392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:09:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:09:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135771638577758208,"km_value":135771638577758.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992520704,"description":"Unknown IO ID 45"} 
[2026-09-25 09:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318715392001,"power":13352,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015502791992520704}} 
[2026-09-25 09:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:09:34] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:09:34] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:10:04] local.INFO: TCP Data received {"connection_id":193499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:10:04] local.INFO: Processing buffer {"connection_id":193499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a13038012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:10:04] local.INFO: Packet analysis {"connection_id":193499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09:10:04] local.INFO: Extracted packet for processing {"connection_id":193499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a1"} 
[2026-09-25 09: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-25 09: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-25 09:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318587392001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790307283000,"timestamp_ms":1790307283000,"timestamp_seconds":1790307283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a13038"} 
[2026-09-25 09: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-25 09:10: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-25 09:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 09:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10:04] local.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-25 09:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318587392001,"66":25451,"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-25 09:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318587392001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318587392001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":193499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:10:04] local.INFO: GPS data processed {"connection_id":193499,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:10:04] local.INFO: Acknowledgment sent {"connection_id":193499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:10:05] local.INFO: TCP Data received {"connection_id":191950,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a48f80012d7d1d8005ec40b8000900a524..."} 
[2026-09-25 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a48f80012d7d1d8005ec40b8000900a524..."} 
[2026-09-25 09:10:05] local.INFO: Processing buffer {"connection_id":191950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a48f80012d7d1d8005ec40b8000900a524..."} 
[2026-09-25 09:10:05] local.INFO: Packet analysis {"connection_id":191950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:10:05] local.INFO: Extracted packet for processing {"connection_id":191950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a4"} 
[2026-09-25 09:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99369144,"longitude_deg":76.3174272,"latitude_deg":9.9369144,"altitude":9,"angle":165,"satellites":36,"speed":0,"hex_longitude":"2d7d1d80","hex_latitude":"05ec40b8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318715648001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135771647167692800,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160736657408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790307504000,"timestamp_ms":1790307504000,"timestamp_seconds":1790307504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a48f80"} 
[2026-09-25 09: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-25 09:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 09:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318715648001,"66":13015,"110":206,"87":13824,"24":0,"16":135771647167692800,"45":9015573160736657408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318715648001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:10:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:10:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135771647167692800,"km_value":135771647167692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160736657408,"description":"Unknown IO ID 45"} 
[2026-09-25 09:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318715648001,"power":13015,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015573160736657408}} 
[2026-09-25 09:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":191950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:10:05] local.INFO: GPS data processed {"connection_id":191950,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:10:05] local.INFO: Acknowledgment sent {"connection_id":191950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:10:31] local.INFO: TCP Data received {"connection_id":193500,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:31] local.INFO: Processing buffer {"connection_id":193500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:31] local.INFO: IMEI packet received {"connection_id":193500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":193500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:10:33] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:33] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:33] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:10:36] local.INFO: TCP Data received {"connection_id":193500,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:36] local.INFO: Processing buffer {"connection_id":193500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:10:36] local.INFO: IMEI packet received {"connection_id":193500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":193500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:10:37] local.INFO: TCP Data received {"connection_id":193500,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:37] local.INFO: Processing buffer {"connection_id":193500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:37] local.INFO: Packet analysis {"connection_id":193500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:10:37] local.INFO: Extracted packet for processing {"connection_id":193500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:10: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:10: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-25 09:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10: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-25 09:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"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-25 09:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:10: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-25 09:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":193500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:10:37] local.INFO: GPS data processed {"connection_id":193500,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:10:37] local.INFO: Acknowledgment sent {"connection_id":193500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:10:38] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:38] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:10:38] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:10:39] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a629a8012d7c628005ec35680012010b26..."} 
[2026-09-25 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a629a8012d7c628005ec35680012010b26..."} 
[2026-09-25 09:10:39] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a629a8012d7c628005ec35680012010b26..."} 
[2026-09-25 09:10:39] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:10:39] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763126400,"raw_latitude":99366248,"longitude_deg":76.31264,"latitude_deg":9.9366248,"altitude":18,"angle":267,"satellites":38,"speed":27,"hex_longitude":"2d7c6280","hex_latitude":"05ec3568","is_valid_coordinates":true} 
[2026-09-25 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318744832001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135773962155065344,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070508476416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307609000,"timestamp_ms":1790307609000,"timestamp_seconds":1790307609,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a629a8"} 
[2026-09-25 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:10:39] 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-25 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 09:10:39] 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-25 09:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318744832001,"66":13537,"110":206,"87":13824,"24":27,"16":135773962155065344,"45":8973000070508476416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318744832001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:10:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135773962155065344,"km_value":135773962155065.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070508476416,"description":"Unknown IO ID 45"} 
[2026-09-25 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318744832001,"power":13537,"unknown_110":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8973000070508476416}} 
[2026-09-25 09:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:10:39] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:10:39] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:10:42] local.INFO: TCP Data received {"connection_id":193500,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:42] local.INFO: Processing buffer {"connection_id":193500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:10:42] local.INFO: Packet analysis {"connection_id":193500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:10:42] local.INFO: Extracted packet for processing {"connection_id":193500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:10: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"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-25 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:10: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-25 09:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":193500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:10:42] local.INFO: GPS data processed {"connection_id":193500,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:10:42] local.INFO: Acknowledgment sent {"connection_id":193500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:11:10] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a66058012d7c3e0005ec34600014010a25..."} 
[2026-09-25 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a66058012d7c3e0005ec34600014010a25..."} 
[2026-09-25 09:11:10] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a66058012d7c3e0005ec34600014010a25..."} 
[2026-09-25 09:11:10] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:11:10] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99365984,"longitude_deg":76.3117056,"latitude_deg":9.9365984,"altitude":20,"angle":266,"satellites":37,"speed":29,"hex_longitude":"2d7c3e00","hex_latitude":"05ec3460","is_valid_coordinates":true} 
[2026-09-25 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318747904001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135774404536696832,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962866971346823168,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790307623000,"timestamp_ms":1790307623000,"timestamp_seconds":1790307623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a66058"} 
[2026-09-25 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:11:10] 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-25 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318747904001,"66":13472,"198":206,"87":13824,"24":29,"16":135774404536696832,"45":8962866971346823168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318747904001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:11:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135774404536696832,"km_value":135774404536696.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962866971346823168,"description":"Unknown IO ID 45"} 
[2026-09-25 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318747904001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8962866971346823168}} 
[2026-09-25 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:11:10] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:11:10] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:11:26] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:26] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:26] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:11:28] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:28] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:28] local.INFO: IMEI packet received {"connection_id":191954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":191954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:11:31] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:31] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:11:31] local.INFO: IMEI packet received {"connection_id":191953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":191953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:11:32] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:11:32] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:11:32] local.INFO: Packet analysis {"connection_id":191953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:11:32] local.INFO: Extracted packet for processing {"connection_id":191953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:11:32] 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-25 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:11:32] 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-25 09:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":191953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:11:32] local.INFO: GPS data processed {"connection_id":191953,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:11:32] local.INFO: Acknowledgment sent {"connection_id":191953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:11:35] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:35] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:11:35] local.INFO: IMEI packet received {"connection_id":191954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":191954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:11:36] local.INFO: TCP Data received {"connection_id":191952,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:11:36] local.INFO: Processing buffer {"connection_id":191952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:11:36] local.INFO: IMEI packet received {"connection_id":191952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":191952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:11:36] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a69320012d7c19c005ec33180016010c25..."} 
[2026-09-25 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a69320012d7c19c005ec33180016010c25..."} 
[2026-09-25 09:11:36] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a69320012d7c19c005ec33180016010c25..."} 
[2026-09-25 09:11:36] local.INFO: Packet analysis {"connection_id":191954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:11:36] local.INFO: Extracted packet for processing {"connection_id":191954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":99365656,"longitude_deg":76.3107776,"latitude_deg":9.9365656,"altitude":22,"angle":268,"satellites":37,"speed":25,"hex_longitude":"2d7c19c0","hex_latitude":"05ec3318","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318751488001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135774851213295616,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134696816640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790307636000,"timestamp_ms":1790307636000,"timestamp_seconds":1790307636,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a69320"} 
[2026-09-25 09: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-25 09:11:36] 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-25 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 09:11:36] 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-25 09: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-25 09: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-25 09:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318751488001,"66":13678,"198":206,"87":13824,"24":25,"16":135774851213295616,"45":8952593134696816640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318751488001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:11:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:11:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135774851213295616,"km_value":135774851213295.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134696816640,"description":"Unknown IO ID 45"} 
[2026-09-25 09:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318751488001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8952593134696816640}} 
[2026-09-25 09:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":191954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:11:36] local.INFO: GPS data processed {"connection_id":191954,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:11:36] local.INFO: Acknowledgment sent {"connection_id":191954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:12:03] local.INFO: TCP Data received {"connection_id":191953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:03] local.INFO: Processing buffer {"connection_id":191953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:03] local.INFO: Packet analysis {"connection_id":191953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:12:03] local.INFO: Extracted packet for processing {"connection_id":191953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:12: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12: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-25 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:12:03] 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-25 09:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:12:03] local.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-25 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:12: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-25 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":191953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:12:03] local.INFO: GPS data processed {"connection_id":191953,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:12:03] local.INFO: Acknowledgment sent {"connection_id":191953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:12:05] local.INFO: TCP Data received {"connection_id":191956,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:12:05] local.INFO: Processing buffer {"connection_id":191956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:12:05] local.INFO: IMEI packet received {"connection_id":191956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":191956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:12:08] local.INFO: TCP Data received {"connection_id":191954,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a6d1a0012d7bf50005ec30f80015010a26..."} 
[2026-09-25 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a6d1a0012d7bf50005ec30f80015010a26..."} 
[2026-09-25 09:12:08] local.INFO: Processing buffer {"connection_id":191954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a6d1a0012d7bf50005ec30f80015010a26..."} 
[2026-09-25 09:12:08] local.INFO: Packet analysis {"connection_id":191954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:12:08] local.INFO: Extracted packet for processing {"connection_id":191954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a6"} 
[2026-09-25 09:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":99365112,"longitude_deg":76.3098368,"latitude_deg":9.9365112,"altitude":21,"angle":266,"satellites":38,"speed":15,"hex_longitude":"2d7bf500","hex_latitude":"05ec30f8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318754816001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135775302184861696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666790971392,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307652000,"timestamp_ms":1790307652000,"timestamp_seconds":1790307652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a6d1a0"} 
[2026-09-25 09: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-25 09:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 09:12:08] 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-25 09: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-25 09: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-25 09:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318754816001,"66":13656,"198":206,"87":13824,"24":15,"16":135775302184861696,"45":8942389666790971392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318754816001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:12:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135775302184861696,"km_value":135775302184861.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666790971392,"description":"Unknown IO ID 45"} 
[2026-09-25 09:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318754816001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8942389666790971392}} 
[2026-09-25 09:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":191954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:12:08] local.INFO: GPS data processed {"connection_id":191954,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:12:08] local.INFO: Acknowledgment sent {"connection_id":191954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:12:25] local.INFO: TCP Data received {"connection_id":194807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:25] local.INFO: Processing buffer {"connection_id":194807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:25] local.INFO: IMEI packet received {"connection_id":194807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":194807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:12:28] local.INFO: TCP Data received {"connection_id":194808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:28] local.INFO: Processing buffer {"connection_id":194808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:28] local.INFO: IMEI packet received {"connection_id":194808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":194808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:12:31] local.INFO: TCP Data received {"connection_id":194807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:31] local.INFO: Processing buffer {"connection_id":194807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:12:31] local.INFO: IMEI packet received {"connection_id":194807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":194807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:12:32] local.INFO: TCP Data received {"connection_id":194807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:32] local.INFO: Processing buffer {"connection_id":194807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:12:32] local.INFO: Packet analysis {"connection_id":194807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:12:32] local.INFO: Extracted packet for processing {"connection_id":194807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:12:32] 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-25 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:12: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-25 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:12:32] 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-25 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":194807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:12:32] local.INFO: GPS data processed {"connection_id":194807,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:12:32] local.INFO: Acknowledgment sent {"connection_id":194807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:12:33] local.INFO: TCP Data received {"connection_id":194808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:33] local.INFO: Processing buffer {"connection_id":194808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:12:33] local.INFO: IMEI packet received {"connection_id":194808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":194808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:12:34] local.INFO: TCP Data received {"connection_id":194808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a70c38012d7bd18005ec29c80013010027..."} 
[2026-09-25 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a70c38012d7bd18005ec29c80013010027..."} 
[2026-09-25 09:12:34] local.INFO: Processing buffer {"connection_id":194808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a70c38012d7bd18005ec29c80013010027..."} 
[2026-09-25 09:12:34] local.INFO: Packet analysis {"connection_id":194808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:12:34] local.INFO: Extracted packet for processing {"connection_id":194808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763089280,"raw_latitude":99363272,"longitude_deg":76.308928,"latitude_deg":9.9363272,"altitude":19,"angle":256,"satellites":39,"speed":28,"hex_longitude":"2d7bd180","hex_latitude":"05ec29c8","is_valid_coordinates":true} 
[2026-09-25 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318758912001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135775744566493184,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932045461396715520,"note":"Value kept but may cause issues"} 
[2026-09-25 09:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307667000,"timestamp_ms":1790307667000,"timestamp_seconds":1790307667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a70c38"} 
[2026-09-25 09:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:12:34] 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-25 09:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 09:12:34] 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-25 09:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318758912001,"66":13722,"198":206,"87":13824,"24":28,"16":135775744566493184,"45":8932045461396715520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318758912001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:12:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:12:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135775744566493184,"km_value":135775744566493.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932045461396715520,"description":"Unknown IO ID 45"} 
[2026-09-25 09:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318758912001,"power":13722,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8932045461396715520}} 
[2026-09-25 09:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":194808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:12:34] local.INFO: GPS data processed {"connection_id":194808,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:12:34] local.INFO: Acknowledgment sent {"connection_id":194808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:13:03] local.INFO: TCP Data received {"connection_id":194807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:03] local.INFO: Processing buffer {"connection_id":194807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:03] local.INFO: Packet analysis {"connection_id":194807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:13:03] local.INFO: Extracted packet for processing {"connection_id":194807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:13: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13: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-25 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:13:03] 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-25 09:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:13:03] local.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-25 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:13: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-25 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":194807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:13:03] local.INFO: GPS data processed {"connection_id":194807,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:13:03] local.INFO: Acknowledgment sent {"connection_id":194807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:13:17] local.INFO: TCP Data received {"connection_id":194808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a742e8012d7bae8005ec1f68001100fd25..."} 
[2026-09-25 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a742e8012d7bae8005ec1f68001100fd25..."} 
[2026-09-25 09:13:17] local.INFO: Processing buffer {"connection_id":194808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a742e8012d7bae8005ec1f68001100fd25..."} 
[2026-09-25 09:13:17] local.INFO: Packet analysis {"connection_id":194808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:13:17] local.INFO: Extracted packet for processing {"connection_id":194808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":763080320,"raw_latitude":99360616,"longitude_deg":76.308032,"latitude_deg":9.9360616,"altitude":17,"angle":253,"satellites":37,"speed":27,"hex_longitude":"2d7bae80","hex_latitude":"05ec1f68","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318762752001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135776191243091968,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922053099723016192,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790307681000,"timestamp_ms":1790307681000,"timestamp_seconds":1790307681,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a742e8"} 
[2026-09-25 09: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-25 09:13:17] 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-25 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 09:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":194808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":194808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":194808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318762752001,"66":13352,"198":206,"87":13824,"24":27,"16":135776191243091968,"45":8922053099723016192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318762752001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135776191243091968,"km_value":135776191243091.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922053099723016192,"description":"Unknown IO ID 45"} 
[2026-09-25 09:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318762752001,"power":13352,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8922053099723016192}} 
[2026-09-25 09:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":194808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:13:17] local.INFO: GPS data processed {"connection_id":194808,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:13:17] local.INFO: Acknowledgment sent {"connection_id":194808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:13:25] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:25] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:25] local.INFO: IMEI packet received {"connection_id":192140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":192140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:13:28] local.INFO: TCP Data received {"connection_id":193501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:28] local.INFO: Processing buffer {"connection_id":193501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:28] local.INFO: IMEI packet received {"connection_id":193501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":193501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:13:31] local.INFO: TCP Data received {"connection_id":193501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:31] local.INFO: Processing buffer {"connection_id":193501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:31] local.INFO: IMEI packet received {"connection_id":193501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":193501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:13:31] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:31] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:13:31] local.INFO: IMEI packet received {"connection_id":192140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":192140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:13:32] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:32] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:13:32] local.INFO: Packet analysis {"connection_id":192140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:13:32] local.INFO: Extracted packet for processing {"connection_id":192140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:13:32] 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-25 09:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:13: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-25 09:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:13:32] 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-25 09:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":192140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:13:32] local.INFO: GPS data processed {"connection_id":192140,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:13:32] local.INFO: Acknowledgment sent {"connection_id":192140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:13:33] local.INFO: TCP Data received {"connection_id":193501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:33] local.INFO: Processing buffer {"connection_id":193501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:13:33] local.INFO: IMEI packet received {"connection_id":193501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":193501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:13:34] local.INFO: TCP Data received {"connection_id":193501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a775b0012d7b8a4005ec15400011010127..."} 
[2026-09-25 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a775b0012d7b8a4005ec15400011010127..."} 
[2026-09-25 09:13:34] local.INFO: Processing buffer {"connection_id":193501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a775b0012d7b8a4005ec15400011010127..."} 
[2026-09-25 09:13:34] local.INFO: Packet analysis {"connection_id":193501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:13:34] local.INFO: Extracted packet for processing {"connection_id":193501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763071040,"raw_latitude":99358016,"longitude_deg":76.307104,"latitude_deg":9.9358016,"altitude":17,"angle":257,"satellites":39,"speed":32,"hex_longitude":"2d7b8a40","hex_latitude":"05ec1540","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318766336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135776650804592640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912201475537463296,"note":"Value kept but may cause issues"} 
[2026-09-25 09:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790307694000,"timestamp_ms":1790307694000,"timestamp_seconds":1790307694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a775b0"} 
[2026-09-25 09: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-25 09:13:34] 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-25 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 09:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318766336001,"66":13526,"198":206,"87":13824,"24":32,"16":135776650804592640,"45":8912201475537463296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318766336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:13:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135776650804592640,"km_value":135776650804592.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912201475537463296,"description":"Unknown IO ID 45"} 
[2026-09-25 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318766336001,"power":13526,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8912201475537463296}} 
[2026-09-25 09:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":193501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:13:34] local.INFO: GPS data processed {"connection_id":193501,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:13:34] local.INFO: Acknowledgment sent {"connection_id":193501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:03] local.INFO: TCP Data received {"connection_id":192140,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:03] local.INFO: Processing buffer {"connection_id":192140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:03] local.INFO: Packet analysis {"connection_id":192140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14:03] local.INFO: Extracted packet for processing {"connection_id":192140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14: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-25 09:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:14:03] 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-25 09:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14:03] local.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-25 09:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:14: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-25 09:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":192140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:03] local.INFO: GPS data processed {"connection_id":192140,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:03] local.INFO: Acknowledgment sent {"connection_id":192140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:05] local.INFO: TCP Data received {"connection_id":193501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a7a0a8012d7b680005ec0a58000e00fc27..."} 
[2026-09-25 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a7a0a8012d7b680005ec0a58000e00fc27..."} 
[2026-09-25 09:14:05] local.INFO: Processing buffer {"connection_id":193501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a7a0a8012d7b680005ec0a58000e00fc27..."} 
[2026-09-25 09:14:05] local.INFO: Packet analysis {"connection_id":193501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:14:05] local.INFO: Extracted packet for processing {"connection_id":193501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a7"} 
[2026-09-25 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":99355224,"longitude_deg":76.3062272,"latitude_deg":9.9355224,"altitude":14,"angle":252,"satellites":39,"speed":31,"hex_longitude":"2d7b6800","hex_latitude":"05ec0a58","is_valid_coordinates":true} 
[2026-09-25 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318769664001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135777093186224128,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901998007631036416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790307705000,"timestamp_ms":1790307705000,"timestamp_seconds":1790307705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a7a0a8"} 
[2026-09-25 09:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 09:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318769664001,"66":13559,"198":206,"87":13824,"24":31,"16":135777093186224128,"45":8901998007631036416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318769664001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135777093186224128,"km_value":135777093186224.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901998007631036416,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318769664001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8901998007631036416}} 
[2026-09-25 09:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":193501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:05] local.INFO: GPS data processed {"connection_id":193501,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:05] local.INFO: Acknowledgment sent {"connection_id":193501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:12] local.INFO: TCP Data received {"connection_id":194810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:14:12] local.INFO: Processing buffer {"connection_id":194810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:14:12] local.INFO: IMEI packet received {"connection_id":194810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":194810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:14:12] local.INFO: TCP Data received {"connection_id":194810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a97950012d0a57c007057e80001300391e..."} 
[2026-09-25 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a97950012d0a57c007057e80001300391e..."} 
[2026-09-25 09:14:12] local.INFO: Processing buffer {"connection_id":194810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a97950012d0a57c007057e80001300391e..."} 
[2026-09-25 09:14:12] local.INFO: Packet analysis {"connection_id":194810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:12] local.INFO: Extracted packet for processing {"connection_id":194810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":755652544,"raw_latitude":117800576,"longitude_deg":75.5652544,"latitude_deg":11.7800576,"altitude":19,"angle":57,"satellites":30,"speed":23,"hex_longitude":"2d0a57c0","hex_latitude":"07057e80","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318802944001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33779007249973248,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744149499835621376,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14: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-25 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790307826000,"timestamp_ms":1790307826000,"timestamp_seconds":1790307826,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a97950"} 
[2026-09-25 09: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-25 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-25 09:14: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-25 09: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-25 09: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-25 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318802944001,"66":14374,"165":206,"94":10240,"24":23,"16":33779007249973248,"45":744149499835621376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318802944001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:14:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33779007249973248,"km_value":33779007249973.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":744149499835621376,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318802944001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":744149499835621376}} 
[2026-09-25 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":194810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:13] local.INFO: GPS data processed {"connection_id":194810,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:13] local.INFO: Acknowledgment sent {"connection_id":194810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:30] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:30] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:30] local.INFO: IMEI packet received {"connection_id":192142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:14:31] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:31] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:31] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:14:33] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:33] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:33] local.INFO: IMEI packet received {"connection_id":192142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":192142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:14:36] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:36] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:14:36] local.INFO: IMEI packet received {"connection_id":192141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":192141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:14:37] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:37] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:37] local.INFO: Packet analysis {"connection_id":192141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14:37] local.INFO: Extracted packet for processing {"connection_id":192141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:14: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-25 09:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14:37] local.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-25 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":192141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:37] local.INFO: GPS data processed {"connection_id":192141,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:37] local.INFO: Acknowledgment sent {"connection_id":192141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:38] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:38] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:14:38] local.INFO: IMEI packet received {"connection_id":192142,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":192142,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:14:39] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a9c770012d7a528005eb94200001012f21..."} 
[2026-09-25 09:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a9c770012d7a528005eb94200001012f21..."} 
[2026-09-25 09:14:39] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a9c770012d7a528005eb94200001012f21..."} 
[2026-09-25 09:14:39] local.INFO: Packet analysis {"connection_id":192142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:39] local.INFO: Extracted packet for processing {"connection_id":192142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:39] local.INFO: GPS Element Parsed {"raw_longitude":762991232,"raw_latitude":99324960,"longitude_deg":76.2991232,"latitude_deg":9.932496,"altitude":1,"angle":303,"satellites":33,"speed":12,"hex_longitude":"2d7a5280","hex_latitude":"05eb9420","is_valid_coordinates":true} 
[2026-09-25 09:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318808320001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135780808332935168,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814529658609682432,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307846000,"timestamp_ms":1790307846000,"timestamp_seconds":1790307846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a9c770"} 
[2026-09-25 09:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 09:14:39] 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-25 09:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318808320001,"66":13656,"161":206,"87":13824,"24":12,"16":135780808332935168,"45":8814529658609682432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-25 09:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318808320001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-25 09:14:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135780808332935168,"km_value":135780808332935.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814529658609682432,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318808320001,"power":13656,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8814529658609682432}} 
[2026-09-25 09:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":192142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:39] local.INFO: GPS data processed {"connection_id":192142,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:39] local.INFO: Acknowledgment sent {"connection_id":192142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:43] local.INFO: TCP Data received {"connection_id":192141,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:43] local.INFO: Processing buffer {"connection_id":192141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a5c800012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:14:43] local.INFO: Packet analysis {"connection_id":192141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14:43] local.INFO: Extracted packet for processing {"connection_id":192141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a5"} 
[2026-09-25 09:14: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-25 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318664448001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790307584000,"timestamp_ms":1790307584000,"timestamp_seconds":1790307584,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a5c800"} 
[2026-09-25 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:14: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-25 09:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:14: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-25 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318664448001,"66":25495,"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-25 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318664448001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:14: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-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318664448001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":192141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:43] local.INFO: GPS data processed {"connection_id":192141,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:43] local.INFO: Acknowledgment sent {"connection_id":192141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:43] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a9cb58012d7a520005eb94e80001014122..."} 
[2026-09-25 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a9cb58012d7a520005eb94e80001014122..."} 
[2026-09-25 09:14:43] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a9cb58012d7a520005eb94e80001014122..."} 
[2026-09-25 09:14:43] local.INFO: Packet analysis {"connection_id":192142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:43] local.INFO: Extracted packet for processing {"connection_id":192142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":99325160,"longitude_deg":76.2991104,"latitude_deg":9.932516,"altitude":1,"angle":321,"satellites":34,"speed":8,"hex_longitude":"2d7a5200","hex_latitude":"05eb94e8","is_valid_coordinates":true} 
[2026-09-25 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318808576001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135780821217837056,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814248183633027072,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790307847000,"timestamp_ms":1790307847000,"timestamp_seconds":1790307847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a9cb58"} 
[2026-09-25 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:14: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-25 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 09:14:43] 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-25 09:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192142,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318808576001,"66":13341,"161":206,"87":13824,"24":8,"16":135780821217837056,"45":8814248183633027072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-25 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318808576001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135780821217837056,"km_value":135780821217837.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814248183633027072,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318808576001,"power":13341,"unknown_161":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8814248183633027072}} 
[2026-09-25 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":192142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:43] local.INFO: GPS data processed {"connection_id":192142,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:43] local.INFO: Acknowledgment sent {"connection_id":192142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:14:44] local.INFO: TCP Data received {"connection_id":194810,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6a99c78012d0a6ac007058ae00014002b1e..."} 
[2026-09-25 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6a99c78012d0a6ac007058ae00014002b1e..."} 
[2026-09-25 09:14:44] local.INFO: Processing buffer {"connection_id":194810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6a99c78012d0a6ac007058ae00014002b1e..."} 
[2026-09-25 09:14:44] local.INFO: Packet analysis {"connection_id":194810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:44] local.INFO: Extracted packet for processing {"connection_id":194810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6a9"} 
[2026-09-25 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":755657408,"raw_latitude":117803744,"longitude_deg":75.5657408,"latitude_deg":11.7803744,"altitude":20,"angle":43,"satellites":30,"speed":19,"hex_longitude":"2d0a6ac0","hex_latitude":"07058ae0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318803456001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33779286422847488,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745275399742586880,"note":"Value kept but may cause issues"} 
[2026-09-25 09:14:44] 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-25 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790307835000,"timestamp_ms":1790307835000,"timestamp_seconds":1790307835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6a99c78"} 
[2026-09-25 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-25 09:14:44] 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-25 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:14: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-25 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-25 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-25 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318803456001,"66":14537,"165":206,"94":10240,"24":19,"16":33779286422847488,"45":745275399742586880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318803456001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:14:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:14:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33779286422847488,"km_value":33779286422847.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":745275399742586880,"description":"Unknown IO ID 45"} 
[2026-09-25 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318803456001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":745275399742586880}} 
[2026-09-25 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":194810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894471,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:14:44] local.INFO: GPS data processed {"connection_id":194810,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:14:44] local.INFO: Acknowledgment sent {"connection_id":194810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:15:01] local.INFO: TCP Data received {"connection_id":194811,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:01] local.INFO: Processing buffer {"connection_id":194811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:01] local.INFO: IMEI packet received {"connection_id":194811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":194811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:15:09] local.INFO: TCP Data received {"connection_id":194811,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:09] local.INFO: Processing buffer {"connection_id":194811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:15:09] local.INFO: IMEI packet received {"connection_id":194811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":194811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:10] local.INFO: TCP Data received {"connection_id":194811,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa6f68012d0a9bc007058760001300861f..."} 
[2026-09-25 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa6f68012d0a9bc007058760001300861f..."} 
[2026-09-25 09:15:10] local.INFO: Processing buffer {"connection_id":194811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa6f68012d0a9bc007058760001300861f..."} 
[2026-09-25 09:15:10] local.INFO: Packet analysis {"connection_id":194811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:10] local.INFO: Extracted packet for processing {"connection_id":194811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":117802848,"longitude_deg":75.5669952,"latitude_deg":11.7802848,"altitude":19,"angle":134,"satellites":31,"speed":18,"hex_longitude":"2d0a9bc0","hex_latitude":"07058760","is_valid_coordinates":true} 
[2026-09-25 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318819584001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33780300035129344,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415698159493120,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15: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-25 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790307889000,"timestamp_ms":1790307889000,"timestamp_seconds":1790307889,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa6f68"} 
[2026-09-25 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:15: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-25 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318819584001,"66":14450,"165":206,"94":10240,"24":18,"16":33780300035129344,"45":764415698159493120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318819584001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:15:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:15:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33780300035129344,"km_value":33780300035129.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415698159493120,"description":"Unknown IO ID 45"} 
[2026-09-25 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318819584001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":764415698159493120}} 
[2026-09-25 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":194811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:15:10] local.INFO: GPS data processed {"connection_id":194811,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:15:10] local.INFO: Acknowledgment sent {"connection_id":194811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:15:22] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:22] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:22] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:15:26] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:26] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:26] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:29] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:29] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:29] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:15:31] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:31] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:15:31] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:32] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:15:32] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:15:32] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:32] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:32] 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-25 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:15: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-25 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:15:32] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:15:32] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:15:35] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:35] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:35] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:38] local.INFO: TCP Data received {"connection_id":193503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:38] local.INFO: Processing buffer {"connection_id":193503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:15:38] local.INFO: IMEI packet received {"connection_id":193503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":193503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:15:41] local.INFO: TCP Data received {"connection_id":194811,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa7738012d0a9e4007058530001300791f..."} 
[2026-09-25 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa7738012d0a9e4007058530001300791f..."} 
[2026-09-25 09:15:41] local.INFO: Processing buffer {"connection_id":194811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa7738012d0a9e4007058530001300791f..."} 
[2026-09-25 09:15:41] local.INFO: Packet analysis {"connection_id":194811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:41] local.INFO: Extracted packet for processing {"connection_id":194811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:15:41] local.INFO: GPS Element Parsed {"raw_longitude":755670592,"raw_latitude":117802288,"longitude_deg":75.5670592,"latitude_deg":11.7802288,"altitude":19,"angle":121,"satellites":31,"speed":16,"hex_longitude":"2d0a9e40","hex_latitude":"07058530","is_valid_coordinates":true} 
[2026-09-25 09:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318819584001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33780342984802304,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415698159493120,"note":"Value kept but may cause issues"} 
[2026-09-25 09:15: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-25 09:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790307891000,"timestamp_ms":1790307891000,"timestamp_seconds":1790307891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa7738"} 
[2026-09-25 09:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318819584001,"66":14450,"165":206,"94":10240,"24":16,"16":33780342984802304,"45":764415698159493120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318819584001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:15:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:15:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33780342984802304,"km_value":33780342984802.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415698159493120,"description":"Unknown IO ID 45"} 
[2026-09-25 09:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318819584001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":764415698159493120}} 
[2026-09-25 09:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":194811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:15:41] local.INFO: GPS data processed {"connection_id":194811,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:15:41] local.INFO: Acknowledgment sent {"connection_id":194811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:16:01] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:01] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:01] local.INFO: IMEI packet received {"connection_id":193504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":193504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:16:02] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:02] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:02] local.INFO: IMEI packet received {"connection_id":193504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":193504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:16:03] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:03] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:03] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:16:03] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:16: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16: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-25 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:16: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-25 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:16:03] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:16:03] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:16:07] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:07] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:16:07] local.INFO: IMEI packet received {"connection_id":193504,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":193504,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:16:08] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ab3a88012d0ae600070593c8001d00521c..."} 
[2026-09-25 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ab3a88012d0ae600070593c8001d00521c..."} 
[2026-09-25 09:16:08] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ab3a88012d0ae600070593c8001d00521c..."} 
[2026-09-25 09:16:08] local.INFO: Packet analysis {"connection_id":193504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:16:08] local.INFO: Extracted packet for processing {"connection_id":193504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":755688960,"raw_latitude":117806024,"longitude_deg":75.568896,"latitude_deg":11.7806024,"altitude":29,"angle":82,"satellites":28,"speed":10,"hex_longitude":"2d0ae600","hex_latitude":"070593c8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318832640001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33781257812836352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784963371460186112,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] 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-25 09:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307941000,"timestamp_ms":1790307941000,"timestamp_seconds":1790307941,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ab3a88"} 
[2026-09-25 09: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-25 09:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143552,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3601499864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-6845463713326039020,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504115075416064,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2868643841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2452619295,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637074291582885,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3892391178,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2147943819,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.WARNING: Large IO value detected {"io_id":112,"raw_value":5629839356725760,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,165,94,24,241,157,16,3,160,42,45,64,149,30,28,10,66,39,192,31,35,1,240,92,227,214,5,4,113,205,13,173,181,208,239,56,2,120,7,21,11,206,112],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-25 09:16:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089787995103690752,"timestamp_seconds":2089787995103690.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318832640001,"66":14450,"165":206,"94":10240,"24":10,"16":33781257812836352,"45":784963371460186112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318832640001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:16:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:16:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33781257812836352,"km_value":33781257812836.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":784963371460186112,"description":"Unknown IO ID 45"} 
[2026-09-25 09:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318832640001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":784963371460186112}} 
[2026-09-25 09:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":193504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:16:08] local.INFO: GPS data processed {"connection_id":193504,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:16:08] local.INFO: Acknowledgment sent {"connection_id":193504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:16:26] local.INFO: TCP Data received {"connection_id":194812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:26] local.INFO: Processing buffer {"connection_id":194812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:26] local.INFO: IMEI packet received {"connection_id":194812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":194812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:16:31] local.INFO: TCP Data received {"connection_id":194812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:31] local.INFO: Processing buffer {"connection_id":194812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:16:31] local.INFO: IMEI packet received {"connection_id":194812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":194812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:16:32] local.INFO: TCP Data received {"connection_id":194812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:32] local.INFO: Processing buffer {"connection_id":194812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:16:32] local.INFO: Packet analysis {"connection_id":194812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:16:32] local.INFO: Extracted packet for processing {"connection_id":194812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:16:32] 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-25 09: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-25 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09: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-25 09:16: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-25 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09: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-25 09: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-25 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":194812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:16:32] local.INFO: GPS data processed {"connection_id":194812,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:16:32] local.INFO: Acknowledgment sent {"connection_id":194812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:16:39] local.INFO: TCP Data received {"connection_id":193504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ab4258012d0ae84007059480001c00441c..."} 
[2026-09-25 09:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ab4258012d0ae84007059480001c00441c..."} 
[2026-09-25 09:16:39] local.INFO: Processing buffer {"connection_id":193504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ab4258012d0ae84007059480001c00441c..."} 
[2026-09-25 09:16:39] local.INFO: Packet analysis {"connection_id":193504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:16:39] local.INFO: Extracted packet for processing {"connection_id":193504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":755689536,"raw_latitude":117806208,"longitude_deg":75.5689536,"latitude_deg":11.7806208,"altitude":28,"angle":68,"satellites":28,"speed":13,"hex_longitude":"2d0ae840","hex_latitude":"07059480","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318832896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33781287877607424,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785315215181072384,"note":"Value kept but may cause issues"} 
[2026-09-25 09:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790307943000,"timestamp_ms":1790307943000,"timestamp_seconds":1790307943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ab4258"} 
[2026-09-25 09: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-25 09:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193504,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318832896001,"66":14396,"165":206,"94":10240,"24":13,"16":33781287877607424,"45":785315215181072384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318832896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:16:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:16:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33781287877607424,"km_value":33781287877607.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":785315215181072384,"description":"Unknown IO ID 45"} 
[2026-09-25 09:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318832896001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":785315215181072384}} 
[2026-09-25 09:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":193504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:16:39] local.INFO: GPS data processed {"connection_id":193504,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:16:39] local.INFO: Acknowledgment sent {"connection_id":193504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:17:04] local.INFO: TCP Data received {"connection_id":194812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:04] local.INFO: Processing buffer {"connection_id":194812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:04] local.INFO: Packet analysis {"connection_id":194812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:17:04] local.INFO: Extracted packet for processing {"connection_id":194812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:17: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-25 09:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17: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-25 09:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:17: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-25 09:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:17: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-25 09:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:17: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-25 09:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":194812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:17:04] local.INFO: GPS data processed {"connection_id":194812,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:17:04] local.INFO: Acknowledgment sent {"connection_id":194812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:17:07] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:17:07] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:17:07] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:17:08] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ab80d8012d0af4c0070598f8001b00511d..."} 
[2026-09-25 09:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ab80d8012d0af4c0070598f8001b00511d..."} 
[2026-09-25 09:17:08] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ab80d8012d0af4c0070598f8001b00511d..."} 
[2026-09-25 09:17:08] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:17:08] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:17:08] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117807352,"longitude_deg":75.5692736,"latitude_deg":11.7807352,"altitude":27,"angle":81,"satellites":29,"speed":9,"hex_longitude":"2d0af4c0","hex_latitude":"070598f8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318833408001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33781459676299264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785948533878718464,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:08] 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-25 09:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790307959000,"timestamp_ms":1790307959000,"timestamp_seconds":1790307959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ab80d8"} 
[2026-09-25 09: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-25 09:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:17:08] 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-25 09: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-25 09: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-25 09:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318833408001,"66":14537,"165":206,"94":10240,"24":9,"16":33781459676299264,"45":785948533878718464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318833408001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:17:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:17:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33781459676299264,"km_value":33781459676299.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":785948533878718464,"description":"Unknown IO ID 45"} 
[2026-09-25 09:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318833408001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":785948533878718464}} 
[2026-09-25 09:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:17:08] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:17:08] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:17:12] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ab88a8012d0af700070599a8001b00441d..."} 
[2026-09-25 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ab88a8012d0af700070599a8001b00441d..."} 
[2026-09-25 09:17:12] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ab88a8012d0af700070599a8001b00441d..."} 
[2026-09-25 09:17:12] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:17:12] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ab"} 
[2026-09-25 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":755693312,"raw_latitude":117807528,"longitude_deg":75.5693312,"latitude_deg":11.7807528,"altitude":27,"angle":68,"satellites":29,"speed":12,"hex_longitude":"2d0af700","hex_latitude":"070599a8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318837504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33781485446103040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789466971087894528,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17: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-25 09:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790307961000,"timestamp_ms":1790307961000,"timestamp_seconds":1790307961,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ab88a8"} 
[2026-09-25 09: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-25 09:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:17: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-25 09: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-25 09: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-25 09:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318837504001,"66":14428,"165":206,"94":10240,"24":12,"16":33781485446103040,"45":789466971087894528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318837504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:17:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:17:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33781485446103040,"km_value":33781485446103.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":789466971087894528,"description":"Unknown IO ID 45"} 
[2026-09-25 09:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318837504001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":789466971087894528}} 
[2026-09-25 09:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:17:12] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:17:12] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:17:26] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:26] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:26] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:17:31] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:31] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:17:31] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:17:33] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:33] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:17:33] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:17:33] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09: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-25 09: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-25 09:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09: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-25 09: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-25 09: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-25 09: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-25 09: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-25 09: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-25 09:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:17:33] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:17:33] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:17:35] local.INFO: TCP Data received {"connection_id":193505,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:17:35] local.INFO: Processing buffer {"connection_id":193505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:17:35] local.INFO: IMEI packet received {"connection_id":193505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":193505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:17:43] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6acec20012d0b2f40070558a8001b00601c..."} 
[2026-09-25 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6acec20012d0b2f40070558a8001b00601c..."} 
[2026-09-25 09:17:43] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6acec20012d0b2f40070558a8001b00601c..."} 
[2026-09-25 09:17:43] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ac"} 
[2026-09-25 09:17:43] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ac"} 
[2026-09-25 09:17:43] local.INFO: GPS Element Parsed {"raw_longitude":755707712,"raw_latitude":117790888,"longitude_deg":75.5707712,"latitude_deg":11.7790888,"altitude":27,"angle":96,"satellites":28,"speed":24,"hex_longitude":"2d0b2f40","hex_latitude":"070558a8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318860544001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33782945734983680,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669872715776,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17: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-25 09:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790308052000,"timestamp_ms":1790308052000,"timestamp_seconds":1790308052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6acec20"} 
[2026-09-25 09: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-25 09:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3601633864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504115105038336,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2899107841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151653,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84736220458321287,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6193081317593088,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2341879526902464532,"note":"Value kept but may cause issues"} 
[2026-09-25 09:17:43] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,165,94,24,241,157,16,5,160,220,45,64,90,26,28,10,66,216,91,212,128,1,240,92,227,214,4,113,205,12,158,39,88,29,239,56,2,120,7,22,21,206,144,40,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-25 09:17:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873619611037007872,"timestamp_seconds":1873619611037007.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318860544001,"66":14396,"165":206,"94":10240,"24":24,"16":33782945734983680,"45":804103669872715776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 09:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318860544001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:17:43] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 09:17:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33782945734983680,"km_value":33782945734983.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669872715776,"description":"Unknown IO ID 45"} 
[2026-09-25 09:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318860544001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":804103669872715776}} 
[2026-09-25 09:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:17:43] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:17:43] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:18:00] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:00] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:00] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:18:01] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:01] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:01] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:18:05] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:05] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:05] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:18:05] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09: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-25 09:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09: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-25 09:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:18:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:18:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:18:05] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:18:05] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:18:10] local.INFO: TCP Data received {"connection_id":191960,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:18:10] local.INFO: Processing buffer {"connection_id":191960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:18:10] local.INFO: IMEI packet received {"connection_id":191960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":191960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:18:25] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:25] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:25] local.INFO: IMEI packet received {"connection_id":193507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":193507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:18:27] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:27] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:27] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:18:31] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:31] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:18:31] local.INFO: IMEI packet received {"connection_id":193507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":193507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:18:33] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:33] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:18:33] local.INFO: Packet analysis {"connection_id":193507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:18:33] local.INFO: Extracted packet for processing {"connection_id":193507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:18: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-25 09:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09: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-25 09:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:18: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-25 09:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:18:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":193507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:18:33] local.INFO: GPS data processed {"connection_id":193507,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:18:33] local.INFO: Acknowledgment sent {"connection_id":193507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:18:34] local.INFO: TCP Data received {"connection_id":193506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193506,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:34] local.INFO: Processing buffer {"connection_id":193506,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:18:34] local.INFO: IMEI packet received {"connection_id":193506,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":193506,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:19:04] local.INFO: TCP Data received {"connection_id":193507,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:04] local.INFO: Processing buffer {"connection_id":193507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:04] local.INFO: Packet analysis {"connection_id":193507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19:04] local.INFO: Extracted packet for processing {"connection_id":193507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19: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-25 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19: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-25 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19: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-25 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:19: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-25 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":193507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:19:04] local.INFO: GPS data processed {"connection_id":193507,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:19:04] local.INFO: Acknowledgment sent {"connection_id":193507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:19:31] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:31] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:31] local.INFO: IMEI packet received {"connection_id":191962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":191962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:19:36] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:36] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:19:36] local.INFO: IMEI packet received {"connection_id":191962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":191962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:19:37] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:37] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:37] local.INFO: Packet analysis {"connection_id":191962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19:37] local.INFO: Extracted packet for processing {"connection_id":191962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19: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-25 09:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:19: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-25 09:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19: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-25 09:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:19: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-25 09:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":191962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:19:37] local.INFO: GPS data processed {"connection_id":191962,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:19:37] local.INFO: Acknowledgment sent {"connection_id":191962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:19:41] local.INFO: TCP Data received {"connection_id":191962,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:41] local.INFO: Processing buffer {"connection_id":191962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aa5fc8012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:19:41] local.INFO: Packet analysis {"connection_id":191962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19:41] local.INFO: Extracted packet for processing {"connection_id":191962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6aa"} 
[2026-09-25 09:19: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-25 09: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-25 09:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318741504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790307885000,"timestamp_ms":1790307885000,"timestamp_seconds":1790307885,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aa5fc8"} 
[2026-09-25 09: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-25 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:19: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-25 09:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318741504001,"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-25 09:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318741504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318741504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":191962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:19:41] local.INFO: GPS data processed {"connection_id":191962,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:19:41] local.INFO: Acknowledgment sent {"connection_id":191962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:20:23] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:23] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:23] local.INFO: IMEI packet received {"connection_id":192149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":192149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:20:26] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:26] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:26] local.INFO: IMEI packet received {"connection_id":192149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":192149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:20:31] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:31] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:20:31] local.INFO: IMEI packet received {"connection_id":192149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":192149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:20:32] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:20:32] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:20:32] local.INFO: Packet analysis {"connection_id":192149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:20:32] local.INFO: Extracted packet for processing {"connection_id":192149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:20:32] 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-25 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:20: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-25 09:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":192149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:20:32] local.INFO: GPS data processed {"connection_id":192149,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:20:32] local.INFO: Acknowledgment sent {"connection_id":192149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:20:43] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:20:43] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:20:43] local.INFO: IMEI packet received {"connection_id":192150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":192150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:20:44] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ae8260012d7a120005ec7e380006010625..."} 
[2026-09-25 09:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ae8260012d7a120005ec7e380006010625..."} 
[2026-09-25 09:20:44] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ae8260012d7a120005ec7e380006010625..."} 
[2026-09-25 09:20:44] local.INFO: Packet analysis {"connection_id":192150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:20:44] local.INFO: Extracted packet for processing {"connection_id":192150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:20:44] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99384888,"longitude_deg":76.297472,"latitude_deg":9.9384888,"altitude":6,"angle":262,"satellites":37,"speed":8,"hex_longitude":"2d7a1200","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-09-25 09:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318887680001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135784295846379520,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785138907136,"note":"Value kept but may cause issues"} 
[2026-09-25 09:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790308156000,"timestamp_ms":1790308156000,"timestamp_seconds":1790308156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ae8260"} 
[2026-09-25 09:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:20: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-25 09:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 09:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318887680001,"66":13374,"100":206,"87":13824,"24":8,"16":135784295846379520,"45":8796233785138907136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 09:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318887680001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:20:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 09:20:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135784295846379520,"km_value":135784295846379.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785138907136,"description":"Unknown IO ID 45"} 
[2026-09-25 09:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318887680001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8796233785138907136}} 
[2026-09-25 09:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":192150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:20:44] local.INFO: GPS data processed {"connection_id":192150,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:20:44] local.INFO: Acknowledgment sent {"connection_id":192150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:21:03] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:03] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:03] local.INFO: Packet analysis {"connection_id":192149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:21:03] local.INFO: Extracted packet for processing {"connection_id":192149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:21: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21: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-25 09:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:21: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-25 09:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":192149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:21:03] local.INFO: GPS data processed {"connection_id":192149,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:21:03] local.INFO: Acknowledgment sent {"connection_id":192149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:21:26] local.INFO: TCP Data received {"connection_id":194817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:26] local.INFO: Processing buffer {"connection_id":194817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:26] local.INFO: IMEI packet received {"connection_id":194817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":194817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:21:28] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:28] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:28] local.INFO: IMEI packet received {"connection_id":193508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":193508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:21:29] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:29] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:21:29] local.INFO: IMEI packet received {"connection_id":193508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":193508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:21:30] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b02070012d79e40005ecac000006006025..."} 
[2026-09-25 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b02070012d79e40005ecac000006006025..."} 
[2026-09-25 09:21:30] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b02070012d79e40005ecac000006006025..."} 
[2026-09-25 09:21:30] local.INFO: Packet analysis {"connection_id":193508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:21:30] local.INFO: Extracted packet for processing {"connection_id":193508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":762962944,"raw_latitude":99396608,"longitude_deg":76.2962944,"latitude_deg":9.9396608,"altitude":6,"angle":96,"satellites":37,"speed":5,"hex_longitude":"2d79e400","hex_latitude":"05ecac00","is_valid_coordinates":true} 
[2026-09-25 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318914816001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785425422778368,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980669952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790308262000,"timestamp_ms":1790308262000,"timestamp_seconds":1790308262,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b02070"} 
[2026-09-25 09:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 09:21:30] 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-25 09:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318914816001,"66":13450,"100":206,"87":13824,"24":5,"16":135785425422778368,"45":8783074829980669952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318914816001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:21:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 09:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785425422778368,"km_value":135785425422778.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980669952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318914816001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8783074829980669952}} 
[2026-09-25 09:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":193508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:21:30] local.INFO: GPS data processed {"connection_id":193508,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:21:30] local.INFO: Acknowledgment sent {"connection_id":193508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:21:31] local.INFO: TCP Data received {"connection_id":194817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:31] local.INFO: Processing buffer {"connection_id":194817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:21:31] local.INFO: IMEI packet received {"connection_id":194817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":194817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:21:32] local.INFO: TCP Data received {"connection_id":194817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:32] local.INFO: Processing buffer {"connection_id":194817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:21:32] local.INFO: Packet analysis {"connection_id":194817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:21:32] local.INFO: Extracted packet for processing {"connection_id":194817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:21:32] 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-25 09:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":194817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:21:32] local.INFO: GPS data processed {"connection_id":194817,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:21:32] local.INFO: Acknowledgment sent {"connection_id":194817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:21:32] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b033f8012d79ea0005ecaca80006004f24..."} 
[2026-09-25 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b033f8012d79ea0005ecaca80006004f24..."} 
[2026-09-25 09:21:32] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b033f8012d79ea0005ecaca80006004f24..."} 
[2026-09-25 09:21:32] local.INFO: Packet analysis {"connection_id":193508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:21:32] local.INFO: Extracted packet for processing {"connection_id":193508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762964480,"raw_latitude":99396776,"longitude_deg":76.296448,"latitude_deg":9.9396776,"altitude":6,"angle":79,"satellites":36,"speed":15,"hex_longitude":"2d79ea00","hex_latitude":"05ecaca8","is_valid_coordinates":true} 
[2026-09-25 09:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318915072001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785498437222400,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198724841472,"note":"Value kept but may cause issues"} 
[2026-09-25 09:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308267000,"timestamp_ms":1790308267000,"timestamp_seconds":1790308267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b033f8"} 
[2026-09-25 09:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:21:32] 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-25 09:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 09:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318915072001,"66":13254,"100":206,"87":13824,"24":15,"16":135785498437222400,"45":8783145198724841472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 09:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318915072001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785498437222400,"km_value":135785498437222.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198724841472,"description":"Unknown IO ID 45"} 
[2026-09-25 09:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318915072001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8783145198724841472}} 
[2026-09-25 09:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":193508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:21:32] local.INFO: GPS data processed {"connection_id":193508,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:21:32] local.INFO: Acknowledgment sent {"connection_id":193508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:22:03] local.INFO: TCP Data received {"connection_id":193508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b04398012d79efc005ecad280006005e22..."} 
[2026-09-25 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b04398012d79efc005ecad280006005e22..."} 
[2026-09-25 09:22:03] local.INFO: Processing buffer {"connection_id":193508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b04398012d79efc005ecad280006005e22..."} 
[2026-09-25 09:22:03] local.INFO: Packet analysis {"connection_id":193508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:22:03] local.INFO: Extracted packet for processing {"connection_id":193508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762965952,"raw_latitude":99396904,"longitude_deg":76.2965952,"latitude_deg":9.9396904,"altitude":6,"angle":94,"satellites":34,"speed":12,"hex_longitude":"2d79efc0","hex_latitude":"05ecad28","is_valid_coordinates":true} 
[2026-09-25 09:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318916352001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785567156699136,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784834048585148416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308271000,"timestamp_ms":1790308271000,"timestamp_seconds":1790308271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b04398"} 
[2026-09-25 09:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:22:03] 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-25 09:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 09:22:03] 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-25 09:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318916352001,"66":13254,"100":206,"87":13824,"24":12,"16":135785567156699136,"45":8784834048585148416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 09:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318916352001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:22:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 09:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785567156699136,"km_value":135785567156699.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784834048585148416,"description":"Unknown IO ID 45"} 
[2026-09-25 09:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318916352001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8784834048585148416}} 
[2026-09-25 09:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":193508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:22:03] local.INFO: GPS data processed {"connection_id":193508,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:22:03] local.INFO: Acknowledgment sent {"connection_id":193508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:22:04] local.INFO: TCP Data received {"connection_id":194817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:04] local.INFO: Processing buffer {"connection_id":194817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:04] local.INFO: Packet analysis {"connection_id":194817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:22:04] local.INFO: Extracted packet for processing {"connection_id":194817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:22: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-25 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:22: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-25 09:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:22: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-25 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:22: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-25 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":194817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:22:04] local.INFO: GPS data processed {"connection_id":194817,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:22:04] local.INFO: Acknowledgment sent {"connection_id":194817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:22:26] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:26] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:26] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:22:28] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:28] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:28] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:22:31] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:31] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:22:31] local.INFO: IMEI packet received {"connection_id":191965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":191965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:22:32] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:32] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:22:32] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:22:32] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:22:32] 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-25 09:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:22: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-25 09:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:22:32] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:22:32] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:22:33] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:33] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:22:33] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:22:34] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b0eb90012d79e84005ecaea80005010025..."} 
[2026-09-25 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b0eb90012d79e84005ecaea80005010025..."} 
[2026-09-25 09:22:34] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b0eb90012d79e84005ecaea80005010025..."} 
[2026-09-25 09:22:34] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:22:34] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b0"} 
[2026-09-25 09:22:34] local.INFO: GPS Element Parsed {"raw_longitude":762964032,"raw_latitude":99397288,"longitude_deg":76.2964032,"latitude_deg":9.9397288,"altitude":5,"angle":256,"satellites":37,"speed":10,"hex_longitude":"2d79e840","hex_latitude":"05ecaea8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318926336001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785846329573376,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786734004678144000,"note":"Value kept but may cause issues"} 
[2026-09-25 09:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790308314000,"timestamp_ms":1790308314000,"timestamp_seconds":1790308314,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b0eb90"} 
[2026-09-25 09: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-25 09:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 09:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318926336001,"66":13515,"118":206,"87":13824,"24":10,"16":135785846329573376,"45":8786734004678144000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 09:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318926336001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:22:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 09:22:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785846329573376,"km_value":135785846329573.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786734004678144000,"description":"Unknown IO ID 45"} 
[2026-09-25 09:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318926336001,"power":13515,"unknown_118":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8786734004678144000}} 
[2026-09-25 09:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:22:34] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:22:34] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:23:03] local.INFO: TCP Data received {"connection_id":191965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:03] local.INFO: Processing buffer {"connection_id":191965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:03] local.INFO: Packet analysis {"connection_id":191965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:23:03] local.INFO: Extracted packet for processing {"connection_id":191965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:23: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23: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-25 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:23: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-25 09:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":191965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:23:03] local.INFO: GPS data processed {"connection_id":191965,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:23:03] local.INFO: Acknowledgment sent {"connection_id":191965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:23:05] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b12a10012d79e38005ecabd0000600f127..."} 
[2026-09-25 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b12a10012d79e38005ecabd0000600f127..."} 
[2026-09-25 09:23:05] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b12a10012d79e38005ecabd0000600f127..."} 
[2026-09-25 09:23:05] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b1"} 
[2026-09-25 09:23:05] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b1"} 
[2026-09-25 09:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762962816,"raw_latitude":99396560,"longitude_deg":76.2962816,"latitude_deg":9.939656,"altitude":6,"angle":241,"satellites":39,"speed":2,"hex_longitude":"2d79e380","hex_latitude":"05ecabd0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318928384001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135785919344017408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784341467376035840,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790308330000,"timestamp_ms":1790308330000,"timestamp_seconds":1790308330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b12a10"} 
[2026-09-25 09: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-25 09:23:05] 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-25 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 09:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318928384001,"66":13450,"118":206,"87":13824,"24":2,"16":135785919344017408,"45":8784341467376035840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 09:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318928384001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:23:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 09:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135785919344017408,"km_value":135785919344017.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784341467376035840,"description":"Unknown IO ID 45"} 
[2026-09-25 09:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318928384001,"power":13450,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8784341467376035840}} 
[2026-09-25 09:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:23:05] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:23:05] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:23:25] local.INFO: TCP Data received {"connection_id":193510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:25] local.INFO: Processing buffer {"connection_id":193510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:25] local.INFO: IMEI packet received {"connection_id":193510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":193510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:23:27] local.INFO: TCP Data received {"connection_id":193510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:27] local.INFO: Processing buffer {"connection_id":193510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:27] local.INFO: IMEI packet received {"connection_id":193510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":193510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:23:28] local.INFO: TCP Data received {"connection_id":193510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:28] local.INFO: Processing buffer {"connection_id":193510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:28] local.INFO: IMEI packet received {"connection_id":193510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":193510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:23:29] local.INFO: TCP Data received {"connection_id":193510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:29] local.INFO: Processing buffer {"connection_id":193510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:23:29] local.INFO: IMEI packet received {"connection_id":193510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":193510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:23:31] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:31] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:31] local.INFO: IMEI packet received {"connection_id":193511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":193511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:23:35] local.INFO: TCP Data received {"connection_id":194818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:23:35] local.INFO: Processing buffer {"connection_id":194818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:23:35] local.INFO: IMEI packet received {"connection_id":194818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":194818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:23:36] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:36] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:23:36] local.INFO: IMEI packet received {"connection_id":193511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":193511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:23:37] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:37] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:37] local.INFO: Packet analysis {"connection_id":193511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:23:37] local.INFO: Extracted packet for processing {"connection_id":193511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:23: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:23: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-25 09:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:23: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-25 09:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":193511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:23:37] local.INFO: GPS data processed {"connection_id":193511,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:23:37] local.INFO: Acknowledgment sent {"connection_id":193511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:23:41] local.INFO: TCP Data received {"connection_id":193511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:41] local.INFO: Processing buffer {"connection_id":193511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:23:41] local.INFO: Packet analysis {"connection_id":193511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:23:41] local.INFO: Extracted packet for processing {"connection_id":193511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09: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-25 09:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":193511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:23:41] local.INFO: GPS data processed {"connection_id":193511,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:23:41] local.INFO: Acknowledgment sent {"connection_id":193511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:24:04] local.INFO: TCP Data received {"connection_id":194819,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:24:04] local.INFO: Processing buffer {"connection_id":194819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:24:04] local.INFO: IMEI packet received {"connection_id":194819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":194819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:24:07] local.INFO: TCP Data received {"connection_id":194820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: Processing buffer {"connection_id":194820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: IMEI packet received {"connection_id":194820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":194820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:24:07] local.INFO: TCP Data received {"connection_id":194820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: Processing buffer {"connection_id":194820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:07] local.INFO: IMEI packet received {"connection_id":194820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":194820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:24:16] local.INFO: TCP Data received {"connection_id":194820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:16] local.INFO: Processing buffer {"connection_id":194820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:24:16] local.INFO: IMEI packet received {"connection_id":194820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":194820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:24:26] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:26] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:26] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:24:31] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:31] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:24:31] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:24:32] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:24:32] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:24:32] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:24:32] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:24:32] 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-25 09: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-25 09:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09: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-25 09: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-25 09: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:24:32] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:24:32] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:25:05] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:25:05] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6aef790012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:25:05] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09:25:05] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ae"} 
[2026-09-25 09: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318818560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790308186000,"timestamp_ms":1790308186000,"timestamp_seconds":1790308186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6aef790"} 
[2026-09-25 09:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318818560001,"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-25 09:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318818560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318818560001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:25:05] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:25:05] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:25:25] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:25] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:25] local.INFO: IMEI packet received {"connection_id":193512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":193512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:25:26] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:26] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:26] local.INFO: IMEI packet received {"connection_id":193512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":193512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:25:31] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:31] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:25:31] local.INFO: IMEI packet received {"connection_id":193512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":193512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:25:32] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:25:32] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:25:32] local.INFO: Packet analysis {"connection_id":193512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:25:32] local.INFO: Extracted packet for processing {"connection_id":193512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:25:32] 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-25 09:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":193512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:25:32] local.INFO: GPS data processed {"connection_id":193512,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:25:32] local.INFO: Acknowledgment sent {"connection_id":193512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:26:04] local.INFO: TCP Data received {"connection_id":193512,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:04] local.INFO: Processing buffer {"connection_id":193512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:04] local.INFO: Packet analysis {"connection_id":193512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26:04] local.INFO: Extracted packet for processing {"connection_id":193512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26: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-25 09: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-25 09:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26: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-25 09:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09: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-25 09:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26: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-25 09:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:26:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:26: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-25 09:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":193512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:26:04] local.INFO: GPS data processed {"connection_id":193512,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:26:04] local.INFO: Acknowledgment sent {"connection_id":193512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:26:12] local.INFO: TCP Data received {"connection_id":194820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:26:12] local.INFO: Processing buffer {"connection_id":194820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:26:12] local.INFO: IMEI packet received {"connection_id":194820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":194820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:26:31] local.INFO: TCP Data received {"connection_id":191968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:31] local.INFO: Processing buffer {"connection_id":191968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:31] local.INFO: IMEI packet received {"connection_id":191968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":191968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:26:36] local.INFO: TCP Data received {"connection_id":191968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:36] local.INFO: Processing buffer {"connection_id":191968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:26:36] local.INFO: IMEI packet received {"connection_id":191968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":191968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:26:37] local.INFO: TCP Data received {"connection_id":191968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:37] local.INFO: Processing buffer {"connection_id":191968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:37] local.INFO: Packet analysis {"connection_id":191968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26:37] local.INFO: Extracted packet for processing {"connection_id":191968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:26: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-25 09:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26: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-25 09:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:26: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-25 09:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":191968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:26:37] local.INFO: GPS data processed {"connection_id":191968,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:26:37] local.INFO: Acknowledgment sent {"connection_id":191968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:26:42] local.INFO: TCP Data received {"connection_id":191968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:42] local.INFO: Processing buffer {"connection_id":191968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:26:42] local.INFO: Packet analysis {"connection_id":191968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26:42] local.INFO: Extracted packet for processing {"connection_id":191968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:26: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09: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-25 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":191968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:26:42] local.INFO: GPS data processed {"connection_id":191968,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:26:42] local.INFO: Acknowledgment sent {"connection_id":191968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:27:26] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:26] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:26] local.INFO: IMEI packet received {"connection_id":192155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":192155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:27:31] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:31] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:27:31] local.INFO: IMEI packet received {"connection_id":192155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":192155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:27:32] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:27:32] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:27:32] local.INFO: Packet analysis {"connection_id":192155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:27:32] local.INFO: Extracted packet for processing {"connection_id":192155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:27:32] 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-25 09:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:27:32] local.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-25 09:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":192155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:27:32] local.INFO: GPS data processed {"connection_id":192155,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:27:32] local.INFO: Acknowledgment sent {"connection_id":192155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:28:04] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:04] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:04] local.INFO: Packet analysis {"connection_id":192155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:28:04] local.INFO: Extracted packet for processing {"connection_id":192155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:28: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-25 09:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28: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-25 09:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:28: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-25 09:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:28: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-25 09:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":192155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:28:04] local.INFO: GPS data processed {"connection_id":192155,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:28:04] local.INFO: Acknowledgment sent {"connection_id":192155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:28:26] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:26] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:26] local.INFO: IMEI packet received {"connection_id":192158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":192158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:28:31] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:31] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:28:31] local.INFO: IMEI packet received {"connection_id":192158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":192158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:28:32] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:32] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:28:32] local.INFO: Packet analysis {"connection_id":192158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:28:32] local.INFO: Extracted packet for processing {"connection_id":192158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:28:32] 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-25 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:28:32] local.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-25 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":192158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:28:32] local.INFO: GPS data processed {"connection_id":192158,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:28:32] local.INFO: Acknowledgment sent {"connection_id":192158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:28:33] local.INFO: TCP Data received {"connection_id":194823,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:28:33] local.INFO: Processing buffer {"connection_id":194823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:28:33] local.INFO: IMEI packet received {"connection_id":194823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":194823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:28:33] local.INFO: TCP Data received {"connection_id":194823,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b5a298012d7a9d0005ebafd8000c004520..."} 
[2026-09-25 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b5a298012d7a9d0005ebafd8000c004520..."} 
[2026-09-25 09:28:33] local.INFO: Processing buffer {"connection_id":194823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b5a298012d7a9d0005ebafd8000c004520..."} 
[2026-09-25 09:28:33] local.INFO: Packet analysis {"connection_id":194823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b5"} 
[2026-09-25 09:28:33] local.INFO: Extracted packet for processing {"connection_id":194823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b5"} 
[2026-09-25 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763010304,"raw_latitude":99332056,"longitude_deg":76.3010304,"latitude_deg":9.9332056,"altitude":12,"angle":69,"satellites":32,"speed":17,"hex_longitude":"2d7a9d00","hex_latitude":"05ebafd8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319002624001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135790635218108416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825788657679085568,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790308623000,"timestamp_ms":1790308623000,"timestamp_seconds":1790308623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b5a298"} 
[2026-09-25 09: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-25 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3602187864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952842752,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3038371841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-5823154305294719488,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252717,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":9,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.WARNING: Large IO value detected {"io_id":180,"raw_value":-2920583063513137147,"note":"Value kept but may cause issues"} 
[2026-09-25 09:28:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,163,87,24,241,157,16,108,160,37,45,150,5,10,66,33,128,29,1,240,227,214,235,4,113,205,11,18,84,38,239,50,2,226,19,9,180],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-09-25 09:28:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720654164620869632,"timestamp_seconds":720654164620869.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319002624001,"66":13450,"163":206,"87":13824,"24":17,"16":135790635218108416,"45":8825788657679085568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-25 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319002624001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:28:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 09:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135790635218108416,"km_value":135790635218108.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825788657679085568,"description":"Unknown IO ID 45"} 
[2026-09-25 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319002624001,"power":13450,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8825788657679085568}} 
[2026-09-25 09:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":194823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:28:34] local.INFO: GPS data processed {"connection_id":194823,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:28:34] local.INFO: Acknowledgment sent {"connection_id":194823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:29:03] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:03] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:03] local.INFO: Packet analysis {"connection_id":192158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:29:03] local.INFO: Extracted packet for processing {"connection_id":192158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:29: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29: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-25 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:29:03] local.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-25 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:29: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-25 09:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":192158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:29:03] local.INFO: GPS data processed {"connection_id":192158,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:29:03] local.INFO: Acknowledgment sent {"connection_id":192158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:29:05] local.INFO: TCP Data received {"connection_id":194823,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b5d560012d7ac0c005ebbd38000d004129..."} 
[2026-09-25 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b5d560012d7ac0c005ebbd38000d004129..."} 
[2026-09-25 09:29:05] local.INFO: Processing buffer {"connection_id":194823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b5d560012d7ac0c005ebbd38000d004129..."} 
[2026-09-25 09:29:05] local.INFO: Packet analysis {"connection_id":194823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b5"} 
[2026-09-25 09:29:05] local.INFO: Extracted packet for processing {"connection_id":194823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b5"} 
[2026-09-25 09:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763019456,"raw_latitude":99335480,"longitude_deg":76.3019456,"latitude_deg":9.933548,"altitude":13,"angle":65,"satellites":41,"speed":33,"hex_longitude":"2d7ac0c0","hex_latitude":"05ebbd38","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135791103369543680,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835218069399787520,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790308636000,"timestamp_ms":1790308636000,"timestamp_seconds":1790308636,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b5d560"} 
[2026-09-25 09: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-25 09:29:05] 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-25 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 09:29:05] 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-25 09: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-25 09: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-25 09:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319007488001,"66":13450,"99":206,"87":13824,"24":33,"16":135791103369543680,"45":8835218069399787520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 09:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:29:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 09:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135791103369543680,"km_value":135791103369543.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835218069399787520,"description":"Unknown IO ID 45"} 
[2026-09-25 09:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319007488001,"power":13450,"unknown_99":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8835218069399787520}} 
[2026-09-25 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":194823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:29:06] local.INFO: GPS data processed {"connection_id":194823,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:29:06] local.INFO: Acknowledgment sent {"connection_id":194823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:29:26] local.INFO: TCP Data received {"connection_id":194825,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:26] local.INFO: Processing buffer {"connection_id":194825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:26] local.INFO: IMEI packet received {"connection_id":194825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":194825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:29:28] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:28] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:28] local.INFO: IMEI packet received {"connection_id":194826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":194826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:29:30] local.INFO: TCP Data received {"connection_id":192159,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:29:30] local.INFO: Processing buffer {"connection_id":192159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:29:30] local.INFO: IMEI packet received {"connection_id":192159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:29:31] local.INFO: TCP Data received {"connection_id":194825,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:31] local.INFO: Processing buffer {"connection_id":194825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:29:31] local.INFO: IMEI packet received {"connection_id":194825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":194825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:29:31] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:31] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:31] local.INFO: IMEI packet received {"connection_id":194826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":194826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:29:33] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:33] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:29:33] local.INFO: IMEI packet received {"connection_id":194826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":194826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:29:33] local.INFO: TCP Data received {"connection_id":194825,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:33] local.INFO: Processing buffer {"connection_id":194825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:29:33] local.INFO: Packet analysis {"connection_id":194825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:29:33] local.INFO: Extracted packet for processing {"connection_id":194825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09: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-25 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09: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-25 09: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-25 09: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-25 09:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09: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-25 09:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":194825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:29:33] local.INFO: GPS data processed {"connection_id":194825,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:29:33] local.INFO: Acknowledgment sent {"connection_id":194825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:29:33] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b77758012d7c424005ec36d8000e00572b..."} 
[2026-09-25 09:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b77758012d7c424005ec36d8000e00572b..."} 
[2026-09-25 09:29:33] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b77758012d7c424005ec36d8000e00572b..."} 
[2026-09-25 09:29:33] local.INFO: Packet analysis {"connection_id":194826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:29:33] local.INFO: Extracted packet for processing {"connection_id":194826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":99366616,"longitude_deg":76.3118144,"latitude_deg":9.9366616,"altitude":14,"angle":87,"satellites":43,"speed":25,"hex_longitude":"2d7c4240","hex_latitude":"05ec36d8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319035136001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135796107006443520,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943726672930500608,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790308743000,"timestamp_ms":1790308743000,"timestamp_seconds":1790308743,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b77758"} 
[2026-09-25 09: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-25 09:29:33] 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-25 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 09:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319035136001,"66":13526,"198":206,"87":13824,"24":25,"16":135796107006443520,"45":8943726672930500608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319035136001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135796107006443520,"km_value":135796107006443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943726672930500608,"description":"Unknown IO ID 45"} 
[2026-09-25 09:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319035136001,"power":13526,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8943726672930500608}} 
[2026-09-25 09:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":194826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:29:34] local.INFO: GPS data processed {"connection_id":194826,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:29:34] local.INFO: Acknowledgment sent {"connection_id":194826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:29:38] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b7aa20012d7c674005ec3808000e00592c..."} 
[2026-09-25 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b7aa20012d7c674005ec3808000e00592c..."} 
[2026-09-25 09:29:38] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b7aa20012d7c674005ec3808000e00592c..."} 
[2026-09-25 09:29:38] local.INFO: Packet analysis {"connection_id":194826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:29:38] local.INFO: Extracted packet for processing {"connection_id":194826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763127616,"raw_latitude":99366920,"longitude_deg":76.3127616,"latitude_deg":9.936692,"altitude":14,"angle":89,"satellites":44,"speed":30,"hex_longitude":"2d7c6740","hex_latitude":"05ec3808","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319038208001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135796562272976896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953789403347998720,"note":"Value kept but may cause issues"} 
[2026-09-25 09:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790308756000,"timestamp_ms":1790308756000,"timestamp_seconds":1790308756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b7aa20"} 
[2026-09-25 09: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-25 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 09:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319038208001,"66":13461,"198":206,"87":13824,"24":30,"16":135796562272976896,"45":8953789403347998720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319038208001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:29:38] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:29:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135796562272976896,"km_value":135796562272976.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953789403347998720,"description":"Unknown IO ID 45"} 
[2026-09-25 09:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319038208001,"power":13461,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8953789403347998720}} 
[2026-09-25 09:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":194826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:29:39] local.INFO: GPS data processed {"connection_id":194826,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:29:39] local.INFO: Acknowledgment sent {"connection_id":194826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:05] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:05] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:05] local.INFO: IMEI packet received {"connection_id":191969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":191969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:30:06] local.INFO: TCP Data received {"connection_id":194825,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:30:06] local.INFO: Processing buffer {"connection_id":194825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b38f58012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:30:06] local.INFO: Packet analysis {"connection_id":194825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09:30:06] local.INFO: Extracted packet for processing {"connection_id":194825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b3"} 
[2026-09-25 09: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318895616001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790308487000,"timestamp_ms":1790308487000,"timestamp_seconds":1790308487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b38f58"} 
[2026-09-25 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:30: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-25 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:30: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-25 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318895616001,"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-25 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318895616001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318895616001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":194825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:30:06] local.INFO: GPS data processed {"connection_id":194825,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:30:06] local.INFO: Acknowledgment sent {"connection_id":194825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:10] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:10] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:10] local.INFO: IMEI packet received {"connection_id":191969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":191969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:30:10] local.INFO: TCP Data received {"connection_id":194826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b7dce8012d7c8b0005ec38f8000d00582c..."} 
[2026-09-25 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b7dce8012d7c8b0005ec38f8000d00582c..."} 
[2026-09-25 09:30:10] local.INFO: Processing buffer {"connection_id":194826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b7dce8012d7c8b0005ec38f8000d00582c..."} 
[2026-09-25 09:30:10] local.INFO: Packet analysis {"connection_id":194826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:30:10] local.INFO: Extracted packet for processing {"connection_id":194826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b7"} 
[2026-09-25 09:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":99367160,"longitude_deg":76.3136768,"latitude_deg":9.936716,"altitude":13,"angle":88,"satellites":44,"speed":26,"hex_longitude":"2d7c8b00","hex_latitude":"05ec38f8","is_valid_coordinates":true} 
[2026-09-25 09:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319041536001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135797000359641088,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964203977486370816,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790308769000,"timestamp_ms":1790308769000,"timestamp_seconds":1790308769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b7dce8"} 
[2026-09-25 09:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:30: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-25 09:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 09:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319041536001,"66":13222,"198":206,"87":13824,"24":26,"16":135797000359641088,"45":8964203977486370816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319041536001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:30:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:30:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135797000359641088,"km_value":135797000359641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964203977486370816,"description":"Unknown IO ID 45"} 
[2026-09-25 09:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319041536001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8964203977486370816}} 
[2026-09-25 09:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":194826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:30:10] local.INFO: GPS data processed {"connection_id":194826,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:30:10] local.INFO: Acknowledgment sent {"connection_id":194826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:11] local.INFO: TCP Data received {"connection_id":191969,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d68d8510012d34290006abbd00000700d730..."} 
[2026-09-25 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d68d8510012d34290006abbd00000700d730..."} 
[2026-09-25 09:30:11] local.INFO: Processing buffer {"connection_id":191969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d68d8510012d34290006abbd00000700d730..."} 
[2026-09-25 09:30:11] local.INFO: Packet analysis {"connection_id":191969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 09:30:11] local.INFO: Extracted packet for processing {"connection_id":191969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d68d"} 
[2026-09-25 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318257408001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790305994000,"timestamp_ms":1790305994000,"timestamp_seconds":1790305994,"priority":1,"record_length":96,"hex_timestamp":"000001a0d68d8510"} 
[2026-09-25 09:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:30: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-25 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-25 09:30: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-25 09:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 09:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318257408001,"66":25625,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318257408001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:30:11] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 09:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318257408001,"power":25625,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":191969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:30:11] local.INFO: GPS data processed {"connection_id":191969,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:30:11] local.INFO: Acknowledgment sent {"connection_id":191969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:25] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:25] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:25] local.INFO: IMEI packet received {"connection_id":193514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":193514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:30:26] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:26] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:26] local.INFO: IMEI packet received {"connection_id":193514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":193514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:30:28] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:28] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:28] local.INFO: IMEI packet received {"connection_id":192160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:30:31] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:31] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:30:31] local.INFO: IMEI packet received {"connection_id":193514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":193514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:30:32] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:30:32] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:30:32] local.INFO: Packet analysis {"connection_id":193514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:30:32] local.INFO: Extracted packet for processing {"connection_id":193514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:30:32] 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-25 09:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"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-25 09:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:30:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:30:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":193514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:30:32] local.INFO: GPS data processed {"connection_id":193514,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:30:32] local.INFO: Acknowledgment sent {"connection_id":193514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:33] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:33] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:30:33] local.INFO: IMEI packet received {"connection_id":192160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:30:34] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b80fb0012d7cb08005ec39f8000c00582b..."} 
[2026-09-25 09:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b80fb0012d7cb08005ec39f8000c00582b..."} 
[2026-09-25 09:30:34] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b80fb0012d7cb08005ec39f8000c00582b..."} 
[2026-09-25 09:30:34] local.INFO: Packet analysis {"connection_id":192160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:30:34] local.INFO: Extracted packet for processing {"connection_id":192160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:30:34] local.INFO: GPS Element Parsed {"raw_longitude":763146368,"raw_latitude":99367416,"longitude_deg":76.3146368,"latitude_deg":9.9367416,"altitude":12,"angle":88,"satellites":43,"speed":31,"hex_longitude":"2d7cb080","hex_latitude":"05ec39f8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319044864001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135797455626174464,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707903838208,"note":"Value kept but may cause issues"} 
[2026-09-25 09:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790308782000,"timestamp_ms":1790308782000,"timestamp_seconds":1790308782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b80fb0"} 
[2026-09-25 09: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-25 09:30:34] 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-25 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 09:30:34] 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-25 09: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-25 09: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-25 09:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319044864001,"66":13276,"198":206,"87":13824,"24":31,"16":135797455626174464,"45":8974266707903838208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319044864001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:30:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135797455626174464,"km_value":135797455626174.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707903838208,"description":"Unknown IO ID 45"} 
[2026-09-25 09:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319044864001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8974266707903838208}} 
[2026-09-25 09:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:30:34] local.INFO: GPS data processed {"connection_id":192160,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:30:34] local.INFO: Acknowledgment sent {"connection_id":192160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:30:56] local.INFO: TCP Data received {"connection_id":194827,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:56] local.INFO: Processing buffer {"connection_id":194827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:30:56] local.INFO: IMEI packet received {"connection_id":194827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":194827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:31:04] local.INFO: TCP Data received {"connection_id":193514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:04] local.INFO: Processing buffer {"connection_id":193514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:04] local.INFO: Packet analysis {"connection_id":193514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:04] local.INFO: Extracted packet for processing {"connection_id":193514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09: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-25 09: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-25 09: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:31: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-25 09: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-25 09: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-25 09:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:31: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-25 09:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"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-25 09:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":193514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:31:04] local.INFO: GPS data processed {"connection_id":193514,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:31:04] local.INFO: Acknowledgment sent {"connection_id":193514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:31:06] local.INFO: TCP Data received {"connection_id":192160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b84278012d7cd5c005ec3b50000a00582a..."} 
[2026-09-25 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b84278012d7cd5c005ec3b50000a00582a..."} 
[2026-09-25 09:31:06] local.INFO: Processing buffer {"connection_id":192160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b84278012d7cd5c005ec3b50000a00582a..."} 
[2026-09-25 09:31:06] local.INFO: Packet analysis {"connection_id":192160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:06] local.INFO: Extracted packet for processing {"connection_id":192160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763155904,"raw_latitude":99367760,"longitude_deg":76.3155904,"latitude_deg":9.936776,"altitude":10,"angle":88,"satellites":42,"speed":31,"hex_longitude":"2d7cd5c0","hex_latitude":"05ec3b50","is_valid_coordinates":true} 
[2026-09-25 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-25 09:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319048192001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135797915187675136,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019530553344,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790308795000,"timestamp_ms":1790308795000,"timestamp_seconds":1790308795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b84278"} 
[2026-09-25 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-25 09:31:06] 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-25 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 09:31:06] 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-25 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-25 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-25 09:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319048192001,"66":13341,"198":206,"87":13824,"24":31,"16":135797915187675136,"45":8984822019530553344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 09:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319048192001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:31:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 09:31:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135797915187675136,"km_value":135797915187675.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019530553344,"description":"Unknown IO ID 45"} 
[2026-09-25 09:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319048192001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8984822019530553344}} 
[2026-09-25 09:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":192160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:31:06] local.INFO: GPS data processed {"connection_id":192160,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:31:06] local.INFO: Acknowledgment sent {"connection_id":192160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:31:28] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:28] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:28] local.INFO: IMEI packet received {"connection_id":194829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":194829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:31:31] local.INFO: TCP Data received {"connection_id":194828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:31] local.INFO: Processing buffer {"connection_id":194828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:31] local.INFO: IMEI packet received {"connection_id":194828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":194828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:31:32] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:32] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:32] local.INFO: IMEI packet received {"connection_id":194829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":194829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:31:33] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:33] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:31:33] local.INFO: IMEI packet received {"connection_id":194829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":194829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:31:36] local.INFO: TCP Data received {"connection_id":194828,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:36] local.INFO: Processing buffer {"connection_id":194828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:31:36] local.INFO: IMEI packet received {"connection_id":194828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":194828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:31:37] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b87540012d7cfb0005ec3d58000900562b..."} 
[2026-09-25 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b87540012d7cfb0005ec3d58000900562b..."} 
[2026-09-25 09:31:37] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b87540012d7cfb0005ec3d58000900562b..."} 
[2026-09-25 09:31:37] local.INFO: Packet analysis {"connection_id":194829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:37] local.INFO: Extracted packet for processing {"connection_id":194829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":99368280,"longitude_deg":76.316544,"latitude_deg":9.936828,"altitude":9,"angle":86,"satellites":43,"speed":28,"hex_longitude":"2d7cfb00","hex_latitude":"05ec3d58","is_valid_coordinates":true} 
[2026-09-25 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135798370454208512,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995306962413113344,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790308808000,"timestamp_ms":1790308808000,"timestamp_seconds":1790308808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b87540"} 
[2026-09-25 09:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:31:37] 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-25 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 09:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319051520001,"66":13493,"110":206,"87":13824,"24":28,"16":135798370454208512,"45":8995306962413113344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135798370454208512,"km_value":135798370454208.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995306962413113344,"description":"Unknown IO ID 45"} 
[2026-09-25 09:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319051520001,"power":13493,"unknown_110":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8995306962413113344}} 
[2026-09-25 09:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":194829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:31:37] local.INFO: GPS data processed {"connection_id":194829,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:31:37] local.INFO: Acknowledgment sent {"connection_id":194829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:31:37] local.INFO: TCP Data received {"connection_id":194828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:37] local.INFO: Processing buffer {"connection_id":194828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:31:37] local.INFO: Packet analysis {"connection_id":194828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:37] local.INFO: Extracted packet for processing {"connection_id":194828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31: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-25 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:31: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-25 09:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:31: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-25 09:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":194828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:31:37] local.INFO: GPS data processed {"connection_id":194828,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:31:37] local.INFO: Acknowledgment sent {"connection_id":194828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:31:40] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b8abf0012d7d1f0005ec3f080009005929..."} 
[2026-09-25 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b8abf0012d7d1f0005ec3f080009005929..."} 
[2026-09-25 09:31:40] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b8abf0012d7d1f0005ec3f080009005929..."} 
[2026-09-25 09:31:40] local.INFO: Packet analysis {"connection_id":194829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:40] local.INFO: Extracted packet for processing {"connection_id":194829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99368712,"longitude_deg":76.3174656,"latitude_deg":9.9368712,"altitude":9,"angle":89,"satellites":41,"speed":22,"hex_longitude":"2d7d1f00","hex_latitude":"05ec3f08","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319054848001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135798808540872704,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905295718400,"note":"Value kept but may cause issues"} 
[2026-09-25 09:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790308822000,"timestamp_ms":1790308822000,"timestamp_seconds":1790308822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b8abf0"} 
[2026-09-25 09: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-25 09:31: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-25 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 09:31:40] 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-25 09: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-25 09: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-25 09:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319054848001,"66":13417,"110":206,"87":13824,"24":22,"16":135798808540872704,"45":9005791905295718400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319054848001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:31:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:31:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135798808540872704,"km_value":135798808540872.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905295718400,"description":"Unknown IO ID 45"} 
[2026-09-25 09:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319054848001,"power":13417,"unknown_110":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9005791905295718400}} 
[2026-09-25 09:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":194829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:31:40] local.INFO: GPS data processed {"connection_id":194829,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:31:40] local.INFO: Acknowledgment sent {"connection_id":194829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:10] local.INFO: TCP Data received {"connection_id":194828,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:10] local.INFO: Processing buffer {"connection_id":194828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:10] local.INFO: Packet analysis {"connection_id":194828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:32:10] local.INFO: Extracted packet for processing {"connection_id":194828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:32: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-25 09:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":194828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:10] local.INFO: GPS data processed {"connection_id":194828,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:10] local.INFO: Acknowledgment sent {"connection_id":194828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:11] local.INFO: TCP Data received {"connection_id":194829,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b8fdf8012d7d2d4005ec4090000a005324..."} 
[2026-09-25 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b8fdf8012d7d2d4005ec4090000a005324..."} 
[2026-09-25 09:32:11] local.INFO: Processing buffer {"connection_id":194829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b8fdf8012d7d2d4005ec4090000a005324..."} 
[2026-09-25 09:32:11] local.INFO: Packet analysis {"connection_id":194829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:32:11] local.INFO: Extracted packet for processing {"connection_id":194829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":99369104,"longitude_deg":76.3178304,"latitude_deg":9.9369104,"altitude":10,"angle":83,"satellites":36,"speed":0,"hex_longitude":"2d7d2d40","hex_latitude":"05ec4090","is_valid_coordinates":true} 
[2026-09-25 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319058432001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135798988929499136,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004457412608,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790308843000,"timestamp_ms":1790308843000,"timestamp_seconds":1790308843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b8fdf8"} 
[2026-09-25 09:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:32:11] 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-25 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-25 09:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319058432001,"66":13048,"110":206,"87":13824,"24":0,"16":135798988929499136,"45":9015925004457412608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319058432001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:32:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135798988929499136,"km_value":135798988929499.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004457412608,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319058432001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015925004457412608}} 
[2026-09-25 09:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":194829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:11] local.INFO: GPS data processed {"connection_id":194829,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:11] local.INFO: Acknowledgment sent {"connection_id":194829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:21] local.INFO: TCP Data received {"connection_id":191970,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:21] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:21] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:32:25] local.INFO: TCP Data received {"connection_id":191970,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:25] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:32:25] local.INFO: IMEI packet received {"connection_id":191970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":191970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:32:26] local.INFO: TCP Data received {"connection_id":191970,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b9cd00012d0c2c00070626d0001c00171d..."} 
[2026-09-25 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b9cd00012d0c2c00070626d0001c00171d..."} 
[2026-09-25 09:32:26] local.INFO: Processing buffer {"connection_id":191970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b9cd00012d0c2c00070626d0001c00171d..."} 
[2026-09-25 09:32:26] local.INFO: Packet analysis {"connection_id":191970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:26] local.INFO: Extracted packet for processing {"connection_id":191970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:26] local.INFO: GPS Element Parsed {"raw_longitude":755772416,"raw_latitude":117843664,"longitude_deg":75.5772416,"latitude_deg":11.7843664,"altitude":28,"angle":23,"satellites":29,"speed":3,"hex_longitude":"2d0c2c00","hex_latitude":"070626d0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319073792001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33794726830276608,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877146426342273024,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:26] 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-25 09:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790308896000,"timestamp_ms":1790308896000,"timestamp_seconds":1790308896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b9cd00"} 
[2026-09-25 09: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-25 09:32: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-25 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-25 09:32:26] 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-25 09: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-25 09: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-25 09:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319073792001,"66":14396,"164":206,"94":10240,"24":3,"16":33794726830276608,"45":877146426342273024},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-25 09:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319073792001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:26] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-25 09:32:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33794726830276608,"km_value":33794726830276.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":877146426342273024,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319073792001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":877146426342273024}} 
[2026-09-25 09:32:26] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":191970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:26] local.INFO: GPS data processed {"connection_id":191970,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:26] local.INFO: Acknowledgment sent {"connection_id":191970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:26] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:26] local.INFO: IMEI packet received {"connection_id":193515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":193515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:32:31] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:31] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:32:31] local.INFO: IMEI packet received {"connection_id":193515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":193515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:32:32] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:32] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:32:32] local.INFO: Packet analysis {"connection_id":193515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:32:32] local.INFO: Extracted packet for processing {"connection_id":193515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:32:32] 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-25 09:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:32: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-25 09:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":193515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:32] local.INFO: GPS data processed {"connection_id":193515,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:32] local.INFO: Acknowledgment sent {"connection_id":193515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:33] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:33] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:33] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:32:35] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:35] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:32:35] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:32:37] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b93c78012d7d2e4005ec40e0000a007026..."} 
[2026-09-25 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b93c78012d7d2e4005ec40e0000a007026..."} 
[2026-09-25 09:32:37] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b93c78012d7d2e4005ec40e0000a007026..."} 
[2026-09-25 09:32:37] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:37] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763178560,"raw_latitude":99369184,"longitude_deg":76.317856,"latitude_deg":9.9369184,"altitude":10,"angle":112,"satellites":38,"speed":4,"hex_longitude":"2d7d2e40","hex_latitude":"05ec40e0","is_valid_coordinates":true} 
[2026-09-25 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319063808001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135798997519433728,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022875639808,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790308859000,"timestamp_ms":1790308859000,"timestamp_seconds":1790308859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b93c78"} 
[2026-09-25 09:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-25 09:32:37] 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-25 09:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319063808001,"66":13515,"110":206,"87":13824,"24":4,"16":135798997519433728,"45":9019936022875639808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319063808001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135798997519433728,"km_value":135798997519433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022875639808,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319063808001,"power":13515,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9019936022875639808}} 
[2026-09-25 09:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:37] local.INFO: GPS data processed {"connection_id":192162,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:37] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:32:39] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b94448012d7d2f8005ec4090000a006427..."} 
[2026-09-25 09:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b94448012d7d2f8005ec4090000a006427..."} 
[2026-09-25 09:32:39] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b94448012d7d2f8005ec4090000a006427..."} 
[2026-09-25 09:32:39] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:39] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99369104,"longitude_deg":76.317888,"latitude_deg":9.9369104,"altitude":10,"angle":100,"satellites":39,"speed":8,"hex_longitude":"2d7d2f80","hex_latitude":"05ec4090","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319067904001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799014699302912,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497852370944,"note":"Value kept but may cause issues"} 
[2026-09-25 09:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790308861000,"timestamp_ms":1790308861000,"timestamp_seconds":1790308861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b94448"} 
[2026-09-25 09: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-25 09:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 09:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319067904001,"66":13646,"110":206,"87":13824,"24":8,"16":135799014699302912,"45":9020217497852370944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319067904001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:32:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:32:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799014699302912,"km_value":135799014699302.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497852370944,"description":"Unknown IO ID 45"} 
[2026-09-25 09:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319067904001,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9020217497852370944}} 
[2026-09-25 09:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:32:39] local.INFO: GPS data processed {"connection_id":192162,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:32:39] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:33:01] local.INFO: TCP Data received {"connection_id":194830,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:01] local.INFO: Processing buffer {"connection_id":194830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:01] local.INFO: IMEI packet received {"connection_id":194830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":194830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:33:03] local.INFO: TCP Data received {"connection_id":193515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:03] local.INFO: Processing buffer {"connection_id":193515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:03] local.INFO: Packet analysis {"connection_id":193515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:33:03] local.INFO: Extracted packet for processing {"connection_id":193515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:33: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33: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-25 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:33: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-25 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":193515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:33:04] local.INFO: GPS data processed {"connection_id":193515,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:33:04] local.INFO: Acknowledgment sent {"connection_id":193515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:33:07] local.INFO: TCP Data received {"connection_id":194830,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:07] local.INFO: Processing buffer {"connection_id":194830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:33:07] local.INFO: IMEI packet received {"connection_id":194830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":194830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:33:09] local.INFO: TCP Data received {"connection_id":194830,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b9d0e8012d0c2c4007062748001c00251d..."} 
[2026-09-25 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b9d0e8012d0c2c4007062748001c00251d..."} 
[2026-09-25 09:33:09] local.INFO: Processing buffer {"connection_id":194830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b9d0e8012d0c2c4007062748001c00251d..."} 
[2026-09-25 09:33:09] local.INFO: Packet analysis {"connection_id":194830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:33:09] local.INFO: Extracted packet for processing {"connection_id":194830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755772480,"raw_latitude":117843784,"longitude_deg":75.577248,"latitude_deg":11.7843784,"altitude":28,"angle":37,"satellites":29,"speed":5,"hex_longitude":"2d0c2c40","hex_latitude":"07062748","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319077376001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33794731125243904,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877076057598382080,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33: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-25 09:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790308897000,"timestamp_ms":1790308897000,"timestamp_seconds":1790308897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b9d0e8"} 
[2026-09-25 09: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-25 09:33: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-25 09: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":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:33: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-25 09: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-25 09: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-25 09:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319077376001,"66":14396,"164":206,"94":10240,"24":5,"16":33794731125243904,"45":877076057598382080},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-25 09:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319077376001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:33:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-25 09:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33794731125243904,"km_value":33794731125243.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":877076057598382080,"description":"Unknown IO ID 45"} 
[2026-09-25 09:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319077376001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":877076057598382080}} 
[2026-09-25 09:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":194830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894535,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:33:09] local.INFO: GPS data processed {"connection_id":194830,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:33:09] local.INFO: Acknowledgment sent {"connection_id":194830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:33:11] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b953e8012d7d318005ec4050000a005624..."} 
[2026-09-25 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b953e8012d7d318005ec4050000a005624..."} 
[2026-09-25 09:33:11] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b953e8012d7d318005ec4050000a005624..."} 
[2026-09-25 09:33:11] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:33:11] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b9"} 
[2026-09-25 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99369040,"longitude_deg":76.3179392,"latitude_deg":9.936904,"altitude":10,"angle":86,"satellites":36,"speed":3,"hex_longitude":"2d7d3180","hex_latitude":"05ec4050","is_valid_coordinates":true} 
[2026-09-25 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319068416001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799040469106688,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341573238784,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790308865000,"timestamp_ms":1790308865000,"timestamp_seconds":1790308865,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b953e8"} 
[2026-09-25 09:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319068416001,"66":13363,"110":206,"87":13824,"24":3,"16":135799040469106688,"45":9020569341573238784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319068416001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:33:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:33:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799040469106688,"km_value":135799040469106.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341573238784,"description":"Unknown IO ID 45"} 
[2026-09-25 09:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319068416001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9020569341573238784}} 
[2026-09-25 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:33:11] local.INFO: GPS data processed {"connection_id":192162,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:33:11] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:33:24] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:24] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:24] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:33:26] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:26] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:26] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:33:26] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:26] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:26] local.INFO: IMEI packet received {"connection_id":192163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":192163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:33:28] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:33:28] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:33:28] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:33:31] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:31] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:33:31] local.INFO: IMEI packet received {"connection_id":192163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":192163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:33:32] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:32] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:33:32] local.INFO: Packet analysis {"connection_id":192163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:33:32] local.INFO: Extracted packet for processing {"connection_id":192163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:33:32] 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-25 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:33: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-25 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":192163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:33:32] local.INFO: GPS data processed {"connection_id":192163,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:33:32] local.INFO: Acknowledgment sent {"connection_id":192163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:33:42] local.INFO: TCP Data received {"connection_id":194830,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bb8a50012d0c3bc007064730001000dd21..."} 
[2026-09-25 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bb8a50012d0c3bc007064730001000dd21..."} 
[2026-09-25 09:33:42] local.INFO: Processing buffer {"connection_id":194830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bb8a50012d0c3bc007064730001000dd21..."} 
[2026-09-25 09:33:42] local.INFO: Packet analysis {"connection_id":194830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:33:42] local.INFO: Extracted packet for processing {"connection_id":194830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117851952,"longitude_deg":75.5776448,"latitude_deg":11.7851952,"altitude":16,"angle":221,"satellites":33,"speed":2,"hex_longitude":"2d0c3bc0","hex_latitude":"07064730","is_valid_coordinates":true} 
[2026-09-25 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319106304001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33795598708637696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881579657227888640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790309010000,"timestamp_ms":1790309010000,"timestamp_seconds":1790309010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bb8a50"} 
[2026-09-25 09:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:33: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-25 09: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-25 09:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":194830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":194830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":194830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319106304001,"66":14450,"115":206,"28":32256,"24":2,"16":33795598708637696,"45":881579657227888640},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319106304001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:33:42] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33795598708637696,"km_value":33795598708637.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":881579657227888640,"description":"Unknown IO ID 45"} 
[2026-09-25 09:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319106304001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":881579657227888640}} 
[2026-09-25 09:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":194830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:33:42] local.INFO: GPS data processed {"connection_id":194830,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:33:42] local.INFO: Acknowledgment sent {"connection_id":194830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:34:01] local.INFO: TCP Data received {"connection_id":194832,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:01] local.INFO: Processing buffer {"connection_id":194832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:01] local.INFO: IMEI packet received {"connection_id":194832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":194832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:34:04] local.INFO: TCP Data received {"connection_id":192163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:04] local.INFO: Processing buffer {"connection_id":192163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:04] local.INFO: Packet analysis {"connection_id":192163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:34:04] local.INFO: Extracted packet for processing {"connection_id":192163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:34: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-25 09:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34: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-25 09:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:34: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-25 09:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"66":25441,"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-25 09:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:34: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-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":192163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:34:04] local.INFO: GPS data processed {"connection_id":192163,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:34:04] local.INFO: Acknowledgment sent {"connection_id":192163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:34:06] local.INFO: TCP Data received {"connection_id":194832,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194832,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:06] local.INFO: Processing buffer {"connection_id":194832,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:34:06] local.INFO: IMEI packet received {"connection_id":194832,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":194832,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:34:08] local.INFO: TCP Data received {"connection_id":194832,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bb8e38012d0c3b8007064700001000f021..."} 
[2026-09-25 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bb8e38012d0c3b8007064700001000f021..."} 
[2026-09-25 09:34:08] local.INFO: Processing buffer {"connection_id":194832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bb8e38012d0c3b8007064700001000f021..."} 
[2026-09-25 09:34:08] local.INFO: Packet analysis {"connection_id":194832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:34:08] local.INFO: Extracted packet for processing {"connection_id":194832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117851904,"longitude_deg":75.5776384,"latitude_deg":11.7851904,"altitude":16,"angle":240,"satellites":33,"speed":3,"hex_longitude":"2d0c3b80","hex_latitude":"07064700","is_valid_coordinates":true} 
[2026-09-25 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319106560001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33795603003604992,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483696640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790309011000,"timestamp_ms":1790309011000,"timestamp_seconds":1790309011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bb8e38"} 
[2026-09-25 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:34:08] 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-25 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319106560001,"66":14450,"115":206,"28":32256,"24":3,"16":33795603003604992,"45":881509288483696640},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319106560001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:34:08] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33795603003604992,"km_value":33795603003604.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483696640,"description":"Unknown IO ID 45"} 
[2026-09-25 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319106560001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":881509288483696640}} 
[2026-09-25 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":194832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:34:08] local.INFO: GPS data processed {"connection_id":194832,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:34:08] local.INFO: Acknowledgment sent {"connection_id":194832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:34:26] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:26] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:26] local.INFO: IMEI packet received {"connection_id":191972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":191972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:34:31] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:31] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:34:31] local.INFO: IMEI packet received {"connection_id":191972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":191972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:34:32] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:32] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:34:32] local.INFO: Packet analysis {"connection_id":191972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:34:32] local.INFO: Extracted packet for processing {"connection_id":191972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:34:32] 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-25 09:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:34: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-25 09:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"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-25 09:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":191972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:34:32] local.INFO: GPS data processed {"connection_id":191972,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:34:32] local.INFO: Acknowledgment sent {"connection_id":191972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:34:39] local.INFO: TCP Data received {"connection_id":194832,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bb9dd8012d0c3b80070646b80010008a21..."} 
[2026-09-25 09:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bb9dd8012d0c3b80070646b80010008a21..."} 
[2026-09-25 09:34:39] local.INFO: Processing buffer {"connection_id":194832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bb9dd8012d0c3b80070646b80010008a21..."} 
[2026-09-25 09:34:39] local.INFO: Packet analysis {"connection_id":194832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:34:39] local.INFO: Extracted packet for processing {"connection_id":194832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:34:39] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117851832,"longitude_deg":75.5776384,"latitude_deg":11.7851832,"altitude":16,"angle":138,"satellites":33,"speed":0,"hex_longitude":"2d0c3b80","hex_latitude":"070646b8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319106816001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33795611593539584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919739506688,"note":"Value kept but may cause issues"} 
[2026-09-25 09:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790309015000,"timestamp_ms":1790309015000,"timestamp_seconds":1790309015,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bb9dd8"} 
[2026-09-25 09: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-25 09:34:39] 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-25 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194832,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319106816001,"66":13863,"115":206,"28":32256,"24":0,"16":33795611593539584,"45":881438919739506688},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319106816001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:34:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33795611593539584,"km_value":33795611593539.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919739506688,"description":"Unknown IO ID 45"} 
[2026-09-25 09:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319106816001,"power":13863,"unknown_115":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":881438919739506688}} 
[2026-09-25 09:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":194832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:34:39] local.INFO: GPS data processed {"connection_id":194832,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:34:39] local.INFO: Acknowledgment sent {"connection_id":194832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:35:01] local.INFO: TCP Data received {"connection_id":194833,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:01] local.INFO: Processing buffer {"connection_id":194833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:01] local.INFO: IMEI packet received {"connection_id":194833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":194833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:35:03] local.INFO: TCP Data received {"connection_id":191972,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:35:03] local.INFO: Processing buffer {"connection_id":191972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6b82720012d34c14006aa4940000900f52c..."} 
[2026-09-25 09:35:03] local.INFO: Packet analysis {"connection_id":191972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:35:03] local.INFO: Extracted packet for processing {"connection_id":191972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6b8"} 
[2026-09-25 09:35: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318972672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35: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-25 09:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790308788000,"timestamp_ms":1790308788000,"timestamp_seconds":1790308788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6b82720"} 
[2026-09-25 09:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318972672001,"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-25 09:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318972672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:35: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-25 09:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318972672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":191972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:35:04] local.INFO: GPS data processed {"connection_id":191972,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:35:04] local.INFO: Acknowledgment sent {"connection_id":191972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:35:06] local.INFO: TCP Data received {"connection_id":194833,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:06] local.INFO: Processing buffer {"connection_id":194833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:35:06] local.INFO: IMEI packet received {"connection_id":194833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":194833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:35:07] local.INFO: TCP Data received {"connection_id":194833,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bba990012d0c3d00070645900010007921..."} 
[2026-09-25 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bba990012d0c3d00070645900010007921..."} 
[2026-09-25 09:35:07] local.INFO: Processing buffer {"connection_id":194833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bba990012d0c3d00070645900010007921..."} 
[2026-09-25 09:35:07] local.INFO: Packet analysis {"connection_id":194833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:35:07] local.INFO: Extracted packet for processing {"connection_id":194833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bb"} 
[2026-09-25 09:35:07] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851536,"longitude_deg":75.5776768,"latitude_deg":11.7851536,"altitude":16,"angle":121,"satellites":33,"speed":9,"hex_longitude":"2d0c3d00","hex_latitude":"07064590","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319107840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33795637363343360,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919739488256,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309018000,"timestamp_ms":1790309018000,"timestamp_seconds":1790309018,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bba990"} 
[2026-09-25 09: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-25 09:35: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-25 09: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-25 09:35:07] 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-25 09: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-25 09: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-25 09:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319107840001,"66":14428,"115":206,"28":32256,"24":9,"16":33795637363343360,"45":881438919739488256},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319107840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:35:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33795637363343360,"km_value":33795637363343.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919739488256,"description":"Unknown IO ID 45"} 
[2026-09-25 09:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319107840001,"power":14428,"unknown_115":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":881438919739488256}} 
[2026-09-25 09:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":194833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894544,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:35:07] local.INFO: GPS data processed {"connection_id":194833,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:35:07] local.INFO: Acknowledgment sent {"connection_id":194833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:35:26] local.INFO: TCP Data received {"connection_id":194835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:26] local.INFO: Processing buffer {"connection_id":194835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:26] local.INFO: IMEI packet received {"connection_id":194835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":194835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:35:27] local.INFO: TCP Data received {"connection_id":194835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:27] local.INFO: Processing buffer {"connection_id":194835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:27] local.INFO: IMEI packet received {"connection_id":194835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":194835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:35:31] local.INFO: TCP Data received {"connection_id":194835,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:31] local.INFO: Processing buffer {"connection_id":194835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:35:31] local.INFO: IMEI packet received {"connection_id":194835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":194835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:35:32] local.INFO: TCP Data received {"connection_id":194835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:35:32] local.INFO: Processing buffer {"connection_id":194835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:35:32] local.INFO: Packet analysis {"connection_id":194835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:35:32] local.INFO: Extracted packet for processing {"connection_id":194835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:35: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-25 09:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 09:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:35: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-25 09:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":194835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:35:32] local.INFO: GPS data processed {"connection_id":194835,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:35:32] local.INFO: Acknowledgment sent {"connection_id":194835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:35:40] local.INFO: TCP Data received {"connection_id":194833,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bd0920012d0c9a000705f1400017009221..."} 
[2026-09-25 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bd0920012d0c9a000705f1400017009221..."} 
[2026-09-25 09:35:40] local.INFO: Processing buffer {"connection_id":194833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bd0920012d0c9a000705f1400017009221..."} 
[2026-09-25 09:35:40] local.INFO: Packet analysis {"connection_id":194833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:35:40] local.INFO: Extracted packet for processing {"connection_id":194833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:35:40] local.INFO: GPS Element Parsed {"raw_longitude":755800576,"raw_latitude":117829952,"longitude_deg":75.5800576,"latitude_deg":11.7829952,"altitude":23,"angle":146,"satellites":33,"speed":11,"hex_longitude":"2d0c9a00","hex_latitude":"0705f140","is_valid_coordinates":true} 
[2026-09-25 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319130880001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33797217911308288,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907404986335664128,"note":"Value kept but may cause issues"} 
[2026-09-25 09:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790309108000,"timestamp_ms":1790309108000,"timestamp_seconds":1790309108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bd0920"} 
[2026-09-25 09:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:35: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-25 09:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:35:40] 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-25 09:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319130880001,"66":14407,"115":206,"28":32256,"24":11,"16":33797217911308288,"45":907404986335664128},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319130880001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:35:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33797217911308288,"km_value":33797217911308.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":907404986335664128,"description":"Unknown IO ID 45"} 
[2026-09-25 09:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319130880001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":907404986335664128}} 
[2026-09-25 09:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":194833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:35:40] local.INFO: GPS data processed {"connection_id":194833,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:35:40] local.INFO: Acknowledgment sent {"connection_id":194833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:36:03] local.INFO: TCP Data received {"connection_id":194835,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:03] local.INFO: Processing buffer {"connection_id":194835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:03] local.INFO: Packet analysis {"connection_id":194835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:36:03] local.INFO: Extracted packet for processing {"connection_id":194835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:36: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36: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-25 09:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:36: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-25 09:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":194835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:36:03] local.INFO: GPS data processed {"connection_id":194835,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:36:03] local.INFO: Acknowledgment sent {"connection_id":194835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:36:06] local.INFO: TCP Data received {"connection_id":191973,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:06] local.INFO: Processing buffer {"connection_id":191973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:06] local.INFO: IMEI packet received {"connection_id":191973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":191973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:36:12] local.INFO: TCP Data received {"connection_id":191973,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:12] local.INFO: Processing buffer {"connection_id":191973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:36:12] local.INFO: IMEI packet received {"connection_id":191973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":191973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:36:13] local.INFO: TCP Data received {"connection_id":191973,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bd5740012d0ca5c00705deb0001700931f..."} 
[2026-09-25 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bd5740012d0ca5c00705deb0001700931f..."} 
[2026-09-25 09:36:13] local.INFO: Processing buffer {"connection_id":191973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bd5740012d0ca5c00705deb0001700931f..."} 
[2026-09-25 09:36:13] local.INFO: Packet analysis {"connection_id":191973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:13] local.INFO: Extracted packet for processing {"connection_id":191973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":755803584,"raw_latitude":117825200,"longitude_deg":75.5803584,"latitude_deg":11.78252,"altitude":23,"angle":147,"satellites":31,"speed":7,"hex_longitude":"2d0ca5c0","hex_latitude":"0705deb0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319131648001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33797492789215232,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908038305033043968,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790309128000,"timestamp_ms":1790309128000,"timestamp_seconds":1790309128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bd5740"} 
[2026-09-25 09: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-25 09:36: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-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:36:13] 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-25 09: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-25 09: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-25 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319131648001,"66":14407,"115":206,"28":32256,"24":7,"16":33797492789215232,"45":908038305033043968},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319131648001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:36:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 09:36:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33797492789215232,"km_value":33797492789215.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":908038305033043968,"description":"Unknown IO ID 45"} 
[2026-09-25 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319131648001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":908038305033043968}} 
[2026-09-25 09:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":191973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:36:13] local.INFO: GPS data processed {"connection_id":191973,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:36:13] local.INFO: Acknowledgment sent {"connection_id":191973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:36:14] local.INFO: TCP Data received {"connection_id":191973,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bd6eb0012d0ca9800705d9c00017008420..."} 
[2026-09-25 09:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bd6eb0012d0ca9800705d9c00017008420..."} 
[2026-09-25 09:36:14] local.INFO: Processing buffer {"connection_id":191973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bd6eb0012d0ca9800705d9c00017008420..."} 
[2026-09-25 09:36:14] local.INFO: Packet analysis {"connection_id":191973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:14] local.INFO: Extracted packet for processing {"connection_id":191973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:14] local.INFO: GPS Element Parsed {"raw_longitude":755804544,"raw_latitude":117823936,"longitude_deg":75.5804544,"latitude_deg":11.7823936,"altitude":23,"angle":132,"satellites":32,"speed":10,"hex_longitude":"2d0ca980","hex_latitude":"0705d9c0","is_valid_coordinates":true} 
[2026-09-25 09:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319136768001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33797565803659264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911345636008177664,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790309134000,"timestamp_ms":1790309134000,"timestamp_seconds":1790309134,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bd6eb0"} 
[2026-09-25 09:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319136768001,"66":14537,"220":206,"28":32256,"24":10,"16":33797565803659264,"45":911345636008177664},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319136768001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:36:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33797565803659264,"km_value":33797565803659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":911345636008177664,"description":"Unknown IO ID 45"} 
[2026-09-25 09:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319136768001,"power":14537,"unknown_220":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":911345636008177664}} 
[2026-09-25 09:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":191973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:36:14] local.INFO: GPS data processed {"connection_id":191973,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:36:14] local.INFO: Acknowledgment sent {"connection_id":191973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:36:26] local.INFO: TCP Data received {"connection_id":194836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:26] local.INFO: Processing buffer {"connection_id":194836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:26] local.INFO: IMEI packet received {"connection_id":194836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":194836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:36:31] local.INFO: TCP Data received {"connection_id":194836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:31] local.INFO: Processing buffer {"connection_id":194836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:36:31] local.INFO: IMEI packet received {"connection_id":194836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":194836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:36:32] local.INFO: TCP Data received {"connection_id":194836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:32] local.INFO: Processing buffer {"connection_id":194836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:36:32] local.INFO: Packet analysis {"connection_id":194836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:36:32] local.INFO: Extracted packet for processing {"connection_id":194836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:36: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-25 09:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"66":25473,"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-25 09:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":194836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:36:32] local.INFO: GPS data processed {"connection_id":194836,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:36:32] local.INFO: Acknowledgment sent {"connection_id":194836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:36:35] local.INFO: TCP Data received {"connection_id":191974,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:36:35] local.INFO: Processing buffer {"connection_id":191974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:36:35] local.INFO: IMEI packet received {"connection_id":191974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":191974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:36:46] local.INFO: TCP Data received {"connection_id":191973,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bd9d90012d0cb7000705ce80001900921f..."} 
[2026-09-25 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bd9d90012d0cb7000705ce80001900921f..."} 
[2026-09-25 09:36:46] local.INFO: Processing buffer {"connection_id":191973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bd9d90012d0cb7000705ce80001900921f..."} 
[2026-09-25 09:36:46] local.INFO: Packet analysis {"connection_id":191973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:46] local.INFO: Extracted packet for processing {"connection_id":191973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bd"} 
[2026-09-25 09:36:46] local.INFO: GPS Element Parsed {"raw_longitude":755808000,"raw_latitude":117821056,"longitude_deg":75.5808,"latitude_deg":11.7821056,"altitude":25,"angle":146,"satellites":31,"speed":12,"hex_longitude":"2d0cb700","hex_latitude":"0705ce80","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319138304001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33797784846991360,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912401167170519040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790309146000,"timestamp_ms":1790309146000,"timestamp_seconds":1790309146,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bd9d90"} 
[2026-09-25 09: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-25 09:36: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-25 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:36: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-25 09: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-25 09: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-25 09:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191973,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319138304001,"66":14396,"220":206,"28":32256,"24":12,"16":33797784846991360,"45":912401167170519040},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319138304001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:36:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:36:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33797784846991360,"km_value":33797784846991.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":912401167170519040,"description":"Unknown IO ID 45"} 
[2026-09-25 09:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319138304001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":912401167170519040}} 
[2026-09-25 09:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":191973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:36:46] local.INFO: GPS data processed {"connection_id":191973,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:36:46] local.INFO: Acknowledgment sent {"connection_id":191973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:37:02] local.INFO: TCP Data received {"connection_id":193519,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:02] local.INFO: Processing buffer {"connection_id":193519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:02] local.INFO: IMEI packet received {"connection_id":193519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":193519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:37:03] local.INFO: TCP Data received {"connection_id":193519,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:03] local.INFO: Processing buffer {"connection_id":193519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:03] local.INFO: IMEI packet received {"connection_id":193519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":193519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:37:04] local.INFO: TCP Data received {"connection_id":194836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:04] local.INFO: Processing buffer {"connection_id":194836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:04] local.INFO: Packet analysis {"connection_id":194836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:37:04] local.INFO: Extracted packet for processing {"connection_id":194836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:37: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-25 09:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37: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-25 09:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:37:04] local.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-25 09:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"66":25473,"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-25 09:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:37: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-25 09:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":194836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:37:04] local.INFO: GPS data processed {"connection_id":194836,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:37:04] local.INFO: Acknowledgment sent {"connection_id":194836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:37:05] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:37:05] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:37:05] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:37:12] local.INFO: TCP Data received {"connection_id":193519,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193519,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:12] local.INFO: Processing buffer {"connection_id":193519,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:37:12] local.INFO: IMEI packet received {"connection_id":193519,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":193519,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:37:16] local.INFO: TCP Data received {"connection_id":193519,"ip":"117.225.190.3","data_length":1360,"data_hex":"000000000000030f8e0a000001a0d6be8bd8012d0c6bc007059f98001b00b31f..."} 
[2026-09-25 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193519,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0d6be8bd8012d0c6bc007059f98001b00b31f..."} 
[2026-09-25 09:37:16] local.INFO: Processing buffer {"connection_id":193519,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0d6be8bd8012d0c6bc007059f98001b00b31f..."} 
[2026-09-25 09:37:16] local.INFO: Packet analysis {"connection_id":193519,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:16] local.INFO: Extracted packet for processing {"connection_id":193519,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:16] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117809048,"longitude_deg":75.5788736,"latitude_deg":11.7809048,"altitude":27,"angle":179,"satellites":31,"speed":20,"hex_longitude":"2d0c6bc0","hex_latitude":"07059f98","is_valid_coordinates":true} 
[2026-09-25 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319156736001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33799154941558784,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718610788352,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790309207000,"timestamp_ms":1790309207000,"timestamp_seconds":1790309207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6be8bd8"} 
[2026-09-25 09:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:37: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-25 09:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:37: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-25 09:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":193519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319156736001,"66":14439,"220":206,"28":32256,"24":20,"16":33799154941558784,"45":894949718610788352},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319156736001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:37:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:37:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33799154941558784,"km_value":33799154941558.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718610788352,"description":"Unknown IO ID 45"} 
[2026-09-25 09:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319156736001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":894949718610788352}} 
[2026-09-25 09:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":193519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894553,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:37:17] local.INFO: GPS data processed {"connection_id":193519,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:37:17] local.INFO: Acknowledgment sent {"connection_id":193519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:37:17] local.INFO: Packet analysis {"connection_id":193519,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":193519,"needed":795,"available":565} 
[2026-09-25 09:37:17] local.INFO: TCP Data received {"connection_id":193519,"ip":"117.225.190.3","data_length":1025,"data_hex":"2d0cb1c00705b4b8001500fd21000b0000000a000400ef0100714c00f0010045..."} 
[2026-09-25 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193519,"packet_length":1025,"packet_hex":"2d0cb1c00705b4b8001500fd21000b0000000a000400ef0100714c00f0010045..."} 
[2026-09-25 09:37:17] local.INFO: Processing buffer {"connection_id":193519,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d6be9f60012d0c6d8007059308001d00bf1f..."} 
[2026-09-25 09:37:17] local.INFO: Packet analysis {"connection_id":193519,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:17] local.INFO: Extracted packet for processing {"connection_id":193519,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117805832,"longitude_deg":75.5789184,"latitude_deg":11.7805832,"altitude":29,"angle":191,"satellites":31,"speed":22,"hex_longitude":"2d0c6d80","hex_latitude":"07059308","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319156992001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33799313855348736,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087354824704,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790309212000,"timestamp_ms":1790309212000,"timestamp_seconds":1790309212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6be9f60"} 
[2026-09-25 09: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-25 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:37: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-25 09: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-25 09: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-25 09:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319156992001,"66":14407,"220":206,"28":32256,"24":22,"16":33799313855348736,"45":895020087354824704},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319156992001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33799313855348736,"km_value":33799313855348.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087354824704,"description":"Unknown IO ID 45"} 
[2026-09-25 09:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319156992001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":895020087354824704}} 
[2026-09-25 09:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":193519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:37:17] local.INFO: GPS data processed {"connection_id":193519,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:37:17] local.INFO: Acknowledgment sent {"connection_id":193519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:37:17] local.INFO: Packet analysis {"connection_id":193519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:17] local.INFO: Extracted packet for processing {"connection_id":193519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117805328,"longitude_deg":75.5789056,"latitude_deg":11.7805328,"altitude":30,"angle":205,"satellites":31,"speed":21,"hex_longitude":"2d0c6d00","hex_latitude":"07059110","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319158272001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33799339625152512,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668563245056,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790309213000,"timestamp_ms":1790309213000,"timestamp_seconds":1790309213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bea348"} 
[2026-09-25 09: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-25 09:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:37: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-25 09: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-25 09: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-25 09:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":193519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":193519,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319158272001,"66":14407,"220":206,"28":32256,"24":21,"16":33799339625152512,"45":895512668563245056},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319158272001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33799339625152512,"km_value":33799339625152.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668563245056,"description":"Unknown IO ID 45"} 
[2026-09-25 09:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319158272001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":895512668563245056}} 
[2026-09-25 09:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":193519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:37:18] local.INFO: GPS data processed {"connection_id":193519,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:37:18] local.INFO: Acknowledgment sent {"connection_id":193519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:37:26] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:26] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:26] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:37:31] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:31] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:37:31] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:37:33] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:33] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:37:33] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:37:33] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09: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-25 09: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-25 09: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09: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-25 09: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-25 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:37: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-25 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:37:33] local.INFO: GPS data processed {"connection_id":192166,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:37:33] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:05] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:05] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:05] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:38:05] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09: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-25 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09: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-25 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:38: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-25 09:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:38:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:05] local.INFO: GPS data processed {"connection_id":192166,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:05] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:07] local.INFO: TCP Data received {"connection_id":194837,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:07] local.INFO: Processing buffer {"connection_id":194837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:07] local.INFO: IMEI packet received {"connection_id":194837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":194837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:38:11] local.INFO: TCP Data received {"connection_id":194837,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:11] local.INFO: Processing buffer {"connection_id":194837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:38:11] local.INFO: IMEI packet received {"connection_id":194837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":194837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:38:12] local.INFO: TCP Data received {"connection_id":194837,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bea730012d0c6c0007058f80001e00dc1f..."} 
[2026-09-25 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bea730012d0c6c0007058f80001e00dc1f..."} 
[2026-09-25 09:38:12] local.INFO: Processing buffer {"connection_id":194837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bea730012d0c6c0007058f80001e00dc1f..."} 
[2026-09-25 09:38:12] local.INFO: Packet analysis {"connection_id":194837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:12] local.INFO: Extracted packet for processing {"connection_id":194837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117804928,"longitude_deg":75.57888,"latitude_deg":11.7804928,"altitude":30,"angle":220,"satellites":31,"speed":19,"hex_longitude":"2d0c6c00","hex_latitude":"07058f80","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319158528001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33799361099988992,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931074760704,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790309214000,"timestamp_ms":1790309214000,"timestamp_seconds":1790309214,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bea730"} 
[2026-09-25 09: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-25 09:38: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-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:38: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-25 09: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-25 09: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-25 09:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319158528001,"66":14428,"220":206,"28":32256,"24":19,"16":33799361099988992,"45":895371931074760704},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 09:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319158528001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33799361099988992,"km_value":33799361099988.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931074760704,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319158528001,"power":14428,"unknown_220":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":895371931074760704}} 
[2026-09-25 09:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":194837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:13] local.INFO: GPS data processed {"connection_id":194837,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:13] local.INFO: Acknowledgment sent {"connection_id":194837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:25] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:25] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:25] local.INFO: IMEI packet received {"connection_id":192168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":192168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:38:31] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:31] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:38:31] local.INFO: IMEI packet received {"connection_id":192168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":192168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:38:32] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:32] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:38:32] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:38:32] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:38: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-25 09:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:38:32] local.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-25 09:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:32] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:32] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:33] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:33] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:33] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:38:38] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:38] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:38:38] local.INFO: IMEI packet received {"connection_id":191976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":191976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:38:39] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6be5140012d7d35c005ec1348000401581f..."} 
[2026-09-25 09:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6be5140012d7d35c005ec1348000401581f..."} 
[2026-09-25 09:38:39] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6be5140012d7d35c005ec1348000401581f..."} 
[2026-09-25 09:38:39] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:39] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357512,"longitude_deg":76.318048,"latitude_deg":9.9357512,"altitude":4,"angle":344,"satellites":31,"speed":1,"hex_longitude":"2d7d35c0","hex_latitude":"05ec1348","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319149568001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799744843743232,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174731264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790309192000,"timestamp_ms":1790309192000,"timestamp_seconds":1790309192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6be5140"} 
[2026-09-25 09: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-25 09:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 09:38:39] 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-25 09: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-25 09: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-25 09:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319149568001,"66":13102,"110":206,"87":13824,"24":1,"16":135799744843743232,"45":9022328560174731264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319149568001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799744843743232,"km_value":135799744843743.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174731264,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319149568001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022328560174731264}} 
[2026-09-25 09:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:39] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:39] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:44] local.INFO: TCP Data received {"connection_id":191976,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bea348012d7d358005ec1368000401581f..."} 
[2026-09-25 09:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bea348012d7d358005ec1368000401581f..."} 
[2026-09-25 09:38:44] local.INFO: Processing buffer {"connection_id":191976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bea348012d7d358005ec1368000401581f..."} 
[2026-09-25 09:38:44] local.INFO: Packet analysis {"connection_id":191976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:44] local.INFO: Extracted packet for processing {"connection_id":191976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357544,"longitude_deg":76.3180416,"latitude_deg":9.9357544,"altitude":4,"angle":344,"satellites":31,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec1368","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319153152001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799749138710528,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174712832,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790309213000,"timestamp_ms":1790309213000,"timestamp_seconds":1790309213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bea348"} 
[2026-09-25 09: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-25 09:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-25 09:38:44] 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-25 09: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-25 09: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-25 09:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319153152001,"66":13102,"110":206,"87":13824,"24":0,"16":135799749138710528,"45":9022328560174712832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319153152001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:38:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799749138710528,"km_value":135799749138710.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174712832,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319153152001,"power":13102,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174712832}} 
[2026-09-25 09:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":191976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:44] local.INFO: GPS data processed {"connection_id":191976,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:44] local.INFO: Acknowledgment sent {"connection_id":191976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:38:47] local.INFO: TCP Data received {"connection_id":194837,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bff338012d0c5f4007053fc8001d009c22..."} 
[2026-09-25 09:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bff338012d0c5f4007053fc8001d009c22..."} 
[2026-09-25 09:38:47] local.INFO: Processing buffer {"connection_id":194837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bff338012d0c5f4007053fc8001d009c22..."} 
[2026-09-25 09:38:47] local.INFO: Packet analysis {"connection_id":194837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:38:47] local.INFO: Extracted packet for processing {"connection_id":194837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:38:47] local.INFO: GPS Element Parsed {"raw_longitude":755785536,"raw_latitude":117784520,"longitude_deg":75.5785536,"latitude_deg":11.778452,"altitude":29,"angle":156,"satellites":34,"speed":46,"hex_longitude":"2d0c5f40","hex_latitude":"07053fc8","is_valid_coordinates":true} 
[2026-09-25 09:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319178496001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33800902993248256,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206793433088,"note":"Value kept but may cause issues"} 
[2026-09-25 09:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790309299000,"timestamp_ms":1790309299000,"timestamp_seconds":1790309299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bff338"} 
[2026-09-25 09:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:38:47] 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-25 09:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:38: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-25 09:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":194837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":194837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":194837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319178496001,"66":14515,"139":206,"28":32256,"24":46,"16":33800902993248256,"45":886646206793433088},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-09-25 09:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319178496001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33800902993248256,"km_value":33800902993248.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206793433088,"description":"Unknown IO ID 45"} 
[2026-09-25 09:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319178496001,"power":14515,"unknown_139":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":886646206793433088}} 
[2026-09-25 09:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":194837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:38:47] local.INFO: GPS data processed {"connection_id":194837,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:38:47] local.INFO: Acknowledgment sent {"connection_id":194837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:39:03] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:03] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:03] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:39:03] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:39: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39: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-25 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:39:03] local.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-25 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:39: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-25 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:39:03] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:39:03] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:39:13] local.INFO: TCP Data received {"connection_id":193520,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:13] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:13] local.INFO: IMEI packet received {"connection_id":193520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":193520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:39:16] local.INFO: TCP Data received {"connection_id":193520,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:16] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:39:16] local.INFO: IMEI packet received {"connection_id":193520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":193520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:39:21] local.INFO: TCP Data received {"connection_id":193520,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bffb08012d0c6200070536b8001d00a722..."} 
[2026-09-25 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bffb08012d0c6200070536b8001d00a722..."} 
[2026-09-25 09:39:21] local.INFO: Processing buffer {"connection_id":193520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bffb08012d0c6200070536b8001d00a722..."} 
[2026-09-25 09:39:21] local.INFO: Packet analysis {"connection_id":193520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:39:21] local.INFO: Extracted packet for processing {"connection_id":193520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755786240,"raw_latitude":117782200,"longitude_deg":75.578624,"latitude_deg":11.77822,"altitude":29,"angle":167,"satellites":34,"speed":50,"hex_longitude":"2d0c6200","hex_latitude":"070536b8","is_valid_coordinates":true} 
[2026-09-25 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319180544001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33801018957365248,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891501650139662336,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790309301000,"timestamp_ms":1790309301000,"timestamp_seconds":1790309301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bffb08"} 
[2026-09-25 09:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:39: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-25 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 09:39:21] 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-25 09:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":193520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":193520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":193520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319180544001,"66":14407,"139":206,"28":32256,"24":50,"16":33801018957365248,"45":891501650139662336},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,28,24,16,45]} 
[2026-09-25 09:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319180544001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:39:22] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-25 09:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33801018957365248,"km_value":33801018957365.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":891501650139662336,"description":"Unknown IO ID 45"} 
[2026-09-25 09:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319180544001,"power":14407,"unknown_139":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":891501650139662336}} 
[2026-09-25 09:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":193520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:39:22] local.INFO: GPS data processed {"connection_id":193520,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:39:22] local.INFO: Acknowledgment sent {"connection_id":193520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:39:25] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:25] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:25] local.INFO: IMEI packet received {"connection_id":191978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":191978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:39:28] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:28] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:28] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:39:31] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:31] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:39:31] local.INFO: IMEI packet received {"connection_id":191978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":191978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:39:32] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:32] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:39:32] local.INFO: Packet analysis {"connection_id":191978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:39:32] local.INFO: Extracted packet for processing {"connection_id":191978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:39: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-25 09:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":191978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:39:32] local.INFO: GPS data processed {"connection_id":191978,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:39:32] local.INFO: Acknowledgment sent {"connection_id":191978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:39:33] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:33] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:39:33] local.INFO: IMEI packet received {"connection_id":191979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":191979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:39:34] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bef550012d7d358005ec13680004015824..."} 
[2026-09-25 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bef550012d7d358005ec13680004015824..."} 
[2026-09-25 09:39:34] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bef550012d7d358005ec13680004015824..."} 
[2026-09-25 09:39:34] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:39:34] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6be"} 
[2026-09-25 09:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357544,"longitude_deg":76.3180416,"latitude_deg":9.9357544,"altitude":4,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec1368","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319158528001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799749138710528,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430543360,"note":"Value kept but may cause issues"} 
[2026-09-25 09:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309234000,"timestamp_ms":1790309234000,"timestamp_seconds":1790309234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bef550"} 
[2026-09-25 09: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-25 09:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-25 09:39:34] 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-25 09: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-25 09: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-25 09:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319158528001,"66":12906,"110":206,"87":13824,"24":0,"16":135799749138710528,"45":9022258191430543360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319158528001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799749138710528,"km_value":135799749138710.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430543360,"description":"Unknown IO ID 45"} 
[2026-09-25 09:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319158528001,"power":12906,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430543360}} 
[2026-09-25 09:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:39:34] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:39:34] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:03] local.INFO: TCP Data received {"connection_id":191978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:03] local.INFO: Processing buffer {"connection_id":191978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bcbee8012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:03] local.INFO: Packet analysis {"connection_id":191978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:40:03] local.INFO: Extracted packet for processing {"connection_id":191978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bc"} 
[2026-09-25 09:40: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40: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-25 09:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309089000,"timestamp_ms":1790309089000,"timestamp_seconds":1790309089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bcbee8"} 
[2026-09-25 09:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 09:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319049728001,"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-25 09:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:40: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-25 09:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319049728001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":191978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:03] local.INFO: GPS data processed {"connection_id":191978,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:03] local.INFO: Acknowledgment sent {"connection_id":191978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:06] local.INFO: TCP Data received {"connection_id":191979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf0108012d7d35c005ec13480004010722..."} 
[2026-09-25 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf0108012d7d35c005ec13480004010722..."} 
[2026-09-25 09:40:06] local.INFO: Processing buffer {"connection_id":191979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf0108012d7d35c005ec13480004010722..."} 
[2026-09-25 09:40:06] local.INFO: Packet analysis {"connection_id":191979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:40:06] local.INFO: Extracted packet for processing {"connection_id":191979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357512,"longitude_deg":76.318048,"latitude_deg":9.9357512,"altitude":4,"angle":263,"satellites":34,"speed":2,"hex_longitude":"2d7d35c0","hex_latitude":"05ec1348","is_valid_coordinates":true} 
[2026-09-25 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-25 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319163904001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799753433677824,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430543360,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309237000,"timestamp_ms":1790309237000,"timestamp_seconds":1790309237,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf0108"} 
[2026-09-25 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-25 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-25 09:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319163904001,"66":13059,"110":206,"87":13824,"24":2,"16":135799753433677824,"45":9022258191430543360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319163904001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:40:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799753433677824,"km_value":135799753433677.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430543360,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319163904001,"power":13059,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022258191430543360}} 
[2026-09-25 09:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":191979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:06] local.INFO: GPS data processed {"connection_id":191979,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:06] local.INFO: Acknowledgment sent {"connection_id":191979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:07] local.INFO: TCP Data received {"connection_id":194838,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194838,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:07] local.INFO: Processing buffer {"connection_id":194838,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:07] local.INFO: IMEI packet received {"connection_id":194838,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":194838,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:40:09] local.INFO: TCP Data received {"connection_id":194838,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194838,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:09] local.INFO: Processing buffer {"connection_id":194838,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:40:09] local.INFO: IMEI packet received {"connection_id":194838,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":194838,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:40:10] local.INFO: TCP Data received {"connection_id":194838,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c11448012d0cd6000704c1680021006221..."} 
[2026-09-25 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c11448012d0cd6000704c1680021006221..."} 
[2026-09-25 09:40:10] local.INFO: Processing buffer {"connection_id":194838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c11448012d0cd6000704c1680021006221..."} 
[2026-09-25 09:40:10] local.INFO: Packet analysis {"connection_id":194838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:10] local.INFO: Extracted packet for processing {"connection_id":194838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":755815936,"raw_latitude":117752168,"longitude_deg":75.5815936,"latitude_deg":11.7752168,"altitude":33,"angle":98,"satellites":33,"speed":39,"hex_longitude":"2d0cd600","hex_latitude":"0704c168","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319197952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33803389779312640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918593616639576064,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790309373000,"timestamp_ms":1790309373000,"timestamp_seconds":1790309373,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c11448"} 
[2026-09-25 09: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-25 09:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09: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-25 09: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-25 09: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-25 09:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319197952001,"66":14428,"85":206,"28":32256,"24":39,"16":33803389779312640,"45":918593616639576064},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,28,24,16,45]} 
[2026-09-25 09:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319197952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 09:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33803389779312640,"km_value":33803389779312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":918593616639576064,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319197952001,"power":14428,"unknown_85":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":918593616639576064}} 
[2026-09-25 09:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":194838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:10] local.INFO: GPS data processed {"connection_id":194838,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:10] local.INFO: Acknowledgment sent {"connection_id":194838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:11] local.INFO: TCP Data received {"connection_id":194838,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c123e8012d0ce3800704c0200021005621..."} 
[2026-09-25 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c123e8012d0ce3800704c0200021005621..."} 
[2026-09-25 09:40:11] local.INFO: Processing buffer {"connection_id":194838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c123e8012d0ce3800704c0200021005621..."} 
[2026-09-25 09:40:11] local.INFO: Packet analysis {"connection_id":194838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:11] local.INFO: Extracted packet for processing {"connection_id":194838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":755819392,"raw_latitude":117751840,"longitude_deg":75.5819392,"latitude_deg":11.775184,"altitude":33,"angle":86,"satellites":33,"speed":25,"hex_longitude":"2d0ce380","hex_latitude":"0704c020","is_valid_coordinates":true} 
[2026-09-25 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319199488001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33803552988069888,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":924926803615770624,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790309377000,"timestamp_ms":1790309377000,"timestamp_seconds":1790309377,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c123e8"} 
[2026-09-25 09:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:40:11] 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-25 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319199488001,"66":14407,"85":206,"28":32256,"24":25,"16":33803552988069888,"45":924926803615770624},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,28,24,16,45]} 
[2026-09-25 09:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319199488001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 09:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33803552988069888,"km_value":33803552988069.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":924926803615770624,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319199488001,"power":14407,"unknown_85":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":924926803615770624}} 
[2026-09-25 09:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":194838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:11] local.INFO: GPS data processed {"connection_id":194838,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:11] local.INFO: Acknowledgment sent {"connection_id":194838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:26] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:26] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:26] local.INFO: IMEI packet received {"connection_id":193521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":193521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:40:28] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:28] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:28] local.INFO: IMEI packet received {"connection_id":193521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":193521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:40:28] local.INFO: TCP Data received {"connection_id":194840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:28] local.INFO: Processing buffer {"connection_id":194840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:28] local.INFO: IMEI packet received {"connection_id":194840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":194840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:40:31] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:31] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:40:31] local.INFO: IMEI packet received {"connection_id":193521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":193521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:40:32] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:32] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:40:32] local.INFO: Packet analysis {"connection_id":193521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:32] local.INFO: Extracted packet for processing {"connection_id":193521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:40:32] 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-25 09:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":193521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:32] local.INFO: GPS data processed {"connection_id":193521,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:32] local.INFO: Acknowledgment sent {"connection_id":193521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:33] local.INFO: TCP Data received {"connection_id":194840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:33] local.INFO: Processing buffer {"connection_id":194840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:40:33] local.INFO: IMEI packet received {"connection_id":194840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":194840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:40:34] local.INFO: TCP Data received {"connection_id":194840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf0cc0012d7d350005ec1348000401131d..."} 
[2026-09-25 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf0cc0012d7d350005ec1348000401131d..."} 
[2026-09-25 09:40:34] local.INFO: Processing buffer {"connection_id":194840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf0cc0012d7d350005ec1348000401131d..."} 
[2026-09-25 09:40:34] local.INFO: Packet analysis {"connection_id":194840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:40:34] local.INFO: Extracted packet for processing {"connection_id":194840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99357512,"longitude_deg":76.3180288,"latitude_deg":9.9357512,"altitude":4,"angle":275,"satellites":29,"speed":2,"hex_longitude":"2d7d3500","hex_latitude":"05ec1348","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319164672001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799762023612416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174712832,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309240000,"timestamp_ms":1790309240000,"timestamp_seconds":1790309240,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf0cc0"} 
[2026-09-25 09: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-25 09:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007881,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3602755864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3189411841,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-25 09:40:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1879125373,"corrected_to":0} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221613587,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,117,160,245,45,128,19,4,36,10,66,163,31,81,192,1,240,46,227,214,236,113,205,204,53,176,26,239,49,2,226,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":204,"original":1879125373,"validated":0}]} 
[2026-09-25 09:40:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288519693738835968,"timestamp_seconds":288519693738835.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319164672001,"66":12906,"110":206,"87":13824,"24":2,"16":135799762023612416,"45":9022328560174712832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319164672001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:40:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799762023612416,"km_value":135799762023612.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174712832,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319164672001,"power":12906,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022328560174712832}} 
[2026-09-25 09:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":194840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:34] local.INFO: GPS data processed {"connection_id":194840,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:34] local.INFO: Acknowledgment sent {"connection_id":194840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:40:43] local.INFO: TCP Data received {"connection_id":194838,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c13770012d0ceb400704c0a80020006321..."} 
[2026-09-25 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c13770012d0ceb400704c0a80020006321..."} 
[2026-09-25 09:40:43] local.INFO: Processing buffer {"connection_id":194838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c13770012d0ceb400704c0a80020006321..."} 
[2026-09-25 09:40:43] local.INFO: Packet analysis {"connection_id":194838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:43] local.INFO: Extracted packet for processing {"connection_id":194838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:40:43] local.INFO: GPS Element Parsed {"raw_longitude":755821376,"raw_latitude":117751976,"longitude_deg":75.5821376,"latitude_deg":11.7751976,"altitude":32,"angle":99,"satellites":33,"speed":16,"hex_longitude":"2d0ceb40","hex_latitude":"0704c0a8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319200512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33803647477350400,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928726715801280512,"note":"Value kept but may cause issues"} 
[2026-09-25 09:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790309382000,"timestamp_ms":1790309382000,"timestamp_seconds":1790309382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c13770"} 
[2026-09-25 09: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-25 09:40: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-25 09: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":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:40: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-25 09: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-25 09: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-25 09:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":194838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":194838,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319200512001,"66":14428,"18":206,"28":32256,"24":16,"16":33803647477350400,"45":928726715801280512},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-25 09:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319200512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:40:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 09:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33803647477350400,"km_value":33803647477350.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":928726715801280512,"description":"Unknown IO ID 45"} 
[2026-09-25 09:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319200512001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":928726715801280512}} 
[2026-09-25 09:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":194838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:40:43] local.INFO: GPS data processed {"connection_id":194838,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:40:43] local.INFO: Acknowledgment sent {"connection_id":194838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:41:02] local.INFO: TCP Data received {"connection_id":192169,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:02] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:02] local.INFO: IMEI packet received {"connection_id":192169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":192169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:41:04] local.INFO: TCP Data received {"connection_id":193521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:04] local.INFO: Processing buffer {"connection_id":193521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:04] local.INFO: Packet analysis {"connection_id":193521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:41:04] local.INFO: Extracted packet for processing {"connection_id":193521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09: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-25 09: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-25 09:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09: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-25 09:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:41: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-25 09: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-25 09: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-25 09:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:41: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-25 09:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":193521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:41:04] local.INFO: GPS data processed {"connection_id":193521,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:41:04] local.INFO: Acknowledgment sent {"connection_id":193521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:41:05] local.INFO: TCP Data received {"connection_id":192169,"ip":"117.225.190.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:05] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:41:05] local.INFO: IMEI packet received {"connection_id":192169,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":192169,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:41:05] local.INFO: TCP Data received {"connection_id":194840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf2fe8012d7d34c005ec1340000400731e..."} 
[2026-09-25 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf2fe8012d7d34c005ec1340000400731e..."} 
[2026-09-25 09:41:05] local.INFO: Processing buffer {"connection_id":194840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf2fe8012d7d34c005ec1340000400731e..."} 
[2026-09-25 09:41:05] local.INFO: Packet analysis {"connection_id":194840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:41:05] local.INFO: Extracted packet for processing {"connection_id":194840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99357504,"longitude_deg":76.3180224,"latitude_deg":9.9357504,"altitude":4,"angle":115,"satellites":30,"speed":1,"hex_longitude":"2d7d34c0","hex_latitude":"05ec1340","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319165440001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799770613547008,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453942179840,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309249000,"timestamp_ms":1790309249000,"timestamp_seconds":1790309249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf2fe8"} 
[2026-09-25 09: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-25 09:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-09-25 09:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319165440001,"66":12917,"110":206,"87":13824,"24":1,"16":135799770613547008,"45":9022117453942179840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 09:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319165440001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:41:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 09:41:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799770613547008,"km_value":135799770613547.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453942179840,"description":"Unknown IO ID 45"} 
[2026-09-25 09:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319165440001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022117453942179840}} 
[2026-09-25 09:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":194840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:41:05] local.INFO: GPS data processed {"connection_id":194840,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:41:05] local.INFO: Acknowledgment sent {"connection_id":194840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:41:07] local.INFO: TCP Data received {"connection_id":192169,"ip":"117.225.190.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c1d3b0012d0d3a800704b780001a00ba21..."} 
[2026-09-25 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c1d3b0012d0d3a800704b780001a00ba21..."} 
[2026-09-25 09:41:07] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c1d3b0012d0d3a800704b780001a00ba21..."} 
[2026-09-25 09:41:07] local.INFO: Packet analysis {"connection_id":192169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:41:07] local.INFO: Extracted packet for processing {"connection_id":192169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117749632,"longitude_deg":75.5841664,"latitude_deg":11.7749632,"altitude":26,"angle":186,"satellites":33,"speed":17,"hex_longitude":"2d0d3a80","hex_latitude":"0704b780","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319211520001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33804686859436032,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038774740992,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309422000,"timestamp_ms":1790309422000,"timestamp_seconds":1790309422,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c1d3b0"} 
[2026-09-25 09: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-25 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 09:41:07] 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-25 09: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-25 09: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-25 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192169,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.190.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319211520001,"66":14428,"18":206,"28":32256,"24":17,"16":33804686859436032,"45":953215038774740992},"client_ip":"117.225.190.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-09-25 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319211520001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:41:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 09:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33804686859436032,"km_value":33804686859436.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038774740992,"description":"Unknown IO ID 45"} 
[2026-09-25 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319211520001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":953215038774740992}} 
[2026-09-25 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":192169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:41:07] local.INFO: GPS data processed {"connection_id":192169,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:41:07] local.INFO: Acknowledgment sent {"connection_id":192169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:41:26] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:26] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:26] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:41:28] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:28] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:28] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:41:31] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:31] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:41:31] local.INFO: IMEI packet received {"connection_id":191980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":191980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:41:32] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:32] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:41:32] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:41:32] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:41:32] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:41:32] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:41:33] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:33] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:41:33] local.INFO: IMEI packet received {"connection_id":191981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":191981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:41:34] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf81f0012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf81f0012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:41:34] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf81f0012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:41:34] local.INFO: Packet analysis {"connection_id":191981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:41:34] local.INFO: Extracted packet for processing {"connection_id":191981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":4,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319167744001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047085198000128,"note":"Value kept but may cause issues"} 
[2026-09-25 09:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309270000,"timestamp_ms":1790309270000,"timestamp_seconds":1790309270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf81f0"} 
[2026-09-25 09: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-25 09:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-25 09:41:34] 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-25 09: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-25 09: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-25 09:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319167744001,"66":12993,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022047085198000128},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319167744001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:41:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:41:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047085198000128,"description":"Unknown IO ID 45"} 
[2026-09-25 09:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319167744001,"power":12993,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022047085198000128}} 
[2026-09-25 09:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":191981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:41:34] local.INFO: GPS data processed {"connection_id":191981,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:41:34] local.INFO: Acknowledgment sent {"connection_id":191981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:42:03] local.INFO: TCP Data received {"connection_id":191980,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:03] local.INFO: Processing buffer {"connection_id":191980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:03] local.INFO: Packet analysis {"connection_id":191980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:42:03] local.INFO: Extracted packet for processing {"connection_id":191980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:42: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42: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-25 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:42: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-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":191980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:42:03] local.INFO: GPS data processed {"connection_id":191980,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:42:03] local.INFO: Acknowledgment sent {"connection_id":191980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:42:05] local.INFO: TCP Data received {"connection_id":191981,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:05] local.INFO: Processing buffer {"connection_id":191981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:05] local.INFO: Packet analysis {"connection_id":191981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:42:05] local.INFO: Extracted packet for processing {"connection_id":191981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":4,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-25 09:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319173120001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309274000,"timestamp_ms":1790309274000,"timestamp_seconds":1790309274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf9190"} 
[2026-09-25 09: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-25 09:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-25 09:42:05] 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-25 09: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-25 09: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-25 09:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319173120001,"66":13080,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319173120001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:42:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:42:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319173120001,"power":13080,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":191981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:42:05] local.INFO: GPS data processed {"connection_id":191981,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:42:05] local.INFO: Acknowledgment sent {"connection_id":191981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:42:20] local.INFO: TCP Data received {"connection_id":194841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:42:20] local.INFO: Processing buffer {"connection_id":194841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:42:20] local.INFO: IMEI packet received {"connection_id":194841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":194841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:42:25] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:25] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:25] local.INFO: IMEI packet received {"connection_id":192171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":192171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:42:28] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:28] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:28] local.INFO: IMEI packet received {"connection_id":191982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":191982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:42:31] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:31] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:42:31] local.INFO: IMEI packet received {"connection_id":192171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":192171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:42:32] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:32] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:42:32] local.INFO: Packet analysis {"connection_id":192171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:42:32] local.INFO: Extracted packet for processing {"connection_id":192171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:42: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-25 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":192171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:42:32] local.INFO: GPS data processed {"connection_id":192171,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:42:32] local.INFO: Acknowledgment sent {"connection_id":192171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:42:33] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:33] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:42:33] local.INFO: IMEI packet received {"connection_id":191982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":191982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:42:34] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:34] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6bf9190012d7d358005ec12e8000400701f..."} 
[2026-09-25 09:42:34] local.INFO: Packet analysis {"connection_id":191982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:42:34] local.INFO: Extracted packet for processing {"connection_id":191982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6bf"} 
[2026-09-25 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99357416,"longitude_deg":76.3180416,"latitude_deg":9.9357416,"altitude":4,"angle":112,"satellites":31,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec12e8","is_valid_coordinates":true} 
[2026-09-25 09:42:34] 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-25 09:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309274000,"timestamp_ms":1790309274000,"timestamp_seconds":1790309274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6bf9190"} 
[2026-09-25 09: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-25 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:42:34] 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-25 09: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-25 09: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-25 09:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":13080,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:42:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:42:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":13080,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":191982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:42:34] local.INFO: GPS data processed {"connection_id":191982,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:42:34] local.INFO: Acknowledgment sent {"connection_id":191982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:42:42] local.INFO: TCP Data received {"connection_id":193522,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193522,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:42:42] local.INFO: Processing buffer {"connection_id":193522,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:42:42] local.INFO: IMEI packet received {"connection_id":193522,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":193522,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:43:03] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:03] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:03] local.INFO: Packet analysis {"connection_id":192171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:43:03] local.INFO: Extracted packet for processing {"connection_id":192171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09: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-25 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:43:03] local.INFO: GPS data processed {"connection_id":192171,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:43:03] local.INFO: Acknowledgment sent {"connection_id":192171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:43:04] local.INFO: TCP Data received {"connection_id":194842,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:43:04] local.INFO: Processing buffer {"connection_id":194842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:43:04] local.INFO: IMEI packet received {"connection_id":194842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":194842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:43:06] local.INFO: TCP Data received {"connection_id":191982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:06] local.INFO: Processing buffer {"connection_id":191982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:06] local.INFO: Packet analysis {"connection_id":191982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:43:06] local.INFO: Extracted packet for processing {"connection_id":191982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 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-25 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:43:06] 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-25 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-25 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-25 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":191982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:43:06] local.INFO: GPS data processed {"connection_id":191982,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:43:06] local.INFO: Acknowledgment sent {"connection_id":191982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:43:11] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:11] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:11] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:43:17] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:17] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:43:17] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:43:17] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c37d78012d0d25c007043370001100bf21..."} 
[2026-09-25 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c37d78012d0d25c007043370001100bf21..."} 
[2026-09-25 09:43:17] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c37d78012d0d25c007043370001100bf21..."} 
[2026-09-25 09:43:17] local.INFO: Packet analysis {"connection_id":192172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c3"} 
[2026-09-25 09:43:17] local.INFO: Extracted packet for processing {"connection_id":192172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c3"} 
[2026-09-25 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":755836352,"raw_latitude":117715824,"longitude_deg":75.5836352,"latitude_deg":11.7715824,"altitude":17,"angle":191,"satellites":33,"speed":11,"hex_longitude":"2d0d25c0","hex_latitude":"07043370","is_valid_coordinates":true} 
[2026-09-25 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319238656001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33806361896681472,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947867014208669696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43: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-25 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790309531000,"timestamp_ms":1790309531000,"timestamp_seconds":1790309531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c37d78"} 
[2026-09-25 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319238656001,"66":14537,"17":206,"94":11008,"24":11,"16":33806361896681472,"45":947867014208669696},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319238656001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33806361896681472,"km_value":33806361896681.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":947867014208669696,"description":"Unknown IO ID 45"} 
[2026-09-25 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319238656001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":947867014208669696}} 
[2026-09-25 09:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":192172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:43:18] local.INFO: GPS data processed {"connection_id":192172,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:43:18] local.INFO: Acknowledgment sent {"connection_id":192172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:43:26] local.INFO: TCP Data received {"connection_id":194843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:26] local.INFO: Processing buffer {"connection_id":194843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:26] local.INFO: IMEI packet received {"connection_id":194843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":194843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:43:31] local.INFO: TCP Data received {"connection_id":194843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:31] local.INFO: Processing buffer {"connection_id":194843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:43:31] local.INFO: IMEI packet received {"connection_id":194843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":194843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:43:32] local.INFO: TCP Data received {"connection_id":194843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:32] local.INFO: Processing buffer {"connection_id":194843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:43:32] local.INFO: Packet analysis {"connection_id":194843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:43:32] local.INFO: Extracted packet for processing {"connection_id":194843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:43: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-25 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":194843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:43:32] local.INFO: GPS data processed {"connection_id":194843,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:43:32] local.INFO: Acknowledgment sent {"connection_id":194843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:43:33] local.INFO: TCP Data received {"connection_id":194844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:33] local.INFO: Processing buffer {"connection_id":194844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:33] local.INFO: IMEI packet received {"connection_id":194844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":194844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:43:38] local.INFO: TCP Data received {"connection_id":194844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:38] local.INFO: Processing buffer {"connection_id":194844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:43:38] local.INFO: IMEI packet received {"connection_id":194844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":194844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:43:39] local.INFO: TCP Data received {"connection_id":194844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:39] local.INFO: Processing buffer {"connection_id":194844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:43:39] local.INFO: Packet analysis {"connection_id":194844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:43:39] local.INFO: Extracted packet for processing {"connection_id":194844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:43:39] 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-25 09: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-25 09: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-25 09:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:43:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:43:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":194844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:43:39] local.INFO: GPS data processed {"connection_id":194844,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:43:39] local.INFO: Acknowledgment sent {"connection_id":194844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:01] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:01] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:01] local.INFO: IMEI packet received {"connection_id":193524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":193524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:44:03] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:03] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:03] local.INFO: IMEI packet received {"connection_id":193524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":193524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:44:04] local.INFO: TCP Data received {"connection_id":194843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:04] local.INFO: Processing buffer {"connection_id":194843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:04] local.INFO: Packet analysis {"connection_id":194843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:44:04] local.INFO: Extracted packet for processing {"connection_id":194843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:44: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-25 09:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44: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-25 09:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:44: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-25 09:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:44: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-25 09:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:44: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-25 09:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":194843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:04] local.INFO: GPS data processed {"connection_id":194843,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:04] local.INFO: Acknowledgment sent {"connection_id":194843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:07] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:07] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:44:07] local.INFO: IMEI packet received {"connection_id":193524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":193524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:44:07] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c38548012d0d258007043130001100af21..."} 
[2026-09-25 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c38548012d0d258007043130001100af21..."} 
[2026-09-25 09:44:07] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c38548012d0d258007043130001100af21..."} 
[2026-09-25 09:44:07] local.INFO: Packet analysis {"connection_id":193524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c3"} 
[2026-09-25 09:44:07] local.INFO: Extracted packet for processing {"connection_id":193524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c3"} 
[2026-09-25 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117715248,"longitude_deg":75.5836288,"latitude_deg":11.7715248,"altitude":17,"angle":175,"satellites":33,"speed":10,"hex_longitude":"2d0d2580","hex_latitude":"07043130","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319239936001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33806391961452544,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947374432999141376,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:07] 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-25 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309533000,"timestamp_ms":1790309533000,"timestamp_seconds":1790309533,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c38548"} 
[2026-09-25 09: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-25 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:44:07] 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-25 09: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-25 09: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-25 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319239936001,"66":14439,"17":206,"94":11008,"24":10,"16":33806391961452544,"45":947374432999141376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319239936001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33806391961452544,"km_value":33806391961452.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":947374432999141376,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319239936001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":947374432999141376}} 
[2026-09-25 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":193524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:07] local.INFO: GPS data processed {"connection_id":193524,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:07] local.INFO: Acknowledgment sent {"connection_id":193524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:10] local.INFO: TCP Data received {"connection_id":194844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:10] local.INFO: Processing buffer {"connection_id":194844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:10] local.INFO: Packet analysis {"connection_id":194844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:44:10] local.INFO: Extracted packet for processing {"connection_id":194844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:44:10] 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-25 09: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-25 09: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-25 09:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":194844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":194844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":194844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:44:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":194844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:10] local.INFO: GPS data processed {"connection_id":194844,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:10] local.INFO: Acknowledgment sent {"connection_id":194844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:25] local.INFO: TCP Data received {"connection_id":192173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:25] local.INFO: Processing buffer {"connection_id":192173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:25] local.INFO: IMEI packet received {"connection_id":192173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":192173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:44:28] local.INFO: TCP Data received {"connection_id":194845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:28] local.INFO: Processing buffer {"connection_id":194845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:28] local.INFO: IMEI packet received {"connection_id":194845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":194845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:44:31] local.INFO: TCP Data received {"connection_id":192173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:31] local.INFO: Processing buffer {"connection_id":192173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:44:31] local.INFO: IMEI packet received {"connection_id":192173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":192173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:44:32] local.INFO: TCP Data received {"connection_id":192173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:32] local.INFO: Processing buffer {"connection_id":192173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:44:32] local.INFO: Packet analysis {"connection_id":192173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:44:32] local.INFO: Extracted packet for processing {"connection_id":192173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:44: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-25 09:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":192173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:32] local.INFO: GPS data processed {"connection_id":192173,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:32] local.INFO: Acknowledgment sent {"connection_id":192173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:33] local.INFO: TCP Data received {"connection_id":194845,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:33] local.INFO: Processing buffer {"connection_id":194845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:44:33] local.INFO: IMEI packet received {"connection_id":194845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":194845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:44:34] local.INFO: TCP Data received {"connection_id":194845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:34] local.INFO: Processing buffer {"connection_id":194845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:44:34] local.INFO: Packet analysis {"connection_id":194845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:44:34] local.INFO: Extracted packet for processing {"connection_id":194845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:44:34] 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-25 09: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-25 09: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-25 09:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:44:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":194845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:34] local.INFO: GPS data processed {"connection_id":194845,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:34] local.INFO: Acknowledgment sent {"connection_id":194845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:44:38] local.INFO: TCP Data received {"connection_id":193524,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c54a68012d0d2c800703cd680013014c21..."} 
[2026-09-25 09:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c54a68012d0d2c800703cd680013014c21..."} 
[2026-09-25 09:44:38] local.INFO: Processing buffer {"connection_id":193524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c54a68012d0d2c800703cd680013014c21..."} 
[2026-09-25 09:44:38] local.INFO: Packet analysis {"connection_id":193524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:44:38] local.INFO: Extracted packet for processing {"connection_id":193524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689704,"longitude_deg":75.583808,"latitude_deg":11.7689704,"altitude":19,"angle":332,"satellites":33,"speed":6,"hex_longitude":"2d0d2c80","hex_latitude":"0703cd68","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319269632001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33807770645954560,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061911040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:44:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 09:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790309649000,"timestamp_ms":1790309649000,"timestamp_seconds":1790309649,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c54a68"} 
[2026-09-25 09: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-25 09:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 09:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319269632001,"66":14428,"16":33807770645954560,"94":11008,"24":6,"45":949555864061911040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319269632001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33807770645954560,"km_value":33807770645954.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:44:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061911040,"description":"Unknown IO ID 45"} 
[2026-09-25 09:44:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319269632001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":949555864061911040}} 
[2026-09-25 09:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":193524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:44:39] local.INFO: GPS data processed {"connection_id":193524,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:44:39] local.INFO: Acknowledgment sent {"connection_id":193524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:01] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:01] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:01] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:45:03] local.INFO: TCP Data received {"connection_id":192173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:45:03] local.INFO: Processing buffer {"connection_id":192173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c156b0012d34c14006aa4940000900f52d..."} 
[2026-09-25 09:45:03] local.INFO: Packet analysis {"connection_id":192173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:45:03] local.INFO: Extracted packet for processing {"connection_id":192173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c1"} 
[2026-09-25 09:45: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319126784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45: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-25 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309390000,"timestamp_ms":1790309390000,"timestamp_seconds":1790309390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c156b0"} 
[2026-09-25 09:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319126784001,"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-25 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319126784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:45: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-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319126784001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":192173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:03] local.INFO: GPS data processed {"connection_id":192173,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:03] local.INFO: Acknowledgment sent {"connection_id":192173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:04] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:04] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:04] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:45:05] local.INFO: TCP Data received {"connection_id":194845,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:05] local.INFO: Processing buffer {"connection_id":194845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:05] local.INFO: Packet analysis {"connection_id":194845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:45:05] local.INFO: Extracted packet for processing {"connection_id":194845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:45:05] 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-25 09: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-25 09: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-25 09:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":194845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:05] local.INFO: GPS data processed {"connection_id":194845,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:05] local.INFO: Acknowledgment sent {"connection_id":194845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:06] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:06] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:45:06] local.INFO: IMEI packet received {"connection_id":191983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":191983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:45:07] local.INFO: TCP Data received {"connection_id":191983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c55238012d0d2c400703cef80013016320..."} 
[2026-09-25 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c55238012d0d2c400703cef80013016320..."} 
[2026-09-25 09:45:07] local.INFO: Processing buffer {"connection_id":191983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c55238012d0d2c400703cef80013016320..."} 
[2026-09-25 09:45:07] local.INFO: Packet analysis {"connection_id":191983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45:07] local.INFO: Extracted packet for processing {"connection_id":191983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117690104,"longitude_deg":75.5838016,"latitude_deg":11.7690104,"altitude":19,"angle":355,"satellites":32,"speed":11,"hex_longitude":"2d0d2c40","hex_latitude":"0703cef8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319270144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33807792120791040,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085251584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:07] 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-25 09:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309651000,"timestamp_ms":1790309651000,"timestamp_seconds":1790309651,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c55238"} 
[2026-09-25 09: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-25 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319270144001,"66":14450,"16":33807792120791040,"94":11008,"24":11,"45":949274389085251584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319270144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33807792120791040,"km_value":33807792120791.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:45:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085251584,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319270144001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":949274389085251584}} 
[2026-09-25 09:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":191983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:07] local.INFO: GPS data processed {"connection_id":191983,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:07] local.INFO: Acknowledgment sent {"connection_id":191983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:28] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:28] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:28] local.INFO: IMEI packet received {"connection_id":193527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":193527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:45:29] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:29] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:29] local.INFO: IMEI packet received {"connection_id":193528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":193528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:45:30] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:30] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:30] local.INFO: IMEI packet received {"connection_id":193528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:45:33] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:33] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:45:33] local.INFO: IMEI packet received {"connection_id":193527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":193527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:45:35] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:35] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:45:35] local.INFO: Packet analysis {"connection_id":193527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:45:35] local.INFO: Extracted packet for processing {"connection_id":193527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 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-25 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:45:35] 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-25 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-25 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-25 09:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":193527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:35] local.INFO: GPS data processed {"connection_id":193527,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:35] local.INFO: Acknowledgment sent {"connection_id":193527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:36] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:36] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:45:36] local.INFO: IMEI packet received {"connection_id":193528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":193528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:45:37] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:37] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:37] local.INFO: Packet analysis {"connection_id":193528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45:37] local.INFO: Extracted packet for processing {"connection_id":193528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:45: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-25 09:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45: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-25 09:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:45: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-25 09:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":193528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:37] local.INFO: GPS data processed {"connection_id":193528,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:37] local.INFO: Acknowledgment sent {"connection_id":193528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:45:41] local.INFO: TCP Data received {"connection_id":193528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:41] local.INFO: Processing buffer {"connection_id":193528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:45:41] local.INFO: Packet analysis {"connection_id":193528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45:41] local.INFO: Extracted packet for processing {"connection_id":193528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:45: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-25 09: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-25 09:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09: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-25 09:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:45: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-25 09:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":193528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:45:41] local.INFO: GPS data processed {"connection_id":193528,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:45:41] local.INFO: Acknowledgment sent {"connection_id":193528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:46:06] local.INFO: TCP Data received {"connection_id":193527,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:06] local.INFO: Processing buffer {"connection_id":193527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:06] local.INFO: Packet analysis {"connection_id":193527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:46:06] local.INFO: Extracted packet for processing {"connection_id":193527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 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-25 09:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:46:06] 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-25 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-25 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-25 09:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:46:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:46:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":193527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:46:06] local.INFO: GPS data processed {"connection_id":193527,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:46:06] local.INFO: Acknowledgment sent {"connection_id":193527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:46:26] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:26] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:26] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:46:28] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:28] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:28] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:46:31] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:31] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:46:31] local.INFO: IMEI packet received {"connection_id":191985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":191985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:46:32] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:46:32] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:46:32] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:46:32] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:46:32] 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-25 09:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:46: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-25 09:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:46:32] local.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-25 09:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:46:32] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:46:32] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:46:33] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:33] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:46:33] local.INFO: IMEI packet received {"connection_id":191986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":191986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:46:34] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:34] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:46:34] local.INFO: Packet analysis {"connection_id":191986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:46:34] local.INFO: Extracted packet for processing {"connection_id":191986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:46:34] 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-25 09: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-25 09: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-25 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":191986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:46:34] local.INFO: GPS data processed {"connection_id":191986,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:46:34] local.INFO: Acknowledgment sent {"connection_id":191986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:46:44] local.INFO: TCP Data received {"connection_id":191987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:44] local.INFO: Processing buffer {"connection_id":191987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:44] local.INFO: IMEI packet received {"connection_id":191987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":191987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:46:56] local.INFO: TCP Data received {"connection_id":194846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:56] local.INFO: Processing buffer {"connection_id":194846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:56] local.INFO: IMEI packet received {"connection_id":194846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":194846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:46:57] local.INFO: TCP Data received {"connection_id":194846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:57] local.INFO: Processing buffer {"connection_id":194846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:46:57] local.INFO: IMEI packet received {"connection_id":194846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":194846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:47:02] local.INFO: TCP Data received {"connection_id":194846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:47:02] local.INFO: Processing buffer {"connection_id":194846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:47:02] local.INFO: IMEI packet received {"connection_id":194846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":194846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:47:02] local.INFO: TCP Data received {"connection_id":194846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c707b8012d0d2dc007045be00014000b20..."} 
[2026-09-25 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c707b8012d0d2dc007045be00014000b20..."} 
[2026-09-25 09:47:02] local.INFO: Processing buffer {"connection_id":194846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c707b8012d0d2dc007045be00014000b20..."} 
[2026-09-25 09:47:02] local.INFO: Packet analysis {"connection_id":194846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c7"} 
[2026-09-25 09:47:02] local.INFO: Extracted packet for processing {"connection_id":194846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c7"} 
[2026-09-25 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117726176,"longitude_deg":75.58384,"latitude_deg":11.7726176,"altitude":20,"angle":11,"satellites":32,"speed":15,"hex_longitude":"2d0d2dc0","hex_latitude":"07045be0","is_valid_coordinates":true} 
[2026-09-25 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319294208001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33809574532218880,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226674339840,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:02] 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-25 09:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790309763000,"timestamp_ms":1790309763000,"timestamp_seconds":1790309763,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c707b8"} 
[2026-09-25 09:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:02] 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-25 09:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319294208001,"66":14428,"95":206,"94":10240,"24":15,"16":33809574532218880,"45":948289226674339840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319294208001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33809574532218880,"km_value":33809574532218.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226674339840,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319294208001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":948289226674339840}} 
[2026-09-25 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":194846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:03] local.INFO: GPS data processed {"connection_id":194846,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:03] local.INFO: Acknowledgment sent {"connection_id":194846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:47:03] local.INFO: TCP Data received {"connection_id":191985,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:03] local.INFO: Processing buffer {"connection_id":191985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:03] local.INFO: Packet analysis {"connection_id":191985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:47:03] local.INFO: Extracted packet for processing {"connection_id":191985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:47: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47: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-25 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:47:03] local.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-25 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:47: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-25 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":191985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:03] local.INFO: GPS data processed {"connection_id":191985,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:03] local.INFO: Acknowledgment sent {"connection_id":191985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:47:05] local.INFO: TCP Data received {"connection_id":191986,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:05] local.INFO: Processing buffer {"connection_id":191986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:05] local.INFO: Packet analysis {"connection_id":191986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:47:05] local.INFO: Extracted packet for processing {"connection_id":191986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:05] 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-25 09: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-25 09: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-25 09:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:47:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":191986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:05] local.INFO: GPS data processed {"connection_id":191986,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:05] local.INFO: Acknowledgment sent {"connection_id":191986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:47:26] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:26] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:26] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:47:28] local.INFO: TCP Data received {"connection_id":194847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:28] local.INFO: Processing buffer {"connection_id":194847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:28] local.INFO: IMEI packet received {"connection_id":194847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":194847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:47:31] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:31] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:47:31] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:47:32] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:32] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:47:32] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:47:32] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:47:32] 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-25 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:47: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-25 09:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"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-25 09:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:32] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:32] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:47:33] local.INFO: TCP Data received {"connection_id":194847,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:33] local.INFO: Processing buffer {"connection_id":194847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:47:33] local.INFO: IMEI packet received {"connection_id":194847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":194847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:47:33] local.INFO: TCP Data received {"connection_id":194846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c84038012d0d37000704bc100019010a20..."} 
[2026-09-25 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c84038012d0d37000704bc100019010a20..."} 
[2026-09-25 09:47:33] local.INFO: Processing buffer {"connection_id":194846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c84038012d0d37000704bc100019010a20..."} 
[2026-09-25 09:47:33] local.INFO: Packet analysis {"connection_id":194846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:47:33] local.INFO: Extracted packet for processing {"connection_id":194846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117750800,"longitude_deg":75.5840768,"latitude_deg":11.77508,"altitude":25,"angle":266,"satellites":32,"speed":6,"hex_longitude":"2d0d3700","hex_latitude":"0704bc10","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319319552001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33810820072734720,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952370613844705280,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:33] 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-25 09:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790309843000,"timestamp_ms":1790309843000,"timestamp_seconds":1790309843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c84038"} 
[2026-09-25 09: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-25 09:47:33] 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-25 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319319552001,"66":14428,"17":206,"94":11008,"24":6,"16":33810820072734720,"45":952370613844705280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319319552001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33810820072734720,"km_value":33810820072734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":952370613844705280,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319319552001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":952370613844705280}} 
[2026-09-25 09:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":194846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:34] local.INFO: GPS data processed {"connection_id":194846,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:34] local.INFO: Acknowledgment sent {"connection_id":194846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:47:35] local.INFO: TCP Data received {"connection_id":194847,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:35] local.INFO: Processing buffer {"connection_id":194847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c42d40012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:47:35] local.INFO: Packet analysis {"connection_id":194847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:47:35] local.INFO: Extracted packet for processing {"connection_id":194847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c4"} 
[2026-09-25 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319174144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430510592,"note":"Value kept but may cause issues"} 
[2026-09-25 09:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790309576000,"timestamp_ms":1790309576000,"timestamp_seconds":1790309576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c42d40"} 
[2026-09-25 09: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-25 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 09:47:35] 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-25 09: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-25 09: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-25 09:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319174144001,"66":12809,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022258191430510592},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319174144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:47:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:47:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430510592,"description":"Unknown IO ID 45"} 
[2026-09-25 09:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319174144001,"power":12809,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430510592}} 
[2026-09-25 09:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":194847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:47:35] local.INFO: GPS data processed {"connection_id":194847,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:47:35] local.INFO: Acknowledgment sent {"connection_id":194847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:03] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:03] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:03] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:48:03] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:48: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48: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-25 09:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"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-25 09:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:48: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-25 09:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:03] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:03] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:06] local.INFO: TCP Data received {"connection_id":194847,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:06] local.INFO: Processing buffer {"connection_id":194847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:06] local.INFO: Packet analysis {"connection_id":194847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:06] local.INFO: Extracted packet for processing {"connection_id":194847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:48:06] 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-25 09:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319251456001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309872000,"timestamp_ms":1790309872000,"timestamp_seconds":1790309872,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8b180"} 
[2026-09-25 09: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-25 09:48:06] 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-25 09: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3602841864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-4686751871220763264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221302653,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1435689506924570588,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398497375637079,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,87,24,241,157,16,117,160,145,45,128,18,4,31,10,66,129,1,240,193,227,214,236,113,205,12,53,72,29,239,50,110,2,226,5,51,54,40],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-25 09:48:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288353671777878016,"timestamp_seconds":288353671777878.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 09: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-25 09:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319251456001,"66":12765,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319251456001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:48:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319251456001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":194847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:06] local.INFO: GPS data processed {"connection_id":194847,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:06] local.INFO: Acknowledgment sent {"connection_id":194847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:07] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:07] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:07] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:48:11] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:11] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:11] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:48:12] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:12] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:12] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:48:13] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:13] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:48:13] local.INFO: IMEI packet received {"connection_id":191988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":191988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:48:14] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c84808012d0d35400704bbc8001900fe20..."} 
[2026-09-25 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c84808012d0d35400704bbc8001900fe20..."} 
[2026-09-25 09:48:14] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c84808012d0d35400704bbc8001900fe20..."} 
[2026-09-25 09:48:14] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:14] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:14] local.INFO: GPS Element Parsed {"raw_longitude":755840320,"raw_latitude":117750728,"longitude_deg":75.584032,"latitude_deg":11.7750728,"altitude":25,"angle":254,"satellites":32,"speed":11,"hex_longitude":"2d0d3540","hex_latitude":"0704bbc8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319319808001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33810841547571200,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876356354048,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:14] 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-25 09:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790309845000,"timestamp_ms":1790309845000,"timestamp_seconds":1790309845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c84808"} 
[2026-09-25 09: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-25 09:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319319808001,"66":13722,"17":206,"94":11008,"24":11,"16":33810841547571200,"45":952229876356354048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319319808001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33810841547571200,"km_value":33810841547571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876356354048,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319319808001,"power":13722,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":952229876356354048}} 
[2026-09-25 09:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:14] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:14] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:25] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:25] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:25] local.INFO: IMEI packet received {"connection_id":191990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":191990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:48:28] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:28] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:28] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:48:31] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:31] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:48:31] local.INFO: IMEI packet received {"connection_id":191990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":191990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:48:32] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:32] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:48:32] local.INFO: Packet analysis {"connection_id":191990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:48:32] local.INFO: Extracted packet for processing {"connection_id":191990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:48:32] 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-25 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"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-25 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":191990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:32] local.INFO: GPS data processed {"connection_id":191990,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:32] local.INFO: Acknowledgment sent {"connection_id":191990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:33] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:33] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:48:33] local.INFO: IMEI packet received {"connection_id":191989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":191989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:48:34] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:34] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8b180012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:48:34] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:34] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309872000,"timestamp_ms":1790309872000,"timestamp_seconds":1790309872,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8b180"} 
[2026-09-25 09: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-25 09:48:34] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:48:34] 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-25 09: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-25 09: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-25 09:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":12765,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":12765,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:34] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:34] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:48:35] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:48:35] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:48:35] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:48:45] local.INFO: TCP Data received {"connection_id":191988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c926b0012d0ca2400704ca280026013421..."} 
[2026-09-25 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c926b0012d0ca2400704ca280026013421..."} 
[2026-09-25 09:48:45] local.INFO: Processing buffer {"connection_id":191988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c926b0012d0ca2400704ca280026013421..."} 
[2026-09-25 09:48:45] local.INFO: Packet analysis {"connection_id":191988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:48:45] local.INFO: Extracted packet for processing {"connection_id":191988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:48:45] local.INFO: GPS Element Parsed {"raw_longitude":755802688,"raw_latitude":117754408,"longitude_deg":75.5802688,"latitude_deg":11.7754408,"altitude":38,"angle":308,"satellites":33,"speed":20,"hex_longitude":"2d0ca240","hex_latitude":"0704ca28","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319334400001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33812701268410368,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911204898501490688,"note":"Value kept but may cause issues"} 
[2026-09-25 09:48: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-25 09:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790309902000,"timestamp_ms":1790309902000,"timestamp_seconds":1790309902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c926b0"} 
[2026-09-25 09: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-25 09:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:48: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-25 09: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-25 09: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-25 09:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319334400001,"66":14439,"95":206,"94":10240,"24":20,"16":33812701268410368,"45":911204898501490688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319334400001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:48:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:48:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33812701268410368,"km_value":33812701268410.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":911204898501490688,"description":"Unknown IO ID 45"} 
[2026-09-25 09:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319334400001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":911204898501490688}} 
[2026-09-25 09:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":191988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:48:46] local.INFO: GPS data processed {"connection_id":191988,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:48:46] local.INFO: Acknowledgment sent {"connection_id":191988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:02] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: IMEI packet received {"connection_id":193530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":193530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:49:02] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:02] local.INFO: IMEI packet received {"connection_id":193530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":193530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:49:04] local.INFO: TCP Data received {"connection_id":191990,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:04] local.INFO: Processing buffer {"connection_id":191990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:04] local.INFO: Packet analysis {"connection_id":191990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:49:04] local.INFO: Extracted packet for processing {"connection_id":191990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09: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-25 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09: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-25 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:49: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-25 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"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-25 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":191990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:04] local.INFO: GPS data processed {"connection_id":191990,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:04] local.INFO: Acknowledgment sent {"connection_id":191990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:05] local.INFO: TCP Data received {"connection_id":193531,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:49:05] local.INFO: Processing buffer {"connection_id":193531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:49:05] local.INFO: IMEI packet received {"connection_id":193531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":193531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:49:05] local.INFO: TCP Data received {"connection_id":191989,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:05] local.INFO: Processing buffer {"connection_id":191989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:05] local.INFO: Packet analysis {"connection_id":191989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:49:05] local.INFO: Extracted packet for processing {"connection_id":191989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:49:05] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:49:05] 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-25 09: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-25 09: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-25 09:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":191989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:05] local.INFO: GPS data processed {"connection_id":191989,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:05] local.INFO: Acknowledgment sent {"connection_id":191989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:07] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:07] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:49:07] local.INFO: IMEI packet received {"connection_id":193530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":193530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:49:07] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c92a98012d0ca0400704cb480025012820..."} 
[2026-09-25 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c92a98012d0ca0400704cb480025012820..."} 
[2026-09-25 09:49:07] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c92a98012d0ca0400704cb480025012820..."} 
[2026-09-25 09:49:07] local.INFO: Packet analysis {"connection_id":193530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:49:07] local.INFO: Extracted packet for processing {"connection_id":193530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":755802176,"raw_latitude":117754696,"longitude_deg":75.5802176,"latitude_deg":11.7754696,"altitude":37,"angle":296,"satellites":32,"speed":23,"hex_longitude":"2d0ca040","hex_latitude":"0704cb48","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319334912001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33812731333181440,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910360473571567616,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309903000,"timestamp_ms":1790309903000,"timestamp_seconds":1790309903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c92a98"} 
[2026-09-25 09: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-25 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:49:07] 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-25 09: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-25 09: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-25 09:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319334912001,"66":14439,"95":206,"94":10240,"24":23,"16":33812731333181440,"45":910360473571567616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319334912001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:49:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33812731333181440,"km_value":33812731333181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":910360473571567616,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319334912001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":910360473571567616}} 
[2026-09-25 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":193530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:08] local.INFO: GPS data processed {"connection_id":193530,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:08] local.INFO: Acknowledgment sent {"connection_id":193530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:28] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:28] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:28] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:49:31] local.INFO: TCP Data received {"connection_id":192177,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:31] local.INFO: Processing buffer {"connection_id":192177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:31] local.INFO: IMEI packet received {"connection_id":192177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":192177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:49:33] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:33] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:49:33] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:49:34] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:34] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:49:34] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:49:34] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:49:34] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:49:34] 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-25 09: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-25 09: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-25 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:49:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:34] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:34] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:36] local.INFO: TCP Data received {"connection_id":192177,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:36] local.INFO: Processing buffer {"connection_id":192177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:49:36] local.INFO: IMEI packet received {"connection_id":192177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":192177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:49:36] local.INFO: TCP Data received {"connection_id":192177,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:36] local.INFO: Processing buffer {"connection_id":192177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:49:36] local.INFO: Packet analysis {"connection_id":192177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:49:36] local.INFO: Extracted packet for processing {"connection_id":192177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:49: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-25 09: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-25 09:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09: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-25 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:49: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-25 09:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":192177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:36] local.INFO: GPS data processed {"connection_id":192177,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:36] local.INFO: Acknowledgment sent {"connection_id":192177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:49:41] local.INFO: TCP Data received {"connection_id":193530,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c93268012d0c9b800704cd000024011c20..."} 
[2026-09-25 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c93268012d0c9b800704cd000024011c20..."} 
[2026-09-25 09:49:41] local.INFO: Processing buffer {"connection_id":193530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c93268012d0c9b800704cd000024011c20..."} 
[2026-09-25 09:49:41] local.INFO: Packet analysis {"connection_id":193530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:49:41] local.INFO: Extracted packet for processing {"connection_id":193530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c9"} 
[2026-09-25 09:49:41] local.INFO: GPS Element Parsed {"raw_longitude":755800960,"raw_latitude":117755136,"longitude_deg":75.580096,"latitude_deg":11.7755136,"altitude":36,"angle":284,"satellites":32,"speed":23,"hex_longitude":"2d0c9b80","hex_latitude":"0704cd00","is_valid_coordinates":true} 
[2026-09-25 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319335168001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33812791462723584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909797523618220032,"note":"Value kept but may cause issues"} 
[2026-09-25 09:49: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-25 09:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790309905000,"timestamp_ms":1790309905000,"timestamp_seconds":1790309905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c93268"} 
[2026-09-25 09:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:49:41] 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-25 09:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:49: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-25 09:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319335168001,"66":14439,"95":206,"94":10240,"24":23,"16":33812791462723584,"45":909797523618220032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319335168001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:49:41] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:49:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33812791462723584,"km_value":33812791462723.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":909797523618220032,"description":"Unknown IO ID 45"} 
[2026-09-25 09:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319335168001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":909797523618220032}} 
[2026-09-25 09:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":193530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:49:41] local.INFO: GPS data processed {"connection_id":193530,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:49:41] local.INFO: Acknowledgment sent {"connection_id":193530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:02] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:02] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:02] local.INFO: IMEI packet received {"connection_id":193533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":193533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:50:06] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:06] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:06] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:50:06] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:50:06] 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-25 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:50:06] 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-25 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:50:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:06] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:06] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:06] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:06] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:50:06] local.INFO: IMEI packet received {"connection_id":193533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":193533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:50:07] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca3c08012d0ca50007042e38001a00ce1e..."} 
[2026-09-25 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca3c08012d0ca50007042e38001a00ce1e..."} 
[2026-09-25 09:50:07] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca3c08012d0ca50007042e38001a00ce1e..."} 
[2026-09-25 09:50:07] local.INFO: Packet analysis {"connection_id":193533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50:07] local.INFO: Extracted packet for processing {"connection_id":193533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755803392,"raw_latitude":117714488,"longitude_deg":75.5803392,"latitude_deg":11.7714488,"altitude":26,"angle":206,"satellites":30,"speed":39,"hex_longitude":"2d0ca500","hex_latitude":"07042e38","is_valid_coordinates":true} 
[2026-09-25 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-25 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319351040001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33815063500423168,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915145548167628800,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790309973000,"timestamp_ms":1790309973000,"timestamp_seconds":1790309973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca3c08"} 
[2026-09-25 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-25 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319351040001,"66":14439,"95":206,"94":10240,"24":39,"16":33815063500423168,"45":915145548167628800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319351040001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:50:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33815063500423168,"km_value":33815063500423.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":915145548167628800,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319351040001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":915145548167628800}} 
[2026-09-25 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":193533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:07] local.INFO: GPS data processed {"connection_id":193533,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:07] local.INFO: Acknowledgment sent {"connection_id":193533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:08] local.INFO: TCP Data received {"connection_id":192177,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:50:08] local.INFO: Processing buffer {"connection_id":192177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c5ee78012d34c14006aa4940000900f52a..."} 
[2026-09-25 09:50:08] local.INFO: Packet analysis {"connection_id":192177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:50:08] local.INFO: Extracted packet for processing {"connection_id":192177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c5"} 
[2026-09-25 09:50: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-25 09: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-25 09:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319203840001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790309691000,"timestamp_ms":1790309691000,"timestamp_seconds":1790309691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c5ee78"} 
[2026-09-25 09: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-25 09:50: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-25 09:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 09:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:50: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-25 09:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319203840001,"66":25451,"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-25 09:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319203840001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319203840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":192177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:08] local.INFO: GPS data processed {"connection_id":192177,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:08] local.INFO: Acknowledgment sent {"connection_id":192177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:26] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:26] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:26] local.INFO: IMEI packet received {"connection_id":193534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":193534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:50:28] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:28] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:28] local.INFO: IMEI packet received {"connection_id":191991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":191991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:50:30] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:30] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:50:30] local.INFO: IMEI packet received {"connection_id":193534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:50:31] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:50:31] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:50:31] local.INFO: Packet analysis {"connection_id":193534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50:31] local.INFO: Extracted packet for processing {"connection_id":193534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50: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-25 09:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:50:31] 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-25 09:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:50:31] local.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-25 09:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:50: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-25 09:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":193534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:31] local.INFO: GPS data processed {"connection_id":193534,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:31] local.INFO: Acknowledgment sent {"connection_id":193534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:33] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:33] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:50:33] local.INFO: IMEI packet received {"connection_id":191991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":191991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:50:34] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:34] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:50:34] local.INFO: Packet analysis {"connection_id":191991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:50:34] local.INFO: Extracted packet for processing {"connection_id":191991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:50:34] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:50:34] 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-25 09: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-25 09: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-25 09:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:50:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":191991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:34] local.INFO: GPS data processed {"connection_id":191991,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:34] local.INFO: Acknowledgment sent {"connection_id":191991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:50:38] local.INFO: TCP Data received {"connection_id":193533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca6318012d0c9880070418a0001800de1d..."} 
[2026-09-25 09:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca6318012d0c9880070418a0001800de1d..."} 
[2026-09-25 09:50:38] local.INFO: Processing buffer {"connection_id":193533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca6318012d0c9880070418a0001800de1d..."} 
[2026-09-25 09:50:38] local.INFO: Packet analysis {"connection_id":193533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50:38] local.INFO: Extracted packet for processing {"connection_id":193533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755800192,"raw_latitude":117708960,"longitude_deg":75.5800192,"latitude_deg":11.770896,"altitude":24,"angle":222,"satellites":29,"speed":30,"hex_longitude":"2d0c9880","hex_latitude":"070418a0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319353088001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33815372738068480,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911134529747302400,"note":"Value kept but may cause issues"} 
[2026-09-25 09:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790309983000,"timestamp_ms":1790309983000,"timestamp_seconds":1790309983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca6318"} 
[2026-09-25 09: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-25 09:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:50: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-25 09: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-25 09: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-25 09:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319353088001,"66":14428,"95":206,"94":10240,"24":30,"16":33815372738068480,"45":911134529747302400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-25 09:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319353088001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:50:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 09:50:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 09:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33815372738068480,"km_value":33815372738068.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":911134529747302400,"description":"Unknown IO ID 45"} 
[2026-09-25 09:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319353088001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":911134529747302400}} 
[2026-09-25 09:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":193533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:50:38] local.INFO: GPS data processed {"connection_id":193533,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:50:38] local.INFO: Acknowledgment sent {"connection_id":193533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:02] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:02] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:02] local.INFO: IMEI packet received {"connection_id":192178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":192178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:51:03] local.INFO: TCP Data received {"connection_id":193534,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:03] local.INFO: Processing buffer {"connection_id":193534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:03] local.INFO: Packet analysis {"connection_id":193534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:51:03] local.INFO: Extracted packet for processing {"connection_id":193534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:51: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51: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-25 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:03] 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-25 09:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:51:03] local.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-25 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:51: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-25 09:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":193534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:03] local.INFO: GPS data processed {"connection_id":193534,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:03] local.INFO: Acknowledgment sent {"connection_id":193534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:06] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:06] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:51:06] local.INFO: IMEI packet received {"connection_id":192178,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":192178,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:51:06] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cb2e38012d0c6c800703ddb8001500ac20..."} 
[2026-09-25 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cb2e38012d0c6c800703ddb8001500ac20..."} 
[2026-09-25 09:51:06] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cb2e38012d0c6c800703ddb8001500ac20..."} 
[2026-09-25 09:51:06] local.INFO: Packet analysis {"connection_id":192178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:51:06] local.INFO: Extracted packet for processing {"connection_id":192178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117693880,"longitude_deg":75.5788928,"latitude_deg":11.769388,"altitude":21,"angle":172,"satellites":32,"speed":15,"hex_longitude":"2d0c6c80","hex_latitude":"0703ddb8","is_valid_coordinates":true} 
[2026-09-25 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-25 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319368704001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33816785782308864,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895160824813787136,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] 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-25 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310035000,"timestamp_ms":1790310035000,"timestamp_seconds":1790310035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cb2e38"} 
[2026-09-25 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-25 09:51:06] 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-25 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319368704001,"66":14461,"16":33816785782308864,"94":11008,"24":15,"45":895160824813787136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319368704001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33816785782308864,"km_value":33816785782308.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":895160824813787136,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319368704001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":895160824813787136}} 
[2026-09-25 09:51:06] local.INFO: TCP Data received {"connection_id":191991,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:06] local.INFO: Processing buffer {"connection_id":191991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:06] local.INFO: Packet analysis {"connection_id":191991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:51:06] local.INFO: Extracted packet for processing {"connection_id":191991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 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-25 09:51:06] 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-25 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:06] 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-25 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-25 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-25 09:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":192178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:07] local.INFO: GPS data processed {"connection_id":192178,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:07] local.INFO: Acknowledgment sent {"connection_id":192178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":191991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:07] local.INFO: GPS data processed {"connection_id":191991,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:07] local.INFO: Acknowledgment sent {"connection_id":191991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:25] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:25] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:25] local.INFO: IMEI packet received {"connection_id":192179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":192179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:51:28] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:28] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:28] local.INFO: IMEI packet received {"connection_id":193535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":193535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:51:31] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:31] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:51:31] local.INFO: IMEI packet received {"connection_id":192179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":192179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:51:32] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:32] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:51:32] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:51:32] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:51:32] 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-25 09:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:51: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-25 09:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:32] 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-25 09:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:32] local.INFO: GPS data processed {"connection_id":192179,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:32] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:33] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:33] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:51:33] local.INFO: IMEI packet received {"connection_id":193535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":193535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:51:34] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:34] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:51:34] local.INFO: Packet analysis {"connection_id":193535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:51:34] local.INFO: Extracted packet for processing {"connection_id":193535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:51:34] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:34] 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-25 09: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-25 09: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-25 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:51:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":193535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:34] local.INFO: GPS data processed {"connection_id":193535,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:34] local.INFO: Acknowledgment sent {"connection_id":193535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:51:37] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cb39f0012d0c6d000703d808001500ba21..."} 
[2026-09-25 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cb39f0012d0c6d000703d808001500ba21..."} 
[2026-09-25 09:51:37] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cb39f0012d0c6d000703d808001500ba21..."} 
[2026-09-25 09:51:37] local.INFO: Packet analysis {"connection_id":192178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:51:37] local.INFO: Extracted packet for processing {"connection_id":192178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:51:37] local.INFO: GPS Element Parsed {"raw_longitude":755789056,"raw_latitude":117692424,"longitude_deg":75.5789056,"latitude_deg":11.7692424,"altitude":21,"angle":186,"satellites":33,"speed":23,"hex_longitude":"2d0c6d00","hex_latitude":"0703d808","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319368960001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33816858796752896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193557874688,"note":"Value kept but may cause issues"} 
[2026-09-25 09:51:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 09:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790310038000,"timestamp_ms":1790310038000,"timestamp_seconds":1790310038,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cb39f0"} 
[2026-09-25 09: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-25 09:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 09:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192178,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319368960001,"66":14515,"16":33816858796752896,"94":11008,"24":23,"45":895231193557874688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319368960001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33816858796752896,"km_value":33816858796752.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:51:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193557874688,"description":"Unknown IO ID 45"} 
[2026-09-25 09:51:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319368960001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":23,"unknown_45":895231193557874688}} 
[2026-09-25 09:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":192178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:51:37] local.INFO: GPS data processed {"connection_id":192178,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:51:37] local.INFO: Acknowledgment sent {"connection_id":192178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:01] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:01] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:01] local.INFO: IMEI packet received {"connection_id":191992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":191992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:52:04] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:04] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:04] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:52:04] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09: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-25 09:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:52: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-25 09:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:04] local.INFO: GPS data processed {"connection_id":192179,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:04] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:05] local.INFO: TCP Data received {"connection_id":193535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:05] local.INFO: Processing buffer {"connection_id":193535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:05] local.INFO: Packet analysis {"connection_id":193535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:52:05] local.INFO: Extracted packet for processing {"connection_id":193535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:52:05] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:05] 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-25 09: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-25 09: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-25 09:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:52:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":193535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:05] local.INFO: GPS data processed {"connection_id":193535,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:05] local.INFO: Acknowledgment sent {"connection_id":193535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:07] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:07] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:52:07] local.INFO: IMEI packet received {"connection_id":191992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":191992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:52:07] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cb5930012d0c6b000703c5d8001300ab1f..."} 
[2026-09-25 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cb5930012d0c6b000703c5d8001300ab1f..."} 
[2026-09-25 09:52:07] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cb5930012d0c6b000703c5d8001300ab1f..."} 
[2026-09-25 09:52:07] local.INFO: Packet analysis {"connection_id":191992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:52:07] local.INFO: Extracted packet for processing {"connection_id":191992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117687768,"longitude_deg":75.5788544,"latitude_deg":11.7687768,"altitude":19,"angle":171,"satellites":31,"speed":19,"hex_longitude":"2d0c6b00","hex_latitude":"0703c5d8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319369728001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33817086430019584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895371931045857280,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:07] 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-25 09:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790310046000,"timestamp_ms":1790310046000,"timestamp_seconds":1790310046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cb5930"} 
[2026-09-25 09: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-25 09:52:07] 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-25 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:07] 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-25 09: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-25 09: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-25 09:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319369728001,"66":14450,"16":33817086430019584,"94":11008,"24":19,"45":895371931045857280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319369728001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33817086430019584,"km_value":33817086430019.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:52:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":895371931045857280,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319369728001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":895371931045857280}} 
[2026-09-25 09:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":191992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:08] local.INFO: GPS data processed {"connection_id":191992,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:08] local.INFO: Acknowledgment sent {"connection_id":191992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:25] local.INFO: TCP Data received {"connection_id":194850,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:25] local.INFO: Processing buffer {"connection_id":194850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:25] local.INFO: IMEI packet received {"connection_id":194850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":194850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:52:28] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:28] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:28] local.INFO: IMEI packet received {"connection_id":192181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":192181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:52:31] local.INFO: TCP Data received {"connection_id":194850,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:31] local.INFO: Processing buffer {"connection_id":194850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:52:31] local.INFO: IMEI packet received {"connection_id":194850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":194850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:52:32] local.INFO: TCP Data received {"connection_id":194850,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:32] local.INFO: Processing buffer {"connection_id":194850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:52:32] local.INFO: Packet analysis {"connection_id":194850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:52:32] local.INFO: Extracted packet for processing {"connection_id":194850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:52:32] 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-25 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:52: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-25 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:32] 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-25 09:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:52:32] 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-25 09:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":194850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:32] local.INFO: GPS data processed {"connection_id":194850,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:32] local.INFO: Acknowledgment sent {"connection_id":194850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:33] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:33] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:52:33] local.INFO: IMEI packet received {"connection_id":192181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":192181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:52:34] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:34] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6c8c508012d7d35c005ec12b00004007021..."} 
[2026-09-25 09:52:34] local.INFO: Packet analysis {"connection_id":192181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:52:34] local.INFO: Extracted packet for processing {"connection_id":192181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6c8"} 
[2026-09-25 09:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":33,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319327232001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790309877000,"timestamp_ms":1790309877000,"timestamp_seconds":1790309877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6c8c508"} 
[2026-09-25 09: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-25 09:52:34] 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-25 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:34] 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-25 09: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-25 09: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-25 09:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319327232001,"66":4470,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319327232001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:52:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319327232001,"power":4470,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":192181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:34] local.INFO: GPS data processed {"connection_id":192181,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:34] local.INFO: Acknowledgment sent {"connection_id":192181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:52:39] local.INFO: TCP Data received {"connection_id":191992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cb7488012d0c6b800703b710001300b91e..."} 
[2026-09-25 09:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cb7488012d0c6b800703b710001300b91e..."} 
[2026-09-25 09:52:39] local.INFO: Processing buffer {"connection_id":191992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cb7488012d0c6b800703b710001300b91e..."} 
[2026-09-25 09:52:39] local.INFO: Packet analysis {"connection_id":191992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:52:39] local.INFO: Extracted packet for processing {"connection_id":191992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cb"} 
[2026-09-25 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117683984,"longitude_deg":75.5788672,"latitude_deg":11.7683984,"altitude":19,"angle":185,"satellites":30,"speed":19,"hex_longitude":"2d0c6b80","hex_latitude":"0703b710","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319371776001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33817271113613312,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981091244032,"note":"Value kept but may cause issues"} 
[2026-09-25 09:52:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 09:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790310053000,"timestamp_ms":1790310053000,"timestamp_seconds":1790310053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cb7488"} 
[2026-09-25 09: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-25 09:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319371776001,"66":14580,"16":33817271113613312,"94":11008,"24":19,"45":894808981091244032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319371776001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33817271113613312,"km_value":33817271113613.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:52:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981091244032,"description":"Unknown IO ID 45"} 
[2026-09-25 09:52:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319371776001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":894808981091244032}} 
[2026-09-25 09:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":191992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:52:39] local.INFO: GPS data processed {"connection_id":191992,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:52:39] local.INFO: Acknowledgment sent {"connection_id":191992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:03] local.INFO: TCP Data received {"connection_id":194850,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:03] local.INFO: Processing buffer {"connection_id":194850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:03] local.INFO: Packet analysis {"connection_id":194850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:53:03] local.INFO: Extracted packet for processing {"connection_id":194850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:53: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53: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-25 09:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:53:03] 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-25 09:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53:03] 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-25 09:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:53: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-25 09:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":194850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:03] local.INFO: GPS data processed {"connection_id":194850,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:03] local.INFO: Acknowledgment sent {"connection_id":194850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:05] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:05] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:05] local.INFO: Packet analysis {"connection_id":192181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:05] local.INFO: Extracted packet for processing {"connection_id":192181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":192181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:05] local.INFO: GPS data processed {"connection_id":192181,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:05] local.INFO: Acknowledgment sent {"connection_id":192181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:17] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:53:17] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:17] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:53:21] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:53:21] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:53:21] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:53:22] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ccfb28012d0c56c007036dc8001500f51f..."} 
[2026-09-25 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ccfb28012d0c56c007036dc8001500f51f..."} 
[2026-09-25 09:53:22] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ccfb28012d0c56c007036dc8001500f51f..."} 
[2026-09-25 09:53:22] local.INFO: Packet analysis {"connection_id":192182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cc"} 
[2026-09-25 09:53:22] local.INFO: Extracted packet for processing {"connection_id":192182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cc"} 
[2026-09-25 09:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755783360,"raw_latitude":117665224,"longitude_deg":75.578336,"latitude_deg":11.7665224,"altitude":21,"angle":245,"satellites":31,"speed":22,"hex_longitude":"2d0c56c0","hex_latitude":"07036dc8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319397632001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33818310495698944,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891642387597639680,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:22] 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-25 09:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790310153000,"timestamp_ms":1790310153000,"timestamp_seconds":1790310153,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ccfb28"} 
[2026-09-25 09: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-25 09:53: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-25 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:53: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-25 09: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-25 09: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-25 09:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319397632001,"66":14428,"16":33818310495698944,"94":11008,"24":22,"45":891642387597639680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319397632001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33818310495698944,"km_value":33818310495698.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":891642387597639680,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319397632001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":22,"unknown_45":891642387597639680}} 
[2026-09-25 09:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":192182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:22] local.INFO: GPS data processed {"connection_id":192182,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:22] local.INFO: Acknowledgment sent {"connection_id":192182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:24] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd0eb0012d0c4c80070369580017010220..."} 
[2026-09-25 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd0eb0012d0c4c80070369580017010220..."} 
[2026-09-25 09:53:24] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd0eb0012d0c4c80070369580017010220..."} 
[2026-09-25 09:53:24] local.INFO: Packet analysis {"connection_id":192182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:24] local.INFO: Extracted packet for processing {"connection_id":192182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":755780736,"raw_latitude":117664088,"longitude_deg":75.5780736,"latitude_deg":11.7664088,"altitude":23,"angle":258,"satellites":32,"speed":20,"hex_longitude":"2d0c4c80","hex_latitude":"07036958","is_valid_coordinates":true} 
[2026-09-25 09:53: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-25 09:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319399168001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33818447934652416,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889109112807081984,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:24] 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-25 09:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790310158000,"timestamp_ms":1790310158000,"timestamp_seconds":1790310158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd0eb0"} 
[2026-09-25 09:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:53: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":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:53:24] 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-25 09:53: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-25 09:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319399168001,"66":14450,"16":33818447934652416,"94":11008,"24":20,"45":889109112807081984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 09:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319399168001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33818447934652416,"km_value":33818447934652.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:53:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":889109112807081984,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458319399168001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":889109112807081984}} 
[2026-09-25 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":192182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:24] local.INFO: GPS data processed {"connection_id":192182,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:24] local.INFO: Acknowledgment sent {"connection_id":192182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:31] local.INFO: TCP Data received {"connection_id":193536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:31] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:31] local.INFO: IMEI packet received {"connection_id":193536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:53:33] local.INFO: TCP Data received {"connection_id":194852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:33] local.INFO: Processing buffer {"connection_id":194852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:33] local.INFO: IMEI packet received {"connection_id":194852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":194852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:53:36] local.INFO: TCP Data received {"connection_id":193536,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:36] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:53:36] local.INFO: IMEI packet received {"connection_id":193536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":193536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:53:38] local.INFO: TCP Data received {"connection_id":193536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:38] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:38] local.INFO: Packet analysis {"connection_id":193536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:53:38] local.INFO: Extracted packet for processing {"connection_id":193536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09: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-25 09: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-25 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53: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-25 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":193536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:38] local.INFO: GPS data processed {"connection_id":193536,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:38] local.INFO: Acknowledgment sent {"connection_id":193536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:39] local.INFO: TCP Data received {"connection_id":194852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:39] local.INFO: Processing buffer {"connection_id":194852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:53:39] local.INFO: IMEI packet received {"connection_id":194852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":194852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:53:40] local.INFO: TCP Data received {"connection_id":194852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:40] local.INFO: Processing buffer {"connection_id":194852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:53:40] local.INFO: Packet analysis {"connection_id":194852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:40] local.INFO: Extracted packet for processing {"connection_id":194852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09:53: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:53:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":194852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:40] local.INFO: GPS data processed {"connection_id":194852,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:40] local.INFO: Acknowledgment sent {"connection_id":194852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:53:43] local.INFO: TCP Data received {"connection_id":193536,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:43] local.INFO: Processing buffer {"connection_id":193536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:53:43] local.INFO: Packet analysis {"connection_id":193536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:53:43] local.INFO: Extracted packet for processing {"connection_id":193536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:53: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-25 09: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-25 09:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09: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-25 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:53: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-25 09: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-25 09: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-25 09:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:53: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-25 09:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":193536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:53:43] local.INFO: GPS data processed {"connection_id":193536,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:53:43] local.INFO: Acknowledgment sent {"connection_id":193536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:07] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:07] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:07] local.INFO: IMEI packet received {"connection_id":193537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":193537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:54:11] local.INFO: TCP Data received {"connection_id":194852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:11] local.INFO: Processing buffer {"connection_id":194852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:11] local.INFO: Packet analysis {"connection_id":194852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:11] local.INFO: Extracted packet for processing {"connection_id":194852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:54:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":194852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:11] local.INFO: GPS data processed {"connection_id":194852,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:11] local.INFO: Acknowledgment sent {"connection_id":194852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:12] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:12] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:54:12] local.INFO: IMEI packet received {"connection_id":193537,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":193537,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:54:12] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cdf910012d0c204007035348001300e320..."} 
[2026-09-25 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cdf910012d0c204007035348001300e320..."} 
[2026-09-25 09:54:12] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cdf910012d0c204007035348001300e320..."} 
[2026-09-25 09:54:12] local.INFO: Packet analysis {"connection_id":193537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:12] local.INFO: Extracted packet for processing {"connection_id":193537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117658440,"longitude_deg":75.5769408,"latitude_deg":11.765844,"altitude":19,"angle":227,"satellites":32,"speed":13,"hex_longitude":"2d0c2040","hex_latitude":"07035348","is_valid_coordinates":true} 
[2026-09-25 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319414784001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33819109359616000,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576435105792,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54: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-25 09:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790310218000,"timestamp_ms":1790310218000,"timestamp_seconds":1790310218,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cdf910"} 
[2026-09-25 09:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:54: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-25 09:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319414784001,"66":14428,"37":206,"94":11008,"24":13,"16":33819109359616000,"45":875457576435105792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319414784001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:54:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33819109359616000,"km_value":33819109359616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576435105792,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319414784001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":875457576435105792}} 
[2026-09-25 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":193537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:13] local.INFO: GPS data processed {"connection_id":193537,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:13] local.INFO: Acknowledgment sent {"connection_id":193537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:13] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ce00e0012d0c1e80070350e0001300d320..."} 
[2026-09-25 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ce00e0012d0c1e80070350e0001300d320..."} 
[2026-09-25 09:54:13] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ce00e0012d0c1e80070350e0001300d320..."} 
[2026-09-25 09:54:13] local.INFO: Packet analysis {"connection_id":193537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:54:13] local.INFO: Extracted packet for processing {"connection_id":193537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":755768960,"raw_latitude":117657824,"longitude_deg":75.576896,"latitude_deg":11.7657824,"altitude":19,"angle":211,"satellites":32,"speed":13,"hex_longitude":"2d0c1e80","hex_latitude":"070350e0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319415808001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33819148014321664,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726574614528,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54: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-25 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790310220000,"timestamp_ms":1790310220000,"timestamp_seconds":1790310220,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ce00e0"} 
[2026-09-25 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-25 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":92,"data_length":795,"current_offset":136} 
[2026-09-25 09:54: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-25 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-25 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-25 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319415808001,"66":14439,"37":206,"94":11008,"24":13,"16":33819148014321664,"45":873768726574614528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319415808001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:54:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33819148014321664,"km_value":33819148014321.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726574614528,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319415808001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":873768726574614528}} 
[2026-09-25 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":193537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:13] local.INFO: GPS data processed {"connection_id":193537,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:13] local.INFO: Acknowledgment sent {"connection_id":193537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:27] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:27] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:27] local.INFO: IMEI packet received {"connection_id":192183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":192183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:54:28] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:28] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:28] local.INFO: IMEI packet received {"connection_id":192184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":192184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:54:30] local.INFO: TCP Data received {"connection_id":191993,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:54:30] local.INFO: Processing buffer {"connection_id":191993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:54:30] local.INFO: IMEI packet received {"connection_id":191993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":191993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:54:31] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:31] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:54:31] local.INFO: IMEI packet received {"connection_id":192183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":192183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:54:32] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:32] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:32] local.INFO: Packet analysis {"connection_id":192183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:54:32] local.INFO: Extracted packet for processing {"connection_id":192183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:54:32] 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-25 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:54: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-25 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:54:32] 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-25 09:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":192183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:32] local.INFO: GPS data processed {"connection_id":192183,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:32] local.INFO: Acknowledgment sent {"connection_id":192183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:33] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:33] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:54:33] local.INFO: IMEI packet received {"connection_id":192184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":192184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:54:34] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:34] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:54:34] local.INFO: Packet analysis {"connection_id":192184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:34] local.INFO: Extracted packet for processing {"connection_id":192184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:54:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":192184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:34] local.INFO: GPS data processed {"connection_id":192184,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:34] local.INFO: Acknowledgment sent {"connection_id":192184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:37] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:37] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:54:37] local.INFO: Packet analysis {"connection_id":192183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:54:37] local.INFO: Extracted packet for processing {"connection_id":192183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:54: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:54: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-25 09:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:54: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-25 09:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:54: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-25 09:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":192183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:37] local.INFO: GPS data processed {"connection_id":192183,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:37] local.INFO: Acknowledgment sent {"connection_id":192183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:54:45] local.INFO: TCP Data received {"connection_id":193537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ced3d0012d0bf88007035be8001301251f..."} 
[2026-09-25 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ced3d0012d0bf88007035be8001301251f..."} 
[2026-09-25 09:54:45] local.INFO: Processing buffer {"connection_id":193537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ced3d0012d0bf88007035be8001301251f..."} 
[2026-09-25 09:54:45] local.INFO: Packet analysis {"connection_id":193537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:54:45] local.INFO: Extracted packet for processing {"connection_id":193537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:54:45] local.INFO: GPS Element Parsed {"raw_longitude":755759232,"raw_latitude":117660648,"longitude_deg":75.5759232,"latitude_deg":11.7660648,"altitude":19,"angle":293,"satellites":31,"speed":9,"hex_longitude":"2d0bf880","hex_latitude":"07035be8","is_valid_coordinates":true} 
[2026-09-25 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-25 09:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319429632001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33819968353075200,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863072677460092928,"note":"Value kept but may cause issues"} 
[2026-09-25 09:54:45] 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-25 09:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790310274000,"timestamp_ms":1790310274000,"timestamp_seconds":1790310274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ced3d0"} 
[2026-09-25 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-25 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-25 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":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:54: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-25 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-25 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-25 09:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193537,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319429632001,"66":14439,"37":206,"94":11008,"24":9,"16":33819968353075200,"45":863072677460092928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319429632001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:54:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:54:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33819968353075200,"km_value":33819968353075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":863072677460092928,"description":"Unknown IO ID 45"} 
[2026-09-25 09:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319429632001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":863072677460092928}} 
[2026-09-25 09:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":193537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:54:45] local.INFO: GPS data processed {"connection_id":193537,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:54:45] local.INFO: Acknowledgment sent {"connection_id":193537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:01] local.INFO: TCP Data received {"connection_id":194853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: Processing buffer {"connection_id":194853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: IMEI packet received {"connection_id":194853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":194853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:55:01] local.INFO: TCP Data received {"connection_id":194853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: Processing buffer {"connection_id":194853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:01] local.INFO: IMEI packet received {"connection_id":194853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":194853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:55:04] local.INFO: TCP Data received {"connection_id":194854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:04] local.INFO: Processing buffer {"connection_id":194854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:04] local.INFO: IMEI packet received {"connection_id":194854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":194854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:55:06] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:06] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:06] local.INFO: Packet analysis {"connection_id":192184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:55:06] local.INFO: Extracted packet for processing {"connection_id":192184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 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-25 09: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-25 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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:55:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:06] local.INFO: GPS data processed {"connection_id":192184,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:06] local.INFO: Acknowledgment sent {"connection_id":192184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:07] local.INFO: TCP Data received {"connection_id":194853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:07] local.INFO: Processing buffer {"connection_id":194853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:07] local.INFO: IMEI packet received {"connection_id":194853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":194853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:55:07] local.INFO: TCP Data received {"connection_id":194853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ced7b8012d0bf74007035c280013011820..."} 
[2026-09-25 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ced7b8012d0bf74007035c280013011820..."} 
[2026-09-25 09:55:07] local.INFO: Processing buffer {"connection_id":194853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ced7b8012d0bf74007035c280013011820..."} 
[2026-09-25 09:55:07] local.INFO: Packet analysis {"connection_id":194853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:55:07] local.INFO: Extracted packet for processing {"connection_id":194853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:55:07] local.INFO: GPS Element Parsed {"raw_longitude":755758912,"raw_latitude":117660712,"longitude_deg":75.5758912,"latitude_deg":11.7660712,"altitude":19,"angle":280,"satellites":32,"speed":12,"hex_longitude":"2d0bf740","hex_latitude":"07035c28","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319430144001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33819981237977088,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862580096250931200,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55: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-25 09:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790310275000,"timestamp_ms":1790310275000,"timestamp_seconds":1790310275,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ced7b8"} 
[2026-09-25 09: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-25 09:55:07] 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-25 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:07] 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-25 09: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-25 09: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-25 09:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319430144001,"66":14396,"37":206,"94":11008,"24":12,"16":33819981237977088,"45":862580096250931200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319430144001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:55:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33819981237977088,"km_value":33819981237977.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":862580096250931200,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319430144001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862580096250931200}} 
[2026-09-25 09:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":194853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:08] local.INFO: GPS data processed {"connection_id":194853,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:08] local.INFO: Acknowledgment sent {"connection_id":194853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:08] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:55:08] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ca8640012d34c14006aa4940000900f528..."} 
[2026-09-25 09:55:08] local.INFO: Packet analysis {"connection_id":192183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:55:08] local.INFO: Extracted packet for processing {"connection_id":192183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ca"} 
[2026-09-25 09:55: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-25 09:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319280896001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790309992000,"timestamp_ms":1790309992000,"timestamp_seconds":1790309992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ca8640"} 
[2026-09-25 09:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:08] 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-25 09:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:55: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-25 09:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319280896001,"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-25 09:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319280896001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319280896001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":192183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:08] local.INFO: GPS data processed {"connection_id":192183,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:08] local.INFO: Acknowledgment sent {"connection_id":192183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:10] local.INFO: TCP Data received {"connection_id":194854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:10] local.INFO: Processing buffer {"connection_id":194854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:55:10] local.INFO: IMEI packet received {"connection_id":194854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":194854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:55:16] local.INFO: TCP Data received {"connection_id":194854,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6adab88012d34290006abbd00000700d730..."} 
[2026-09-25 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6adab88012d34290006abbd00000700d730..."} 
[2026-09-25 09:55:16] local.INFO: Processing buffer {"connection_id":194854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6adab88012d34290006abbd00000700d730..."} 
[2026-09-25 09:55:16] local.INFO: Packet analysis {"connection_id":194854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ad"} 
[2026-09-25 09:55:16] local.INFO: Extracted packet for processing {"connection_id":194854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ad"} 
[2026-09-25 09:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 09:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458318796800001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1790308101000,"timestamp_ms":1790308101000,"timestamp_seconds":1790308101,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6adab88"} 
[2026-09-25 09:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:16] 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-25 09:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":194854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":194854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 09:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":194854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 09:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 09:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 09:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458318796800001,"66":25734,"75":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-25 09:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 09:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 09:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458318796800001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-25 09:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458318796800001,"power":25734,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 09:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":194854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:16] local.INFO: GPS data processed {"connection_id":194854,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:16] local.INFO: Acknowledgment sent {"connection_id":194854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:26] local.INFO: TCP Data received {"connection_id":193538,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:26] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:26] local.INFO: IMEI packet received {"connection_id":193538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":193538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:55:28] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:28] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:28] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:55:31] local.INFO: TCP Data received {"connection_id":193538,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:31] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:55:31] local.INFO: IMEI packet received {"connection_id":193538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":193538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:55:32] local.INFO: TCP Data received {"connection_id":193538,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:55:32] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:55:32] local.INFO: Packet analysis {"connection_id":193538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:55:32] local.INFO: Extracted packet for processing {"connection_id":193538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:55:32] 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-25 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:55: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-25 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":193538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:32] local.INFO: GPS data processed {"connection_id":193538,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:32] local.INFO: Acknowledgment sent {"connection_id":193538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:33] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:33] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:55:33] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:55:34] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:34] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:55:34] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:55:34] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:34] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:34] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:38] local.INFO: TCP Data received {"connection_id":194853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cedf88012d0bf30007035c180013010b20..."} 
[2026-09-25 09:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cedf88012d0bf30007035c180013010b20..."} 
[2026-09-25 09:55:38] local.INFO: Processing buffer {"connection_id":194853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cedf88012d0bf30007035c180013010b20..."} 
[2026-09-25 09:55:38] local.INFO: Packet analysis {"connection_id":194853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:55:38] local.INFO: Extracted packet for processing {"connection_id":194853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ce"} 
[2026-09-25 09:55:38] local.INFO: GPS Element Parsed {"raw_longitude":755757824,"raw_latitude":117660696,"longitude_deg":75.5757824,"latitude_deg":11.7660696,"altitude":19,"angle":267,"satellites":32,"speed":21,"hex_longitude":"2d0bf300","hex_latitude":"07035c18","is_valid_coordinates":true} 
[2026-09-25 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319430400001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33820032777584640,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252530059264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790310277000,"timestamp_ms":1790310277000,"timestamp_seconds":1790310277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cedf88"} 
[2026-09-25 09:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:55:38] 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-25 09:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319430400001,"66":14396,"37":206,"94":11008,"24":21,"16":33820032777584640,"45":862228252530059264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319430400001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:55:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:55:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33820032777584640,"km_value":33820032777584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252530059264,"description":"Unknown IO ID 45"} 
[2026-09-25 09:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319430400001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":862228252530059264}} 
[2026-09-25 09:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":194853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894659,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:55:39] local.INFO: GPS data processed {"connection_id":194853,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:55:39] local.INFO: Acknowledgment sent {"connection_id":194853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:55:59] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:59] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:55:59] local.INFO: IMEI packet received {"connection_id":194855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":194855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:56:00] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:00] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:00] local.INFO: IMEI packet received {"connection_id":194855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":194855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:56:01] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:01] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:01] local.INFO: IMEI packet received {"connection_id":194855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":194855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:56:03] local.INFO: TCP Data received {"connection_id":193538,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:03] local.INFO: Processing buffer {"connection_id":193538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:03] local.INFO: Packet analysis {"connection_id":193538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:03] local.INFO: Extracted packet for processing {"connection_id":193538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56: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-25 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:56: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-25 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":193538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:03] local.INFO: GPS data processed {"connection_id":193538,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:03] local.INFO: Acknowledgment sent {"connection_id":193538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:05] local.INFO: TCP Data received {"connection_id":193539,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:56:05] local.INFO: Processing buffer {"connection_id":193539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 09:56:05] local.INFO: IMEI packet received {"connection_id":193539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":193539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:56:06] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:06] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:06] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:56:06] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:06] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:06] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:07] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:07] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:07] local.INFO: IMEI packet received {"connection_id":194855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":194855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:56:07] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cfe158012d0b874007035058001900d21f..."} 
[2026-09-25 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cfe158012d0b874007035058001900d21f..."} 
[2026-09-25 09:56:07] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cfe158012d0b874007035058001900d21f..."} 
[2026-09-25 09:56:07] local.INFO: Packet analysis {"connection_id":194855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:07] local.INFO: Extracted packet for processing {"connection_id":194855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":755730240,"raw_latitude":117657688,"longitude_deg":75.573024,"latitude_deg":11.7657688,"altitude":25,"angle":210,"satellites":31,"speed":11,"hex_longitude":"2d0b8740","hex_latitude":"07035058","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319447552001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33821381397315584,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830914161370284032,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56: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-25 09:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790310343000,"timestamp_ms":1790310343000,"timestamp_seconds":1790310343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cfe158"} 
[2026-09-25 09: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-25 09:56:07] 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-25 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:07] 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-25 09: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-25 09: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-25 09:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319447552001,"66":14537,"37":206,"94":11008,"24":11,"16":33821381397315584,"45":830914161370284032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319447552001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:56:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33821381397315584,"km_value":33821381397315.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":830914161370284032,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319447552001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830914161370284032}} 
[2026-09-25 09:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":194855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:08] local.INFO: GPS data processed {"connection_id":194855,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:08] local.INFO: Acknowledgment sent {"connection_id":194855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:25] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:25] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:25] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:56:28] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:28] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:28] local.INFO: IMEI packet received {"connection_id":191995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":191995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:56:31] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:31] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:56:31] local.INFO: IMEI packet received {"connection_id":191994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":191994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:56:32] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:32] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:56:32] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:32] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:32] 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-25 09:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:56: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-25 09:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:32] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:32] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:33] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:33] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:56:33] local.INFO: IMEI packet received {"connection_id":191995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":191995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:56:34] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:34] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:56:34] local.INFO: Packet analysis {"connection_id":191995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:56:34] local.INFO: Extracted packet for processing {"connection_id":191995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":191995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:34] local.INFO: GPS data processed {"connection_id":191995,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:34] local.INFO: Acknowledgment sent {"connection_id":191995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:38] local.INFO: TCP Data received {"connection_id":194855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cfe540012d0b868007034f10001900c51f..."} 
[2026-09-25 09:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cfe540012d0b868007034f10001900c51f..."} 
[2026-09-25 09:56:38] local.INFO: Processing buffer {"connection_id":194855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cfe540012d0b868007034f10001900c51f..."} 
[2026-09-25 09:56:38] local.INFO: Packet analysis {"connection_id":194855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:38] local.INFO: Extracted packet for processing {"connection_id":194855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755730048,"raw_latitude":117657360,"longitude_deg":75.5730048,"latitude_deg":11.765736,"altitude":25,"angle":197,"satellites":31,"speed":13,"hex_longitude":"2d0b8680","hex_latitude":"07034f10","is_valid_coordinates":true} 
[2026-09-25 09:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319447808001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33821398577184768,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830703055137691648,"note":"Value kept but may cause issues"} 
[2026-09-25 09:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790310344000,"timestamp_ms":1790310344000,"timestamp_seconds":1790310344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cfe540"} 
[2026-09-25 09:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:56:38] 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-25 09:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 09:56:38] 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-25 09:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319447808001,"66":14428,"37":206,"94":11008,"24":13,"16":33821398577184768,"45":830703055137691648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319447808001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:56:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:56:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33821398577184768,"km_value":33821398577184.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":830703055137691648,"description":"Unknown IO ID 45"} 
[2026-09-25 09:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319447808001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":830703055137691648}} 
[2026-09-25 09:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":194855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:56:38] local.INFO: GPS data processed {"connection_id":194855,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:56:38] local.INFO: Acknowledgment sent {"connection_id":194855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:56:59] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:59] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:56:59] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:57:01] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:01] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:01] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:57:02] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:02] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:02] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:57:03] local.INFO: TCP Data received {"connection_id":191994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:03] local.INFO: Processing buffer {"connection_id":191994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:03] local.INFO: Packet analysis {"connection_id":191994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:57:03] local.INFO: Extracted packet for processing {"connection_id":191994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:57: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57: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-25 09:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:57: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-25 09:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":191994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:03] local.INFO: GPS data processed {"connection_id":191994,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:03] local.INFO: Acknowledgment sent {"connection_id":191994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:57:05] local.INFO: TCP Data received {"connection_id":191995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:05] local.INFO: Processing buffer {"connection_id":191995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:05] local.INFO: Packet analysis {"connection_id":191995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:57:05] local.INFO: Extracted packet for processing {"connection_id":191995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:57:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":191995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:05] local.INFO: GPS data processed {"connection_id":191995,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:05] local.INFO: Acknowledgment sent {"connection_id":191995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:57:05] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:05] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:57:05] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:57:06] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d0d388012d0b6c8007034c38001501371d..."} 
[2026-09-25 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d0d388012d0b6c8007034c38001501371d..."} 
[2026-09-25 09:57:06] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d0d388012d0b6c8007034c38001501371d..."} 
[2026-09-25 09:57:06] local.INFO: Packet analysis {"connection_id":192186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d0"} 
[2026-09-25 09:57:06] local.INFO: Extracted packet for processing {"connection_id":192186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d0"} 
[2026-09-25 09:57:06] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117656632,"longitude_deg":75.5723392,"latitude_deg":11.7656632,"altitude":21,"angle":311,"satellites":29,"speed":12,"hex_longitude":"2d0b6c80","hex_latitude":"07034c38","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319463424001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33821862433652736,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823455074487056384,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:06] 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-25 09:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310405000,"timestamp_ms":1790310405000,"timestamp_seconds":1790310405,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d0d388"} 
[2026-09-25 09: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-25 09:57:06] 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-25 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319463424001,"66":14407,"37":206,"94":11008,"24":12,"16":33821862433652736,"45":823455074487056384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319463424001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:57:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33821862433652736,"km_value":33821862433652.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":823455074487056384,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319463424001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":823455074487056384}} 
[2026-09-25 09:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":192186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:06] local.INFO: GPS data processed {"connection_id":192186,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:06] local.INFO: Acknowledgment sent {"connection_id":192186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:57:25] local.INFO: TCP Data received {"connection_id":194856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:25] local.INFO: Processing buffer {"connection_id":194856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:25] local.INFO: IMEI packet received {"connection_id":194856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":194856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:57:28] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:28] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:28] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:57:31] local.INFO: TCP Data received {"connection_id":194856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:31] local.INFO: Processing buffer {"connection_id":194856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:57:31] local.INFO: IMEI packet received {"connection_id":194856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":194856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:57:32] local.INFO: TCP Data received {"connection_id":194856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:32] local.INFO: Processing buffer {"connection_id":194856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:57:32] local.INFO: Packet analysis {"connection_id":194856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:57:32] local.INFO: Extracted packet for processing {"connection_id":194856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:57:32] 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-25 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:57: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-25 09:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 09:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:57: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-25 09:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":194856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:32] local.INFO: GPS data processed {"connection_id":194856,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:32] local.INFO: Acknowledgment sent {"connection_id":194856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:57:33] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:33] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:57:33] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:57:34] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:34] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cd5cd0012d7d35c005ec12b00004007026..."} 
[2026-09-25 09:57:34] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:57:34] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cd"} 
[2026-09-25 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319328512001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310178000,"timestamp_ms":1790310178000,"timestamp_seconds":1790310178,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cd5cd0"} 
[2026-09-25 09: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-25 09: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-25 09: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":17,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 09:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319328512001,"66":2383,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319328512001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:57:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319328512001,"power":2383,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:34] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:34] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:57:39] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d0d770012d0b6b8007034cf8001501251d..."} 
[2026-09-25 09:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d0d770012d0b6b8007034cf8001501251d..."} 
[2026-09-25 09:57:39] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d0d770012d0b6b8007034cf8001501251d..."} 
[2026-09-25 09:57:39] local.INFO: Packet analysis {"connection_id":192186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d0"} 
[2026-09-25 09:57:39] local.INFO: Extracted packet for processing {"connection_id":192186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d0"} 
[2026-09-25 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":755723136,"raw_latitude":117656824,"longitude_deg":75.5723136,"latitude_deg":11.7656824,"altitude":21,"angle":293,"satellites":29,"speed":14,"hex_longitude":"2d0b6b80","hex_latitude":"07034cf8","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319463680001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33821879613521920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599510411264,"note":"Value kept but may cause issues"} 
[2026-09-25 09:57:39] 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-25 09:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790310406000,"timestamp_ms":1790310406000,"timestamp_seconds":1790310406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d0d770"} 
[2026-09-25 09: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-25 09:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 09:57:39] 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-25 09: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-25 09: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-25 09:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192186,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319463680001,"66":14407,"37":206,"94":11008,"24":14,"16":33821879613521920,"45":823173599510411264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 09:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319463680001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:57:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 09:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33821879613521920,"km_value":33821879613521.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599510411264,"description":"Unknown IO ID 45"} 
[2026-09-25 09:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319463680001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":823173599510411264}} 
[2026-09-25 09:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":192186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:57:40] local.INFO: GPS data processed {"connection_id":192186,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:57:40] local.INFO: Acknowledgment sent {"connection_id":192186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:01] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:01] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:01] local.INFO: IMEI packet received {"connection_id":192188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":192188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:58:04] local.INFO: TCP Data received {"connection_id":194856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:04] local.INFO: Processing buffer {"connection_id":194856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:04] local.INFO: Packet analysis {"connection_id":194856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:58:04] local.INFO: Extracted packet for processing {"connection_id":194856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09: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-25 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09: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-25 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:58: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-25 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09: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-25 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":194856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:04] local.INFO: GPS data processed {"connection_id":194856,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:04] local.INFO: Acknowledgment sent {"connection_id":194856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:06] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:06] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:58:06] local.INFO: IMEI packet received {"connection_id":192188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":192188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:58:06] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:06] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:06] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:06] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 09:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 09:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:06] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:06] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:06] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1a678012d0b0d8007032c18000f00e91f..."} 
[2026-09-25 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1a678012d0b0d8007032c18000f00e91f..."} 
[2026-09-25 09:58:06] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1a678012d0b0d8007032c18000f00e91f..."} 
[2026-09-25 09:58:06] local.INFO: Packet analysis {"connection_id":192188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:06] local.INFO: Extracted packet for processing {"connection_id":192188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755699072,"raw_latitude":117648408,"longitude_deg":75.5699072,"latitude_deg":11.7648408,"altitude":15,"angle":233,"satellites":31,"speed":16,"hex_longitude":"2d0b0d80","hex_latitude":"07032c18","is_valid_coordinates":true} 
[2026-09-25 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319477248001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33823421506781184,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320441757696,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:06] 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-25 09:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310459000,"timestamp_ms":1790310459000,"timestamp_seconds":1790310459,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1a678"} 
[2026-09-25 09:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:06] 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-25 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319477248001,"66":14396,"17":206,"94":11008,"24":16,"16":33823421506781184,"45":796785320441757696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319477248001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33823421506781184,"km_value":33823421506781.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320441757696,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319477248001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":796785320441757696}} 
[2026-09-25 09:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:07] local.INFO: GPS data processed {"connection_id":192188,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:07] local.INFO: Acknowledgment sent {"connection_id":192188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:32] local.INFO: TCP Data received {"connection_id":192189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:32] local.INFO: Processing buffer {"connection_id":192189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:32] local.INFO: IMEI packet received {"connection_id":192189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":192189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:58:33] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:33] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:33] local.INFO: IMEI packet received {"connection_id":193540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":193540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:58:36] local.INFO: TCP Data received {"connection_id":192189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:36] local.INFO: Processing buffer {"connection_id":192189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:58:36] local.INFO: IMEI packet received {"connection_id":192189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":192189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:58:37] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1ae48012d0b0ac0070329c0000f00dd1f..."} 
[2026-09-25 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1ae48012d0b0ac0070329c0000f00dd1f..."} 
[2026-09-25 09:58:37] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1ae48012d0b0ac0070329c0000f00dd1f..."} 
[2026-09-25 09:58:37] local.INFO: Packet analysis {"connection_id":192188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:37] local.INFO: Extracted packet for processing {"connection_id":192188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117647808,"longitude_deg":75.5698368,"latitude_deg":11.7647808,"altitude":15,"angle":221,"satellites":31,"speed":18,"hex_longitude":"2d0b0ac0","hex_latitude":"070329c0","is_valid_coordinates":true} 
[2026-09-25 09:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319477504001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33823464456454144,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796433476720793600,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:37] 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-25 09:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790310461000,"timestamp_ms":1790310461000,"timestamp_seconds":1790310461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1ae48"} 
[2026-09-25 09:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 09:58:37] 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-25 09:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319477504001,"66":14537,"17":206,"94":11008,"24":18,"16":33823464456454144,"45":796433476720793600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319477504001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33823464456454144,"km_value":33823464456454.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":796433476720793600,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319477504001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":796433476720793600}} 
[2026-09-25 09:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":192188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:38] local.INFO: GPS data processed {"connection_id":192188,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:38] local.INFO: Acknowledgment sent {"connection_id":192188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:38] local.INFO: TCP Data received {"connection_id":192189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:38] local.INFO: Processing buffer {"connection_id":192189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:38] local.INFO: Packet analysis {"connection_id":192189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:58:38] local.INFO: Extracted packet for processing {"connection_id":192189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:58: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-25 09:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:58: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-25 09:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:58: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-25 09:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":192189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:38] local.INFO: GPS data processed {"connection_id":192189,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:38] local.INFO: Acknowledgment sent {"connection_id":192189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:38] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:38] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:58:38] local.INFO: IMEI packet received {"connection_id":193540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":193540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:58:39] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:39] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:58:39] local.INFO: Packet analysis {"connection_id":193540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:39] local.INFO: Extracted packet for processing {"connection_id":193540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 09:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 09:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:58:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":193540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:39] local.INFO: GPS data processed {"connection_id":193540,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:39] local.INFO: Acknowledgment sent {"connection_id":193540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:58:41] local.INFO: TCP Data received {"connection_id":192189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:41] local.INFO: Processing buffer {"connection_id":192189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:58:41] local.INFO: Packet analysis {"connection_id":192189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:58:41] local.INFO: Extracted packet for processing {"connection_id":192189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:58: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:58: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-25 09:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:58: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-25 09:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:58: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-25 09:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":192189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:58:41] local.INFO: GPS data processed {"connection_id":192189,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:58:41] local.INFO: Acknowledgment sent {"connection_id":192189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:59:01] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:01] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:01] local.INFO: IMEI packet received {"connection_id":193541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 09:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":193541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:59:02] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:02] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:02] local.INFO: IMEI packet received {"connection_id":193541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":193541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:59:07] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:07] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 09:59:07] local.INFO: IMEI packet received {"connection_id":193541,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":193541,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:59:08] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d29c90012d0afd400702c6100011007321..."} 
[2026-09-25 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d29c90012d0afd400702c6100011007321..."} 
[2026-09-25 09:59:08] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d29c90012d0afd400702c6100011007321..."} 
[2026-09-25 09:59:08] local.INFO: Packet analysis {"connection_id":193541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d2"} 
[2026-09-25 09:59:08] local.INFO: Extracted packet for processing {"connection_id":193541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d2"} 
[2026-09-25 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":755694912,"raw_latitude":117622288,"longitude_deg":75.5694912,"latitude_deg":11.7622288,"altitude":17,"angle":115,"satellites":33,"speed":17,"hex_longitude":"2d0afd40","hex_latitude":"0702c610","is_valid_coordinates":true} 
[2026-09-25 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-25 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319492352001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33824937630236672,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789115127319715840,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790310522000,"timestamp_ms":1790310522000,"timestamp_seconds":1790310522,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d29c90"} 
[2026-09-25 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-25 09:59:08] 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-25 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319492352001,"66":14450,"17":206,"94":11008,"24":17,"16":33824937630236672,"45":789115127319715840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319492352001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:59:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33824937630236672,"km_value":33824937630236.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":789115127319715840,"description":"Unknown IO ID 45"} 
[2026-09-25 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319492352001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":789115127319715840}} 
[2026-09-25 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":193541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:59:08] local.INFO: GPS data processed {"connection_id":193541,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:59:08] local.INFO: Acknowledgment sent {"connection_id":193541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:59:10] local.INFO: TCP Data received {"connection_id":193540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:10] local.INFO: Processing buffer {"connection_id":193540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:10] local.INFO: Packet analysis {"connection_id":193540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:59:10] local.INFO: Extracted packet for processing {"connection_id":193540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 09:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 09:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:59:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:59:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":193540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:59:10] local.INFO: GPS data processed {"connection_id":193540,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:59:10] local.INFO: Acknowledgment sent {"connection_id":193540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:59:26] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:26] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:26] local.INFO: IMEI packet received {"connection_id":193543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 09:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":193543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:59:28] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:28] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:28] local.INFO: IMEI packet received {"connection_id":193544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 09:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":193544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 09:59:31] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:31] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 09:59:31] local.INFO: IMEI packet received {"connection_id":193543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 09:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":193543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:59:32] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:59:32] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 09:59:32] local.INFO: Packet analysis {"connection_id":193543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:59:32] local.INFO: Extracted packet for processing {"connection_id":193543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 09:59:32] 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-25 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:59: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-25 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 09:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 09:59:32] local.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-25 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 09:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":193543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:59:32] local.INFO: GPS data processed {"connection_id":193543,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:59:32] local.INFO: Acknowledgment sent {"connection_id":193543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:59:33] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:33] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 09:59:33] local.INFO: IMEI packet received {"connection_id":193544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 09:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":193544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 09:59:34] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:34] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 09:59:34] local.INFO: Packet analysis {"connection_id":193544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:59:34] local.INFO: Extracted packet for processing {"connection_id":193544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 09:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 09: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-25 09:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 09:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 09: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-25 09:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 09: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 09:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09: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-25 09: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-25 09:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 09:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 09:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 09:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 09:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 09:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 09:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:59:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 09:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 09:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 09:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 09:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":193544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:59:34] local.INFO: GPS data processed {"connection_id":193544,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:59:34] local.INFO: Acknowledgment sent {"connection_id":193544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 09:59:39] local.INFO: TCP Data received {"connection_id":193541,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d2a460012d0aff000702c4580010008421..."} 
[2026-09-25 09:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d2a460012d0aff000702c4580010008421..."} 
[2026-09-25 09:59:39] local.INFO: Processing buffer {"connection_id":193541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d2a460012d0aff000702c4580010008421..."} 
[2026-09-25 09:59:39] local.INFO: Packet analysis {"connection_id":193541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d2"} 
[2026-09-25 09:59:39] local.INFO: Extracted packet for processing {"connection_id":193541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d2"} 
[2026-09-25 09:59:39] local.INFO: GPS Element Parsed {"raw_longitude":755695360,"raw_latitude":117621848,"longitude_deg":75.569536,"latitude_deg":11.7621848,"altitude":16,"angle":132,"satellites":33,"speed":6,"hex_longitude":"2d0aff00","hex_latitude":"0702c458","is_valid_coordinates":true} 
[2026-09-25 09:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 09:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319493632001,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33824967695007744,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791859508342558720,"note":"Value kept but may cause issues"} 
[2026-09-25 09:59:39] 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-25 09:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790310524000,"timestamp_ms":1790310524000,"timestamp_seconds":1790310524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d2a460"} 
[2026-09-25 09:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 09:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 09:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 09:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 09:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 09:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 09:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 09:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 09:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193541,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 09:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 09:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 09:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 09:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319493632001,"66":14613,"17":206,"94":11008,"24":6,"16":33824967695007744,"45":791859508342558720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 09:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 09:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 09:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319493632001,"description":"Unknown IO ID 0"} 
[2026-09-25 09:59:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 09:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33824967695007744,"km_value":33824967695007.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 09:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":791859508342558720,"description":"Unknown IO ID 45"} 
[2026-09-25 09:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319493632001,"power":14613,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":791859508342558720}} 
[2026-09-25 09:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":193541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 09:59:39] local.INFO: GPS data processed {"connection_id":193541,"processed":1,"errors":0,"total":1} 
[2026-09-25 09:59:39] local.INFO: Acknowledgment sent {"connection_id":193541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:00:01] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:01] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:01] local.INFO: IMEI packet received {"connection_id":191998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 10:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":191998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:00:04] local.INFO: TCP Data received {"connection_id":193543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:04] local.INFO: Processing buffer {"connection_id":193543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:04] local.INFO: Packet analysis {"connection_id":193543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 10:00:04] local.INFO: Extracted packet for processing {"connection_id":193543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 10:00: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-25 10:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00: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-25 10:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 10:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:00: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-25 10:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:00: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-25 10:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 10:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:00: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-25 10:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":193543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:00:04] local.INFO: GPS data processed {"connection_id":193543,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:00:04] local.INFO: Acknowledgment sent {"connection_id":193543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:00:05] local.INFO: TCP Data received {"connection_id":193544,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:05] local.INFO: Processing buffer {"connection_id":193544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:05] local.INFO: Packet analysis {"connection_id":193544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:00:05] local.INFO: Extracted packet for processing {"connection_id":193544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 10:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:00:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":193544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:00:05] local.INFO: GPS data processed {"connection_id":193544,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:00:05] local.INFO: Acknowledgment sent {"connection_id":193544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:00:07] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:07] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 10:00:07] local.INFO: IMEI packet received {"connection_id":191998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 10:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":191998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:00:08] local.INFO: TCP Data received {"connection_id":191998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d37750012d0b118007029fc00017014916..."} 
[2026-09-25 10:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d37750012d0b118007029fc00017014916..."} 
[2026-09-25 10:00:08] local.INFO: Processing buffer {"connection_id":191998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d37750012d0b118007029fc00017014916..."} 
[2026-09-25 10:00:08] local.INFO: Packet analysis {"connection_id":191998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:00:08] local.INFO: Extracted packet for processing {"connection_id":191998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:00:08] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117612480,"longitude_deg":75.5700096,"latitude_deg":11.761248,"altitude":23,"angle":329,"satellites":22,"speed":2,"hex_longitude":"2d0b1180","hex_latitude":"07029fc0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319507712001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825538925658112,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797629745362599936,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790310578000,"timestamp_ms":1790310578000,"timestamp_seconds":1790310578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d37750"} 
[2026-09-25 10: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-25 10:00:08] 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-25 10: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 10:00: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-25 10: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-25 10: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-25 10:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 10:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 10:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 10:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 10:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319507712001,"66":14537,"17":206,"94":11008,"24":2,"16":33825538925658112,"45":797629745362599936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 10:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 10:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 10:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319507712001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:00:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 10:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33825538925658112,"km_value":33825538925658.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":797629745362599936,"description":"Unknown IO ID 45"} 
[2026-09-25 10:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319507712001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797629745362599936}} 
[2026-09-25 10:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":191998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894686,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:00:08] local.INFO: GPS data processed {"connection_id":191998,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:00:08] local.INFO: Acknowledgment sent {"connection_id":191998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:00:26] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:26] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:26] local.INFO: IMEI packet received {"connection_id":193545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":193545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:00:28] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:28] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:28] local.INFO: IMEI packet received {"connection_id":192191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":192191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:00:31] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:31] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:00:31] local.INFO: IMEI packet received {"connection_id":193545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":193545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:00:32] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:32] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6cf1e08012d34c14006aa4940000900f52b..."} 
[2026-09-25 10:00:32] local.INFO: Packet analysis {"connection_id":193545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 10:00:32] local.INFO: Extracted packet for processing {"connection_id":193545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6cf"} 
[2026-09-25 10:00:32] 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-25 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319357952001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310293000,"timestamp_ms":1790310293000,"timestamp_seconds":1790310293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6cf1e08"} 
[2026-09-25 10:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:00: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-25 10:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319357952001,"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-25 10:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319357952001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319357952001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":193545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:00:32] local.INFO: GPS data processed {"connection_id":193545,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:00:32] local.INFO: Acknowledgment sent {"connection_id":193545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:00:33] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:33] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:00:33] local.INFO: IMEI packet received {"connection_id":192191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":192191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:00:34] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:34] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:00:34] local.INFO: Packet analysis {"connection_id":192191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:00:34] local.INFO: Extracted packet for processing {"connection_id":192191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 10: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-25 10:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:00:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:00:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":192191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:00:34] local.INFO: GPS data processed {"connection_id":192191,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:00:34] local.INFO: Acknowledgment sent {"connection_id":192191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:01:03] local.INFO: TCP Data received {"connection_id":193545,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:03] local.INFO: Processing buffer {"connection_id":193545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:03] local.INFO: Packet analysis {"connection_id":193545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:01:03] local.INFO: Extracted packet for processing {"connection_id":193545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:01: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01: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-25 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:01: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-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":193545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:01:03] local.INFO: GPS data processed {"connection_id":193545,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:01:03] local.INFO: Acknowledgment sent {"connection_id":193545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:01:06] local.INFO: TCP Data received {"connection_id":192191,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:06] local.INFO: Processing buffer {"connection_id":192191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:06] local.INFO: Packet analysis {"connection_id":192191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:01:06] local.INFO: Extracted packet for processing {"connection_id":192191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 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-25 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:01:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":192191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:01:06] local.INFO: GPS data processed {"connection_id":192191,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:01:06] local.INFO: Acknowledgment sent {"connection_id":192191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:01:28] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:28] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:28] local.INFO: IMEI packet received {"connection_id":193546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":193546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:01:30] local.INFO: TCP Data received {"connection_id":191999,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:01:30] local.INFO: Processing buffer {"connection_id":191999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:01:30] local.INFO: IMEI packet received {"connection_id":191999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":191999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:01:31] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:31] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:31] local.INFO: IMEI packet received {"connection_id":193547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":193547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:01:33] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:33] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:01:33] local.INFO: IMEI packet received {"connection_id":193546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":193546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:01:34] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:34] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:01:34] local.INFO: Packet analysis {"connection_id":193546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:01:34] local.INFO: Extracted packet for processing {"connection_id":193546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 10: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-25 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":193546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:01:34] local.INFO: GPS data processed {"connection_id":193546,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:01:34] local.INFO: Acknowledgment sent {"connection_id":193546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:01:36] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:36] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:01:36] local.INFO: IMEI packet received {"connection_id":193547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":193547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:01:38] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:38] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:01:38] local.INFO: Packet analysis {"connection_id":193547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:01:38] local.INFO: Extracted packet for processing {"connection_id":193547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:01: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-25 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:01: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-25 10:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":193547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:01:38] local.INFO: GPS data processed {"connection_id":193547,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:01:38] local.INFO: Acknowledgment sent {"connection_id":193547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:02:06] local.INFO: TCP Data received {"connection_id":193546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:06] local.INFO: Processing buffer {"connection_id":193546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:06] local.INFO: Packet analysis {"connection_id":193546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:02:06] local.INFO: Extracted packet for processing {"connection_id":193546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 10:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:02:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":193546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:02:06] local.INFO: GPS data processed {"connection_id":193546,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:02:06] local.INFO: Acknowledgment sent {"connection_id":193546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:02:10] local.INFO: TCP Data received {"connection_id":192192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:02:10] local.INFO: Processing buffer {"connection_id":192192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:02:10] local.INFO: IMEI packet received {"connection_id":192192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":192192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:02:11] local.INFO: TCP Data received {"connection_id":193547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:11] local.INFO: Processing buffer {"connection_id":193547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:11] local.INFO: Packet analysis {"connection_id":193547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:02:11] local.INFO: Extracted packet for processing {"connection_id":193547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:02: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-25 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-25 10:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 10:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 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-25 10:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 10:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":193547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:02:11] local.INFO: GPS data processed {"connection_id":193547,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:02:11] local.INFO: Acknowledgment sent {"connection_id":193547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:02:26] local.INFO: TCP Data received {"connection_id":194857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:26] local.INFO: Processing buffer {"connection_id":194857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:26] local.INFO: IMEI packet received {"connection_id":194857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":194857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:02:28] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:28] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:28] local.INFO: IMEI packet received {"connection_id":192000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:02:31] local.INFO: TCP Data received {"connection_id":194857,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:31] local.INFO: Processing buffer {"connection_id":194857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:02:31] local.INFO: IMEI packet received {"connection_id":194857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":194857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:02:33] local.INFO: TCP Data received {"connection_id":194857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:33] local.INFO: Processing buffer {"connection_id":194857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:02:33] local.INFO: Packet analysis {"connection_id":194857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:02:33] local.INFO: Extracted packet for processing {"connection_id":194857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10: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-25 10:02: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:02: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-25 10:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":194857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:02:33] local.INFO: GPS data processed {"connection_id":194857,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:02:33] local.INFO: Acknowledgment sent {"connection_id":194857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:02:33] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:33] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:02:33] local.INFO: IMEI packet received {"connection_id":192000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:02:34] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:34] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d1f498012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:02:34] local.INFO: Packet analysis {"connection_id":192000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:02:34] local.INFO: Extracted packet for processing {"connection_id":192000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d1"} 
[2026-09-25 10:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310479000,"timestamp_ms":1790310479000,"timestamp_seconds":1790310479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d1f498"} 
[2026-09-25 10: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-25 10:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 10:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319405568001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:02:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:02:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319405568001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":192000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:02:34] local.INFO: GPS data processed {"connection_id":192000,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:02:34] local.INFO: Acknowledgment sent {"connection_id":192000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:03:05] local.INFO: TCP Data received {"connection_id":194857,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:05] local.INFO: Processing buffer {"connection_id":194857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:05] local.INFO: Packet analysis {"connection_id":194857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:03:05] local.INFO: Extracted packet for processing {"connection_id":194857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10: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-25 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10: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-25 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10: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-25 10:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:03:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":194857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:03:05] local.INFO: GPS data processed {"connection_id":194857,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:03:05] local.INFO: Acknowledgment sent {"connection_id":194857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:03:07] local.INFO: TCP Data received {"connection_id":192000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:07] local.INFO: Processing buffer {"connection_id":192000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:07] local.INFO: Packet analysis {"connection_id":192000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:03:07] local.INFO: Extracted packet for processing {"connection_id":192000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:03:07] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:03:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":192000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:03:07] local.INFO: GPS data processed {"connection_id":192000,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:03:07] local.INFO: Acknowledgment sent {"connection_id":192000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:03:26] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:26] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:26] local.INFO: IMEI packet received {"connection_id":192193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":192193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:03:31] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:31] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:03:31] local.INFO: IMEI packet received {"connection_id":192193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":192193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:03:32] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:32] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:03:32] local.INFO: Packet analysis {"connection_id":192193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:03:32] local.INFO: Extracted packet for processing {"connection_id":192193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:03: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-25 10:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":192193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:03:32] local.INFO: GPS data processed {"connection_id":192193,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:03:32] local.INFO: Acknowledgment sent {"connection_id":192193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:03:33] local.INFO: TCP Data received {"connection_id":194858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:33] local.INFO: Processing buffer {"connection_id":194858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:33] local.INFO: IMEI packet received {"connection_id":194858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":194858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:03:38] local.INFO: TCP Data received {"connection_id":194858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:38] local.INFO: Processing buffer {"connection_id":194858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:03:38] local.INFO: IMEI packet received {"connection_id":194858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":194858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:03:40] local.INFO: TCP Data received {"connection_id":194858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:40] local.INFO: Processing buffer {"connection_id":194858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:03:40] local.INFO: Packet analysis {"connection_id":194858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:03:40] local.INFO: Extracted packet for processing {"connection_id":194858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:03:40] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:03:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":194858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:03:40] local.INFO: GPS data processed {"connection_id":194858,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:03:40] local.INFO: Acknowledgment sent {"connection_id":194858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:04:04] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:04] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:04] local.INFO: Packet analysis {"connection_id":192193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:04:04] local.INFO: Extracted packet for processing {"connection_id":192193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10: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-25 10:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04: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-25 10:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":192193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:04:04] local.INFO: GPS data processed {"connection_id":192193,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:04:04] local.INFO: Acknowledgment sent {"connection_id":192193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:04:12] local.INFO: TCP Data received {"connection_id":194858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:12] local.INFO: Processing buffer {"connection_id":194858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:12] local.INFO: Packet analysis {"connection_id":194858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:04:12] local.INFO: Extracted packet for processing {"connection_id":194858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:04:12] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":194858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":194858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":194858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:04:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":194858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:04:12] local.INFO: GPS data processed {"connection_id":194858,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:04:12] local.INFO: Acknowledgment sent {"connection_id":194858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:04:28] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:28] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:28] local.INFO: IMEI packet received {"connection_id":192195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:04:31] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:31] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:31] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:04:33] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:33] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:04:33] local.INFO: IMEI packet received {"connection_id":192195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:04:34] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:34] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:04:34] local.INFO: Packet analysis {"connection_id":192195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:04:34] local.INFO: Extracted packet for processing {"connection_id":192195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:04:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:04:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":192195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:04:34] local.INFO: GPS data processed {"connection_id":192195,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:04:34] local.INFO: Acknowledgment sent {"connection_id":192195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:04:36] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:36] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:04:36] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:04:37] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:37] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:37] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:04:37] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:04: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-25 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04: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-25 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:04: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-25 10:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:04:37] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:04:37] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:04:42] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:42] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:04:42] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:04:42] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:04: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:04: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-25 10:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:04: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-25 10:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:04:42] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:04:42] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:05:05] local.INFO: TCP Data received {"connection_id":192195,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:05] local.INFO: Processing buffer {"connection_id":192195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:05] local.INFO: Packet analysis {"connection_id":192195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:05:05] local.INFO: Extracted packet for processing {"connection_id":192195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:05:05] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:05:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":192195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:05:06] local.INFO: GPS data processed {"connection_id":192195,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:05:06] local.INFO: Acknowledgment sent {"connection_id":192195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:05:26] local.INFO: TCP Data received {"connection_id":192003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:26] local.INFO: Processing buffer {"connection_id":192003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:26] local.INFO: IMEI packet received {"connection_id":192003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":192003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:05:28] local.INFO: TCP Data received {"connection_id":193548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:28] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:28] local.INFO: IMEI packet received {"connection_id":193548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":193548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:05:31] local.INFO: TCP Data received {"connection_id":192003,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:31] local.INFO: Processing buffer {"connection_id":192003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:05:31] local.INFO: IMEI packet received {"connection_id":192003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":192003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:05:32] local.INFO: TCP Data received {"connection_id":192003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:05:32] local.INFO: Processing buffer {"connection_id":192003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d3b5d0012d34c14006aa4940000900f52d..."} 
[2026-09-25 10:05:32] local.INFO: Packet analysis {"connection_id":192003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:05:32] local.INFO: Extracted packet for processing {"connection_id":192003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d3"} 
[2026-09-25 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823168,"longitude_deg":75.8432064,"latitude_deg":11.1823168,"altitude":9,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319435008001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310594000,"timestamp_ms":1790310594000,"timestamp_seconds":1790310594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d3b5d0"} 
[2026-09-25 10:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:05: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-25 10:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319435008001,"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-25 10:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319435008001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:05:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319435008001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":192003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:05:32] local.INFO: GPS data processed {"connection_id":192003,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:05:32] local.INFO: Acknowledgment sent {"connection_id":192003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:05:33] local.INFO: TCP Data received {"connection_id":193548,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:33] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:05:33] local.INFO: IMEI packet received {"connection_id":193548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":193548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:05:34] local.INFO: TCP Data received {"connection_id":193548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:34] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:05:34] local.INFO: Packet analysis {"connection_id":193548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:05:34] local.INFO: Extracted packet for processing {"connection_id":193548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:05:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":193548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:05:34] local.INFO: GPS data processed {"connection_id":193548,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:05:34] local.INFO: Acknowledgment sent {"connection_id":193548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:06:04] local.INFO: TCP Data received {"connection_id":192003,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:04] local.INFO: Processing buffer {"connection_id":192003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:04] local.INFO: Packet analysis {"connection_id":192003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:06:04] local.INFO: Extracted packet for processing {"connection_id":192003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10: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-25 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:06: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-25 10:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:06:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:06:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":192003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:06:04] local.INFO: GPS data processed {"connection_id":192003,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:06:04] local.INFO: Acknowledgment sent {"connection_id":192003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:06:07] local.INFO: TCP Data received {"connection_id":193548,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:07] local.INFO: Processing buffer {"connection_id":193548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:07] local.INFO: Packet analysis {"connection_id":193548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:06:07] local.INFO: Extracted packet for processing {"connection_id":193548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 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-25 10:06:07] 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-25 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:06:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:06:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":193548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:06:07] local.INFO: GPS data processed {"connection_id":193548,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:06:07] local.INFO: Acknowledgment sent {"connection_id":193548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:06:26] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:26] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:26] local.INFO: IMEI packet received {"connection_id":193549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":193549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:06:27] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:27] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:27] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:06:31] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:31] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:06:31] local.INFO: IMEI packet received {"connection_id":193549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":193549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:06:33] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:33] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:06:33] local.INFO: IMEI packet received {"connection_id":192005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:06:33] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:33] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:06:33] local.INFO: Packet analysis {"connection_id":193549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:06:33] local.INFO: Extracted packet for processing {"connection_id":193549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10: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-25 10: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-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:06: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-25 10: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-25 10: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-25 10:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:06: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-25 10:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:06:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:06:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":193549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:06:33] local.INFO: GPS data processed {"connection_id":193549,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:06:33] local.INFO: Acknowledgment sent {"connection_id":193549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:06:34] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:34] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:06:34] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:06:34] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:06:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:06:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:06:34] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:06:34] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:07:05] local.INFO: TCP Data received {"connection_id":192005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:05] local.INFO: Processing buffer {"connection_id":192005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:05] local.INFO: Packet analysis {"connection_id":192005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:05] local.INFO: Extracted packet for processing {"connection_id":192005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:07:05] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":192005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:07:05] local.INFO: GPS data processed {"connection_id":192005,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:07:05] local.INFO: Acknowledgment sent {"connection_id":192005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:07:05] local.INFO: TCP Data received {"connection_id":193549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:05] local.INFO: Processing buffer {"connection_id":193549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:05] local.INFO: Packet analysis {"connection_id":193549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:07:05] local.INFO: Extracted packet for processing {"connection_id":193549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10: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-25 10: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-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:07: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-25 10: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-25 10: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-25 10:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:07: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-25 10:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":193549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:07:05] local.INFO: GPS data processed {"connection_id":193549,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:07:05] local.INFO: Acknowledgment sent {"connection_id":193549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:07:25] local.INFO: TCP Data received {"connection_id":194860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:25] local.INFO: Processing buffer {"connection_id":194860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:25] local.INFO: IMEI packet received {"connection_id":194860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":194860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:07:31] local.INFO: TCP Data received {"connection_id":194860,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:31] local.INFO: Processing buffer {"connection_id":194860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:07:31] local.INFO: IMEI packet received {"connection_id":194860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":194860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:07:32] local.INFO: TCP Data received {"connection_id":194860,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:32] local.INFO: Processing buffer {"connection_id":194860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:07:32] local.INFO: Packet analysis {"connection_id":194860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:07:32] local.INFO: Extracted packet for processing {"connection_id":194860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:07:32] 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-25 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:07: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-25 10:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":194860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:07:32] local.INFO: GPS data processed {"connection_id":194860,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:07:32] local.INFO: Acknowledgment sent {"connection_id":194860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:07:33] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:33] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:33] local.INFO: IMEI packet received {"connection_id":192197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":192197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:07:35] local.INFO: TCP Data received {"connection_id":194859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:07:35] local.INFO: Processing buffer {"connection_id":194859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:07:35] local.INFO: IMEI packet received {"connection_id":194859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":194859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:07:38] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:38] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:07:38] local.INFO: IMEI packet received {"connection_id":192197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":192197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:07:39] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:39] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:39] local.INFO: Packet analysis {"connection_id":192197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:39] local.INFO: Extracted packet for processing {"connection_id":192197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:07: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-25 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:07:39] 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-25 10:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:07: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-25 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:07:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:07:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":192197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:07:39] local.INFO: GPS data processed {"connection_id":192197,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:07:39] local.INFO: Acknowledgment sent {"connection_id":192197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:07:44] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:44] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d68c60012d7d35c005ec12b00004007023..."} 
[2026-09-25 10:07:44] local.INFO: Packet analysis {"connection_id":192197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:44] local.INFO: Extracted packet for processing {"connection_id":192197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d6"} 
[2026-09-25 10:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319482624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790310780000,"timestamp_ms":1790310780000,"timestamp_seconds":1790310780,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d68c60"} 
[2026-09-25 10: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-25 10:07:44] 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-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319482624001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319482624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:07:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:07:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319482624001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":192197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:07:44] local.INFO: GPS data processed {"connection_id":192197,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:07:44] local.INFO: Acknowledgment sent {"connection_id":192197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:08:03] local.INFO: TCP Data received {"connection_id":194860,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:03] local.INFO: Processing buffer {"connection_id":194860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:03] local.INFO: Packet analysis {"connection_id":194860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:08:03] local.INFO: Extracted packet for processing {"connection_id":194860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:08: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-25 10:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08: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-25 10:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:08: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-25 10:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":194860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:08:03] local.INFO: GPS data processed {"connection_id":194860,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:08:03] local.INFO: Acknowledgment sent {"connection_id":194860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:08:05] local.INFO: TCP Data received {"connection_id":193550,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:08:05] local.INFO: Processing buffer {"connection_id":193550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:08:05] local.INFO: IMEI packet received {"connection_id":193550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":193550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:08:28] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:28] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:28] local.INFO: IMEI packet received {"connection_id":193551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":193551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:08:31] local.INFO: TCP Data received {"connection_id":193552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:31] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:31] local.INFO: IMEI packet received {"connection_id":193552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":193552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:08:33] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:33] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:08:33] local.INFO: IMEI packet received {"connection_id":193551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":193551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:08:34] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:08:34] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:08:34] local.INFO: Packet analysis {"connection_id":193551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:08:34] local.INFO: Extracted packet for processing {"connection_id":193551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:08:34] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:08:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":193551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:08:34] local.INFO: GPS data processed {"connection_id":193551,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:08:34] local.INFO: Acknowledgment sent {"connection_id":193551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:08:36] local.INFO: TCP Data received {"connection_id":193552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:36] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:08:36] local.INFO: IMEI packet received {"connection_id":193552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":193552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:08:37] local.INFO: TCP Data received {"connection_id":193552,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:37] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:08:37] local.INFO: Packet analysis {"connection_id":193552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:08:37] local.INFO: Extracted packet for processing {"connection_id":193552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:08: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-25 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:08: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-25 10:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:08: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-25 10:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:08: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-25 10:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":193552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:08:37] local.INFO: GPS data processed {"connection_id":193552,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:08:37] local.INFO: Acknowledgment sent {"connection_id":193552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:09:05] local.INFO: TCP Data received {"connection_id":193551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:05] local.INFO: Processing buffer {"connection_id":193551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:05] local.INFO: Packet analysis {"connection_id":193551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:09:05] local.INFO: Extracted packet for processing {"connection_id":193551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:09:05] 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-25 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:09:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":193551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:09:06] local.INFO: GPS data processed {"connection_id":193551,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:09:06] local.INFO: Acknowledgment sent {"connection_id":193551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:09:08] local.INFO: TCP Data received {"connection_id":193552,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:08] local.INFO: Processing buffer {"connection_id":193552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:08] local.INFO: Packet analysis {"connection_id":193552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:09:08] local.INFO: Extracted packet for processing {"connection_id":193552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10: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-25 10:09: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-25 10:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:09: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-25 10:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":193552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:09:08] local.INFO: GPS data processed {"connection_id":193552,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:09:08] local.INFO: Acknowledgment sent {"connection_id":193552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:09:26] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:26] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:26] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:09:28] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:28] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:28] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:09:31] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:31] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:09:31] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:09:33] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:33] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:09:33] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:09:33] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10: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-25 10:09: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-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:09: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-25 10: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-25 10: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-25 10:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:09:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:09:33] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:09:33] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:09:33] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:33] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:09:33] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:09:34] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:34] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:09:34] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:09:34] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:09:34] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:09:34] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:09:34] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:10:05] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:05] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:05] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:10:05] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:10:05] 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-25 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:10:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:10:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:10:05] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:10:05] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:10:06] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:06] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:06] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:10:06] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10: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-25 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:10: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-25 10:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:10: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-25 10:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:10:06] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:10:06] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:10:26] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:26] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:26] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:10:28] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:28] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:28] local.INFO: IMEI packet received {"connection_id":192200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":192200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:10:31] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:31] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:10:31] local.INFO: IMEI packet received {"connection_id":192007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":192007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:10:32] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:32] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6d84d98012d34c14006aa4940000900f52e..."} 
[2026-09-25 10:10:32] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:10:32] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6d8"} 
[2026-09-25 10:10:32] 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-25 10:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319512064001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790310895000,"timestamp_ms":1790310895000,"timestamp_seconds":1790310895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6d84d98"} 
[2026-09-25 10:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319512064001,"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-25 10:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319512064001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319512064001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:10:32] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:10:32] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:10:34] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:34] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:10:34] local.INFO: IMEI packet received {"connection_id":192200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":192200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:10:35] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:35] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:10:35] local.INFO: Packet analysis {"connection_id":192200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:10:35] local.INFO: Extracted packet for processing {"connection_id":192200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 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-25 10:10:35] 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-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:10:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:10:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":192200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:10:35] local.INFO: GPS data processed {"connection_id":192200,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:10:35] local.INFO: Acknowledgment sent {"connection_id":192200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:11:05] local.INFO: TCP Data received {"connection_id":192007,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:05] local.INFO: Processing buffer {"connection_id":192007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:05] local.INFO: Packet analysis {"connection_id":192007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:11:05] local.INFO: Extracted packet for processing {"connection_id":192007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10: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-25 10: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-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:11: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-25 10: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-25 10: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-25 10:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":192007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:11:05] local.INFO: GPS data processed {"connection_id":192007,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:11:05] local.INFO: Acknowledgment sent {"connection_id":192007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:11:06] local.INFO: TCP Data received {"connection_id":192200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:06] local.INFO: Processing buffer {"connection_id":192200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:06] local.INFO: Packet analysis {"connection_id":192200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:11:06] local.INFO: Extracted packet for processing {"connection_id":192200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:11:06] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:11:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":192200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:11:06] local.INFO: GPS data processed {"connection_id":192200,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:11:06] local.INFO: Acknowledgment sent {"connection_id":192200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:11:26] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:26] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:26] local.INFO: IMEI packet received {"connection_id":193553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":193553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:11:28] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:28] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:28] local.INFO: IMEI packet received {"connection_id":193554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":193554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:11:31] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:31] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:11:31] local.INFO: IMEI packet received {"connection_id":193553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":193553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:11:32] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:32] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:32] local.INFO: Packet analysis {"connection_id":193553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:11:32] local.INFO: Extracted packet for processing {"connection_id":193553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:11:32] 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-25 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":193553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:11:32] local.INFO: GPS data processed {"connection_id":193553,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:11:32] local.INFO: Acknowledgment sent {"connection_id":193553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:11:33] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:33] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:11:33] local.INFO: IMEI packet received {"connection_id":193554,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":193554,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:11:34] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:34] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:11:34] local.INFO: Packet analysis {"connection_id":193554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:11:34] local.INFO: Extracted packet for processing {"connection_id":193554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:11:34] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:11:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:11:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":193554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:11:34] local.INFO: GPS data processed {"connection_id":193554,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:11:34] local.INFO: Acknowledgment sent {"connection_id":193554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:11:37] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:37] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:11:37] local.INFO: Packet analysis {"connection_id":193553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:11:37] local.INFO: Extracted packet for processing {"connection_id":193553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:11: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:11: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-25 10:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":193553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:11:37] local.INFO: GPS data processed {"connection_id":193553,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:11:37] local.INFO: Acknowledgment sent {"connection_id":193553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:12:06] local.INFO: TCP Data received {"connection_id":193554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:06] local.INFO: Processing buffer {"connection_id":193554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:06] local.INFO: Packet analysis {"connection_id":193554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:12:06] local.INFO: Extracted packet for processing {"connection_id":193554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:12:06] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193554,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:12:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:12:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":193554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:12:06] local.INFO: GPS data processed {"connection_id":193554,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:12:06] local.INFO: Acknowledgment sent {"connection_id":193554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:12:08] local.INFO: TCP Data received {"connection_id":193553,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:08] local.INFO: Processing buffer {"connection_id":193553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:08] local.INFO: Packet analysis {"connection_id":193553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:12:08] local.INFO: Extracted packet for processing {"connection_id":193553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:12: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-25 10: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-25 10:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10: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-25 10:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":193553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:12:08] local.INFO: GPS data processed {"connection_id":193553,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:12:08] local.INFO: Acknowledgment sent {"connection_id":193553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:12:26] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:26] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:26] local.INFO: IMEI packet received {"connection_id":193555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":193555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:12:28] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:28] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:28] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:12:31] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:31] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:12:31] local.INFO: IMEI packet received {"connection_id":193555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":193555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:12:33] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:33] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:12:33] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:12:33] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:33] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:12:33] local.INFO: Packet analysis {"connection_id":193555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:12:33] local.INFO: Extracted packet for processing {"connection_id":193555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10: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-25 10: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-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:12: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-25 10: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-25 10: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-25 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":193555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:12:33] local.INFO: GPS data processed {"connection_id":193555,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:12:33] local.INFO: Acknowledgment sent {"connection_id":193555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:12:34] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:34] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6db2428012d7d35c005ec12b00004007026..."} 
[2026-09-25 10:12:34] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:12:34] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6db"} 
[2026-09-25 10:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":4,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311081000,"timestamp_ms":1790311081000,"timestamp_seconds":1790311081,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6db2428"} 
[2026-09-25 10: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-25 10:12:34] 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-25 10:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319559680001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:12:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:12:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319559680001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:12:34] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:12:34] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:13:05] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:05] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:05] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:13:05] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:13:05] 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-25 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:13:05] local.INFO: TCP Data received {"connection_id":193555,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:05] local.INFO: Processing buffer {"connection_id":193555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:05] local.INFO: Packet analysis {"connection_id":193555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:13:05] local.INFO: Extracted packet for processing {"connection_id":193555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10: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-25 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:13: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-25 10:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":193555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:13:05] local.INFO: GPS data processed {"connection_id":193555,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:13:05] local.INFO: Acknowledgment sent {"connection_id":193555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:13:05] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:13:05] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:13:26] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:26] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:26] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:13:31] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:31] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:13:31] local.INFO: IMEI packet received {"connection_id":192008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":192008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:13:32] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:32] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:13:32] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:13:32] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:13:32] 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-25 10:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:13: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-25 10:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:13:32] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:13:32] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:13:33] local.INFO: TCP Data received {"connection_id":192202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:33] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:33] local.INFO: IMEI packet received {"connection_id":192202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":192202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:13:36] local.INFO: TCP Data received {"connection_id":194864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:13:36] local.INFO: Processing buffer {"connection_id":194864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:13:36] local.INFO: IMEI packet received {"connection_id":194864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":194864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:13:38] local.INFO: TCP Data received {"connection_id":192202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:38] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:13:38] local.INFO: IMEI packet received {"connection_id":192202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":192202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:13:39] local.INFO: TCP Data received {"connection_id":192202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:39] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:13:39] local.INFO: Packet analysis {"connection_id":192202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:13:39] local.INFO: Extracted packet for processing {"connection_id":192202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10: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-25 10:13:39] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:13:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:13:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":192202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:13:39] local.INFO: GPS data processed {"connection_id":192202,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:13:39] local.INFO: Acknowledgment sent {"connection_id":192202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:14:05] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:14:05] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:14:05] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:14:06] local.INFO: TCP Data received {"connection_id":192008,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:06] local.INFO: Processing buffer {"connection_id":192008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:06] local.INFO: Packet analysis {"connection_id":192008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:14:06] local.INFO: Extracted packet for processing {"connection_id":192008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10: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-25 10:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:14: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-25 10: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-25 10: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-25 10:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14: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-25 10:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":192008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:14:06] local.INFO: GPS data processed {"connection_id":192008,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:14:06] local.INFO: Acknowledgment sent {"connection_id":192008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:14:12] local.INFO: TCP Data received {"connection_id":192202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:12] local.INFO: Processing buffer {"connection_id":192202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:12] local.INFO: Packet analysis {"connection_id":192202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:14:12] local.INFO: Extracted packet for processing {"connection_id":192202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10: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-25 10:14:12] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:14:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":192202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:14:12] local.INFO: GPS data processed {"connection_id":192202,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:14:12] local.INFO: Acknowledgment sent {"connection_id":192202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:14:28] local.INFO: TCP Data received {"connection_id":194865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:28] local.INFO: Processing buffer {"connection_id":194865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:28] local.INFO: IMEI packet received {"connection_id":194865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":194865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:14:31] local.INFO: TCP Data received {"connection_id":194866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:31] local.INFO: Processing buffer {"connection_id":194866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:31] local.INFO: IMEI packet received {"connection_id":194866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":194866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:14:33] local.INFO: TCP Data received {"connection_id":194865,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:33] local.INFO: Processing buffer {"connection_id":194865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:14:33] local.INFO: IMEI packet received {"connection_id":194865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":194865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:14:34] local.INFO: TCP Data received {"connection_id":194865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:34] local.INFO: Processing buffer {"connection_id":194865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:14:34] local.INFO: Packet analysis {"connection_id":194865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:14:34] local.INFO: Extracted packet for processing {"connection_id":194865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:14:34] 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-25 10:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:14:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":194865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:14:34] local.INFO: GPS data processed {"connection_id":194865,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:14:34] local.INFO: Acknowledgment sent {"connection_id":194865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:14:36] local.INFO: TCP Data received {"connection_id":194866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:36] local.INFO: Processing buffer {"connection_id":194866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:14:36] local.INFO: IMEI packet received {"connection_id":194866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":194866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:14:38] local.INFO: TCP Data received {"connection_id":194866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:38] local.INFO: Processing buffer {"connection_id":194866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:38] local.INFO: Packet analysis {"connection_id":194866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:14:38] local.INFO: Extracted packet for processing {"connection_id":194866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:14: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:14: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-25 10:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14: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-25 10:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:14: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-25 10:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":194866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:14:38] local.INFO: GPS data processed {"connection_id":194866,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:14:38] local.INFO: Acknowledgment sent {"connection_id":194866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:14:44] local.INFO: TCP Data received {"connection_id":194866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:44] local.INFO: Processing buffer {"connection_id":194866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:14:44] local.INFO: Packet analysis {"connection_id":194866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:14:44] local.INFO: Extracted packet for processing {"connection_id":194866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:14: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-25 10:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":194866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":194866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":194866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:14: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-25 10:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":194866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:14:44] local.INFO: GPS data processed {"connection_id":194866,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:14:44] local.INFO: Acknowledgment sent {"connection_id":194866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:15:05] local.INFO: TCP Data received {"connection_id":194865,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:05] local.INFO: Processing buffer {"connection_id":194865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:05] local.INFO: Packet analysis {"connection_id":194865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:15:05] local.INFO: Extracted packet for processing {"connection_id":194865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:15:05] 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-25 10:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:15:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:15:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":194865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:15:05] local.INFO: GPS data processed {"connection_id":194865,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:15:05] local.INFO: Acknowledgment sent {"connection_id":194865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:15:26] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:26] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:26] local.INFO: IMEI packet received {"connection_id":193556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":193556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:15:28] local.INFO: TCP Data received {"connection_id":194867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:28] local.INFO: Processing buffer {"connection_id":194867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:28] local.INFO: IMEI packet received {"connection_id":194867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":194867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:15:31] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:31] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:15:31] local.INFO: IMEI packet received {"connection_id":193556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":193556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:15:32] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:15:32] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dce560012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:15:32] local.INFO: Packet analysis {"connection_id":193556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:15:32] local.INFO: Extracted packet for processing {"connection_id":193556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6dc"} 
[2026-09-25 10:15:32] 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-25 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319589120001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311196000,"timestamp_ms":1790311196000,"timestamp_seconds":1790311196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dce560"} 
[2026-09-25 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:15: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-25 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319589120001,"66":25397,"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-25 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319589120001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319589120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":193556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:15:32] local.INFO: GPS data processed {"connection_id":193556,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:15:32] local.INFO: Acknowledgment sent {"connection_id":193556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:15:33] local.INFO: TCP Data received {"connection_id":194867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:33] local.INFO: Processing buffer {"connection_id":194867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:15:33] local.INFO: IMEI packet received {"connection_id":194867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":194867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:15:35] local.INFO: TCP Data received {"connection_id":194867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:35] local.INFO: Processing buffer {"connection_id":194867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:15:35] local.INFO: Packet analysis {"connection_id":194867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:15:35] local.INFO: Extracted packet for processing {"connection_id":194867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 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-25 10:15:35] 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-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:15:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:15:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":194867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:15:35] local.INFO: GPS data processed {"connection_id":194867,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:15:35] local.INFO: Acknowledgment sent {"connection_id":194867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:16:03] local.INFO: TCP Data received {"connection_id":193556,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:03] local.INFO: Processing buffer {"connection_id":193556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:03] local.INFO: Packet analysis {"connection_id":193556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:16:03] local.INFO: Extracted packet for processing {"connection_id":193556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:16: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16: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-25 10:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:16: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-25 10:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:16:03] local.INFO: GPS data processed {"connection_id":193556,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:16:03] local.INFO: Acknowledgment sent {"connection_id":193556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:16:07] local.INFO: TCP Data received {"connection_id":194867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:07] local.INFO: Processing buffer {"connection_id":194867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:07] local.INFO: Packet analysis {"connection_id":194867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:16:07] local.INFO: Extracted packet for processing {"connection_id":194867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 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-25 10:16:07] 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-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:16:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:16:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":194867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:16:07] local.INFO: GPS data processed {"connection_id":194867,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:16:07] local.INFO: Acknowledgment sent {"connection_id":194867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:16:27] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:27] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:27] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:16:27] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:27] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:27] local.INFO: IMEI packet received {"connection_id":193557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":193557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:16:31] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:31] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:16:31] local.INFO: IMEI packet received {"connection_id":192011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":192011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:16:32] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:32] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:16:32] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:16:32] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:16:32] 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-25 10: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-25 10:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10: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-25 10:16: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-25 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10: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-25 10: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-25 10:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:16:32] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:16:32] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:16:33] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:33] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:16:33] local.INFO: IMEI packet received {"connection_id":193557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":193557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:16:34] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:34] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:16:34] local.INFO: Packet analysis {"connection_id":193557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:16:34] local.INFO: Extracted packet for processing {"connection_id":193557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10: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-25 10:16:34] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:16:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:16:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":193557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:16:34] local.INFO: GPS data processed {"connection_id":193557,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:16:34] local.INFO: Acknowledgment sent {"connection_id":193557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:17:04] local.INFO: TCP Data received {"connection_id":192011,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:04] local.INFO: Processing buffer {"connection_id":192011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:04] local.INFO: Packet analysis {"connection_id":192011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:17:04] local.INFO: Extracted packet for processing {"connection_id":192011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:17: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-25 10:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17: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-25 10:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:17: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-25 10:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:17: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-25 10:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:17: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-25 10:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":192011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:17:04] local.INFO: GPS data processed {"connection_id":192011,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:17:04] local.INFO: Acknowledgment sent {"connection_id":192011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:17:05] local.INFO: TCP Data received {"connection_id":193557,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:05] local.INFO: Processing buffer {"connection_id":193557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:05] local.INFO: Packet analysis {"connection_id":193557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:05] local.INFO: Extracted packet for processing {"connection_id":193557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:17:05] 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-25 10:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:17:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":193557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:17:05] local.INFO: GPS data processed {"connection_id":193557,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:17:05] local.INFO: Acknowledgment sent {"connection_id":193557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:17:25] local.INFO: TCP Data received {"connection_id":194868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:25] local.INFO: Processing buffer {"connection_id":194868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:25] local.INFO: IMEI packet received {"connection_id":194868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":194868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:17:31] local.INFO: TCP Data received {"connection_id":194868,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:31] local.INFO: Processing buffer {"connection_id":194868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:17:31] local.INFO: IMEI packet received {"connection_id":194868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":194868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:17:33] local.INFO: TCP Data received {"connection_id":194868,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:33] local.INFO: Processing buffer {"connection_id":194868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:17:33] local.INFO: Packet analysis {"connection_id":194868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:17:33] local.INFO: Extracted packet for processing {"connection_id":194868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10: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-25 10: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-25 10:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10: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-25 10: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-25 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10: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-25 10: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-25 10:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:17:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:17:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":194868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:17:33] local.INFO: GPS data processed {"connection_id":194868,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:17:33] local.INFO: Acknowledgment sent {"connection_id":194868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:17:33] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:33] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:33] local.INFO: IMEI packet received {"connection_id":193558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":193558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:17:38] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:38] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:17:38] local.INFO: IMEI packet received {"connection_id":193558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":193558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:17:39] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:39] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:39] local.INFO: Packet analysis {"connection_id":193558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:39] local.INFO: Extracted packet for processing {"connection_id":193558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10: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-25 10:17:39] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:17:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":193558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:17:39] local.INFO: GPS data processed {"connection_id":193558,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:17:39] local.INFO: Acknowledgment sent {"connection_id":193558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:17:44] local.INFO: TCP Data received {"connection_id":193558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:44] local.INFO: Processing buffer {"connection_id":193558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6dfbbf0012d7d35c005ec12b00003007026..."} 
[2026-09-25 10:17:44] local.INFO: Packet analysis {"connection_id":193558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:44] local.INFO: Extracted packet for processing {"connection_id":193558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6df"} 
[2026-09-25 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319636736001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790311382000,"timestamp_ms":1790311382000,"timestamp_seconds":1790311382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6dfbbf0"} 
[2026-09-25 10: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-25 10:17:44] 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-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319636736001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319636736001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:17:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:17:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319636736001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":193558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:17:44] local.INFO: GPS data processed {"connection_id":193558,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:17:44] local.INFO: Acknowledgment sent {"connection_id":193558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:18:04] local.INFO: TCP Data received {"connection_id":194868,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:04] local.INFO: Processing buffer {"connection_id":194868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:04] local.INFO: Packet analysis {"connection_id":194868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:18:04] local.INFO: Extracted packet for processing {"connection_id":194868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:18: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-25 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18: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-25 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:18: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-25 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:18: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-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":194868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:18:04] local.INFO: GPS data processed {"connection_id":194868,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:18:04] local.INFO: Acknowledgment sent {"connection_id":194868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:18:25] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:25] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:25] local.INFO: IMEI packet received {"connection_id":192207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":192207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:18:28] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:28] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:28] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:18:31] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:31] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:18:31] local.INFO: IMEI packet received {"connection_id":192207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":192207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:18:32] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:32] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:18:32] local.INFO: Packet analysis {"connection_id":192207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:18:32] local.INFO: Extracted packet for processing {"connection_id":192207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:18:32] 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-25 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:18: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-25 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":192207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:18:32] local.INFO: GPS data processed {"connection_id":192207,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:18:32] local.INFO: Acknowledgment sent {"connection_id":192207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:18:33] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:33] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:18:33] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:18:34] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:18:34] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:18:34] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:18:34] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:18:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:18:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:18:34] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:18:34] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:19:03] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:03] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:03] local.INFO: Packet analysis {"connection_id":192207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:19:03] local.INFO: Extracted packet for processing {"connection_id":192207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:19: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19: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-25 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:19: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-25 10:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":192207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:19:03] local.INFO: GPS data processed {"connection_id":192207,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:19:03] local.INFO: Acknowledgment sent {"connection_id":192207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:19:05] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:05] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:05] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:19:05] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:19:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:19:05] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:19:05] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:19:25] local.INFO: TCP Data received {"connection_id":194869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:25] local.INFO: Processing buffer {"connection_id":194869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:25] local.INFO: IMEI packet received {"connection_id":194869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":194869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:19:28] local.INFO: TCP Data received {"connection_id":194870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:28] local.INFO: Processing buffer {"connection_id":194870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:28] local.INFO: IMEI packet received {"connection_id":194870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":194870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:19:31] local.INFO: TCP Data received {"connection_id":194869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:31] local.INFO: Processing buffer {"connection_id":194869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:19:31] local.INFO: IMEI packet received {"connection_id":194869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":194869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:19:32] local.INFO: TCP Data received {"connection_id":194869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:32] local.INFO: Processing buffer {"connection_id":194869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:19:32] local.INFO: Packet analysis {"connection_id":194869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:19:32] local.INFO: Extracted packet for processing {"connection_id":194869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:19:32] 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-25 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:19: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-25 10:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":194869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:19:32] local.INFO: GPS data processed {"connection_id":194869,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:19:32] local.INFO: Acknowledgment sent {"connection_id":194869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:19:33] local.INFO: TCP Data received {"connection_id":194870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:33] local.INFO: Processing buffer {"connection_id":194870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:19:33] local.INFO: IMEI packet received {"connection_id":194870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":194870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:19:34] local.INFO: TCP Data received {"connection_id":194870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:34] local.INFO: Processing buffer {"connection_id":194870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:19:34] local.INFO: Packet analysis {"connection_id":194870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:19:34] local.INFO: Extracted packet for processing {"connection_id":194870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:19:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:19:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":194870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:19:34] local.INFO: GPS data processed {"connection_id":194870,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:19:34] local.INFO: Acknowledgment sent {"connection_id":194870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:19:35] local.INFO: TCP Data received {"connection_id":192012,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:19:35] local.INFO: Processing buffer {"connection_id":192012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:19:35] local.INFO: IMEI packet received {"connection_id":192012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":192012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:20:03] local.INFO: TCP Data received {"connection_id":194869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:20:03] local.INFO: Processing buffer {"connection_id":194869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e17d28012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:20:03] local.INFO: Packet analysis {"connection_id":194869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:20:03] local.INFO: Extracted packet for processing {"connection_id":194869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e1"} 
[2026-09-25 10:20: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319666176001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20: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-25 10:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790311497000,"timestamp_ms":1790311497000,"timestamp_seconds":1790311497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e17d28"} 
[2026-09-25 10:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 10:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319666176001,"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-25 10:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319666176001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:20: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-25 10:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319666176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":194869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:20:03] local.INFO: GPS data processed {"connection_id":194869,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:20:03] local.INFO: Acknowledgment sent {"connection_id":194869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:20:05] local.INFO: TCP Data received {"connection_id":193559,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:20:05] local.INFO: Processing buffer {"connection_id":193559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:20:05] local.INFO: IMEI packet received {"connection_id":193559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":193559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:20:06] local.INFO: TCP Data received {"connection_id":194870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:06] local.INFO: Processing buffer {"connection_id":194870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:06] local.INFO: Packet analysis {"connection_id":194870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:20:06] local.INFO: Extracted packet for processing {"connection_id":194870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":194870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:20:06] local.INFO: GPS data processed {"connection_id":194870,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:20:06] local.INFO: Acknowledgment sent {"connection_id":194870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:20:28] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:28] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:28] local.INFO: IMEI packet received {"connection_id":193560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":193560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:20:31] local.INFO: TCP Data received {"connection_id":194871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:31] local.INFO: Processing buffer {"connection_id":194871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:31] local.INFO: IMEI packet received {"connection_id":194871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":194871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:20:33] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:33] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:20:33] local.INFO: IMEI packet received {"connection_id":193560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":193560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:20:34] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:34] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:20:34] local.INFO: Packet analysis {"connection_id":193560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:20:34] local.INFO: Extracted packet for processing {"connection_id":193560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:20:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:20:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":193560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:20:34] local.INFO: GPS data processed {"connection_id":193560,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:20:34] local.INFO: Acknowledgment sent {"connection_id":193560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:20:37] local.INFO: TCP Data received {"connection_id":194871,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:37] local.INFO: Processing buffer {"connection_id":194871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:20:37] local.INFO: IMEI packet received {"connection_id":194871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":194871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:20:38] local.INFO: TCP Data received {"connection_id":194871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:20:38] local.INFO: Processing buffer {"connection_id":194871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:20:38] local.INFO: Packet analysis {"connection_id":194871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:20:38] local.INFO: Extracted packet for processing {"connection_id":194871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":194871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:20:38] local.INFO: GPS data processed {"connection_id":194871,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:20:38] local.INFO: Acknowledgment sent {"connection_id":194871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:21:06] local.INFO: TCP Data received {"connection_id":193560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:06] local.INFO: Processing buffer {"connection_id":193560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:06] local.INFO: Packet analysis {"connection_id":193560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:21:06] local.INFO: Extracted packet for processing {"connection_id":193560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:21:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":193560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:21:06] local.INFO: GPS data processed {"connection_id":193560,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:21:06] local.INFO: Acknowledgment sent {"connection_id":193560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:21:11] local.INFO: TCP Data received {"connection_id":194871,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:11] local.INFO: Processing buffer {"connection_id":194871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:11] local.INFO: Packet analysis {"connection_id":194871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:21:11] local.INFO: Extracted packet for processing {"connection_id":194871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:21: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-25 10:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21: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-25 10:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:21: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-25 10:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:21: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-25 10:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:21: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-25 10:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":194871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:21:11] local.INFO: GPS data processed {"connection_id":194871,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:21:11] local.INFO: Acknowledgment sent {"connection_id":194871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:21:25] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:25] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:25] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:21:28] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:28] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:28] local.INFO: IMEI packet received {"connection_id":192210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":192210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:21:31] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:31] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:21:31] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:21:32] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:32] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:21:32] local.INFO: Packet analysis {"connection_id":192209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:21:32] local.INFO: Extracted packet for processing {"connection_id":192209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:21:32] 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-25 10:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":192209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:21:32] local.INFO: GPS data processed {"connection_id":192209,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:21:32] local.INFO: Acknowledgment sent {"connection_id":192209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:21:33] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:33] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:21:33] local.INFO: IMEI packet received {"connection_id":192210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":192210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:21:34] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:34] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:21:34] local.INFO: Packet analysis {"connection_id":192210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:21:34] local.INFO: Extracted packet for processing {"connection_id":192210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:21:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":192210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:21:34] local.INFO: GPS data processed {"connection_id":192210,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:21:34] local.INFO: Acknowledgment sent {"connection_id":192210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:22:05] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:05] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:05] local.INFO: Packet analysis {"connection_id":192209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:22:05] local.INFO: Extracted packet for processing {"connection_id":192209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10: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-25 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:22: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-25 10:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10: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-25 10:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:22: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-25 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":192209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:22:05] local.INFO: GPS data processed {"connection_id":192209,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:22:05] local.INFO: Acknowledgment sent {"connection_id":192209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:22:06] local.INFO: TCP Data received {"connection_id":192210,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:06] local.INFO: Processing buffer {"connection_id":192210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:06] local.INFO: Packet analysis {"connection_id":192210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:06] local.INFO: Extracted packet for processing {"connection_id":192210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 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-25 10:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:22:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:22:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":192210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:22:06] local.INFO: GPS data processed {"connection_id":192210,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:22:06] local.INFO: Acknowledgment sent {"connection_id":192210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:22:25] local.INFO: TCP Data received {"connection_id":194872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:25] local.INFO: Processing buffer {"connection_id":194872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:25] local.INFO: IMEI packet received {"connection_id":194872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":194872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:22:31] local.INFO: TCP Data received {"connection_id":194872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:31] local.INFO: Processing buffer {"connection_id":194872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:22:31] local.INFO: IMEI packet received {"connection_id":194872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":194872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:22:32] local.INFO: TCP Data received {"connection_id":194872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:32] local.INFO: Processing buffer {"connection_id":194872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:22:32] local.INFO: Packet analysis {"connection_id":194872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:22:32] local.INFO: Extracted packet for processing {"connection_id":194872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:22:32] 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-25 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:22: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-25 10:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":194872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:22:32] local.INFO: GPS data processed {"connection_id":194872,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:22:32] local.INFO: Acknowledgment sent {"connection_id":194872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:22:33] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:33] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:33] local.INFO: IMEI packet received {"connection_id":192211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":192211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:22:38] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:38] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:22:38] local.INFO: IMEI packet received {"connection_id":192211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":192211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:22:40] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:40] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:40] local.INFO: Packet analysis {"connection_id":192211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:40] local.INFO: Extracted packet for processing {"connection_id":192211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10: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-25 10:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:22:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:22:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":192211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:22:40] local.INFO: GPS data processed {"connection_id":192211,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:22:40] local.INFO: Acknowledgment sent {"connection_id":192211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:22:44] local.INFO: TCP Data received {"connection_id":192211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:44] local.INFO: Processing buffer {"connection_id":192211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e453b8012d7d35c005ec12b00003007023..."} 
[2026-09-25 10:22:44] local.INFO: Packet analysis {"connection_id":192211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:44] local.INFO: Extracted packet for processing {"connection_id":192211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e4"} 
[2026-09-25 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319713792001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790311683000,"timestamp_ms":1790311683000,"timestamp_seconds":1790311683,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e453b8"} 
[2026-09-25 10:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319713792001,"66":2253,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319713792001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:22:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:22:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319713792001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":192211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:22:44] local.INFO: GPS data processed {"connection_id":192211,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:22:44] local.INFO: Acknowledgment sent {"connection_id":192211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:23:03] local.INFO: TCP Data received {"connection_id":194872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:03] local.INFO: Processing buffer {"connection_id":194872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:03] local.INFO: Packet analysis {"connection_id":194872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:23:03] local.INFO: Extracted packet for processing {"connection_id":194872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:23: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23: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-25 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:23: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-25 10:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":194872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:23:03] local.INFO: GPS data processed {"connection_id":194872,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:23:03] local.INFO: Acknowledgment sent {"connection_id":194872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:23:28] local.INFO: TCP Data received {"connection_id":194873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:28] local.INFO: Processing buffer {"connection_id":194873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:28] local.INFO: IMEI packet received {"connection_id":194873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":194873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:23:31] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:31] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:31] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:23:33] local.INFO: TCP Data received {"connection_id":194873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:33] local.INFO: Processing buffer {"connection_id":194873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:23:33] local.INFO: IMEI packet received {"connection_id":194873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":194873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:23:34] local.INFO: TCP Data received {"connection_id":194873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:23:34] local.INFO: Processing buffer {"connection_id":194873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:23:34] local.INFO: Packet analysis {"connection_id":194873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:23:34] local.INFO: Extracted packet for processing {"connection_id":194873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319790848001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311984000,"timestamp_ms":1790311984000,"timestamp_seconds":1790311984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e8eb80"} 
[2026-09-25 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-25 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319790848001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319790848001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:23:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:23:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319790848001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":194873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:23:34] local.INFO: GPS data processed {"connection_id":194873,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:23:34] local.INFO: Acknowledgment sent {"connection_id":194873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:23:36] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:36] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:23:36] local.INFO: IMEI packet received {"connection_id":192014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":192014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:23:39] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:39] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:39] local.INFO: Packet analysis {"connection_id":192014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:23:39] local.INFO: Extracted packet for processing {"connection_id":192014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10: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-25 10:23: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-25 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:23: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-25 10: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-25 10: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-25 10:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23: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-25 10:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":192014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:23:39] local.INFO: GPS data processed {"connection_id":192014,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:23:39] local.INFO: Acknowledgment sent {"connection_id":192014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:23:42] local.INFO: TCP Data received {"connection_id":192014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:42] local.INFO: Processing buffer {"connection_id":192014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:23:42] local.INFO: Packet analysis {"connection_id":192014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:23:42] local.INFO: Extracted packet for processing {"connection_id":192014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:23: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:23: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-25 10:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:23: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-25 10:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":192014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:23:42] local.INFO: GPS data processed {"connection_id":192014,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:23:42] local.INFO: Acknowledgment sent {"connection_id":192014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:24:06] local.INFO: TCP Data received {"connection_id":194873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:06] local.INFO: Processing buffer {"connection_id":194873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:06] local.INFO: Packet analysis {"connection_id":194873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:24:06] local.INFO: Extracted packet for processing {"connection_id":194873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 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-25 10:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319790848001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790311984000,"timestamp_ms":1790311984000,"timestamp_seconds":1790311984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e8eb80"} 
[2026-09-25 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-25 10:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 10:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319790848001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319790848001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:24:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:24:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319790848001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":194873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:24:06] local.INFO: GPS data processed {"connection_id":194873,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:24:06] local.INFO: Acknowledgment sent {"connection_id":194873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:24:26] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:26] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:26] local.INFO: IMEI packet received {"connection_id":193561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":193561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:24:28] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:28] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:28] local.INFO: IMEI packet received {"connection_id":193562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 10:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":193562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:24:31] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:31] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:24:31] local.INFO: IMEI packet received {"connection_id":193561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":193561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:24:32] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:24:32] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:24:32] local.INFO: Packet analysis {"connection_id":193561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:24:32] local.INFO: Extracted packet for processing {"connection_id":193561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:24:32] 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-25 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10: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-25 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":193561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:24:32] local.INFO: GPS data processed {"connection_id":193561,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:24:32] local.INFO: Acknowledgment sent {"connection_id":193561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:24:33] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:33] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 10:24:33] local.INFO: IMEI packet received {"connection_id":193562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 10:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":193562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:24:34] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:34] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:24:34] local.INFO: Packet analysis {"connection_id":193562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:24:34] local.INFO: Extracted packet for processing {"connection_id":193562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319790848001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790311984000,"timestamp_ms":1790311984000,"timestamp_seconds":1790311984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e8eb80"} 
[2026-09-25 10: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-25 10:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319790848001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319790848001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:24:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319790848001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":193562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:24:34] local.INFO: GPS data processed {"connection_id":193562,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:24:34] local.INFO: Acknowledgment sent {"connection_id":193562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:25:03] local.INFO: TCP Data received {"connection_id":193561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:03] local.INFO: Processing buffer {"connection_id":193561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:03] local.INFO: Packet analysis {"connection_id":193561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:25:03] local.INFO: Extracted packet for processing {"connection_id":193561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:25: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":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25: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-25 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:25: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-25 10:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":193561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:25:03] local.INFO: GPS data processed {"connection_id":193561,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:25:03] local.INFO: Acknowledgment sent {"connection_id":193561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:25:05] local.INFO: TCP Data received {"connection_id":193562,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:25:05] local.INFO: Processing buffer {"connection_id":193562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e8eb80012d7d35c005ec12b00003007025..."} 
[2026-09-25 10:25:05] local.INFO: Packet analysis {"connection_id":193562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:25:05] local.INFO: Extracted packet for processing {"connection_id":193562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e8"} 
[2026-09-25 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99357360,"longitude_deg":76.318048,"latitude_deg":9.935736,"altitude":3,"angle":112,"satellites":37,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec12b0","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319790848001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799783498448896,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174673920,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790311984000,"timestamp_ms":1790311984000,"timestamp_seconds":1790311984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e8eb80"} 
[2026-09-25 10: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-25 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 10:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 10:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 10:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 10:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319790848001,"66":2242,"109":206,"87":13824,"24":0,"16":135799783498448896,"45":9022328560174673920},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 10:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 10:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 10:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319790848001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:25:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 10:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 10:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799783498448896,"km_value":135799783498448.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174673920,"description":"Unknown IO ID 45"} 
[2026-09-25 10:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319790848001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174673920}} 
[2026-09-25 10:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":193562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:25:05] local.INFO: GPS data processed {"connection_id":193562,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:25:05] local.INFO: Acknowledgment sent {"connection_id":193562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:25:27] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:27] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:27] local.INFO: IMEI packet received {"connection_id":192016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":192016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:25:31] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:31] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:25:31] local.INFO: IMEI packet received {"connection_id":192016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":192016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:25:32] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:32] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6e61108012d34c14006aa4940000900f52f..."} 
[2026-09-25 10:25:32] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:25:32] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6e6"} 
[2026-09-25 10:25:32] 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-25 10:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319743232001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790311797000,"timestamp_ms":1790311797000,"timestamp_seconds":1790311797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6e61108"} 
[2026-09-25 10:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:25: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-25 10:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319743232001,"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-25 10:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319743232001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319743232001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:25:32] local.INFO: GPS data processed {"connection_id":192016,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:25:32] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:25:39] local.INFO: TCP Data received {"connection_id":192015,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:25:39] local.INFO: Processing buffer {"connection_id":192015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:25:39] local.INFO: IMEI packet received {"connection_id":192015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":192015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:26:03] local.INFO: TCP Data received {"connection_id":192016,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:03] local.INFO: Processing buffer {"connection_id":192016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:03] local.INFO: Packet analysis {"connection_id":192016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:26:03] local.INFO: Extracted packet for processing {"connection_id":192016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:26: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26: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-25 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10: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-25 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:26: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-25 10:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":192016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:26:03] local.INFO: GPS data processed {"connection_id":192016,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:26:03] local.INFO: Acknowledgment sent {"connection_id":192016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:26:05] local.INFO: TCP Data received {"connection_id":192213,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:26:05] local.INFO: Processing buffer {"connection_id":192213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:26:05] local.INFO: IMEI packet received {"connection_id":192213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":192213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:26:25] local.INFO: TCP Data received {"connection_id":193563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:25] local.INFO: Processing buffer {"connection_id":193563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:25] local.INFO: IMEI packet received {"connection_id":193563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":193563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:26:31] local.INFO: TCP Data received {"connection_id":193563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:31] local.INFO: Processing buffer {"connection_id":193563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:26:31] local.INFO: IMEI packet received {"connection_id":193563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":193563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:26:32] local.INFO: TCP Data received {"connection_id":193563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:32] local.INFO: Processing buffer {"connection_id":193563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:26:32] local.INFO: Packet analysis {"connection_id":193563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:26:32] local.INFO: Extracted packet for processing {"connection_id":193563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:26:32] 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-25 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:26: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-25 10:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":193563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:26:32] local.INFO: GPS data processed {"connection_id":193563,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:26:32] local.INFO: Acknowledgment sent {"connection_id":193563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:27:03] local.INFO: TCP Data received {"connection_id":193563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:03] local.INFO: Processing buffer {"connection_id":193563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:03] local.INFO: Packet analysis {"connection_id":193563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:27:03] local.INFO: Extracted packet for processing {"connection_id":193563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:27: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27: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-25 10:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:27: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-25 10:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":193563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:27:03] local.INFO: GPS data processed {"connection_id":193563,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:27:03] local.INFO: Acknowledgment sent {"connection_id":193563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:27:25] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:25] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:25] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:27:31] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:31] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:27:31] local.INFO: IMEI packet received {"connection_id":192017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":192017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:27:32] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:32] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:27:32] local.INFO: Packet analysis {"connection_id":192017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:27:32] local.INFO: Extracted packet for processing {"connection_id":192017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:27:32] 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-25 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:27: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-25 10:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":192017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:27:32] local.INFO: GPS data processed {"connection_id":192017,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:27:32] local.INFO: Acknowledgment sent {"connection_id":192017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:28:03] local.INFO: TCP Data received {"connection_id":192017,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:03] local.INFO: Processing buffer {"connection_id":192017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:03] local.INFO: Packet analysis {"connection_id":192017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28:03] local.INFO: Extracted packet for processing {"connection_id":192017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28: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-25 10:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:28: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-25 10:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":192017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:28:03] local.INFO: GPS data processed {"connection_id":192017,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:28:03] local.INFO: Acknowledgment sent {"connection_id":192017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:28:31] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:31] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:31] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:28:36] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:36] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:28:36] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:28:37] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:37] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:37] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28:37] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28: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-25 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:28: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-25 10:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28: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-25 10:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:28: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-25 10:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:28:37] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:28:37] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:28:42] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:42] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:28:42] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28:42] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:28: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:28: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-25 10:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:28: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-25 10:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:28:42] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:28:42] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:29:26] local.INFO: TCP Data received {"connection_id":194876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:26] local.INFO: Processing buffer {"connection_id":194876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:26] local.INFO: IMEI packet received {"connection_id":194876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":194876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:29:31] local.INFO: TCP Data received {"connection_id":194876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:31] local.INFO: Processing buffer {"connection_id":194876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:29:31] local.INFO: IMEI packet received {"connection_id":194876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":194876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:29:32] local.INFO: TCP Data received {"connection_id":194876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:29:32] local.INFO: Processing buffer {"connection_id":194876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:29:32] local.INFO: Packet analysis {"connection_id":194876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:29:32] local.INFO: Extracted packet for processing {"connection_id":194876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:29:32] 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-25 10:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:29: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-25 10:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:29:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":194876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:29:32] local.INFO: GPS data processed {"connection_id":194876,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:29:32] local.INFO: Acknowledgment sent {"connection_id":194876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:30:03] local.INFO: TCP Data received {"connection_id":194876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:03] local.INFO: Processing buffer {"connection_id":194876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:03] local.INFO: Packet analysis {"connection_id":194876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:30:03] local.INFO: Extracted packet for processing {"connection_id":194876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:30: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:30: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-25 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 10:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:30: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-25 10:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":194876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:30:03] local.INFO: GPS data processed {"connection_id":194876,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:30:03] local.INFO: Acknowledgment sent {"connection_id":194876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:30:26] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:26] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:26] local.INFO: IMEI packet received {"connection_id":192215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":192215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:30:31] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:31] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:30:31] local.INFO: IMEI packet received {"connection_id":192215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":192215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:30:33] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:33] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6eaa8d0012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:30:33] local.INFO: Packet analysis {"connection_id":192215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10:30:33] local.INFO: Extracted packet for processing {"connection_id":192215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ea"} 
[2026-09-25 10: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319820032001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790312098000,"timestamp_ms":1790312098000,"timestamp_seconds":1790312098,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6eaa8d0"} 
[2026-09-25 10: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319820032001,"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-25 10:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319820032001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:30:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319820032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":192215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:30:33] local.INFO: GPS data processed {"connection_id":192215,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:30:33] local.INFO: Acknowledgment sent {"connection_id":192215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:31:04] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:04] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:04] local.INFO: Packet analysis {"connection_id":192215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:31:04] local.INFO: Extracted packet for processing {"connection_id":192215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10: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-25 10: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-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:31: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-25 10: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-25 10: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-25 10:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":192215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:31:04] local.INFO: GPS data processed {"connection_id":192215,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:31:04] local.INFO: Acknowledgment sent {"connection_id":192215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:31:25] local.INFO: TCP Data received {"connection_id":192019,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:25] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:25] local.INFO: IMEI packet received {"connection_id":192019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:31:31] local.INFO: TCP Data received {"connection_id":192019,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:31] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:31:31] local.INFO: IMEI packet received {"connection_id":192019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":192019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:31:32] local.INFO: TCP Data received {"connection_id":192019,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:32] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:31:32] local.INFO: Packet analysis {"connection_id":192019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:31:32] local.INFO: Extracted packet for processing {"connection_id":192019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:31:32] 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-25 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:31: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-25 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":192019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:31:32] local.INFO: GPS data processed {"connection_id":192019,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:31:32] local.INFO: Acknowledgment sent {"connection_id":192019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:31:39] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:31:39] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:31:39] local.INFO: IMEI packet received {"connection_id":192216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":192216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:32:03] local.INFO: TCP Data received {"connection_id":192019,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:03] local.INFO: Processing buffer {"connection_id":192019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:03] local.INFO: Packet analysis {"connection_id":192019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32:03] local.INFO: Extracted packet for processing {"connection_id":192019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32: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-25 10:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:32: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-25 10:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":192019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:32:03] local.INFO: GPS data processed {"connection_id":192019,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:32:03] local.INFO: Acknowledgment sent {"connection_id":192019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:32:05] local.INFO: TCP Data received {"connection_id":193566,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:32:05] local.INFO: Processing buffer {"connection_id":193566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:32:05] local.INFO: IMEI packet received {"connection_id":193566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":193566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:32:31] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:31] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:31] local.INFO: IMEI packet received {"connection_id":193567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":193567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:32:36] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:36] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:32:36] local.INFO: IMEI packet received {"connection_id":193567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":193567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:32:37] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:37] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:37] local.INFO: Packet analysis {"connection_id":193567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32:37] local.INFO: Extracted packet for processing {"connection_id":193567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32: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-25 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:32: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-25 10:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32: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-25 10:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"66":25538,"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-25 10:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:32: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-25 10:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":193567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:32:37] local.INFO: GPS data processed {"connection_id":193567,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:32:37] local.INFO: Acknowledgment sent {"connection_id":193567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:32:42] local.INFO: TCP Data received {"connection_id":193567,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:42] local.INFO: Processing buffer {"connection_id":193567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:32:42] local.INFO: Packet analysis {"connection_id":193567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32:42] local.INFO: Extracted packet for processing {"connection_id":193567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:32: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"66":25538,"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-25 10:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:32: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-25 10:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":193567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:32:42] local.INFO: GPS data processed {"connection_id":193567,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:32:42] local.INFO: Acknowledgment sent {"connection_id":193567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:33:26] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:26] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:26] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:33:31] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:31] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:33:31] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:33:32] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:33:32] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:33:32] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:33:32] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:33:32] 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-25 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:33: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-25 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:33:32] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:33:32] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:34:03] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:03] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:03] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:34:03] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:34: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34: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-25 10:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:34: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-25 10:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:34:03] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:34:03] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:34:26] local.INFO: TCP Data received {"connection_id":192020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:26] local.INFO: Processing buffer {"connection_id":192020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:26] local.INFO: IMEI packet received {"connection_id":192020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":192020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:34:31] local.INFO: TCP Data received {"connection_id":192020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:31] local.INFO: Processing buffer {"connection_id":192020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:34:31] local.INFO: IMEI packet received {"connection_id":192020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":192020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:34:32] local.INFO: TCP Data received {"connection_id":192020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:32] local.INFO: Processing buffer {"connection_id":192020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:34:32] local.INFO: Packet analysis {"connection_id":192020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:34:32] local.INFO: Extracted packet for processing {"connection_id":192020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:34:32] 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-25 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:34: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-25 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:34:32] local.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-25 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":192020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:34:32] local.INFO: GPS data processed {"connection_id":192020,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:34:32] local.INFO: Acknowledgment sent {"connection_id":192020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:35:04] local.INFO: TCP Data received {"connection_id":192020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:04] local.INFO: Processing buffer {"connection_id":192020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:04] local.INFO: Packet analysis {"connection_id":192020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:35:04] local.INFO: Extracted packet for processing {"connection_id":192020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:35: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-25 10:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35: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-25 10:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:35: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-25 10:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:35: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-25 10:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":192020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:35:04] local.INFO: GPS data processed {"connection_id":192020,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:35:04] local.INFO: Acknowledgment sent {"connection_id":192020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:35:26] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:26] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:26] local.INFO: IMEI packet received {"connection_id":193569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":193569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:35:31] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:31] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:35:31] local.INFO: IMEI packet received {"connection_id":193569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":193569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:35:32] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:32] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6ef4098012d34c14006aa4940000900f52c..."} 
[2026-09-25 10:35:32] local.INFO: Packet analysis {"connection_id":193569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:35:32] local.INFO: Extracted packet for processing {"connection_id":193569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6ef"} 
[2026-09-25 10:35:32] 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-25 10:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319897088001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312399000,"timestamp_ms":1790312399000,"timestamp_seconds":1790312399,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6ef4098"} 
[2026-09-25 10:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:35: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-25 10:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 10:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:35: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-25 10:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319897088001,"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-25 10:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319897088001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319897088001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":193569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:35:32] local.INFO: GPS data processed {"connection_id":193569,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:35:32] local.INFO: Acknowledgment sent {"connection_id":193569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:36:03] local.INFO: TCP Data received {"connection_id":193569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:03] local.INFO: Processing buffer {"connection_id":193569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:03] local.INFO: Packet analysis {"connection_id":193569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:36:03] local.INFO: Extracted packet for processing {"connection_id":193569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:36: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36: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-25 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:36:03] 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-25 10:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:36: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-25 10:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":193569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:36:03] local.INFO: GPS data processed {"connection_id":193569,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:36:03] local.INFO: Acknowledgment sent {"connection_id":193569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:36:26] local.INFO: TCP Data received {"connection_id":194878,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:26] local.INFO: Processing buffer {"connection_id":194878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:26] local.INFO: IMEI packet received {"connection_id":194878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":194878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:36:31] local.INFO: TCP Data received {"connection_id":194878,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:31] local.INFO: Processing buffer {"connection_id":194878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:36:31] local.INFO: IMEI packet received {"connection_id":194878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":194878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:36:32] local.INFO: TCP Data received {"connection_id":194878,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:32] local.INFO: Processing buffer {"connection_id":194878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:36:32] local.INFO: Packet analysis {"connection_id":194878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:36:32] local.INFO: Extracted packet for processing {"connection_id":194878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:36:32] 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-25 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:36: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-25 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":194878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:36:32] local.INFO: GPS data processed {"connection_id":194878,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:36:32] local.INFO: Acknowledgment sent {"connection_id":194878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:37:03] local.INFO: TCP Data received {"connection_id":194878,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:03] local.INFO: Processing buffer {"connection_id":194878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:03] local.INFO: Packet analysis {"connection_id":194878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37:03] local.INFO: Extracted packet for processing {"connection_id":194878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37: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-25 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:37:03] 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-25 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:37: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-25 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":194878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:37:03] local.INFO: GPS data processed {"connection_id":194878,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:37:03] local.INFO: Acknowledgment sent {"connection_id":194878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:37:29] local.INFO: TCP Data received {"connection_id":193570,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:37:29] local.INFO: Processing buffer {"connection_id":193570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:37:29] local.INFO: IMEI packet received {"connection_id":193570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":193570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:37:31] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:31] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:31] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:37:36] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:36] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:37:36] local.INFO: IMEI packet received {"connection_id":192022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":192022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:37:36] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:36] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:36] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37:36] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37: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-25 10: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-25 10:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10: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-25 10:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:37: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-25 10: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-25 10: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-25 10:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:37:36] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:37:36] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:37:42] local.INFO: TCP Data received {"connection_id":192022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:42] local.INFO: Processing buffer {"connection_id":192022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:37:42] local.INFO: Packet analysis {"connection_id":192022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37:42] local.INFO: Extracted packet for processing {"connection_id":192022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:37: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:37:42] 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-25 10:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:37: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-25 10:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":192022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:37:42] local.INFO: GPS data processed {"connection_id":192022,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:37:42] local.INFO: Acknowledgment sent {"connection_id":192022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:38:05] local.INFO: TCP Data received {"connection_id":193571,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:38:05] local.INFO: Processing buffer {"connection_id":193571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:38:05] local.INFO: IMEI packet received {"connection_id":193571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":193571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:38:26] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:26] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:26] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:38:31] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:31] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:38:31] local.INFO: IMEI packet received {"connection_id":192023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":192023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:38:32] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:38:32] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:38:32] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:38:32] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:38:32] 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-25 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:38: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-25 10:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:38:32] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:38:32] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:39:03] local.INFO: TCP Data received {"connection_id":192023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:03] local.INFO: Processing buffer {"connection_id":192023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:03] local.INFO: Packet analysis {"connection_id":192023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:39:03] local.INFO: Extracted packet for processing {"connection_id":192023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:39: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39: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-25 10:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:39:03] 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-25 10:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:39: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-25 10:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":192023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:39:03] local.INFO: GPS data processed {"connection_id":192023,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:39:03] local.INFO: Acknowledgment sent {"connection_id":192023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:39:26] local.INFO: TCP Data received {"connection_id":194880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:26] local.INFO: Processing buffer {"connection_id":194880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:26] local.INFO: IMEI packet received {"connection_id":194880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":194880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:39:31] local.INFO: TCP Data received {"connection_id":194880,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:31] local.INFO: Processing buffer {"connection_id":194880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:39:31] local.INFO: IMEI packet received {"connection_id":194880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":194880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:39:32] local.INFO: TCP Data received {"connection_id":194880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:32] local.INFO: Processing buffer {"connection_id":194880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:39:32] local.INFO: Packet analysis {"connection_id":194880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:39:32] local.INFO: Extracted packet for processing {"connection_id":194880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:39:32] 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-25 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:39: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-25 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":194880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:39:32] local.INFO: GPS data processed {"connection_id":194880,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:39:32] local.INFO: Acknowledgment sent {"connection_id":194880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:40:04] local.INFO: TCP Data received {"connection_id":194880,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:04] local.INFO: Processing buffer {"connection_id":194880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:04] local.INFO: Packet analysis {"connection_id":194880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:40:04] local.INFO: Extracted packet for processing {"connection_id":194880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:40: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-25 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:40: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-25 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:40: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-25 10:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:40: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-25 10:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":194880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:40:04] local.INFO: GPS data processed {"connection_id":194880,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:40:04] local.INFO: Acknowledgment sent {"connection_id":194880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:40:25] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:25] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:25] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:40:31] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:31] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:40:31] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:40:32] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:32] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f3d860012d34c14006aa4940000900f52a..."} 
[2026-09-25 10:40:32] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:40:32] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f3"} 
[2026-09-25 10:40:32] 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-25 10:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458319974144001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790312700000,"timestamp_ms":1790312700000,"timestamp_seconds":1790312700,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f3d860"} 
[2026-09-25 10:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 10:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:40:32] 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-25 10:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458319974144001,"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-25 10:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458319974144001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458319974144001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:40:32] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:40:32] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:41:04] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:04] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:04] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:41:04] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10: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-25 10:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:41: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-25 10: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-25 10: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-25 10:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:41: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-25 10:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:41:04] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:41:04] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:41:31] local.INFO: TCP Data received {"connection_id":193572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:31] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:31] local.INFO: IMEI packet received {"connection_id":193572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":193572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:41:36] local.INFO: TCP Data received {"connection_id":193572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:36] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:41:36] local.INFO: IMEI packet received {"connection_id":193572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":193572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:41:37] local.INFO: TCP Data received {"connection_id":193572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:37] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:37] local.INFO: Packet analysis {"connection_id":193572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:41:37] local.INFO: Extracted packet for processing {"connection_id":193572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:41: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10: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-25 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10: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-25 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":193572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:41:37] local.INFO: GPS data processed {"connection_id":193572,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:41:37] local.INFO: Acknowledgment sent {"connection_id":193572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:41:42] local.INFO: TCP Data received {"connection_id":193572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:42] local.INFO: Processing buffer {"connection_id":193572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:41:42] local.INFO: Packet analysis {"connection_id":193572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:41:42] local.INFO: Extracted packet for processing {"connection_id":193572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:41: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:41: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-25 10:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:41: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-25 10:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":193572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:41:42] local.INFO: GPS data processed {"connection_id":193572,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:41:42] local.INFO: Acknowledgment sent {"connection_id":193572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:42:26] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:26] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:26] local.INFO: IMEI packet received {"connection_id":193573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":193573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:42:31] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:31] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:42:31] local.INFO: IMEI packet received {"connection_id":193573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:42:32] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:42:32] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:42:32] local.INFO: Packet analysis {"connection_id":193573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:42:32] local.INFO: Extracted packet for processing {"connection_id":193573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:42:32] 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-25 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:42: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-25 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":193573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:42:32] local.INFO: GPS data processed {"connection_id":193573,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:42:32] local.INFO: Acknowledgment sent {"connection_id":193573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:43:04] local.INFO: TCP Data received {"connection_id":193573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:04] local.INFO: Processing buffer {"connection_id":193573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:04] local.INFO: Packet analysis {"connection_id":193573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:43:04] local.INFO: Extracted packet for processing {"connection_id":193573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:43: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:43: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-25 10:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:43: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-25 10:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:43: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-25 10:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":193573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:43:04] local.INFO: GPS data processed {"connection_id":193573,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:43:04] local.INFO: Acknowledgment sent {"connection_id":193573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:43:20] local.INFO: TCP Data received {"connection_id":192026,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:43:20] local.INFO: Processing buffer {"connection_id":192026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:43:20] local.INFO: IMEI packet received {"connection_id":192026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":192026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:43:26] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:26] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:26] local.INFO: IMEI packet received {"connection_id":192221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":192221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:43:31] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:31] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:43:31] local.INFO: IMEI packet received {"connection_id":192221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":192221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:43:32] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:32] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:43:32] local.INFO: Packet analysis {"connection_id":192221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:43:32] local.INFO: Extracted packet for processing {"connection_id":192221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:43:32] 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-25 10:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:43: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-25 10:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":192221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:43:32] local.INFO: GPS data processed {"connection_id":192221,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:43:32] local.INFO: Acknowledgment sent {"connection_id":192221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:44:03] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:03] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:03] local.INFO: Packet analysis {"connection_id":192221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:44:03] local.INFO: Extracted packet for processing {"connection_id":192221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:44: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44: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-25 10:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:44: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-25 10:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":192221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:44:03] local.INFO: GPS data processed {"connection_id":192221,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:44:03] local.INFO: Acknowledgment sent {"connection_id":192221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:44:05] local.INFO: TCP Data received {"connection_id":193574,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:44:05] local.INFO: Processing buffer {"connection_id":193574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:44:05] local.INFO: IMEI packet received {"connection_id":193574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":193574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:44:25] local.INFO: TCP Data received {"connection_id":194881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:25] local.INFO: Processing buffer {"connection_id":194881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:25] local.INFO: IMEI packet received {"connection_id":194881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":194881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:44:31] local.INFO: TCP Data received {"connection_id":194881,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:31] local.INFO: Processing buffer {"connection_id":194881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:44:31] local.INFO: IMEI packet received {"connection_id":194881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":194881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:44:32] local.INFO: TCP Data received {"connection_id":194881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:32] local.INFO: Processing buffer {"connection_id":194881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:44:32] local.INFO: Packet analysis {"connection_id":194881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:44:32] local.INFO: Extracted packet for processing {"connection_id":194881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:44:32] 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-25 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:44: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-25 10:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":194881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:44:32] local.INFO: GPS data processed {"connection_id":194881,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:44:32] local.INFO: Acknowledgment sent {"connection_id":194881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:45:04] local.INFO: TCP Data received {"connection_id":194881,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:04] local.INFO: Processing buffer {"connection_id":194881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:04] local.INFO: Packet analysis {"connection_id":194881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:45:04] local.INFO: Extracted packet for processing {"connection_id":194881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10: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":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10: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-25 10:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:45: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-25 10: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-25 10: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-25 10:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:45: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-25 10:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":194881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:45:04] local.INFO: GPS data processed {"connection_id":194881,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:45:04] local.INFO: Acknowledgment sent {"connection_id":194881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:45:25] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:25] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:25] local.INFO: IMEI packet received {"connection_id":193575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":193575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:45:31] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:31] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:45:31] local.INFO: IMEI packet received {"connection_id":193575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":193575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:45:32] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:32] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6f87028012d34c14006aa4940000900f528..."} 
[2026-09-25 10:45:32] local.INFO: Packet analysis {"connection_id":193575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:45:32] local.INFO: Extracted packet for processing {"connection_id":193575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6f8"} 
[2026-09-25 10:45:32] 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-25 10:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320051200001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313001000,"timestamp_ms":1790313001000,"timestamp_seconds":1790313001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6f87028"} 
[2026-09-25 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:45: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-25 10:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320051200001,"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-25 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320051200001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320051200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":193575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:45:32] local.INFO: GPS data processed {"connection_id":193575,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:45:32] local.INFO: Acknowledgment sent {"connection_id":193575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:46:03] local.INFO: TCP Data received {"connection_id":193575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:03] local.INFO: Processing buffer {"connection_id":193575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:03] local.INFO: Packet analysis {"connection_id":193575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:46:03] local.INFO: Extracted packet for processing {"connection_id":193575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:46: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46: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-25 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:46: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-25 10:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":193575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:46:03] local.INFO: GPS data processed {"connection_id":193575,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:46:03] local.INFO: Acknowledgment sent {"connection_id":193575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:46:26] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:26] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:26] local.INFO: IMEI packet received {"connection_id":192029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":192029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:46:31] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:31] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:46:31] local.INFO: IMEI packet received {"connection_id":192029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":192029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:46:32] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:32] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:46:32] local.INFO: Packet analysis {"connection_id":192029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:46:32] local.INFO: Extracted packet for processing {"connection_id":192029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:46:32] 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-25 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:46: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-25 10:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":192029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:46:32] local.INFO: GPS data processed {"connection_id":192029,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:46:32] local.INFO: Acknowledgment sent {"connection_id":192029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:47:04] local.INFO: TCP Data received {"connection_id":192029,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:04] local.INFO: Processing buffer {"connection_id":192029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:04] local.INFO: Packet analysis {"connection_id":192029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:47:04] local.INFO: Extracted packet for processing {"connection_id":192029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10: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-25 10:47: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-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:47: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-25 10: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-25 10: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-25 10:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:47: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-25 10:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":192029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:47:04] local.INFO: GPS data processed {"connection_id":192029,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:47:04] local.INFO: Acknowledgment sent {"connection_id":192029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:47:26] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:26] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:26] local.INFO: IMEI packet received {"connection_id":192030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":192030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:47:31] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:31] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:47:31] local.INFO: IMEI packet received {"connection_id":192030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":192030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:47:32] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:32] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:47:32] local.INFO: Packet analysis {"connection_id":192030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:47:32] local.INFO: Extracted packet for processing {"connection_id":192030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:47:32] 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-25 10:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:47: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-25 10:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:47:32] local.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-25 10:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":192030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:47:32] local.INFO: GPS data processed {"connection_id":192030,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:47:32] local.INFO: Acknowledgment sent {"connection_id":192030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:48:04] local.INFO: TCP Data received {"connection_id":192030,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:04] local.INFO: Processing buffer {"connection_id":192030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:04] local.INFO: Packet analysis {"connection_id":192030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:48:04] local.INFO: Extracted packet for processing {"connection_id":192030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10: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-25 10: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-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:48: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-25 10: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-25 10: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-25 10:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:48: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-25 10:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":192030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:48:04] local.INFO: GPS data processed {"connection_id":192030,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:48:04] local.INFO: Acknowledgment sent {"connection_id":192030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:48:26] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:26] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:26] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:48:31] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:31] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:48:31] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:48:32] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:32] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:48:32] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:48:32] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:48:32] 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-25 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:48:32] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:48:32] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:49:04] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:04] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:04] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:49:04] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10: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-25 10: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-25 10: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:49: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-25 10: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-25 10: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-25 10:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:49: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-25 10:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:49:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:49:04] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:49:04] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:49:24] local.INFO: TCP Data received {"connection_id":192031,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:49:24] local.INFO: Processing buffer {"connection_id":192031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:49:24] local.INFO: IMEI packet received {"connection_id":192031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":192031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:49:25] local.INFO: TCP Data received {"connection_id":194884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:25] local.INFO: Processing buffer {"connection_id":194884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:25] local.INFO: IMEI packet received {"connection_id":194884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":194884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:49:32] local.INFO: TCP Data received {"connection_id":194884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:32] local.INFO: Processing buffer {"connection_id":194884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:49:32] local.INFO: IMEI packet received {"connection_id":194884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":194884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:49:34] local.INFO: TCP Data received {"connection_id":194884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:34] local.INFO: Processing buffer {"connection_id":194884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:49:34] local.INFO: Packet analysis {"connection_id":194884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:49:34] local.INFO: Extracted packet for processing {"connection_id":194884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10: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-25 10:49: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-25 10: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-25 10: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-25 10: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-25 10: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-25 10:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:49: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-25 10:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:49:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":194884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:49:34] local.INFO: GPS data processed {"connection_id":194884,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:49:34] local.INFO: Acknowledgment sent {"connection_id":194884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:50:04] local.INFO: TCP Data received {"connection_id":192032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:50:04] local.INFO: Processing buffer {"connection_id":192032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:50:04] local.INFO: IMEI packet received {"connection_id":192032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":192032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:50:05] local.INFO: TCP Data received {"connection_id":194884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:05] local.INFO: Processing buffer {"connection_id":194884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:05] local.INFO: Packet analysis {"connection_id":194884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:50:05] local.INFO: Extracted packet for processing {"connection_id":194884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10: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-25 10:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10: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-25 10:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:50: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-25 10:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:50:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:50:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10: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-25 10:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":194884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:50:05] local.INFO: GPS data processed {"connection_id":194884,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:50:05] local.INFO: Acknowledgment sent {"connection_id":194884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:50:25] local.INFO: TCP Data received {"connection_id":193576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:25] local.INFO: Processing buffer {"connection_id":193576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:25] local.INFO: IMEI packet received {"connection_id":193576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":193576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:50:31] local.INFO: TCP Data received {"connection_id":193576,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:31] local.INFO: Processing buffer {"connection_id":193576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:50:31] local.INFO: IMEI packet received {"connection_id":193576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":193576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:50:32] local.INFO: TCP Data received {"connection_id":193576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:32] local.INFO: Processing buffer {"connection_id":193576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d6fd07f0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:50:32] local.INFO: Packet analysis {"connection_id":193576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:50:32] local.INFO: Extracted packet for processing {"connection_id":193576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d6fd"} 
[2026-09-25 10:50:32] 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-25 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320128256001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313302000,"timestamp_ms":1790313302000,"timestamp_seconds":1790313302,"priority":1,"record_length":96,"hex_timestamp":"000001a0d6fd07f0"} 
[2026-09-25 10:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:50: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-25 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320128256001,"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-25 10:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320128256001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320128256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:50:32] local.INFO: GPS data processed {"connection_id":193576,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:50:32] local.INFO: Acknowledgment sent {"connection_id":193576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:51:03] local.INFO: TCP Data received {"connection_id":193576,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:03] local.INFO: Processing buffer {"connection_id":193576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:03] local.INFO: Packet analysis {"connection_id":193576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:51:03] local.INFO: Extracted packet for processing {"connection_id":193576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:51: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51: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-25 10:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:51: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-25 10:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":193576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:51:03] local.INFO: GPS data processed {"connection_id":193576,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:51:03] local.INFO: Acknowledgment sent {"connection_id":193576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:51:26] local.INFO: TCP Data received {"connection_id":194885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:26] local.INFO: Processing buffer {"connection_id":194885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:26] local.INFO: IMEI packet received {"connection_id":194885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":194885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:51:31] local.INFO: TCP Data received {"connection_id":194885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:31] local.INFO: Processing buffer {"connection_id":194885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:51:31] local.INFO: IMEI packet received {"connection_id":194885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":194885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:51:31] local.INFO: TCP Data received {"connection_id":194885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:31] local.INFO: Processing buffer {"connection_id":194885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:51:31] local.INFO: Packet analysis {"connection_id":194885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:51:31] local.INFO: Extracted packet for processing {"connection_id":194885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:51: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:51: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-25 10:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:51: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-25 10:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:51: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-25 10:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":194885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:51:32] local.INFO: GPS data processed {"connection_id":194885,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:51:32] local.INFO: Acknowledgment sent {"connection_id":194885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:52:03] local.INFO: TCP Data received {"connection_id":194885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:03] local.INFO: Processing buffer {"connection_id":194885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:03] local.INFO: Packet analysis {"connection_id":194885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:52:03] local.INFO: Extracted packet for processing {"connection_id":194885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:52: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52: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-25 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:52: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-25 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":194885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:52:03] local.INFO: GPS data processed {"connection_id":194885,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:52:03] local.INFO: Acknowledgment sent {"connection_id":194885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:52:26] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:26] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:26] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:52:31] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:31] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:52:31] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:52:31] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:31] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:52:31] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:52:31] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:52: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:52: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-25 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:52:31] local.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-25 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:52: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-25 10:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:52:32] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:52:32] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:53:03] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:03] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:03] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:53:03] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:53: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53: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-25 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:53: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-25 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:53:03] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:53:03] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:53:25] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:25] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:25] local.INFO: IMEI packet received {"connection_id":193577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":193577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:53:31] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:31] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:53:31] local.INFO: IMEI packet received {"connection_id":193577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:53:31] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:31] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:53:31] local.INFO: Packet analysis {"connection_id":193577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:53:31] local.INFO: Extracted packet for processing {"connection_id":193577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:53: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:53: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-25 10:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:53: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-25 10:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":193577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:53:31] local.INFO: GPS data processed {"connection_id":193577,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:53:31] local.INFO: Acknowledgment sent {"connection_id":193577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:54:03] local.INFO: TCP Data received {"connection_id":193577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:03] local.INFO: Processing buffer {"connection_id":193577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:03] local.INFO: Packet analysis {"connection_id":193577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:54:03] local.INFO: Extracted packet for processing {"connection_id":193577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:54: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54: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-25 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:54: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-25 10:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":193577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:54:03] local.INFO: GPS data processed {"connection_id":193577,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:54:03] local.INFO: Acknowledgment sent {"connection_id":193577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:54:25] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:25] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:25] local.INFO: IMEI packet received {"connection_id":193578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":193578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:54:31] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:31] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:54:31] local.INFO: IMEI packet received {"connection_id":193578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":193578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:54:32] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:32] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:54:32] local.INFO: Packet analysis {"connection_id":193578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:54:32] local.INFO: Extracted packet for processing {"connection_id":193578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:54:32] 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-25 10:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:54: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-25 10:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:54:32] 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-25 10:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":193578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:54:32] local.INFO: GPS data processed {"connection_id":193578,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:54:32] local.INFO: Acknowledgment sent {"connection_id":193578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:55:03] local.INFO: TCP Data received {"connection_id":193578,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:03] local.INFO: Processing buffer {"connection_id":193578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:03] local.INFO: Packet analysis {"connection_id":193578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:55:03] local.INFO: Extracted packet for processing {"connection_id":193578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:55: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55: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-25 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:55:03] 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-25 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"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-25 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:55: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-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":193578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:55:04] local.INFO: GPS data processed {"connection_id":193578,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:55:04] local.INFO: Acknowledgment sent {"connection_id":193578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:55:25] local.INFO: TCP Data received {"connection_id":194887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:25] local.INFO: Processing buffer {"connection_id":194887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:25] local.INFO: IMEI packet received {"connection_id":194887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":194887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:55:29] local.INFO: TCP Data received {"connection_id":192034,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:55:29] local.INFO: Processing buffer {"connection_id":192034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:55:29] local.INFO: IMEI packet received {"connection_id":192034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:55:31] local.INFO: TCP Data received {"connection_id":194887,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:31] local.INFO: Processing buffer {"connection_id":194887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:55:31] local.INFO: IMEI packet received {"connection_id":194887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":194887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:55:31] local.INFO: TCP Data received {"connection_id":194887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:31] local.INFO: Processing buffer {"connection_id":194887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d701a3a0012d34c14006aa4940000900f529..."} 
[2026-09-25 10:55:31] local.INFO: Packet analysis {"connection_id":194887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:55:31] local.INFO: Extracted packet for processing {"connection_id":194887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d701"} 
[2026-09-25 10:55: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10: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-25 10:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320205312001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:55: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-25 10:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313604000,"timestamp_ms":1790313604000,"timestamp_seconds":1790313604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d701a3a0"} 
[2026-09-25 10: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-25 10:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10: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-25 10: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-25 10:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:55:31] local.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-25 10:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320205312001,"66":25495,"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-25 10:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320205312001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:55: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-25 10:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320205312001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":194887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:55:31] local.INFO: GPS data processed {"connection_id":194887,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:55:31] local.INFO: Acknowledgment sent {"connection_id":194887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:56:03] local.INFO: TCP Data received {"connection_id":194887,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:03] local.INFO: Processing buffer {"connection_id":194887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:03] local.INFO: Packet analysis {"connection_id":194887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:56:03] local.INFO: Extracted packet for processing {"connection_id":194887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:56: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56: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-25 10:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:56:03] local.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-25 10:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:56: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-25 10:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":194887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:56:03] local.INFO: GPS data processed {"connection_id":194887,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:56:03] local.INFO: Acknowledgment sent {"connection_id":194887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:56:10] local.INFO: TCP Data received {"connection_id":193579,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:56:10] local.INFO: Processing buffer {"connection_id":193579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 10:56:10] local.INFO: IMEI packet received {"connection_id":193579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":193579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:56:26] local.INFO: TCP Data received {"connection_id":194888,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:26] local.INFO: Processing buffer {"connection_id":194888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:26] local.INFO: IMEI packet received {"connection_id":194888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":194888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:56:31] local.INFO: TCP Data received {"connection_id":194888,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:31] local.INFO: Processing buffer {"connection_id":194888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:56:31] local.INFO: IMEI packet received {"connection_id":194888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":194888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:56:32] local.INFO: TCP Data received {"connection_id":194888,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:32] local.INFO: Processing buffer {"connection_id":194888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:56:32] local.INFO: Packet analysis {"connection_id":194888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:56:32] local.INFO: Extracted packet for processing {"connection_id":194888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:56:32] 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-25 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:56: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-25 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":194888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:56:32] local.INFO: GPS data processed {"connection_id":194888,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:56:32] local.INFO: Acknowledgment sent {"connection_id":194888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:57:03] local.INFO: TCP Data received {"connection_id":194888,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:03] local.INFO: Processing buffer {"connection_id":194888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:03] local.INFO: Packet analysis {"connection_id":194888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:57:03] local.INFO: Extracted packet for processing {"connection_id":194888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:57: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57: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-25 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:57: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-25 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":194888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:57:03] local.INFO: GPS data processed {"connection_id":194888,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:57:03] local.INFO: Acknowledgment sent {"connection_id":194888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:57:25] local.INFO: TCP Data received {"connection_id":194890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:25] local.INFO: Processing buffer {"connection_id":194890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:25] local.INFO: IMEI packet received {"connection_id":194890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":194890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:57:31] local.INFO: TCP Data received {"connection_id":194890,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:31] local.INFO: Processing buffer {"connection_id":194890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:57:31] local.INFO: IMEI packet received {"connection_id":194890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":194890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:57:32] local.INFO: TCP Data received {"connection_id":194890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:32] local.INFO: Processing buffer {"connection_id":194890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:57:32] local.INFO: Packet analysis {"connection_id":194890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:57:32] local.INFO: Extracted packet for processing {"connection_id":194890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:57:32] 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-25 10:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:57: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-25 10:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 10:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:57: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-25 10:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 10:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":194890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:57:32] local.INFO: GPS data processed {"connection_id":194890,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:57:32] local.INFO: Acknowledgment sent {"connection_id":194890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:58:03] local.INFO: TCP Data received {"connection_id":194890,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:03] local.INFO: Processing buffer {"connection_id":194890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:03] local.INFO: Packet analysis {"connection_id":194890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:58:03] local.INFO: Extracted packet for processing {"connection_id":194890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:58: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58: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-25 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:58: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-25 10:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":194890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:58:03] local.INFO: GPS data processed {"connection_id":194890,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:58:03] local.INFO: Acknowledgment sent {"connection_id":194890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:58:25] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:25] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:25] local.INFO: IMEI packet received {"connection_id":193580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":193580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:58:31] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:31] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:58:31] local.INFO: IMEI packet received {"connection_id":193580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":193580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:58:31] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:31] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:58:31] local.INFO: Packet analysis {"connection_id":193580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:58:31] local.INFO: Extracted packet for processing {"connection_id":193580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:58: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:58: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-25 10:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:58: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-25 10:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":193580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:58:31] local.INFO: GPS data processed {"connection_id":193580,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:58:31] local.INFO: Acknowledgment sent {"connection_id":193580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:59:03] local.INFO: TCP Data received {"connection_id":193580,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:03] local.INFO: Processing buffer {"connection_id":193580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:03] local.INFO: Packet analysis {"connection_id":193580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:59:03] local.INFO: Extracted packet for processing {"connection_id":193580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:59: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 10:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 10:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 10:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"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-25 10:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:59: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-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":193580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:59:03] local.INFO: GPS data processed {"connection_id":193580,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:59:03] local.INFO: Acknowledgment sent {"connection_id":193580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 10:59:25] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:25] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:25] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 10:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 10:59:31] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:31] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 10:59:31] local.INFO: IMEI packet received {"connection_id":192036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 10:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":192036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 10:59:31] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:31] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 10:59:31] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:59:31] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 10:59: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 10:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 10:59: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-25 10:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 10:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 10:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 10:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 10:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 10:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 10:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 10:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 10:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 10:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 10:59:31] local.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-25 10:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 10:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 10:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"66":25538,"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-25 10:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 10:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 10:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 10:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 10:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 10:59: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-25 10:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 10:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 10:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 10:59:31] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-25 10:59:31] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:00:03] local.INFO: TCP Data received {"connection_id":192036,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 11:00:03] local.INFO: Processing buffer {"connection_id":192036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7063b68012d34c14006aa4940000900f529..."} 
[2026-09-25 11:00:03] local.INFO: Packet analysis {"connection_id":192036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 11:00:03] local.INFO: Extracted packet for processing {"connection_id":192036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d706"} 
[2026-09-25 11:00: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":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4940","is_valid_coordinates":true} 
[2026-09-25 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320282624001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00: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-25 11:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790313905000,"timestamp_ms":1790313905000,"timestamp_seconds":1790313905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7063b68"} 
[2026-09-25 11:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:00:03] local.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-25 11:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320282624001,"66":25538,"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-25 11:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320282624001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:00: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-25 11:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320282624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":192036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:00:03] local.INFO: GPS data processed {"connection_id":192036,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:00:03] local.INFO: Acknowledgment sent {"connection_id":192036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:00:25] local.INFO: TCP Data received {"connection_id":193581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:25] local.INFO: Processing buffer {"connection_id":193581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:25] local.INFO: IMEI packet received {"connection_id":193581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":193581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:00:31] local.INFO: TCP Data received {"connection_id":193581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:31] local.INFO: Processing buffer {"connection_id":193581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:00:31] local.INFO: IMEI packet received {"connection_id":193581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":193581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:00:32] local.INFO: TCP Data received {"connection_id":193581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:00:32] local.INFO: Processing buffer {"connection_id":193581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:00:32] local.INFO: Packet analysis {"connection_id":193581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:00:32] local.INFO: Extracted packet for processing {"connection_id":193581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:00: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-25 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":193581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:00:32] local.INFO: GPS data processed {"connection_id":193581,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:00:32] local.INFO: Acknowledgment sent {"connection_id":193581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:01:04] local.INFO: TCP Data received {"connection_id":193581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:04] local.INFO: Processing buffer {"connection_id":193581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:04] local.INFO: Packet analysis {"connection_id":193581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:01:04] local.INFO: Extracted packet for processing {"connection_id":193581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11: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-25 11:01: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:01:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:01:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":193581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:01:04] local.INFO: GPS data processed {"connection_id":193581,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:01:04] local.INFO: Acknowledgment sent {"connection_id":193581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:01:26] local.INFO: TCP Data received {"connection_id":194891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:26] local.INFO: Processing buffer {"connection_id":194891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:26] local.INFO: IMEI packet received {"connection_id":194891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":194891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:01:31] local.INFO: TCP Data received {"connection_id":194891,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:31] local.INFO: Processing buffer {"connection_id":194891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:01:31] local.INFO: IMEI packet received {"connection_id":194891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":194891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:01:34] local.INFO: TCP Data received {"connection_id":194891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:34] local.INFO: Processing buffer {"connection_id":194891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:01:34] local.INFO: Packet analysis {"connection_id":194891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:01:34] local.INFO: Extracted packet for processing {"connection_id":194891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":194891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":194891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":194891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":194891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:01:34] local.INFO: GPS data processed {"connection_id":194891,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:01:34] local.INFO: Acknowledgment sent {"connection_id":194891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:01:40] local.INFO: TCP Data received {"connection_id":193582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:01:40] local.INFO: Processing buffer {"connection_id":193582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:01:40] local.INFO: IMEI packet received {"connection_id":193582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":193582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:02:04] local.INFO: TCP Data received {"connection_id":192037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:02:04] local.INFO: Processing buffer {"connection_id":192037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:02:04] local.INFO: IMEI packet received {"connection_id":192037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":192037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:02:05] local.INFO: TCP Data received {"connection_id":194891,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:05] local.INFO: Processing buffer {"connection_id":194891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:05] local.INFO: Packet analysis {"connection_id":194891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:02:05] local.INFO: Extracted packet for processing {"connection_id":194891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11: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-25 11:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":194891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:02:05] local.INFO: GPS data processed {"connection_id":194891,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:02:05] local.INFO: Acknowledgment sent {"connection_id":194891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:02:25] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:25] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:25] local.INFO: IMEI packet received {"connection_id":193583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":193583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:02:31] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:31] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:02:31] local.INFO: IMEI packet received {"connection_id":193583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":193583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:02:31] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:31] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:02:31] local.INFO: Packet analysis {"connection_id":193583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:02:31] local.INFO: Extracted packet for processing {"connection_id":193583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:02: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-25 11:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:02:31] 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-25 11:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:02:31] local.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-25 11:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:02: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-25 11:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":193583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:02:31] local.INFO: GPS data processed {"connection_id":193583,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:02:31] local.INFO: Acknowledgment sent {"connection_id":193583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:03:03] local.INFO: TCP Data received {"connection_id":193583,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:03] local.INFO: Processing buffer {"connection_id":193583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:03] local.INFO: Packet analysis {"connection_id":193583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:03:03] local.INFO: Extracted packet for processing {"connection_id":193583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03: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-25 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:03:03] 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-25 11:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:03: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-25 11:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":193583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:03:03] local.INFO: GPS data processed {"connection_id":193583,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:03:03] local.INFO: Acknowledgment sent {"connection_id":193583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:03:25] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:25] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:25] local.INFO: IMEI packet received {"connection_id":193584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":193584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:03:31] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:31] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:03:31] local.INFO: IMEI packet received {"connection_id":193584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":193584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:03:32] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:32] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:03:32] local.INFO: Packet analysis {"connection_id":193584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:03:32] local.INFO: Extracted packet for processing {"connection_id":193584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:03: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-25 11:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":193584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:03:32] local.INFO: GPS data processed {"connection_id":193584,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:03:32] local.INFO: Acknowledgment sent {"connection_id":193584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:04:03] local.INFO: TCP Data received {"connection_id":193584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:03] local.INFO: Processing buffer {"connection_id":193584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:03] local.INFO: Packet analysis {"connection_id":193584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:04:03] local.INFO: Extracted packet for processing {"connection_id":193584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04: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-25 11:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:04:03] 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-25 11:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:04: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-25 11:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":193584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:04:03] local.INFO: GPS data processed {"connection_id":193584,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:04:03] local.INFO: Acknowledgment sent {"connection_id":193584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:04:25] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:25] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:25] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:04:31] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:31] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:04:31] local.INFO: IMEI packet received {"connection_id":192039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":192039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:04:32] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:32] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:04:32] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:04:32] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:04: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-25 11:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:04:32] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:04:32] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:05:05] local.INFO: TCP Data received {"connection_id":192039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:05:05] local.INFO: Processing buffer {"connection_id":192039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70b11b0012d34be4006aa49100006006e29..."} 
[2026-09-25 11:05:05] local.INFO: Packet analysis {"connection_id":192039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:05:05] local.INFO: Extracted packet for processing {"connection_id":192039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70b"} 
[2026-09-25 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111823120,"longitude_deg":75.8431296,"latitude_deg":11.182312,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-09-25 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320359680001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848317952,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790314222000,"timestamp_ms":1790314222000,"timestamp_seconds":1790314222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70b11b0"} 
[2026-09-25 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 11:05: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-25 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:05: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-25 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320359680001,"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-25 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320359680001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:05:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:05:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848317952,"description":"Unknown IO ID 45"} 
[2026-09-25 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320359680001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848317952}} 
[2026-09-25 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":192039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:05:05] local.INFO: GPS data processed {"connection_id":192039,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:05:05] local.INFO: Acknowledgment sent {"connection_id":192039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:05:31] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:31] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:31] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:05:36] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:36] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:05:36] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:05:36] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:36] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:36] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:05:36] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11: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-25 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.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-25 11:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:05:36] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:05:36] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:05:41] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:41] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:05:41] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:05:41] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11: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-25 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:05: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-25 11:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.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-25 11:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:05:41] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:05:41] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:06:25] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:25] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:25] local.INFO: IMEI packet received {"connection_id":192233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":192233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:06:31] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:31] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:06:31] local.INFO: IMEI packet received {"connection_id":192233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":192233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:06:31] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:06:31] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:06:31] local.INFO: Packet analysis {"connection_id":192233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:06:31] local.INFO: Extracted packet for processing {"connection_id":192233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11: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-25 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":192233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:06:31] local.INFO: GPS data processed {"connection_id":192233,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:06:31] local.INFO: Acknowledgment sent {"connection_id":192233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:07:04] local.INFO: TCP Data received {"connection_id":192233,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:04] local.INFO: Processing buffer {"connection_id":192233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:04] local.INFO: Packet analysis {"connection_id":192233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:07:04] local.INFO: Extracted packet for processing {"connection_id":192233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07: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-25 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:07: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-25 11:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:07: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-25 11:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":192233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:07:04] local.INFO: GPS data processed {"connection_id":192233,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:07:04] local.INFO: Acknowledgment sent {"connection_id":192233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:07:25] local.INFO: TCP Data received {"connection_id":192040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:25] local.INFO: Processing buffer {"connection_id":192040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:25] local.INFO: IMEI packet received {"connection_id":192040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":192040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:07:31] local.INFO: TCP Data received {"connection_id":192040,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:31] local.INFO: Processing buffer {"connection_id":192040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:07:31] local.INFO: IMEI packet received {"connection_id":192040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":192040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:07:32] local.INFO: TCP Data received {"connection_id":192040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:32] local.INFO: Processing buffer {"connection_id":192040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:07:32] local.INFO: Packet analysis {"connection_id":192040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:07:32] local.INFO: Extracted packet for processing {"connection_id":192040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:07: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-25 11:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:07:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:07:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":192040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:07:32] local.INFO: GPS data processed {"connection_id":192040,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:07:32] local.INFO: Acknowledgment sent {"connection_id":192040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:07:40] local.INFO: TCP Data received {"connection_id":194892,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:07:40] local.INFO: Processing buffer {"connection_id":194892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:07:40] local.INFO: IMEI packet received {"connection_id":194892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":194892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:08:03] local.INFO: TCP Data received {"connection_id":192040,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:03] local.INFO: Processing buffer {"connection_id":192040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:03] local.INFO: Packet analysis {"connection_id":192040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:08:03] local.INFO: Extracted packet for processing {"connection_id":192040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08: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-25 11:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:08: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-25 11:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":192040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:08:03] local.INFO: GPS data processed {"connection_id":192040,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:08:03] local.INFO: Acknowledgment sent {"connection_id":192040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:08:04] local.INFO: TCP Data received {"connection_id":192041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:08:04] local.INFO: Processing buffer {"connection_id":192041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:08:04] local.INFO: IMEI packet received {"connection_id":192041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":192041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:08:25] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:25] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:25] local.INFO: IMEI packet received {"connection_id":193585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":193585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:08:31] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:31] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:08:31] local.INFO: IMEI packet received {"connection_id":193585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":193585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:08:32] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:32] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:08:32] local.INFO: Packet analysis {"connection_id":193585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:08:32] local.INFO: Extracted packet for processing {"connection_id":193585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:08:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:08: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-25 11:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":193585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:08:32] local.INFO: GPS data processed {"connection_id":193585,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:08:32] local.INFO: Acknowledgment sent {"connection_id":193585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:09:04] local.INFO: TCP Data received {"connection_id":193585,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:04] local.INFO: Processing buffer {"connection_id":193585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:04] local.INFO: Packet analysis {"connection_id":193585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:09:04] local.INFO: Extracted packet for processing {"connection_id":193585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09: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-25 11:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:09: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-25 11:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:09: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-25 11:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:09: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-25 11:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":193585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:09:04] local.INFO: GPS data processed {"connection_id":193585,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:09:04] local.INFO: Acknowledgment sent {"connection_id":193585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:09:31] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:31] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:31] local.INFO: IMEI packet received {"connection_id":192042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":192042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:09:36] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:36] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:09:36] local.INFO: IMEI packet received {"connection_id":192042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":192042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:09:37] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:37] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:09:37] local.INFO: Packet analysis {"connection_id":192042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:09:37] local.INFO: Extracted packet for processing {"connection_id":192042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:09: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-25 11:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:09: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-25 11:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":192042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:09:37] local.INFO: GPS data processed {"connection_id":192042,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:09:37] local.INFO: Acknowledgment sent {"connection_id":192042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:10:08] local.INFO: TCP Data received {"connection_id":192042,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:10:08] local.INFO: Processing buffer {"connection_id":192042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70f3830012d34c14006aa49080007006e2c..."} 
[2026-09-25 11:10:08] local.INFO: Packet analysis {"connection_id":192042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:10:08] local.INFO: Extracted packet for processing {"connection_id":192042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d70f"} 
[2026-09-25 11:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320440832001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918173696,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790314494000,"timestamp_ms":1790314494000,"timestamp_seconds":1790314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70f3830"} 
[2026-09-25 11: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-25 11:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:10: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-25 11:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320440832001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3800545532918173696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320440832001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918173696,"description":"Unknown IO ID 45"} 
[2026-09-25 11:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320440832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800545532918173696}} 
[2026-09-25 11:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":192042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:10:08] local.INFO: GPS data processed {"connection_id":192042,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:10:08] local.INFO: Acknowledgment sent {"connection_id":192042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:10:25] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:25] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:25] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:10:26] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:26] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:26] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:10:31] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:31] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:10:31] local.INFO: IMEI packet received {"connection_id":192043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":192043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:10:32] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:10:32] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:10:32] local.INFO: Packet analysis {"connection_id":192043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:10:32] local.INFO: Extracted packet for processing {"connection_id":192043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":192043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:10:32] local.INFO: GPS data processed {"connection_id":192043,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:10:32] local.INFO: Acknowledgment sent {"connection_id":192043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:11:03] local.INFO: TCP Data received {"connection_id":192043,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:03] local.INFO: Processing buffer {"connection_id":192043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:03] local.INFO: Packet analysis {"connection_id":192043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:11:03] local.INFO: Extracted packet for processing {"connection_id":192043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11: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-25 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:11: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-25 11:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:11: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-25 11:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":192043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:11:03] local.INFO: GPS data processed {"connection_id":192043,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:11:03] local.INFO: Acknowledgment sent {"connection_id":192043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:11:26] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:26] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:26] local.INFO: IMEI packet received {"connection_id":192236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":192236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:11:31] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:31] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:11:31] local.INFO: IMEI packet received {"connection_id":192236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":192236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:11:32] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:32] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:11:32] local.INFO: Packet analysis {"connection_id":192236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:11:32] local.INFO: Extracted packet for processing {"connection_id":192236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":192236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:11:32] local.INFO: GPS data processed {"connection_id":192236,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:11:32] local.INFO: Acknowledgment sent {"connection_id":192236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:12:04] local.INFO: TCP Data received {"connection_id":192236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:04] local.INFO: Processing buffer {"connection_id":192236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:04] local.INFO: Packet analysis {"connection_id":192236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:12:04] local.INFO: Extracted packet for processing {"connection_id":192236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12: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-25 11:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:12: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-25 11:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:12: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-25 11:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:12: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-25 11:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":192236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:12:04] local.INFO: GPS data processed {"connection_id":192236,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:12:04] local.INFO: Acknowledgment sent {"connection_id":192236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:12:26] local.INFO: TCP Data received {"connection_id":192046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:26] local.INFO: Processing buffer {"connection_id":192046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:26] local.INFO: IMEI packet received {"connection_id":192046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":192046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:12:31] local.INFO: TCP Data received {"connection_id":192046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:31] local.INFO: Processing buffer {"connection_id":192046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:12:31] local.INFO: IMEI packet received {"connection_id":192046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":192046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:12:31] local.INFO: TCP Data received {"connection_id":192046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:31] local.INFO: Processing buffer {"connection_id":192046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:12:31] local.INFO: Packet analysis {"connection_id":192046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:12:31] local.INFO: Extracted packet for processing {"connection_id":192046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:12: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-25 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:12: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-25 11:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:12: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-25 11:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":192046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:12:31] local.INFO: GPS data processed {"connection_id":192046,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:12:31] local.INFO: Acknowledgment sent {"connection_id":192046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:13:05] local.INFO: TCP Data received {"connection_id":192046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:05] local.INFO: Processing buffer {"connection_id":192046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:05] local.INFO: Packet analysis {"connection_id":192046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:13:05] local.INFO: Extracted packet for processing {"connection_id":192046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11: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-25 11:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":192046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:13:06] local.INFO: GPS data processed {"connection_id":192046,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:13:06] local.INFO: Acknowledgment sent {"connection_id":192046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:13:24] local.INFO: TCP Data received {"connection_id":193586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:13:24] local.INFO: Processing buffer {"connection_id":193586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:13:24] local.INFO: IMEI packet received {"connection_id":193586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":193586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:13:26] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:26] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:26] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:13:31] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:31] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:13:31] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:13:33] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:33] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:13:33] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:13:33] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:13: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-25 11:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:13:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:13:33] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:13:33] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:14:05] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:05] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:05] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:14:05] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11: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-25 11:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:14: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-25 11:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:14:05] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:14:05] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:14:09] local.INFO: TCP Data received {"connection_id":194893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:14:09] local.INFO: Processing buffer {"connection_id":194893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:14:09] local.INFO: IMEI packet received {"connection_id":194893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":194893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:14:25] local.INFO: TCP Data received {"connection_id":194894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:25] local.INFO: Processing buffer {"connection_id":194894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:25] local.INFO: IMEI packet received {"connection_id":194894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":194894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:14:31] local.INFO: TCP Data received {"connection_id":194894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:31] local.INFO: Processing buffer {"connection_id":194894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:14:31] local.INFO: IMEI packet received {"connection_id":194894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":194894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:14:32] local.INFO: TCP Data received {"connection_id":194894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:32] local.INFO: Processing buffer {"connection_id":194894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:14:32] local.INFO: Packet analysis {"connection_id":194894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:14:32] local.INFO: Extracted packet for processing {"connection_id":194894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:14: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-25 11:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":194894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:14:32] local.INFO: GPS data processed {"connection_id":194894,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:14:32] local.INFO: Acknowledgment sent {"connection_id":194894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:15:04] local.INFO: TCP Data received {"connection_id":194894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:15:04] local.INFO: Processing buffer {"connection_id":194894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d713b4a0012d34c14006aa49080009006e2c..."} 
[2026-09-25 11:15:04] local.INFO: Packet analysis {"connection_id":194894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:15:04] local.INFO: Extracted packet for processing {"connection_id":194894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d713"} 
[2026-09-25 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320510464001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:15: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-25 11:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790314788000,"timestamp_ms":1790314788000,"timestamp_seconds":1790314788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d713b4a0"} 
[2026-09-25 11:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:15: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-25 11:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320510464001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320510464001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:15: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-25 11:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320510464001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":194894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:15:04] local.INFO: GPS data processed {"connection_id":194894,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:15:04] local.INFO: Acknowledgment sent {"connection_id":194894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:15:27] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:27] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:27] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:15:30] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:30] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:30] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:15:36] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:36] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:15:36] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:15:36] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:15:36] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:15:36] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:15:36] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11: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-25 11:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:15:36] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:15:36] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:16:08] local.INFO: TCP Data received {"connection_id":192238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:08] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:08] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:16:08] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11: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-25 11:16: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-25 11:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:16:08] 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-25 11: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-25 11: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-25 11:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:16: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-25 11:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:16:08] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:16:08] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:16:25] local.INFO: TCP Data received {"connection_id":193588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:25] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:25] local.INFO: IMEI packet received {"connection_id":193588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":193588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:16:31] local.INFO: TCP Data received {"connection_id":193588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:31] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:16:31] local.INFO: IMEI packet received {"connection_id":193588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":193588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:16:31] local.INFO: TCP Data received {"connection_id":193588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:31] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:16:31] local.INFO: Packet analysis {"connection_id":193588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:16:31] local.INFO: Extracted packet for processing {"connection_id":193588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:16: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-25 11:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:16:31] 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-25 11:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:16: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-25 11:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":193588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:16:31] local.INFO: GPS data processed {"connection_id":193588,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:16:31] local.INFO: Acknowledgment sent {"connection_id":193588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:17:03] local.INFO: TCP Data received {"connection_id":193588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:03] local.INFO: Processing buffer {"connection_id":193588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:03] local.INFO: Packet analysis {"connection_id":193588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:17:03] local.INFO: Extracted packet for processing {"connection_id":193588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17: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-25 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:17:03] 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-25 11:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:17: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-25 11:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":193588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:17:03] local.INFO: GPS data processed {"connection_id":193588,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:17:03] local.INFO: Acknowledgment sent {"connection_id":193588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:17:30] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:30] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:30] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:17:36] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:36] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:17:36] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:17:37] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:37] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:17:37] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:17:37] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:17: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-25 11:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:17: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-25 11:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:17: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-25 11:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:17:37] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:17:37] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:18:09] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:09] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:09] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:18:09] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11: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-25 11:18: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-25 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:18: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-25 11:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:18: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-25 11:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:18:09] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:18:09] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:18:26] local.INFO: TCP Data received {"connection_id":194895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:26] local.INFO: Processing buffer {"connection_id":194895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:26] local.INFO: IMEI packet received {"connection_id":194895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":194895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:18:30] local.INFO: TCP Data received {"connection_id":194895,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:30] local.INFO: Processing buffer {"connection_id":194895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:18:30] local.INFO: IMEI packet received {"connection_id":194895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":194895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:18:31] local.INFO: TCP Data received {"connection_id":194895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:31] local.INFO: Processing buffer {"connection_id":194895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:18:31] local.INFO: Packet analysis {"connection_id":194895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:18:31] local.INFO: Extracted packet for processing {"connection_id":194895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:18: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-25 11:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:18:31] 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-25 11:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:18: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-25 11:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":194895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:18:31] local.INFO: GPS data processed {"connection_id":194895,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:18:31] local.INFO: Acknowledgment sent {"connection_id":194895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:19:03] local.INFO: TCP Data received {"connection_id":194895,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:03] local.INFO: Processing buffer {"connection_id":194895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:03] local.INFO: Packet analysis {"connection_id":194895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:19:03] local.INFO: Extracted packet for processing {"connection_id":194895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19: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-25 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:19:03] 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-25 11:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:19: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-25 11:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":194895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:19:03] local.INFO: GPS data processed {"connection_id":194895,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:19:03] local.INFO: Acknowledgment sent {"connection_id":194895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:19:24] local.INFO: TCP Data received {"connection_id":194896,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:19:24] local.INFO: Processing buffer {"connection_id":194896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:19:24] local.INFO: IMEI packet received {"connection_id":194896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":194896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:19:25] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:25] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:25] local.INFO: IMEI packet received {"connection_id":193590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":193590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:19:31] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:31] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:19:31] local.INFO: IMEI packet received {"connection_id":193590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":193590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:19:32] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:32] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:19:32] local.INFO: Packet analysis {"connection_id":193590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:19:32] local.INFO: Extracted packet for processing {"connection_id":193590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:19:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:19: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-25 11:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:19:32] 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-25 11:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:19:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":193590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:19:32] local.INFO: GPS data processed {"connection_id":193590,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:19:32] local.INFO: Acknowledgment sent {"connection_id":193590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:20:04] local.INFO: TCP Data received {"connection_id":193590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:20:04] local.INFO: Processing buffer {"connection_id":193590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7184c68012d34c14006aa49080004006e2a..."} 
[2026-09-25 11:20:04] local.INFO: Packet analysis {"connection_id":193590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:20:04] local.INFO: Extracted packet for processing {"connection_id":193590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d718"} 
[2026-09-25 11:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320585728001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790315089000,"timestamp_ms":1790315089000,"timestamp_seconds":1790315089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7184c68"} 
[2026-09-25 11: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-25 11: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-25 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 11:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:20:04] local.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-25 11:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320585728001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320585728001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320585728001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":193590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:20:04] local.INFO: GPS data processed {"connection_id":193590,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:20:04] local.INFO: Acknowledgment sent {"connection_id":193590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:20:04] local.INFO: TCP Data received {"connection_id":192048,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:04] local.INFO: Processing buffer {"connection_id":192048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:04] local.INFO: IMEI packet received {"connection_id":192048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":192048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:20:09] local.INFO: TCP Data received {"connection_id":192048,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:09] local.INFO: Processing buffer {"connection_id":192048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:09] local.INFO: IMEI packet received {"connection_id":192048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 11:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":192048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:20:11] local.INFO: TCP Data received {"connection_id":192048,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d70053b0012d34290006abbd00000700d730..."} 
[2026-09-25 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d70053b0012d34290006abbd00000700d730..."} 
[2026-09-25 11:20:11] local.INFO: Processing buffer {"connection_id":192048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d70053b0012d34290006abbd00000700d730..."} 
[2026-09-25 11:20:11] local.INFO: Packet analysis {"connection_id":192048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d700"} 
[2026-09-25 11:20:11] local.INFO: Extracted packet for processing {"connection_id":192048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d700"} 
[2026-09-25 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320183552001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790313518000,"timestamp_ms":1790313518000,"timestamp_seconds":1790313518,"priority":1,"record_length":96,"hex_timestamp":"000001a0d70053b0"} 
[2026-09-25 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:20: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-25 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 11:20:11] 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-25 11:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320183552001,"66":25778,"75":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-25 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320183552001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:20:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-25 11:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320183552001,"power":25778,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 11:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":192048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:20:11] local.INFO: GPS data processed {"connection_id":192048,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:20:11] local.INFO: Acknowledgment sent {"connection_id":192048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:20:29] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:29] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:29] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:20:30] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:30] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:30] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:20:36] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:36] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:20:36] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:20:36] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:20:36] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:20:36] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:20:36] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11: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-25 11:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:20: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-25 11: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-25 11: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-25 11:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:20: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-25 11:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:20:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:20:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:20:36] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:20:36] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:20:54] local.INFO: TCP Data received {"connection_id":192242,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:54] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:20:54] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:21:08] local.INFO: TCP Data received {"connection_id":192241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:08] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:08] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:21:08] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11: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-25 11:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:21: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-25 11: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-25 11: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-25 11:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:21: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-25 11:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:21:08] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:21:08] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:21:26] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:26] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:26] local.INFO: IMEI packet received {"connection_id":193591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":193591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:21:31] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:31] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:21:31] local.INFO: IMEI packet received {"connection_id":193591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":193591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:21:32] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:32] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:21:32] local.INFO: Packet analysis {"connection_id":193591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:21:32] local.INFO: Extracted packet for processing {"connection_id":193591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":193591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:21:32] local.INFO: GPS data processed {"connection_id":193591,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:21:32] local.INFO: Acknowledgment sent {"connection_id":193591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:22:04] local.INFO: TCP Data received {"connection_id":193591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:04] local.INFO: Processing buffer {"connection_id":193591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:04] local.INFO: Packet analysis {"connection_id":193591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:22:04] local.INFO: Extracted packet for processing {"connection_id":193591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:22: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-25 11:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:22: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-25 11:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:22: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-25 11:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":193591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:22:04] local.INFO: GPS data processed {"connection_id":193591,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:22:04] local.INFO: Acknowledgment sent {"connection_id":193591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:22:25] local.INFO: TCP Data received {"connection_id":194898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:25] local.INFO: Processing buffer {"connection_id":194898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:25] local.INFO: IMEI packet received {"connection_id":194898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":194898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:22:31] local.INFO: TCP Data received {"connection_id":194898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:31] local.INFO: Processing buffer {"connection_id":194898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:22:31] local.INFO: IMEI packet received {"connection_id":194898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":194898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:22:32] local.INFO: TCP Data received {"connection_id":194898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:32] local.INFO: Processing buffer {"connection_id":194898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:22:32] local.INFO: Packet analysis {"connection_id":194898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:22:32] local.INFO: Extracted packet for processing {"connection_id":194898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:22: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-25 11:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:22:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":194898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:22:32] local.INFO: GPS data processed {"connection_id":194898,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:22:32] local.INFO: Acknowledgment sent {"connection_id":194898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:23:03] local.INFO: TCP Data received {"connection_id":194898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:03] local.INFO: Processing buffer {"connection_id":194898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:03] local.INFO: Packet analysis {"connection_id":194898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:23:03] local.INFO: Extracted packet for processing {"connection_id":194898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23: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-25 11:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:23: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-25 11:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":194898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:23:03] local.INFO: GPS data processed {"connection_id":194898,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:23:03] local.INFO: Acknowledgment sent {"connection_id":194898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:23:25] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:25] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:25] local.INFO: IMEI packet received {"connection_id":192049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:23:31] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:31] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:23:31] local.INFO: IMEI packet received {"connection_id":192049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":192049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:23:32] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:32] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:23:32] local.INFO: Packet analysis {"connection_id":192049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:23:32] local.INFO: Extracted packet for processing {"connection_id":192049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:23: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-25 11:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":192049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:23:32] local.INFO: GPS data processed {"connection_id":192049,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:23:32] local.INFO: Acknowledgment sent {"connection_id":192049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:24:03] local.INFO: TCP Data received {"connection_id":192049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:03] local.INFO: Processing buffer {"connection_id":192049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:03] local.INFO: Packet analysis {"connection_id":192049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:24:03] local.INFO: Extracted packet for processing {"connection_id":192049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24: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-25 11:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:24: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-25 11:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":192049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:24:03] local.INFO: GPS data processed {"connection_id":192049,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:24:03] local.INFO: Acknowledgment sent {"connection_id":192049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:24:25] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:25] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:25] local.INFO: IMEI packet received {"connection_id":192243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":192243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:24:31] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:31] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:24:31] local.INFO: IMEI packet received {"connection_id":192243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":192243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:24:31] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:31] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:24:31] local.INFO: Packet analysis {"connection_id":192243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:24:31] local.INFO: Extracted packet for processing {"connection_id":192243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:24: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-25 11:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:24: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-25 11:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:24:31] local.INFO: GPS data processed {"connection_id":192243,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:24:31] local.INFO: Acknowledgment sent {"connection_id":192243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:25:03] local.INFO: TCP Data received {"connection_id":192243,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:25:03] local.INFO: Processing buffer {"connection_id":192243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d71ce430012d34c14006aa49080004006e2b..."} 
[2026-09-25 11:25:03] local.INFO: Packet analysis {"connection_id":192243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:25:03] local.INFO: Extracted packet for processing {"connection_id":192243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d71c"} 
[2026-09-25 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320662784001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25: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-25 11:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315390000,"timestamp_ms":1790315390000,"timestamp_seconds":1790315390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d71ce430"} 
[2026-09-25 11:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320662784001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320662784001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:25: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-25 11:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320662784001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":192243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:25:03] local.INFO: GPS data processed {"connection_id":192243,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:25:03] local.INFO: Acknowledgment sent {"connection_id":192243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:25:30] local.INFO: TCP Data received {"connection_id":193593,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: Processing buffer {"connection_id":193593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: IMEI packet received {"connection_id":193593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":193593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:25:30] local.INFO: TCP Data received {"connection_id":193593,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: Processing buffer {"connection_id":193593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:30] local.INFO: IMEI packet received {"connection_id":193593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":193593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:25:36] local.INFO: TCP Data received {"connection_id":193593,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:36] local.INFO: Processing buffer {"connection_id":193593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:25:36] local.INFO: IMEI packet received {"connection_id":193593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":193593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:25:37] local.INFO: TCP Data received {"connection_id":193593,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:37] local.INFO: Processing buffer {"connection_id":193593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:37] local.INFO: Packet analysis {"connection_id":193593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:25:37] local.INFO: Extracted packet for processing {"connection_id":193593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11: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-25 11:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:25: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-25 11: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-25 11: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-25 11:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25: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-25 11:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":193593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:25:37] local.INFO: GPS data processed {"connection_id":193593,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:25:37] local.INFO: Acknowledgment sent {"connection_id":193593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:25:41] local.INFO: TCP Data received {"connection_id":193593,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:41] local.INFO: Processing buffer {"connection_id":193593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:25:41] local.INFO: Packet analysis {"connection_id":193593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:25:41] local.INFO: Extracted packet for processing {"connection_id":193593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:25: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-25 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11: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-25 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:25: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-25 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:25: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-25 11:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":193593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:25:41] local.INFO: GPS data processed {"connection_id":193593,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:25:41] local.INFO: Acknowledgment sent {"connection_id":193593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:26:25] local.INFO: TCP Data received {"connection_id":192244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:26:25] local.INFO: Processing buffer {"connection_id":192244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:26:25] local.INFO: IMEI packet received {"connection_id":192244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":192244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:26:26] local.INFO: TCP Data received {"connection_id":192245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:26] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:26] local.INFO: IMEI packet received {"connection_id":192245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":192245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:26:31] local.INFO: TCP Data received {"connection_id":192245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:31] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:26:31] local.INFO: IMEI packet received {"connection_id":192245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":192245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:26:32] local.INFO: TCP Data received {"connection_id":192245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:26:32] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:26:32] local.INFO: Packet analysis {"connection_id":192245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:26:32] local.INFO: Extracted packet for processing {"connection_id":192245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:26: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-25 11:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":192245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:26:32] local.INFO: GPS data processed {"connection_id":192245,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:26:32] local.INFO: Acknowledgment sent {"connection_id":192245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:27:04] local.INFO: TCP Data received {"connection_id":192245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:04] local.INFO: Processing buffer {"connection_id":192245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:04] local.INFO: Packet analysis {"connection_id":192245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:27:04] local.INFO: Extracted packet for processing {"connection_id":192245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11: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-25 11:27: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-25 11: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:27: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-25 11: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-25 11: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-25 11:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":192245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:27:04] local.INFO: GPS data processed {"connection_id":192245,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:27:04] local.INFO: Acknowledgment sent {"connection_id":192245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:27:04] local.INFO: TCP Data received {"connection_id":193594,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:27:04] local.INFO: Processing buffer {"connection_id":193594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:27:04] local.INFO: IMEI packet received {"connection_id":193594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":193594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:27:25] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:25] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:25] local.INFO: IMEI packet received {"connection_id":192051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":192051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:27:31] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:31] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:27:31] local.INFO: IMEI packet received {"connection_id":192051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":192051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:27:32] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:32] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:27:32] local.INFO: Packet analysis {"connection_id":192051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:27:32] local.INFO: Extracted packet for processing {"connection_id":192051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:27: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-25 11:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":192051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:27:32] local.INFO: GPS data processed {"connection_id":192051,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:27:32] local.INFO: Acknowledgment sent {"connection_id":192051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:28:04] local.INFO: TCP Data received {"connection_id":192051,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:04] local.INFO: Processing buffer {"connection_id":192051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:04] local.INFO: Packet analysis {"connection_id":192051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:28:04] local.INFO: Extracted packet for processing {"connection_id":192051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28: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-25 11:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:28: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-25 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:28: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-25 11:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:28: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-25 11:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":192051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:28:04] local.INFO: GPS data processed {"connection_id":192051,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:28:04] local.INFO: Acknowledgment sent {"connection_id":192051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:28:25] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:25] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:25] local.INFO: IMEI packet received {"connection_id":193595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":193595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:28:31] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:31] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:28:31] local.INFO: IMEI packet received {"connection_id":193595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":193595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:28:32] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:32] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:28:32] local.INFO: Packet analysis {"connection_id":193595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:28:32] local.INFO: Extracted packet for processing {"connection_id":193595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:28:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:28: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-25 11:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":193595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:28:32] local.INFO: GPS data processed {"connection_id":193595,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:28:32] local.INFO: Acknowledgment sent {"connection_id":193595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:29:03] local.INFO: TCP Data received {"connection_id":193595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:03] local.INFO: Processing buffer {"connection_id":193595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:03] local.INFO: Packet analysis {"connection_id":193595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:03] local.INFO: Extracted packet for processing {"connection_id":193595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29: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-25 11:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:29: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-25 11:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":193595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:29:03] local.INFO: GPS data processed {"connection_id":193595,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:29:03] local.INFO: Acknowledgment sent {"connection_id":193595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:29:31] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:31] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:31] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:29:36] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:36] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:29:36] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:29:36] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:36] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:36] local.INFO: Packet analysis {"connection_id":192246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:36] local.INFO: Extracted packet for processing {"connection_id":192246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:29: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-25 11:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29: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-25 11:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":192246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:29:36] local.INFO: GPS data processed {"connection_id":192246,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:29:36] local.INFO: Acknowledgment sent {"connection_id":192246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:29:41] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:41] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7217bf8012d34c14006aa49080005006e2b..."} 
[2026-09-25 11:29:41] local.INFO: Packet analysis {"connection_id":192246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:41] local.INFO: Extracted packet for processing {"connection_id":192246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d721"} 
[2026-09-25 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320739840001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790315691000,"timestamp_ms":1790315691000,"timestamp_seconds":1790315691,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7217bf8"} 
[2026-09-25 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:29: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-25 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320739840001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320739840001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:29: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-25 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320739840001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":192246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:29:42] local.INFO: GPS data processed {"connection_id":192246,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:29:42] local.INFO: Acknowledgment sent {"connection_id":192246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:30:25] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:25] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:25] local.INFO: IMEI packet received {"connection_id":192053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":192053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:30:31] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:31] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:30:31] local.INFO: IMEI packet received {"connection_id":192053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":192053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:30:31] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:30:31] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:30:31] local.INFO: Packet analysis {"connection_id":192053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:30:31] local.INFO: Extracted packet for processing {"connection_id":192053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:30: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-25 11:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11: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-25 11:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:30: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-25 11:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":192053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:30:31] local.INFO: GPS data processed {"connection_id":192053,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:30:31] local.INFO: Acknowledgment sent {"connection_id":192053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:31:03] local.INFO: TCP Data received {"connection_id":192053,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:03] local.INFO: Processing buffer {"connection_id":192053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:03] local.INFO: Packet analysis {"connection_id":192053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:31:03] local.INFO: Extracted packet for processing {"connection_id":192053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31: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-25 11:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:31: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-25 11:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":192053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:31:03] local.INFO: GPS data processed {"connection_id":192053,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:31:03] local.INFO: Acknowledgment sent {"connection_id":192053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:31:25] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:25] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:25] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:31:31] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:31] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:31:31] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:31:32] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:32] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:31:32] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:31:32] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:31: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-25 11:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:31:32] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:31:32] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:32:03] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:03] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:03] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:32:03] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32: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-25 11:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:32: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-25 11:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:32:04] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:32:04] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:32:25] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:25] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:25] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:32:30] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:30] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:32:30] local.INFO: IMEI packet received {"connection_id":192055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":192055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:32:31] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:31] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:32:31] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:32:31] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:32: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-25 11:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:32:31] local.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-25 11:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:32: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-25 11:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:32:31] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:32:31] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:32:40] local.INFO: TCP Data received {"connection_id":193596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:32:40] local.INFO: Processing buffer {"connection_id":193596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:32:40] local.INFO: IMEI packet received {"connection_id":193596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":193596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:33:03] local.INFO: TCP Data received {"connection_id":192055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:03] local.INFO: Processing buffer {"connection_id":192055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:03] local.INFO: Packet analysis {"connection_id":192055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:33:03] local.INFO: Extracted packet for processing {"connection_id":192055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:33: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-25 11:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:33: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-25 11:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":192055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:33:03] local.INFO: GPS data processed {"connection_id":192055,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:33:03] local.INFO: Acknowledgment sent {"connection_id":192055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:33:04] local.INFO: TCP Data received {"connection_id":193597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:33:04] local.INFO: Processing buffer {"connection_id":193597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:33:04] local.INFO: IMEI packet received {"connection_id":193597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":193597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:33:31] local.INFO: TCP Data received {"connection_id":194906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:31] local.INFO: Processing buffer {"connection_id":194906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:31] local.INFO: IMEI packet received {"connection_id":194906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":194906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:33:36] local.INFO: TCP Data received {"connection_id":194906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:36] local.INFO: Processing buffer {"connection_id":194906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:33:36] local.INFO: IMEI packet received {"connection_id":194906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":194906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:33:37] local.INFO: TCP Data received {"connection_id":194906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:37] local.INFO: Processing buffer {"connection_id":194906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:33:37] local.INFO: Packet analysis {"connection_id":194906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:33:37] local.INFO: Extracted packet for processing {"connection_id":194906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:33: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-25 11:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:33: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-25 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":194906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:33:37] local.INFO: GPS data processed {"connection_id":194906,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:33:37] local.INFO: Acknowledgment sent {"connection_id":194906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:34:08] local.INFO: TCP Data received {"connection_id":194906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:08] local.INFO: Processing buffer {"connection_id":194906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:08] local.INFO: Packet analysis {"connection_id":194906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:34:08] local.INFO: Extracted packet for processing {"connection_id":194906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:34: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-25 11:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":194906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:34:08] local.INFO: GPS data processed {"connection_id":194906,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:34:08] local.INFO: Acknowledgment sent {"connection_id":194906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:34:25] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:25] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:25] local.INFO: IMEI packet received {"connection_id":192056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":192056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:34:31] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:31] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:34:31] local.INFO: IMEI packet received {"connection_id":192056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":192056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:34:32] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:32] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:34:32] local.INFO: Packet analysis {"connection_id":192056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:34:32] local.INFO: Extracted packet for processing {"connection_id":192056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:34:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:34: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-25 11:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":192056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:34:32] local.INFO: GPS data processed {"connection_id":192056,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:34:32] local.INFO: Acknowledgment sent {"connection_id":192056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:35:03] local.INFO: TCP Data received {"connection_id":192056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:03] local.INFO: Processing buffer {"connection_id":192056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:03] local.INFO: Packet analysis {"connection_id":192056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:35:03] local.INFO: Extracted packet for processing {"connection_id":192056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35: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-25 11:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 11:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:35: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-25 11:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":192056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:35:03] local.INFO: GPS data processed {"connection_id":192056,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:35:03] local.INFO: Acknowledgment sent {"connection_id":192056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:35:25] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:25] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:25] local.INFO: IMEI packet received {"connection_id":193599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":193599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:35:31] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:31] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:35:31] local.INFO: IMEI packet received {"connection_id":193599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":193599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:35:32] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:32] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72613c0012d34c14006aa49080006006e2b..."} 
[2026-09-25 11:35:32] local.INFO: Packet analysis {"connection_id":193599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:35:32] local.INFO: Extracted packet for processing {"connection_id":193599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d726"} 
[2026-09-25 11:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320816896001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790315992000,"timestamp_ms":1790315992000,"timestamp_seconds":1790315992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72613c0"} 
[2026-09-25 11:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:35: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-25 11:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 11:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:35: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-25 11:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320816896001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320816896001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320816896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":193599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:35:32] local.INFO: GPS data processed {"connection_id":193599,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:35:32] local.INFO: Acknowledgment sent {"connection_id":193599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:36:03] local.INFO: TCP Data received {"connection_id":193599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:03] local.INFO: Processing buffer {"connection_id":193599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:03] local.INFO: Packet analysis {"connection_id":193599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:36:03] local.INFO: Extracted packet for processing {"connection_id":193599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36: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-25 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:36: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-25 11:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:36: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-25 11:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":193599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:36:03] local.INFO: GPS data processed {"connection_id":193599,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:36:03] local.INFO: Acknowledgment sent {"connection_id":193599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:36:25] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:25] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:25] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:36:31] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:31] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:36:31] local.INFO: IMEI packet received {"connection_id":192058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":192058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:36:31] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:31] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:36:31] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:36:31] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:36: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-25 11:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:36: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-25 11:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:36: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-25 11:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:36:31] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:36:31] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:37:03] local.INFO: TCP Data received {"connection_id":192058,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:03] local.INFO: Processing buffer {"connection_id":192058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:03] local.INFO: Packet analysis {"connection_id":192058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:37:03] local.INFO: Extracted packet for processing {"connection_id":192058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37: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-25 11:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:37: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-25 11:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:37: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-25 11:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":192058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:37:03] local.INFO: GPS data processed {"connection_id":192058,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:37:03] local.INFO: Acknowledgment sent {"connection_id":192058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:37:25] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:25] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:25] local.INFO: IMEI packet received {"connection_id":193601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":193601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:37:31] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:31] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:37:31] local.INFO: IMEI packet received {"connection_id":193601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":193601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:37:32] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:32] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:37:32] local.INFO: Packet analysis {"connection_id":193601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:37:32] local.INFO: Extracted packet for processing {"connection_id":193601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":193601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:37:32] local.INFO: GPS data processed {"connection_id":193601,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:37:32] local.INFO: Acknowledgment sent {"connection_id":193601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:38:04] local.INFO: TCP Data received {"connection_id":193601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:04] local.INFO: Processing buffer {"connection_id":193601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:04] local.INFO: Packet analysis {"connection_id":193601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:38:04] local.INFO: Extracted packet for processing {"connection_id":193601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38: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-25 11:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:38: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-25 11:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:38: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-25 11:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":193601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:38:04] local.INFO: GPS data processed {"connection_id":193601,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:38:04] local.INFO: Acknowledgment sent {"connection_id":193601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:38:25] local.INFO: TCP Data received {"connection_id":194908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:25] local.INFO: Processing buffer {"connection_id":194908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:25] local.INFO: IMEI packet received {"connection_id":194908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":194908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:38:31] local.INFO: TCP Data received {"connection_id":194908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:31] local.INFO: Processing buffer {"connection_id":194908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:38:31] local.INFO: IMEI packet received {"connection_id":194908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":194908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:38:31] local.INFO: TCP Data received {"connection_id":193602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:38:31] local.INFO: Processing buffer {"connection_id":193602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:38:31] local.INFO: IMEI packet received {"connection_id":193602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":193602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:38:32] local.INFO: TCP Data received {"connection_id":194908,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:32] local.INFO: Processing buffer {"connection_id":194908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:38:32] local.INFO: Packet analysis {"connection_id":194908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:38:32] local.INFO: Extracted packet for processing {"connection_id":194908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:38: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-25 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":194908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:38:32] local.INFO: GPS data processed {"connection_id":194908,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:38:32] local.INFO: Acknowledgment sent {"connection_id":194908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:39:04] local.INFO: TCP Data received {"connection_id":194908,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:04] local.INFO: Processing buffer {"connection_id":194908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:04] local.INFO: Packet analysis {"connection_id":194908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:39:04] local.INFO: Extracted packet for processing {"connection_id":194908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39: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-25 11:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:39: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-25 11:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:39: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-25 11:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:39: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-25 11:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":194908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:39:04] local.INFO: GPS data processed {"connection_id":194908,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:39:04] local.INFO: Acknowledgment sent {"connection_id":194908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:39:04] local.INFO: TCP Data received {"connection_id":192059,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:39:04] local.INFO: Processing buffer {"connection_id":192059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:39:04] local.INFO: IMEI packet received {"connection_id":192059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":192059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:39:25] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:25] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:25] local.INFO: IMEI packet received {"connection_id":192249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":192249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:39:31] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:31] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:39:31] local.INFO: IMEI packet received {"connection_id":192249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":192249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:39:32] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:32] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:39:32] local.INFO: Packet analysis {"connection_id":192249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:39:32] local.INFO: Extracted packet for processing {"connection_id":192249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:39: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-25 11:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":192249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:39:32] local.INFO: GPS data processed {"connection_id":192249,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:39:32] local.INFO: Acknowledgment sent {"connection_id":192249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:40:04] local.INFO: TCP Data received {"connection_id":192249,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:04] local.INFO: Processing buffer {"connection_id":192249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:04] local.INFO: Packet analysis {"connection_id":192249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:40:04] local.INFO: Extracted packet for processing {"connection_id":192249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:40: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-25 11:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:40: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-25 11:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:40: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-25 11:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:40: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-25 11:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":192249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:40:05] local.INFO: GPS data processed {"connection_id":192249,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:40:05] local.INFO: Acknowledgment sent {"connection_id":192249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:40:25] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:25] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:25] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:40:31] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:31] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:40:31] local.INFO: IMEI packet received {"connection_id":192060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:40:32] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:32] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72aab88012d34c14006aa49080006006e2e..."} 
[2026-09-25 11:40:32] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:40:32] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72a"} 
[2026-09-25 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320893952001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316293000,"timestamp_ms":1790316293000,"timestamp_seconds":1790316293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72aab88"} 
[2026-09-25 11:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 11:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320893952001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320893952001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320893952001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:40:32] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:40:32] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:41:03] local.INFO: TCP Data received {"connection_id":192060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:03] local.INFO: Processing buffer {"connection_id":192060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:03] local.INFO: Packet analysis {"connection_id":192060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:41:03] local.INFO: Extracted packet for processing {"connection_id":192060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41: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-25 11:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:41:03] 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-25 11:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:41: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-25 11:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:41:03] local.INFO: GPS data processed {"connection_id":192060,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:41:03] local.INFO: Acknowledgment sent {"connection_id":192060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:41:26] local.INFO: TCP Data received {"connection_id":194909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:26] local.INFO: Processing buffer {"connection_id":194909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:26] local.INFO: IMEI packet received {"connection_id":194909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":194909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:41:31] local.INFO: TCP Data received {"connection_id":194909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:31] local.INFO: Processing buffer {"connection_id":194909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:41:31] local.INFO: IMEI packet received {"connection_id":194909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":194909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:41:32] local.INFO: TCP Data received {"connection_id":194909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:32] local.INFO: Processing buffer {"connection_id":194909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:41:32] local.INFO: Packet analysis {"connection_id":194909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:41:32] local.INFO: Extracted packet for processing {"connection_id":194909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:41:32] 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-25 11:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":194909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:41:32] local.INFO: GPS data processed {"connection_id":194909,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:41:32] local.INFO: Acknowledgment sent {"connection_id":194909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:42:04] local.INFO: TCP Data received {"connection_id":194909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:04] local.INFO: Processing buffer {"connection_id":194909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:04] local.INFO: Packet analysis {"connection_id":194909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:42:04] local.INFO: Extracted packet for processing {"connection_id":194909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42: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-25 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:42: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-25 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:42:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:42: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-25 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":194909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:42:04] local.INFO: GPS data processed {"connection_id":194909,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:42:04] local.INFO: Acknowledgment sent {"connection_id":194909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:42:25] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:25] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:25] local.INFO: IMEI packet received {"connection_id":192251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":192251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:42:31] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:31] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:42:31] local.INFO: IMEI packet received {"connection_id":192251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":192251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:42:32] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:32] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:42:32] local.INFO: Packet analysis {"connection_id":192251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:42:32] local.INFO: Extracted packet for processing {"connection_id":192251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:42: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-25 11:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:42:32] 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-25 11:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":192251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:42:32] local.INFO: GPS data processed {"connection_id":192251,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:42:32] local.INFO: Acknowledgment sent {"connection_id":192251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:43:04] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:04] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:04] local.INFO: Packet analysis {"connection_id":192251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:43:04] local.INFO: Extracted packet for processing {"connection_id":192251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:43: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-25 11:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:43: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-25 11:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":192251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:43:04] local.INFO: GPS data processed {"connection_id":192251,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:43:04] local.INFO: Acknowledgment sent {"connection_id":192251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:43:25] local.INFO: TCP Data received {"connection_id":194910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:25] local.INFO: Processing buffer {"connection_id":194910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:25] local.INFO: IMEI packet received {"connection_id":194910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":194910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:43:31] local.INFO: TCP Data received {"connection_id":194910,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:31] local.INFO: Processing buffer {"connection_id":194910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:43:31] local.INFO: IMEI packet received {"connection_id":194910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":194910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:43:32] local.INFO: TCP Data received {"connection_id":194910,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:32] local.INFO: Processing buffer {"connection_id":194910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:43:32] local.INFO: Packet analysis {"connection_id":194910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:43:32] local.INFO: Extracted packet for processing {"connection_id":194910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:43: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-25 11:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:43:32] 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-25 11:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":194910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:43:32] local.INFO: GPS data processed {"connection_id":194910,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:43:32] local.INFO: Acknowledgment sent {"connection_id":194910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:44:03] local.INFO: TCP Data received {"connection_id":194910,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:03] local.INFO: Processing buffer {"connection_id":194910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:03] local.INFO: Packet analysis {"connection_id":194910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:44:03] local.INFO: Extracted packet for processing {"connection_id":194910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44: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-25 11:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:44:03] 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-25 11:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:44: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-25 11:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":194910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:44:03] local.INFO: GPS data processed {"connection_id":194910,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:44:03] local.INFO: Acknowledgment sent {"connection_id":194910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:44:20] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:44:20] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:44:20] local.INFO: IMEI packet received {"connection_id":192252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":192252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:44:25] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:25] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:25] local.INFO: IMEI packet received {"connection_id":193604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":193604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:44:31] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:31] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:44:31] local.INFO: IMEI packet received {"connection_id":193604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":193604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:44:32] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:32] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:44:32] local.INFO: Packet analysis {"connection_id":193604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:44:32] local.INFO: Extracted packet for processing {"connection_id":193604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:44: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-25 11:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:44:32] 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-25 11:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":193604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:44:32] local.INFO: GPS data processed {"connection_id":193604,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:44:32] local.INFO: Acknowledgment sent {"connection_id":193604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:45:04] local.INFO: TCP Data received {"connection_id":192253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:45:04] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:45:04] local.INFO: IMEI packet received {"connection_id":192253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":192253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:45:05] local.INFO: TCP Data received {"connection_id":193604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:45:05] local.INFO: Processing buffer {"connection_id":193604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d72f4350012d34c14006aa49080006006e2f..."} 
[2026-09-25 11:45:05] local.INFO: Packet analysis {"connection_id":193604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:45:05] local.INFO: Extracted packet for processing {"connection_id":193604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d72f"} 
[2026-09-25 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320971008001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790316594000,"timestamp_ms":1790316594000,"timestamp_seconds":1790316594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d72f4350"} 
[2026-09-25 11:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11: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-25 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 11:45: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-25 11:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:45: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-25 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320971008001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320971008001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320971008001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":193604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:45:05] local.INFO: GPS data processed {"connection_id":193604,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:45:05] local.INFO: Acknowledgment sent {"connection_id":193604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:45:31] local.INFO: TCP Data received {"connection_id":194911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:31] local.INFO: Processing buffer {"connection_id":194911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:31] local.INFO: IMEI packet received {"connection_id":194911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":194911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:45:35] local.INFO: TCP Data received {"connection_id":194911,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:35] local.INFO: Processing buffer {"connection_id":194911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:45:35] local.INFO: IMEI packet received {"connection_id":194911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":194911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:45:36] local.INFO: TCP Data received {"connection_id":194911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:36] local.INFO: Processing buffer {"connection_id":194911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:36] local.INFO: Packet analysis {"connection_id":194911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:45:36] local.INFO: Extracted packet for processing {"connection_id":194911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:45: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-25 11:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":194911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:45:36] local.INFO: GPS data processed {"connection_id":194911,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:45:36] local.INFO: Acknowledgment sent {"connection_id":194911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:45:37] local.INFO: TCP Data received {"connection_id":194911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:37] local.INFO: Processing buffer {"connection_id":194911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:45:37] local.INFO: Packet analysis {"connection_id":194911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:45:37] local.INFO: Extracted packet for processing {"connection_id":194911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:45: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-25 11:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:45: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-25 11:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":194911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:45:37] local.INFO: GPS data processed {"connection_id":194911,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:45:37] local.INFO: Acknowledgment sent {"connection_id":194911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:46:08] local.INFO: TCP Data received {"connection_id":194911,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:08] local.INFO: Processing buffer {"connection_id":194911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:08] local.INFO: Packet analysis {"connection_id":194911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:46:08] local.INFO: Extracted packet for processing {"connection_id":194911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11: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-25 11:46: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-25 11:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:46: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-25 11: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-25 11: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-25 11:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:46: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-25 11:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":194911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:46:08] local.INFO: GPS data processed {"connection_id":194911,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:46:08] local.INFO: Acknowledgment sent {"connection_id":194911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:46:25] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:25] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:25] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:46:31] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:31] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:46:31] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:46:32] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:32] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:46:32] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:46:32] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:46: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-25 11:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:46:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:46:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:46:32] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:46:32] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:47:04] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:04] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:04] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:47:04] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11: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-25 11:47: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-25 11: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:47: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-25 11: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-25 11: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-25 11:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:47: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-25 11:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:47:04] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:47:04] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:47:25] local.INFO: TCP Data received {"connection_id":194912,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:25] local.INFO: Processing buffer {"connection_id":194912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:25] local.INFO: IMEI packet received {"connection_id":194912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":194912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:47:30] local.INFO: TCP Data received {"connection_id":194912,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:30] local.INFO: Processing buffer {"connection_id":194912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:47:30] local.INFO: IMEI packet received {"connection_id":194912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":194912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:47:32] local.INFO: TCP Data received {"connection_id":194912,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:32] local.INFO: Processing buffer {"connection_id":194912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:47:32] local.INFO: Packet analysis {"connection_id":194912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:47:32] local.INFO: Extracted packet for processing {"connection_id":194912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:47: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-25 11:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:47:32] 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-25 11:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":194912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:47:32] local.INFO: GPS data processed {"connection_id":194912,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:47:32] local.INFO: Acknowledgment sent {"connection_id":194912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:48:03] local.INFO: TCP Data received {"connection_id":194912,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:03] local.INFO: Processing buffer {"connection_id":194912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:03] local.INFO: Packet analysis {"connection_id":194912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:48:03] local.INFO: Extracted packet for processing {"connection_id":194912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48: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-25 11:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:48:03] 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-25 11:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:48: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-25 11:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":194912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:48:03] local.INFO: GPS data processed {"connection_id":194912,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:48:03] local.INFO: Acknowledgment sent {"connection_id":194912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:48:25] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:25] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:25] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:48:31] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:31] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:48:31] local.INFO: IMEI packet received {"connection_id":192066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":192066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:48:32] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:32] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:48:32] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:48:32] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:48:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:48:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:48:32] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:48:32] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:49:03] local.INFO: TCP Data received {"connection_id":192066,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:03] local.INFO: Processing buffer {"connection_id":192066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:03] local.INFO: Packet analysis {"connection_id":192066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:03] local.INFO: Extracted packet for processing {"connection_id":192066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49: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-25 11:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:49: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-25 11:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":192066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:49:03] local.INFO: GPS data processed {"connection_id":192066,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:49:03] local.INFO: Acknowledgment sent {"connection_id":192066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:49:31] local.INFO: TCP Data received {"connection_id":194913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:31] local.INFO: Processing buffer {"connection_id":194913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:31] local.INFO: IMEI packet received {"connection_id":194913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":194913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:49:36] local.INFO: TCP Data received {"connection_id":194913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:36] local.INFO: Processing buffer {"connection_id":194913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:49:36] local.INFO: IMEI packet received {"connection_id":194913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":194913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:49:38] local.INFO: TCP Data received {"connection_id":194913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:38] local.INFO: Processing buffer {"connection_id":194913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:38] local.INFO: Packet analysis {"connection_id":194913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:38] local.INFO: Extracted packet for processing {"connection_id":194913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49: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-25 11:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":194913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:49:38] local.INFO: GPS data processed {"connection_id":194913,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:49:38] local.INFO: Acknowledgment sent {"connection_id":194913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:49:41] local.INFO: TCP Data received {"connection_id":194913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:41] local.INFO: Processing buffer {"connection_id":194913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:49:41] local.INFO: Packet analysis {"connection_id":194913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:41] local.INFO: Extracted packet for processing {"connection_id":194913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:49: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-25 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:49: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-25 11:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":194913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:49:41] local.INFO: GPS data processed {"connection_id":194913,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:49:41] local.INFO: Acknowledgment sent {"connection_id":194913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:50:25] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:25] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:25] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:50:31] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:31] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:50:31] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:50:32] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:50:32] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d733db18012d34c14006aa49080005006e2f..."} 
[2026-09-25 11:50:32] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:50:32] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d733"} 
[2026-09-25 11:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321048064001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790316895000,"timestamp_ms":1790316895000,"timestamp_seconds":1790316895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d733db18"} 
[2026-09-25 11:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:50: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-25 11:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321048064001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321048064001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321048064001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:50:32] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:50:32] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:50:34] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:50:34] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:50:34] local.INFO: IMEI packet received {"connection_id":192256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":192256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:51:04] local.INFO: TCP Data received {"connection_id":192067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:51:04] local.INFO: Processing buffer {"connection_id":192067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:51:04] local.INFO: IMEI packet received {"connection_id":192067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":192067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:51:06] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:06] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:06] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:51:06] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 11:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 11:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 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-25 11:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:51: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-25 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-25 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-25 11:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11: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-25 11:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 11:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:51:06] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:51:06] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:51:25] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:25] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:25] local.INFO: IMEI packet received {"connection_id":193606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":193606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:51:31] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:31] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:51:31] local.INFO: IMEI packet received {"connection_id":193606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":193606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:51:32] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:32] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:51:32] local.INFO: Packet analysis {"connection_id":193606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:51:32] local.INFO: Extracted packet for processing {"connection_id":193606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:51: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-25 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:51:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":193606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:51:32] local.INFO: GPS data processed {"connection_id":193606,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:51:32] local.INFO: Acknowledgment sent {"connection_id":193606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:52:04] local.INFO: TCP Data received {"connection_id":193606,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:04] local.INFO: Processing buffer {"connection_id":193606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:04] local.INFO: Packet analysis {"connection_id":193606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:52:04] local.INFO: Extracted packet for processing {"connection_id":193606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11: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-25 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:52: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-25 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":193606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:52:04] local.INFO: GPS data processed {"connection_id":193606,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:52:04] local.INFO: Acknowledgment sent {"connection_id":193606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:52:25] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:25] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:25] local.INFO: IMEI packet received {"connection_id":193608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":193608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:52:31] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:31] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:52:31] local.INFO: IMEI packet received {"connection_id":193608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":193608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:52:33] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:33] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:52:33] local.INFO: Packet analysis {"connection_id":193608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:52:33] local.INFO: Extracted packet for processing {"connection_id":193608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11: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-25 11:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:52: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-25 11:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:52:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":193608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:52:33] local.INFO: GPS data processed {"connection_id":193608,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:52:33] local.INFO: Acknowledgment sent {"connection_id":193608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:53:04] local.INFO: TCP Data received {"connection_id":193608,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:04] local.INFO: Processing buffer {"connection_id":193608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:04] local.INFO: Packet analysis {"connection_id":193608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:04] local.INFO: Extracted packet for processing {"connection_id":193608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:53: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-25 11:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53: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-25 11:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":193608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:53:04] local.INFO: GPS data processed {"connection_id":193608,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:53:04] local.INFO: Acknowledgment sent {"connection_id":193608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:53:30] local.INFO: TCP Data received {"connection_id":192068,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:30] local.INFO: Processing buffer {"connection_id":192068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:30] local.INFO: IMEI packet received {"connection_id":192068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":192068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:53:36] local.INFO: TCP Data received {"connection_id":192068,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:36] local.INFO: Processing buffer {"connection_id":192068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:53:36] local.INFO: IMEI packet received {"connection_id":192068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":192068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:53:37] local.INFO: TCP Data received {"connection_id":192068,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:37] local.INFO: Processing buffer {"connection_id":192068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:37] local.INFO: Packet analysis {"connection_id":192068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:37] local.INFO: Extracted packet for processing {"connection_id":192068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:53: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-25 11:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":192068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:53:37] local.INFO: GPS data processed {"connection_id":192068,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:53:37] local.INFO: Acknowledgment sent {"connection_id":192068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:53:41] local.INFO: TCP Data received {"connection_id":192068,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:41] local.INFO: Processing buffer {"connection_id":192068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:53:41] local.INFO: Packet analysis {"connection_id":192068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:41] local.INFO: Extracted packet for processing {"connection_id":192068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:53: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-25 11:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":192068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:53:41] local.INFO: GPS data processed {"connection_id":192068,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:53:41] local.INFO: Acknowledgment sent {"connection_id":192068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:54:26] local.INFO: TCP Data received {"connection_id":194915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:26] local.INFO: Processing buffer {"connection_id":194915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:26] local.INFO: IMEI packet received {"connection_id":194915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":194915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:54:30] local.INFO: TCP Data received {"connection_id":194915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:30] local.INFO: Processing buffer {"connection_id":194915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:54:30] local.INFO: IMEI packet received {"connection_id":194915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":194915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:54:31] local.INFO: TCP Data received {"connection_id":194915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:54:31] local.INFO: Processing buffer {"connection_id":194915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:54:31] local.INFO: Packet analysis {"connection_id":194915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:54:31] local.INFO: Extracted packet for processing {"connection_id":194915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:54: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-25 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:54:31] local.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-25 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:54: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-25 11:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":194915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:54:32] local.INFO: GPS data processed {"connection_id":194915,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:54:32] local.INFO: Acknowledgment sent {"connection_id":194915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:55:03] local.INFO: TCP Data received {"connection_id":194915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:03] local.INFO: Processing buffer {"connection_id":194915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:03] local.INFO: Packet analysis {"connection_id":194915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:55:03] local.INFO: Extracted packet for processing {"connection_id":194915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55: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-25 11:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:55:03] local.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-25 11:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 11:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:55: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-25 11:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":194915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:55:03] local.INFO: GPS data processed {"connection_id":194915,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:55:03] local.INFO: Acknowledgment sent {"connection_id":194915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:55:25] local.INFO: TCP Data received {"connection_id":194916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:25] local.INFO: Processing buffer {"connection_id":194916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:25] local.INFO: IMEI packet received {"connection_id":194916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":194916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:55:30] local.INFO: TCP Data received {"connection_id":194916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:30] local.INFO: Processing buffer {"connection_id":194916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:55:30] local.INFO: IMEI packet received {"connection_id":194916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":194916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:55:32] local.INFO: TCP Data received {"connection_id":194916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:32] local.INFO: Processing buffer {"connection_id":194916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73872e0012d34c14006aa49080008006e2e..."} 
[2026-09-25 11:55:32] local.INFO: Packet analysis {"connection_id":194916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:55:32] local.INFO: Extracted packet for processing {"connection_id":194916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d738"} 
[2026-09-25 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321125120001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790317196000,"timestamp_ms":1790317196000,"timestamp_seconds":1790317196,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73872e0"} 
[2026-09-25 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:55: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-25 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 11:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 11:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321125120001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321125120001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321125120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":194916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:55:32] local.INFO: GPS data processed {"connection_id":194916,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:55:32] local.INFO: Acknowledgment sent {"connection_id":194916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:56:03] local.INFO: TCP Data received {"connection_id":194916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:03] local.INFO: Processing buffer {"connection_id":194916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:03] local.INFO: Packet analysis {"connection_id":194916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:56:03] local.INFO: Extracted packet for processing {"connection_id":194916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56: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-25 11:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:56: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-25 11:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":194916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:56:03] local.INFO: GPS data processed {"connection_id":194916,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:56:03] local.INFO: Acknowledgment sent {"connection_id":194916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:56:25] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:25] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:25] local.INFO: IMEI packet received {"connection_id":192071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":192071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:56:31] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:31] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:56:31] local.INFO: IMEI packet received {"connection_id":192071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:56:32] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:32] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:56:32] local.INFO: Packet analysis {"connection_id":192071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:56:32] local.INFO: Extracted packet for processing {"connection_id":192071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:56: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-25 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 11:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":192071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:56:32] local.INFO: GPS data processed {"connection_id":192071,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:56:32] local.INFO: Acknowledgment sent {"connection_id":192071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:56:34] local.INFO: TCP Data received {"connection_id":192070,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:56:34] local.INFO: Processing buffer {"connection_id":192070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:56:34] local.INFO: IMEI packet received {"connection_id":192070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":192070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:57:04] local.INFO: TCP Data received {"connection_id":192071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:04] local.INFO: Processing buffer {"connection_id":192071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:04] local.INFO: Packet analysis {"connection_id":192071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:04] local.INFO: Extracted packet for processing {"connection_id":192071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11: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-25 11:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57: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-25 11:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":192071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:57:04] local.INFO: GPS data processed {"connection_id":192071,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:57:04] local.INFO: Acknowledgment sent {"connection_id":192071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:57:04] local.INFO: TCP Data received {"connection_id":193610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:57:04] local.INFO: Processing buffer {"connection_id":193610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 11:57:04] local.INFO: IMEI packet received {"connection_id":193610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 11:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":193610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:57:30] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:30] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:30] local.INFO: IMEI packet received {"connection_id":192258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":192258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:57:36] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:36] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:57:36] local.INFO: IMEI packet received {"connection_id":192258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":192258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:57:37] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:37] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:37] local.INFO: Packet analysis {"connection_id":192258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:37] local.INFO: Extracted packet for processing {"connection_id":192258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57:37] local.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-25 11:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:57: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-25 11:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":192258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:57:37] local.INFO: GPS data processed {"connection_id":192258,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:57:37] local.INFO: Acknowledgment sent {"connection_id":192258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:57:42] local.INFO: TCP Data received {"connection_id":192258,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:42] local.INFO: Processing buffer {"connection_id":192258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:57:42] local.INFO: Packet analysis {"connection_id":192258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:42] local.INFO: Extracted packet for processing {"connection_id":192258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 11:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:57: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-25 11:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":192258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:57:42] local.INFO: GPS data processed {"connection_id":192258,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:57:42] local.INFO: Acknowledgment sent {"connection_id":192258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:58:25] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:25] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:25] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:58:30] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:30] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:58:30] local.INFO: IMEI packet received {"connection_id":192072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:58:31] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:58:31] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:58:31] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:58:31] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:58: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-25 11:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11: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-25 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:58:31] local.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-25 11:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:58: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-25 11:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:58:31] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:58:31] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:59:03] local.INFO: TCP Data received {"connection_id":192072,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:03] local.INFO: Processing buffer {"connection_id":192072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:03] local.INFO: Packet analysis {"connection_id":192072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:59:03] local.INFO: Extracted packet for processing {"connection_id":192072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 11:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 11:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 11:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 11:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 11:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 11:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:59:03] local.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-25 11:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 11:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11:59: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-25 11:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":192072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:59:03] local.INFO: GPS data processed {"connection_id":192072,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:59:03] local.INFO: Acknowledgment sent {"connection_id":192072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 11:59:26] local.INFO: TCP Data received {"connection_id":194917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:26] local.INFO: Processing buffer {"connection_id":194917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:26] local.INFO: IMEI packet received {"connection_id":194917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":194917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 11:59:31] local.INFO: TCP Data received {"connection_id":194917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:31] local.INFO: Processing buffer {"connection_id":194917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 11:59:31] local.INFO: IMEI packet received {"connection_id":194917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 11:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":194917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 11:59:33] local.INFO: TCP Data received {"connection_id":194917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:33] local.INFO: Processing buffer {"connection_id":194917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 11:59:33] local.INFO: Packet analysis {"connection_id":194917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:59:33] local.INFO: Extracted packet for processing {"connection_id":194917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 11: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-25 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 11: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-25 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 11: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-25 11: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-25 11: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 11:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 11: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-25 11: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-25 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 11:59: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-25 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 11: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-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":194917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 11:59:33] local.INFO: GPS data processed {"connection_id":194917,"processed":1,"errors":0,"total":1} 
[2026-09-25 11:59:33] local.INFO: Acknowledgment sent {"connection_id":194917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:00:04] local.INFO: TCP Data received {"connection_id":194917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:04] local.INFO: Processing buffer {"connection_id":194917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:04] local.INFO: Packet analysis {"connection_id":194917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 12:00:04] local.INFO: Extracted packet for processing {"connection_id":194917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 12:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00: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-25 12:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 12:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:00: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-25 12:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 12:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:00: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-25 12:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:00: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-25 12:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":194917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:00:04] local.INFO: GPS data processed {"connection_id":194917,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:00:04] local.INFO: Acknowledgment sent {"connection_id":194917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:00:26] local.INFO: TCP Data received {"connection_id":194919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:26] local.INFO: Processing buffer {"connection_id":194919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:26] local.INFO: IMEI packet received {"connection_id":194919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":194919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:00:30] local.INFO: TCP Data received {"connection_id":194919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:30] local.INFO: Processing buffer {"connection_id":194919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:00:30] local.INFO: IMEI packet received {"connection_id":194919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":194919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:00:31] local.INFO: TCP Data received {"connection_id":194919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:31] local.INFO: Processing buffer {"connection_id":194919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d73d0aa8012d34c14006aa49080003006e2e..."} 
[2026-09-25 12:00:31] local.INFO: Packet analysis {"connection_id":194919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 12:00:31] local.INFO: Extracted packet for processing {"connection_id":194919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d73d"} 
[2026-09-25 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321202176001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:00: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-25 12:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790317497000,"timestamp_ms":1790317497000,"timestamp_seconds":1790317497,"priority":1,"record_length":96,"hex_timestamp":"000001a0d73d0aa8"} 
[2026-09-25 12: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-25 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 12:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321202176001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321202176001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:00: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-25 12:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321202176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":194919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:00:31] local.INFO: GPS data processed {"connection_id":194919,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:00:31] local.INFO: Acknowledgment sent {"connection_id":194919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:01:03] local.INFO: TCP Data received {"connection_id":194919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:03] local.INFO: Processing buffer {"connection_id":194919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:03] local.INFO: Packet analysis {"connection_id":194919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:03] local.INFO: Extracted packet for processing {"connection_id":194919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01: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-25 12:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:01: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-25 12:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":194919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:01:03] local.INFO: GPS data processed {"connection_id":194919,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:01:03] local.INFO: Acknowledgment sent {"connection_id":194919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:01:31] local.INFO: TCP Data received {"connection_id":194920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:31] local.INFO: Processing buffer {"connection_id":194920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:31] local.INFO: IMEI packet received {"connection_id":194920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":194920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:01:35] local.INFO: TCP Data received {"connection_id":194920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:35] local.INFO: Processing buffer {"connection_id":194920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:01:35] local.INFO: IMEI packet received {"connection_id":194920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":194920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:01:36] local.INFO: TCP Data received {"connection_id":194920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:36] local.INFO: Processing buffer {"connection_id":194920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:36] local.INFO: Packet analysis {"connection_id":194920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:36] local.INFO: Extracted packet for processing {"connection_id":194920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:01: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-25 12:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":194920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:01:36] local.INFO: GPS data processed {"connection_id":194920,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:01:36] local.INFO: Acknowledgment sent {"connection_id":194920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:01:41] local.INFO: TCP Data received {"connection_id":194920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:41] local.INFO: Processing buffer {"connection_id":194920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:01:41] local.INFO: Packet analysis {"connection_id":194920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:41] local.INFO: Extracted packet for processing {"connection_id":194920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12: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-25 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:01: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-25 12:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":194920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:01:41] local.INFO: GPS data processed {"connection_id":194920,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:01:41] local.INFO: Acknowledgment sent {"connection_id":194920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:02:25] local.INFO: TCP Data received {"connection_id":193612,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:25] local.INFO: Processing buffer {"connection_id":193612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:25] local.INFO: IMEI packet received {"connection_id":193612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":193612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:02:29] local.INFO: TCP Data received {"connection_id":192073,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:02:29] local.INFO: Processing buffer {"connection_id":192073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:02:29] local.INFO: IMEI packet received {"connection_id":192073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":192073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:02:30] local.INFO: TCP Data received {"connection_id":193612,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:30] local.INFO: Processing buffer {"connection_id":193612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:02:30] local.INFO: IMEI packet received {"connection_id":193612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":193612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:02:32] local.INFO: TCP Data received {"connection_id":193612,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:02:32] local.INFO: Processing buffer {"connection_id":193612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:02:32] local.INFO: Packet analysis {"connection_id":193612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:02:32] local.INFO: Extracted packet for processing {"connection_id":193612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":193612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:02:32] local.INFO: GPS data processed {"connection_id":193612,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:02:32] local.INFO: Acknowledgment sent {"connection_id":193612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:03:03] local.INFO: TCP Data received {"connection_id":193612,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:03] local.INFO: Processing buffer {"connection_id":193612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:03] local.INFO: Packet analysis {"connection_id":193612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:03:03] local.INFO: Extracted packet for processing {"connection_id":193612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03: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-25 12:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:03: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-25 12:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":193612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:03:03] local.INFO: GPS data processed {"connection_id":193612,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:03:03] local.INFO: Acknowledgment sent {"connection_id":193612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:03:04] local.INFO: TCP Data received {"connection_id":194921,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:03:04] local.INFO: Processing buffer {"connection_id":194921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:03:04] local.INFO: IMEI packet received {"connection_id":194921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":194921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:03:25] local.INFO: TCP Data received {"connection_id":194922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:25] local.INFO: Processing buffer {"connection_id":194922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:25] local.INFO: IMEI packet received {"connection_id":194922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":194922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:03:30] local.INFO: TCP Data received {"connection_id":194922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:30] local.INFO: Processing buffer {"connection_id":194922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:03:30] local.INFO: IMEI packet received {"connection_id":194922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":194922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:03:31] local.INFO: TCP Data received {"connection_id":194922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:31] local.INFO: Processing buffer {"connection_id":194922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:03:31] local.INFO: Packet analysis {"connection_id":194922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:03:31] local.INFO: Extracted packet for processing {"connection_id":194922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:03: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-25 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:03: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-25 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:03: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-25 12:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":194922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:03:31] local.INFO: GPS data processed {"connection_id":194922,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:03:31] local.INFO: Acknowledgment sent {"connection_id":194922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:04:03] local.INFO: TCP Data received {"connection_id":194922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:03] local.INFO: Processing buffer {"connection_id":194922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:03] local.INFO: Packet analysis {"connection_id":194922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:04:03] local.INFO: Extracted packet for processing {"connection_id":194922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04: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-25 12:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:04: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-25 12:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":194922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:04:03] local.INFO: GPS data processed {"connection_id":194922,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:04:03] local.INFO: Acknowledgment sent {"connection_id":194922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:04:26] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:26] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:26] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:04:30] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:30] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:04:30] local.INFO: IMEI packet received {"connection_id":192074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:04:32] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:32] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:04:32] local.INFO: Packet analysis {"connection_id":192074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:04:32] local.INFO: Extracted packet for processing {"connection_id":192074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:04: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-25 12:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":192074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:04:32] local.INFO: GPS data processed {"connection_id":192074,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:04:32] local.INFO: Acknowledgment sent {"connection_id":192074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:05:04] local.INFO: TCP Data received {"connection_id":192074,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:04] local.INFO: Processing buffer {"connection_id":192074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:04] local.INFO: Packet analysis {"connection_id":192074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:05:04] local.INFO: Extracted packet for processing {"connection_id":192074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12: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-25 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12: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-25 12: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-25 12: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-25 12:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:05: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-25 12:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":192074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:05:04] local.INFO: GPS data processed {"connection_id":192074,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:05:04] local.INFO: Acknowledgment sent {"connection_id":192074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:05:25] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:25] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:25] local.INFO: IMEI packet received {"connection_id":192076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":192076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:05:30] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:30] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:05:30] local.INFO: IMEI packet received {"connection_id":192076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":192076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:05:31] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:31] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d741a270012d34c14006aa49080006006e2e..."} 
[2026-09-25 12:05:31] local.INFO: Packet analysis {"connection_id":192076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:05:31] local.INFO: Extracted packet for processing {"connection_id":192076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d741"} 
[2026-09-25 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321279232001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:05: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-25 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790317798000,"timestamp_ms":1790317798000,"timestamp_seconds":1790317798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d741a270"} 
[2026-09-25 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:05: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-25 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321279232001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321279232001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:05: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-25 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321279232001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":192076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:05:31] local.INFO: GPS data processed {"connection_id":192076,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:05:31] local.INFO: Acknowledgment sent {"connection_id":192076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:06:02] local.INFO: TCP Data received {"connection_id":192076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:02] local.INFO: Processing buffer {"connection_id":192076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:02] local.INFO: Packet analysis {"connection_id":192076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:06:02] local.INFO: Extracted packet for processing {"connection_id":192076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:06: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-25 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:06: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-25 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:06: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-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":192076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:06:02] local.INFO: GPS data processed {"connection_id":192076,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:06:02] local.INFO: Acknowledgment sent {"connection_id":192076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:06:25] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:25] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:25] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:06:30] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:30] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:06:30] local.INFO: IMEI packet received {"connection_id":192077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":192077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:06:31] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:31] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:06:31] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:06:31] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12: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-25 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:06:31] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:06:31] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:07:03] local.INFO: TCP Data received {"connection_id":192077,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:03] local.INFO: Processing buffer {"connection_id":192077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:03] local.INFO: Packet analysis {"connection_id":192077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:07:03] local.INFO: Extracted packet for processing {"connection_id":192077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07: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-25 12:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:07: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-25 12:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":192077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:07:03] local.INFO: GPS data processed {"connection_id":192077,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:07:03] local.INFO: Acknowledgment sent {"connection_id":192077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:07:25] local.INFO: TCP Data received {"connection_id":194924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:25] local.INFO: Processing buffer {"connection_id":194924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:25] local.INFO: IMEI packet received {"connection_id":194924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":194924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:07:30] local.INFO: TCP Data received {"connection_id":194924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:30] local.INFO: Processing buffer {"connection_id":194924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:07:30] local.INFO: IMEI packet received {"connection_id":194924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":194924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:07:31] local.INFO: TCP Data received {"connection_id":194924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:31] local.INFO: Processing buffer {"connection_id":194924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:07:31] local.INFO: Packet analysis {"connection_id":194924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:07:31] local.INFO: Extracted packet for processing {"connection_id":194924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:07: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-25 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:07: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-25 12:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":194924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:07:31] local.INFO: GPS data processed {"connection_id":194924,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:07:31] local.INFO: Acknowledgment sent {"connection_id":194924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:08:04] local.INFO: TCP Data received {"connection_id":194924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:04] local.INFO: Processing buffer {"connection_id":194924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:04] local.INFO: Packet analysis {"connection_id":194924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:08:04] local.INFO: Extracted packet for processing {"connection_id":194924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08: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-25 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:08: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-25 12:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:08: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-25 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:08: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-25 12:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":194924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:08:04] local.INFO: GPS data processed {"connection_id":194924,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:08:04] local.INFO: Acknowledgment sent {"connection_id":194924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:08:19] local.INFO: TCP Data received {"connection_id":193615,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:08:19] local.INFO: Processing buffer {"connection_id":193615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:08:19] local.INFO: IMEI packet received {"connection_id":193615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":193615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:08:25] local.INFO: TCP Data received {"connection_id":193616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:25] local.INFO: Processing buffer {"connection_id":193616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:25] local.INFO: IMEI packet received {"connection_id":193616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":193616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:08:31] local.INFO: TCP Data received {"connection_id":193616,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:31] local.INFO: Processing buffer {"connection_id":193616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:08:31] local.INFO: IMEI packet received {"connection_id":193616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":193616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:08:32] local.INFO: TCP Data received {"connection_id":193616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:32] local.INFO: Processing buffer {"connection_id":193616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:08:32] local.INFO: Packet analysis {"connection_id":193616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:08:32] local.INFO: Extracted packet for processing {"connection_id":193616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:08:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:08: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-25 12:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":193616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:08:32] local.INFO: GPS data processed {"connection_id":193616,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:08:32] local.INFO: Acknowledgment sent {"connection_id":193616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:09:04] local.INFO: TCP Data received {"connection_id":193616,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:04] local.INFO: Processing buffer {"connection_id":193616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:04] local.INFO: Packet analysis {"connection_id":193616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:09:04] local.INFO: Extracted packet for processing {"connection_id":193616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09: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-25 12:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:09: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-25 12:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:09: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-25 12:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:09: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-25 12:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":193616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:09:04] local.INFO: GPS data processed {"connection_id":193616,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:09:04] local.INFO: Acknowledgment sent {"connection_id":193616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:09:04] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:04] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:04] local.INFO: IMEI packet received {"connection_id":192078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":192078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:09:09] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:09] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:09] local.INFO: IMEI packet received {"connection_id":192078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":192078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:09:11] local.INFO: TCP Data received {"connection_id":192078,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7207a28012d34290006abbd00000700d730..."} 
[2026-09-25 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7207a28012d34290006abbd00000700d730..."} 
[2026-09-25 12:09:11] local.INFO: Processing buffer {"connection_id":192078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7207a28012d34290006abbd00000700d730..."} 
[2026-09-25 12:09:11] local.INFO: Packet analysis {"connection_id":192078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d720"} 
[2026-09-25 12:09:11] local.INFO: Extracted packet for processing {"connection_id":192078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d720"} 
[2026-09-25 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758393088,"raw_latitude":111918336,"longitude_deg":75.8393088,"latitude_deg":11.1918336,"altitude":7,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d342900","hex_latitude":"06abbd00","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458320722944001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758535392668483584,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790315625000,"timestamp_ms":1790315625000,"timestamp_seconds":1790315625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7207a28"} 
[2026-09-25 12: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-25 12: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-25 12: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 12:09:11] 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-25 12: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-25 12: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-25 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 12:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458320722944001,"66":25756,"64":206,"81":23296,"24":0,"16":3608043111579648,"45":3758535392668483584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,81,24,16,45]} 
[2026-09-25 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458320722944001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:09:11] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 12:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758535392668483584,"description":"Unknown IO ID 45"} 
[2026-09-25 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458320722944001,"power":25756,"unknown_64":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3758535392668483584}} 
[2026-09-25 12:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":192078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:09:11] local.INFO: GPS data processed {"connection_id":192078,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:09:11] local.INFO: Acknowledgment sent {"connection_id":192078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:09:25] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:25] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:25] local.INFO: IMEI packet received {"connection_id":193617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":193617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:09:31] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:31] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:09:31] local.INFO: IMEI packet received {"connection_id":193617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":193617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:09:32] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:32] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:09:32] local.INFO: Packet analysis {"connection_id":193617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:09:32] local.INFO: Extracted packet for processing {"connection_id":193617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:09: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-25 12:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":193617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":894999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:09:32] local.INFO: GPS data processed {"connection_id":193617,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:09:32] local.INFO: Acknowledgment sent {"connection_id":193617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:09:54] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:54] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:09:54] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:10:05] local.INFO: TCP Data received {"connection_id":193617,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:05] local.INFO: Processing buffer {"connection_id":193617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:05] local.INFO: Packet analysis {"connection_id":193617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:10:05] local.INFO: Extracted packet for processing {"connection_id":193617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12: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-25 12:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12: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-25 12:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10: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-25 12:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":193617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:10:05] local.INFO: GPS data processed {"connection_id":193617,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:10:05] local.INFO: Acknowledgment sent {"connection_id":193617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:10:30] local.INFO: TCP Data received {"connection_id":194925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:30] local.INFO: Processing buffer {"connection_id":194925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:30] local.INFO: IMEI packet received {"connection_id":194925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":194925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:10:36] local.INFO: TCP Data received {"connection_id":194925,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:36] local.INFO: Processing buffer {"connection_id":194925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:10:36] local.INFO: IMEI packet received {"connection_id":194925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":194925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:10:37] local.INFO: TCP Data received {"connection_id":194925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:37] local.INFO: Processing buffer {"connection_id":194925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7463a38012d34c14006aa49080007006e30..."} 
[2026-09-25 12:10:37] local.INFO: Packet analysis {"connection_id":194925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:10:37] local.INFO: Extracted packet for processing {"connection_id":194925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d746"} 
[2026-09-25 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321356288001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790318099000,"timestamp_ms":1790318099000,"timestamp_seconds":1790318099,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7463a38"} 
[2026-09-25 12:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10: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-25 12:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321356288001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321356288001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:10: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-25 12:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321356288001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":194925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:10:37] local.INFO: GPS data processed {"connection_id":194925,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:10:37] local.INFO: Acknowledgment sent {"connection_id":194925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:10:40] local.INFO: TCP Data received {"connection_id":194925,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:10:40] local.INFO: Processing buffer {"connection_id":194925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:10:40] local.INFO: Packet analysis {"connection_id":194925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:10:40] local.INFO: Extracted packet for processing {"connection_id":194925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12: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-25 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:10: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-25 12: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-25 12: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-25 12:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:10: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-25 12:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":194925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:10:40] local.INFO: GPS data processed {"connection_id":194925,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:10:40] local.INFO: Acknowledgment sent {"connection_id":194925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:11:26] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:26] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:26] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:11:30] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:30] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:11:30] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:11:32] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:11:32] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:11:32] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:11:32] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:11:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:11:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:11:33] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:11:33] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:12:04] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:04] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:04] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:12:04] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12: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-25 12:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:12: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-25 12:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:12: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-25 12:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:12: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-25 12:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:12:04] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:12:04] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:12:25] local.INFO: TCP Data received {"connection_id":192079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:25] local.INFO: Processing buffer {"connection_id":192079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:25] local.INFO: IMEI packet received {"connection_id":192079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":192079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:12:30] local.INFO: TCP Data received {"connection_id":192079,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:30] local.INFO: Processing buffer {"connection_id":192079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:12:30] local.INFO: IMEI packet received {"connection_id":192079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":192079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:12:31] local.INFO: TCP Data received {"connection_id":192079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:31] local.INFO: Processing buffer {"connection_id":192079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:12:31] local.INFO: Packet analysis {"connection_id":192079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:12:31] local.INFO: Extracted packet for processing {"connection_id":192079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:12: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-25 12:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:12: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-25 12:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:12: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-25 12:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":192079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:12:31] local.INFO: GPS data processed {"connection_id":192079,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:12:31] local.INFO: Acknowledgment sent {"connection_id":192079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:13:04] local.INFO: TCP Data received {"connection_id":192079,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:04] local.INFO: Processing buffer {"connection_id":192079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:04] local.INFO: Packet analysis {"connection_id":192079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:13:04] local.INFO: Extracted packet for processing {"connection_id":192079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12: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-25 12:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:13: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-25 12: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-25 12: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-25 12:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:13: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-25 12:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":192079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:13:04] local.INFO: GPS data processed {"connection_id":192079,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:13:04] local.INFO: Acknowledgment sent {"connection_id":192079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:13:25] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:25] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:25] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:13:30] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:30] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:13:30] local.INFO: IMEI packet received {"connection_id":192080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":192080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:13:31] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:31] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:13:31] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:13:31] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:13: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-25 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:13: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-25 12:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:13: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-25 12:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:13:31] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:13:31] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:14:04] local.INFO: TCP Data received {"connection_id":192080,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:04] local.INFO: Processing buffer {"connection_id":192080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:04] local.INFO: Packet analysis {"connection_id":192080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:14:04] local.INFO: Extracted packet for processing {"connection_id":192080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12: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-25 12: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-25 12: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-25 12: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-25 12: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-25 12: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-25 12:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:14: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-25 12:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":192080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:14:04] local.INFO: GPS data processed {"connection_id":192080,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:14:04] local.INFO: Acknowledgment sent {"connection_id":192080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:14:30] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:30] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:30] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:14:35] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:35] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:14:35] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:14:36] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:36] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:14:36] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:14:36] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12: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-25 12:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:14: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-25 12: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-25 12: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-25 12:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:14:36] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:14:36] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:15:08] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:08] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:08] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:15:08] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 12:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 12:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 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-25 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 12:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 12:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:15:08] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:15:08] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:15:19] local.INFO: TCP Data received {"connection_id":192081,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:15:19] local.INFO: Processing buffer {"connection_id":192081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:15:19] local.INFO: IMEI packet received {"connection_id":192081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":192081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:15:26] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:26] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:26] local.INFO: IMEI packet received {"connection_id":193619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":193619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:15:30] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:30] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:15:30] local.INFO: IMEI packet received {"connection_id":193619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":193619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:15:31] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:31] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74ad200012d34c14006aa49080005006e2d..."} 
[2026-09-25 12:15:31] local.INFO: Packet analysis {"connection_id":193619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:15:31] local.INFO: Extracted packet for processing {"connection_id":193619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74a"} 
[2026-09-25 12:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321433344001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:15: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-25 12:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318400000,"timestamp_ms":1790318400000,"timestamp_seconds":1790318400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74ad200"} 
[2026-09-25 12: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-25 12:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:15: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-25 12: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-25 12: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-25 12:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321433344001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321433344001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:15: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-25 12:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321433344001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":193619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:15:31] local.INFO: GPS data processed {"connection_id":193619,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:15:31] local.INFO: Acknowledgment sent {"connection_id":193619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:16:03] local.INFO: TCP Data received {"connection_id":193619,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:03] local.INFO: Processing buffer {"connection_id":193619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:03] local.INFO: Packet analysis {"connection_id":193619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:16:03] local.INFO: Extracted packet for processing {"connection_id":193619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16: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-25 12:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:16: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-25 12:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":193619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:16:03] local.INFO: GPS data processed {"connection_id":193619,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:16:03] local.INFO: Acknowledgment sent {"connection_id":193619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:16:04] local.INFO: TCP Data received {"connection_id":193620,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:16:04] local.INFO: Processing buffer {"connection_id":193620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:16:04] local.INFO: IMEI packet received {"connection_id":193620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":193620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:16:25] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:25] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:25] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:16:30] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:30] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:16:30] local.INFO: IMEI packet received {"connection_id":192082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:16:31] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:31] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:16:31] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:16:31] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:16: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-25 12:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:16: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-25 12:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:16:31] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:16:31] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:17:03] local.INFO: TCP Data received {"connection_id":192082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:03] local.INFO: Processing buffer {"connection_id":192082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:03] local.INFO: Packet analysis {"connection_id":192082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:17:03] local.INFO: Extracted packet for processing {"connection_id":192082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17: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-25 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:17: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-25 12:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":192082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:17:03] local.INFO: GPS data processed {"connection_id":192082,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:17:03] local.INFO: Acknowledgment sent {"connection_id":192082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:17:25] local.INFO: TCP Data received {"connection_id":193621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:25] local.INFO: Processing buffer {"connection_id":193621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:25] local.INFO: IMEI packet received {"connection_id":193621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":193621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:17:31] local.INFO: TCP Data received {"connection_id":193621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:31] local.INFO: Processing buffer {"connection_id":193621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:17:31] local.INFO: IMEI packet received {"connection_id":193621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":193621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:17:32] local.INFO: TCP Data received {"connection_id":193621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:32] local.INFO: Processing buffer {"connection_id":193621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:17:32] local.INFO: Packet analysis {"connection_id":193621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:17:32] local.INFO: Extracted packet for processing {"connection_id":193621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:17: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-25 12:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:17:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:17:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":193621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:17:32] local.INFO: GPS data processed {"connection_id":193621,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:17:32] local.INFO: Acknowledgment sent {"connection_id":193621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:18:03] local.INFO: TCP Data received {"connection_id":193621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:03] local.INFO: Processing buffer {"connection_id":193621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:03] local.INFO: Packet analysis {"connection_id":193621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:03] local.INFO: Extracted packet for processing {"connection_id":193621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18: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-25 12:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:18: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-25 12:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":193621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:18:03] local.INFO: GPS data processed {"connection_id":193621,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:18:03] local.INFO: Acknowledgment sent {"connection_id":193621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:18:30] local.INFO: TCP Data received {"connection_id":194926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:30] local.INFO: Processing buffer {"connection_id":194926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:30] local.INFO: IMEI packet received {"connection_id":194926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":194926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:18:36] local.INFO: TCP Data received {"connection_id":194926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:36] local.INFO: Processing buffer {"connection_id":194926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:18:36] local.INFO: IMEI packet received {"connection_id":194926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":194926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:18:37] local.INFO: TCP Data received {"connection_id":194926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:37] local.INFO: Processing buffer {"connection_id":194926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:37] local.INFO: Packet analysis {"connection_id":194926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:37] local.INFO: Extracted packet for processing {"connection_id":194926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18: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-25 12:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":194926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:18:37] local.INFO: GPS data processed {"connection_id":194926,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:18:37] local.INFO: Acknowledgment sent {"connection_id":194926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:18:41] local.INFO: TCP Data received {"connection_id":194926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:41] local.INFO: Processing buffer {"connection_id":194926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:18:41] local.INFO: Packet analysis {"connection_id":194926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:41] local.INFO: Extracted packet for processing {"connection_id":194926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:18: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-25 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":194926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:18:41] local.INFO: GPS data processed {"connection_id":194926,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:18:41] local.INFO: Acknowledgment sent {"connection_id":194926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:19:26] local.INFO: TCP Data received {"connection_id":194927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:26] local.INFO: Processing buffer {"connection_id":194927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:26] local.INFO: IMEI packet received {"connection_id":194927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":194927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:19:30] local.INFO: TCP Data received {"connection_id":194927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:30] local.INFO: Processing buffer {"connection_id":194927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:19:30] local.INFO: IMEI packet received {"connection_id":194927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":194927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:19:31] local.INFO: TCP Data received {"connection_id":194927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:19:31] local.INFO: Processing buffer {"connection_id":194927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:19:31] local.INFO: Packet analysis {"connection_id":194927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:19:31] local.INFO: Extracted packet for processing {"connection_id":194927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:19: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-25 12:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:19: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-25 12:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":194927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:19:31] local.INFO: GPS data processed {"connection_id":194927,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:19:31] local.INFO: Acknowledgment sent {"connection_id":194927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:20:02] local.INFO: TCP Data received {"connection_id":194927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:02] local.INFO: Processing buffer {"connection_id":194927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:02] local.INFO: Packet analysis {"connection_id":194927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:20:02] local.INFO: Extracted packet for processing {"connection_id":194927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20: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-25 12:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:20:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:20: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-25 12:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":194927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:20:02] local.INFO: GPS data processed {"connection_id":194927,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:20:02] local.INFO: Acknowledgment sent {"connection_id":194927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:20:27] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:27] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:27] local.INFO: IMEI packet received {"connection_id":192085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":192085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:20:31] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:31] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:20:31] local.INFO: IMEI packet received {"connection_id":192085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":192085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:20:32] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:32] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d74f69c8012d34c14006aa49080004006e2e..."} 
[2026-09-25 12:20:32] local.INFO: Packet analysis {"connection_id":192085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:20:32] local.INFO: Extracted packet for processing {"connection_id":192085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d74f"} 
[2026-09-25 12:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321510400001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790318701000,"timestamp_ms":1790318701000,"timestamp_seconds":1790318701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d74f69c8"} 
[2026-09-25 12:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:20: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-25 12:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 12:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321510400001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321510400001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321510400001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":192085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:20:32] local.INFO: GPS data processed {"connection_id":192085,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:20:32] local.INFO: Acknowledgment sent {"connection_id":192085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:21:06] local.INFO: TCP Data received {"connection_id":192085,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:06] local.INFO: Processing buffer {"connection_id":192085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:06] local.INFO: Packet analysis {"connection_id":192085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:21:06] local.INFO: Extracted packet for processing {"connection_id":192085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 12:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 12:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 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-25 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:21: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-25 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-25 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-25 12:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":192085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:21:06] local.INFO: GPS data processed {"connection_id":192085,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:21:06] local.INFO: Acknowledgment sent {"connection_id":192085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:21:19] local.INFO: TCP Data received {"connection_id":193623,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:21:19] local.INFO: Processing buffer {"connection_id":193623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:21:19] local.INFO: IMEI packet received {"connection_id":193623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":193623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:21:25] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:25] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:25] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:21:30] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:30] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:21:30] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:21:31] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:31] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:21:31] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:21:31] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:21: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-25 12:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:21: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-25 12:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:21: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-25 12:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:21:31] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:21:31] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:22:03] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:03] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:03] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:22:03] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22: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-25 12:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:22: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-25 12:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:22: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-25 12:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:22:03] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:22:03] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:22:09] local.INFO: TCP Data received {"connection_id":193624,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:22:09] local.INFO: Processing buffer {"connection_id":193624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:22:09] local.INFO: IMEI packet received {"connection_id":193624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":193624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:22:25] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:25] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:25] local.INFO: IMEI packet received {"connection_id":193625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":193625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:22:30] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:30] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:22:30] local.INFO: IMEI packet received {"connection_id":193625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":193625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:22:31] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:31] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:22:31] local.INFO: Packet analysis {"connection_id":193625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:22:31] local.INFO: Extracted packet for processing {"connection_id":193625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:22: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-25 12:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:22: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-25 12:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:22: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-25 12:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":193625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:22:31] local.INFO: GPS data processed {"connection_id":193625,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:22:31] local.INFO: Acknowledgment sent {"connection_id":193625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:23:02] local.INFO: TCP Data received {"connection_id":193625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:02] local.INFO: Processing buffer {"connection_id":193625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:02] local.INFO: Packet analysis {"connection_id":193625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:23:02] local.INFO: Extracted packet for processing {"connection_id":193625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:23: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-25 12:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:23: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-25 12:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":193625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:23:02] local.INFO: GPS data processed {"connection_id":193625,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:23:02] local.INFO: Acknowledgment sent {"connection_id":193625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:23:30] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:30] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:30] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:23:35] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:35] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:23:35] local.INFO: IMEI packet received {"connection_id":192086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":192086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:23:36] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:36] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:23:36] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:23:36] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:23:36] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:23:36] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:24:08] local.INFO: TCP Data received {"connection_id":192086,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:08] local.INFO: Processing buffer {"connection_id":192086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:08] local.INFO: Packet analysis {"connection_id":192086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:24:08] local.INFO: Extracted packet for processing {"connection_id":192086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:24: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-25 12:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":192086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:24:08] local.INFO: GPS data processed {"connection_id":192086,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:24:08] local.INFO: Acknowledgment sent {"connection_id":192086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:24:25] local.INFO: TCP Data received {"connection_id":193627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:25] local.INFO: Processing buffer {"connection_id":193627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:25] local.INFO: IMEI packet received {"connection_id":193627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":193627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:24:30] local.INFO: TCP Data received {"connection_id":193627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:30] local.INFO: Processing buffer {"connection_id":193627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:24:30] local.INFO: IMEI packet received {"connection_id":193627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":193627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:24:31] local.INFO: TCP Data received {"connection_id":193627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:31] local.INFO: Processing buffer {"connection_id":193627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:24:31] local.INFO: Packet analysis {"connection_id":193627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:24:31] local.INFO: Extracted packet for processing {"connection_id":193627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:24: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-25 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:24: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-25 12:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:24: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-25 12:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":193627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:24:31] local.INFO: GPS data processed {"connection_id":193627,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:24:31] local.INFO: Acknowledgment sent {"connection_id":193627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:25:03] local.INFO: TCP Data received {"connection_id":193627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:03] local.INFO: Processing buffer {"connection_id":193627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:03] local.INFO: Packet analysis {"connection_id":193627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:25:03] local.INFO: Extracted packet for processing {"connection_id":193627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25: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-25 12:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:25: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-25 12:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:25: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-25 12:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":193627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:25:03] local.INFO: GPS data processed {"connection_id":193627,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:25:03] local.INFO: Acknowledgment sent {"connection_id":193627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:25:25] local.INFO: TCP Data received {"connection_id":194930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:25] local.INFO: Processing buffer {"connection_id":194930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:25] local.INFO: IMEI packet received {"connection_id":194930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":194930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:25:30] local.INFO: TCP Data received {"connection_id":194930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:30] local.INFO: Processing buffer {"connection_id":194930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:25:30] local.INFO: IMEI packet received {"connection_id":194930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":194930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:25:31] local.INFO: TCP Data received {"connection_id":194930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:31] local.INFO: Processing buffer {"connection_id":194930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7540190012d34c14006aa49080009006e2e..."} 
[2026-09-25 12:25:31] local.INFO: Packet analysis {"connection_id":194930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:25:31] local.INFO: Extracted packet for processing {"connection_id":194930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d754"} 
[2026-09-25 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321587456001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:25: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-25 12:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319002000,"timestamp_ms":1790319002000,"timestamp_seconds":1790319002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7540190"} 
[2026-09-25 12: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-25 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:25: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-25 12: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-25 12: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-25 12:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321587456001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321587456001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:25: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-25 12:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321587456001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":194930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:25:31] local.INFO: GPS data processed {"connection_id":194930,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:25:31] local.INFO: Acknowledgment sent {"connection_id":194930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:26:03] local.INFO: TCP Data received {"connection_id":194930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:03] local.INFO: Processing buffer {"connection_id":194930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:03] local.INFO: Packet analysis {"connection_id":194930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:26:03] local.INFO: Extracted packet for processing {"connection_id":194930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26: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-25 12:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12: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-25 12:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:26:03] 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-25 12: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-25 12: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-25 12:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:26: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-25 12:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":194930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:26:03] local.INFO: GPS data processed {"connection_id":194930,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:26:03] local.INFO: Acknowledgment sent {"connection_id":194930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:26:25] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:25] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:25] local.INFO: IMEI packet received {"connection_id":192270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":192270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:26:30] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:30] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:26:30] local.INFO: IMEI packet received {"connection_id":192270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":192270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:26:31] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:31] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:26:31] local.INFO: Packet analysis {"connection_id":192270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:26:31] local.INFO: Extracted packet for processing {"connection_id":192270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:26: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-25 12:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:26:31] 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-25 12:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:26: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-25 12:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":192270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:26:31] local.INFO: GPS data processed {"connection_id":192270,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:26:31] local.INFO: Acknowledgment sent {"connection_id":192270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:27:03] local.INFO: TCP Data received {"connection_id":192270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:03] local.INFO: Processing buffer {"connection_id":192270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:03] local.INFO: Packet analysis {"connection_id":192270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:27:03] local.INFO: Extracted packet for processing {"connection_id":192270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27: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-25 12:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:27:03] 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-25 12:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:27: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-25 12:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":192270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:27:03] local.INFO: GPS data processed {"connection_id":192270,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:27:03] local.INFO: Acknowledgment sent {"connection_id":192270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:27:24] local.INFO: TCP Data received {"connection_id":194931,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:27:24] local.INFO: Processing buffer {"connection_id":194931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:27:24] local.INFO: IMEI packet received {"connection_id":194931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":194931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:27:25] local.INFO: TCP Data received {"connection_id":194932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:25] local.INFO: Processing buffer {"connection_id":194932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:25] local.INFO: IMEI packet received {"connection_id":194932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":194932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:27:31] local.INFO: TCP Data received {"connection_id":194932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:31] local.INFO: Processing buffer {"connection_id":194932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:27:31] local.INFO: IMEI packet received {"connection_id":194932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":194932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:27:31] local.INFO: TCP Data received {"connection_id":194932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:31] local.INFO: Processing buffer {"connection_id":194932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:27:31] local.INFO: Packet analysis {"connection_id":194932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:27:31] local.INFO: Extracted packet for processing {"connection_id":194932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:27: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-25 12:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:27:31] 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-25 12:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:27: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-25 12:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":194932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:27:31] local.INFO: GPS data processed {"connection_id":194932,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:27:31] local.INFO: Acknowledgment sent {"connection_id":194932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:28:02] local.INFO: TCP Data received {"connection_id":194932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:02] local.INFO: Processing buffer {"connection_id":194932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:02] local.INFO: Packet analysis {"connection_id":194932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:28:02] local.INFO: Extracted packet for processing {"connection_id":194932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28: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-25 12:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:28: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-25 12:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":194932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:28:02] local.INFO: GPS data processed {"connection_id":194932,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:28:02] local.INFO: Acknowledgment sent {"connection_id":194932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:28:07] local.INFO: TCP Data received {"connection_id":192088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:28:07] local.INFO: Processing buffer {"connection_id":192088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:28:07] local.INFO: IMEI packet received {"connection_id":192088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":192088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:28:26] local.INFO: TCP Data received {"connection_id":194933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:26] local.INFO: Processing buffer {"connection_id":194933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:26] local.INFO: IMEI packet received {"connection_id":194933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":194933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:28:31] local.INFO: TCP Data received {"connection_id":194933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:31] local.INFO: Processing buffer {"connection_id":194933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:28:31] local.INFO: IMEI packet received {"connection_id":194933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":194933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:28:32] local.INFO: TCP Data received {"connection_id":194933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:32] local.INFO: Processing buffer {"connection_id":194933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:28:32] local.INFO: Packet analysis {"connection_id":194933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:28:32] local.INFO: Extracted packet for processing {"connection_id":194933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:28: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-25 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:28:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:28:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":194933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:28:32] local.INFO: GPS data processed {"connection_id":194933,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:28:32] local.INFO: Acknowledgment sent {"connection_id":194933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:29:04] local.INFO: TCP Data received {"connection_id":194933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:04] local.INFO: Processing buffer {"connection_id":194933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:04] local.INFO: Packet analysis {"connection_id":194933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:29:04] local.INFO: Extracted packet for processing {"connection_id":194933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29: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-25 12:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:29: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-25 12:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:29: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-25 12:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:29: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-25 12:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":194933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:29:04] local.INFO: GPS data processed {"connection_id":194933,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:29:04] local.INFO: Acknowledgment sent {"connection_id":194933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:29:25] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:25] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:25] local.INFO: IMEI packet received {"connection_id":193629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":193629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:29:30] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:30] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:29:30] local.INFO: IMEI packet received {"connection_id":193629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":193629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:29:31] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:31] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:29:31] local.INFO: Packet analysis {"connection_id":193629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:29:31] local.INFO: Extracted packet for processing {"connection_id":193629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:29: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-25 12:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:29:31] 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-25 12:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:29: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-25 12:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":193629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:29:31] local.INFO: GPS data processed {"connection_id":193629,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:29:31] local.INFO: Acknowledgment sent {"connection_id":193629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:30:03] local.INFO: TCP Data received {"connection_id":193629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:03] local.INFO: Processing buffer {"connection_id":193629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:03] local.INFO: Packet analysis {"connection_id":193629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:30:03] local.INFO: Extracted packet for processing {"connection_id":193629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30: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-25 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:30:03] 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-25 12:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:30: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-25 12:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":193629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:30:03] local.INFO: GPS data processed {"connection_id":193629,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:30:03] local.INFO: Acknowledgment sent {"connection_id":193629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:30:25] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:25] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:25] local.INFO: IMEI packet received {"connection_id":192089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":192089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:30:30] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:30] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:30:30] local.INFO: IMEI packet received {"connection_id":192089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:30:31] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:31] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7589958012d34c14006aa49080007006e2e..."} 
[2026-09-25 12:30:31] local.INFO: Packet analysis {"connection_id":192089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:30:31] local.INFO: Extracted packet for processing {"connection_id":192089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d758"} 
[2026-09-25 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321664512001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:30: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-25 12:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319303000,"timestamp_ms":1790319303000,"timestamp_seconds":1790319303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7589958"} 
[2026-09-25 12:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:30:31] 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-25 12:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321664512001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321664512001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:30: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-25 12:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321664512001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":192089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:30:31] local.INFO: GPS data processed {"connection_id":192089,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:30:31] local.INFO: Acknowledgment sent {"connection_id":192089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:31:02] local.INFO: TCP Data received {"connection_id":192089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:02] local.INFO: Processing buffer {"connection_id":192089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:02] local.INFO: Packet analysis {"connection_id":192089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:31:02] local.INFO: Extracted packet for processing {"connection_id":192089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31: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-25 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:31:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:31:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:31: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-25 12:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":192089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:31:02] local.INFO: GPS data processed {"connection_id":192089,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:31:02] local.INFO: Acknowledgment sent {"connection_id":192089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:31:25] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:25] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:25] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:31:30] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:30] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:31:30] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:31:31] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:31] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:31:31] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:31:31] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:31: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-25 12:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:31: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-25 12:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:31:31] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:31:31] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:32:04] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:04] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:04] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:32:04] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32: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-25 12:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:32: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-25 12:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:32: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-25 12:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:32:04] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:32:04] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:32:25] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:25] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:25] local.INFO: IMEI packet received {"connection_id":192274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":192274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:32:30] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:30] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:32:30] local.INFO: IMEI packet received {"connection_id":192274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":192274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:32:31] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:31] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:32:31] local.INFO: Packet analysis {"connection_id":192274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:32:31] local.INFO: Extracted packet for processing {"connection_id":192274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:32: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-25 12:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:32: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-25 12:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":192274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:32:31] local.INFO: GPS data processed {"connection_id":192274,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:32:31] local.INFO: Acknowledgment sent {"connection_id":192274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:33:02] local.INFO: TCP Data received {"connection_id":192274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:02] local.INFO: Processing buffer {"connection_id":192274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:02] local.INFO: Packet analysis {"connection_id":192274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:33:02] local.INFO: Extracted packet for processing {"connection_id":192274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33: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-25 12:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:33: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-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":192274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:33:02] local.INFO: GPS data processed {"connection_id":192274,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:33:02] local.INFO: Acknowledgment sent {"connection_id":192274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:33:25] local.INFO: TCP Data received {"connection_id":194935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:25] local.INFO: Processing buffer {"connection_id":194935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:25] local.INFO: IMEI packet received {"connection_id":194935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":194935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:33:30] local.INFO: TCP Data received {"connection_id":194935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:30] local.INFO: Processing buffer {"connection_id":194935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:33:30] local.INFO: IMEI packet received {"connection_id":194935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":194935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:33:31] local.INFO: TCP Data received {"connection_id":194935,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:31] local.INFO: Processing buffer {"connection_id":194935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:33:31] local.INFO: Packet analysis {"connection_id":194935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:33:31] local.INFO: Extracted packet for processing {"connection_id":194935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:33: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-25 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:33: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-25 12:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":194935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:33:31] local.INFO: GPS data processed {"connection_id":194935,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:33:31] local.INFO: Acknowledgment sent {"connection_id":194935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:33:34] local.INFO: TCP Data received {"connection_id":192090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:33:34] local.INFO: Processing buffer {"connection_id":192090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:33:34] local.INFO: IMEI packet received {"connection_id":192090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":192090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:34:02] local.INFO: TCP Data received {"connection_id":194935,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:02] local.INFO: Processing buffer {"connection_id":194935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:02] local.INFO: Packet analysis {"connection_id":194935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:34:02] local.INFO: Extracted packet for processing {"connection_id":194935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34: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-25 12:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:34: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-25 12:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":194935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:34:02] local.INFO: GPS data processed {"connection_id":194935,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:34:02] local.INFO: Acknowledgment sent {"connection_id":194935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:34:09] local.INFO: TCP Data received {"connection_id":193631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:34:09] local.INFO: Processing buffer {"connection_id":193631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:34:09] local.INFO: IMEI packet received {"connection_id":193631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":193631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:34:25] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:25] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:25] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:34:30] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:30] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:34:30] local.INFO: IMEI packet received {"connection_id":192091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:34:31] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:31] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:34:31] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:34:31] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:34: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-25 12:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12: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-25 12:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:34:31] local.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-25 12:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:34: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-25 12:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:34:31] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:34:31] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:35:03] local.INFO: TCP Data received {"connection_id":192091,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:03] local.INFO: Processing buffer {"connection_id":192091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:03] local.INFO: Packet analysis {"connection_id":192091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:35:03] local.INFO: Extracted packet for processing {"connection_id":192091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35: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-25 12:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:35:03] local.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-25 12:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:35: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-25 12:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":192091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:35:03] local.INFO: GPS data processed {"connection_id":192091,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:35:03] local.INFO: Acknowledgment sent {"connection_id":192091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:35:25] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:25] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:25] local.INFO: IMEI packet received {"connection_id":192276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":192276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:35:30] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:30] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:35:30] local.INFO: IMEI packet received {"connection_id":192276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:35:32] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:32] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d75d3120012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:35:32] local.INFO: Packet analysis {"connection_id":192276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:35:32] local.INFO: Extracted packet for processing {"connection_id":192276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d75d"} 
[2026-09-25 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790319604000,"timestamp_ms":1790319604000,"timestamp_seconds":1790319604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d75d3120"} 
[2026-09-25 12:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:35: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-25 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 12:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:35: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-25 12:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321741568001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321741568001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":192276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:35:32] local.INFO: GPS data processed {"connection_id":192276,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:35:32] local.INFO: Acknowledgment sent {"connection_id":192276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:36:03] local.INFO: TCP Data received {"connection_id":192276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:03] local.INFO: Processing buffer {"connection_id":192276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:03] local.INFO: Packet analysis {"connection_id":192276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:36:03] local.INFO: Extracted packet for processing {"connection_id":192276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36: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-25 12:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:36: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-25 12:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:36: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-25 12:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":192276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:36:03] local.INFO: GPS data processed {"connection_id":192276,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:36:03] local.INFO: Acknowledgment sent {"connection_id":192276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:36:25] local.INFO: TCP Data received {"connection_id":194936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:25] local.INFO: Processing buffer {"connection_id":194936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:25] local.INFO: IMEI packet received {"connection_id":194936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":194936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:36:30] local.INFO: TCP Data received {"connection_id":194936,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:30] local.INFO: Processing buffer {"connection_id":194936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:36:30] local.INFO: IMEI packet received {"connection_id":194936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":194936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:36:31] local.INFO: TCP Data received {"connection_id":194936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:31] local.INFO: Processing buffer {"connection_id":194936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:36:31] local.INFO: Packet analysis {"connection_id":194936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:36:31] local.INFO: Extracted packet for processing {"connection_id":194936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:36: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-25 12:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:36: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-25 12:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:36: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-25 12:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":194936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:36:31] local.INFO: GPS data processed {"connection_id":194936,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:36:31] local.INFO: Acknowledgment sent {"connection_id":194936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:37:03] local.INFO: TCP Data received {"connection_id":194936,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:03] local.INFO: Processing buffer {"connection_id":194936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:03] local.INFO: Packet analysis {"connection_id":194936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:37:03] local.INFO: Extracted packet for processing {"connection_id":194936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37: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-25 12:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:37: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-25 12:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:37: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-25 12:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":194936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:37:03] local.INFO: GPS data processed {"connection_id":194936,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:37:03] local.INFO: Acknowledgment sent {"connection_id":194936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:37:26] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:26] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:26] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:37:30] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:30] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:37:30] local.INFO: IMEI packet received {"connection_id":192094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:37:31] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:31] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:37:31] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:37:31] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:37: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-25 12:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:37: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-25 12:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:37: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-25 12:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:37:31] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:37:31] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:38:04] local.INFO: TCP Data received {"connection_id":192094,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:04] local.INFO: Processing buffer {"connection_id":192094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:04] local.INFO: Packet analysis {"connection_id":192094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:38:04] local.INFO: Extracted packet for processing {"connection_id":192094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38: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-25 12:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:38: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-25 12:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:38: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-25 12:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:38: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-25 12:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":192094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:38:04] local.INFO: GPS data processed {"connection_id":192094,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:38:04] local.INFO: Acknowledgment sent {"connection_id":192094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:38:25] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:25] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:25] local.INFO: IMEI packet received {"connection_id":192278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":192278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:38:30] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:30] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:38:30] local.INFO: IMEI packet received {"connection_id":192278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":192278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:38:31] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:31] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:38:31] local.INFO: Packet analysis {"connection_id":192278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:38:31] local.INFO: Extracted packet for processing {"connection_id":192278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:38: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-25 12:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:38: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-25 12:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:38: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-25 12:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":192278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:38:31] local.INFO: GPS data processed {"connection_id":192278,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:38:31] local.INFO: Acknowledgment sent {"connection_id":192278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:39:03] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:03] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:03] local.INFO: Packet analysis {"connection_id":192278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:39:03] local.INFO: Extracted packet for processing {"connection_id":192278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39: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-25 12:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:39: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-25 12:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:39: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-25 12:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":192278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:39:03] local.INFO: GPS data processed {"connection_id":192278,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:39:03] local.INFO: Acknowledgment sent {"connection_id":192278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:39:25] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:25] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:25] local.INFO: IMEI packet received {"connection_id":193633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":193633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:39:30] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:30] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:39:30] local.INFO: IMEI packet received {"connection_id":193633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":193633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:39:31] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:31] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:39:31] local.INFO: Packet analysis {"connection_id":193633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:39:31] local.INFO: Extracted packet for processing {"connection_id":193633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:39: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-25 12:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:39: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-25 12:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:39: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-25 12:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":193633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:39:31] local.INFO: GPS data processed {"connection_id":193633,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:39:31] local.INFO: Acknowledgment sent {"connection_id":193633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:39:34] local.INFO: TCP Data received {"connection_id":193632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:39:34] local.INFO: Processing buffer {"connection_id":193632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:39:34] local.INFO: IMEI packet received {"connection_id":193632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":193632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:40:03] local.INFO: TCP Data received {"connection_id":193633,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:03] local.INFO: Processing buffer {"connection_id":193633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:03] local.INFO: Packet analysis {"connection_id":193633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:40:03] local.INFO: Extracted packet for processing {"connection_id":193633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40: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-25 12:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:40: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-25 12:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:40: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-25 12:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":193633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:40:03] local.INFO: GPS data processed {"connection_id":193633,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:40:03] local.INFO: Acknowledgment sent {"connection_id":193633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:40:04] local.INFO: TCP Data received {"connection_id":193634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:40:04] local.INFO: Processing buffer {"connection_id":193634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:40:04] local.INFO: IMEI packet received {"connection_id":193634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":193634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:40:25] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:25] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:25] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:40:31] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:31] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:40:31] local.INFO: IMEI packet received {"connection_id":192095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":192095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:40:32] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:32] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d761c8e8012d34c14006aa49080005006e2f..."} 
[2026-09-25 12:40:32] local.INFO: Packet analysis {"connection_id":192095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:40:32] local.INFO: Extracted packet for processing {"connection_id":192095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d761"} 
[2026-09-25 12:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321818624001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790319905000,"timestamp_ms":1790319905000,"timestamp_seconds":1790319905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d761c8e8"} 
[2026-09-25 12:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 12:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:40:32] 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-25 12:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321818624001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321818624001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:40:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:40:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321818624001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":192095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:40:32] local.INFO: GPS data processed {"connection_id":192095,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:40:32] local.INFO: Acknowledgment sent {"connection_id":192095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:41:04] local.INFO: TCP Data received {"connection_id":192095,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:04] local.INFO: Processing buffer {"connection_id":192095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:04] local.INFO: Packet analysis {"connection_id":192095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:41:04] local.INFO: Extracted packet for processing {"connection_id":192095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12: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-25 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:41: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-25 12: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-25 12: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-25 12:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:41: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-25 12:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:41:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:41:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":192095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:41:04] local.INFO: GPS data processed {"connection_id":192095,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:41:04] local.INFO: Acknowledgment sent {"connection_id":192095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:41:25] local.INFO: TCP Data received {"connection_id":194938,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:25] local.INFO: Processing buffer {"connection_id":194938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:25] local.INFO: IMEI packet received {"connection_id":194938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":194938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:41:30] local.INFO: TCP Data received {"connection_id":194938,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:30] local.INFO: Processing buffer {"connection_id":194938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:41:30] local.INFO: IMEI packet received {"connection_id":194938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":194938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:41:31] local.INFO: TCP Data received {"connection_id":194938,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:31] local.INFO: Processing buffer {"connection_id":194938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:41:31] local.INFO: Packet analysis {"connection_id":194938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:41:31] local.INFO: Extracted packet for processing {"connection_id":194938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:41: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-25 12:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:41:31] 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-25 12:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:41:31] local.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-25 12:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:41: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-25 12:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":194938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:41:31] local.INFO: GPS data processed {"connection_id":194938,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:41:31] local.INFO: Acknowledgment sent {"connection_id":194938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:42:03] local.INFO: TCP Data received {"connection_id":194938,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:03] local.INFO: Processing buffer {"connection_id":194938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:03] local.INFO: Packet analysis {"connection_id":194938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:42:03] local.INFO: Extracted packet for processing {"connection_id":194938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42: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-25 12:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:42:03] 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-25 12:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:42: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-25 12:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":194938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:42:03] local.INFO: GPS data processed {"connection_id":194938,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:42:03] local.INFO: Acknowledgment sent {"connection_id":194938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:42:25] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:25] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:25] local.INFO: IMEI packet received {"connection_id":193635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":193635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:42:31] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:31] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:42:31] local.INFO: IMEI packet received {"connection_id":193635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":193635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:42:32] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:32] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:42:32] local.INFO: Packet analysis {"connection_id":193635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:42:32] local.INFO: Extracted packet for processing {"connection_id":193635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:42: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-25 12:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:42:32] local.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-25 12:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:42:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":193635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:42:32] local.INFO: GPS data processed {"connection_id":193635,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:42:32] local.INFO: Acknowledgment sent {"connection_id":193635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:43:04] local.INFO: TCP Data received {"connection_id":193635,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:04] local.INFO: Processing buffer {"connection_id":193635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:04] local.INFO: Packet analysis {"connection_id":193635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:43:04] local.INFO: Extracted packet for processing {"connection_id":193635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:43: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-25 12:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:43: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-25 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:43: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-25 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":193635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:43:04] local.INFO: GPS data processed {"connection_id":193635,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:43:04] local.INFO: Acknowledgment sent {"connection_id":193635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:43:25] local.INFO: TCP Data received {"connection_id":194940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:25] local.INFO: Processing buffer {"connection_id":194940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:25] local.INFO: IMEI packet received {"connection_id":194940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":194940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:43:30] local.INFO: TCP Data received {"connection_id":194940,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:30] local.INFO: Processing buffer {"connection_id":194940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:43:30] local.INFO: IMEI packet received {"connection_id":194940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":194940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:43:31] local.INFO: TCP Data received {"connection_id":194940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:31] local.INFO: Processing buffer {"connection_id":194940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:43:31] local.INFO: Packet analysis {"connection_id":194940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:43:31] local.INFO: Extracted packet for processing {"connection_id":194940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:43: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-25 12:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:43:31] 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-25 12:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:43:31] local.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-25 12:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:43: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-25 12:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":194940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:43:31] local.INFO: GPS data processed {"connection_id":194940,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:43:31] local.INFO: Acknowledgment sent {"connection_id":194940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:44:03] local.INFO: TCP Data received {"connection_id":194940,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:03] local.INFO: Processing buffer {"connection_id":194940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:03] local.INFO: Packet analysis {"connection_id":194940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:44:03] local.INFO: Extracted packet for processing {"connection_id":194940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44: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-25 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:44:03] 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-25 12:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:44:03] local.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-25 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:44: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-25 12:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":194940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:44:03] local.INFO: GPS data processed {"connection_id":194940,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:44:03] local.INFO: Acknowledgment sent {"connection_id":194940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:44:25] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:25] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:25] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:44:30] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:30] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:44:30] local.INFO: IMEI packet received {"connection_id":192096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:44:31] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:31] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:44:31] local.INFO: Packet analysis {"connection_id":192096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:44:31] local.INFO: Extracted packet for processing {"connection_id":192096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:44: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-25 12:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:44:31] 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-25 12:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:44: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-25 12:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":192096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:44:31] local.INFO: GPS data processed {"connection_id":192096,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:44:31] local.INFO: Acknowledgment sent {"connection_id":192096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:45:03] local.INFO: TCP Data received {"connection_id":192096,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:03] local.INFO: Processing buffer {"connection_id":192096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:03] local.INFO: Packet analysis {"connection_id":192096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:45:03] local.INFO: Extracted packet for processing {"connection_id":192096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45: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-25 12:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:45:03] 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-25 12:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:45: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-25 12:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":192096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:45:03] local.INFO: GPS data processed {"connection_id":192096,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:45:03] local.INFO: Acknowledgment sent {"connection_id":192096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:45:24] local.INFO: TCP Data received {"connection_id":193637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:45:24] local.INFO: Processing buffer {"connection_id":193637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:45:24] local.INFO: IMEI packet received {"connection_id":193637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":193637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:45:25] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:25] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:25] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:45:30] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:30] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:45:30] local.INFO: IMEI packet received {"connection_id":192097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":192097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:45:32] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:32] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76660b0012d34c14006aa49080006006e2f..."} 
[2026-09-25 12:45:32] local.INFO: Packet analysis {"connection_id":192097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:45:32] local.INFO: Extracted packet for processing {"connection_id":192097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d766"} 
[2026-09-25 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321895680001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790320206000,"timestamp_ms":1790320206000,"timestamp_seconds":1790320206,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76660b0"} 
[2026-09-25 12:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:45: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-25 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:45:32] local.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-25 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321895680001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321895680001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321895680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":192097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:45:32] local.INFO: GPS data processed {"connection_id":192097,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:45:32] local.INFO: Acknowledgment sent {"connection_id":192097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:46:04] local.INFO: TCP Data received {"connection_id":192097,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:04] local.INFO: Processing buffer {"connection_id":192097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:04] local.INFO: Packet analysis {"connection_id":192097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:46:04] local.INFO: Extracted packet for processing {"connection_id":192097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12: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-25 12: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-25 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:46: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-25 12: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-25 12: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-25 12:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:46: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-25 12:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:46:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":192097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:46:04] local.INFO: GPS data processed {"connection_id":192097,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:46:04] local.INFO: Acknowledgment sent {"connection_id":192097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:46:09] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:46:09] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:46:09] local.INFO: IMEI packet received {"connection_id":192280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":192280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:46:25] local.INFO: TCP Data received {"connection_id":194941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:25] local.INFO: Processing buffer {"connection_id":194941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:25] local.INFO: IMEI packet received {"connection_id":194941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":194941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:46:30] local.INFO: TCP Data received {"connection_id":194941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:30] local.INFO: Processing buffer {"connection_id":194941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:46:30] local.INFO: IMEI packet received {"connection_id":194941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":194941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:46:31] local.INFO: TCP Data received {"connection_id":194941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:31] local.INFO: Processing buffer {"connection_id":194941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:46:31] local.INFO: Packet analysis {"connection_id":194941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:46:31] local.INFO: Extracted packet for processing {"connection_id":194941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:46: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-25 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:46: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-25 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:46: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-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":194941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:46:31] local.INFO: GPS data processed {"connection_id":194941,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:46:31] local.INFO: Acknowledgment sent {"connection_id":194941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:47:03] local.INFO: TCP Data received {"connection_id":194941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:03] local.INFO: Processing buffer {"connection_id":194941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:03] local.INFO: Packet analysis {"connection_id":194941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:47:03] local.INFO: Extracted packet for processing {"connection_id":194941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47: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-25 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:47: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-25 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":194941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:47:03] local.INFO: GPS data processed {"connection_id":194941,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:47:03] local.INFO: Acknowledgment sent {"connection_id":194941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:47:25] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:25] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:25] local.INFO: IMEI packet received {"connection_id":192282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":192282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:47:30] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:30] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:47:30] local.INFO: IMEI packet received {"connection_id":192282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:47:32] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:32] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:47:32] local.INFO: Packet analysis {"connection_id":192282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:47:32] local.INFO: Extracted packet for processing {"connection_id":192282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:47: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-25 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:47:32] local.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-25 12:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":192282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:47:32] local.INFO: GPS data processed {"connection_id":192282,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:47:32] local.INFO: Acknowledgment sent {"connection_id":192282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:48:03] local.INFO: TCP Data received {"connection_id":192282,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:03] local.INFO: Processing buffer {"connection_id":192282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:03] local.INFO: Packet analysis {"connection_id":192282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:48:03] local.INFO: Extracted packet for processing {"connection_id":192282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48: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-25 12:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:48:03] local.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-25 12:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 12:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:48: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-25 12:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":192282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:48:03] local.INFO: GPS data processed {"connection_id":192282,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:48:03] local.INFO: Acknowledgment sent {"connection_id":192282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:48:25] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:25] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:25] local.INFO: IMEI packet received {"connection_id":193638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":193638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:48:30] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:30] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:48:30] local.INFO: IMEI packet received {"connection_id":193638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":193638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:48:31] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:31] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:48:31] local.INFO: Packet analysis {"connection_id":193638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:48:31] local.INFO: Extracted packet for processing {"connection_id":193638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:48: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-25 12:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:48: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-25 12:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":193638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:48:31] local.INFO: GPS data processed {"connection_id":193638,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:48:31] local.INFO: Acknowledgment sent {"connection_id":193638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:49:03] local.INFO: TCP Data received {"connection_id":193638,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:03] local.INFO: Processing buffer {"connection_id":193638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:03] local.INFO: Packet analysis {"connection_id":193638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:03] local.INFO: Extracted packet for processing {"connection_id":193638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49: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-25 12:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:49: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-25 12:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":193638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:49:03] local.INFO: GPS data processed {"connection_id":193638,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:49:03] local.INFO: Acknowledgment sent {"connection_id":193638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:49:30] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:30] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:30] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:49:35] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:35] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:49:35] local.INFO: IMEI packet received {"connection_id":192098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":192098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:49:36] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:36] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:36] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:36] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12: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-25 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:49: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-25 12: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-25 12: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-25 12:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12: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-25 12:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:49:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:49:36] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:49:36] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:49:46] local.INFO: TCP Data received {"connection_id":192098,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:46] local.INFO: Processing buffer {"connection_id":192098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:49:46] local.INFO: Packet analysis {"connection_id":192098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:46] local.INFO: Extracted packet for processing {"connection_id":192098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12: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-25 12:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:49:46] 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-25 12:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:49: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-25 12:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":192098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:49:46] local.INFO: GPS data processed {"connection_id":192098,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:49:46] local.INFO: Acknowledgment sent {"connection_id":192098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:50:25] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:25] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:25] local.INFO: IMEI packet received {"connection_id":193640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":193640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:50:30] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:30] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:50:30] local.INFO: IMEI packet received {"connection_id":193640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:50:31] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:50:31] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76af878012d34c14006aa49080000006e30..."} 
[2026-09-25 12:50:31] local.INFO: Packet analysis {"connection_id":193640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:50:31] local.INFO: Extracted packet for processing {"connection_id":193640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76a"} 
[2026-09-25 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458321972736001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:50: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-25 12:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320507000,"timestamp_ms":1790320507000,"timestamp_seconds":1790320507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76af878"} 
[2026-09-25 12:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458321972736001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458321972736001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:50: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-25 12:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458321972736001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":193640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:50:31] local.INFO: GPS data processed {"connection_id":193640,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:50:31] local.INFO: Acknowledgment sent {"connection_id":193640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:51:02] local.INFO: TCP Data received {"connection_id":193640,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:02] local.INFO: Processing buffer {"connection_id":193640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:02] local.INFO: Packet analysis {"connection_id":193640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:51:02] local.INFO: Extracted packet for processing {"connection_id":193640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51: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-25 12:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:51: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-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":193640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:51:02] local.INFO: GPS data processed {"connection_id":193640,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:51:02] local.INFO: Acknowledgment sent {"connection_id":193640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:51:25] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:25] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:25] local.INFO: IMEI packet received {"connection_id":193641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":193641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:51:30] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:30] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:51:30] local.INFO: IMEI packet received {"connection_id":193641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":193641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:51:31] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:31] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:51:31] local.INFO: Packet analysis {"connection_id":193641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:51:31] local.INFO: Extracted packet for processing {"connection_id":193641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:51: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-25 12:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:51:31] 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-25 12:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:51: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-25 12:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:51: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-25 12:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":193641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:51:31] local.INFO: GPS data processed {"connection_id":193641,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:51:31] local.INFO: Acknowledgment sent {"connection_id":193641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:51:38] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:51:38] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:51:38] local.INFO: IMEI packet received {"connection_id":192283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":192283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:52:03] local.INFO: TCP Data received {"connection_id":193641,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:03] local.INFO: Processing buffer {"connection_id":193641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:03] local.INFO: Packet analysis {"connection_id":193641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:52:03] local.INFO: Extracted packet for processing {"connection_id":193641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52: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-25 12:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:52:03] 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-25 12:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:52: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-25 12:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":193641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:52:03] local.INFO: GPS data processed {"connection_id":193641,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:52:03] local.INFO: Acknowledgment sent {"connection_id":193641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:52:09] local.INFO: TCP Data received {"connection_id":192099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:52:09] local.INFO: Processing buffer {"connection_id":192099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:52:09] local.INFO: IMEI packet received {"connection_id":192099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":192099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:52:25] local.INFO: TCP Data received {"connection_id":194944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:25] local.INFO: Processing buffer {"connection_id":194944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:25] local.INFO: IMEI packet received {"connection_id":194944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":194944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:52:30] local.INFO: TCP Data received {"connection_id":194944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:30] local.INFO: Processing buffer {"connection_id":194944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:52:30] local.INFO: IMEI packet received {"connection_id":194944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":194944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:52:31] local.INFO: TCP Data received {"connection_id":194944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:31] local.INFO: Processing buffer {"connection_id":194944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:52:31] local.INFO: Packet analysis {"connection_id":194944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:52:31] local.INFO: Extracted packet for processing {"connection_id":194944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:52: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-25 12:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:52:31] 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-25 12:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:52: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-25 12:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:52: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-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":194944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:52:31] local.INFO: GPS data processed {"connection_id":194944,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:52:31] local.INFO: Acknowledgment sent {"connection_id":194944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:53:03] local.INFO: TCP Data received {"connection_id":194944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:03] local.INFO: Processing buffer {"connection_id":194944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:03] local.INFO: Packet analysis {"connection_id":194944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:53:03] local.INFO: Extracted packet for processing {"connection_id":194944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53: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-25 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:53:03] 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-25 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:53: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-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":194944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:53:03] local.INFO: GPS data processed {"connection_id":194944,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:53:03] local.INFO: Acknowledgment sent {"connection_id":194944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:53:25] local.INFO: TCP Data received {"connection_id":194945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:25] local.INFO: Processing buffer {"connection_id":194945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:25] local.INFO: IMEI packet received {"connection_id":194945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":194945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:53:30] local.INFO: TCP Data received {"connection_id":194945,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:30] local.INFO: Processing buffer {"connection_id":194945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:53:30] local.INFO: IMEI packet received {"connection_id":194945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":194945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:53:32] local.INFO: TCP Data received {"connection_id":194945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:32] local.INFO: Processing buffer {"connection_id":194945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:53:32] local.INFO: Packet analysis {"connection_id":194945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:53:32] local.INFO: Extracted packet for processing {"connection_id":194945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:53: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-25 12:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":194945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:53:32] local.INFO: GPS data processed {"connection_id":194945,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:53:32] local.INFO: Acknowledgment sent {"connection_id":194945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:54:03] local.INFO: TCP Data received {"connection_id":194945,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:03] local.INFO: Processing buffer {"connection_id":194945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:03] local.INFO: Packet analysis {"connection_id":194945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:03] local.INFO: Extracted packet for processing {"connection_id":194945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54: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-25 12:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:54:03] 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-25 12:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:54: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-25 12:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":194945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:54:03] local.INFO: GPS data processed {"connection_id":194945,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:54:03] local.INFO: Acknowledgment sent {"connection_id":194945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:54:30] local.INFO: TCP Data received {"connection_id":194946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:30] local.INFO: Processing buffer {"connection_id":194946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:30] local.INFO: IMEI packet received {"connection_id":194946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":194946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:54:35] local.INFO: TCP Data received {"connection_id":194946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:35] local.INFO: Processing buffer {"connection_id":194946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:54:35] local.INFO: IMEI packet received {"connection_id":194946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":194946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:54:36] local.INFO: TCP Data received {"connection_id":194946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:36] local.INFO: Processing buffer {"connection_id":194946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:36] local.INFO: Packet analysis {"connection_id":194946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:36] local.INFO: Extracted packet for processing {"connection_id":194946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:54: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-25 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54: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-25 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":194946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:54:36] local.INFO: GPS data processed {"connection_id":194946,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:54:36] local.INFO: Acknowledgment sent {"connection_id":194946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:54:41] local.INFO: TCP Data received {"connection_id":194946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:41] local.INFO: Processing buffer {"connection_id":194946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:54:41] local.INFO: Packet analysis {"connection_id":194946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:41] local.INFO: Extracted packet for processing {"connection_id":194946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12: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-25 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:54: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-25 12: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-25 12: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-25 12:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:54: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-25 12:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":194946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:54:41] local.INFO: GPS data processed {"connection_id":194946,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:54:41] local.INFO: Acknowledgment sent {"connection_id":194946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:55:25] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:25] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:25] local.INFO: IMEI packet received {"connection_id":193644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":193644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:55:30] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:30] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:55:30] local.INFO: IMEI packet received {"connection_id":193644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":193644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:55:31] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:55:31] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d76f9040012d34c14006aa49080006006e30..."} 
[2026-09-25 12:55:31] local.INFO: Packet analysis {"connection_id":193644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:55:31] local.INFO: Extracted packet for processing {"connection_id":193644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d76f"} 
[2026-09-25 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322049792001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:55: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-25 12:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790320808000,"timestamp_ms":1790320808000,"timestamp_seconds":1790320808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d76f9040"} 
[2026-09-25 12: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-25 12:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 12:55:31] 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-25 12: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-25 12: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-25 12:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:55:31] 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-25 12:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322049792001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322049792001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:55: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-25 12:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322049792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":193644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:55:31] local.INFO: GPS data processed {"connection_id":193644,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:55:31] local.INFO: Acknowledgment sent {"connection_id":193644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:56:03] local.INFO: TCP Data received {"connection_id":193644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:03] local.INFO: Processing buffer {"connection_id":193644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:03] local.INFO: Packet analysis {"connection_id":193644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:56:03] local.INFO: Extracted packet for processing {"connection_id":193644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56: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-25 12:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:56:03] 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-25 12:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 12:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:56: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-25 12:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":193644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:56:03] local.INFO: GPS data processed {"connection_id":193644,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:56:03] local.INFO: Acknowledgment sent {"connection_id":193644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:56:25] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:25] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:25] local.INFO: IMEI packet received {"connection_id":193645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":193645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:56:30] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:30] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:56:30] local.INFO: IMEI packet received {"connection_id":193645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":193645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:56:32] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:32] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:56:32] local.INFO: Packet analysis {"connection_id":193645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:56:32] local.INFO: Extracted packet for processing {"connection_id":193645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:56: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-25 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 12:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":193645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:56:32] local.INFO: GPS data processed {"connection_id":193645,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:56:32] local.INFO: Acknowledgment sent {"connection_id":193645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:57:04] local.INFO: TCP Data received {"connection_id":193645,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:04] local.INFO: Processing buffer {"connection_id":193645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:04] local.INFO: Packet analysis {"connection_id":193645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:57:04] local.INFO: Extracted packet for processing {"connection_id":193645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12: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-25 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12: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-25 12: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-25 12: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-25 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:57: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-25 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:57:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:57:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":193645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:57:04] local.INFO: GPS data processed {"connection_id":193645,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:57:04] local.INFO: Acknowledgment sent {"connection_id":193645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:57:30] local.INFO: TCP Data received {"connection_id":194948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:30] local.INFO: Processing buffer {"connection_id":194948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:30] local.INFO: IMEI packet received {"connection_id":194948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":194948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:57:35] local.INFO: TCP Data received {"connection_id":194948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:35] local.INFO: Processing buffer {"connection_id":194948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:57:35] local.INFO: IMEI packet received {"connection_id":194948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":194948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:57:36] local.INFO: TCP Data received {"connection_id":194948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:36] local.INFO: Processing buffer {"connection_id":194948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:57:36] local.INFO: Packet analysis {"connection_id":194948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:57:36] local.INFO: Extracted packet for processing {"connection_id":194948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12: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-25 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:57: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-25 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":194948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:57:36] local.INFO: GPS data processed {"connection_id":194948,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:57:36] local.INFO: Acknowledgment sent {"connection_id":194948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:57:39] local.INFO: TCP Data received {"connection_id":194947,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:57:39] local.INFO: Processing buffer {"connection_id":194947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:57:39] local.INFO: IMEI packet received {"connection_id":194947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":194947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:58:04] local.INFO: TCP Data received {"connection_id":193646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:58:04] local.INFO: Processing buffer {"connection_id":193646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 12:58:04] local.INFO: IMEI packet received {"connection_id":193646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":193646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:58:08] local.INFO: TCP Data received {"connection_id":194948,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:08] local.INFO: Processing buffer {"connection_id":194948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:08] local.INFO: Packet analysis {"connection_id":194948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:58:08] local.INFO: Extracted packet for processing {"connection_id":194948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12: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-25 12:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12: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-25 12: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-25 12:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:58: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-25 12:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":194948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:58:08] local.INFO: GPS data processed {"connection_id":194948,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:58:08] local.INFO: Acknowledgment sent {"connection_id":194948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:58:25] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:25] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:25] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:58:30] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:30] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:58:30] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:58:31] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:31] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:58:31] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:58:31] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:58: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-25 12:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:58: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-25 12:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:58:31] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:58:31] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:59:05] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:05] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:05] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:59:05] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12: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-25 12:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12: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-25 12:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12: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-25 12: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-25 12: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-25 12: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-25 12: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-25 12: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-25 12:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:59: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-25 12:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12: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-25 12:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:59:05] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:59:05] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 12:59:25] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:25] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:25] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 12:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 12:59:30] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:30] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 12:59:30] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 12:59:31] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:31] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 12:59:31] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:59:31] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 12:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 12:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 12:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 12:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 12:59: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-25 12:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 12:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 12:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 12:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 12:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 12:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 12:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 12:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 12:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 12:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 12:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 12:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 12:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 12:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 12:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 12:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 12:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 12:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 12:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 12:59: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-25 12:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 12:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 12:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 12:59:31] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-25 12:59:31] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:00:05] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:05] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:05] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 13:00:05] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13: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-25 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:00: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-25 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:00:05] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:00:05] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:00:25] local.INFO: TCP Data received {"connection_id":194951,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:25] local.INFO: Processing buffer {"connection_id":194951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:25] local.INFO: IMEI packet received {"connection_id":194951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":194951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:00:30] local.INFO: TCP Data received {"connection_id":194951,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:30] local.INFO: Processing buffer {"connection_id":194951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:00:30] local.INFO: IMEI packet received {"connection_id":194951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":194951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:00:32] local.INFO: TCP Data received {"connection_id":194951,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:32] local.INFO: Processing buffer {"connection_id":194951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7742808012d34c14006aa49080002006e31..."} 
[2026-09-25 13:00:32] local.INFO: Packet analysis {"connection_id":194951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 13:00:32] local.INFO: Extracted packet for processing {"connection_id":194951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d774"} 
[2026-09-25 13:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322126848001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790321109000,"timestamp_ms":1790321109000,"timestamp_seconds":1790321109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7742808"} 
[2026-09-25 13:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:00: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-25 13:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322126848001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322126848001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:00:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:00:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322126848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":194951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:00:32] local.INFO: GPS data processed {"connection_id":194951,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:00:32] local.INFO: Acknowledgment sent {"connection_id":194951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:01:03] local.INFO: TCP Data received {"connection_id":194951,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:03] local.INFO: Processing buffer {"connection_id":194951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:03] local.INFO: Packet analysis {"connection_id":194951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:01:03] local.INFO: Extracted packet for processing {"connection_id":194951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01: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-25 13:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:01:03] 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-25 13:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:01: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-25 13:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":194951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:01:03] local.INFO: GPS data processed {"connection_id":194951,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:01:03] local.INFO: Acknowledgment sent {"connection_id":194951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:01:25] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:25] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:25] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:01:30] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:30] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:01:30] local.INFO: IMEI packet received {"connection_id":192102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:01:31] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:31] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:01:31] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:01:31] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:01: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-25 13:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13: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-25 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:01:31] 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-25 13: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-25 13: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-25 13:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:01: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-25 13:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:01:31] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:01:31] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:02:03] local.INFO: TCP Data received {"connection_id":192102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:03] local.INFO: Processing buffer {"connection_id":192102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:03] local.INFO: Packet analysis {"connection_id":192102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:02:03] local.INFO: Extracted packet for processing {"connection_id":192102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02: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-25 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:02:03] 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-25 13:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:02: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-25 13:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":192102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:02:03] local.INFO: GPS data processed {"connection_id":192102,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:02:03] local.INFO: Acknowledgment sent {"connection_id":192102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:02:25] local.INFO: TCP Data received {"connection_id":194952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:25] local.INFO: Processing buffer {"connection_id":194952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:25] local.INFO: IMEI packet received {"connection_id":194952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":194952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:02:30] local.INFO: TCP Data received {"connection_id":194952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:30] local.INFO: Processing buffer {"connection_id":194952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:02:30] local.INFO: IMEI packet received {"connection_id":194952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":194952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:02:31] local.INFO: TCP Data received {"connection_id":194952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:31] local.INFO: Processing buffer {"connection_id":194952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:02:31] local.INFO: Packet analysis {"connection_id":194952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:02:31] local.INFO: Extracted packet for processing {"connection_id":194952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:02: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-25 13:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:02:31] 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-25 13:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:02: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-25 13:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":194952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:02:31] local.INFO: GPS data processed {"connection_id":194952,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:02:31] local.INFO: Acknowledgment sent {"connection_id":194952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:03:03] local.INFO: TCP Data received {"connection_id":194952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:03] local.INFO: Processing buffer {"connection_id":194952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:03] local.INFO: Packet analysis {"connection_id":194952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:03:03] local.INFO: Extracted packet for processing {"connection_id":194952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03: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-25 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:03:03] 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-25 13:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:03: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-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":194952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:03:03] local.INFO: GPS data processed {"connection_id":194952,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:03:03] local.INFO: Acknowledgment sent {"connection_id":194952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:03:25] local.INFO: TCP Data received {"connection_id":194953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:25] local.INFO: Processing buffer {"connection_id":194953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:25] local.INFO: IMEI packet received {"connection_id":194953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":194953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:03:30] local.INFO: TCP Data received {"connection_id":194953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:30] local.INFO: Processing buffer {"connection_id":194953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:03:30] local.INFO: IMEI packet received {"connection_id":194953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":194953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:03:31] local.INFO: TCP Data received {"connection_id":194953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:31] local.INFO: Processing buffer {"connection_id":194953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:03:31] local.INFO: Packet analysis {"connection_id":194953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:03:31] local.INFO: Extracted packet for processing {"connection_id":194953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:03: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-25 13:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:03:31] 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-25 13:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:03: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-25 13:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":194953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:03:31] local.INFO: GPS data processed {"connection_id":194953,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:03:31] local.INFO: Acknowledgment sent {"connection_id":194953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:03:34] local.INFO: TCP Data received {"connection_id":192103,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:03:34] local.INFO: Processing buffer {"connection_id":192103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:03:34] local.INFO: IMEI packet received {"connection_id":192103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":192103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:04:02] local.INFO: TCP Data received {"connection_id":194953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:02] local.INFO: Processing buffer {"connection_id":194953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:02] local.INFO: Packet analysis {"connection_id":194953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:04:02] local.INFO: Extracted packet for processing {"connection_id":194953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04: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-25 13:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13: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-25 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13: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-25 13: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-25 13:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:04: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-25 13:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":194953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:04:02] local.INFO: GPS data processed {"connection_id":194953,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:04:02] local.INFO: Acknowledgment sent {"connection_id":194953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:04:05] local.INFO: TCP Data received {"connection_id":193647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:04:05] local.INFO: Processing buffer {"connection_id":193647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:04:05] local.INFO: IMEI packet received {"connection_id":193647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":193647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:04:25] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:25] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:25] local.INFO: IMEI packet received {"connection_id":193648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":193648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:04:30] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:30] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:04:30] local.INFO: IMEI packet received {"connection_id":193648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":193648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:04:31] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:31] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:04:31] local.INFO: Packet analysis {"connection_id":193648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:04:31] local.INFO: Extracted packet for processing {"connection_id":193648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:04: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-25 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:04:31] 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-25 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:04: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-25 13:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":193648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:04:31] local.INFO: GPS data processed {"connection_id":193648,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:04:31] local.INFO: Acknowledgment sent {"connection_id":193648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:05:03] local.INFO: TCP Data received {"connection_id":193648,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:03] local.INFO: Processing buffer {"connection_id":193648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:03] local.INFO: Packet analysis {"connection_id":193648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:05:03] local.INFO: Extracted packet for processing {"connection_id":193648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05: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-25 13:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:05:03] 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-25 13:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:05: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-25 13:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":193648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:05:03] local.INFO: GPS data processed {"connection_id":193648,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:05:03] local.INFO: Acknowledgment sent {"connection_id":193648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:05:25] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:25] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:25] local.INFO: IMEI packet received {"connection_id":193649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":193649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:05:30] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:30] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:05:30] local.INFO: IMEI packet received {"connection_id":193649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":193649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:05:31] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:31] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d778bfd0012d34c14006aa49080000006e2f..."} 
[2026-09-25 13:05:31] local.INFO: Packet analysis {"connection_id":193649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:05:31] local.INFO: Extracted packet for processing {"connection_id":193649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d778"} 
[2026-09-25 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322203904001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:05: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-25 13:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321410000,"timestamp_ms":1790321410000,"timestamp_seconds":1790321410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d778bfd0"} 
[2026-09-25 13: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-25 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:05:31] 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-25 13: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-25 13: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-25 13:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:05:31] local.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-25 13:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322203904001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322203904001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:05: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-25 13:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322203904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":193649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:05:31] local.INFO: GPS data processed {"connection_id":193649,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:05:31] local.INFO: Acknowledgment sent {"connection_id":193649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:06:03] local.INFO: TCP Data received {"connection_id":193649,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:03] local.INFO: Processing buffer {"connection_id":193649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:03] local.INFO: Packet analysis {"connection_id":193649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:03] local.INFO: Extracted packet for processing {"connection_id":193649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06: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-25 13:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:06:03] 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-25 13:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:06:03] local.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-25 13:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:06: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-25 13:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":193649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:06:03] local.INFO: GPS data processed {"connection_id":193649,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:06:03] local.INFO: Acknowledgment sent {"connection_id":193649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:06:26] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:26] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:26] local.INFO: IMEI packet received {"connection_id":192289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":192289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:06:31] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:31] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:06:31] local.INFO: IMEI packet received {"connection_id":192289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":192289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:06:31] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:31] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:31] local.INFO: Packet analysis {"connection_id":192289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:31] local.INFO: Extracted packet for processing {"connection_id":192289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13: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-25 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:06:31] 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-25 13: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-25 13: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-25 13:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":192289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:06:31] local.INFO: GPS data processed {"connection_id":192289,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:06:31] local.INFO: Acknowledgment sent {"connection_id":192289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:06:36] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:36] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:06:36] local.INFO: Packet analysis {"connection_id":192289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:36] local.INFO: Extracted packet for processing {"connection_id":192289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:06: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-25 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13: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-25 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":192289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:06:36] local.INFO: GPS data processed {"connection_id":192289,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:06:36] local.INFO: Acknowledgment sent {"connection_id":192289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:07:08] local.INFO: TCP Data received {"connection_id":192289,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:08] local.INFO: Processing buffer {"connection_id":192289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:08] local.INFO: Packet analysis {"connection_id":192289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:07:08] local.INFO: Extracted packet for processing {"connection_id":192289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:07: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-25 13:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13: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-25 13:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":192289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:07:08] local.INFO: GPS data processed {"connection_id":192289,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:07:08] local.INFO: Acknowledgment sent {"connection_id":192289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:07:25] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:25] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:25] local.INFO: IMEI packet received {"connection_id":193650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":193650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:07:30] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:30] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:07:30] local.INFO: IMEI packet received {"connection_id":193650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:07:31] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:31] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:07:31] local.INFO: Packet analysis {"connection_id":193650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:07:31] local.INFO: Extracted packet for processing {"connection_id":193650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:07: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-25 13:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:07:31] 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-25 13:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:07: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-25 13:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":193650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:07:31] local.INFO: GPS data processed {"connection_id":193650,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:07:31] local.INFO: Acknowledgment sent {"connection_id":193650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:08:03] local.INFO: TCP Data received {"connection_id":193650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:08:03] local.INFO: Processing buffer {"connection_id":193650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:08:03] local.INFO: Packet analysis {"connection_id":193650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:08:03] local.INFO: Extracted packet for processing {"connection_id":193650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:08: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-25 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:08:03] 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-25 13:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:08: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-25 13:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":193650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:08:03] local.INFO: GPS data processed {"connection_id":193650,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:08:03] local.INFO: Acknowledgment sent {"connection_id":193650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:08:55] local.INFO: TCP Data received {"connection_id":194956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:08:55] local.INFO: Processing buffer {"connection_id":194956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:08:55] local.INFO: IMEI packet received {"connection_id":194956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":194956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:09:00] local.INFO: TCP Data received {"connection_id":194956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:00] local.INFO: Processing buffer {"connection_id":194956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:00] local.INFO: IMEI packet received {"connection_id":194956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":194956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:09:02] local.INFO: TCP Data received {"connection_id":194956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:02] local.INFO: Processing buffer {"connection_id":194956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:02] local.INFO: Packet analysis {"connection_id":194956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:09:02] local.INFO: Extracted packet for processing {"connection_id":194956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09: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-25 13:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:09:02] 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-25 13:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:09: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-25 13:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":194956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:09:02] local.INFO: GPS data processed {"connection_id":194956,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:09:02] local.INFO: Acknowledgment sent {"connection_id":194956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:09:24] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:09:24] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:09:24] local.INFO: IMEI packet received {"connection_id":192292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":192292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:09:25] local.INFO: TCP Data received {"connection_id":194957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:25] local.INFO: Processing buffer {"connection_id":194957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:25] local.INFO: IMEI packet received {"connection_id":194957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":194957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:09:30] local.INFO: TCP Data received {"connection_id":194957,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:30] local.INFO: Processing buffer {"connection_id":194957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:09:30] local.INFO: IMEI packet received {"connection_id":194957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":194957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:09:32] local.INFO: TCP Data received {"connection_id":194957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:32] local.INFO: Processing buffer {"connection_id":194957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:09:32] local.INFO: Packet analysis {"connection_id":194957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:09:32] local.INFO: Extracted packet for processing {"connection_id":194957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:09: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-25 13:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":194957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:09:32] local.INFO: GPS data processed {"connection_id":194957,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:09:32] local.INFO: Acknowledgment sent {"connection_id":194957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:10:03] local.INFO: TCP Data received {"connection_id":194957,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:03] local.INFO: Processing buffer {"connection_id":194957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:03] local.INFO: Packet analysis {"connection_id":194957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:10:03] local.INFO: Extracted packet for processing {"connection_id":194957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10: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-25 13:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:10:03] 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-25 13:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:10: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-25 13:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":194957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:10:03] local.INFO: GPS data processed {"connection_id":194957,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:10:03] local.INFO: Acknowledgment sent {"connection_id":194957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:10:04] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:04] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:04] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:10:09] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:09] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:10:09] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 13:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:10:10] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77735480100000000000000000000000000..."} 
[2026-09-25 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77735480100000000000000000000000000..."} 
[2026-09-25 13:10:10] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77735480100000000000000000000000000..."} 
[2026-09-25 13:10:10] local.INFO: Packet analysis {"connection_id":192293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d777"} 
[2026-09-25 13:10:10] local.INFO: Extracted packet for processing {"connection_id":192293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d777"} 
[2026-09-25 13:10:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322240000001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822711687336257536,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10: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-25 13:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790321309000,"timestamp_ms":1790321309000,"timestamp_seconds":1790321309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7773548"} 
[2026-09-25 13:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:10: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-25 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:10:10] 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-25 13:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 13:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 13:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 13:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 13:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":192293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 13:10:10] local.INFO: GPS data processed {"connection_id":192293,"processed":0,"errors":0,"total":1} 
[2026-09-25 13:10:10] local.INFO: Acknowledgment sent {"connection_id":192293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:10:25] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:25] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:25] local.INFO: IMEI packet received {"connection_id":193651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":193651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:10:30] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:30] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:10:30] local.INFO: IMEI packet received {"connection_id":193651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":193651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:10:31] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:31] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d77d5798012d34c14006aa49080004006e30..."} 
[2026-09-25 13:10:31] local.INFO: Packet analysis {"connection_id":193651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:10:31] local.INFO: Extracted packet for processing {"connection_id":193651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d77d"} 
[2026-09-25 13:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322280960001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:10: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-25 13:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790321711000,"timestamp_ms":1790321711000,"timestamp_seconds":1790321711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d77d5798"} 
[2026-09-25 13:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:10:31] 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-25 13:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322280960001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322280960001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:10: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-25 13:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322280960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":193651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:10:31] local.INFO: GPS data processed {"connection_id":193651,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:10:31] local.INFO: Acknowledgment sent {"connection_id":193651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:11:03] local.INFO: TCP Data received {"connection_id":193651,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:03] local.INFO: Processing buffer {"connection_id":193651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:03] local.INFO: Packet analysis {"connection_id":193651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:11:03] local.INFO: Extracted packet for processing {"connection_id":193651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11: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-25 13:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:11: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-25 13:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:11: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-25 13:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":193651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:11:03] local.INFO: GPS data processed {"connection_id":193651,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:11:03] local.INFO: Acknowledgment sent {"connection_id":193651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:11:19] local.INFO: TCP Data received {"connection_id":192104,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:11:19] local.INFO: Processing buffer {"connection_id":192104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:11:19] local.INFO: IMEI packet received {"connection_id":192104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":192104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:11:25] local.INFO: TCP Data received {"connection_id":193652,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:25] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:25] local.INFO: IMEI packet received {"connection_id":193652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":193652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:11:30] local.INFO: TCP Data received {"connection_id":193652,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:30] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:11:30] local.INFO: IMEI packet received {"connection_id":193652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:11:31] local.INFO: TCP Data received {"connection_id":193652,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:31] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:11:31] local.INFO: Packet analysis {"connection_id":193652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:11:31] local.INFO: Extracted packet for processing {"connection_id":193652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:11: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-25 13:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:11: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-25 13:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:11: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-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":193652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:11:31] local.INFO: GPS data processed {"connection_id":193652,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:11:31] local.INFO: Acknowledgment sent {"connection_id":193652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:12:02] local.INFO: TCP Data received {"connection_id":193652,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:02] local.INFO: Processing buffer {"connection_id":193652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:02] local.INFO: Packet analysis {"connection_id":193652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:12:02] local.INFO: Extracted packet for processing {"connection_id":193652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:12: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-25 13:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:12: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-25 13:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":193652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:12:02] local.INFO: GPS data processed {"connection_id":193652,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:12:02] local.INFO: Acknowledgment sent {"connection_id":193652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:12:25] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:25] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:25] local.INFO: IMEI packet received {"connection_id":192294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":192294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:12:31] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:31] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:12:31] local.INFO: IMEI packet received {"connection_id":192294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":192294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:12:33] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:33] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:12:33] local.INFO: Packet analysis {"connection_id":192294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:12:33] local.INFO: Extracted packet for processing {"connection_id":192294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:12:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13: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-25 13: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-25 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:12: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-25 13: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-25 13: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-25 13:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:12:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":192294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:12:33] local.INFO: GPS data processed {"connection_id":192294,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:12:33] local.INFO: Acknowledgment sent {"connection_id":192294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:13:05] local.INFO: TCP Data received {"connection_id":192294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:05] local.INFO: Processing buffer {"connection_id":192294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:05] local.INFO: Packet analysis {"connection_id":192294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:13:05] local.INFO: Extracted packet for processing {"connection_id":192294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":192294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:13:05] local.INFO: GPS data processed {"connection_id":192294,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:13:05] local.INFO: Acknowledgment sent {"connection_id":192294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:13:25] local.INFO: TCP Data received {"connection_id":194960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:25] local.INFO: Processing buffer {"connection_id":194960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:25] local.INFO: IMEI packet received {"connection_id":194960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":194960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:13:30] local.INFO: TCP Data received {"connection_id":194960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:30] local.INFO: Processing buffer {"connection_id":194960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:13:30] local.INFO: IMEI packet received {"connection_id":194960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":194960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:13:31] local.INFO: TCP Data received {"connection_id":194960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:31] local.INFO: Processing buffer {"connection_id":194960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:13:31] local.INFO: Packet analysis {"connection_id":194960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:13:31] local.INFO: Extracted packet for processing {"connection_id":194960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:13: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-25 13:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:13: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-25 13:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:13: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-25 13:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":194960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:13:31] local.INFO: GPS data processed {"connection_id":194960,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:13:31] local.INFO: Acknowledgment sent {"connection_id":194960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:14:02] local.INFO: TCP Data received {"connection_id":194960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:02] local.INFO: Processing buffer {"connection_id":194960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:02] local.INFO: Packet analysis {"connection_id":194960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:14:02] local.INFO: Extracted packet for processing {"connection_id":194960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14: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-25 13:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:14: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-25 13:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":194960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:14:02] local.INFO: GPS data processed {"connection_id":194960,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:14:02] local.INFO: Acknowledgment sent {"connection_id":194960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:14:25] local.INFO: TCP Data received {"connection_id":194962,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:25] local.INFO: Processing buffer {"connection_id":194962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:25] local.INFO: IMEI packet received {"connection_id":194962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":194962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:14:30] local.INFO: TCP Data received {"connection_id":194962,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:30] local.INFO: Processing buffer {"connection_id":194962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:14:30] local.INFO: IMEI packet received {"connection_id":194962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":194962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:14:32] local.INFO: TCP Data received {"connection_id":194962,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:32] local.INFO: Processing buffer {"connection_id":194962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:14:32] local.INFO: Packet analysis {"connection_id":194962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:14:32] local.INFO: Extracted packet for processing {"connection_id":194962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:14: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-25 13:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":194962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:14:32] local.INFO: GPS data processed {"connection_id":194962,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:14:32] local.INFO: Acknowledgment sent {"connection_id":194962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:15:04] local.INFO: TCP Data received {"connection_id":194962,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:04] local.INFO: Processing buffer {"connection_id":194962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:04] local.INFO: Packet analysis {"connection_id":194962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:15:04] local.INFO: Extracted packet for processing {"connection_id":194962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15: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-25 13:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:15: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-25 13:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":194962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:15:04] local.INFO: GPS data processed {"connection_id":194962,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:15:04] local.INFO: Acknowledgment sent {"connection_id":194962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:15:25] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:25] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:25] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:15:30] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:30] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:15:30] local.INFO: IMEI packet received {"connection_id":192106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:15:32] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:32] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d781ef60012d34c14006aa49080004006e2e..."} 
[2026-09-25 13:15:32] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:15:32] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d781"} 
[2026-09-25 13:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322358016001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790322012000,"timestamp_ms":1790322012000,"timestamp_seconds":1790322012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d781ef60"} 
[2026-09-25 13:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:15: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-25 13:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:15:32] 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-25 13:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322358016001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322358016001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:15:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:15:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322358016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:15:32] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:15:32] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:16:03] local.INFO: TCP Data received {"connection_id":192106,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:03] local.INFO: Processing buffer {"connection_id":192106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:03] local.INFO: Packet analysis {"connection_id":192106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:16:03] local.INFO: Extracted packet for processing {"connection_id":192106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16: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-25 13:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:16:03] 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-25 13:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:16:03] 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-25 13:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:16: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-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":192106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:16:04] local.INFO: GPS data processed {"connection_id":192106,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:16:04] local.INFO: Acknowledgment sent {"connection_id":192106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:16:25] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:25] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:25] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:16:30] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:30] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:16:30] local.INFO: IMEI packet received {"connection_id":192107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:16:31] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:31] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:16:31] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:16:31] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:16: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-25 13:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:16:31] 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-25 13:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:16:31] 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-25 13:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:16: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-25 13:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:16:31] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:16:31] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:16:39] local.INFO: TCP Data received {"connection_id":193654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:16:39] local.INFO: Processing buffer {"connection_id":193654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:16:39] local.INFO: IMEI packet received {"connection_id":193654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":193654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:17:03] local.INFO: TCP Data received {"connection_id":192107,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:03] local.INFO: Processing buffer {"connection_id":192107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:03] local.INFO: Packet analysis {"connection_id":192107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:17:03] local.INFO: Extracted packet for processing {"connection_id":192107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17: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-25 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:17:03] 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-25 13:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:17:03] 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-25 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:17: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-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":192107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:17:03] local.INFO: GPS data processed {"connection_id":192107,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:17:03] local.INFO: Acknowledgment sent {"connection_id":192107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:17:04] local.INFO: TCP Data received {"connection_id":192295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:17:04] local.INFO: Processing buffer {"connection_id":192295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:17:04] local.INFO: IMEI packet received {"connection_id":192295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":192295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:17:25] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:25] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:25] local.INFO: IMEI packet received {"connection_id":192108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":192108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:17:30] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:30] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:17:30] local.INFO: IMEI packet received {"connection_id":192108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:17:31] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:31] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:17:31] local.INFO: Packet analysis {"connection_id":192108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:17:31] local.INFO: Extracted packet for processing {"connection_id":192108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:17: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-25 13:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:17:31] 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-25 13:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:17: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-25 13:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":192108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:17:31] local.INFO: GPS data processed {"connection_id":192108,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:17:31] local.INFO: Acknowledgment sent {"connection_id":192108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:18:03] local.INFO: TCP Data received {"connection_id":192108,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:03] local.INFO: Processing buffer {"connection_id":192108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:03] local.INFO: Packet analysis {"connection_id":192108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:18:03] local.INFO: Extracted packet for processing {"connection_id":192108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18: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-25 13:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:18:03] 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-25 13:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:18: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-25 13:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":192108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:18:03] local.INFO: GPS data processed {"connection_id":192108,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:18:03] local.INFO: Acknowledgment sent {"connection_id":192108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:18:25] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:25] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:25] local.INFO: IMEI packet received {"connection_id":193655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":193655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:18:30] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:30] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:18:30] local.INFO: IMEI packet received {"connection_id":193655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":193655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:18:31] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:31] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:18:31] local.INFO: Packet analysis {"connection_id":193655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:18:31] local.INFO: Extracted packet for processing {"connection_id":193655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:18: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-25 13:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13: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-25 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:18:31] 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-25 13: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-25 13: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-25 13:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:18:31] 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-25 13:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:18: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-25 13:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":193655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:18:31] local.INFO: GPS data processed {"connection_id":193655,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:18:31] local.INFO: Acknowledgment sent {"connection_id":193655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:19:05] local.INFO: TCP Data received {"connection_id":193655,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:05] local.INFO: Processing buffer {"connection_id":193655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:05] local.INFO: Packet analysis {"connection_id":193655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:19:05] local.INFO: Extracted packet for processing {"connection_id":193655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:19: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-25 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:19:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":193655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:19:05] local.INFO: GPS data processed {"connection_id":193655,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:19:05] local.INFO: Acknowledgment sent {"connection_id":193655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:19:25] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:25] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:25] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:19:30] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:30] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:19:30] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:19:31] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:31] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:19:31] local.INFO: Packet analysis {"connection_id":192296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:19:31] local.INFO: Extracted packet for processing {"connection_id":192296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:19: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-25 13:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:19:31] 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-25 13:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:19:31] 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-25 13:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:19: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-25 13:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":192296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:19:31] local.INFO: GPS data processed {"connection_id":192296,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:19:31] local.INFO: Acknowledgment sent {"connection_id":192296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:20:03] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:03] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:03] local.INFO: Packet analysis {"connection_id":192296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:20:03] local.INFO: Extracted packet for processing {"connection_id":192296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20: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-25 13:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:20:03] 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-25 13:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:20:03] 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-25 13:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:20: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-25 13:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":192296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:20:03] local.INFO: GPS data processed {"connection_id":192296,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:20:03] local.INFO: Acknowledgment sent {"connection_id":192296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:20:25] local.INFO: TCP Data received {"connection_id":194965,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:25] local.INFO: Processing buffer {"connection_id":194965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:25] local.INFO: IMEI packet received {"connection_id":194965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":194965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:20:30] local.INFO: TCP Data received {"connection_id":194965,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:30] local.INFO: Processing buffer {"connection_id":194965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:20:30] local.INFO: IMEI packet received {"connection_id":194965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":194965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:20:31] local.INFO: TCP Data received {"connection_id":194965,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:31] local.INFO: Processing buffer {"connection_id":194965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7868728012d34c14006aa49080000006e2d..."} 
[2026-09-25 13:20:31] local.INFO: Packet analysis {"connection_id":194965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:20:31] local.INFO: Extracted packet for processing {"connection_id":194965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d786"} 
[2026-09-25 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322435072001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:20: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-25 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322313000,"timestamp_ms":1790322313000,"timestamp_seconds":1790322313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7868728"} 
[2026-09-25 13: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-25 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:20:31] 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-25 13: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-25 13: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-25 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:20:31] 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-25 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322435072001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322435072001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:20: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-25 13:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322435072001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":194965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:20:31] local.INFO: GPS data processed {"connection_id":194965,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:20:31] local.INFO: Acknowledgment sent {"connection_id":194965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:21:02] local.INFO: TCP Data received {"connection_id":194965,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:02] local.INFO: Processing buffer {"connection_id":194965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:02] local.INFO: Packet analysis {"connection_id":194965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:02] local.INFO: Extracted packet for processing {"connection_id":194965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21: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-25 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:02] 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-25 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:21: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-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":194965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:21:02] local.INFO: GPS data processed {"connection_id":194965,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:21:02] local.INFO: Acknowledgment sent {"connection_id":194965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:21:30] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:30] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:30] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:21:36] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:36] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:21:36] local.INFO: IMEI packet received {"connection_id":192109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":192109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:21:37] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:37] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:37] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:37] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13: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-25 13:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13: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-25 13: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-25 13:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:21:37] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:21:37] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:21:41] local.INFO: TCP Data received {"connection_id":192109,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:41] local.INFO: Processing buffer {"connection_id":192109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:21:41] local.INFO: Packet analysis {"connection_id":192109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:41] local.INFO: Extracted packet for processing {"connection_id":192109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:21: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-25 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":192109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:21:41] local.INFO: GPS data processed {"connection_id":192109,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:21:41] local.INFO: Acknowledgment sent {"connection_id":192109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:22:25] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:25] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:25] local.INFO: IMEI packet received {"connection_id":193657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":193657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:22:29] local.INFO: TCP Data received {"connection_id":193656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:22:29] local.INFO: Processing buffer {"connection_id":193656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:22:29] local.INFO: IMEI packet received {"connection_id":193656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":193656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:22:30] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:30] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:22:30] local.INFO: IMEI packet received {"connection_id":193657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":193657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:22:31] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:22:31] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:22:31] local.INFO: Packet analysis {"connection_id":193657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:22:31] local.INFO: Extracted packet for processing {"connection_id":193657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:22: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-25 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:22:31] 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-25 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:22: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-25 13:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":193657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:22:31] local.INFO: GPS data processed {"connection_id":193657,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:22:31] local.INFO: Acknowledgment sent {"connection_id":193657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:23:03] local.INFO: TCP Data received {"connection_id":193657,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:03] local.INFO: Processing buffer {"connection_id":193657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:03] local.INFO: Packet analysis {"connection_id":193657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:23:03] local.INFO: Extracted packet for processing {"connection_id":193657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23: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-25 13:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:23:03] 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-25 13:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:23: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-25 13:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":193657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:23:03] local.INFO: GPS data processed {"connection_id":193657,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:23:03] local.INFO: Acknowledgment sent {"connection_id":193657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:23:04] local.INFO: TCP Data received {"connection_id":192298,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:23:04] local.INFO: Processing buffer {"connection_id":192298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:23:04] local.INFO: IMEI packet received {"connection_id":192298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":192298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:23:25] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:25] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:25] local.INFO: IMEI packet received {"connection_id":192110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:23:30] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:30] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:23:30] local.INFO: IMEI packet received {"connection_id":192110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:23:31] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:31] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:23:31] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:23:31] local.INFO: Extracted packet for processing {"connection_id":192110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:23: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-25 13:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:23: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-25 13:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":192110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:23:31] local.INFO: GPS data processed {"connection_id":192110,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:23:31] local.INFO: Acknowledgment sent {"connection_id":192110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:24:03] local.INFO: TCP Data received {"connection_id":192110,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:03] local.INFO: Processing buffer {"connection_id":192110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:03] local.INFO: Packet analysis {"connection_id":192110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:24:03] local.INFO: Extracted packet for processing {"connection_id":192110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24: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-25 13:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:24: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-25 13:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":192110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:24:03] local.INFO: GPS data processed {"connection_id":192110,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:24:03] local.INFO: Acknowledgment sent {"connection_id":192110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:24:26] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:26] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:26] local.INFO: IMEI packet received {"connection_id":192299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":192299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:24:30] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:30] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:24:30] local.INFO: IMEI packet received {"connection_id":192299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:24:32] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:32] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:24:32] local.INFO: Packet analysis {"connection_id":192299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:24:32] local.INFO: Extracted packet for processing {"connection_id":192299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13: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-25 13: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-25 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13: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-25 13: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-25 13:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:24:32] 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-25 13:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":192299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:24:32] local.INFO: GPS data processed {"connection_id":192299,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:24:32] local.INFO: Acknowledgment sent {"connection_id":192299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:25:04] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:04] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:04] local.INFO: Packet analysis {"connection_id":192299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:25:04] local.INFO: Extracted packet for processing {"connection_id":192299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25: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-25 13:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:25: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-25 13:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:25: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-25 13:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:25: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-25 13:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":192299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:25:04] local.INFO: GPS data processed {"connection_id":192299,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:25:04] local.INFO: Acknowledgment sent {"connection_id":192299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:25:25] local.INFO: TCP Data received {"connection_id":194968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:25] local.INFO: Processing buffer {"connection_id":194968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:25] local.INFO: IMEI packet received {"connection_id":194968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":194968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:25:30] local.INFO: TCP Data received {"connection_id":194968,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:30] local.INFO: Processing buffer {"connection_id":194968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:25:30] local.INFO: IMEI packet received {"connection_id":194968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":194968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:25:31] local.INFO: TCP Data received {"connection_id":194968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:31] local.INFO: Processing buffer {"connection_id":194968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78b1ef0012d34c14006aa49080003006e2d..."} 
[2026-09-25 13:25:31] local.INFO: Packet analysis {"connection_id":194968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:25:31] local.INFO: Extracted packet for processing {"connection_id":194968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78b"} 
[2026-09-25 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322512128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:25: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-25 13:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322614000,"timestamp_ms":1790322614000,"timestamp_seconds":1790322614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78b1ef0"} 
[2026-09-25 13: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-25 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 13:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13: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-25 13: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-25 13:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:25:31] 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-25 13:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322512128001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322512128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:25:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322512128001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":194968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:25:32] local.INFO: GPS data processed {"connection_id":194968,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:25:32] local.INFO: Acknowledgment sent {"connection_id":194968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:26:04] local.INFO: TCP Data received {"connection_id":194968,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:04] local.INFO: Processing buffer {"connection_id":194968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:04] local.INFO: Packet analysis {"connection_id":194968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:26:04] local.INFO: Extracted packet for processing {"connection_id":194968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26: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-25 13:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13: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-25 13:26: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-25 13:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:26: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-25 13: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-25 13: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-25 13:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:26:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:26: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-25 13:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":194968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:26:04] local.INFO: GPS data processed {"connection_id":194968,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:26:04] local.INFO: Acknowledgment sent {"connection_id":194968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:26:25] local.INFO: TCP Data received {"connection_id":193660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:25] local.INFO: Processing buffer {"connection_id":193660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:25] local.INFO: IMEI packet received {"connection_id":193660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":193660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:26:30] local.INFO: TCP Data received {"connection_id":193660,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:30] local.INFO: Processing buffer {"connection_id":193660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:26:30] local.INFO: IMEI packet received {"connection_id":193660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":193660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:26:32] local.INFO: TCP Data received {"connection_id":193660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:32] local.INFO: Processing buffer {"connection_id":193660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:26:32] local.INFO: Packet analysis {"connection_id":193660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:26:32] local.INFO: Extracted packet for processing {"connection_id":193660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:26: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-25 13:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:26:32] 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-25 13:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:26:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:26:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":193660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:26:32] local.INFO: GPS data processed {"connection_id":193660,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:26:32] local.INFO: Acknowledgment sent {"connection_id":193660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:27:04] local.INFO: TCP Data received {"connection_id":193660,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:04] local.INFO: Processing buffer {"connection_id":193660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:04] local.INFO: Packet analysis {"connection_id":193660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:27:04] local.INFO: Extracted packet for processing {"connection_id":193660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13: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-25 13:27: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-25 13: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-25 13: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-25 13: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-25 13: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-25 13:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":193660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:27:04] local.INFO: GPS data processed {"connection_id":193660,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:27:04] local.INFO: Acknowledgment sent {"connection_id":193660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:27:25] local.INFO: TCP Data received {"connection_id":194969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:25] local.INFO: Processing buffer {"connection_id":194969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:25] local.INFO: IMEI packet received {"connection_id":194969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":194969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:27:30] local.INFO: TCP Data received {"connection_id":194969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:30] local.INFO: Processing buffer {"connection_id":194969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:27:30] local.INFO: IMEI packet received {"connection_id":194969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":194969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:27:31] local.INFO: TCP Data received {"connection_id":194969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:31] local.INFO: Processing buffer {"connection_id":194969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:27:31] local.INFO: Packet analysis {"connection_id":194969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:27:31] local.INFO: Extracted packet for processing {"connection_id":194969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:27: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-25 13:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13: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-25 13:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:27:31] 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-25 13: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-25 13: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-25 13:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:27:31] 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-25 13:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:27: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-25 13:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":194969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:27:31] local.INFO: GPS data processed {"connection_id":194969,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:27:31] local.INFO: Acknowledgment sent {"connection_id":194969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:28:02] local.INFO: TCP Data received {"connection_id":194969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:02] local.INFO: Processing buffer {"connection_id":194969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:02] local.INFO: Packet analysis {"connection_id":194969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:28:02] local.INFO: Extracted packet for processing {"connection_id":194969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28: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-25 13:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:28:02] 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-25 13:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:28: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-25 13:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":194969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:28:02] local.INFO: GPS data processed {"connection_id":194969,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:28:02] local.INFO: Acknowledgment sent {"connection_id":194969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:28:25] local.INFO: TCP Data received {"connection_id":194970,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:25] local.INFO: Processing buffer {"connection_id":194970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:25] local.INFO: IMEI packet received {"connection_id":194970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":194970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:28:29] local.INFO: TCP Data received {"connection_id":193661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:28:29] local.INFO: Processing buffer {"connection_id":193661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:28:29] local.INFO: IMEI packet received {"connection_id":193661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":193661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:28:30] local.INFO: TCP Data received {"connection_id":194970,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:30] local.INFO: Processing buffer {"connection_id":194970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:28:30] local.INFO: IMEI packet received {"connection_id":194970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":194970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:28:31] local.INFO: TCP Data received {"connection_id":194970,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:31] local.INFO: Processing buffer {"connection_id":194970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:28:31] local.INFO: Packet analysis {"connection_id":194970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:28:31] local.INFO: Extracted packet for processing {"connection_id":194970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:28: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-25 13:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:28:31] 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-25 13:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:28:31] 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-25 13:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:28: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-25 13:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":194970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:28:31] local.INFO: GPS data processed {"connection_id":194970,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:28:31] local.INFO: Acknowledgment sent {"connection_id":194970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:29:03] local.INFO: TCP Data received {"connection_id":194970,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:03] local.INFO: Processing buffer {"connection_id":194970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:03] local.INFO: Packet analysis {"connection_id":194970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:29:03] local.INFO: Extracted packet for processing {"connection_id":194970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29: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-25 13:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:29:03] 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-25 13:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:29:03] 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-25 13:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:29: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-25 13:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":194970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:29:03] local.INFO: GPS data processed {"connection_id":194970,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:29:03] local.INFO: Acknowledgment sent {"connection_id":194970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:29:09] local.INFO: TCP Data received {"connection_id":192112,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:29:09] local.INFO: Processing buffer {"connection_id":192112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:29:09] local.INFO: IMEI packet received {"connection_id":192112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":192112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:29:25] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:25] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:25] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:29:30] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:30] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:29:30] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:29:31] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:31] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:29:31] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:29:31] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:29: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-25 13:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:29:31] 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-25 13:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:29:31] 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-25 13:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:29: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-25 13:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:29:31] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:29:31] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:30:02] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:02] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:02] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:30:02] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30: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-25 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:30: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-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:30:02] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:30:02] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:30:25] local.INFO: TCP Data received {"connection_id":194972,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:25] local.INFO: Processing buffer {"connection_id":194972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:25] local.INFO: IMEI packet received {"connection_id":194972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":194972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:30:30] local.INFO: TCP Data received {"connection_id":194972,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:30] local.INFO: Processing buffer {"connection_id":194972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:30:30] local.INFO: IMEI packet received {"connection_id":194972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":194972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:30:32] local.INFO: TCP Data received {"connection_id":194972,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:32] local.INFO: Processing buffer {"connection_id":194972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d78fb6b8012d34c14006aa49080004006e29..."} 
[2026-09-25 13:30:32] local.INFO: Packet analysis {"connection_id":194972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:30:32] local.INFO: Extracted packet for processing {"connection_id":194972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d78f"} 
[2026-09-25 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322589184001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790322915000,"timestamp_ms":1790322915000,"timestamp_seconds":1790322915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d78fb6b8"} 
[2026-09-25 13:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 13:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:30:32] 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-25 13:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322589184001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322589184001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:30:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:30:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322589184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":194972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:30:32] local.INFO: GPS data processed {"connection_id":194972,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:30:32] local.INFO: Acknowledgment sent {"connection_id":194972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:31:04] local.INFO: TCP Data received {"connection_id":194972,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:04] local.INFO: Processing buffer {"connection_id":194972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:04] local.INFO: Packet analysis {"connection_id":194972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:31:04] local.INFO: Extracted packet for processing {"connection_id":194972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13: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-25 13: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-25 13: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-25 13: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-25 13: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-25 13: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-25 13:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:31:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":194972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:31:04] local.INFO: GPS data processed {"connection_id":194972,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:31:04] local.INFO: Acknowledgment sent {"connection_id":194972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:31:25] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:25] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:25] local.INFO: IMEI packet received {"connection_id":193662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":193662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:31:30] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:30] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:31:30] local.INFO: IMEI packet received {"connection_id":193662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":193662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:31:32] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:32] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:31:32] local.INFO: Packet analysis {"connection_id":193662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:31:32] local.INFO: Extracted packet for processing {"connection_id":193662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:31:32] 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-25 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":193662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:31:32] local.INFO: GPS data processed {"connection_id":193662,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:31:32] local.INFO: Acknowledgment sent {"connection_id":193662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:32:04] local.INFO: TCP Data received {"connection_id":193662,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:04] local.INFO: Processing buffer {"connection_id":193662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:04] local.INFO: Packet analysis {"connection_id":193662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:32:04] local.INFO: Extracted packet for processing {"connection_id":193662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32: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-25 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:32: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-25 13:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:32: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-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":193662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:32:04] local.INFO: GPS data processed {"connection_id":193662,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:32:04] local.INFO: Acknowledgment sent {"connection_id":193662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:32:25] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:25] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:25] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:32:30] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:30] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:32:30] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:32:31] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:31] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:32:31] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:32:31] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:32: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-25 13:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:32: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-25 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:32: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-25 13:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:32: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-25 13:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:32:31] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:32:31] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:33:03] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:03] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:03] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:33:03] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33: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-25 13:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:33: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-25 13:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:33: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-25 13:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:33:03] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:33:03] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:33:25] local.INFO: TCP Data received {"connection_id":192114,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:25] local.INFO: Processing buffer {"connection_id":192114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:25] local.INFO: IMEI packet received {"connection_id":192114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":192114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:33:30] local.INFO: TCP Data received {"connection_id":192114,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:30] local.INFO: Processing buffer {"connection_id":192114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:33:30] local.INFO: IMEI packet received {"connection_id":192114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:33:31] local.INFO: TCP Data received {"connection_id":192114,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:31] local.INFO: Processing buffer {"connection_id":192114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:33:31] local.INFO: Packet analysis {"connection_id":192114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:33:31] local.INFO: Extracted packet for processing {"connection_id":192114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:33: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-25 13:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:33: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-25 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:33: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-25 13:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:33:31] 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-25 13:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:33: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-25 13:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":192114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:33:31] local.INFO: GPS data processed {"connection_id":192114,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:33:31] local.INFO: Acknowledgment sent {"connection_id":192114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:34:04] local.INFO: TCP Data received {"connection_id":192114,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:04] local.INFO: Processing buffer {"connection_id":192114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:04] local.INFO: Packet analysis {"connection_id":192114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:34:04] local.INFO: Extracted packet for processing {"connection_id":192114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34: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-25 13:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:34: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-25 13:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:34:04] 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-25 13:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:34: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-25 13:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":192114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:34:04] local.INFO: GPS data processed {"connection_id":192114,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:34:04] local.INFO: Acknowledgment sent {"connection_id":192114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:34:25] local.INFO: TCP Data received {"connection_id":193663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:25] local.INFO: Processing buffer {"connection_id":193663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:25] local.INFO: IMEI packet received {"connection_id":193663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":193663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:34:30] local.INFO: TCP Data received {"connection_id":193663,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:30] local.INFO: Processing buffer {"connection_id":193663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:34:30] local.INFO: IMEI packet received {"connection_id":193663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":193663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:34:31] local.INFO: TCP Data received {"connection_id":193663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:31] local.INFO: Processing buffer {"connection_id":193663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:34:31] local.INFO: Packet analysis {"connection_id":193663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:34:31] local.INFO: Extracted packet for processing {"connection_id":193663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:34: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-25 13:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13: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-25 13:34: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-25 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:34: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-25 13: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-25 13: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-25 13:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:34:31] 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-25 13:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:34: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-25 13:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":193663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:34:31] local.INFO: GPS data processed {"connection_id":193663,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:34:31] local.INFO: Acknowledgment sent {"connection_id":193663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:34:39] local.INFO: TCP Data received {"connection_id":192303,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:34:39] local.INFO: Processing buffer {"connection_id":192303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:34:39] local.INFO: IMEI packet received {"connection_id":192303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":192303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:35:04] local.INFO: TCP Data received {"connection_id":193663,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:04] local.INFO: Processing buffer {"connection_id":193663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:04] local.INFO: Packet analysis {"connection_id":193663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:35:04] local.INFO: Extracted packet for processing {"connection_id":193663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35: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-25 13:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:35: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-25 13:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:35: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-25 13:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":193663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:35:04] local.INFO: GPS data processed {"connection_id":193663,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:35:04] local.INFO: Acknowledgment sent {"connection_id":193663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:35:05] local.INFO: TCP Data received {"connection_id":193664,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:35:05] local.INFO: Processing buffer {"connection_id":193664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:35:05] local.INFO: IMEI packet received {"connection_id":193664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":193664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:35:25] local.INFO: TCP Data received {"connection_id":194974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:25] local.INFO: Processing buffer {"connection_id":194974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:25] local.INFO: IMEI packet received {"connection_id":194974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":194974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:35:30] local.INFO: TCP Data received {"connection_id":194974,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:30] local.INFO: Processing buffer {"connection_id":194974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:35:30] local.INFO: IMEI packet received {"connection_id":194974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":194974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:35:31] local.INFO: TCP Data received {"connection_id":194974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:31] local.INFO: Processing buffer {"connection_id":194974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7944e80012d34c14006aa49080008006e28..."} 
[2026-09-25 13:35:31] local.INFO: Packet analysis {"connection_id":194974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:35:31] local.INFO: Extracted packet for processing {"connection_id":194974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d794"} 
[2026-09-25 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322666240001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:35: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-25 13:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323216000,"timestamp_ms":1790323216000,"timestamp_seconds":1790323216,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7944e80"} 
[2026-09-25 13:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:35: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-25 13:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:35:31] 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-25 13:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322666240001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322666240001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:35: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-25 13:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322666240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":194974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:35:32] local.INFO: GPS data processed {"connection_id":194974,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:35:32] local.INFO: Acknowledgment sent {"connection_id":194974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:36:03] local.INFO: TCP Data received {"connection_id":194974,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:03] local.INFO: Processing buffer {"connection_id":194974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:03] local.INFO: Packet analysis {"connection_id":194974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:36:03] local.INFO: Extracted packet for processing {"connection_id":194974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36: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-25 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:36: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-25 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:36: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-25 13:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:36:03] 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-25 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:36: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-25 13:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":194974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:36:03] local.INFO: GPS data processed {"connection_id":194974,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:36:03] local.INFO: Acknowledgment sent {"connection_id":194974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:36:30] local.INFO: TCP Data received {"connection_id":192304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:30] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:30] local.INFO: IMEI packet received {"connection_id":192304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:36:35] local.INFO: TCP Data received {"connection_id":192304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:35] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:36:35] local.INFO: IMEI packet received {"connection_id":192304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":192304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:36:37] local.INFO: TCP Data received {"connection_id":192304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:37] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:36:37] local.INFO: Packet analysis {"connection_id":192304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:36:37] local.INFO: Extracted packet for processing {"connection_id":192304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:36: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-25 13:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:36: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-25 13:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":192304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:36:37] local.INFO: GPS data processed {"connection_id":192304,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:36:37] local.INFO: Acknowledgment sent {"connection_id":192304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:37:08] local.INFO: TCP Data received {"connection_id":192304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:08] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:08] local.INFO: Packet analysis {"connection_id":192304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:37:08] local.INFO: Extracted packet for processing {"connection_id":192304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13: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-25 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:37: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-25 13: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-25 13: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-25 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":192304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:37:08] local.INFO: GPS data processed {"connection_id":192304,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:37:08] local.INFO: Acknowledgment sent {"connection_id":192304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:37:25] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:25] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:25] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:37:30] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:30] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:37:30] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:37:31] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:31] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:37:31] local.INFO: Packet analysis {"connection_id":192305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:37:31] local.INFO: Extracted packet for processing {"connection_id":192305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:37: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-25 13:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:37: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-25 13:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:37: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-25 13:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:37: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-25 13:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":192305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:37:31] local.INFO: GPS data processed {"connection_id":192305,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:37:31] local.INFO: Acknowledgment sent {"connection_id":192305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:38:03] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:03] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:03] local.INFO: Packet analysis {"connection_id":192305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:38:03] local.INFO: Extracted packet for processing {"connection_id":192305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38: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-25 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:38: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-25 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:38: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-25 13:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:38: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-25 13:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":192305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:38:03] local.INFO: GPS data processed {"connection_id":192305,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:38:03] local.INFO: Acknowledgment sent {"connection_id":192305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:38:25] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:25] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:25] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:38:30] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:30] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:38:30] local.INFO: IMEI packet received {"connection_id":192117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":192117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:38:31] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:31] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:38:31] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:38:31] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:38: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-25 13:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13: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-25 13:38: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-25 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:38: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-25 13: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-25 13: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-25 13:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:38:31] 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-25 13:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:38: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-25 13:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:38:31] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:38:31] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:39:04] local.INFO: TCP Data received {"connection_id":192117,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:04] local.INFO: Processing buffer {"connection_id":192117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:04] local.INFO: Packet analysis {"connection_id":192117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:39:04] local.INFO: Extracted packet for processing {"connection_id":192117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39: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-25 13:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:39: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-25 13:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:39: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-25 13:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:39: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-25 13:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":192117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:39:04] local.INFO: GPS data processed {"connection_id":192117,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:39:04] local.INFO: Acknowledgment sent {"connection_id":192117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:39:25] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:25] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:25] local.INFO: IMEI packet received {"connection_id":192118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":192118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:39:31] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:31] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:39:31] local.INFO: IMEI packet received {"connection_id":192118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":192118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:39:32] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:32] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:39:32] local.INFO: Packet analysis {"connection_id":192118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:39:32] local.INFO: Extracted packet for processing {"connection_id":192118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:39:32] 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-25 13:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:39:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":192118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:39:32] local.INFO: GPS data processed {"connection_id":192118,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:39:32] local.INFO: Acknowledgment sent {"connection_id":192118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:40:03] local.INFO: TCP Data received {"connection_id":192118,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:03] local.INFO: Processing buffer {"connection_id":192118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:03] local.INFO: Packet analysis {"connection_id":192118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:40:03] local.INFO: Extracted packet for processing {"connection_id":192118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40: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-25 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:40: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-25 13:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:40:03] 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-25 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:40: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-25 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":192118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:40:03] local.INFO: GPS data processed {"connection_id":192118,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:40:03] local.INFO: Acknowledgment sent {"connection_id":192118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:40:24] local.INFO: TCP Data received {"connection_id":192119,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:40:24] local.INFO: Processing buffer {"connection_id":192119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:40:24] local.INFO: IMEI packet received {"connection_id":192119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":192119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:40:25] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:25] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:25] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:40:30] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:30] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:40:30] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:40:31] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:31] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d798e648012d34c14006aa49080009006e29..."} 
[2026-09-25 13:40:31] local.INFO: Packet analysis {"connection_id":192306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:40:31] local.INFO: Extracted packet for processing {"connection_id":192306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d798"} 
[2026-09-25 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322743296001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:40: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-25 13:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323517000,"timestamp_ms":1790323517000,"timestamp_seconds":1790323517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d798e648"} 
[2026-09-25 13: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-25 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:40: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-25 13: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-25 13: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-25 13:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:40:31] 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-25 13:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322743296001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322743296001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:40: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-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322743296001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":192306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:40:31] local.INFO: GPS data processed {"connection_id":192306,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:40:31] local.INFO: Acknowledgment sent {"connection_id":192306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:41:03] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:03] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:03] local.INFO: Packet analysis {"connection_id":192306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:41:03] local.INFO: Extracted packet for processing {"connection_id":192306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:41: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-25 13:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:41: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-25 13:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:41:03] 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-25 13:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:41: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-25 13:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":192306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:41:03] local.INFO: GPS data processed {"connection_id":192306,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:41:03] local.INFO: Acknowledgment sent {"connection_id":192306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:41:09] local.INFO: TCP Data received {"connection_id":192120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:41:09] local.INFO: Processing buffer {"connection_id":192120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:41:09] local.INFO: IMEI packet received {"connection_id":192120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":192120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:41:30] local.INFO: TCP Data received {"connection_id":194976,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:30] local.INFO: Processing buffer {"connection_id":194976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:30] local.INFO: IMEI packet received {"connection_id":194976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":194976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:41:35] local.INFO: TCP Data received {"connection_id":194976,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:35] local.INFO: Processing buffer {"connection_id":194976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:41:35] local.INFO: IMEI packet received {"connection_id":194976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":194976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:41:36] local.INFO: TCP Data received {"connection_id":194976,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:36] local.INFO: Processing buffer {"connection_id":194976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:41:36] local.INFO: Packet analysis {"connection_id":194976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:41:36] local.INFO: Extracted packet for processing {"connection_id":194976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:41:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:41:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":194976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:41:36] local.INFO: GPS data processed {"connection_id":194976,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:41:36] local.INFO: Acknowledgment sent {"connection_id":194976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:42:07] local.INFO: TCP Data received {"connection_id":194976,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:07] local.INFO: Processing buffer {"connection_id":194976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:07] local.INFO: Packet analysis {"connection_id":194976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:42:07] local.INFO: Extracted packet for processing {"connection_id":194976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13: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-25 13:42: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-25 13: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-25 13: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-25 13: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-25 13: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-25 13:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":194976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:42:07] local.INFO: GPS data processed {"connection_id":194976,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:42:07] local.INFO: Acknowledgment sent {"connection_id":194976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:42:25] local.INFO: TCP Data received {"connection_id":192122,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:25] local.INFO: Processing buffer {"connection_id":192122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:25] local.INFO: IMEI packet received {"connection_id":192122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":192122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:42:30] local.INFO: TCP Data received {"connection_id":192122,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:30] local.INFO: Processing buffer {"connection_id":192122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:42:30] local.INFO: IMEI packet received {"connection_id":192122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:42:31] local.INFO: TCP Data received {"connection_id":192122,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:31] local.INFO: Processing buffer {"connection_id":192122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:42:31] local.INFO: Packet analysis {"connection_id":192122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:42:31] local.INFO: Extracted packet for processing {"connection_id":192122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:42:31] 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-25 13:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":192122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:42:31] local.INFO: GPS data processed {"connection_id":192122,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:42:31] local.INFO: Acknowledgment sent {"connection_id":192122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:43:03] local.INFO: TCP Data received {"connection_id":192122,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:03] local.INFO: Processing buffer {"connection_id":192122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:03] local.INFO: Packet analysis {"connection_id":192122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:43:03] local.INFO: Extracted packet for processing {"connection_id":192122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:43:03] local.INFO: GPS data processed {"connection_id":192122,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:43:03] local.INFO: Acknowledgment sent {"connection_id":192122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:43:25] local.INFO: TCP Data received {"connection_id":194977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:25] local.INFO: Processing buffer {"connection_id":194977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:25] local.INFO: IMEI packet received {"connection_id":194977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":194977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:43:30] local.INFO: TCP Data received {"connection_id":194977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:30] local.INFO: Processing buffer {"connection_id":194977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:43:30] local.INFO: IMEI packet received {"connection_id":194977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":194977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:43:31] local.INFO: TCP Data received {"connection_id":194977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:31] local.INFO: Processing buffer {"connection_id":194977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:43:31] local.INFO: Packet analysis {"connection_id":194977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:43:31] local.INFO: Extracted packet for processing {"connection_id":194977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:43: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-25 13:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:43: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-25 13:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:43: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-25 13:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":194977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:43:31] local.INFO: GPS data processed {"connection_id":194977,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:43:31] local.INFO: Acknowledgment sent {"connection_id":194977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:44:03] local.INFO: TCP Data received {"connection_id":194977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:03] local.INFO: Processing buffer {"connection_id":194977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:03] local.INFO: Packet analysis {"connection_id":194977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:44:03] local.INFO: Extracted packet for processing {"connection_id":194977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44: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-25 13:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:44: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-25 13:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:44: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-25 13:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":194977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:44:03] local.INFO: GPS data processed {"connection_id":194977,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:44:03] local.INFO: Acknowledgment sent {"connection_id":194977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:44:25] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:25] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:25] local.INFO: IMEI packet received {"connection_id":193666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":193666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:44:30] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:30] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:44:30] local.INFO: IMEI packet received {"connection_id":193666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":193666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:44:31] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:31] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:44:31] local.INFO: Packet analysis {"connection_id":193666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:44:31] local.INFO: Extracted packet for processing {"connection_id":193666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:44: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-25 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:44: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-25 13:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:44:31] 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-25 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:44: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-25 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":193666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:44:31] local.INFO: GPS data processed {"connection_id":193666,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:44:31] local.INFO: Acknowledgment sent {"connection_id":193666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:45:03] local.INFO: TCP Data received {"connection_id":193666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:03] local.INFO: Processing buffer {"connection_id":193666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:03] local.INFO: Packet analysis {"connection_id":193666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:45:03] local.INFO: Extracted packet for processing {"connection_id":193666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45: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-25 13:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:45: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-25 13:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:45:03] 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-25 13:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:45: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-25 13:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":193666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:45:03] local.INFO: GPS data processed {"connection_id":193666,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:45:03] local.INFO: Acknowledgment sent {"connection_id":193666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:45:25] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:25] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:25] local.INFO: IMEI packet received {"connection_id":192308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:45:30] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:30] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:45:30] local.INFO: IMEI packet received {"connection_id":192308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":192308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:45:32] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:32] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d79d7e10012d34c14006aa4908000c006e2a..."} 
[2026-09-25 13:45:32] local.INFO: Packet analysis {"connection_id":192308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:45:32] local.INFO: Extracted packet for processing {"connection_id":192308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d79d"} 
[2026-09-25 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322820352001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790323818000,"timestamp_ms":1790323818000,"timestamp_seconds":1790323818,"priority":1,"record_length":96,"hex_timestamp":"000001a0d79d7e10"} 
[2026-09-25 13:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:45: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-25 13:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:45:32] 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-25 13:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322820352001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322820352001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:45:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:45:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322820352001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":192308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:45:32] local.INFO: GPS data processed {"connection_id":192308,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:45:32] local.INFO: Acknowledgment sent {"connection_id":192308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:46:06] local.INFO: TCP Data received {"connection_id":192308,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:06] local.INFO: Processing buffer {"connection_id":192308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:06] local.INFO: Packet analysis {"connection_id":192308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:46:06] local.INFO: Extracted packet for processing {"connection_id":192308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 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-25 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:46: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-25 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-25 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-25 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:46: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-25 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 13:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":192308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:46:06] local.INFO: GPS data processed {"connection_id":192308,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:46:06] local.INFO: Acknowledgment sent {"connection_id":192308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:46:29] local.INFO: TCP Data received {"connection_id":192309,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:46:29] local.INFO: Processing buffer {"connection_id":192309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:46:29] local.INFO: IMEI packet received {"connection_id":192309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:46:30] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:30] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:30] local.INFO: IMEI packet received {"connection_id":193667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":193667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:46:35] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:35] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:46:35] local.INFO: IMEI packet received {"connection_id":193667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":193667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:46:37] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:37] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:46:37] local.INFO: Packet analysis {"connection_id":193667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:46:37] local.INFO: Extracted packet for processing {"connection_id":193667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:46: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-25 13:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:46: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-25 13:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":193667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:46:37] local.INFO: GPS data processed {"connection_id":193667,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:46:37] local.INFO: Acknowledgment sent {"connection_id":193667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:47:04] local.INFO: TCP Data received {"connection_id":194978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:47:04] local.INFO: Processing buffer {"connection_id":194978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:47:04] local.INFO: IMEI packet received {"connection_id":194978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":194978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:47:10] local.INFO: TCP Data received {"connection_id":193667,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:10] local.INFO: Processing buffer {"connection_id":193667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:10] local.INFO: Packet analysis {"connection_id":193667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:47:10] local.INFO: Extracted packet for processing {"connection_id":193667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:47: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-25 13:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":193667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:47:10] local.INFO: GPS data processed {"connection_id":193667,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:47:10] local.INFO: Acknowledgment sent {"connection_id":193667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:47:26] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:26] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:26] local.INFO: IMEI packet received {"connection_id":192310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":192310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:47:30] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:30] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:47:30] local.INFO: IMEI packet received {"connection_id":192310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:47:32] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:32] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:47:32] local.INFO: Packet analysis {"connection_id":192310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:47:32] local.INFO: Extracted packet for processing {"connection_id":192310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:47: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-25 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:47:32] 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-25 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:47:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:47:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":192310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:47:32] local.INFO: GPS data processed {"connection_id":192310,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:47:32] local.INFO: Acknowledgment sent {"connection_id":192310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:48:04] local.INFO: TCP Data received {"connection_id":192310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:04] local.INFO: Processing buffer {"connection_id":192310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:04] local.INFO: Packet analysis {"connection_id":192310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:48:04] local.INFO: Extracted packet for processing {"connection_id":192310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13: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-25 13: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-25 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:48: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-25 13: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-25 13: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-25 13:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:48:04] 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-25 13:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":192310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:48:04] local.INFO: GPS data processed {"connection_id":192310,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:48:04] local.INFO: Acknowledgment sent {"connection_id":192310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:48:25] local.INFO: TCP Data received {"connection_id":194980,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:25] local.INFO: Processing buffer {"connection_id":194980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:25] local.INFO: IMEI packet received {"connection_id":194980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":194980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:48:30] local.INFO: TCP Data received {"connection_id":194980,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:30] local.INFO: Processing buffer {"connection_id":194980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:48:30] local.INFO: IMEI packet received {"connection_id":194980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":194980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:48:33] local.INFO: TCP Data received {"connection_id":194980,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:33] local.INFO: Processing buffer {"connection_id":194980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:48:33] local.INFO: Packet analysis {"connection_id":194980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:48:33] local.INFO: Extracted packet for processing {"connection_id":194980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13: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-25 13: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-25 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:48: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-25 13: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-25 13: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-25 13:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:48:33] 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-25 13:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":194980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:48:33] local.INFO: GPS data processed {"connection_id":194980,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:48:33] local.INFO: Acknowledgment sent {"connection_id":194980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:49:05] local.INFO: TCP Data received {"connection_id":194980,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:05] local.INFO: Processing buffer {"connection_id":194980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:05] local.INFO: Packet analysis {"connection_id":194980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:49:05] local.INFO: Extracted packet for processing {"connection_id":194980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13: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-25 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13: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-25 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:49:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:49:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":194980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:49:05] local.INFO: GPS data processed {"connection_id":194980,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:49:05] local.INFO: Acknowledgment sent {"connection_id":194980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:49:25] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:25] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:25] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:49:30] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:30] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:49:30] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:49:31] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:31] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:49:31] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:49:31] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:49: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-25 13:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:49: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-25 13:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:49:31] 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-25 13:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:49: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-25 13:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:49:31] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:49:31] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:50:03] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:03] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:03] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:50:03] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50: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-25 13:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:50: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-25 13:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:50:03] 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-25 13:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:50: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-25 13:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:50:03] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:50:03] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:50:25] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:25] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:25] local.INFO: IMEI packet received {"connection_id":193669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":193669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:50:30] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:30] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:50:30] local.INFO: IMEI packet received {"connection_id":193669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:50:32] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:32] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a215d8012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:50:32] local.INFO: Packet analysis {"connection_id":193669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:50:32] local.INFO: Extracted packet for processing {"connection_id":193669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a2"} 
[2026-09-25 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322897408001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790324119000,"timestamp_ms":1790324119000,"timestamp_seconds":1790324119,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a215d8"} 
[2026-09-25 13:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:50: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-25 13:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 13:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:50:32] 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-25 13:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322897408001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322897408001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322897408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":193669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:50:32] local.INFO: GPS data processed {"connection_id":193669,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:50:32] local.INFO: Acknowledgment sent {"connection_id":193669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:51:03] local.INFO: TCP Data received {"connection_id":193669,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:03] local.INFO: Processing buffer {"connection_id":193669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:03] local.INFO: Packet analysis {"connection_id":193669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:03] local.INFO: Extracted packet for processing {"connection_id":193669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51: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-25 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:03] 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-25 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:51: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-25 13:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":193669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:51:03] local.INFO: GPS data processed {"connection_id":193669,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:51:03] local.INFO: Acknowledgment sent {"connection_id":193669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:51:31] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:31] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:31] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:51:35] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:35] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:51:35] local.INFO: IMEI packet received {"connection_id":192125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":192125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:51:36] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:36] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:36] local.INFO: Packet analysis {"connection_id":192125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:36] local.INFO: Extracted packet for processing {"connection_id":192125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13: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-25 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13: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-25 13: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-25 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:36] 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-25 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":192125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:51:36] local.INFO: GPS data processed {"connection_id":192125,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:51:36] local.INFO: Acknowledgment sent {"connection_id":192125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:51:42] local.INFO: TCP Data received {"connection_id":192125,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:42] local.INFO: Processing buffer {"connection_id":192125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:51:42] local.INFO: Packet analysis {"connection_id":192125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:42] local.INFO: Extracted packet for processing {"connection_id":192125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13: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-25 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 13: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-25 13: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-25 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:51:42] 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-25 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:51: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-25 13:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":192125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:51:42] local.INFO: GPS data processed {"connection_id":192125,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:51:42] local.INFO: Acknowledgment sent {"connection_id":192125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:52:24] local.INFO: TCP Data received {"connection_id":194982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:52:24] local.INFO: Processing buffer {"connection_id":194982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:52:24] local.INFO: IMEI packet received {"connection_id":194982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":194982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:52:25] local.INFO: TCP Data received {"connection_id":194983,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:25] local.INFO: Processing buffer {"connection_id":194983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:25] local.INFO: IMEI packet received {"connection_id":194983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":194983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:52:30] local.INFO: TCP Data received {"connection_id":194983,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:30] local.INFO: Processing buffer {"connection_id":194983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:52:30] local.INFO: IMEI packet received {"connection_id":194983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":194983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:52:31] local.INFO: TCP Data received {"connection_id":194983,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:52:31] local.INFO: Processing buffer {"connection_id":194983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:52:31] local.INFO: Packet analysis {"connection_id":194983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:52:31] local.INFO: Extracted packet for processing {"connection_id":194983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:52: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-25 13:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:52: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-25 13:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":194983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:52:31] local.INFO: GPS data processed {"connection_id":194983,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:52:31] local.INFO: Acknowledgment sent {"connection_id":194983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:53:04] local.INFO: TCP Data received {"connection_id":192126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:53:04] local.INFO: Processing buffer {"connection_id":192126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:53:04] local.INFO: IMEI packet received {"connection_id":192126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":192126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:53:05] local.INFO: TCP Data received {"connection_id":194983,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:05] local.INFO: Processing buffer {"connection_id":194983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:05] local.INFO: Packet analysis {"connection_id":194983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:53:05] local.INFO: Extracted packet for processing {"connection_id":194983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13: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-25 13:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:53: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-25 13:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:53:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":194983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:53:05] local.INFO: GPS data processed {"connection_id":194983,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:53:05] local.INFO: Acknowledgment sent {"connection_id":194983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:53:25] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:25] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:25] local.INFO: IMEI packet received {"connection_id":193670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":193670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:53:31] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:31] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:53:31] local.INFO: IMEI packet received {"connection_id":193670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":193670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:53:32] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:32] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:53:32] local.INFO: Packet analysis {"connection_id":193670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:53:32] local.INFO: Extracted packet for processing {"connection_id":193670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:53: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-25 13:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:53:32] 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-25 13:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":193670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:53:32] local.INFO: GPS data processed {"connection_id":193670,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:53:32] local.INFO: Acknowledgment sent {"connection_id":193670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:54:03] local.INFO: TCP Data received {"connection_id":193670,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:03] local.INFO: Processing buffer {"connection_id":193670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:03] local.INFO: Packet analysis {"connection_id":193670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:54:03] local.INFO: Extracted packet for processing {"connection_id":193670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54: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-25 13:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:54:03] 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-25 13:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:54: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-25 13:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":193670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:54:03] local.INFO: GPS data processed {"connection_id":193670,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:54:03] local.INFO: Acknowledgment sent {"connection_id":193670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:54:25] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:25] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:25] local.INFO: IMEI packet received {"connection_id":192313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":192313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:54:30] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:30] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:54:30] local.INFO: IMEI packet received {"connection_id":192313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:54:31] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:31] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:54:31] local.INFO: Packet analysis {"connection_id":192313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:54:31] local.INFO: Extracted packet for processing {"connection_id":192313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:54: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-25 13:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:54:31] 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-25 13:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:54: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-25 13:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":192313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:54:31] local.INFO: GPS data processed {"connection_id":192313,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:54:31] local.INFO: Acknowledgment sent {"connection_id":192313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:55:03] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:03] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:03] local.INFO: Packet analysis {"connection_id":192313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:55:03] local.INFO: Extracted packet for processing {"connection_id":192313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55: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-25 13:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:55:03] 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-25 13:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:55: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-25 13:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":192313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:55:03] local.INFO: GPS data processed {"connection_id":192313,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:55:03] local.INFO: Acknowledgment sent {"connection_id":192313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:55:25] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:25] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:25] local.INFO: IMEI packet received {"connection_id":192128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":192128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:55:30] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:30] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:55:30] local.INFO: IMEI packet received {"connection_id":192128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":192128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:55:31] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:31] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a6ada0012d34c14006aa49080009006e2b..."} 
[2026-09-25 13:55:31] local.INFO: Packet analysis {"connection_id":192128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:55:31] local.INFO: Extracted packet for processing {"connection_id":192128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a6"} 
[2026-09-25 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322974464001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:55: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-25 13:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324420000,"timestamp_ms":1790324420000,"timestamp_seconds":1790324420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a6ada0"} 
[2026-09-25 13: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-25 13:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 13:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13: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-25 13: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-25 13:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:55:31] 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-25 13:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322974464001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322974464001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:55: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-25 13:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322974464001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":192128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:55:31] local.INFO: GPS data processed {"connection_id":192128,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:55:31] local.INFO: Acknowledgment sent {"connection_id":192128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:56:03] local.INFO: TCP Data received {"connection_id":192128,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:03] local.INFO: Processing buffer {"connection_id":192128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:03] local.INFO: Packet analysis {"connection_id":192128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:56:03] local.INFO: Extracted packet for processing {"connection_id":192128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:56: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-25 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:56:03] 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-25 13:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:56:03] 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-25 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:56: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-25 13:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":192128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:56:03] local.INFO: GPS data processed {"connection_id":192128,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:56:03] local.INFO: Acknowledgment sent {"connection_id":192128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:56:31] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:31] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:31] local.INFO: IMEI packet received {"connection_id":192129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":192129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:56:35] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:35] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:56:35] local.INFO: IMEI packet received {"connection_id":192129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":192129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:56:36] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:36] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:56:36] local.INFO: Packet analysis {"connection_id":192129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:56:36] local.INFO: Extracted packet for processing {"connection_id":192129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:56: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-25 13:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13: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-25 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":192129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:56:36] local.INFO: GPS data processed {"connection_id":192129,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:56:36] local.INFO: Acknowledgment sent {"connection_id":192129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:57:08] local.INFO: TCP Data received {"connection_id":192129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:08] local.INFO: Processing buffer {"connection_id":192129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:08] local.INFO: Packet analysis {"connection_id":192129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:57:08] local.INFO: Extracted packet for processing {"connection_id":192129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:57: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-25 13:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":192129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:57:08] local.INFO: GPS data processed {"connection_id":192129,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:57:08] local.INFO: Acknowledgment sent {"connection_id":192129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:57:25] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:25] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:25] local.INFO: IMEI packet received {"connection_id":192315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":192315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:57:30] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:30] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:57:30] local.INFO: IMEI packet received {"connection_id":192315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":192315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:57:31] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:31] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:57:31] local.INFO: Packet analysis {"connection_id":192315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:57:31] local.INFO: Extracted packet for processing {"connection_id":192315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:57: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-25 13:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:57:31] 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-25 13:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:57: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-25 13:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":192315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:57:31] local.INFO: GPS data processed {"connection_id":192315,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:57:31] local.INFO: Acknowledgment sent {"connection_id":192315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:58:03] local.INFO: TCP Data received {"connection_id":192315,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:03] local.INFO: Processing buffer {"connection_id":192315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:03] local.INFO: Packet analysis {"connection_id":192315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:58:03] local.INFO: Extracted packet for processing {"connection_id":192315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58: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-25 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:58:03] 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-25 13:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:58:03] 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-25 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:58: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-25 13:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":192315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:58:03] local.INFO: GPS data processed {"connection_id":192315,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:58:03] local.INFO: Acknowledgment sent {"connection_id":192315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:58:19] local.INFO: TCP Data received {"connection_id":194985,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:58:19] local.INFO: Processing buffer {"connection_id":194985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:58:19] local.INFO: IMEI packet received {"connection_id":194985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":194985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:58:25] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:25] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:25] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:58:30] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:30] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:58:30] local.INFO: IMEI packet received {"connection_id":192130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":192130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:58:31] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:31] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:58:31] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:58:31] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:58: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-25 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:58: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-25 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:58:31] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:58:31] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:59:03] local.INFO: TCP Data received {"connection_id":192130,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:03] local.INFO: Processing buffer {"connection_id":192130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:03] local.INFO: Packet analysis {"connection_id":192130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:59:03] local.INFO: Extracted packet for processing {"connection_id":192130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:59:03] 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-25 13:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:59: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-25 13:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":192130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:59:03] local.INFO: GPS data processed {"connection_id":192130,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:59:03] local.INFO: Acknowledgment sent {"connection_id":192130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:59:04] local.INFO: TCP Data received {"connection_id":194986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:04] local.INFO: Processing buffer {"connection_id":194986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:04] local.INFO: IMEI packet received {"connection_id":194986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":194986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:59:09] local.INFO: TCP Data received {"connection_id":194986,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:09] local.INFO: Processing buffer {"connection_id":194986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:09] local.INFO: IMEI packet received {"connection_id":194986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":194986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:59:11] local.INFO: TCP Data received {"connection_id":194986,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7a5d2e0012d34c58006aa44480008005323..."} 
[2026-09-25 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7a5d2e0012d34c58006aa44480008005323..."} 
[2026-09-25 13:59:11] local.INFO: Processing buffer {"connection_id":194986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7a5d2e0012d34c58006aa44480008005323..."} 
[2026-09-25 13:59:11] local.INFO: Packet analysis {"connection_id":194986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7a5"} 
[2026-09-25 13:59:11] local.INFO: Extracted packet for processing {"connection_id":194986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7a5"} 
[2026-09-25 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821896,"longitude_deg":75.8433152,"latitude_deg":11.1821896,"altitude":8,"angle":83,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4448","is_valid_coordinates":true} 
[2026-09-25 13: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-25 13:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458322960128001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608043111579648,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499012608,"note":"Value kept but may cause issues"} 
[2026-09-25 13: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-25 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790324364000,"timestamp_ms":1790324364000,"timestamp_seconds":1790324364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7a5d2e0"} 
[2026-09-25 13: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-25 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-25 13:59:11] 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-25 13: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-25 13: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-25 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":194986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":194986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":194986,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458322960128001,"66":26267,"97":206,"81":23296,"24":0,"16":3608043111579648,"45":3802586226499012608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458322960128001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608043111579648,"km_value":3608043111579.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 13:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499012608,"description":"Unknown IO ID 45"} 
[2026-09-25 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458322960128001,"power":26267,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499012608}} 
[2026-09-25 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":194986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:59:11] local.INFO: GPS data processed {"connection_id":194986,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:59:11] local.INFO: Acknowledgment sent {"connection_id":194986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:59:25] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:25] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:25] local.INFO: IMEI packet received {"connection_id":193672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 13:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":193672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 13:59:30] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:30] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 13:59:30] local.INFO: IMEI packet received {"connection_id":193672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 13:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":193672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 13:59:31] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:31] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 13:59:31] local.INFO: Packet analysis {"connection_id":193672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:59:31] local.INFO: Extracted packet for processing {"connection_id":193672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 13:59: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-25 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 13:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 13:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 13:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 13:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 13:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 13:59: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-25 13:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":193672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 13:59:31] local.INFO: GPS data processed {"connection_id":193672,"processed":1,"errors":0,"total":1} 
[2026-09-25 13:59:31] local.INFO: Acknowledgment sent {"connection_id":193672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 13:59:54] local.INFO: TCP Data received {"connection_id":193673,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:54] local.INFO: Processing buffer {"connection_id":193673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 13:59:54] local.INFO: IMEI packet received {"connection_id":193673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 13:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":193673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:00:03] local.INFO: TCP Data received {"connection_id":193672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:03] local.INFO: Processing buffer {"connection_id":193672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:03] local.INFO: Packet analysis {"connection_id":193672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 14:00:03] local.INFO: Extracted packet for processing {"connection_id":193672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00: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-25 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 14:00:03] 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-25 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:00: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-25 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":193672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:00:03] local.INFO: GPS data processed {"connection_id":193672,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:00:03] local.INFO: Acknowledgment sent {"connection_id":193672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:00:25] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:25] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:25] local.INFO: IMEI packet received {"connection_id":193674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":193674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:00:30] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:30] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:00:30] local.INFO: IMEI packet received {"connection_id":193674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":193674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:00:31] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:31] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ab4568012d34c14006aa4908000b006e2d..."} 
[2026-09-25 14:00:31] local.INFO: Packet analysis {"connection_id":193674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 14:00:31] local.INFO: Extracted packet for processing {"connection_id":193674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ab"} 
[2026-09-25 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323051520001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:00: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-25 14:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790324721000,"timestamp_ms":1790324721000,"timestamp_seconds":1790324721,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ab4568"} 
[2026-09-25 14:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 14:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:00:31] 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-25 14:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323051520001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323051520001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:00: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-25 14:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323051520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":193674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:00:31] local.INFO: GPS data processed {"connection_id":193674,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:00:31] local.INFO: Acknowledgment sent {"connection_id":193674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:01:03] local.INFO: TCP Data received {"connection_id":193674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:03] local.INFO: Processing buffer {"connection_id":193674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:03] local.INFO: Packet analysis {"connection_id":193674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:01:03] local.INFO: Extracted packet for processing {"connection_id":193674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:01: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-25 14:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:01: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-25 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:01: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-25 14:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:01:03] 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-25 14:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:01: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-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":193674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:01:03] local.INFO: GPS data processed {"connection_id":193674,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:01:03] local.INFO: Acknowledgment sent {"connection_id":193674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:01:30] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:30] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:30] local.INFO: IMEI packet received {"connection_id":192131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:01:35] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:35] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:01:35] local.INFO: IMEI packet received {"connection_id":192131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:01:36] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:36] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:01:36] local.INFO: Packet analysis {"connection_id":192131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:01:36] local.INFO: Extracted packet for processing {"connection_id":192131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:01:36] local.INFO: GPS data processed {"connection_id":192131,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:01:36] local.INFO: Acknowledgment sent {"connection_id":192131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:02:08] local.INFO: TCP Data received {"connection_id":192131,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:08] local.INFO: Processing buffer {"connection_id":192131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:08] local.INFO: Packet analysis {"connection_id":192131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:02:08] local.INFO: Extracted packet for processing {"connection_id":192131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:02: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-25 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:02: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-25 14:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":192131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:02:08] local.INFO: GPS data processed {"connection_id":192131,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:02:08] local.INFO: Acknowledgment sent {"connection_id":192131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:02:25] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:25] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:25] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:02:30] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:30] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:02:30] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:02:31] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:31] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:02:31] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:02:31] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:02: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-25 14:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:02: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-25 14:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:02:31] 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-25 14:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:02: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-25 14:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:02:31] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:02:31] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:03:02] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:02] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:02] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:03:02] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03: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-25 14:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:03:02] 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-25 14:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:03:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:03: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-25 14:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:03:02] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:03:02] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:03:25] local.INFO: TCP Data received {"connection_id":193675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:25] local.INFO: Processing buffer {"connection_id":193675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:25] local.INFO: IMEI packet received {"connection_id":193675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":193675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:03:30] local.INFO: TCP Data received {"connection_id":193675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:30] local.INFO: Processing buffer {"connection_id":193675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:03:30] local.INFO: IMEI packet received {"connection_id":193675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":193675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:03:31] local.INFO: TCP Data received {"connection_id":193675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:31] local.INFO: Processing buffer {"connection_id":193675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:03:31] local.INFO: Packet analysis {"connection_id":193675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:03:31] local.INFO: Extracted packet for processing {"connection_id":193675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:03: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-25 14:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:03: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-25 14:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:03: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-25 14:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:03:31] 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-25 14:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:03: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-25 14:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":193675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:03:31] local.INFO: GPS data processed {"connection_id":193675,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:03:31] local.INFO: Acknowledgment sent {"connection_id":193675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:04:03] local.INFO: TCP Data received {"connection_id":193675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:03] local.INFO: Processing buffer {"connection_id":193675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:03] local.INFO: Packet analysis {"connection_id":193675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:04:03] local.INFO: Extracted packet for processing {"connection_id":193675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04: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-25 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:04: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-25 14:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:04:03] 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-25 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:04: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-25 14:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":193675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:04:03] local.INFO: GPS data processed {"connection_id":193675,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:04:03] local.INFO: Acknowledgment sent {"connection_id":193675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:04:25] local.INFO: TCP Data received {"connection_id":194989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:25] local.INFO: Processing buffer {"connection_id":194989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:25] local.INFO: IMEI packet received {"connection_id":194989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":194989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:04:30] local.INFO: TCP Data received {"connection_id":194989,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:30] local.INFO: Processing buffer {"connection_id":194989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:04:30] local.INFO: IMEI packet received {"connection_id":194989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":194989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:04:31] local.INFO: TCP Data received {"connection_id":194989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:31] local.INFO: Processing buffer {"connection_id":194989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:04:31] local.INFO: Packet analysis {"connection_id":194989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:04:31] local.INFO: Extracted packet for processing {"connection_id":194989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:04: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-25 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:04: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-25 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:04: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-25 14:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:04:31] 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-25 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:04: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-25 14:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":194989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:04:31] local.INFO: GPS data processed {"connection_id":194989,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:04:31] local.INFO: Acknowledgment sent {"connection_id":194989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:05:03] local.INFO: TCP Data received {"connection_id":194989,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:03] local.INFO: Processing buffer {"connection_id":194989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:03] local.INFO: Packet analysis {"connection_id":194989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:05:03] local.INFO: Extracted packet for processing {"connection_id":194989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05: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-25 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14: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-25 14:05: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-25 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:05: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-25 14: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-25 14: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-25 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:05:03] 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-25 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:05: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-25 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":194989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:05:03] local.INFO: GPS data processed {"connection_id":194989,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:05:03] local.INFO: Acknowledgment sent {"connection_id":194989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:05:14] local.INFO: TCP Data received {"connection_id":194990,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:05:14] local.INFO: Processing buffer {"connection_id":194990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:05:14] local.INFO: IMEI packet received {"connection_id":194990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":194990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:05:25] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:25] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:25] local.INFO: IMEI packet received {"connection_id":192133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":192133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:05:30] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:30] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:05:30] local.INFO: IMEI packet received {"connection_id":192133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":192133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:05:31] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:31] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7afdd30012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:05:31] local.INFO: Packet analysis {"connection_id":192133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:05:31] local.INFO: Extracted packet for processing {"connection_id":192133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7af"} 
[2026-09-25 14:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323128576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:05: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-25 14:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325022000,"timestamp_ms":1790325022000,"timestamp_seconds":1790325022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7afdd30"} 
[2026-09-25 14: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-25 14:05: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-25 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:05: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-25 14: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-25 14: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-25 14:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:05:31] 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-25 14:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323128576001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323128576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:05: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-25 14:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323128576001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":192133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:05:31] local.INFO: GPS data processed {"connection_id":192133,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:05:31] local.INFO: Acknowledgment sent {"connection_id":192133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:06:02] local.INFO: TCP Data received {"connection_id":192133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:02] local.INFO: Processing buffer {"connection_id":192133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:02] local.INFO: Packet analysis {"connection_id":192133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:02] local.INFO: Extracted packet for processing {"connection_id":192133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06: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-25 14:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:02] 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-25 14:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:06: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-25 14:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":192133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:06:02] local.INFO: GPS data processed {"connection_id":192133,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:06:02] local.INFO: Acknowledgment sent {"connection_id":192133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:06:30] local.INFO: TCP Data received {"connection_id":194992,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:30] local.INFO: Processing buffer {"connection_id":194992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:30] local.INFO: IMEI packet received {"connection_id":194992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":194992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:06:37] local.INFO: TCP Data received {"connection_id":194992,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:37] local.INFO: Processing buffer {"connection_id":194992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:06:37] local.INFO: IMEI packet received {"connection_id":194992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":194992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:06:39] local.INFO: TCP Data received {"connection_id":194992,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:39] local.INFO: Processing buffer {"connection_id":194992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:39] local.INFO: Packet analysis {"connection_id":194992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:39] local.INFO: Extracted packet for processing {"connection_id":194992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14: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-25 14:06: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-25 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:06: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-25 14: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-25 14: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-25 14:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":194992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:06:39] local.INFO: GPS data processed {"connection_id":194992,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:06:39] local.INFO: Acknowledgment sent {"connection_id":194992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:06:40] local.INFO: TCP Data received {"connection_id":194992,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:40] local.INFO: Processing buffer {"connection_id":194992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:06:40] local.INFO: Packet analysis {"connection_id":194992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:40] local.INFO: Extracted packet for processing {"connection_id":194992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14: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-25 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:06: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-25 14: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-25 14: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-25 14:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":194992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:06:40] local.INFO: GPS data processed {"connection_id":194992,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:06:40] local.INFO: Acknowledgment sent {"connection_id":194992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:07:26] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:26] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:26] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:07:30] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:30] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:07:30] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:07:31] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:07:31] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:07:31] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:07:31] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:07: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-25 14:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:07: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-25 14:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:07:31] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:07:31] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:08:03] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:03] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:03] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:08:03] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08: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-25 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:08: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-25 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:08:03] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:08:03] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:08:25] local.INFO: TCP Data received {"connection_id":193677,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:25] local.INFO: Processing buffer {"connection_id":193677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:25] local.INFO: IMEI packet received {"connection_id":193677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":193677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:08:30] local.INFO: TCP Data received {"connection_id":193677,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:30] local.INFO: Processing buffer {"connection_id":193677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:08:30] local.INFO: IMEI packet received {"connection_id":193677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":193677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:08:31] local.INFO: TCP Data received {"connection_id":193677,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:31] local.INFO: Processing buffer {"connection_id":193677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:08:31] local.INFO: Packet analysis {"connection_id":193677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:08:31] local.INFO: Extracted packet for processing {"connection_id":193677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:08: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-25 14:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14: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-25 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:08: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-25 14:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":193677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:08:31] local.INFO: GPS data processed {"connection_id":193677,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:08:31] local.INFO: Acknowledgment sent {"connection_id":193677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:09:05] local.INFO: TCP Data received {"connection_id":193677,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:05] local.INFO: Processing buffer {"connection_id":193677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:05] local.INFO: Packet analysis {"connection_id":193677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:09:05] local.INFO: Extracted packet for processing {"connection_id":193677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":193677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:09:05] local.INFO: GPS data processed {"connection_id":193677,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:09:05] local.INFO: Acknowledgment sent {"connection_id":193677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:09:25] local.INFO: TCP Data received {"connection_id":194994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:25] local.INFO: Processing buffer {"connection_id":194994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:25] local.INFO: IMEI packet received {"connection_id":194994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":194994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:09:30] local.INFO: TCP Data received {"connection_id":194994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:30] local.INFO: Processing buffer {"connection_id":194994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:09:30] local.INFO: IMEI packet received {"connection_id":194994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":194994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:09:31] local.INFO: TCP Data received {"connection_id":194994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:31] local.INFO: Processing buffer {"connection_id":194994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:09:31] local.INFO: Packet analysis {"connection_id":194994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:09:31] local.INFO: Extracted packet for processing {"connection_id":194994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:09: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-25 14:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:09:31] 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-25 14:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:09: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-25 14:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":194994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:09:31] local.INFO: GPS data processed {"connection_id":194994,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:09:31] local.INFO: Acknowledgment sent {"connection_id":194994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:10:03] local.INFO: TCP Data received {"connection_id":194994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:03] local.INFO: Processing buffer {"connection_id":194994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:03] local.INFO: Packet analysis {"connection_id":194994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:03] local.INFO: Extracted packet for processing {"connection_id":194994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10: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-25 14:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:03] 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-25 14:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:10: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-25 14:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":194994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:10:03] local.INFO: GPS data processed {"connection_id":194994,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:10:03] local.INFO: Acknowledgment sent {"connection_id":194994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:10:31] local.INFO: TCP Data received {"connection_id":192134,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:31] local.INFO: Processing buffer {"connection_id":192134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:31] local.INFO: IMEI packet received {"connection_id":192134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":192134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:10:35] local.INFO: TCP Data received {"connection_id":192134,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:35] local.INFO: Processing buffer {"connection_id":192134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:10:35] local.INFO: IMEI packet received {"connection_id":192134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:10:38] local.INFO: TCP Data received {"connection_id":192134,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:38] local.INFO: Processing buffer {"connection_id":192134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:38] local.INFO: Packet analysis {"connection_id":192134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:38] local.INFO: Extracted packet for processing {"connection_id":192134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14: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-25 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:10: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-25 14: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-25 14: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-25 14:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":192134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:10:38] local.INFO: GPS data processed {"connection_id":192134,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:10:38] local.INFO: Acknowledgment sent {"connection_id":192134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:10:41] local.INFO: TCP Data received {"connection_id":192134,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:41] local.INFO: Processing buffer {"connection_id":192134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b474f8012d34c14006aa49080007006e2c..."} 
[2026-09-25 14:10:41] local.INFO: Packet analysis {"connection_id":192134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:41] local.INFO: Extracted packet for processing {"connection_id":192134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b4"} 
[2026-09-25 14:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323205632001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790325323000,"timestamp_ms":1790325323000,"timestamp_seconds":1790325323,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b474f8"} 
[2026-09-25 14: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-25 14:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 14:10: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-25 14: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-25 14: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-25 14:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323205632001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323205632001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323205632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":192134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:10:41] local.INFO: GPS data processed {"connection_id":192134,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:10:41] local.INFO: Acknowledgment sent {"connection_id":192134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:11:04] local.INFO: TCP Data received {"connection_id":194995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:11:04] local.INFO: Processing buffer {"connection_id":194995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:11:04] local.INFO: IMEI packet received {"connection_id":194995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":194995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:11:25] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:25] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:25] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:11:30] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:30] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:11:30] local.INFO: IMEI packet received {"connection_id":192135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:11:31] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:11:31] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:11:31] local.INFO: Packet analysis {"connection_id":192135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:11:31] local.INFO: Extracted packet for processing {"connection_id":192135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:11: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-25 14:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:11: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-25 14:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:11: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-25 14:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:11: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-25 14:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":192135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:11:31] local.INFO: GPS data processed {"connection_id":192135,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:11:31] local.INFO: Acknowledgment sent {"connection_id":192135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:12:03] local.INFO: TCP Data received {"connection_id":192135,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:03] local.INFO: Processing buffer {"connection_id":192135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:03] local.INFO: Packet analysis {"connection_id":192135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:12:03] local.INFO: Extracted packet for processing {"connection_id":192135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12: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-25 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:12: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-25 14:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:12: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-25 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:12: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-25 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":192135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:12:03] local.INFO: GPS data processed {"connection_id":192135,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:12:03] local.INFO: Acknowledgment sent {"connection_id":192135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:12:25] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:25] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:25] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:12:30] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:30] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:12:30] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:12:32] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:32] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:12:32] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:12:32] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:12:32] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:12:32] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:13:03] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:03] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:03] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:13:03] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13: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-25 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:13: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-25 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:13: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-25 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:13:03] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:13:03] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:13:25] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:25] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:25] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:13:30] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:30] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:13:30] local.INFO: IMEI packet received {"connection_id":192137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":192137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:13:31] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:31] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:13:31] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:13:31] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:13: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-25 14:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14: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-25 14:13: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-25 14:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:13: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-25 14: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-25 14: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-25 14:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:13: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-25 14:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:13: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-25 14:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:13:31] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:13:31] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:14:03] local.INFO: TCP Data received {"connection_id":192137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:03] local.INFO: Processing buffer {"connection_id":192137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:03] local.INFO: Packet analysis {"connection_id":192137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:14:03] local.INFO: Extracted packet for processing {"connection_id":192137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14: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-25 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:14: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-25 14:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:14: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-25 14:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":192137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:14:03] local.INFO: GPS data processed {"connection_id":192137,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:14:03] local.INFO: Acknowledgment sent {"connection_id":192137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:14:25] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:25] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:25] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:14:30] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:30] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:14:30] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:14:31] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:31] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:14:31] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:14:31] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:14: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-25 14:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14: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-25 14:14: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-25 14:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:14: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-25 14:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:14: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-25 14:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:14:31] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:14:31] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:15:03] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:03] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:03] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:03] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15: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-25 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:15: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-25 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:15: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-25 14:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15: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-25 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:15: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-25 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:15:03] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:15:03] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:15:30] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:30] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:30] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:15:35] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:35] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:15:35] local.INFO: IMEI packet received {"connection_id":192139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":192139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:15:36] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:36] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:36] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:36] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14: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-25 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:15: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-25 14: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-25 14: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-25 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:15:36] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:15:36] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:15:40] local.INFO: TCP Data received {"connection_id":192139,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:40] local.INFO: Processing buffer {"connection_id":192139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7b90cc0012d34c14006aa4908000a006e2b..."} 
[2026-09-25 14:15:40] local.INFO: Packet analysis {"connection_id":192139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:40] local.INFO: Extracted packet for processing {"connection_id":192139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7b9"} 
[2026-09-25 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323282688001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790325624000,"timestamp_ms":1790325624000,"timestamp_seconds":1790325624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7b90cc0"} 
[2026-09-25 14:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:15: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-25 14:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323282688001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323282688001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323282688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":192139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:15:40] local.INFO: GPS data processed {"connection_id":192139,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:15:40] local.INFO: Acknowledgment sent {"connection_id":192139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:16:25] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:25] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:25] local.INFO: IMEI packet received {"connection_id":193681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":193681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:16:30] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:30] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:16:30] local.INFO: IMEI packet received {"connection_id":193681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":193681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:16:31] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:16:31] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:16:31] local.INFO: Packet analysis {"connection_id":193681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:16:31] local.INFO: Extracted packet for processing {"connection_id":193681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:16: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-25 14:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:16:31] 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-25 14:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:16:31] 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-25 14:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:16: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-25 14:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":193681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:16:31] local.INFO: GPS data processed {"connection_id":193681,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:16:31] local.INFO: Acknowledgment sent {"connection_id":193681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:16:34] local.INFO: TCP Data received {"connection_id":192321,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:16:34] local.INFO: Processing buffer {"connection_id":192321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:16:34] local.INFO: IMEI packet received {"connection_id":192321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":192321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:17:03] local.INFO: TCP Data received {"connection_id":193681,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:03] local.INFO: Processing buffer {"connection_id":193681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:03] local.INFO: Packet analysis {"connection_id":193681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:17:03] local.INFO: Extracted packet for processing {"connection_id":193681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17: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-25 14:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:17:03] 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-25 14:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:17:03] 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-25 14:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:17: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-25 14:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":193681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:17:03] local.INFO: GPS data processed {"connection_id":193681,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:17:03] local.INFO: Acknowledgment sent {"connection_id":193681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:17:04] local.INFO: TCP Data received {"connection_id":194997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:17:04] local.INFO: Processing buffer {"connection_id":194997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:17:04] local.INFO: IMEI packet received {"connection_id":194997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":194997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:17:25] local.INFO: TCP Data received {"connection_id":194998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:25] local.INFO: Processing buffer {"connection_id":194998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:25] local.INFO: IMEI packet received {"connection_id":194998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":194998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:17:30] local.INFO: TCP Data received {"connection_id":194998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:30] local.INFO: Processing buffer {"connection_id":194998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:17:30] local.INFO: IMEI packet received {"connection_id":194998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":194998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:17:31] local.INFO: TCP Data received {"connection_id":194998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:31] local.INFO: Processing buffer {"connection_id":194998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:17:31] local.INFO: Packet analysis {"connection_id":194998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:17:31] local.INFO: Extracted packet for processing {"connection_id":194998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:17: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-25 14:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:17:31] 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-25 14:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:17: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-25 14:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":194998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:17:31] local.INFO: GPS data processed {"connection_id":194998,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:17:31] local.INFO: Acknowledgment sent {"connection_id":194998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:18:03] local.INFO: TCP Data received {"connection_id":194998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:03] local.INFO: Processing buffer {"connection_id":194998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:03] local.INFO: Packet analysis {"connection_id":194998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:18:03] local.INFO: Extracted packet for processing {"connection_id":194998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18: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-25 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:18:03] 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-25 14:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:18: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-25 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":194998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:18:03] local.INFO: GPS data processed {"connection_id":194998,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:18:03] local.INFO: Acknowledgment sent {"connection_id":194998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:18:25] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:25] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:25] local.INFO: IMEI packet received {"connection_id":193682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":193682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:18:30] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:30] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:18:30] local.INFO: IMEI packet received {"connection_id":193682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":193682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:18:32] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:32] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:18:32] local.INFO: Packet analysis {"connection_id":193682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:18:32] local.INFO: Extracted packet for processing {"connection_id":193682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:18: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-25 14:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:18:32] 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-25 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":193682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:18:32] local.INFO: GPS data processed {"connection_id":193682,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:18:32] local.INFO: Acknowledgment sent {"connection_id":193682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:19:03] local.INFO: TCP Data received {"connection_id":193682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:03] local.INFO: Processing buffer {"connection_id":193682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:03] local.INFO: Packet analysis {"connection_id":193682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:19:03] local.INFO: Extracted packet for processing {"connection_id":193682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19: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-25 14:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:19:03] 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-25 14:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:19:03] 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-25 14:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:19: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-25 14:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":193682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:19:03] local.INFO: GPS data processed {"connection_id":193682,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:19:03] local.INFO: Acknowledgment sent {"connection_id":193682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:19:25] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:25] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:25] local.INFO: IMEI packet received {"connection_id":192323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":192323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:19:30] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:30] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:19:30] local.INFO: IMEI packet received {"connection_id":192323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:19:31] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:31] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:19:31] local.INFO: Packet analysis {"connection_id":192323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:19:31] local.INFO: Extracted packet for processing {"connection_id":192323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:19: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-25 14:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:19:31] 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-25 14:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:19: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-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":192323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:19:31] local.INFO: GPS data processed {"connection_id":192323,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:19:31] local.INFO: Acknowledgment sent {"connection_id":192323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:20:04] local.INFO: TCP Data received {"connection_id":192323,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:04] local.INFO: Processing buffer {"connection_id":192323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:04] local.INFO: Packet analysis {"connection_id":192323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:20:04] local.INFO: Extracted packet for processing {"connection_id":192323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14: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-25 14: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-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:20: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-25 14: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-25 14: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-25 14:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":192323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:20:04] local.INFO: GPS data processed {"connection_id":192323,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:20:04] local.INFO: Acknowledgment sent {"connection_id":192323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:20:25] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:25] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:25] local.INFO: IMEI packet received {"connection_id":193684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":193684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:20:30] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:30] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:20:30] local.INFO: IMEI packet received {"connection_id":193684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":193684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:20:31] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:31] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:20:31] local.INFO: Packet analysis {"connection_id":193684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:20:31] local.INFO: Extracted packet for processing {"connection_id":193684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:20: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-25 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:20:31] 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-25 14:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:20:31] 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-25 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:20: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-25 14:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":193684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:20:31] local.INFO: GPS data processed {"connection_id":193684,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:20:31] local.INFO: Acknowledgment sent {"connection_id":193684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:21:02] local.INFO: TCP Data received {"connection_id":193684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:21:02] local.INFO: Processing buffer {"connection_id":193684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7bda488012d34c14006aa4908000c006e2c..."} 
[2026-09-25 14:21:02] local.INFO: Packet analysis {"connection_id":193684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:21:02] local.INFO: Extracted packet for processing {"connection_id":193684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7bd"} 
[2026-09-25 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323359744001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:21: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-25 14:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790325925000,"timestamp_ms":1790325925000,"timestamp_seconds":1790325925,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7bda488"} 
[2026-09-25 14:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:21:02] 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-25 14:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323359744001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323359744001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:21: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-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323359744001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":193684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:21:02] local.INFO: GPS data processed {"connection_id":193684,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:21:02] local.INFO: Acknowledgment sent {"connection_id":193684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:21:30] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:30] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:30] local.INFO: IMEI packet received {"connection_id":193685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":193685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:21:35] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:35] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:21:35] local.INFO: IMEI packet received {"connection_id":193685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":193685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:21:36] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:21:36] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:21:36] local.INFO: Packet analysis {"connection_id":193685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:21:36] local.INFO: Extracted packet for processing {"connection_id":193685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":193685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:21:36] local.INFO: GPS data processed {"connection_id":193685,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:21:36] local.INFO: Acknowledgment sent {"connection_id":193685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:22:08] local.INFO: TCP Data received {"connection_id":193685,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:08] local.INFO: Processing buffer {"connection_id":193685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:08] local.INFO: Packet analysis {"connection_id":193685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:22:08] local.INFO: Extracted packet for processing {"connection_id":193685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14: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-25 14:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:22: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-25 14: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-25 14: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-25 14:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":193685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:22:08] local.INFO: GPS data processed {"connection_id":193685,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:22:08] local.INFO: Acknowledgment sent {"connection_id":193685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:22:19] local.INFO: TCP Data received {"connection_id":192142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:22:19] local.INFO: Processing buffer {"connection_id":192142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:22:19] local.INFO: IMEI packet received {"connection_id":192142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":192142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:22:25] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:25] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:25] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:22:30] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:30] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:22:30] local.INFO: IMEI packet received {"connection_id":192143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:22:31] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:31] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:22:31] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:22:31] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:22: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-25 14:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:22: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-25 14:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:22:31] 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-25 14:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:22: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-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:22:31] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:22:31] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:23:03] local.INFO: TCP Data received {"connection_id":192143,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:03] local.INFO: Processing buffer {"connection_id":192143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:03] local.INFO: Packet analysis {"connection_id":192143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:23:03] local.INFO: Extracted packet for processing {"connection_id":192143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23: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-25 14:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:23: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-25 14:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:23:03] 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-25 14:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:23: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-25 14:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":192143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:23:03] local.INFO: GPS data processed {"connection_id":192143,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:23:03] local.INFO: Acknowledgment sent {"connection_id":192143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:23:04] local.INFO: TCP Data received {"connection_id":192144,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:23:04] local.INFO: Processing buffer {"connection_id":192144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:23:04] local.INFO: IMEI packet received {"connection_id":192144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":192144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:23:25] local.INFO: TCP Data received {"connection_id":194999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:25] local.INFO: Processing buffer {"connection_id":194999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:25] local.INFO: IMEI packet received {"connection_id":194999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":194999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:23:31] local.INFO: TCP Data received {"connection_id":194999,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:31] local.INFO: Processing buffer {"connection_id":194999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:23:31] local.INFO: IMEI packet received {"connection_id":194999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":194999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:23:33] local.INFO: TCP Data received {"connection_id":194999,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:33] local.INFO: Processing buffer {"connection_id":194999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:23:33] local.INFO: Packet analysis {"connection_id":194999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:23:33] local.INFO: Extracted packet for processing {"connection_id":194999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:23: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-25 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:23: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-25 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:23: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-25 14:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:23:33] 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-25 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:23: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-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":194999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:23:33] local.INFO: GPS data processed {"connection_id":194999,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:23:33] local.INFO: Acknowledgment sent {"connection_id":194999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:24:04] local.INFO: TCP Data received {"connection_id":194999,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:04] local.INFO: Processing buffer {"connection_id":194999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:04] local.INFO: Packet analysis {"connection_id":194999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:24:04] local.INFO: Extracted packet for processing {"connection_id":194999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24: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-25 14:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:24: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-25 14:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:24: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-25 14:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":194999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:24:04] local.INFO: GPS data processed {"connection_id":194999,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:24:04] local.INFO: Acknowledgment sent {"connection_id":194999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:24:25] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:25] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:25] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:24:30] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:30] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:24:30] local.INFO: IMEI packet received {"connection_id":192145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:24:31] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:31] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:24:31] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:24:31] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:24: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-25 14:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:24: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-25 14:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:24:31] 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-25 14:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:24: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-25 14:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:24:31] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:24:31] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:25:02] local.INFO: TCP Data received {"connection_id":192145,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:02] local.INFO: Processing buffer {"connection_id":192145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:02] local.INFO: Packet analysis {"connection_id":192145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:25:02] local.INFO: Extracted packet for processing {"connection_id":192145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25: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-25 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:25:02] 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-25 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:25: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-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":192145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:25:02] local.INFO: GPS data processed {"connection_id":192145,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:25:02] local.INFO: Acknowledgment sent {"connection_id":192145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:25:25] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:25] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:25] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:25:30] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:30] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:25:30] local.INFO: IMEI packet received {"connection_id":192146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:25:31] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:31] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:25:31] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:25:31] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:25: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-25 14:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14: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-25 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:25: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-25 14: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-25 14: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-25 14:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:25:31] 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-25 14:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:25: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-25 14:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:25:31] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:25:31] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:26:03] local.INFO: TCP Data received {"connection_id":192146,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:26:03] local.INFO: Processing buffer {"connection_id":192146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c23c50012d34c14006aa49080005006e2d..."} 
[2026-09-25 14:26:03] local.INFO: Packet analysis {"connection_id":192146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:26:03] local.INFO: Extracted packet for processing {"connection_id":192146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c2"} 
[2026-09-25 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323436800001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26: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-25 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326226000,"timestamp_ms":1790326226000,"timestamp_seconds":1790326226,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c23c50"} 
[2026-09-25 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:26: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-25 14:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:26:03] 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-25 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323436800001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323436800001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:26: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-25 14:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323436800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":192146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:26:03] local.INFO: GPS data processed {"connection_id":192146,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:26:03] local.INFO: Acknowledgment sent {"connection_id":192146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:26:30] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:30] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:30] local.INFO: IMEI packet received {"connection_id":192147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":192147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:26:35] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:35] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:26:35] local.INFO: IMEI packet received {"connection_id":192147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":192147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:26:37] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:26:37] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:26:37] local.INFO: Packet analysis {"connection_id":192147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:26:37] local.INFO: Extracted packet for processing {"connection_id":192147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:26: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-25 14:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":192147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:26:37] local.INFO: GPS data processed {"connection_id":192147,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:26:37] local.INFO: Acknowledgment sent {"connection_id":192147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:27:08] local.INFO: TCP Data received {"connection_id":192147,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:08] local.INFO: Processing buffer {"connection_id":192147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:08] local.INFO: Packet analysis {"connection_id":192147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:27:08] local.INFO: Extracted packet for processing {"connection_id":192147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:27: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-25 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:27: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-25 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":192147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:27:08] local.INFO: GPS data processed {"connection_id":192147,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:27:08] local.INFO: Acknowledgment sent {"connection_id":192147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:27:25] local.INFO: TCP Data received {"connection_id":195000,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:25] local.INFO: Processing buffer {"connection_id":195000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:25] local.INFO: IMEI packet received {"connection_id":195000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":195000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:27:30] local.INFO: TCP Data received {"connection_id":195000,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:30] local.INFO: Processing buffer {"connection_id":195000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:27:30] local.INFO: IMEI packet received {"connection_id":195000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":195000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:27:31] local.INFO: TCP Data received {"connection_id":195000,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:31] local.INFO: Processing buffer {"connection_id":195000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:27:31] local.INFO: Packet analysis {"connection_id":195000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:27:31] local.INFO: Extracted packet for processing {"connection_id":195000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:27: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-25 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:27:31] 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-25 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:27: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-25 14:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":195000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:27:31] local.INFO: GPS data processed {"connection_id":195000,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:27:31] local.INFO: Acknowledgment sent {"connection_id":195000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:28:02] local.INFO: TCP Data received {"connection_id":195000,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:02] local.INFO: Processing buffer {"connection_id":195000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:02] local.INFO: Packet analysis {"connection_id":195000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:28:02] local.INFO: Extracted packet for processing {"connection_id":195000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28: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-25 14:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:28:02] 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-25 14:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:28: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-25 14:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":195000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:28:02] local.INFO: GPS data processed {"connection_id":195000,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:28:02] local.INFO: Acknowledgment sent {"connection_id":195000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:28:25] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:25] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:25] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:28:30] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:30] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:28:30] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:28:31] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:31] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:28:31] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:28:31] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:28: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-25 14:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:28:31] 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-25 14:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:28: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-25 14:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:28:31] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:28:31] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:28:39] local.INFO: TCP Data received {"connection_id":192149,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:28:39] local.INFO: Processing buffer {"connection_id":192149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:28:39] local.INFO: IMEI packet received {"connection_id":192149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":192149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:29:03] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:03] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:03] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:29:03] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29: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-25 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:29:03] 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-25 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:29: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-25 14:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:29:03] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:29:03] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:29:14] local.INFO: TCP Data received {"connection_id":192150,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:29:14] local.INFO: Processing buffer {"connection_id":192150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:29:14] local.INFO: IMEI packet received {"connection_id":192150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":192150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:29:25] local.INFO: TCP Data received {"connection_id":195001,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:25] local.INFO: Processing buffer {"connection_id":195001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:25] local.INFO: IMEI packet received {"connection_id":195001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":195001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:29:30] local.INFO: TCP Data received {"connection_id":195001,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:30] local.INFO: Processing buffer {"connection_id":195001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:29:30] local.INFO: IMEI packet received {"connection_id":195001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":195001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:29:31] local.INFO: TCP Data received {"connection_id":195001,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:31] local.INFO: Processing buffer {"connection_id":195001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:29:31] local.INFO: Packet analysis {"connection_id":195001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:29:31] local.INFO: Extracted packet for processing {"connection_id":195001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:29: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-25 14:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:29:31] 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-25 14:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:29: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-25 14:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":195001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:29:31] local.INFO: GPS data processed {"connection_id":195001,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:29:31] local.INFO: Acknowledgment sent {"connection_id":195001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:30:03] local.INFO: TCP Data received {"connection_id":195001,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:03] local.INFO: Processing buffer {"connection_id":195001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:03] local.INFO: Packet analysis {"connection_id":195001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:03] local.INFO: Extracted packet for processing {"connection_id":195001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30: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-25 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:03] 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-25 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:30: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-25 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":195001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:30:03] local.INFO: GPS data processed {"connection_id":195001,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:30:03] local.INFO: Acknowledgment sent {"connection_id":195001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:30:30] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:30] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:30] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:30:35] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:35] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:30:35] local.INFO: IMEI packet received {"connection_id":192151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":192151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:30:36] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:36] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:36] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:36] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14: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-25 14:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:30: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-25 14: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-25 14: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-25 14:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:30:36] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:30:36] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:30:41] local.INFO: TCP Data received {"connection_id":192151,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:41] local.INFO: Processing buffer {"connection_id":192151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7c6d418012d34c14006aa4908000c006e2b..."} 
[2026-09-25 14:30:41] local.INFO: Packet analysis {"connection_id":192151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:41] local.INFO: Extracted packet for processing {"connection_id":192151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7c6"} 
[2026-09-25 14:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323513856001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:30: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-25 14:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790326527000,"timestamp_ms":1790326527000,"timestamp_seconds":1790326527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7c6d418"} 
[2026-09-25 14:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323513856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323513856001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:30: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-25 14:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323513856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":192151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:30:41] local.INFO: GPS data processed {"connection_id":192151,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:30:41] local.INFO: Acknowledgment sent {"connection_id":192151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:31:25] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:25] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:25] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:31:30] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:30] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:31:30] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:31:31] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:31:31] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:31:31] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:31:31] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:31: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-25 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:31:31] 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-25 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:31: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-25 14:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:31:31] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:31:31] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:32:03] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:03] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:03] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:32:03] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32: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-25 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:32:03] 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-25 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:32: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-25 14:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:32:03] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:32:03] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:32:25] local.INFO: TCP Data received {"connection_id":195004,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:25] local.INFO: Processing buffer {"connection_id":195004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:25] local.INFO: IMEI packet received {"connection_id":195004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":195004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:32:30] local.INFO: TCP Data received {"connection_id":195004,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:30] local.INFO: Processing buffer {"connection_id":195004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:32:30] local.INFO: IMEI packet received {"connection_id":195004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":195004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:32:31] local.INFO: TCP Data received {"connection_id":195004,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:31] local.INFO: Processing buffer {"connection_id":195004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:32:31] local.INFO: Packet analysis {"connection_id":195004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:32:31] local.INFO: Extracted packet for processing {"connection_id":195004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:32: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-25 14:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:32:31] 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-25 14:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:32: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-25 14:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":195004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:32:31] local.INFO: GPS data processed {"connection_id":195004,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:32:31] local.INFO: Acknowledgment sent {"connection_id":195004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:33:03] local.INFO: TCP Data received {"connection_id":195004,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:03] local.INFO: Processing buffer {"connection_id":195004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:03] local.INFO: Packet analysis {"connection_id":195004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:33:03] local.INFO: Extracted packet for processing {"connection_id":195004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33: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-25 14:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:33:03] 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-25 14:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:33: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-25 14:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":195004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:33:03] local.INFO: GPS data processed {"connection_id":195004,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:33:03] local.INFO: Acknowledgment sent {"connection_id":195004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:33:26] local.INFO: TCP Data received {"connection_id":195005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:26] local.INFO: Processing buffer {"connection_id":195005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:26] local.INFO: IMEI packet received {"connection_id":195005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":195005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:33:30] local.INFO: TCP Data received {"connection_id":195005,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:30] local.INFO: Processing buffer {"connection_id":195005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:33:30] local.INFO: IMEI packet received {"connection_id":195005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":195005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:33:31] local.INFO: TCP Data received {"connection_id":195005,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:31] local.INFO: Processing buffer {"connection_id":195005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:33:31] local.INFO: Packet analysis {"connection_id":195005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:33:31] local.INFO: Extracted packet for processing {"connection_id":195005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:33: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-25 14:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:33:31] 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-25 14:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:33: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-25 14:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":195005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:33:31] local.INFO: GPS data processed {"connection_id":195005,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:33:31] local.INFO: Acknowledgment sent {"connection_id":195005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:34:02] local.INFO: TCP Data received {"connection_id":195005,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:02] local.INFO: Processing buffer {"connection_id":195005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:02] local.INFO: Packet analysis {"connection_id":195005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:34:02] local.INFO: Extracted packet for processing {"connection_id":195005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34: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-25 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:34:02] 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-25 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:34: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-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":195005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:34:02] local.INFO: GPS data processed {"connection_id":195005,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:34:02] local.INFO: Acknowledgment sent {"connection_id":195005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:34:25] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:25] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:25] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:34:30] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:30] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:34:30] local.INFO: IMEI packet received {"connection_id":192152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:34:31] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:31] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:34:31] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:34:31] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:34: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-25 14:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14: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-25 14:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:34: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-25 14:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:34:31] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:34:31] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:34:39] local.INFO: TCP Data received {"connection_id":195006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:34:39] local.INFO: Processing buffer {"connection_id":195006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:34:39] local.INFO: IMEI packet received {"connection_id":195006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":195006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:35:03] local.INFO: TCP Data received {"connection_id":192152,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:03] local.INFO: Processing buffer {"connection_id":192152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:03] local.INFO: Packet analysis {"connection_id":192152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:03] local.INFO: Extracted packet for processing {"connection_id":192152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35: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-25 14:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:35: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-25 14:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":192152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:35:03] local.INFO: GPS data processed {"connection_id":192152,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:35:03] local.INFO: Acknowledgment sent {"connection_id":192152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:35:04] local.INFO: TCP Data received {"connection_id":195007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:35:04] local.INFO: Processing buffer {"connection_id":195007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:35:04] local.INFO: IMEI packet received {"connection_id":195007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":195007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:35:30] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:30] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:30] local.INFO: IMEI packet received {"connection_id":193689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":193689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:35:35] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:35] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:35:35] local.INFO: IMEI packet received {"connection_id":193689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":193689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:35:36] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:36] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:36] local.INFO: Packet analysis {"connection_id":193689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:36] local.INFO: Extracted packet for processing {"connection_id":193689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14: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-25 14:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":193689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:35:36] local.INFO: GPS data processed {"connection_id":193689,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:35:36] local.INFO: Acknowledgment sent {"connection_id":193689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:35:41] local.INFO: TCP Data received {"connection_id":193689,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:41] local.INFO: Processing buffer {"connection_id":193689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7cb6be0012d34c14006aa4908000e006e2c..."} 
[2026-09-25 14:35:41] local.INFO: Packet analysis {"connection_id":193689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:41] local.INFO: Extracted packet for processing {"connection_id":193689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7cb"} 
[2026-09-25 14:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790326828000,"timestamp_ms":1790326828000,"timestamp_seconds":1790326828,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7cb6be0"} 
[2026-09-25 14: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-25 14:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 14:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323590912001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323590912001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":193689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:35:41] local.INFO: GPS data processed {"connection_id":193689,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:35:41] local.INFO: Acknowledgment sent {"connection_id":193689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:36:25] local.INFO: TCP Data received {"connection_id":195008,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:25] local.INFO: Processing buffer {"connection_id":195008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:25] local.INFO: IMEI packet received {"connection_id":195008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":195008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:36:30] local.INFO: TCP Data received {"connection_id":195008,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:30] local.INFO: Processing buffer {"connection_id":195008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:36:30] local.INFO: IMEI packet received {"connection_id":195008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":195008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:36:31] local.INFO: TCP Data received {"connection_id":195008,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:36:31] local.INFO: Processing buffer {"connection_id":195008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:36:31] local.INFO: Packet analysis {"connection_id":195008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:36:31] local.INFO: Extracted packet for processing {"connection_id":195008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:36: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-25 14:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:36:31] 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-25 14:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:36: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-25 14:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":195008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:36:31] local.INFO: GPS data processed {"connection_id":195008,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:36:31] local.INFO: Acknowledgment sent {"connection_id":195008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:37:02] local.INFO: TCP Data received {"connection_id":195008,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:02] local.INFO: Processing buffer {"connection_id":195008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:02] local.INFO: Packet analysis {"connection_id":195008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:37:02] local.INFO: Extracted packet for processing {"connection_id":195008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37: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-25 14:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:37:02] 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-25 14:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:37: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-25 14:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":195008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:37:02] local.INFO: GPS data processed {"connection_id":195008,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:37:02] local.INFO: Acknowledgment sent {"connection_id":195008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:37:25] local.INFO: TCP Data received {"connection_id":195009,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:25] local.INFO: Processing buffer {"connection_id":195009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:25] local.INFO: IMEI packet received {"connection_id":195009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":195009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:37:30] local.INFO: TCP Data received {"connection_id":195009,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:30] local.INFO: Processing buffer {"connection_id":195009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:37:30] local.INFO: IMEI packet received {"connection_id":195009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":195009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:37:31] local.INFO: TCP Data received {"connection_id":195009,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:31] local.INFO: Processing buffer {"connection_id":195009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:37:31] local.INFO: Packet analysis {"connection_id":195009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:37:31] local.INFO: Extracted packet for processing {"connection_id":195009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:37: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-25 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:37:31] 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-25 14:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:37: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-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":195009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:37:31] local.INFO: GPS data processed {"connection_id":195009,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:37:31] local.INFO: Acknowledgment sent {"connection_id":195009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:38:04] local.INFO: TCP Data received {"connection_id":195009,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:04] local.INFO: Processing buffer {"connection_id":195009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:04] local.INFO: Packet analysis {"connection_id":195009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:38:04] local.INFO: Extracted packet for processing {"connection_id":195009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38: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-25 14:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:38: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-25 14:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":195009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:38:04] local.INFO: GPS data processed {"connection_id":195009,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:38:04] local.INFO: Acknowledgment sent {"connection_id":195009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:38:25] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:25] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:25] local.INFO: IMEI packet received {"connection_id":193690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":193690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:38:30] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:30] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:38:30] local.INFO: IMEI packet received {"connection_id":193690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:38:31] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:31] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:38:31] local.INFO: Packet analysis {"connection_id":193690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:38:31] local.INFO: Extracted packet for processing {"connection_id":193690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:38: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-25 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14: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-25 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:38:31] 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-25 14: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-25 14: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-25 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:38: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-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":193690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:38:31] local.INFO: GPS data processed {"connection_id":193690,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:38:31] local.INFO: Acknowledgment sent {"connection_id":193690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:39:03] local.INFO: TCP Data received {"connection_id":193690,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:03] local.INFO: Processing buffer {"connection_id":193690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:03] local.INFO: Packet analysis {"connection_id":193690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:39:03] local.INFO: Extracted packet for processing {"connection_id":193690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39: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-25 14:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:39:03] 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-25 14:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:39: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-25 14:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":193690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:39:03] local.INFO: GPS data processed {"connection_id":193690,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:39:03] local.INFO: Acknowledgment sent {"connection_id":193690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:39:25] local.INFO: TCP Data received {"connection_id":195010,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:25] local.INFO: Processing buffer {"connection_id":195010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:25] local.INFO: IMEI packet received {"connection_id":195010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":195010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:39:30] local.INFO: TCP Data received {"connection_id":195010,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:30] local.INFO: Processing buffer {"connection_id":195010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:39:30] local.INFO: IMEI packet received {"connection_id":195010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":195010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:39:31] local.INFO: TCP Data received {"connection_id":195010,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:31] local.INFO: Processing buffer {"connection_id":195010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:39:31] local.INFO: Packet analysis {"connection_id":195010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:39:31] local.INFO: Extracted packet for processing {"connection_id":195010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:39: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-25 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:39:31] 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-25 14:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:39: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-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":195010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:39:31] local.INFO: GPS data processed {"connection_id":195010,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:39:31] local.INFO: Acknowledgment sent {"connection_id":195010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:40:03] local.INFO: TCP Data received {"connection_id":195010,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:03] local.INFO: Processing buffer {"connection_id":195010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:03] local.INFO: Packet analysis {"connection_id":195010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:03] local.INFO: Extracted packet for processing {"connection_id":195010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40: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-25 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:40:03] 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-25 14:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:40: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-25 14:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":195010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:40:03] local.INFO: GPS data processed {"connection_id":195010,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:40:03] local.INFO: Acknowledgment sent {"connection_id":195010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:40:19] local.INFO: TCP Data received {"connection_id":195011,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:40:19] local.INFO: Processing buffer {"connection_id":195011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:40:19] local.INFO: IMEI packet received {"connection_id":195011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":195011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:40:30] local.INFO: TCP Data received {"connection_id":195012,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:30] local.INFO: Processing buffer {"connection_id":195012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:30] local.INFO: IMEI packet received {"connection_id":195012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":195012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:40:35] local.INFO: TCP Data received {"connection_id":195012,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:35] local.INFO: Processing buffer {"connection_id":195012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:40:35] local.INFO: IMEI packet received {"connection_id":195012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":195012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:40:36] local.INFO: TCP Data received {"connection_id":195012,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:36] local.INFO: Processing buffer {"connection_id":195012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:36] local.INFO: Packet analysis {"connection_id":195012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:36] local.INFO: Extracted packet for processing {"connection_id":195012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14: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-25 14:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:40:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:40:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":195012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:40:36] local.INFO: GPS data processed {"connection_id":195012,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:40:36] local.INFO: Acknowledgment sent {"connection_id":195012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:40:41] local.INFO: TCP Data received {"connection_id":195012,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:41] local.INFO: Processing buffer {"connection_id":195012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d003a8012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:40:41] local.INFO: Packet analysis {"connection_id":195012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:41] local.INFO: Extracted packet for processing {"connection_id":195012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d0"} 
[2026-09-25 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323667968001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790327129000,"timestamp_ms":1790327129000,"timestamp_seconds":1790327129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d003a8"} 
[2026-09-25 14: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-25 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 14:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323667968001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323667968001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:40: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-25 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323667968001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":195012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:40:41] local.INFO: GPS data processed {"connection_id":195012,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:40:41] local.INFO: Acknowledgment sent {"connection_id":195012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:41:05] local.INFO: TCP Data received {"connection_id":193692,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:41:05] local.INFO: Processing buffer {"connection_id":193692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:41:05] local.INFO: IMEI packet received {"connection_id":193692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":193692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:41:25] local.INFO: TCP Data received {"connection_id":195013,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:25] local.INFO: Processing buffer {"connection_id":195013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:25] local.INFO: IMEI packet received {"connection_id":195013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":195013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:41:30] local.INFO: TCP Data received {"connection_id":195013,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:30] local.INFO: Processing buffer {"connection_id":195013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:41:30] local.INFO: IMEI packet received {"connection_id":195013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":195013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:41:31] local.INFO: TCP Data received {"connection_id":195013,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:41:31] local.INFO: Processing buffer {"connection_id":195013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:41:31] local.INFO: Packet analysis {"connection_id":195013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:41:31] local.INFO: Extracted packet for processing {"connection_id":195013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:41: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-25 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:41: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-25 14:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:41: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-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":195013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:41:31] local.INFO: GPS data processed {"connection_id":195013,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:41:31] local.INFO: Acknowledgment sent {"connection_id":195013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:42:03] local.INFO: TCP Data received {"connection_id":195013,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:03] local.INFO: Processing buffer {"connection_id":195013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:03] local.INFO: Packet analysis {"connection_id":195013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:42:03] local.INFO: Extracted packet for processing {"connection_id":195013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:42: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-25 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:42: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-25 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:42: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-25 14:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":195013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:42:03] local.INFO: GPS data processed {"connection_id":195013,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:42:03] local.INFO: Acknowledgment sent {"connection_id":195013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:42:25] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:25] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:25] local.INFO: IMEI packet received {"connection_id":192155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":192155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:42:30] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:30] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:42:30] local.INFO: IMEI packet received {"connection_id":192155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:42:31] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:31] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:42:31] local.INFO: Packet analysis {"connection_id":192155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:42:31] local.INFO: Extracted packet for processing {"connection_id":192155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14: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-25 14:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14: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-25 14: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-25 14: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-25 14:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":192155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:42:31] local.INFO: GPS data processed {"connection_id":192155,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:42:31] local.INFO: Acknowledgment sent {"connection_id":192155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:43:03] local.INFO: TCP Data received {"connection_id":192155,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:03] local.INFO: Processing buffer {"connection_id":192155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:03] local.INFO: Packet analysis {"connection_id":192155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:43:03] local.INFO: Extracted packet for processing {"connection_id":192155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14: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-25 14:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:43:03] local.INFO: GPS data processed {"connection_id":192155,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:43:03] local.INFO: Acknowledgment sent {"connection_id":192155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:43:25] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:25] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:25] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:43:30] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:30] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:43:30] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:43:31] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:31] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:43:31] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:43:31] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:43: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-25 14:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:43: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-25 14:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:43: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-25 14:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:43:31] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:43:31] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:44:03] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:03] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:03] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:44:03] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44: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-25 14:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:44: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-25 14:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:44: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-25 14:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:44:03] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:44:03] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:44:25] local.INFO: TCP Data received {"connection_id":195014,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:25] local.INFO: Processing buffer {"connection_id":195014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:25] local.INFO: IMEI packet received {"connection_id":195014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":195014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:44:30] local.INFO: TCP Data received {"connection_id":195014,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:30] local.INFO: Processing buffer {"connection_id":195014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:44:30] local.INFO: IMEI packet received {"connection_id":195014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":195014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:44:31] local.INFO: TCP Data received {"connection_id":195014,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:31] local.INFO: Processing buffer {"connection_id":195014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:44:31] local.INFO: Packet analysis {"connection_id":195014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:44:31] local.INFO: Extracted packet for processing {"connection_id":195014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:44: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-25 14:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14: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-25 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:44: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-25 14: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-25 14: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-25 14:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:44: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-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":195014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:44:31] local.INFO: GPS data processed {"connection_id":195014,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:44:31] local.INFO: Acknowledgment sent {"connection_id":195014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:45:03] local.INFO: TCP Data received {"connection_id":195014,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:03] local.INFO: Processing buffer {"connection_id":195014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:03] local.INFO: Packet analysis {"connection_id":195014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:45:03] local.INFO: Extracted packet for processing {"connection_id":195014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45: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-25 14:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:45: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-25 14:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:45: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-25 14:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":195014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:45:03] local.INFO: GPS data processed {"connection_id":195014,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:45:03] local.INFO: Acknowledgment sent {"connection_id":195014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:45:25] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:25] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:25] local.INFO: IMEI packet received {"connection_id":193695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":193695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:45:30] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:30] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:45:30] local.INFO: IMEI packet received {"connection_id":193695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:45:31] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:31] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:45:31] local.INFO: Packet analysis {"connection_id":193695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:45:31] local.INFO: Extracted packet for processing {"connection_id":193695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:45: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-25 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:45: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-25 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:45: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-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":193695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:45:31] local.INFO: GPS data processed {"connection_id":193695,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:45:31] local.INFO: Acknowledgment sent {"connection_id":193695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:46:03] local.INFO: TCP Data received {"connection_id":193695,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:46:03] local.INFO: Processing buffer {"connection_id":193695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d49b70012d34c14006aa49080011006e2a..."} 
[2026-09-25 14:46:03] local.INFO: Packet analysis {"connection_id":193695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:46:03] local.INFO: Extracted packet for processing {"connection_id":193695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d4"} 
[2026-09-25 14:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323745024001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:46: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-25 14:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327430000,"timestamp_ms":1790327430000,"timestamp_seconds":1790327430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d49b70"} 
[2026-09-25 14:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:46: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-25 14:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323745024001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323745024001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:46: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-25 14:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323745024001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":193695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:46:03] local.INFO: GPS data processed {"connection_id":193695,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:46:03] local.INFO: Acknowledgment sent {"connection_id":193695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:46:29] local.INFO: TCP Data received {"connection_id":192157,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:46:29] local.INFO: Processing buffer {"connection_id":192157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:46:29] local.INFO: IMEI packet received {"connection_id":192157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:46:30] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:30] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:30] local.INFO: IMEI packet received {"connection_id":192158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":192158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:46:35] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:35] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:46:35] local.INFO: IMEI packet received {"connection_id":192158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":192158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:46:36] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:46:36] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:46:36] local.INFO: Packet analysis {"connection_id":192158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:46:36] local.INFO: Extracted packet for processing {"connection_id":192158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14: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-25 14:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:46: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-25 14: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-25 14: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-25 14:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":192158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:46:36] local.INFO: GPS data processed {"connection_id":192158,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:46:36] local.INFO: Acknowledgment sent {"connection_id":192158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:47:04] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:47:04] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:47:04] local.INFO: IMEI packet received {"connection_id":192335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":192335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:47:09] local.INFO: TCP Data received {"connection_id":192158,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:09] local.INFO: Processing buffer {"connection_id":192158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:09] local.INFO: Packet analysis {"connection_id":192158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:47:09] local.INFO: Extracted packet for processing {"connection_id":192158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:47: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-25 14:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:47: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-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":192158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:47:09] local.INFO: GPS data processed {"connection_id":192158,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:47:09] local.INFO: Acknowledgment sent {"connection_id":192158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:47:25] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:25] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:25] local.INFO: IMEI packet received {"connection_id":193696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":193696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:47:27] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:27] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:27] local.INFO: IMEI packet received {"connection_id":193697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":193697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:47:30] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:30] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:47:30] local.INFO: IMEI packet received {"connection_id":193696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":193696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:47:31] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:31] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:47:31] local.INFO: IMEI packet received {"connection_id":193697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":193697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:47:31] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:31] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:47:31] local.INFO: Packet analysis {"connection_id":193696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:47:31] local.INFO: Extracted packet for processing {"connection_id":193696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47: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-25 14:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:47: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-25 14:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:47: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-25 14:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":193696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:47:31] local.INFO: GPS data processed {"connection_id":193696,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:47:31] local.INFO: Acknowledgment sent {"connection_id":193696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:47:32] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 14:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 14:47:32] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 14:47:32] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:47:32] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:47:32] 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-25 14:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:47:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:47:32] 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-25 14:47:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:47:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:47:32] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:47:32] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:48:02] local.INFO: TCP Data received {"connection_id":193696,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:02] local.INFO: Processing buffer {"connection_id":193696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:02] local.INFO: Packet analysis {"connection_id":193696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:48:02] local.INFO: Extracted packet for processing {"connection_id":193696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48: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-25 14:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:48:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:48: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-25 14:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":193696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:48:02] local.INFO: GPS data processed {"connection_id":193696,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:48:02] local.INFO: Acknowledgment sent {"connection_id":193696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:48:03] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 14:48:03] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 14:48:03] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:48:03] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:48:03] 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-25 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:48:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:48:03] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:48:03] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:48:25] local.INFO: TCP Data received {"connection_id":192159,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:25] local.INFO: Processing buffer {"connection_id":192159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:25] local.INFO: IMEI packet received {"connection_id":192159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":192159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:48:30] local.INFO: TCP Data received {"connection_id":192159,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:30] local.INFO: Processing buffer {"connection_id":192159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:48:30] local.INFO: IMEI packet received {"connection_id":192159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":192159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:48:31] local.INFO: TCP Data received {"connection_id":192159,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:31] local.INFO: Processing buffer {"connection_id":192159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:48:31] local.INFO: Packet analysis {"connection_id":192159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:48:31] local.INFO: Extracted packet for processing {"connection_id":192159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48: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-25 14:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:48: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-25 14:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:48: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-25 14:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":192159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:48:31] local.INFO: GPS data processed {"connection_id":192159,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:48:31] local.INFO: Acknowledgment sent {"connection_id":192159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:48:34] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:48:34] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:48:34] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:48:34] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:48:34] 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-25 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:48:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:48:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":101000,"timestamp_seconds":101,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:48:34] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:48:34] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:48:34] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:49:02] local.INFO: TCP Data received {"connection_id":192159,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:02] local.INFO: Processing buffer {"connection_id":192159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:02] local.INFO: Packet analysis {"connection_id":192159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:49:02] local.INFO: Extracted packet for processing {"connection_id":192159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49: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-25 14:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:49: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-25 14:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":192159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:49:02] local.INFO: GPS data processed {"connection_id":192159,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:49:02] local.INFO: Acknowledgment sent {"connection_id":192159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:49:05] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:49:05] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000018a880100000000000000000000000000..."} 
[2026-09-25 14:49:05] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:49:05] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:49:05] 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-25 14:49:05] 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-25 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:49:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":101000,"timestamp_seconds":101,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:49:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:49:05] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:49:05] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:49:05] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:49:25] local.INFO: TCP Data received {"connection_id":195016,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:25] local.INFO: Processing buffer {"connection_id":195016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:25] local.INFO: IMEI packet received {"connection_id":195016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":195016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:49:30] local.INFO: TCP Data received {"connection_id":195016,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:30] local.INFO: Processing buffer {"connection_id":195016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:49:30] local.INFO: IMEI packet received {"connection_id":195016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":195016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:49:31] local.INFO: TCP Data received {"connection_id":195016,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:31] local.INFO: Processing buffer {"connection_id":195016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:49:31] local.INFO: Packet analysis {"connection_id":195016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:49:31] local.INFO: Extracted packet for processing {"connection_id":195016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49: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-25 14:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14: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-25 14:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:49: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-25 14: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-25 14: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-25 14:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:49: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-25 14:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":195016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:49:31] local.INFO: GPS data processed {"connection_id":195016,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:49:31] local.INFO: Acknowledgment sent {"connection_id":195016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:49:37] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:49:37] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:49:37] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:49:37] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:49:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 14:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:49:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:49:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":105000,"timestamp_seconds":105,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:49:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:49:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:49:37] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:49:37] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:50:03] local.INFO: TCP Data received {"connection_id":195016,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:03] local.INFO: Processing buffer {"connection_id":195016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:03] local.INFO: Packet analysis {"connection_id":195016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:50:03] local.INFO: Extracted packet for processing {"connection_id":195016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50: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-25 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:50: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-25 14:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:50: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-25 14:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":195016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:50:03] local.INFO: GPS data processed {"connection_id":195016,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:50:03] local.INFO: Acknowledgment sent {"connection_id":195016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:50:08] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:50:08] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-25 14:50:08] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:50:08] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:50: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-25 14:50:08] 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-25 14:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:50:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":105000,"timestamp_seconds":105,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:50:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:50:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:50:08] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:50:08] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:50:25] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:25] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:25] local.INFO: IMEI packet received {"connection_id":192336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":192336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:50:30] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:30] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:50:30] local.INFO: IMEI packet received {"connection_id":192336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":192336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:50:32] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:32] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:50:32] local.INFO: Packet analysis {"connection_id":192336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:50:32] local.INFO: Extracted packet for processing {"connection_id":192336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:50: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-25 14:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 14:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:50:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:50:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":192336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:50:32] local.INFO: GPS data processed {"connection_id":192336,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:50:32] local.INFO: Acknowledgment sent {"connection_id":192336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:50:39] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:50:39] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:50:39] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:50:39] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:50: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-25 14:50:39] 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-25 14:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:50:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":109000,"timestamp_seconds":109,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:50:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:50:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:50:39] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:50:39] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:51:04] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:51:04] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7d93338012d34c14006aa49080008006e27..."} 
[2026-09-25 14:51:04] local.INFO: Packet analysis {"connection_id":192336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:51:04] local.INFO: Extracted packet for processing {"connection_id":192336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7d9"} 
[2026-09-25 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323822080001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51: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-25 14:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790327731000,"timestamp_ms":1790327731000,"timestamp_seconds":1790327731,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7d93338"} 
[2026-09-25 14:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:51: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-25 14:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323822080001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323822080001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:51:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:51:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:51: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-25 14:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323822080001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":192336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:51:04] local.INFO: GPS data processed {"connection_id":192336,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:51:04] local.INFO: Acknowledgment sent {"connection_id":192336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:51:10] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:51:10] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001a9c80100000000000000000000000000..."} 
[2026-09-25 14:51:10] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:51:10] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 14:51: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-25 14:51:10] 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-25 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:51:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":109000,"timestamp_seconds":109,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 14:51:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 14:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:51:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:51:10] local.ERROR: GPS data processing failed {"connection_id":193697,"error":"No valid data to process"} 
[2026-09-25 14:51:10] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:51:30] local.INFO: TCP Data received {"connection_id":195017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:30] local.INFO: Processing buffer {"connection_id":195017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:30] local.INFO: IMEI packet received {"connection_id":195017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":195017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:51:35] local.INFO: TCP Data received {"connection_id":195017,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:35] local.INFO: Processing buffer {"connection_id":195017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:51:35] local.INFO: IMEI packet received {"connection_id":195017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":195017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:51:37] local.INFO: TCP Data received {"connection_id":195017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:51:37] local.INFO: Processing buffer {"connection_id":195017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:51:37] local.INFO: Packet analysis {"connection_id":195017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:51:37] local.INFO: Extracted packet for processing {"connection_id":195017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":195017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:51:37] local.INFO: GPS data processed {"connection_id":195017,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:51:37] local.INFO: Acknowledgment sent {"connection_id":195017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:51:42] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:51:42] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:51:42] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:51:42] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:51: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-25 14:51:42] 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-25 14:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:51:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790327924000,"timestamp_ms":1790327924000,"timestamp_seconds":1790327924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7dc2520"} 
[2026-09-25 14: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-25 14:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 14:51:42] 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-25 14: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-25 14: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-25 14:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:51:42] local.INFO: GPS data processed {"connection_id":193697,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:51:42] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:52:08] local.INFO: TCP Data received {"connection_id":195017,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:08] local.INFO: Processing buffer {"connection_id":195017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:08] local.INFO: Packet analysis {"connection_id":195017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:52:08] local.INFO: Extracted packet for processing {"connection_id":195017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14: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-25 14:52: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-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:52: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-25 14: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-25 14: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-25 14:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":195017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:52:08] local.INFO: GPS data processed {"connection_id":195017,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:52:08] local.INFO: Acknowledgment sent {"connection_id":195017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:52:13] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:52:13] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7dc25200100000000000000000000000000..."} 
[2026-09-25 14:52:13] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:52:13] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14: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-25 14:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790327924000,"timestamp_ms":1790327924000,"timestamp_seconds":1790327924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7dc2520"} 
[2026-09-25 14: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-25 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 14: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-25 14:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:52:13] local.INFO: GPS data processed {"connection_id":193697,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:52:13] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:52:25] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:25] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:25] local.INFO: IMEI packet received {"connection_id":192337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":192337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:52:29] local.INFO: TCP Data received {"connection_id":193700,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:52:29] local.INFO: Processing buffer {"connection_id":193700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:52:29] local.INFO: IMEI packet received {"connection_id":193700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":193700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:52:30] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:30] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:52:30] local.INFO: IMEI packet received {"connection_id":192337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":192337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:52:31] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:31] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:52:31] local.INFO: Packet analysis {"connection_id":192337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:52:31] local.INFO: Extracted packet for processing {"connection_id":192337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52: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-25 14:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:52:31] 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-25 14:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:52:31] 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-25 14:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:52: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-25 14:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":192337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:52:31] local.INFO: GPS data processed {"connection_id":192337,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:52:31] local.INFO: Acknowledgment sent {"connection_id":192337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:52:44] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:52:44] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:52:44] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:52:44] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:52: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-25 14:52: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-25 14:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790327928000,"timestamp_ms":1790327928000,"timestamp_seconds":1790327928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7dc34c0"} 
[2026-09-25 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-25 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75874892513346,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505671766507520,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":648782233431507456,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5291167498433331224,"corrected_to":0} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124292074307584,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718050220232279,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587233156608,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.WARNING: Large IO value detected {"io_id":168,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-25 14:52:44] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,109,87,24,241,157,16,117,160,37,10,66,169,110,240,178,227,4,113,205,154,239,2,52,226,1,53,54,30,69,168],"length":625,"final_offset":755,"validated_count":31,"validation_warnings":[{"io_id":205,"original":5291167498433331224,"validated":0}]} 
[2026-09-25 14:52:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 14:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:52:44] local.INFO: GPS data processed {"connection_id":193697,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:52:44] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:53:02] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:02] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:02] local.INFO: Packet analysis {"connection_id":192337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:53:02] local.INFO: Extracted packet for processing {"connection_id":192337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53: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-25 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:53:02] 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-25 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:53: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-25 14:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":192337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:53:02] local.INFO: GPS data processed {"connection_id":192337,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:53:02] local.INFO: Acknowledgment sent {"connection_id":192337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:53:05] local.INFO: TCP Data received {"connection_id":192161,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:53:05] local.INFO: Processing buffer {"connection_id":192161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:53:05] local.INFO: IMEI packet received {"connection_id":192161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":192161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:53:15] local.INFO: TCP Data received {"connection_id":193697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:15] local.INFO: Processing buffer {"connection_id":193697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:15] local.INFO: Packet analysis {"connection_id":193697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:53:15] local.INFO: Extracted packet for processing {"connection_id":193697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:53: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-25 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790327928000,"timestamp_ms":1790327928000,"timestamp_seconds":1790327928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7dc34c0"} 
[2026-09-25 14: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-25 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":193697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":193697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":193697,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:53:15] local.INFO: GPS data processed {"connection_id":193697,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:53:15] local.INFO: Acknowledgment sent {"connection_id":193697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:53:25] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:25] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:25] local.INFO: IMEI packet received {"connection_id":193701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":193701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:53:30] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:30] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:53:30] local.INFO: IMEI packet received {"connection_id":193701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":193701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:53:31] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:31] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:53:31] local.INFO: Packet analysis {"connection_id":193701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:53:31] local.INFO: Extracted packet for processing {"connection_id":193701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53: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-25 14:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:53:31] 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-25 14:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:53:31] 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-25 14:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:53: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-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":193701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:53:31] local.INFO: GPS data processed {"connection_id":193701,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:53:31] local.INFO: Acknowledgment sent {"connection_id":193701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:53:36] local.INFO: TCP Data received {"connection_id":195018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:36] local.INFO: Processing buffer {"connection_id":195018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:36] local.INFO: IMEI packet received {"connection_id":195018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":195018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:53:41] local.INFO: TCP Data received {"connection_id":195018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:41] local.INFO: Processing buffer {"connection_id":195018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:53:41] local.INFO: IMEI packet received {"connection_id":195018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":195018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:53:42] local.INFO: TCP Data received {"connection_id":195018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:42] local.INFO: Processing buffer {"connection_id":195018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7dc34c00100000000000000000000000000..."} 
[2026-09-25 14:53:42] local.INFO: Packet analysis {"connection_id":195018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:53:42] local.INFO: Extracted packet for processing {"connection_id":195018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dc"} 
[2026-09-25 14:53: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-25 14:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:53:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790327928000,"timestamp_ms":1790327928000,"timestamp_seconds":1790327928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7dc34c0"} 
[2026-09-25 14: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-25 14:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":195018,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:53:42] local.INFO: GPS data processed {"connection_id":195018,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:53:42] local.INFO: Acknowledgment sent {"connection_id":195018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:54:03] local.INFO: TCP Data received {"connection_id":193701,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:03] local.INFO: Processing buffer {"connection_id":193701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:03] local.INFO: Packet analysis {"connection_id":193701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:54:03] local.INFO: Extracted packet for processing {"connection_id":193701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54: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-25 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:54:03] 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-25 14:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:54:03] 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-25 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:54: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-25 14:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":193701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:54:03] local.INFO: GPS data processed {"connection_id":193701,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:54:03] local.INFO: Acknowledgment sent {"connection_id":193701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:54:14] local.INFO: TCP Data received {"connection_id":195018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:14] local.INFO: Processing buffer {"connection_id":195018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:14] local.INFO: Packet analysis {"connection_id":195018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:54:14] local.INFO: Extracted packet for processing {"connection_id":195018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14: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-25 14: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-25 14:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790328230000,"timestamp_ms":1790328230000,"timestamp_seconds":1790328230,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e0d070"} 
[2026-09-25 14: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-25 14:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":195018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":195018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":195018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":195018,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:54:14] local.INFO: GPS data processed {"connection_id":195018,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:54:14] local.INFO: Acknowledgment sent {"connection_id":195018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:54:25] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:25] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:25] local.INFO: IMEI packet received {"connection_id":193703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":193703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:54:30] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:30] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:54:30] local.INFO: IMEI packet received {"connection_id":193703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":193703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:54:31] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:31] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:54:31] local.INFO: Packet analysis {"connection_id":193703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:54:31] local.INFO: Extracted packet for processing {"connection_id":193703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54: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-25 14:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:54:31] 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-25 14:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:54:31] 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-25 14:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:54: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-25 14:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":193703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:54:31] local.INFO: GPS data processed {"connection_id":193703,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:54:31] local.INFO: Acknowledgment sent {"connection_id":193703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:54:41] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:41] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:41] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:54:46] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:46] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:54:46] local.INFO: IMEI packet received {"connection_id":192162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":192162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:54:47] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:47] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:47] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:54:47] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:54: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-25 14: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-25 14:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790328230000,"timestamp_ms":1790328230000,"timestamp_seconds":1790328230,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e0d070"} 
[2026-09-25 14: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-25 14:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:54:47] local.INFO: GPS data processed {"connection_id":192162,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:54:47] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:54:51] local.INFO: TCP Data received {"connection_id":192162,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:51] local.INFO: Processing buffer {"connection_id":192162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:54:51] local.INFO: Packet analysis {"connection_id":192162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:54:51] local.INFO: Extracted packet for processing {"connection_id":192162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:54: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-25 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-25 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:54:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790328230000,"timestamp_ms":1790328230000,"timestamp_seconds":1790328230,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e0d070"} 
[2026-09-25 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-25 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":192162,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:54:51] local.INFO: GPS data processed {"connection_id":192162,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:54:51] local.INFO: Acknowledgment sent {"connection_id":192162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:55:03] local.INFO: TCP Data received {"connection_id":193703,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:03] local.INFO: Processing buffer {"connection_id":193703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:03] local.INFO: Packet analysis {"connection_id":193703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:55:03] local.INFO: Extracted packet for processing {"connection_id":193703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55: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-25 14:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:55:03] 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-25 14:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:55:03] 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-25 14:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:55: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-25 14:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":193703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:55:03] local.INFO: GPS data processed {"connection_id":193703,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:55:03] local.INFO: Acknowledgment sent {"connection_id":193703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:55:15] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:15] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:15] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 14:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:55:16] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:16] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:16] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 14:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:55:19] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:19] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:55:19] local.INFO: IMEI packet received {"connection_id":192164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 14:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":192164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:55:20] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-25 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":93,"packet_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-25 14:55:20] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-25 14:55:20] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-25 14:55:20] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-25 14:55: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-25 14: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":93,"current_offset":40} 
[2026-09-25 14:55: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-25 14:55: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-25 14:55:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:55:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 14:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:55:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:55:20] local.ERROR: GPS data processing failed {"connection_id":192164,"error":"No valid data to process"} 
[2026-09-25 14:55:20] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:55:25] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:25] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:25] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:55:30] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:30] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:55:30] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:55:31] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:31] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:55:31] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:55:31] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55: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-25 14:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14: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-25 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:55:31] 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-25 14: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-25 14: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-25 14:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:55:31] 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-25 14:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:55: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-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:55:31] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:55:31] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:55:36] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:36] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:36] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:55:41] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:41] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:55:41] local.INFO: IMEI packet received {"connection_id":192165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":192165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:55:43] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:55:43] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:55:43] local.INFO: Packet analysis {"connection_id":192165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:55:43] local.INFO: Extracted packet for processing {"connection_id":192165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:55:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790328230000,"timestamp_ms":1790328230000,"timestamp_seconds":1790328230,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e0d070"} 
[2026-09-25 14:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":192165,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:55:43] local.INFO: GPS data processed {"connection_id":192165,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:55:43] local.INFO: Acknowledgment sent {"connection_id":192165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:55:51] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-25 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":93,"packet_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-25 14:55:51] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-25 14:55:51] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-25 14:55:51] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-25 14:55: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-25 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":93,"current_offset":40} 
[2026-09-25 14:55: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-25 14:55: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-25 14:55:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:55:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 14:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:55:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:55:51] local.ERROR: GPS data processing failed {"connection_id":192164,"error":"No valid data to process"} 
[2026-09-25 14:55:51] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:56:03] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:56:03] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ddcb00012d34c14006aa49080008006e26..."} 
[2026-09-25 14:56:03] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:56:03] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7dd"} 
[2026-09-25 14:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323899136001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56: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-25 14:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328032000,"timestamp_ms":1790328032000,"timestamp_seconds":1790328032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ddcb00"} 
[2026-09-25 14:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 14:56:03] 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-25 14:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:03] 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-25 14:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323899136001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323899136001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:56: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-25 14:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323899136001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:56:03] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:56:03] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:56:15] local.INFO: TCP Data received {"connection_id":192165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:56:15] local.INFO: Processing buffer {"connection_id":192165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e0d0700100000000000000000000000000..."} 
[2026-09-25 14:56:15] local.INFO: Packet analysis {"connection_id":192165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:56:15] local.INFO: Extracted packet for processing {"connection_id":192165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e0"} 
[2026-09-25 14:56: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-25 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790328230000,"timestamp_ms":1790328230000,"timestamp_seconds":1790328230,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e0d070"} 
[2026-09-25 14:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":192165,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:56:15] local.INFO: GPS data processed {"connection_id":192165,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:56:15] local.INFO: Acknowledgment sent {"connection_id":192165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:56:22] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0d7e2c0880100000000000000000000000000..."} 
[2026-09-25 14:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d7e2c0880100000000000000000000000000..."} 
[2026-09-25 14:56:22] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d7e2c0880100000000000000000000000000..."} 
[2026-09-25 14:56:22] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d7e2"} 
[2026-09-25 14:56:22] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d7e2"} 
[2026-09-25 14:56: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-25 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":93,"current_offset":40} 
[2026-09-25 14:56:22] 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-25 14:56:22] 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-25 14:56:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:22] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 14:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:56:22] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:56:22] local.ERROR: GPS data processing failed {"connection_id":192164,"error":"No valid data to process"} 
[2026-09-25 14:56:22] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:56:30] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:30] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:30] local.INFO: IMEI packet received {"connection_id":192339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":192339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:56:35] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:35] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:56:35] local.INFO: IMEI packet received {"connection_id":192339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":192339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:56:36] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:36] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:36] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:56:37] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:37] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:37] local.INFO: Packet analysis {"connection_id":192339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:56:37] local.INFO: Extracted packet for processing {"connection_id":192339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:56: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-25 14:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":192339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:56:37] local.INFO: GPS data processed {"connection_id":192339,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:56:37] local.INFO: Acknowledgment sent {"connection_id":192339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:56:41] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:41] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:56:41] local.INFO: Packet analysis {"connection_id":192339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:56:41] local.INFO: Extracted packet for processing {"connection_id":192339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14: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-25 14:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14: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-25 14:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:56: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-25 14: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-25 14: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-25 14:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14: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-25 14:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":192339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:56:41] local.INFO: GPS data processed {"connection_id":192339,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:56:41] local.INFO: Acknowledgment sent {"connection_id":192339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:56:41] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:41] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:56:41] local.INFO: IMEI packet received {"connection_id":192166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":192166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:56:42] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e32230012d7d490005ec0e88000000b207..."} 
[2026-09-25 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e32230012d7d490005ec0e88000000b207..."} 
[2026-09-25 14:56:42] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e32230012d7d490005ec0e88000000b207..."} 
[2026-09-25 14:56:42] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:56:42] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":99356296,"longitude_deg":76.3185408,"latitude_deg":9.9356296,"altitude":0,"angle":178,"satellites":7,"speed":0,"hex_longitude":"2d7d4900","hex_latitude":"05ec0e88","is_valid_coordinates":true} 
[2026-09-25 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:56:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790328382000,"timestamp_ms":1790328382000,"timestamp_seconds":1790328382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e32230"} 
[2026-09-25 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 14:56:42] 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-25 14:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12624,"109":206,"87":13824,"24":0,"16":135799710484004864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16]} 
[2026-09-25 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 14:56:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 14:56:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799710484004864,"km_value":135799710484004.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12624,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null}} 
[2026-09-25 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:56:42] local.INFO: GPS data processed {"connection_id":192166,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:56:42] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:56:53] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0d7e312900100000000000000000000000000..."} 
[2026-09-25 14:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d7e312900100000000000000000000000000..."} 
[2026-09-25 14:56:53] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d7e312900100000000000000000000000000..."} 
[2026-09-25 14:56:53] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d7e3"} 
[2026-09-25 14:56:53] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d7e3"} 
[2026-09-25 14:56:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 14: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":93,"current_offset":40} 
[2026-09-25 14:56:53] 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-25 14:56:53] 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-25 14:56:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:56:53] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 14:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:56:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:56:53] local.ERROR: GPS data processing failed {"connection_id":192164,"error":"No valid data to process"} 
[2026-09-25 14:56:53] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:57:15] local.INFO: TCP Data received {"connection_id":192166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e32a000100000000000000000000000000..."} 
[2026-09-25 14:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e32a000100000000000000000000000000..."} 
[2026-09-25 14:57:15] local.INFO: Processing buffer {"connection_id":192166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e32a000100000000000000000000000000..."} 
[2026-09-25 14:57:15] local.INFO: Packet analysis {"connection_id":192166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:57:15] local.INFO: Extracted packet for processing {"connection_id":192166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14: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-25 14:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324065792001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746953476081664,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790328384000,"timestamp_ms":1790328384000,"timestamp_seconds":1790328384,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e32a00"} 
[2026-09-25 14: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-25 14:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":192166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":192166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":192166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":192166,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 14:57:15] local.INFO: GPS data processed {"connection_id":192166,"processed":0,"errors":0,"total":1} 
[2026-09-25 14:57:15] local.INFO: Acknowledgment sent {"connection_id":192166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:57:25] local.INFO: TCP Data received {"connection_id":195019,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:25] local.INFO: Processing buffer {"connection_id":195019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:25] local.INFO: IMEI packet received {"connection_id":195019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":195019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:57:26] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":93,"data_hex":"00000000000000518e01000001a0d7e364980100000000000000000000000000..."} 
[2026-09-25 14:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":93,"packet_hex":"00000000000000518e01000001a0d7e364980100000000000000000000000000..."} 
[2026-09-25 14:57:26] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0d7e364980100000000000000000000000000..."} 
[2026-09-25 14:57:26] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0d7e3"} 
[2026-09-25 14:57:26] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0d7e3"} 
[2026-09-25 14:57: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-25 14: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":93,"current_offset":40} 
[2026-09-25 14:57:26] 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-25 14:57:26] 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-25 14:57:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:57:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 14:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 14:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-25 14:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 14:57:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 14:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 14:57:26] local.ERROR: GPS data processing failed {"connection_id":192164,"error":"No valid data to process"} 
[2026-09-25 14:57:26] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 14:57:30] local.INFO: TCP Data received {"connection_id":195019,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:30] local.INFO: Processing buffer {"connection_id":195019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:57:30] local.INFO: IMEI packet received {"connection_id":195019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":195019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:57:31] local.INFO: TCP Data received {"connection_id":195019,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:57:31] local.INFO: Processing buffer {"connection_id":195019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:57:31] local.INFO: Packet analysis {"connection_id":195019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:57:31] local.INFO: Extracted packet for processing {"connection_id":195019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57: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-25 14:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:57: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-25 14:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:57: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-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":195019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:57:31] local.INFO: GPS data processed {"connection_id":195019,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:57:31] local.INFO: Acknowledgment sent {"connection_id":195019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:57:41] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:41] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:41] local.INFO: IMEI packet received {"connection_id":192167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":192167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:57:46] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:46] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:57:46] local.INFO: IMEI packet received {"connection_id":192167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":192167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:57:47] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:47] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:47] local.INFO: Packet analysis {"connection_id":192167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:57:47] local.INFO: Extracted packet for processing {"connection_id":192167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99355088,"longitude_deg":76.3184192,"latitude_deg":9.9355088,"altitude":0,"angle":213,"satellites":7,"speed":1,"hex_longitude":"2d7d4440","hex_latitude":"05ec09d0","is_valid_coordinates":true} 
[2026-09-25 14:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790328406000,"timestamp_ms":1790328406000,"timestamp_seconds":1790328406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e37ff0"} 
[2026-09-25 14: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-25 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12613,"109":206,"87":13824,"24":1,"16":135799710484004864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16]} 
[2026-09-25 14:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 14:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 14:57:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 14:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799710484004864,"km_value":135799710484004.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:57:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null}} 
[2026-09-25 14:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":192167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:57:47] local.INFO: GPS data processed {"connection_id":192167,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:57:47] local.INFO: Acknowledgment sent {"connection_id":192167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:57:51] local.INFO: TCP Data received {"connection_id":192167,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:51] local.INFO: Processing buffer {"connection_id":192167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:57:51] local.INFO: Packet analysis {"connection_id":192167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:57:51] local.INFO: Extracted packet for processing {"connection_id":192167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99355088,"longitude_deg":76.3184192,"latitude_deg":9.9355088,"altitude":0,"angle":213,"satellites":7,"speed":1,"hex_longitude":"2d7d4440","hex_latitude":"05ec09d0","is_valid_coordinates":true} 
[2026-09-25 14:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790328406000,"timestamp_ms":1790328406000,"timestamp_seconds":1790328406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e37ff0"} 
[2026-09-25 14: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-25 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14: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-25 14: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-25 14:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12613,"109":206,"87":13824,"24":1,"16":135799710484004864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16]} 
[2026-09-25 14:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 14:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 14:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 14:57:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 14:57:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 14:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799710484004864,"km_value":135799710484004.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:57:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null}} 
[2026-09-25 14:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":192167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:57:51] local.INFO: GPS data processed {"connection_id":192167,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:57:51] local.INFO: Acknowledgment sent {"connection_id":192167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:57:57] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e47dd8012d19b7c00720ac980037014c09..."} 
[2026-09-25 14:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e47dd8012d19b7c00720ac980037014c09..."} 
[2026-09-25 14:57:57] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e47dd8012d19b7c00720ac980037014c09..."} 
[2026-09-25 14:57:57] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:57:57] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756660160,"raw_latitude":119581848,"longitude_deg":75.666016,"latitude_deg":11.9581848,"altitude":55,"angle":332,"satellites":9,"speed":16,"hex_longitude":"2d19b7c0","hex_latitude":"0720ac98","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324088320001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927506088656896,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996716544,"note":"Value kept but may cause issues"} 
[2026-09-25 14:57: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-25 14:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790328471000,"timestamp_ms":1790328471000,"timestamp_seconds":1790328471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e47dd8"} 
[2026-09-25 14: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-25 14:57:57] 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-25 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 14:57:57] 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-25 14: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-25 14: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-25 14:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 14:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 14:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324088320001,"66":14265,"103":206,"83":41984,"24":16,"16":22927506088656896,"45":1853583120996716544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 14:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 14:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 14:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324088320001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:57:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 14:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 14:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927506088656896,"km_value":22927506088656.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996716544,"description":"Unknown IO ID 45"} 
[2026-09-25 14:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324088320001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1853583120996716544}} 
[2026-09-25 14:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:57:57] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:57:57] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:58:03] local.INFO: TCP Data received {"connection_id":195019,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:03] local.INFO: Processing buffer {"connection_id":195019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:03] local.INFO: Packet analysis {"connection_id":195019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:58:03] local.INFO: Extracted packet for processing {"connection_id":195019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58: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-25 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:58: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-25 14:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:58: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-25 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":195019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:58:03] local.INFO: GPS data processed {"connection_id":195019,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:58:03] local.INFO: Acknowledgment sent {"connection_id":195019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:58:24] local.INFO: TCP Data received {"connection_id":193706,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:58:24] local.INFO: Processing buffer {"connection_id":193706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 14:58:24] local.INFO: IMEI packet received {"connection_id":193706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 14:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":193706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:58:25] local.INFO: TCP Data received {"connection_id":195020,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:25] local.INFO: Processing buffer {"connection_id":195020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:25] local.INFO: IMEI packet received {"connection_id":195020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":195020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:58:28] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e481c0012d19b4400720add00037012f09..."} 
[2026-09-25 14:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e481c0012d19b4400720add00037012f09..."} 
[2026-09-25 14:58:28] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e481c0012d19b4400720add00037012f09..."} 
[2026-09-25 14:58:28] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:58:28] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119582160,"longitude_deg":75.6659264,"latitude_deg":11.958216,"altitude":55,"angle":303,"satellites":9,"speed":24,"hex_longitude":"2d19b440","hex_latitude":"0720add0","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324088576001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927553333297152,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531734528,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58: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-25 14:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790328472000,"timestamp_ms":1790328472000,"timestamp_seconds":1790328472,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e481c0"} 
[2026-09-25 14: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-25 14:58:28] 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-25 14:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 14:58: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-25 14: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-25 14: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-25 14:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 14:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 14:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324088576001,"66":14254,"103":206,"83":41984,"24":24,"16":22927553333297152,"45":1853160908531734528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 14:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 14:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 14:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324088576001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:58:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 14:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 14:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927553333297152,"km_value":22927553333297.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531734528,"description":"Unknown IO ID 45"} 
[2026-09-25 14:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324088576001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853160908531734528}} 
[2026-09-25 14:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:58:28] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:58:28] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:58:30] local.INFO: TCP Data received {"connection_id":195020,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:30] local.INFO: Processing buffer {"connection_id":195020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:58:30] local.INFO: IMEI packet received {"connection_id":195020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":195020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:58:31] local.INFO: TCP Data received {"connection_id":195020,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:31] local.INFO: Processing buffer {"connection_id":195020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:58:31] local.INFO: Packet analysis {"connection_id":195020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:58:31] local.INFO: Extracted packet for processing {"connection_id":195020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58: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-25 14:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14: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-25 14:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:58: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-25 14: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-25 14: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-25 14:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:58:31] 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-25 14:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:58: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-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":195020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:58:31] local.INFO: GPS data processed {"connection_id":195020,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:58:31] local.INFO: Acknowledgment sent {"connection_id":195020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:58:36] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:36] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:36] local.INFO: IMEI packet received {"connection_id":193707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 14:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":193707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:58:41] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:41] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 14:58:41] local.INFO: IMEI packet received {"connection_id":193707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 14:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":193707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:58:42] local.INFO: TCP Data received {"connection_id":193707,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:58:42] local.INFO: Processing buffer {"connection_id":193707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e37ff0012d7d444005ec09d0000000d507..."} 
[2026-09-25 14:58:42] local.INFO: Packet analysis {"connection_id":193707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:58:42] local.INFO: Extracted packet for processing {"connection_id":193707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e3"} 
[2026-09-25 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":99355088,"longitude_deg":76.3184192,"latitude_deg":9.9355088,"altitude":0,"angle":213,"satellites":7,"speed":1,"hex_longitude":"2d7d4440","hex_latitude":"05ec09d0","is_valid_coordinates":true} 
[2026-09-25 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790328406000,"timestamp_ms":1790328406000,"timestamp_seconds":1790328406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e37ff0"} 
[2026-09-25 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-25 14:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":193707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":193707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":193707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 14:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12613,"109":206,"87":13824,"24":1,"16":135799710484004864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16]} 
[2026-09-25 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 14:58:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 14:58:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135799710484004864,"km_value":135799710484004.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12613,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null}} 
[2026-09-25 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":193707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:58:42] local.INFO: GPS data processed {"connection_id":193707,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:58:42] local.INFO: Acknowledgment sent {"connection_id":193707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:58:59] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e485a8012d19b0800720ae700037012309..."} 
[2026-09-25 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e485a8012d19b0800720ae700037012309..."} 
[2026-09-25 14:58:59] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e485a8012d19b0800720ae700037012309..."} 
[2026-09-25 14:58:59] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:58:59] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119582320,"longitude_deg":75.6658304,"latitude_deg":11.958232,"altitude":55,"angle":291,"satellites":9,"speed":27,"hex_longitude":"2d19b080","hex_latitude":"0720ae70","is_valid_coordinates":true} 
[2026-09-25 14: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-25 14:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324088832001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927596282970112,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113327104,"note":"Value kept but may cause issues"} 
[2026-09-25 14:58: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-25 14:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790328473000,"timestamp_ms":1790328473000,"timestamp_seconds":1790328473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e485a8"} 
[2026-09-25 14: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-25 14:58:59] 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-25 14: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-25 14:58:59] 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-25 14:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 14:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 14:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324088832001,"66":14254,"103":206,"83":41984,"24":27,"16":22927596282970112,"45":1852175746113327104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 14:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 14:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324088832001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 14:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927596282970112,"km_value":22927596282970.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113327104,"description":"Unknown IO ID 45"} 
[2026-09-25 14:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324088832001,"power":14254,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1852175746113327104}} 
[2026-09-25 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:58:59] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:58:59] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:59:03] local.INFO: TCP Data received {"connection_id":195020,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:03] local.INFO: Processing buffer {"connection_id":195020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:03] local.INFO: Packet analysis {"connection_id":195020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:59:03] local.INFO: Extracted packet for processing {"connection_id":195020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:59: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-25 14:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:59:03] 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-25 14:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:59: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-25 14:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":195020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:59:03] local.INFO: GPS data processed {"connection_id":195020,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:59:03] local.INFO: Acknowledgment sent {"connection_id":195020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:59:25] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:25] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:25] local.INFO: IMEI packet received {"connection_id":193709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 14:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":193709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:59:30] local.INFO: TCP Data received {"connection_id":192164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e49160012d19a8000720b0900039011409..."} 
[2026-09-25 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e49160012d19a8000720b0900039011409..."} 
[2026-09-25 14:59:30] local.INFO: Processing buffer {"connection_id":192164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e49160012d19a8000720b0900039011409..."} 
[2026-09-25 14:59:30] local.INFO: Packet analysis {"connection_id":192164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:59:30] local.INFO: Extracted packet for processing {"connection_id":192164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e4"} 
[2026-09-25 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756656128,"raw_latitude":119582864,"longitude_deg":75.6656128,"latitude_deg":11.9582864,"altitude":57,"angle":276,"satellites":9,"speed":28,"hex_longitude":"2d19a800","hex_latitude":"0720b090","is_valid_coordinates":true} 
[2026-09-25 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324089088001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22927703657152512,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214950703104,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790328476000,"timestamp_ms":1790328476000,"timestamp_seconds":1790328476,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e49160"} 
[2026-09-25 14:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:59:30] 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-25 14:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-25 14:59:30] 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-25 14:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 14:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324089088001,"66":14265,"103":206,"83":41984,"24":28,"16":22927703657152512,"45":1851120214950703104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324089088001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22927703657152512,"km_value":22927703657152.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 14:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214950703104,"description":"Unknown IO ID 45"} 
[2026-09-25 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324089088001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1851120214950703104}} 
[2026-09-25 14:59:30] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:30] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 14:59:30] local.INFO: IMEI packet received {"connection_id":193709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":193709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":192164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:59:30] local.INFO: GPS data processed {"connection_id":192164,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:59:30] local.INFO: Acknowledgment sent {"connection_id":192164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:59:31] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:31] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 14:59:31] local.INFO: Packet analysis {"connection_id":193709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:59:31] local.INFO: Extracted packet for processing {"connection_id":193709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 14:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 14:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 14:59: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-25 14:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 14:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 14:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 14:59: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-25 14:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 14:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 14:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 14:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 14:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 14:59:31] 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-25 14:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 14:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 14:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 14:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 14:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 14:59: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-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 14:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 14:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":193709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 14:59:31] local.INFO: GPS data processed {"connection_id":193709,"processed":1,"errors":0,"total":1} 
[2026-09-25 14:59:31] local.INFO: Acknowledgment sent {"connection_id":193709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 14:59:55] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: IMEI packet received {"connection_id":192168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":192168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 14:59:55] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:55] local.INFO: IMEI packet received {"connection_id":192168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":192168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 14:59:59] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:59] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 14:59:59] local.INFO: IMEI packet received {"connection_id":192168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":192168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:00:00] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e5fca8012d18d50007210420003501560c..."} 
[2026-09-25 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e5fca8012d18d50007210420003501560c..."} 
[2026-09-25 15:00:00] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e5fca8012d18d50007210420003501560c..."} 
[2026-09-25 15:00:00] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e5"} 
[2026-09-25 15:00:00] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e5"} 
[2026-09-25 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119604256,"longitude_deg":75.6602112,"latitude_deg":11.9604256,"altitude":53,"angle":342,"satellites":12,"speed":23,"hex_longitude":"2d18d500","hex_latitude":"07210420","is_valid_coordinates":true} 
[2026-09-25 15:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324113152001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22930714429227008,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777280512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00: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-25 15:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790328569000,"timestamp_ms":1790328569000,"timestamp_seconds":1790328569,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e5fca8"} 
[2026-09-25 15:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 15:00:00] 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-25 15:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324113152001,"66":14265,"103":206,"83":41984,"24":23,"16":22930714429227008,"45":1789829038777280512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324113152001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22930714429227008,"km_value":22930714429227.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777280512,"description":"Unknown IO ID 45"} 
[2026-09-25 15:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324113152001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1789829038777280512}} 
[2026-09-25 15:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:00:00] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:00:00] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:00:03] local.INFO: TCP Data received {"connection_id":193709,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:03] local.INFO: Processing buffer {"connection_id":193709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:03] local.INFO: Packet analysis {"connection_id":193709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:00:03] local.INFO: Extracted packet for processing {"connection_id":193709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00: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-25 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:00: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-25 15:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:00:03] 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-25 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:00: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-25 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":193709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:00:03] local.INFO: GPS data processed {"connection_id":193709,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:00:03] local.INFO: Acknowledgment sent {"connection_id":193709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:00:25] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:25] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:25] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:00:30] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:30] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:00:30] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:00:31] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:31] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:00:31] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:00:31] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00: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-25 15:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 15:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:00: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-25 15:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:00: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-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:00:31] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:00:31] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:00:31] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e61800012d18d1c0072114a8003a01650c..."} 
[2026-09-25 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e61800012d18d1c0072114a8003a01650c..."} 
[2026-09-25 15:00:31] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e61800012d18d1c0072114a8003a01650c..."} 
[2026-09-25 15:00:31] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:00:31] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119608488,"longitude_deg":75.660128,"latitude_deg":11.9608488,"altitude":58,"angle":357,"satellites":12,"speed":26,"hex_longitude":"2d18d1c0","hex_latitude":"072114a8","is_valid_coordinates":true} 
[2026-09-25 15:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324113664001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22930924882624512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568329728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328576000,"timestamp_ms":1790328576000,"timestamp_seconds":1790328576,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e61800"} 
[2026-09-25 15:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 15:00:31] 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-25 15:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324113664001,"66":14265,"103":206,"83":41984,"24":26,"16":22930924882624512,"45":1789336457568329728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324113664001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22930924882624512,"km_value":22930924882624.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568329728,"description":"Unknown IO ID 45"} 
[2026-09-25 15:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324113664001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1789336457568329728}} 
[2026-09-25 15:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:00:32] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:00:32] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:03] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:01:03] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e262c8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:01:03] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:01:03] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e2"} 
[2026-09-25 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458323976192001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01: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-25 15:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328333000,"timestamp_ms":1790328333000,"timestamp_seconds":1790328333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e262c8"} 
[2026-09-25 15:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:01: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-25 15:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458323976192001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458323976192001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:01: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-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458323976192001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:01:03] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:01:03] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:03] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e719d0012d185600072187d0004201300e..."} 
[2026-09-25 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e719d0012d185600072187d0004201300e..."} 
[2026-09-25 15:01:03] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e719d0012d185600072187d0004201300e..."} 
[2026-09-25 15:01:03] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:01:03] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119637968,"longitude_deg":75.65696,"latitude_deg":11.9637968,"altitude":66,"angle":304,"satellites":14,"speed":17,"hex_longitude":"2d185600","hex_latitude":"072187d0","is_valid_coordinates":true} 
[2026-09-25 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324131328001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22933299999539200,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755981672836485120,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:03] 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-25 15:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328642000,"timestamp_ms":1790328642000,"timestamp_seconds":1790328642,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e719d0"} 
[2026-09-25 15:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-25 15:01:03] 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-25 15:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324131328001,"66":14374,"106":206,"83":41984,"24":17,"16":22933299999539200,"45":1755981672836485120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 15:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324131328001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22933299999539200,"km_value":22933299999539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755981672836485120,"description":"Unknown IO ID 45"} 
[2026-09-25 15:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324131328001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1755981672836485120}} 
[2026-09-25 15:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:01:03] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:01:03] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:30] local.INFO: TCP Data received {"connection_id":192169,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:30] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:30] local.INFO: IMEI packet received {"connection_id":192169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:01:34] local.INFO: TCP Data received {"connection_id":192168,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e72970012d1857c0072186d8004200730f..."} 
[2026-09-25 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e72970012d1857c0072186d8004200730f..."} 
[2026-09-25 15:01:34] local.INFO: Processing buffer {"connection_id":192168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e72970012d1857c0072186d8004200730f..."} 
[2026-09-25 15:01:34] local.INFO: Packet analysis {"connection_id":192168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:01:34] local.INFO: Extracted packet for processing {"connection_id":192168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756570048,"raw_latitude":119637720,"longitude_deg":75.6570048,"latitude_deg":11.963772,"altitude":66,"angle":115,"satellites":15,"speed":7,"hex_longitude":"2d1857c0","hex_latitude":"072186d8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324132352001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22933330064310272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753589135534706688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:34] 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-25 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790328646000,"timestamp_ms":1790328646000,"timestamp_seconds":1790328646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e72970"} 
[2026-09-25 15: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-25 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 15:01:34] 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-25 15: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-25 15: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-25 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324132352001,"66":14157,"106":206,"83":41984,"24":7,"16":22933330064310272,"45":1753589135534706688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324132352001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 15:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22933330064310272,"km_value":22933330064310.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753589135534706688,"description":"Unknown IO ID 45"} 
[2026-09-25 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324132352001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1753589135534706688}} 
[2026-09-25 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":192168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:01:34] local.INFO: GPS data processed {"connection_id":192168,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:01:34] local.INFO: Acknowledgment sent {"connection_id":192168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:35] local.INFO: TCP Data received {"connection_id":192169,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:35] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:01:35] local.INFO: IMEI packet received {"connection_id":192169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":192169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:01:36] local.INFO: TCP Data received {"connection_id":192169,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:36] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:36] local.INFO: Packet analysis {"connection_id":192169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:01:36] local.INFO: Extracted packet for processing {"connection_id":192169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15: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-25 15:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":192169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:01:36] local.INFO: GPS data processed {"connection_id":192169,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:01:36] local.INFO: Acknowledgment sent {"connection_id":192169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:40] local.INFO: TCP Data received {"connection_id":192169,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:40] local.INFO: Processing buffer {"connection_id":192169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:01:40] local.INFO: Packet analysis {"connection_id":192169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:01:40] local.INFO: Extracted packet for processing {"connection_id":192169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15: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-25 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:01: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-25 15: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-25 15: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-25 15:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":192169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:01:40] local.INFO: GPS data processed {"connection_id":192169,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:01:40] local.INFO: Acknowledgment sent {"connection_id":192169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:01:54] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:01:54] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:01:54] local.INFO: IMEI packet received {"connection_id":193710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":193710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:02:00] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:00] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:00] local.INFO: IMEI packet received {"connection_id":193710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":193710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:02:01] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e75c38012d185a8007218590004301260f..."} 
[2026-09-25 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e75c38012d185a8007218590004301260f..."} 
[2026-09-25 15:02:01] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e75c38012d185a8007218590004301260f..."} 
[2026-09-25 15:02:01] local.INFO: Packet analysis {"connection_id":193710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:02:01] local.INFO: Extracted packet for processing {"connection_id":193710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e7"} 
[2026-09-25 15:02:01] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119637392,"longitude_deg":75.6570752,"latitude_deg":11.9637392,"altitude":67,"angle":294,"satellites":15,"speed":7,"hex_longitude":"2d185a80","hex_latitude":"07218590","is_valid_coordinates":true} 
[2026-09-25 15:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324133376001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22933373013983232,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754081716743886848,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790328659000,"timestamp_ms":1790328659000,"timestamp_seconds":1790328659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e75c38"} 
[2026-09-25 15:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 15:02:01] 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-25 15:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324133376001,"66":14276,"106":206,"83":41984,"24":7,"16":22933373013983232,"45":1754081716743886848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 15:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324133376001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22933373013983232,"km_value":22933373013983.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754081716743886848,"description":"Unknown IO ID 45"} 
[2026-09-25 15:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324133376001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1754081716743886848}} 
[2026-09-25 15:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":193710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:02:01] local.INFO: GPS data processed {"connection_id":193710,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:02:01] local.INFO: Acknowledgment sent {"connection_id":193710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:02:25] local.INFO: TCP Data received {"connection_id":195023,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:25] local.INFO: Processing buffer {"connection_id":195023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:25] local.INFO: IMEI packet received {"connection_id":195023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":195023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:02:30] local.INFO: TCP Data received {"connection_id":195023,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:30] local.INFO: Processing buffer {"connection_id":195023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:02:30] local.INFO: IMEI packet received {"connection_id":195023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":195023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:02:31] local.INFO: TCP Data received {"connection_id":195023,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:02:31] local.INFO: Processing buffer {"connection_id":195023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:02:31] local.INFO: Packet analysis {"connection_id":195023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:02:31] local.INFO: Extracted packet for processing {"connection_id":195023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02: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-25 15:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:02:31] 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-25 15:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:02:31] 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-25 15:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:02: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-25 15:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":195023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:02:31] local.INFO: GPS data processed {"connection_id":195023,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:02:31] local.INFO: Acknowledgment sent {"connection_id":195023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:02:32] local.INFO: TCP Data received {"connection_id":193710,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e8b010012d17e18007218d580050015b0f..."} 
[2026-09-25 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e8b010012d17e18007218d580050015b0f..."} 
[2026-09-25 15:02:32] local.INFO: Processing buffer {"connection_id":193710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e8b010012d17e18007218d580050015b0f..."} 
[2026-09-25 15:02:32] local.INFO: Packet analysis {"connection_id":193710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:02:32] local.INFO: Extracted packet for processing {"connection_id":193710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756539776,"raw_latitude":119639384,"longitude_deg":75.6539776,"latitude_deg":11.9639384,"altitude":80,"angle":347,"satellites":15,"speed":11,"hex_longitude":"2d17e180","hex_latitude":"07218d58","is_valid_coordinates":true} 
[2026-09-25 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324158720001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22935198375084032,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720867669492389888,"note":"Value kept but may cause issues"} 
[2026-09-25 15:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790328746000,"timestamp_ms":1790328746000,"timestamp_seconds":1790328746,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e8b010"} 
[2026-09-25 15:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 15:02:32] 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-25 15:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324158720001,"66":14363,"107":206,"83":41984,"24":11,"16":22935198375084032,"45":1720867669492389888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324158720001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:02:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22935198375084032,"km_value":22935198375084.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720867669492389888,"description":"Unknown IO ID 45"} 
[2026-09-25 15:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324158720001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1720867669492389888}} 
[2026-09-25 15:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":193710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:02:32] local.INFO: GPS data processed {"connection_id":193710,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:02:32] local.INFO: Acknowledgment sent {"connection_id":193710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:02:54] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:54] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:54] local.INFO: IMEI packet received {"connection_id":192170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":192170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:02:55] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:55] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:55] local.INFO: IMEI packet received {"connection_id":192170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":192170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:02:59] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:59] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:02:59] local.INFO: IMEI packet received {"connection_id":192170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":192170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:03:00] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e8b3f8012d17e18007218e78005100070f..."} 
[2026-09-25 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e8b3f8012d17e18007218e78005100070f..."} 
[2026-09-25 15:03:00] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e8b3f8012d17e18007218e78005100070f..."} 
[2026-09-25 15:03:00] local.INFO: Packet analysis {"connection_id":192170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:03:00] local.INFO: Extracted packet for processing {"connection_id":192170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756539776,"raw_latitude":119639672,"longitude_deg":75.6539776,"latitude_deg":11.9639672,"altitude":81,"angle":7,"satellites":15,"speed":12,"hex_longitude":"2d17e180","hex_latitude":"07218e78","is_valid_coordinates":true} 
[2026-09-25 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324158976001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22935211259985920,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720797300748277760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790328747000,"timestamp_ms":1790328747000,"timestamp_seconds":1790328747,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e8b3f8"} 
[2026-09-25 15:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 15:03:00] 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-25 15:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324158976001,"66":14363,"107":206,"83":41984,"24":12,"16":22935211259985920,"45":1720797300748277760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324158976001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22935211259985920,"km_value":22935211259985.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720797300748277760,"description":"Unknown IO ID 45"} 
[2026-09-25 15:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324158976001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1720797300748277760}} 
[2026-09-25 15:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":192170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:03:00] local.INFO: GPS data processed {"connection_id":192170,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:03:00] local.INFO: Acknowledgment sent {"connection_id":192170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:03:02] local.INFO: TCP Data received {"connection_id":195023,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:02] local.INFO: Processing buffer {"connection_id":195023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:02] local.INFO: Packet analysis {"connection_id":195023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:03:02] local.INFO: Extracted packet for processing {"connection_id":195023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03: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-25 15:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:03:02] 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-25 15:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:03:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:03: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-25 15:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":195023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:03:02] local.INFO: GPS data processed {"connection_id":195023,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:03:02] local.INFO: Acknowledgment sent {"connection_id":195023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:03:25] local.INFO: TCP Data received {"connection_id":193712,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:25] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:25] local.INFO: IMEI packet received {"connection_id":193712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":193712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:03:30] local.INFO: TCP Data received {"connection_id":193712,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:30] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:03:30] local.INFO: IMEI packet received {"connection_id":193712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":193712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:03:31] local.INFO: TCP Data received {"connection_id":193712,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:31] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:03:31] local.INFO: Packet analysis {"connection_id":193712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:03:31] local.INFO: Extracted packet for processing {"connection_id":193712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03: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-25 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:03:31] 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-25 15:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:03:31] 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-25 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:03: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-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:03:31] 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":895363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:03:31] local.INFO: GPS data processed {"connection_id":193712,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:03:31] local.INFO: Acknowledgment sent {"connection_id":193712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:03:32] local.INFO: TCP Data received {"connection_id":192170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e8bfb0012d17e24007219120005300140f..."} 
[2026-09-25 15:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e8bfb0012d17e24007219120005300140f..."} 
[2026-09-25 15:03:32] local.INFO: Processing buffer {"connection_id":192170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e8bfb0012d17e24007219120005300140f..."} 
[2026-09-25 15:03:32] local.INFO: Packet analysis {"connection_id":192170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:03:32] local.INFO: Extracted packet for processing {"connection_id":192170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e8"} 
[2026-09-25 15:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756539968,"raw_latitude":119640352,"longitude_deg":75.6539968,"latitude_deg":11.9640352,"altitude":83,"angle":20,"satellites":15,"speed":7,"hex_longitude":"2d17e240","hex_latitude":"07219120","is_valid_coordinates":true} 
[2026-09-25 15:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324159232001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22935245619724288,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720797300748351488,"note":"Value kept but may cause issues"} 
[2026-09-25 15:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790328750000,"timestamp_ms":1790328750000,"timestamp_seconds":1790328750,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e8bfb0"} 
[2026-09-25 15:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 15:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324159232001,"66":14483,"107":206,"83":41984,"24":7,"16":22935245619724288,"45":1720797300748351488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324159232001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:03:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22935245619724288,"km_value":22935245619724.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720797300748351488,"description":"Unknown IO ID 45"} 
[2026-09-25 15:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324159232001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1720797300748351488}} 
[2026-09-25 15:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":192170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:03:32] local.INFO: GPS data processed {"connection_id":192170,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:03:32] local.INFO: Acknowledgment sent {"connection_id":192170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:03:44] local.INFO: TCP Data received {"connection_id":193711,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:03:44] local.INFO: Processing buffer {"connection_id":193711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:03:44] local.INFO: IMEI packet received {"connection_id":193711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":193711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:03:55] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:55] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:55] local.INFO: IMEI packet received {"connection_id":192342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":192342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:03:59] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:59] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:03:59] local.INFO: IMEI packet received {"connection_id":192342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":192342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:04:04] local.INFO: TCP Data received {"connection_id":193712,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:04] local.INFO: Processing buffer {"connection_id":193712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:04] local.INFO: Packet analysis {"connection_id":193712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:04:04] local.INFO: Extracted packet for processing {"connection_id":193712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:04: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-25 15:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:04:04] 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-25 15:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:04:04] 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":895365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:04:04] local.INFO: GPS data processed {"connection_id":193712,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:04:04] local.INFO: Acknowledgment sent {"connection_id":193712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:04:04] local.INFO: TCP Data received {"connection_id":195024,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:04:04] local.INFO: Processing buffer {"connection_id":195024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:04:04] local.INFO: IMEI packet received {"connection_id":195024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":195024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:04:05] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:05] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:05] local.INFO: IMEI packet received {"connection_id":192342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":192342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:04:05] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e9c180012d17f5800721feb8005400090f..."} 
[2026-09-25 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e9c180012d17f5800721feb8005400090f..."} 
[2026-09-25 15:04:05] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e9c180012d17f5800721feb8005400090f..."} 
[2026-09-25 15:04:05] local.INFO: Packet analysis {"connection_id":192342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e9"} 
[2026-09-25 15:04:05] local.INFO: Extracted packet for processing {"connection_id":192342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e9"} 
[2026-09-25 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756544896,"raw_latitude":119668408,"longitude_deg":75.6544896,"latitude_deg":11.9668408,"altitude":84,"angle":9,"satellites":15,"speed":18,"hex_longitude":"2d17f580","hex_latitude":"0721feb8","is_valid_coordinates":true} 
[2026-09-25 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324175360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936667253899264,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725230531638210560,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:05] local.INFO: IO Element Parsed {"io_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-25 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790328816000,"timestamp_ms":1790328816000,"timestamp_seconds":1790328816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e9c180"} 
[2026-09-25 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:04:05] 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-25 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324175360001,"66":14407,"105":206,"83":41984,"24":18,"16":22936667253899264,"45":1725230531638210560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324175360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936667253899264,"km_value":22936667253899.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725230531638210560,"description":"Unknown IO ID 45"} 
[2026-09-25 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324175360001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1725230531638210560}} 
[2026-09-25 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":192342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:04:06] local.INFO: GPS data processed {"connection_id":192342,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:04:06] local.INFO: Acknowledgment sent {"connection_id":192342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:04:06] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e9d120012d17f440072206680054016710..."} 
[2026-09-25 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e9d120012d17f440072206680054016710..."} 
[2026-09-25 15:04:06] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e9d120012d17f440072206680054016710..."} 
[2026-09-25 15:04:06] local.INFO: Packet analysis {"connection_id":192342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e9"} 
[2026-09-25 15:04:06] local.INFO: Extracted packet for processing {"connection_id":192342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e9"} 
[2026-09-25 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756544576,"raw_latitude":119670376,"longitude_deg":75.6544576,"latitude_deg":11.9670376,"altitude":84,"angle":359,"satellites":16,"speed":18,"hex_longitude":"2d17f440","hex_latitude":"07220668","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324176896001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22936766038147072,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726426800289921024,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790328820000,"timestamp_ms":1790328820000,"timestamp_seconds":1790328820,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e9d120"} 
[2026-09-25 15: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-25 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 15:04:06] 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-25 15: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-25 15: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-25 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324176896001,"66":14407,"105":206,"83":41984,"24":18,"16":22936766038147072,"45":1726426800289921024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324176896001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22936766038147072,"km_value":22936766038147.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726426800289921024,"description":"Unknown IO ID 45"} 
[2026-09-25 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324176896001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1726426800289921024}} 
[2026-09-25 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":192342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:04:06] local.INFO: GPS data processed {"connection_id":192342,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:04:06] local.INFO: Acknowledgment sent {"connection_id":192342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:04:25] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:25] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:25] local.INFO: IMEI packet received {"connection_id":192171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":192171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:04:30] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:30] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:04:30] local.INFO: IMEI packet received {"connection_id":192171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:04:31] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:31] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:04:31] local.INFO: Packet analysis {"connection_id":192171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:04:31] local.INFO: Extracted packet for processing {"connection_id":192171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04: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-25 15:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:04:31] 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-25 15:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:04:31] 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-25 15:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:04: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-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":192171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:04:31] local.INFO: GPS data processed {"connection_id":192171,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:04:31] local.INFO: Acknowledgment sent {"connection_id":192171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:04:38] local.INFO: TCP Data received {"connection_id":192342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ea07d0012d17f30007221db8005d015910..."} 
[2026-09-25 15:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ea07d0012d17f30007221db8005d015910..."} 
[2026-09-25 15:04:38] local.INFO: Processing buffer {"connection_id":192342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ea07d0012d17f30007221db8005d015910..."} 
[2026-09-25 15:04:38] local.INFO: Packet analysis {"connection_id":192342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:04:38] local.INFO: Extracted packet for processing {"connection_id":192342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756544256,"raw_latitude":119676344,"longitude_deg":75.6544256,"latitude_deg":11.9676344,"altitude":93,"angle":345,"satellites":16,"speed":13,"hex_longitude":"2d17f300","hex_latitude":"07221db8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324177920001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937062390890496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726074956569536512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790328834000,"timestamp_ms":1790328834000,"timestamp_seconds":1790328834,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ea07d0"} 
[2026-09-25 15: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-25 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 15:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324177920001,"66":14494,"105":206,"83":41984,"24":13,"16":22937062390890496,"45":1726074956569536512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324177920001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937062390890496,"km_value":22937062390890.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726074956569536512,"description":"Unknown IO ID 45"} 
[2026-09-25 15:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324177920001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1726074956569536512}} 
[2026-09-25 15:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":192342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:04:38] local.INFO: GPS data processed {"connection_id":192342,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:04:38] local.INFO: Acknowledgment sent {"connection_id":192342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:04:51] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:51] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:51] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:04:54] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:54] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:54] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:04:59] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:59] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:04:59] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:05:00] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ea2af8012d17ee8007222cb8005b016710..."} 
[2026-09-25 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ea2af8012d17ee8007222cb8005b016710..."} 
[2026-09-25 15:05:00] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ea2af8012d17ee8007222cb8005b016710..."} 
[2026-09-25 15:05:00] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:05:00] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119680184,"longitude_deg":75.6543104,"latitude_deg":11.9680184,"altitude":91,"angle":359,"satellites":16,"speed":17,"hex_longitude":"2d17ee80","hex_latitude":"07222cb8","is_valid_coordinates":true} 
[2026-09-25 15:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324181504001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937259959386112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725723112850176000,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05: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-25 15:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790328843000,"timestamp_ms":1790328843000,"timestamp_seconds":1790328843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ea2af8"} 
[2026-09-25 15:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-25 15:05:00] 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-25 15:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324181504001,"66":14515,"105":206,"83":41984,"24":17,"16":22937259959386112,"45":1725723112850176000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324181504001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937259959386112,"km_value":22937259959386.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725723112850176000,"description":"Unknown IO ID 45"} 
[2026-09-25 15:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324181504001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1725723112850176000}} 
[2026-09-25 15:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:05:00] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:05:00] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:05:03] local.INFO: TCP Data received {"connection_id":192171,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:03] local.INFO: Processing buffer {"connection_id":192171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:03] local.INFO: Packet analysis {"connection_id":192171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:05:03] local.INFO: Extracted packet for processing {"connection_id":192171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05: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-25 15:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:05:03] 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-25 15:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:05:03] 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-25 15:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:05: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-25 15:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":192171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:05:03] local.INFO: GPS data processed {"connection_id":192171,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:05:03] local.INFO: Acknowledgment sent {"connection_id":192171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:05:25] local.INFO: TCP Data received {"connection_id":195025,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:25] local.INFO: Processing buffer {"connection_id":195025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:25] local.INFO: IMEI packet received {"connection_id":195025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":195025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:05:30] local.INFO: TCP Data received {"connection_id":195025,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:30] local.INFO: Processing buffer {"connection_id":195025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:05:30] local.INFO: IMEI packet received {"connection_id":195025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":195025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:05:31] local.INFO: TCP Data received {"connection_id":195025,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:31] local.INFO: Processing buffer {"connection_id":195025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:05:31] local.INFO: Packet analysis {"connection_id":195025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:05:31] local.INFO: Extracted packet for processing {"connection_id":195025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05: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-25 15:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15: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-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:05:31] 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-25 15: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-25 15: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-25 15:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:05:31] 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-25 15:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:05: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-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":195025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:05:31] local.INFO: GPS data processed {"connection_id":195025,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:05:31] local.INFO: Acknowledgment sent {"connection_id":195025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:05:31] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ea4268012d17ee40072236e8005f015a10..."} 
[2026-09-25 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ea4268012d17ee40072236e8005f015a10..."} 
[2026-09-25 15:05:31] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ea4268012d17ee40072236e8005f015a10..."} 
[2026-09-25 15:05:31] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:05:31] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756543040,"raw_latitude":119682792,"longitude_deg":75.654304,"latitude_deg":11.9682792,"altitude":95,"angle":346,"satellites":16,"speed":15,"hex_longitude":"2d17ee40","hex_latitude":"072236e8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324183808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937384513437696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475455961088,"note":"Value kept but may cause issues"} 
[2026-09-25 15:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328849000,"timestamp_ms":1790328849000,"timestamp_seconds":1790328849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ea4268"} 
[2026-09-25 15: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-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:05:31] 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-25 15: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-25 15: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-25 15:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324183808001,"66":14483,"105":206,"83":41984,"24":15,"16":22937384513437696,"45":1724456475455961088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324183808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937384513437696,"km_value":22937384513437.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475455961088,"description":"Unknown IO ID 45"} 
[2026-09-25 15:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324183808001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1724456475455961088}} 
[2026-09-25 15:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:05:32] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:05:32] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:05:54] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:54] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:54] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:05:55] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:55] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:55] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:05:59] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:59] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:05:59] local.INFO: IMEI packet received {"connection_id":192172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:06:00] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ea59d8012d17eb8007223ee8005d014e0f..."} 
[2026-09-25 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ea59d8012d17eb8007223ee8005d014e0f..."} 
[2026-09-25 15:06:00] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ea59d8012d17eb8007223ee8005d014e0f..."} 
[2026-09-25 15:06:00] local.INFO: Packet analysis {"connection_id":192172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:00] local.INFO: Extracted packet for processing {"connection_id":192172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756542336,"raw_latitude":119684840,"longitude_deg":75.6542336,"latitude_deg":11.968484,"altitude":93,"angle":334,"satellites":15,"speed":14,"hex_longitude":"2d17eb80","hex_latitude":"07223ee8","is_valid_coordinates":true} 
[2026-09-25 15:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324185344001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937491887620096,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106712451072,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06: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-25 15:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790328855000,"timestamp_ms":1790328855000,"timestamp_seconds":1790328855,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ea59d8"} 
[2026-09-25 15:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 15:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324185344001,"66":14428,"105":206,"83":41984,"24":14,"16":22937491887620096,"45":1724386106712451072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324185344001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937491887620096,"km_value":22937491887620.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106712451072,"description":"Unknown IO ID 45"} 
[2026-09-25 15:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324185344001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1724386106712451072}} 
[2026-09-25 15:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":192172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:06:00] local.INFO: GPS data processed {"connection_id":192172,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:06:00] local.INFO: Acknowledgment sent {"connection_id":192172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:06:03] local.INFO: TCP Data received {"connection_id":195025,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:06:03] local.INFO: Processing buffer {"connection_id":195025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7e6fa90012d34c14006aa4908000c006e29..."} 
[2026-09-25 15:06:03] local.INFO: Packet analysis {"connection_id":195025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:06:03] local.INFO: Extracted packet for processing {"connection_id":195025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7e6"} 
[2026-09-25 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324053248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06: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-25 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328634000,"timestamp_ms":1790328634000,"timestamp_seconds":1790328634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7e6fa90"} 
[2026-09-25 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 15:06:03] 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-25 15:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:06:03] 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-25 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324053248001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324053248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:06: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-25 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324053248001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":195025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:06:03] local.INFO: GPS data processed {"connection_id":195025,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:06:03] local.INFO: Acknowledgment sent {"connection_id":195025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:06:25] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:25] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:25] local.INFO: IMEI packet received {"connection_id":193714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":193714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:06:30] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:30] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:06:30] local.INFO: IMEI packet received {"connection_id":193714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":193714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:06:31] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:06:31] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:06:31] local.INFO: Packet analysis {"connection_id":193714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:06:31] local.INFO: Extracted packet for processing {"connection_id":193714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15: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-25 15:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:06:31] 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-25 15:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:06:31] 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":895376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:06:31] local.INFO: GPS data processed {"connection_id":193714,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:06:31] local.INFO: Acknowledgment sent {"connection_id":193714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:06:31] local.INFO: TCP Data received {"connection_id":192172,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ea9088012d17e7c007224b000064015d10..."} 
[2026-09-25 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ea9088012d17e7c007224b000064015d10..."} 
[2026-09-25 15:06:31] local.INFO: Processing buffer {"connection_id":192172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ea9088012d17e7c007224b000064015d10..."} 
[2026-09-25 15:06:31] local.INFO: Packet analysis {"connection_id":192172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:31] local.INFO: Extracted packet for processing {"connection_id":192172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756541376,"raw_latitude":119687936,"longitude_deg":75.6541376,"latitude_deg":11.9687936,"altitude":100,"angle":349,"satellites":16,"speed":10,"hex_longitude":"2d17e7c0","hex_latitude":"07224b00","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324186880001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937659391344640,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723612050527021056,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328869000,"timestamp_ms":1790328869000,"timestamp_seconds":1790328869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ea9088"} 
[2026-09-25 15: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-25 15:06:31] 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-25 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:06:31] 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-25 15: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-25 15: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-25 15:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324186880001,"66":14396,"105":206,"83":41984,"24":10,"16":22937659391344640,"45":1723612050527021056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324186880001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937659391344640,"km_value":22937659391344.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723612050527021056,"description":"Unknown IO ID 45"} 
[2026-09-25 15:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324186880001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1723612050527021056}} 
[2026-09-25 15:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":192172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:06:31] local.INFO: GPS data processed {"connection_id":192172,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:06:31] local.INFO: Acknowledgment sent {"connection_id":192172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:06:54] local.INFO: TCP Data received {"connection_id":195026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:54] local.INFO: Processing buffer {"connection_id":195026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:54] local.INFO: IMEI packet received {"connection_id":195026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":195026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:06:58] local.INFO: TCP Data received {"connection_id":195026,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:58] local.INFO: Processing buffer {"connection_id":195026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:06:58] local.INFO: IMEI packet received {"connection_id":195026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":195026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:06:59] local.INFO: TCP Data received {"connection_id":195026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eae290012d17e1c0072265000069015b10..."} 
[2026-09-25 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eae290012d17e1c0072265000069015b10..."} 
[2026-09-25 15:06:59] local.INFO: Processing buffer {"connection_id":195026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eae290012d17e1c0072265000069015b10..."} 
[2026-09-25 15:06:59] local.INFO: Packet analysis {"connection_id":195026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:59] local.INFO: Extracted packet for processing {"connection_id":195026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ea"} 
[2026-09-25 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756539840,"raw_latitude":119694592,"longitude_deg":75.653984,"latitude_deg":11.9694592,"altitude":105,"angle":347,"satellites":16,"speed":13,"hex_longitude":"2d17e1c0","hex_latitude":"07226500","is_valid_coordinates":true} 
[2026-09-25 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324190464001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22937990103826432,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722556519365148672,"note":"Value kept but may cause issues"} 
[2026-09-25 15:06:59] local.INFO: IO Element Parsed {"io_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-25 15:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790328890000,"timestamp_ms":1790328890000,"timestamp_seconds":1790328890,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eae290"} 
[2026-09-25 15:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:06:59] 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-25 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 15:06:59] 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-25 15:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324190464001,"66":14298,"105":206,"83":41984,"24":13,"16":22937990103826432,"45":1722556519365148672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324190464001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22937990103826432,"km_value":22937990103826.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722556519365148672,"description":"Unknown IO ID 45"} 
[2026-09-25 15:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324190464001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1722556519365148672}} 
[2026-09-25 15:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":195026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:06:59] local.INFO: GPS data processed {"connection_id":195026,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:06:59] local.INFO: Acknowledgment sent {"connection_id":195026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:07:02] local.INFO: TCP Data received {"connection_id":193714,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:02] local.INFO: Processing buffer {"connection_id":193714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:02] local.INFO: Packet analysis {"connection_id":193714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:02] local.INFO: Extracted packet for processing {"connection_id":193714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15: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-25 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15: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-25 15: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-25 15:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:07:02] 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-25 15:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:07:02] 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":895379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:07:02] local.INFO: GPS data processed {"connection_id":193714,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:07:02] local.INFO: Acknowledgment sent {"connection_id":193714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:07:25] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:25] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:25] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:07:30] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:30] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:07:30] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:07:30] local.INFO: TCP Data received {"connection_id":195026,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb3498012d17dcc007227858006e015d0f..."} 
[2026-09-25 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb3498012d17dcc007227858006e015d0f..."} 
[2026-09-25 15:07:30] local.INFO: Processing buffer {"connection_id":195026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb3498012d17dcc007227858006e015d0f..."} 
[2026-09-25 15:07:30] local.INFO: Packet analysis {"connection_id":195026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:30] local.INFO: Extracted packet for processing {"connection_id":195026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756538560,"raw_latitude":119699544,"longitude_deg":75.653856,"latitude_deg":11.9699544,"altitude":110,"angle":349,"satellites":15,"speed":0,"hex_longitude":"2d17dcc0","hex_latitude":"07227858","is_valid_coordinates":true} 
[2026-09-25 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324195840001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22938247801864192,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720867669506588672,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07: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-25 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790328911000,"timestamp_ms":1790328911000,"timestamp_seconds":1790328911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb3498"} 
[2026-09-25 15:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 15:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324195840001,"66":14080,"105":206,"83":41984,"24":0,"16":22938247801864192,"45":1720867669506588672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324195840001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:07:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22938247801864192,"km_value":22938247801864.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720867669506588672,"description":"Unknown IO ID 45"} 
[2026-09-25 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324195840001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1720867669506588672}} 
[2026-09-25 15:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":195026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:07:30] local.INFO: GPS data processed {"connection_id":195026,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:07:30] local.INFO: Acknowledgment sent {"connection_id":195026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:07:31] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:31] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:07:31] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:31] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:07: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-25 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:07:31] 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-25 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:07: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-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:07:31] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:07:31] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:07:54] local.INFO: TCP Data received {"connection_id":195027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:54] local.INFO: Processing buffer {"connection_id":195027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:54] local.INFO: IMEI packet received {"connection_id":195027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":195027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:07:59] local.INFO: TCP Data received {"connection_id":195027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:59] local.INFO: Processing buffer {"connection_id":195027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:07:59] local.INFO: IMEI packet received {"connection_id":195027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":195027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:08:00] local.INFO: TCP Data received {"connection_id":195027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ed3068012d17e6c0072248a8005e00a019..."} 
[2026-09-25 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ed3068012d17e6c0072248a8005e00a019..."} 
[2026-09-25 15:08:00] local.INFO: Processing buffer {"connection_id":195027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ed3068012d17e6c0072248a8005e00a019..."} 
[2026-09-25 15:08:00] local.INFO: Packet analysis {"connection_id":195027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:08:00] local.INFO: Extracted packet for processing {"connection_id":195027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756541120,"raw_latitude":119687336,"longitude_deg":75.654112,"latitude_deg":11.9687336,"altitude":94,"angle":160,"satellites":25,"speed":24,"hex_longitude":"2d17e6c0","hex_latitude":"072248a8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324233472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22938917816762368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1721782463179601920,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08: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-25 15:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329041000,"timestamp_ms":1790329041000,"timestamp_seconds":1790329041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ed3068"} 
[2026-09-25 15: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-25 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-25 15:08:00] 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-25 15: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-25 15: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-25 15:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324233472001,"66":13167,"105":206,"83":41984,"24":24,"16":22938917816762368,"45":1721782463179601920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324233472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:08:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:08:00] 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-25 15:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1721782463179601920,"description":"Unknown IO ID 45"} 
[2026-09-25 15:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324233472001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1721782463179601920}} 
[2026-09-25 15:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":195027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:08:00] local.INFO: GPS data processed {"connection_id":195027,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:08:00] local.INFO: Acknowledgment sent {"connection_id":195027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:08:03] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:03] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:03] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:08:03] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08: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-25 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:08:03] 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-25 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:08: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-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:08:03] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:08:03] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:08:25] local.INFO: TCP Data received {"connection_id":195029,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:25] local.INFO: Processing buffer {"connection_id":195029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:25] local.INFO: IMEI packet received {"connection_id":195029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":195029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:08:30] local.INFO: TCP Data received {"connection_id":195029,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:30] local.INFO: Processing buffer {"connection_id":195029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:08:30] local.INFO: IMEI packet received {"connection_id":195029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":195029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:08:31] local.INFO: TCP Data received {"connection_id":195027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ed4fa8012d17ee8007223438005900ac1a..."} 
[2026-09-25 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ed4fa8012d17ee8007223438005900ac1a..."} 
[2026-09-25 15:08:31] local.INFO: Processing buffer {"connection_id":195027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ed4fa8012d17ee8007223438005900ac1a..."} 
[2026-09-25 15:08:31] local.INFO: Packet analysis {"connection_id":195027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:08:31] local.INFO: Extracted packet for processing {"connection_id":195027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756543104,"raw_latitude":119682104,"longitude_deg":75.6543104,"latitude_deg":11.9682104,"altitude":89,"angle":172,"satellites":26,"speed":27,"hex_longitude":"2d17ee80","hex_latitude":"07223438","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324234496001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22939188399702016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722275044388284416,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329049000,"timestamp_ms":1790329049000,"timestamp_seconds":1790329049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ed4fa8"} 
[2026-09-25 15: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-25 15:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-25 15:08:31] 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-25 15: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-25 15: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-25 15:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324234496001,"66":13135,"105":206,"83":41984,"24":27,"16":22939188399702016,"45":1722275044388284416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324234496001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22939188399702016,"km_value":22939188399702.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722275044388284416,"description":"Unknown IO ID 45"} 
[2026-09-25 15:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324234496001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1722275044388284416}} 
[2026-09-25 15:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":195027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:08:31] local.INFO: GPS data processed {"connection_id":195027,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:08:31] local.INFO: Acknowledgment sent {"connection_id":195027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:08:32] local.INFO: TCP Data received {"connection_id":195029,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:32] local.INFO: Processing buffer {"connection_id":195029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:08:32] local.INFO: Packet analysis {"connection_id":195029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:08:32] local.INFO: Extracted packet for processing {"connection_id":195029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:08:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:08: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-25 15:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:08:32] 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-25 15:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":195029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:08:32] local.INFO: GPS data processed {"connection_id":195029,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:08:32] local.INFO: Acknowledgment sent {"connection_id":195029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:08:54] local.INFO: TCP Data received {"connection_id":195030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:54] local.INFO: Processing buffer {"connection_id":195030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:54] local.INFO: IMEI packet received {"connection_id":195030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":195030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:08:59] local.INFO: TCP Data received {"connection_id":195030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:59] local.INFO: Processing buffer {"connection_id":195030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:08:59] local.INFO: IMEI packet received {"connection_id":195030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":195030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:09:00] local.INFO: TCP Data received {"connection_id":195030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ed6718012d17f0c0072223d0005300a01a..."} 
[2026-09-25 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ed6718012d17f0c0072223d0005300a01a..."} 
[2026-09-25 15:09:00] local.INFO: Processing buffer {"connection_id":195030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ed6718012d17f0c0072223d0005300a01a..."} 
[2026-09-25 15:09:00] local.INFO: Packet analysis {"connection_id":195030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:09:00] local.INFO: Extracted packet for processing {"connection_id":195030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ed"} 
[2026-09-25 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756543680,"raw_latitude":119677904,"longitude_deg":75.654368,"latitude_deg":11.9677904,"altitude":83,"angle":160,"satellites":26,"speed":25,"hex_longitude":"2d17f0c0","hex_latitude":"072223d0","is_valid_coordinates":true} 
[2026-09-25 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324236544001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22939394558132224,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475456452608,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09: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-25 15:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329055000,"timestamp_ms":1790329055000,"timestamp_seconds":1790329055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ed6718"} 
[2026-09-25 15:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 15:09:00] 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-25 15:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324236544001,"66":13091,"105":206,"83":41984,"24":25,"16":22939394558132224,"45":1724456475456452608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324236544001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22939394558132224,"km_value":22939394558132.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475456452608,"description":"Unknown IO ID 45"} 
[2026-09-25 15:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324236544001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1724456475456452608}} 
[2026-09-25 15:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":195030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:09:00] local.INFO: GPS data processed {"connection_id":195030,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:09:00] local.INFO: Acknowledgment sent {"connection_id":195030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:09:03] local.INFO: TCP Data received {"connection_id":195029,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:03] local.INFO: Processing buffer {"connection_id":195029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:03] local.INFO: Packet analysis {"connection_id":195029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:09:03] local.INFO: Extracted packet for processing {"connection_id":195029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09: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-25 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:09:03] 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-25 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:09: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-25 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":195029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:09:03] local.INFO: GPS data processed {"connection_id":195029,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:09:03] local.INFO: Acknowledgment sent {"connection_id":195029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:09:25] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:25] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:25] local.INFO: IMEI packet received {"connection_id":193715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":193715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:09:30] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:30] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:09:30] local.INFO: IMEI packet received {"connection_id":193715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":193715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:09:31] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:31] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:09:31] local.INFO: Packet analysis {"connection_id":193715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:09:31] local.INFO: Extracted packet for processing {"connection_id":193715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09: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-25 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:09:31] 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-25 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:09: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-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:09:31] 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":895388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:09:31] local.INFO: GPS data processed {"connection_id":193715,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:09:31] local.INFO: Acknowledgment sent {"connection_id":193715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:09:31] local.INFO: TCP Data received {"connection_id":195030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ef1c98012d17e14007218df0004e009a1b..."} 
[2026-09-25 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ef1c98012d17e14007218df0004e009a1b..."} 
[2026-09-25 15:09:31] local.INFO: Processing buffer {"connection_id":195030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ef1c98012d17e14007218df0004e009a1b..."} 
[2026-09-25 15:09:31] local.INFO: Packet analysis {"connection_id":195030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:09:31] local.INFO: Extracted packet for processing {"connection_id":195030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756539712,"raw_latitude":119639536,"longitude_deg":75.6539712,"latitude_deg":11.9639536,"altitude":78,"angle":154,"satellites":27,"speed":10,"hex_longitude":"2d17e140","hex_latitude":"07218df0","is_valid_coordinates":true} 
[2026-09-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324266496001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941322998448128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720586194515851264,"note":"Value kept but may cause issues"} 
[2026-09-25 15:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329167000,"timestamp_ms":1790329167000,"timestamp_seconds":1790329167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ef1c98"} 
[2026-09-25 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 15:09:31] 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-25 15:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324266496001,"66":14004,"107":206,"83":41984,"24":10,"16":22941322998448128,"45":1720586194515851264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324266496001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941322998448128,"km_value":22941322998448.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720586194515851264,"description":"Unknown IO ID 45"} 
[2026-09-25 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324266496001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1720586194515851264}} 
[2026-09-25 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":195030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:09:31] local.INFO: GPS data processed {"connection_id":195030,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:09:31] local.INFO: Acknowledgment sent {"connection_id":195030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:09:34] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:09:34] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:09:34] local.INFO: IMEI packet received {"connection_id":192346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:09:59] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:09:59] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:09:59] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:10:03] local.INFO: TCP Data received {"connection_id":193715,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:03] local.INFO: Processing buffer {"connection_id":193715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:03] local.INFO: Packet analysis {"connection_id":193715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:10:03] local.INFO: Extracted packet for processing {"connection_id":193715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10: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-25 15:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:10:03] 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-25 15:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:10: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-25 15:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:10:03] 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":895390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:10:03] local.INFO: GPS data processed {"connection_id":193715,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:10:03] local.INFO: Acknowledgment sent {"connection_id":193715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:10:04] local.INFO: TCP Data received {"connection_id":195031,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:10:04] local.INFO: Processing buffer {"connection_id":195031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:10:04] local.INFO: IMEI packet received {"connection_id":195031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":195031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:10:04] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:04] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:04] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:10:05] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ef2080012d17e1c007218d28004d007e1b..."} 
[2026-09-25 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ef2080012d17e1c007218d28004d007e1b..."} 
[2026-09-25 15:10:05] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ef2080012d17e1c007218d28004d007e1b..."} 
[2026-09-25 15:10:05] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:05] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756539840,"raw_latitude":119639336,"longitude_deg":75.653984,"latitude_deg":11.9639336,"altitude":77,"angle":126,"satellites":27,"speed":10,"hex_longitude":"2d17e1c0","hex_latitude":"07218d28","is_valid_coordinates":true} 
[2026-09-25 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-25 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324266752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941335883350016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720726932004139008,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790329168000,"timestamp_ms":1790329168000,"timestamp_seconds":1790329168,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ef2080"} 
[2026-09-25 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-25 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 15:10:05] 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-25 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-25 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-25 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324266752001,"66":14341,"107":206,"83":41984,"24":10,"16":22941335883350016,"45":1720726932004139008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324266752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941335883350016,"km_value":22941335883350.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720726932004139008,"description":"Unknown IO ID 45"} 
[2026-09-25 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324266752001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1720726932004139008}} 
[2026-09-25 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:10:05] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:10:05] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:10:06] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ef2468012d17e2c007218cd8004d00661b..."} 
[2026-09-25 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ef2468012d17e2c007218cd8004d00661b..."} 
[2026-09-25 15:10:06] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ef2468012d17e2c007218cd8004d00661b..."} 
[2026-09-25 15:10:06] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:06] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756540096,"raw_latitude":119639256,"longitude_deg":75.6540096,"latitude_deg":11.9639256,"altitude":77,"angle":102,"satellites":27,"speed":9,"hex_longitude":"2d17e2c0","hex_latitude":"07218cd8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324267008001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941344473284608,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720867669492443136,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790329169000,"timestamp_ms":1790329169000,"timestamp_seconds":1790329169,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ef2468"} 
[2026-09-25 15: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-25 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993473218,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3622756864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84750259632677298,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949680246784,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4008812545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2559574095,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3489738007,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3221692828,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2161311744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":22237262347506944,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,129,160,28,45,64,141,78,27,10,66,192,142,12,128,1,240,60,227,215,33,4,113,205,21,233,231,152,26,239,55,2,81,7,77,206,80],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-25 15:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548573395350323200,"timestamp_seconds":5548573395350323.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324267008001,"66":14341,"107":206,"83":41984,"24":9,"16":22941344473284608,"45":1720867669492443136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324267008001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:10:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941344473284608,"km_value":22941344473284.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720867669492443136,"description":"Unknown IO ID 45"} 
[2026-09-25 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324267008001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1720867669492443136}} 
[2026-09-25 15:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:10:06] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:10:06] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:10:25] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:25] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:25] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:10:30] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:30] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:10:30] local.INFO: IMEI packet received {"connection_id":192174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":192174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:10:31] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:31] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:10:31] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:10:31] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10: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-25 15:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:10:31] 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-25 15:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:10: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-25 15:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:10:31] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:10:31] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:10:36] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ef3408012d17e6c007218bd8004b00711b..."} 
[2026-09-25 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ef3408012d17e6c007218bd8004b00711b..."} 
[2026-09-25 15:10:36] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ef3408012d17e6c007218bd8004b00711b..."} 
[2026-09-25 15:10:36] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:36] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756541120,"raw_latitude":119639000,"longitude_deg":75.654112,"latitude_deg":11.9639,"altitude":75,"angle":113,"satellites":27,"speed":11,"hex_longitude":"2d17e6c0","hex_latitude":"07218bd8","is_valid_coordinates":true} 
[2026-09-25 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324267264001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941400307859456,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1721149144469133312,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790329173000,"timestamp_ms":1790329173000,"timestamp_seconds":1790329173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ef3408"} 
[2026-09-25 15:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84750255337709984,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":2684431639,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3622758864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949681033216,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4010604545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2442657871,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2162229248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":21674376818595072,"note":"Value kept but may cause issues"} 
[2026-09-25 15:10:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,129,160,32,45,192,141,77,27,10,66,28,64,78,1,240,180,227,215,33,4,113,205,7,229,144,26,239,55,2,81,23,206,216],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-25 15:10:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548547007071191040,"timestamp_seconds":5548547007071191.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324267264001,"66":14330,"107":206,"83":41984,"24":11,"16":22941400307859456,"45":1721149144469133312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324267264001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:10:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941400307859456,"km_value":22941400307859.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1721149144469133312,"description":"Unknown IO ID 45"} 
[2026-09-25 15:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324267264001,"power":14330,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1721149144469133312}} 
[2026-09-25 15:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:10:36] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:10:36] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:10:54] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:10:54] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:54] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:10:59] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:59] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:10:59] local.INFO: IMEI packet received {"connection_id":192175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":192175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:11:00] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ef3fc0012d17e9c007218aa0004a00631b..."} 
[2026-09-25 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ef3fc0012d17e9c007218aa0004a00631b..."} 
[2026-09-25 15:11:00] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ef3fc0012d17e9c007218aa0004a00631b..."} 
[2026-09-25 15:11:00] local.INFO: Packet analysis {"connection_id":192175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:11:00] local.INFO: Extracted packet for processing {"connection_id":192175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ef"} 
[2026-09-25 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756541888,"raw_latitude":119638688,"longitude_deg":75.6541888,"latitude_deg":11.9638688,"altitude":74,"angle":99,"satellites":27,"speed":9,"hex_longitude":"2d17e9c0","hex_latitude":"07218aa0","is_valid_coordinates":true} 
[2026-09-25 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324268288001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22941438962565120,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722275044375910400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329176000,"timestamp_ms":1790329176000,"timestamp_seconds":1790329176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ef3fc0"} 
[2026-09-25 15:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-25 15:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324268288001,"66":14102,"107":206,"83":41984,"24":9,"16":22941438962565120,"45":1722275044375910400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 15:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324268288001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22941438962565120,"km_value":22941438962565.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722275044375910400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324268288001,"power":14102,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1722275044375910400}} 
[2026-09-25 15:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":192175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:11:00] local.INFO: GPS data processed {"connection_id":192175,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:11:00] local.INFO: Acknowledgment sent {"connection_id":192175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:11:02] local.INFO: TCP Data received {"connection_id":192174,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:11:02] local.INFO: Processing buffer {"connection_id":192174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7eb9258012d34c14006aa49080009006e28..."} 
[2026-09-25 15:11:02] local.INFO: Packet analysis {"connection_id":192174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:11:02] local.INFO: Extracted packet for processing {"connection_id":192174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7eb"} 
[2026-09-25 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324130304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11: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-25 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790328935000,"timestamp_ms":1790328935000,"timestamp_seconds":1790328935,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7eb9258"} 
[2026-09-25 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:02] 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-25 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324130304001,"66":25528,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324130304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:11: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-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324130304001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":192174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:11:02] local.INFO: GPS data processed {"connection_id":192174,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:11:02] local.INFO: Acknowledgment sent {"connection_id":192174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:11:30] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:30] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:30] local.INFO: IMEI packet received {"connection_id":193716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:11:32] local.INFO: TCP Data received {"connection_id":192175,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f0be90012d1823000721b828004c00e71e..."} 
[2026-09-25 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f0be90012d1823000721b828004c00e71e..."} 
[2026-09-25 15:11:32] local.INFO: Processing buffer {"connection_id":192175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f0be90012d1823000721b828004c00e71e..."} 
[2026-09-25 15:11:32] local.INFO: Packet analysis {"connection_id":192175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:32] local.INFO: Extracted packet for processing {"connection_id":192175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650344,"longitude_deg":75.6556544,"latitude_deg":11.9650344,"altitude":76,"angle":231,"satellites":30,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-09-25 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324293888001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942529884258304,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469821440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790329274000,"timestamp_ms":1790329274000,"timestamp_seconds":1790329274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f0be90"} 
[2026-09-25 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:11:32] 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-25 15:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324293888001,"66":14428,"105":206,"83":41984,"24":5,"16":22942529884258304,"45":1739304280469821440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324293888001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:11:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942529884258304,"km_value":22942529884258.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469821440,"description":"Unknown IO ID 45"} 
[2026-09-25 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324293888001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469821440}} 
[2026-09-25 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":192175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:11:32] local.INFO: GPS data processed {"connection_id":192175,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:11:32] local.INFO: Acknowledgment sent {"connection_id":192175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:11:35] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:35] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:11:35] local.INFO: IMEI packet received {"connection_id":193716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":193716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:11:36] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:36] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:36] local.INFO: Packet analysis {"connection_id":193716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:36] local.INFO: Extracted packet for processing {"connection_id":193716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:11: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":895398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:11:36] local.INFO: GPS data processed {"connection_id":193716,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:11:36] local.INFO: Acknowledgment sent {"connection_id":193716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:11:40] local.INFO: TCP Data received {"connection_id":193716,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:40] local.INFO: Processing buffer {"connection_id":193716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:11:40] local.INFO: Packet analysis {"connection_id":193716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:40] local.INFO: Extracted packet for processing {"connection_id":193716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15: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-25 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:11:40] 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":895399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:11:40] local.INFO: GPS data processed {"connection_id":193716,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:11:40] local.INFO: Acknowledgment sent {"connection_id":193716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:11:54] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:54] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:54] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:11:59] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:59] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:11:59] local.INFO: IMEI packet received {"connection_id":192176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":192176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:12:00] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f0d218012d1822c00721b5d8004c00bd1e..."} 
[2026-09-25 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f0d218012d1822c00721b5d8004c00bd1e..."} 
[2026-09-25 15:12:00] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f0d218012d1822c00721b5d8004c00bd1e..."} 
[2026-09-25 15:12:00] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:00] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649752,"longitude_deg":75.655648,"latitude_deg":11.9649752,"altitude":76,"angle":189,"satellites":30,"speed":6,"hex_longitude":"2d1822c0","hex_latitude":"0721b5d8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324294144001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942559949029376,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725631488,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329279000,"timestamp_ms":1790329279000,"timestamp_seconds":1790329279,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f0d218"} 
[2026-09-25 15: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-25 15:12:00] 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-25 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324294144001,"66":14102,"105":206,"83":41984,"24":6,"16":22942559949029376,"45":1739233911725631488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324294144001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:12:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942559949029376,"km_value":22942559949029.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725631488,"description":"Unknown IO ID 45"} 
[2026-09-25 15:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324294144001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725631488}} 
[2026-09-25 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:12:00] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:12:00] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:12:25] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:25] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:25] local.INFO: IMEI packet received {"connection_id":193717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":193717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:12:30] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:30] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:12:30] local.INFO: IMEI packet received {"connection_id":193717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":193717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:12:31] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:12:31] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:12:31] local.INFO: Packet analysis {"connection_id":193717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:31] local.INFO: Extracted packet for processing {"connection_id":193717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12: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-25 15:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:12:31] 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-25 15:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:12: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-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:12:31] 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":895401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:12:31] local.INFO: GPS data processed {"connection_id":193717,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:12:31] local.INFO: Acknowledgment sent {"connection_id":193717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:12:31] local.INFO: TCP Data received {"connection_id":192176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f0d600012d1822800721b530004c00cb1e..."} 
[2026-09-25 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f0d600012d1822800721b530004c00cb1e..."} 
[2026-09-25 15:12:31] local.INFO: Processing buffer {"connection_id":192176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f0d600012d1822800721b530004c00cb1e..."} 
[2026-09-25 15:12:31] local.INFO: Packet analysis {"connection_id":192176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:31] local.INFO: Extracted packet for processing {"connection_id":192176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649584,"longitude_deg":75.6556416,"latitude_deg":11.9649584,"altitude":76,"angle":203,"satellites":30,"speed":7,"hex_longitude":"2d182280","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-09-25 15:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324295424001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942572833931264,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981302272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329280000,"timestamp_ms":1790329280000,"timestamp_seconds":1790329280,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f0d600"} 
[2026-09-25 15:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:12:31] 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-25 15:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 15:12:31] 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-25 15:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324295424001,"66":14102,"105":206,"83":41984,"24":7,"16":22942572833931264,"45":1739163542981302272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324295424001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942572833931264,"km_value":22942572833931.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981302272,"description":"Unknown IO ID 45"} 
[2026-09-25 15:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324295424001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739163542981302272}} 
[2026-09-25 15:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":192176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:12:31] local.INFO: GPS data processed {"connection_id":192176,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:12:31] local.INFO: Acknowledgment sent {"connection_id":192176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:12:54] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:54] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:54] local.INFO: IMEI packet received {"connection_id":193718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":193718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:12:59] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:59] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:12:59] local.INFO: IMEI packet received {"connection_id":193718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":193718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:13:00] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f12420012d1821800721b390004c00d31d..."} 
[2026-09-25 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f12420012d1821800721b390004c00d31d..."} 
[2026-09-25 15:13:00] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f12420012d1821800721b390004c00d31d..."} 
[2026-09-25 15:13:00] local.INFO: Packet analysis {"connection_id":193718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:13:00] local.INFO: Extracted packet for processing {"connection_id":193718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":29,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324295680001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237081600,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13: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-25 15:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329300000,"timestamp_ms":1790329300000,"timestamp_seconds":1790329300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f12420"} 
[2026-09-25 15:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:13:00] 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-25 15:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 15:13:00] 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-25 15:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324295680001,"66":13330,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1739093174237081600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324295680001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237081600,"description":"Unknown IO ID 45"} 
[2026-09-25 15:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324295680001,"power":13330,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237081600}} 
[2026-09-25 15:13:00] 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":895403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:13:00] local.INFO: GPS data processed {"connection_id":193718,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:13:00] local.INFO: Acknowledgment sent {"connection_id":193718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:13:02] local.INFO: TCP Data received {"connection_id":193717,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:02] local.INFO: Processing buffer {"connection_id":193717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:02] local.INFO: Packet analysis {"connection_id":193717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:13:02] local.INFO: Extracted packet for processing {"connection_id":193717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13: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-25 15:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:13:02] 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-25 15:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:13: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-25 15:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:13:02] 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":895404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:13:02] local.INFO: GPS data processed {"connection_id":193717,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:13:02] local.INFO: Acknowledgment sent {"connection_id":193717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:13:25] local.INFO: TCP Data received {"connection_id":195033,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:25] local.INFO: Processing buffer {"connection_id":195033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:25] local.INFO: IMEI packet received {"connection_id":195033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":195033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:13:30] local.INFO: TCP Data received {"connection_id":195033,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:30] local.INFO: Processing buffer {"connection_id":195033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:13:30] local.INFO: IMEI packet received {"connection_id":195033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":195033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:13:31] local.INFO: TCP Data received {"connection_id":195033,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:31] local.INFO: Processing buffer {"connection_id":195033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:13:31] local.INFO: Packet analysis {"connection_id":195033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:13:31] local.INFO: Extracted packet for processing {"connection_id":195033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13: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-25 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15: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-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:13:31] 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-25 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:13: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-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":195033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:13:31] local.INFO: GPS data processed {"connection_id":195033,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:13:31] local.INFO: Acknowledgment sent {"connection_id":195033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:13:31] local.INFO: TCP Data received {"connection_id":193718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f17628012d1821800721b390004c00d320..."} 
[2026-09-25 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f17628012d1821800721b390004c00d320..."} 
[2026-09-25 15:13:31] local.INFO: Processing buffer {"connection_id":193718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f17628012d1821800721b390004c00d320..."} 
[2026-09-25 15:13:31] local.INFO: Packet analysis {"connection_id":193718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:13:31] local.INFO: Extracted packet for processing {"connection_id":193718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":32,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324300800001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329321000,"timestamp_ms":1790329321000,"timestamp_seconds":1790329321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f17628"} 
[2026-09-25 15: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-25 15:13:31] 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-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3622875864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249376268325595056,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-5841167423509331961,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4038764545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-5271463037418529280,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080554,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2182742016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":148,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:13:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,130,160,214,45,128,181,76,30,10,66,210,192,190,1,240,92,227,215,33,4,113,205,6,182,36,48,239,54,2,81,7,148,106],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:13:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476609268390035456,"timestamp_seconds":5476609268390035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324300800001,"66":13276,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324300800001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324300800001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:13:31] 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":895406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:13:31] local.INFO: GPS data processed {"connection_id":193718,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:13:31] local.INFO: Acknowledgment sent {"connection_id":193718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:13:55] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:55] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:55] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:13:59] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:59] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:13:59] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:14:00] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f1c448012d1821800721b390004c00d322..."} 
[2026-09-25 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f1c448012d1821800721b390004c00d322..."} 
[2026-09-25 15:14:00] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f1c448012d1821800721b390004c00d322..."} 
[2026-09-25 15:14:00] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:14:00] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f1"} 
[2026-09-25 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":34,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324306176001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14: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-25 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329341000,"timestamp_ms":1790329341000,"timestamp_seconds":1790329341,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f1c448"} 
[2026-09-25 15: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-25 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 15:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324306176001,"66":13254,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324306176001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324306176001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:14:00] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:14:00] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:14:03] local.INFO: TCP Data received {"connection_id":195033,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:03] local.INFO: Processing buffer {"connection_id":195033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:03] local.INFO: Packet analysis {"connection_id":195033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:14:03] local.INFO: Extracted packet for processing {"connection_id":195033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14: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-25 15:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:14:03] 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-25 15:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:14: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-25 15:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":195033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:14:03] local.INFO: GPS data processed {"connection_id":195033,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:14:03] local.INFO: Acknowledgment sent {"connection_id":195033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:14:25] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:25] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:25] local.INFO: IMEI packet received {"connection_id":192351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":192351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:14:30] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:30] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:14:30] local.INFO: IMEI packet received {"connection_id":192351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:14:31] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:31] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:14:31] local.INFO: Packet analysis {"connection_id":192351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:14:31] local.INFO: Extracted packet for processing {"connection_id":192351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14: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-25 15:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15: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-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:14:31] 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-25 15:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:14: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-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":192351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:14:31] local.INFO: GPS data processed {"connection_id":192351,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:14:31] local.INFO: Acknowledgment sent {"connection_id":192351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:14:31] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f21268012d1821800721b390004c00d320..."} 
[2026-09-25 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f21268012d1821800721b390004c00d320..."} 
[2026-09-25 15:14:31] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f21268012d1821800721b390004c00d320..."} 
[2026-09-25 15:14:31] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:14:31] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":32,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324311296001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329361000,"timestamp_ms":1790329361000,"timestamp_seconds":1790329361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f21268"} 
[2026-09-25 15: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-25 15:14:31] 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-25 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 15:14:31] 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-25 15: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-25 15: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-25 15:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324311296001,"66":13156,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324311296001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324311296001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:14:32] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:14:32] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:14:54] local.INFO: TCP Data received {"connection_id":195034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:54] local.INFO: Processing buffer {"connection_id":195034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:54] local.INFO: IMEI packet received {"connection_id":195034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":195034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:14:55] local.INFO: TCP Data received {"connection_id":195034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:55] local.INFO: Processing buffer {"connection_id":195034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:55] local.INFO: IMEI packet received {"connection_id":195034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":195034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:14:59] local.INFO: TCP Data received {"connection_id":195034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:59] local.INFO: Processing buffer {"connection_id":195034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:14:59] local.INFO: IMEI packet received {"connection_id":195034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":195034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:15:00] local.INFO: TCP Data received {"connection_id":195034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f26088012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f26088012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:00] local.INFO: Processing buffer {"connection_id":195034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f26088012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:00] local.INFO: Packet analysis {"connection_id":195034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:15:00] local.INFO: Extracted packet for processing {"connection_id":195034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":35,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324316416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15: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-25 15:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329381000,"timestamp_ms":1790329381000,"timestamp_seconds":1790329381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f26088"} 
[2026-09-25 15:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-25 15:15:00] 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-25 15:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324316416001,"66":13167,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324316416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324316416001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":195034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:15:00] local.INFO: GPS data processed {"connection_id":195034,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:15:00] local.INFO: Acknowledgment sent {"connection_id":195034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:15:02] local.INFO: TCP Data received {"connection_id":192351,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:02] local.INFO: Processing buffer {"connection_id":192351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:02] local.INFO: Packet analysis {"connection_id":192351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:15:02] local.INFO: Extracted packet for processing {"connection_id":192351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15: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-25 15:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:15:02] 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-25 15:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:15:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:15: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-25 15:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":192351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:15:02] local.INFO: GPS data processed {"connection_id":192351,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:15:02] local.INFO: Acknowledgment sent {"connection_id":192351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:15:25] local.INFO: TCP Data received {"connection_id":195035,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:25] local.INFO: Processing buffer {"connection_id":195035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:25] local.INFO: IMEI packet received {"connection_id":195035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":195035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:15:30] local.INFO: TCP Data received {"connection_id":195035,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:30] local.INFO: Processing buffer {"connection_id":195035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:15:30] local.INFO: IMEI packet received {"connection_id":195035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":195035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:15:31] local.INFO: TCP Data received {"connection_id":195035,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:31] local.INFO: Processing buffer {"connection_id":195035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:15:31] local.INFO: Packet analysis {"connection_id":195035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:15:31] local.INFO: Extracted packet for processing {"connection_id":195035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15: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-25 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15: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-25 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:15:31] 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-25 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:15: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-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":195035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:15:31] local.INFO: GPS data processed {"connection_id":195035,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:15:31] local.INFO: Acknowledgment sent {"connection_id":195035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:15:31] local.INFO: TCP Data received {"connection_id":195034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f2aac0012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f2aac0012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:31] local.INFO: Processing buffer {"connection_id":195034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f2aac0012d1821800721b390004c00d323..."} 
[2026-09-25 15:15:31] local.INFO: Packet analysis {"connection_id":195034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:15:31] local.INFO: Extracted packet for processing {"connection_id":195034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":35,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324321536001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329400000,"timestamp_ms":1790329400000,"timestamp_seconds":1790329400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f2aac0"} 
[2026-09-25 15: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-25 15:15:31] 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-25 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-25 15:15:31] 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-25 15: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-25 15: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-25 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324321536001,"66":13102,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324321536001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324321536001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":195034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:15:31] local.INFO: GPS data processed {"connection_id":195034,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:15:31] local.INFO: Acknowledgment sent {"connection_id":195034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:15:34] local.INFO: TCP Data received {"connection_id":192178,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:15:34] local.INFO: Processing buffer {"connection_id":192178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:15:34] local.INFO: IMEI packet received {"connection_id":192178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":192178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:15:48] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: IMEI packet received {"connection_id":192179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":192179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:15:48] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:48] local.INFO: IMEI packet received {"connection_id":192179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":192179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:15:53] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:53] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:15:53] local.INFO: IMEI packet received {"connection_id":192179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":192179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:15:54] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-25 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-25 15:15:54] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-25 15:15:54] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 15:15:54] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 15:15:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:15:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:15:54] 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-25 15:15:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 15:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 15:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:15:54] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:15:54] local.ERROR: GPS data processing failed {"connection_id":192179,"error":"No valid data to process"} 
[2026-09-25 15:15:54] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:15:54] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:54] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:54] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:15:57] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:57] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:57] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:15:59] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:59] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:15:59] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:16:00] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f2f8e0012d1821800721b390004c00d323..."} 
[2026-09-25 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f2f8e0012d1821800721b390004c00d323..."} 
[2026-09-25 15:16:00] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f2f8e0012d1821800721b390004c00d323..."} 
[2026-09-25 15:16:00] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:16:00] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f2"} 
[2026-09-25 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":35,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324326400001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16: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-25 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329420000,"timestamp_ms":1790329420000,"timestamp_seconds":1790329420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f2f8e0"} 
[2026-09-25 15:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:00] 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-25 15:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324326400001,"66":13048,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324326400001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324326400001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:16:00] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:16:00] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:03] local.INFO: TCP Data received {"connection_id":195035,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:16:03] local.INFO: Processing buffer {"connection_id":195035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f02a20012d34c14006aa4908000f006e29..."} 
[2026-09-25 15:16:03] local.INFO: Packet analysis {"connection_id":195035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:16:03] local.INFO: Extracted packet for processing {"connection_id":195035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f0"} 
[2026-09-25 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324207360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16: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-25 15:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329236000,"timestamp_ms":1790329236000,"timestamp_seconds":1790329236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f02a20"} 
[2026-09-25 15:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:03] 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-25 15:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324207360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324207360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:16: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-25 15:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324207360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":195035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:16:03] local.INFO: GPS data processed {"connection_id":195035,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:16:03] local.INFO: Acknowledgment sent {"connection_id":195035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:04] local.INFO: TCP Data received {"connection_id":192180,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:16:04] local.INFO: Processing buffer {"connection_id":192180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:16:04] local.INFO: IMEI packet received {"connection_id":192180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":192180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:16:26] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:16:26] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:16:26] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:16:26] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:16: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-25 15:16: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-25 15:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:16:26] 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-25 15:16:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 15:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 15:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:16:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:16:26] local.ERROR: GPS data processing failed {"connection_id":192179,"error":"No valid data to process"} 
[2026-09-25 15:16:26] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:16:30] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:30] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:30] local.INFO: IMEI packet received {"connection_id":192181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:16:31] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f34700012d1821800721b390004c00d324..."} 
[2026-09-25 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f34700012d1821800721b390004c00d324..."} 
[2026-09-25 15:16:31] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f34700012d1821800721b390004c00d324..."} 
[2026-09-25 15:16:31] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:16:31] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324331520001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329440000,"timestamp_ms":1790329440000,"timestamp_seconds":1790329440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f34700"} 
[2026-09-25 15:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:31] 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-25 15:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324331520001,"66":13091,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324331520001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324331520001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:16:32] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:16:32] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:35] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:35] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:16:35] local.INFO: IMEI packet received {"connection_id":192181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":192181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:16:36] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:36] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:36] local.INFO: Packet analysis {"connection_id":192181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:16:36] local.INFO: Extracted packet for processing {"connection_id":192181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":192181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:16:36] local.INFO: GPS data processed {"connection_id":192181,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:16:36] local.INFO: Acknowledgment sent {"connection_id":192181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:41] local.INFO: TCP Data received {"connection_id":192181,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:41] local.INFO: Processing buffer {"connection_id":192181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:16:41] local.INFO: Packet analysis {"connection_id":192181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:16:41] local.INFO: Extracted packet for processing {"connection_id":192181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15: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-25 15:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:16:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":192181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:16:41] local.INFO: GPS data processed {"connection_id":192181,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:16:41] local.INFO: Acknowledgment sent {"connection_id":192181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:54] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:54] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:54] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:16:57] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f58d080100000000000000000000000000..."} 
[2026-09-25 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f58d080100000000000000000000000000..."} 
[2026-09-25 15:16:57] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f58d080100000000000000000000000000..."} 
[2026-09-25 15:16:57] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:16:57] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15: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-25 15: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-25 15:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:16:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790329589000,"timestamp_ms":1790329589000,"timestamp_seconds":1790329589,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f58d08"} 
[2026-09-25 15:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:16:57] 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-25 15:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 15:16:57] 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-25 15:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:16:57] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:16:57] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:16:59] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:59] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:16:59] local.INFO: IMEI packet received {"connection_id":192182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":192182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:17:00] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f39520012d1821800721b390004c00d324..."} 
[2026-09-25 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f39520012d1821800721b390004c00d324..."} 
[2026-09-25 15:17:00] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f39520012d1821800721b390004c00d324..."} 
[2026-09-25 15:17:00] local.INFO: Packet analysis {"connection_id":192182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:17:00] local.INFO: Extracted packet for processing {"connection_id":192182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324336640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17: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-25 15:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329460000,"timestamp_ms":1790329460000,"timestamp_seconds":1790329460,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f39520"} 
[2026-09-25 15: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-25 15:17:00] 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-25 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-25 15:17:00] 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-25 15: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-25 15: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-25 15:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324336640001,"66":13015,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324336640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324336640001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":192182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:17:00] local.INFO: GPS data processed {"connection_id":192182,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:17:00] local.INFO: Acknowledgment sent {"connection_id":192182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:17:25] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:25] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:25] local.INFO: IMEI packet received {"connection_id":193720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":193720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:17:28] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f5df100100000000000000000000000000..."} 
[2026-09-25 15:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f5df100100000000000000000000000000..."} 
[2026-09-25 15:17:28] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f5df100100000000000000000000000000..."} 
[2026-09-25 15:17:28] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:17:28] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:17: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-25 15: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-25 15:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790329610000,"timestamp_ms":1790329610000,"timestamp_seconds":1790329610,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f5df10"} 
[2026-09-25 15: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-25 15:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 15:17:28] 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-25 15: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-25 15: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-25 15:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:17:28] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:17:28] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:17:30] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:30] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:17:30] local.INFO: IMEI packet received {"connection_id":193720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":193720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:17:31] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:17:31] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:17:31] local.INFO: Packet analysis {"connection_id":193720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:17:31] local.INFO: Extracted packet for processing {"connection_id":193720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17: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-25 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:17: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-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:17:31] 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":895421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:17:31] local.INFO: GPS data processed {"connection_id":193720,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:17:31] local.INFO: Acknowledgment sent {"connection_id":193720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:17:31] local.INFO: TCP Data received {"connection_id":192182,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f3df58012d1821800721b390004c00d325..."} 
[2026-09-25 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f3df58012d1821800721b390004c00d325..."} 
[2026-09-25 15:17:31] local.INFO: Processing buffer {"connection_id":192182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f3df58012d1821800721b390004c00d325..."} 
[2026-09-25 15:17:31] local.INFO: Packet analysis {"connection_id":192182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:17:31] local.INFO: Extracted packet for processing {"connection_id":192182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f3"} 
[2026-09-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324341760001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329479000,"timestamp_ms":1790329479000,"timestamp_seconds":1790329479,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f3df58"} 
[2026-09-25 15:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 15:17:31] 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-25 15:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324341760001,"66":13015,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324341760001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324341760001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":192182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:17:31] local.INFO: GPS data processed {"connection_id":192182,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:17:31] local.INFO: Acknowledgment sent {"connection_id":192182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:17:59] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f631180100000000000000000000000000..."} 
[2026-09-25 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f631180100000000000000000000000000..."} 
[2026-09-25 15:17:59] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f631180100000000000000000000000000..."} 
[2026-09-25 15:17:59] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:17:59] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:17:59] 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-25 15:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:17:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790329631000,"timestamp_ms":1790329631000,"timestamp_seconds":1790329631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f63118"} 
[2026-09-25 15:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 15:17:59] 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-25 15:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:17:59] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:17:59] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:00] local.INFO: TCP Data received {"connection_id":195036,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:00] local.INFO: Processing buffer {"connection_id":195036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:00] local.INFO: IMEI packet received {"connection_id":195036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":195036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:18:02] local.INFO: TCP Data received {"connection_id":193720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:02] local.INFO: Processing buffer {"connection_id":193720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:02] local.INFO: Packet analysis {"connection_id":193720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:02] local.INFO: Extracted packet for processing {"connection_id":193720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18: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-25 15:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:18: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-25 15:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:18:02] 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":895423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:18:02] local.INFO: GPS data processed {"connection_id":193720,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:18:02] local.INFO: Acknowledgment sent {"connection_id":193720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:03] local.INFO: TCP Data received {"connection_id":195036,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:03] local.INFO: Processing buffer {"connection_id":195036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:03] local.INFO: IMEI packet received {"connection_id":195036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":195036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:18:04] local.INFO: TCP Data received {"connection_id":195036,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f42d78012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f42d78012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:04] local.INFO: Processing buffer {"connection_id":195036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f42d78012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:04] local.INFO: Packet analysis {"connection_id":195036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:04] local.INFO: Extracted packet for processing {"connection_id":195036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324346624001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790329499000,"timestamp_ms":1790329499000,"timestamp_seconds":1790329499,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f42d78"} 
[2026-09-25 15:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:18:04] 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-25 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:04] 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-25 15:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324346624001,"66":13015,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324346624001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324346624001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":195036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:18:04] local.INFO: GPS data processed {"connection_id":195036,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:18:04] local.INFO: Acknowledgment sent {"connection_id":195036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:05] local.INFO: TCP Data received {"connection_id":195036,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f47b98012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f47b98012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:05] local.INFO: Processing buffer {"connection_id":195036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f47b98012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:05] local.INFO: Packet analysis {"connection_id":195036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:05] local.INFO: Extracted packet for processing {"connection_id":195036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324351744001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:05] local.INFO: IO Element Parsed {"io_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-25 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790329519000,"timestamp_ms":1790329519000,"timestamp_seconds":1790329519,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f47b98"} 
[2026-09-25 15: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-25 15:18:05] 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-25 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:05] 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-25 15: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-25 15: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-25 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324351744001,"66":12972,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324351744001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324351744001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":195036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:18:05] local.INFO: GPS data processed {"connection_id":195036,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:18:05] local.INFO: Acknowledgment sent {"connection_id":195036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:25] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:25] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:25] local.INFO: IMEI packet received {"connection_id":192183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":192183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:18:30] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:30] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:18:30] local.INFO: IMEI packet received {"connection_id":192183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:18:30] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f683200100000000000000000000000000..."} 
[2026-09-25 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f683200100000000000000000000000000..."} 
[2026-09-25 15:18:30] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f683200100000000000000000000000000..."} 
[2026-09-25 15:18:30] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:18:30] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:18: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-25 15:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790329652000,"timestamp_ms":1790329652000,"timestamp_seconds":1790329652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f68320"} 
[2026-09-25 15:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:30] 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-25 15:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:18:30] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:18:30] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:31] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:31] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:18:31] local.INFO: Packet analysis {"connection_id":192183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:31] local.INFO: Extracted packet for processing {"connection_id":192183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18: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-25 15:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15: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-25 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:18:31] 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-25 15:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:18: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-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":192183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:18:31] local.INFO: GPS data processed {"connection_id":192183,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:18:31] local.INFO: Acknowledgment sent {"connection_id":192183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:36] local.INFO: TCP Data received {"connection_id":195036,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c9b8012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c9b8012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:36] local.INFO: Processing buffer {"connection_id":195036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c9b8012d1821800721b390004c00d325..."} 
[2026-09-25 15:18:36] local.INFO: Packet analysis {"connection_id":195036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:36] local.INFO: Extracted packet for processing {"connection_id":195036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324356864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:18:36] local.INFO: IO Element Parsed {"io_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-25 15:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790329539000,"timestamp_ms":1790329539000,"timestamp_seconds":1790329539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c9b8"} 
[2026-09-25 15: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-25 15:18:36] 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-25 15: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-25 15:18:36] 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-25 15: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-25 15: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-25 15:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324356864001,"66":12939,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324356864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:18:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324356864001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":195036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:18:36] local.INFO: GPS data processed {"connection_id":195036,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:18:36] local.INFO: Acknowledgment sent {"connection_id":195036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:18:54] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:54] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:54] local.INFO: IMEI packet received {"connection_id":193721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":193721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:18:59] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:59] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:18:59] local.INFO: IMEI packet received {"connection_id":193721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":193721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:19:00] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f513f0012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f513f0012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:00] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f513f0012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:00] local.INFO: Packet analysis {"connection_id":193721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:19:00] local.INFO: Extracted packet for processing {"connection_id":193721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 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-25 15:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361984001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19: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-25 15:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329558000,"timestamp_ms":1790329558000,"timestamp_seconds":1790329558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f513f0"} 
[2026-09-25 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-25 15:19:00] 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-25 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:00] 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-25 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-25 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-25 15:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361984001,"66":12939,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361984001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361984001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:19:00] 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":895428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:19:00] local.INFO: GPS data processed {"connection_id":193721,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:19:00] local.INFO: Acknowledgment sent {"connection_id":193721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:02] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f6d5280100000000000000000000000000..."} 
[2026-09-25 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f6d5280100000000000000000000000000..."} 
[2026-09-25 15:19:02] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f6d5280100000000000000000000000000..."} 
[2026-09-25 15:19:02] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:19:02] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329673000,"timestamp_ms":1790329673000,"timestamp_seconds":1790329673,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f6d528"} 
[2026-09-25 15:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:19:02] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:19:02] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:03] local.INFO: TCP Data received {"connection_id":192183,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:03] local.INFO: Processing buffer {"connection_id":192183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:03] local.INFO: Packet analysis {"connection_id":192183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:19:03] local.INFO: Extracted packet for processing {"connection_id":192183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19: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-25 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:19:03] 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-25 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:19: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-25 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":192183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:19:03] local.INFO: GPS data processed {"connection_id":192183,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:19:03] local.INFO: Acknowledgment sent {"connection_id":192183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:25] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:25] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:25] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:19:30] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:30] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:19:30] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:19:31] local.INFO: TCP Data received {"connection_id":193721,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f56210012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f56210012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:31] local.INFO: Processing buffer {"connection_id":193721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f56210012d1821800721b390004c00d325..."} 
[2026-09-25 15:19:31] local.INFO: Packet analysis {"connection_id":193721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:19:31] local.INFO: Extracted packet for processing {"connection_id":193721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324366848001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329578000,"timestamp_ms":1790329578000,"timestamp_seconds":1790329578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f56210"} 
[2026-09-25 15:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:19:31] 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-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324366848001,"66":12917,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324366848001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324366848001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:19:31] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:31] 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":895430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:19:31] local.INFO: GPS data processed {"connection_id":193721,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:19:31] local.INFO: Acknowledgment sent {"connection_id":193721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:31] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:19:31] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:19:31] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19: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-25 15:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:19:31] 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-25 15:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:19: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-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:19:31] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:19:31] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:33] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f727300100000000000000000000000000..."} 
[2026-09-25 15:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f727300100000000000000000000000000..."} 
[2026-09-25 15:19:33] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f727300100000000000000000000000000..."} 
[2026-09-25 15:19:33] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:19:33] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:19: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-25 15: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-25 15:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790329694000,"timestamp_ms":1790329694000,"timestamp_seconds":1790329694,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f72730"} 
[2026-09-25 15: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-25 15:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626819572224,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4119660545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024905,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6341349750314369024,"note":"Value kept but may cause issues"} 
[2026-09-25 15:19:33] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,110,87,24,241,157,16,117,160,131,10,66,49,223,1,240,197,227,215,4,113,205,9,239,2,52,226,27],"length":528,"final_offset":658,"validated_count":28,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-25 15:19:33] 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-25 15: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-25 15:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:19:33] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:19:33] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:19:54] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:54] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:54] local.INFO: IMEI packet received {"connection_id":192184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":192184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:19:59] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:59] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:19:59] local.INFO: IMEI packet received {"connection_id":192184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":192184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:20:00] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f5b030012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f5b030012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:00] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f5b030012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:00] local.INFO: Packet analysis {"connection_id":192184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:20:00] local.INFO: Extracted packet for processing {"connection_id":192184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324371968001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20: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-25 15:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329598000,"timestamp_ms":1790329598000,"timestamp_seconds":1790329598,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f5b030"} 
[2026-09-25 15: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-25 15:20:00] 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-25 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324371968001,"66":12917,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324371968001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324371968001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":192184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:20:00] local.INFO: GPS data processed {"connection_id":192184,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:20:00] local.INFO: Acknowledgment sent {"connection_id":192184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:03] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:03] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:03] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:20:03] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20: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-25 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:20:03] 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-25 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:20: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-25 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:20:03] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:20:03] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:04] local.INFO: TCP Data received {"connection_id":192179,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f779380100000000000000000000000000..."} 
[2026-09-25 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f779380100000000000000000000000000..."} 
[2026-09-25 15:20:04] local.INFO: Processing buffer {"connection_id":192179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f779380100000000000000000000000000..."} 
[2026-09-25 15:20:04] local.INFO: Packet analysis {"connection_id":192179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:20:04] local.INFO: Extracted packet for processing {"connection_id":192179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790329715000,"timestamp_ms":1790329715000,"timestamp_seconds":1790329715,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f77938"} 
[2026-09-25 15:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":192179,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:20:04] local.INFO: GPS data processed {"connection_id":192179,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:20:04] local.INFO: Acknowledgment sent {"connection_id":192179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:25] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:25] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:25] local.INFO: IMEI packet received {"connection_id":192356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":192356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:20:27] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:27] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:27] local.INFO: IMEI packet received {"connection_id":193723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":193723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:20:30] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:30] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:20:30] local.INFO: IMEI packet received {"connection_id":192356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:20:31] local.INFO: TCP Data received {"connection_id":192184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f5fa68012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f5fa68012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:31] local.INFO: Processing buffer {"connection_id":192184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f5fa68012d1821800721b390004c00d325..."} 
[2026-09-25 15:20:31] local.INFO: Packet analysis {"connection_id":192184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:20:31] local.INFO: Extracted packet for processing {"connection_id":192184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f5"} 
[2026-09-25 15:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324377088001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329617000,"timestamp_ms":1790329617000,"timestamp_seconds":1790329617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f5fa68"} 
[2026-09-25 15: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-25 15:20:31] 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-25 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324377088001,"66":12863,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324377088001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324377088001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":192184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:20:31] local.INFO: GPS data processed {"connection_id":192184,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:20:31] local.INFO: Acknowledgment sent {"connection_id":192184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:32] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:32] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:20:32] local.INFO: Packet analysis {"connection_id":192356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:20:32] local.INFO: Extracted packet for processing {"connection_id":192356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:20: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-25 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":192356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:20:32] local.INFO: GPS data processed {"connection_id":192356,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:20:32] local.INFO: Acknowledgment sent {"connection_id":192356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:38] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:38] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:20:38] local.INFO: IMEI packet received {"connection_id":193723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":193723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:20:39] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f7cb400100000000000000000000000000..."} 
[2026-09-25 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f7cb400100000000000000000000000000..."} 
[2026-09-25 15:20:39] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f7cb400100000000000000000000000000..."} 
[2026-09-25 15:20:39] local.INFO: Packet analysis {"connection_id":193723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:20:39] local.INFO: Extracted packet for processing {"connection_id":193723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:20: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-25 15: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-25 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:20:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790329736000,"timestamp_ms":1790329736000,"timestamp_seconds":1790329736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f7cb40"} 
[2026-09-25 15: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-25 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 15:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":193723,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:20:39] local.INFO: GPS data processed {"connection_id":193723,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:20:39] local.INFO: Acknowledgment sent {"connection_id":193723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:20:54] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:54] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:54] local.INFO: IMEI packet received {"connection_id":193724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":193724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:20:59] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:59] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:20:59] local.INFO: IMEI packet received {"connection_id":193724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":193724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:21:00] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f64888012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f64888012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:00] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f64888012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:00] local.INFO: Packet analysis {"connection_id":193724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:21:00] local.INFO: Extracted packet for processing {"connection_id":193724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324381952001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21: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-25 15:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329637000,"timestamp_ms":1790329637000,"timestamp_seconds":1790329637,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f64888"} 
[2026-09-25 15:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:21:00] 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-25 15:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-25 15:21:00] 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-25 15:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324381952001,"66":12841,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324381952001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324381952001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:21:00] 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":895436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:21:00] local.INFO: GPS data processed {"connection_id":193724,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:21:00] local.INFO: Acknowledgment sent {"connection_id":193724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:04] local.INFO: TCP Data received {"connection_id":192356,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:21:04] local.INFO: Processing buffer {"connection_id":192356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f4c1e8012d34c14006aa49080009006e28..."} 
[2026-09-25 15:21:04] local.INFO: Packet analysis {"connection_id":192356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:21:04] local.INFO: Extracted packet for processing {"connection_id":192356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f4"} 
[2026-09-25 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324284416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21: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-25 15:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790329537000,"timestamp_ms":1790329537000,"timestamp_seconds":1790329537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f4c1e8"} 
[2026-09-25 15:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:21: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-25 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 15:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324284416001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324284416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:21: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-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324284416001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":192356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:21:04] local.INFO: GPS data processed {"connection_id":192356,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:21:04] local.INFO: Acknowledgment sent {"connection_id":192356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:22] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f81d480100000000000000000000000000..."} 
[2026-09-25 15:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f81d480100000000000000000000000000..."} 
[2026-09-25 15:21:22] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f81d480100000000000000000000000000..."} 
[2026-09-25 15:21:22] local.INFO: Packet analysis {"connection_id":193723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:21:22] local.INFO: Extracted packet for processing {"connection_id":193723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:21:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 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-25 15:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790329757000,"timestamp_ms":1790329757000,"timestamp_seconds":1790329757,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f81d48"} 
[2026-09-25 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-25 15:21:22] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 15:21:22] 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-25 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-25 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-25 15:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":193723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":193723,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:21:22] local.INFO: GPS data processed {"connection_id":193723,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:21:22] local.INFO: Acknowledgment sent {"connection_id":193723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:25] local.INFO: TCP Data received {"connection_id":195037,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:25] local.INFO: Processing buffer {"connection_id":195037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:25] local.INFO: IMEI packet received {"connection_id":195037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":195037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:21:30] local.INFO: TCP Data received {"connection_id":195037,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:30] local.INFO: Processing buffer {"connection_id":195037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:21:30] local.INFO: IMEI packet received {"connection_id":195037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":195037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:21:31] local.INFO: TCP Data received {"connection_id":193724,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f696a8012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f696a8012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:31] local.INFO: Processing buffer {"connection_id":193724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f696a8012d1821800721b390004c00d325..."} 
[2026-09-25 15:21:31] local.INFO: Packet analysis {"connection_id":193724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:21:31] local.INFO: Extracted packet for processing {"connection_id":193724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324387072001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329657000,"timestamp_ms":1790329657000,"timestamp_seconds":1790329657,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f696a8"} 
[2026-09-25 15:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 15:21:31] 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-25 15:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324387072001,"66":12841,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324387072001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324387072001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:21:31] local.INFO: TCP Data received {"connection_id":195037,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:21:31] local.INFO: Processing buffer {"connection_id":195037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:21:31] local.INFO: Packet analysis {"connection_id":195037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:21:31] local.INFO: Extracted packet for processing {"connection_id":195037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21: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-25 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:21: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-25 15:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:21: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-25 15:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":195037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:21:31] local.INFO: GPS data processed {"connection_id":195037,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:21:31] local.INFO: Acknowledgment sent {"connection_id":195037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:31] 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":895439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:21:31] local.INFO: GPS data processed {"connection_id":193724,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:21:31] local.INFO: Acknowledgment sent {"connection_id":193724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:34] local.INFO: TCP Data received {"connection_id":193725,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:21:34] local.INFO: Processing buffer {"connection_id":193725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:21:34] local.INFO: IMEI packet received {"connection_id":193725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":193725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:21:54] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:54] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:54] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:21:55] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:55] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:55] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:21:56] local.INFO: TCP Data received {"connection_id":193723,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f86f500100000000000000000000000000..."} 
[2026-09-25 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f86f500100000000000000000000000000..."} 
[2026-09-25 15:21:56] local.INFO: Processing buffer {"connection_id":193723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f86f500100000000000000000000000000..."} 
[2026-09-25 15:21:56] local.INFO: Packet analysis {"connection_id":193723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:21:56] local.INFO: Extracted packet for processing {"connection_id":193723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:21:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:21: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-25 15:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135799710484004864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790329778000,"timestamp_ms":1790329778000,"timestamp_seconds":1790329778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f86f50"} 
[2026-09-25 15:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:21: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":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637109,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623235864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":16385,"corrected_to":0} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2128762263513858048,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4141164545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435107182,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172332975894953,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:21:56] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,110,87,24,241,157,16,117,160,203,10,66,121,39,1,240,154,227,215,4,113,205,131,239,2,53,226,54],"length":577,"final_offset":707,"validated_count":28,"validation_warnings":[{"io_id":203,"original":16385,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-09-25 15:21:56] 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-25 15:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":193723,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:21:56] local.INFO: GPS data processed {"connection_id":193723,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:21:56] local.INFO: Acknowledgment sent {"connection_id":193723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:21:59] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:59] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:21:59] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:22:00] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f6e0e0012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f6e0e0012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:00] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f6e0e0012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:00] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:22:00] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f6"} 
[2026-09-25 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324392192001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22: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-25 15:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329676000,"timestamp_ms":1790329676000,"timestamp_seconds":1790329676,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f6e0e0"} 
[2026-09-25 15:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 15:22:00] 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-25 15:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324392192001,"66":12841,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324392192001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324392192001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:00] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:00] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:03] local.INFO: TCP Data received {"connection_id":195037,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:03] local.INFO: Processing buffer {"connection_id":195037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:03] local.INFO: Packet analysis {"connection_id":195037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:22:03] local.INFO: Extracted packet for processing {"connection_id":195037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22: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-25 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:22: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-25 15:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:22: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-25 15:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":195037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:03] local.INFO: GPS data processed {"connection_id":195037,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:03] local.INFO: Acknowledgment sent {"connection_id":195037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:04] local.INFO: TCP Data received {"connection_id":195038,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:22:04] local.INFO: Processing buffer {"connection_id":195038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:22:04] local.INFO: IMEI packet received {"connection_id":195038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":195038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:22:25] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:25] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:25] local.INFO: IMEI packet received {"connection_id":192358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":192358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:22:30] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:30] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:22:30] local.INFO: IMEI packet received {"connection_id":192358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:22:31] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f72f00012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f72f00012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:31] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f72f00012d1821800721b390004c00d325..."} 
[2026-09-25 15:22:31] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:22:31] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324397056001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329696000,"timestamp_ms":1790329696000,"timestamp_seconds":1790329696,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f72f00"} 
[2026-09-25 15:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 15:22:31] 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-25 15:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324397056001,"66":12809,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324397056001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324397056001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:31] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:31] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:31] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:31] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:22:31] local.INFO: Packet analysis {"connection_id":192358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:22:31] local.INFO: Extracted packet for processing {"connection_id":192358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22: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-25 15:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:22: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-25 15:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:22: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-25 15:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":192358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:31] local.INFO: GPS data processed {"connection_id":192358,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:31] local.INFO: Acknowledgment sent {"connection_id":192358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:34] local.INFO: TCP Data received {"connection_id":195039,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:34] local.INFO: Processing buffer {"connection_id":195039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:34] local.INFO: IMEI packet received {"connection_id":195039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":195039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:22:38] local.INFO: TCP Data received {"connection_id":195039,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:38] local.INFO: Processing buffer {"connection_id":195039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:22:38] local.INFO: IMEI packet received {"connection_id":195039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":195039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:22:43] local.INFO: TCP Data received {"connection_id":195039,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fa9de8012d7ae9c005ebcda8000d00f314..."} 
[2026-09-25 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fa9de8012d7ae9c005ebcda8000d00f314..."} 
[2026-09-25 15:22:43] local.INFO: Processing buffer {"connection_id":195039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fa9de8012d7ae9c005ebcda8000d00f314..."} 
[2026-09-25 15:22:43] local.INFO: Packet analysis {"connection_id":195039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:22:43] local.INFO: Extracted packet for processing {"connection_id":195039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763029952,"raw_latitude":99339688,"longitude_deg":76.3029952,"latitude_deg":9.9339688,"altitude":13,"angle":243,"satellites":20,"speed":34,"hex_longitude":"2d7ae9c0","hex_latitude":"05ebcda8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324456960001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135803056263528448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841864261632,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790329921000,"timestamp_ms":1790329921000,"timestamp_seconds":1790329921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fa9de8"} 
[2026-09-25 15: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-25 15:22:43] 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-25 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 15:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":195039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":195039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":195039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324456960001,"66":13928,"198":206,"87":13824,"24":34,"16":135803056263528448,"45":8865898841864261632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 15:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324456960001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135803056263528448,"km_value":135803056263528.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841864261632,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324456960001,"power":13928,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8865898841864261632}} 
[2026-09-25 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":195039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:43] local.INFO: GPS data processed {"connection_id":195039,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:43] local.INFO: Acknowledgment sent {"connection_id":195039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:45] local.INFO: TCP Data received {"connection_id":195039,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fac8e0012d7ac84005ebbd68000c00f314..."} 
[2026-09-25 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fac8e0012d7ac84005ebbd68000c00f314..."} 
[2026-09-25 15:22:45] local.INFO: Processing buffer {"connection_id":195039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fac8e0012d7ac84005ebbd68000c00f314..."} 
[2026-09-25 15:22:45] local.INFO: Packet analysis {"connection_id":195039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:22:45] local.INFO: Extracted packet for processing {"connection_id":195039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763021376,"raw_latitude":99335528,"longitude_deg":76.3021376,"latitude_deg":9.9335528,"altitude":12,"angle":243,"satellites":20,"speed":33,"hex_longitude":"2d7ac840","hex_latitude":"05ebbd68","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324459776001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135803511530061824,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856821273864284160,"note":"Value kept but may cause issues"} 
[2026-09-25 15:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790329932000,"timestamp_ms":1790329932000,"timestamp_seconds":1790329932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fac8e0"} 
[2026-09-25 15: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-25 15:22:45] 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-25 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 15:22:45] 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-25 15: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-25 15: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-25 15:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":195039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":195039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":195039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324459776001,"66":13928,"98":206,"87":13824,"24":33,"16":135803511530061824,"45":8856821273864284160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324459776001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:22:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:22:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135803511530061824,"km_value":135803511530061.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856821273864284160,"description":"Unknown IO ID 45"} 
[2026-09-25 15:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324459776001,"power":13928,"unknown_98":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8856821273864284160}} 
[2026-09-25 15:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":195039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:22:45] local.INFO: GPS data processed {"connection_id":195039,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:22:45] local.INFO: Acknowledgment sent {"connection_id":195039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:22:54] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:54] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:54] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:22:57] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:57] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:57] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:22:59] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:59] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:22:59] local.INFO: IMEI packet received {"connection_id":192185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":192185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:23:00] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f77938012d1821800721b390004c00d325..."} 
[2026-09-25 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f77938012d1821800721b390004c00d325..."} 
[2026-09-25 15:23:00] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f77938012d1821800721b390004c00d325..."} 
[2026-09-25 15:23:00] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:23:00] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324402176001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23: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-25 15:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329715000,"timestamp_ms":1790329715000,"timestamp_seconds":1790329715,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f77938"} 
[2026-09-25 15:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623182864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-787021622017515136,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2183856128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428442955032351525,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,130,160,224,45,128,179,76,37,10,66,150,72,1,240,41,227,215,33,4,113,205,176,144,239,50,2,81,7,164,43],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:23:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476609302749773824,"timestamp_seconds":5476609302749774.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324402176001,"66":12809,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324402176001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324402176001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:23:00] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:23:00] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:23:03] local.INFO: TCP Data received {"connection_id":192358,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:03] local.INFO: Processing buffer {"connection_id":192358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:03] local.INFO: Packet analysis {"connection_id":192358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:23:03] local.INFO: Extracted packet for processing {"connection_id":192358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23: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-25 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:23: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-25 15:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:23: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-25 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":192358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:23:03] local.INFO: GPS data processed {"connection_id":192358,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:23:03] local.INFO: Acknowledgment sent {"connection_id":192358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:23:25] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:25] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:25] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:23:28] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:23:28] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:28] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:23:30] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:30] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:23:30] local.INFO: IMEI packet received {"connection_id":192186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:23:31] local.INFO: TCP Data received {"connection_id":192185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f7c758012d1821800721b390004c00d324..."} 
[2026-09-25 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f7c758012d1821800721b390004c00d324..."} 
[2026-09-25 15:23:31] local.INFO: Processing buffer {"connection_id":192185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f7c758012d1821800721b390004c00d324..."} 
[2026-09-25 15:23:31] local.INFO: Packet analysis {"connection_id":192185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:23:31] local.INFO: Extracted packet for processing {"connection_id":192185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f7"} 
[2026-09-25 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324407040001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329735000,"timestamp_ms":1790329735000,"timestamp_seconds":1790329735,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f7c758"} 
[2026-09-25 15:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623202864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-765031389461995136,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2183856128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428442955032351525,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,130,160,47,45,128,179,76,37,10,66,224,150,1,240,41,227,215,33,4,113,205,250,144,239,50,2,81,7,164,43],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:23:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476609302749773824,"timestamp_seconds":5476609302749774.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324407040001,"66":12765,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324407040001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324407040001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":192185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:23:31] local.INFO: GPS data processed {"connection_id":192185,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:23:31] local.INFO: Acknowledgment sent {"connection_id":192185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:23:31] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:31] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:23:31] local.INFO: Packet analysis {"connection_id":192186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:23:31] local.INFO: Extracted packet for processing {"connection_id":192186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23: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-25 15:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:23: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-25 15:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:23: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-25 15:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":192186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:23:31] local.INFO: GPS data processed {"connection_id":192186,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:23:31] local.INFO: Acknowledgment sent {"connection_id":192186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:23:33] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:33] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:23:33] local.INFO: IMEI packet received {"connection_id":192187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":192187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:23:33] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7faf7c0012d7aa6c005ebaf60000b00fa16..."} 
[2026-09-25 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7faf7c0012d7aa6c005ebaf60000b00fa16..."} 
[2026-09-25 15:23:33] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7faf7c0012d7aa6c005ebaf60000b00fa16..."} 
[2026-09-25 15:23:33] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:23:33] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fa"} 
[2026-09-25 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":99331936,"longitude_deg":76.30128,"latitude_deg":9.9331936,"altitude":11,"angle":250,"satellites":22,"speed":28,"hex_longitude":"2d7aa6c0","hex_latitude":"05ebaf60","is_valid_coordinates":true} 
[2026-09-25 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324462592001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135803958206660608,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847391862143412224,"note":"Value kept but may cause issues"} 
[2026-09-25 15:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790329944000,"timestamp_ms":1790329944000,"timestamp_seconds":1790329944,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7faf7c0"} 
[2026-09-25 15:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:23:33] 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-25 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 15:23:33] 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-25 15:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324462592001,"66":13993,"98":206,"87":13824,"24":28,"16":135803958206660608,"45":8847391862143412224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324462592001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:23:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135803958206660608,"km_value":135803958206660.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847391862143412224,"description":"Unknown IO ID 45"} 
[2026-09-25 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324462592001,"power":13993,"unknown_98":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8847391862143412224}} 
[2026-09-25 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:23:34] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:23:34] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:23:54] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:54] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:54] local.INFO: IMEI packet received {"connection_id":192188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":192188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:23:59] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:59] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:23:59] local.INFO: IMEI packet received {"connection_id":192188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":192188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:24:00] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f81578012d1821800721b390004c00d325..."} 
[2026-09-25 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f81578012d1821800721b390004c00d325..."} 
[2026-09-25 15:24:00] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f81578012d1821800721b390004c00d325..."} 
[2026-09-25 15:24:00] local.INFO: Packet analysis {"connection_id":192188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:24:00] local.INFO: Extracted packet for processing {"connection_id":192188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f8"} 
[2026-09-25 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649168,"longitude_deg":75.655616,"latitude_deg":11.9649168,"altitude":76,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b390","is_valid_coordinates":true} 
[2026-09-25 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324412160001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942594308767744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260264448,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24: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-25 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790329755000,"timestamp_ms":1790329755000,"timestamp_seconds":1790329755,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f81578"} 
[2026-09-25 15:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 15:24:00] 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-25 15:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324412160001,"66":12776,"105":206,"83":41984,"24":0,"16":22942594308767744,"45":1738811699260264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324412160001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942594308767744,"km_value":22942594308767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260264448,"description":"Unknown IO ID 45"} 
[2026-09-25 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324412160001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260264448}} 
[2026-09-25 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":192188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:24:00] local.INFO: GPS data processed {"connection_id":192188,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:24:00] local.INFO: Acknowledgment sent {"connection_id":192188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:24:02] local.INFO: TCP Data received {"connection_id":192186,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:02] local.INFO: Processing buffer {"connection_id":192186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:02] local.INFO: Packet analysis {"connection_id":192186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:24:02] local.INFO: Extracted packet for processing {"connection_id":192186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24: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-25 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:24:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:24:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:24: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-25 15:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":192186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:24:02] local.INFO: GPS data processed {"connection_id":192186,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:24:02] local.INFO: Acknowledgment sent {"connection_id":192186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:24:05] local.INFO: TCP Data received {"connection_id":192187,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fb45e0012d7a868005eba3d8000600fb16..."} 
[2026-09-25 15:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fb45e0012d7a868005eba3d8000600fb16..."} 
[2026-09-25 15:24:05] local.INFO: Processing buffer {"connection_id":192187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fb45e0012d7a868005eba3d8000600fb16..."} 
[2026-09-25 15:24:05] local.INFO: Packet analysis {"connection_id":192187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:24:05] local.INFO: Extracted packet for processing {"connection_id":192187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763004544,"raw_latitude":99328984,"longitude_deg":76.3004544,"latitude_deg":9.9328984,"altitude":6,"angle":251,"satellites":22,"speed":15,"hex_longitude":"2d7a8680","hex_latitude":"05eba3d8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324465664001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135804379113455616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450422685696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790329964000,"timestamp_ms":1790329964000,"timestamp_seconds":1790329964,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fb45e0"} 
[2026-09-25 15: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-25 15:24:05] 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-25 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 15:24:05] 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-25 15: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-25 15: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-25 15:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324465664001,"66":13678,"98":206,"87":13824,"24":15,"16":135804379113455616,"45":8837962450422685696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324465664001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:24:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135804379113455616,"km_value":135804379113455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450422685696,"description":"Unknown IO ID 45"} 
[2026-09-25 15:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324465664001,"power":13678,"unknown_98":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8837962450422685696}} 
[2026-09-25 15:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":192187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:24:05] local.INFO: GPS data processed {"connection_id":192187,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:24:05] local.INFO: Acknowledgment sent {"connection_id":192187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:24:25] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:25] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:25] local.INFO: IMEI packet received {"connection_id":192190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":192190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:24:25] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:25] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:25] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:24:26] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:26] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:26] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:24:27] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:27] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:27] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:24:28] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:28] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:24:28] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:24:30] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:30] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:24:30] local.INFO: IMEI packet received {"connection_id":192190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:24:31] local.INFO: TCP Data received {"connection_id":192188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fb8848012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fb8848012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:24:31] local.INFO: Processing buffer {"connection_id":192188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fb8848012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:24:31] local.INFO: Packet analysis {"connection_id":192188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:24:31] local.INFO: Extracted packet for processing {"connection_id":192188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324469760001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329981000,"timestamp_ms":1790329981000,"timestamp_seconds":1790329981,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fb8848"} 
[2026-09-25 15:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:24:31] 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-25 15:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 15:24:31] 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-25 15:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324469760001,"66":12613,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324469760001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324469760001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:24:31] local.INFO: GPS data processed {"connection_id":192188,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:24:31] local.INFO: Acknowledgment sent {"connection_id":192188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:24:34] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:34] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:24:34] local.INFO: Packet analysis {"connection_id":192190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:24:34] local.INFO: Extracted packet for processing {"connection_id":192190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15: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-25 15:24: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-25 15: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-25 15: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-25 15: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-25 15: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-25 15:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:24: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-25 15:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":192190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:24:34] local.INFO: GPS data processed {"connection_id":192190,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:24:34] local.INFO: Acknowledgment sent {"connection_id":192190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:24:59] local.INFO: TCP Data received {"connection_id":195040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:24:59] local.INFO: Processing buffer {"connection_id":195040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:24:59] local.INFO: IMEI packet received {"connection_id":195040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":195040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:25:03] local.INFO: TCP Data received {"connection_id":195040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:03] local.INFO: Processing buffer {"connection_id":195040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:03] local.INFO: IMEI packet received {"connection_id":195040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":195040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:25:04] local.INFO: TCP Data received {"connection_id":195040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fbda50012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fbda50012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:04] local.INFO: Processing buffer {"connection_id":195040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fbda50012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:04] local.INFO: Packet analysis {"connection_id":195040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:25:04] local.INFO: Extracted packet for processing {"connection_id":195040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fb"} 
[2026-09-25 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324475136001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790330002000,"timestamp_ms":1790330002000,"timestamp_seconds":1790330002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fbda50"} 
[2026-09-25 15:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:25:04] 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-25 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 15:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324475136001,"66":12667,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324475136001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324475136001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":195040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:25:04] local.INFO: GPS data processed {"connection_id":195040,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:25:04] local.INFO: Acknowledgment sent {"connection_id":195040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:25:05] local.INFO: TCP Data received {"connection_id":195040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fc2c58012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fc2c58012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:25:05] local.INFO: Processing buffer {"connection_id":195040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fc2c58012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:25:05] local.INFO: Packet analysis {"connection_id":195040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:25:05] local.INFO: Extracted packet for processing {"connection_id":195040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324480512001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:05] local.INFO: IO Element Parsed {"io_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-25 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330023000,"timestamp_ms":1790330023000,"timestamp_seconds":1790330023,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fc2c58"} 
[2026-09-25 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324480512001,"66":12645,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324480512001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324480512001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":195040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:25:05] local.INFO: GPS data processed {"connection_id":195040,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:25:05] local.INFO: Acknowledgment sent {"connection_id":195040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:25:05] local.INFO: TCP Data received {"connection_id":192190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:05] local.INFO: Processing buffer {"connection_id":192190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:05] local.INFO: Packet analysis {"connection_id":192190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:25:05] local.INFO: Extracted packet for processing {"connection_id":192190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15: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-25 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15: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-25 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":192190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:25:05] local.INFO: GPS data processed {"connection_id":192190,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:25:05] local.INFO: Acknowledgment sent {"connection_id":192190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:25:25] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:25] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:25] local.INFO: IMEI packet received {"connection_id":193727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":193727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:25:30] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:30] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:25:30] local.INFO: IMEI packet received {"connection_id":193727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":193727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:25:31] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:31] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:25:31] local.INFO: Packet analysis {"connection_id":193727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:25:31] local.INFO: Extracted packet for processing {"connection_id":193727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25: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-25 15:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15: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-25 15:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:25: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-25 15: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-25 15: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-25 15:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:25: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-25 15:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:25:31] 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":895459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:25:31] local.INFO: GPS data processed {"connection_id":193727,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:25:31] local.INFO: Acknowledgment sent {"connection_id":193727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:25:36] local.INFO: TCP Data received {"connection_id":195040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fc7e60012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fc7e60012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:36] local.INFO: Processing buffer {"connection_id":195040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fc7e60012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:25:36] local.INFO: Packet analysis {"connection_id":195040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:25:36] local.INFO: Extracted packet for processing {"connection_id":195040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324485888001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:25:36] local.INFO: IO Element Parsed {"io_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-25 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790330044000,"timestamp_ms":1790330044000,"timestamp_seconds":1790330044,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fc7e60"} 
[2026-09-25 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:25:36] 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-25 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 15:25:36] 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-25 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324485888001,"66":12613,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324485888001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324485888001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":195040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:25:36] local.INFO: GPS data processed {"connection_id":195040,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:25:36] local.INFO: Acknowledgment sent {"connection_id":195040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:25:54] local.INFO: TCP Data received {"connection_id":195041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:54] local.INFO: Processing buffer {"connection_id":195041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:54] local.INFO: IMEI packet received {"connection_id":195041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":195041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:25:59] local.INFO: TCP Data received {"connection_id":195041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:59] local.INFO: Processing buffer {"connection_id":195041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:25:59] local.INFO: IMEI packet received {"connection_id":195041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":195041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:26:00] local.INFO: TCP Data received {"connection_id":195041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fcd068012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fcd068012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:26:00] local.INFO: Processing buffer {"connection_id":195041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fcd068012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:26:00] local.INFO: Packet analysis {"connection_id":195041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:26:00] local.INFO: Extracted packet for processing {"connection_id":195041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fc"} 
[2026-09-25 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324491264001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26: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-25 15:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330065000,"timestamp_ms":1790330065000,"timestamp_seconds":1790330065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fcd068"} 
[2026-09-25 15: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-25 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 15:26:00] 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-25 15: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-25 15: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-25 15:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324491264001,"66":12602,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324491264001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324491264001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":195041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:26:00] local.INFO: GPS data processed {"connection_id":195041,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:26:00] local.INFO: Acknowledgment sent {"connection_id":195041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:26:02] local.INFO: TCP Data received {"connection_id":193727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:26:02] local.INFO: Processing buffer {"connection_id":193727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7f959b0012d34c14006aa49080010006e28..."} 
[2026-09-25 15:26:02] local.INFO: Packet analysis {"connection_id":193727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:26:02] local.INFO: Extracted packet for processing {"connection_id":193727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7f9"} 
[2026-09-25 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":16,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324361472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26: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-25 15:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790329838000,"timestamp_ms":1790329838000,"timestamp_seconds":1790329838,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7f959b0"} 
[2026-09-25 15:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324361472001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324361472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:26: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-25 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324361472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:26:03] 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":895462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:26:03] local.INFO: GPS data processed {"connection_id":193727,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:26:03] local.INFO: Acknowledgment sent {"connection_id":193727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:26:25] local.INFO: TCP Data received {"connection_id":195042,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:25] local.INFO: Processing buffer {"connection_id":195042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:25] local.INFO: IMEI packet received {"connection_id":195042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":195042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:26:30] local.INFO: TCP Data received {"connection_id":195042,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:30] local.INFO: Processing buffer {"connection_id":195042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:26:30] local.INFO: IMEI packet received {"connection_id":195042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":195042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:26:31] local.INFO: TCP Data received {"connection_id":195042,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:26:31] local.INFO: Processing buffer {"connection_id":195042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:26:31] local.INFO: Packet analysis {"connection_id":195042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:26:31] local.INFO: Extracted packet for processing {"connection_id":195042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26: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-25 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:26: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-25 15:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:26: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-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":195042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:26:31] local.INFO: GPS data processed {"connection_id":195042,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:26:31] local.INFO: Acknowledgment sent {"connection_id":195042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:26:31] local.INFO: TCP Data received {"connection_id":195041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fd2270012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fd2270012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:26:31] local.INFO: Processing buffer {"connection_id":195041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fd2270012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:26:31] local.INFO: Packet analysis {"connection_id":195041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:26:31] local.INFO: Extracted packet for processing {"connection_id":195041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324496640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330086000,"timestamp_ms":1790330086000,"timestamp_seconds":1790330086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fd2270"} 
[2026-09-25 15:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 15:26:31] 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-25 15:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324496640001,"66":12613,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324496640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324496640001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":195041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:26:31] local.INFO: GPS data processed {"connection_id":195041,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:26:31] local.INFO: Acknowledgment sent {"connection_id":195041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:26:54] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:54] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:54] local.INFO: IMEI packet received {"connection_id":193728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":193728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:26:59] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:59] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:26:59] local.INFO: IMEI packet received {"connection_id":193728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":193728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:27:00] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fd7478012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fd7478012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:27:00] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fd7478012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:27:00] local.INFO: Packet analysis {"connection_id":193728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:00] local.INFO: Extracted packet for processing {"connection_id":193728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324502016001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27: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-25 15:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330107000,"timestamp_ms":1790330107000,"timestamp_seconds":1790330107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fd7478"} 
[2026-09-25 15:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 15:27:00] 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-25 15:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324502016001,"66":12591,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324502016001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324502016001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:27:00] 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":895465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:27:00] local.INFO: GPS data processed {"connection_id":193728,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:27:00] local.INFO: Acknowledgment sent {"connection_id":193728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:27:03] local.INFO: TCP Data received {"connection_id":195042,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:03] local.INFO: Processing buffer {"connection_id":195042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:03] local.INFO: Packet analysis {"connection_id":195042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:03] local.INFO: Extracted packet for processing {"connection_id":195042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27: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-25 15:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:27: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-25 15:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:27: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-25 15:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":195042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:27:03] local.INFO: GPS data processed {"connection_id":195042,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:27:03] local.INFO: Acknowledgment sent {"connection_id":195042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:27:08] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:08] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:08] local.INFO: IMEI packet received {"connection_id":192364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":192364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:27:12] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:12] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:27:12] local.INFO: IMEI packet received {"connection_id":192364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":192364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:27:13] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:27:13] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-25 15:27:13] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:27:13] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15: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-25 15: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-25 15:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 15:27:13] 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-25 15:27:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:27:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:27:13] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:27:13] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:27:25] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:25] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:25] local.INFO: IMEI packet received {"connection_id":193729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":193729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:27:30] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:30] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:27:30] local.INFO: IMEI packet received {"connection_id":193729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":193729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:27:31] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:31] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:27:31] local.INFO: Packet analysis {"connection_id":193729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:31] local.INFO: Extracted packet for processing {"connection_id":193729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27: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-25 15:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15: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-25 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:27: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-25 15: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-25 15: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-25 15:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:27: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-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:27: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":895467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:27:31] local.INFO: GPS data processed {"connection_id":193729,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:27:31] local.INFO: Acknowledgment sent {"connection_id":193729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:27:31] local.INFO: TCP Data received {"connection_id":193728,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdc680012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdc680012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:27:31] local.INFO: Processing buffer {"connection_id":193728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdc680012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:27:31] local.INFO: Packet analysis {"connection_id":193728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:31] local.INFO: Extracted packet for processing {"connection_id":193728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324507392001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330128000,"timestamp_ms":1790330128000,"timestamp_seconds":1790330128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdc680"} 
[2026-09-25 15: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-25 15:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 15:27: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-25 15: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-25 15: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-25 15:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324507392001,"66":12645,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324507392001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324507392001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:27:31] 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":895468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:27:31] local.INFO: GPS data processed {"connection_id":193728,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:27:31] local.INFO: Acknowledgment sent {"connection_id":193728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:27:34] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:27:34] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:27:34] local.INFO: IMEI packet received {"connection_id":192363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":192363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:27:44] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 15:27:44] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-09-25 15:27:44] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:27:44] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:27: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-25 15: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-25 15:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:27:44] 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-25 15:27:44] 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-25 15:27:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:27:44] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:27:44] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:27:44] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:27:51] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:51] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:51] local.INFO: IMEI packet received {"connection_id":192365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":192365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:27:54] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:54] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:54] local.INFO: IMEI packet received {"connection_id":192365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:27:59] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:59] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:27:59] local.INFO: IMEI packet received {"connection_id":192365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:28:00] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fe1888012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fe1888012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:00] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fe1888012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:00] local.INFO: Packet analysis {"connection_id":192365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:28:00] local.INFO: Extracted packet for processing {"connection_id":192365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324512768001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330149000,"timestamp_ms":1790330149000,"timestamp_seconds":1790330149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fe1888"} 
[2026-09-25 15: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-25 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 15:28:00] 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-25 15: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-25 15: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-25 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324512768001,"66":12580,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324512768001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324512768001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:28:00] 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":895469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:28:00] local.INFO: GPS data processed {"connection_id":192365,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:28:00] local.INFO: Acknowledgment sent {"connection_id":192365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:28:02] local.INFO: TCP Data received {"connection_id":193729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:02] local.INFO: Processing buffer {"connection_id":193729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:02] local.INFO: Packet analysis {"connection_id":193729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:28:02] local.INFO: Extracted packet for processing {"connection_id":193729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28: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-25 15:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:28: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-25 15:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:28: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":895470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:28:02] local.INFO: GPS data processed {"connection_id":193729,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:28:02] local.INFO: Acknowledgment sent {"connection_id":193729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:28:04] local.INFO: TCP Data received {"connection_id":192193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:28:04] local.INFO: Processing buffer {"connection_id":192193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:28:04] local.INFO: IMEI packet received {"connection_id":192193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":192193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:28:17] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-25 15:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-25 15:28:17] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-09-25 15:28:17] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:28:17] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:28: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-25 15: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-25 15:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:17] 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-25 15:28:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:28:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:28:17] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:28:17] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:28:17] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:28:25] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:25] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:25] local.INFO: IMEI packet received {"connection_id":193730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":193730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:28:30] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:30] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:28:30] local.INFO: IMEI packet received {"connection_id":193730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":193730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:28:31] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:31] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:28:31] local.INFO: Packet analysis {"connection_id":193730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:28:31] local.INFO: Extracted packet for processing {"connection_id":193730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28: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-25 15:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:28: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-25 15:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:28:31] 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-25 15:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:28: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-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:28:31] 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":895471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:28:31] local.INFO: GPS data processed {"connection_id":193730,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:28:31] local.INFO: Acknowledgment sent {"connection_id":193730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:28:31] local.INFO: TCP Data received {"connection_id":192365,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fe6a90012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fe6a90012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:31] local.INFO: Processing buffer {"connection_id":192365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fe6a90012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:28:31] local.INFO: Packet analysis {"connection_id":192365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:28:31] local.INFO: Extracted packet for processing {"connection_id":192365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324518144001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330170000,"timestamp_ms":1790330170000,"timestamp_seconds":1790330170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fe6a90"} 
[2026-09-25 15:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-25 15:28:31] 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-25 15:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324518144001,"66":12548,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324518144001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324518144001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:28:31] 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":895472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:28:31] local.INFO: GPS data processed {"connection_id":192365,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:28:31] local.INFO: Acknowledgment sent {"connection_id":192365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:28:48] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-25 15:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-25 15:28:48] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-09-25 15:28:48] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:28:48] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-25 15:28: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-25 15:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:28:48] 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-25 15:28:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:28:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:28:48] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:28:48] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:28:48] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:28:54] local.INFO: TCP Data received {"connection_id":192194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:54] local.INFO: Processing buffer {"connection_id":192194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:54] local.INFO: IMEI packet received {"connection_id":192194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":192194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:28:55] local.INFO: TCP Data received {"connection_id":192194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:55] local.INFO: Processing buffer {"connection_id":192194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:55] local.INFO: IMEI packet received {"connection_id":192194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":192194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:28:59] local.INFO: TCP Data received {"connection_id":192194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:59] local.INFO: Processing buffer {"connection_id":192194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:28:59] local.INFO: IMEI packet received {"connection_id":192194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":192194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:29:00] local.INFO: TCP Data received {"connection_id":192194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7febc98012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7febc98012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:00] local.INFO: Processing buffer {"connection_id":192194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7febc98012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:00] local.INFO: Packet analysis {"connection_id":192194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:29:00] local.INFO: Extracted packet for processing {"connection_id":192194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fe"} 
[2026-09-25 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324523520001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29: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-25 15:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330191000,"timestamp_ms":1790330191000,"timestamp_seconds":1790330191,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7febc98"} 
[2026-09-25 15:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623648864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4246892545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985820235,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2184314880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,130,160,45,64,177,75,38,10,66,198,116,1,240,47,227,215,33,4,113,205,208,32,248,39,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-25 15:29:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551713006813184,"timestamp_seconds":5404551713006813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324523520001,"66":12558,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324523520001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324523520001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":192194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:29:00] local.INFO: GPS data processed {"connection_id":192194,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:29:00] local.INFO: Acknowledgment sent {"connection_id":192194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:29:03] local.INFO: TCP Data received {"connection_id":193730,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:03] local.INFO: Processing buffer {"connection_id":193730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:03] local.INFO: Packet analysis {"connection_id":193730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:29:03] local.INFO: Extracted packet for processing {"connection_id":193730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29: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-25 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:29: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-25 15:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:29:03] 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-25 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:29: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-25 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:29:03] 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":895474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:29:03] local.INFO: GPS data processed {"connection_id":193730,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:29:03] local.INFO: Acknowledgment sent {"connection_id":193730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:29:20] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-25 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-25 15:29:20] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-09-25 15:29:20] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-25 15:29:20] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-25 15:29: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-25 15: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-25 15:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29: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-25 15:29:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":152000,"timestamp_seconds":152,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:29:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:29:20] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:29:20] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:29:20] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:29:25] local.INFO: TCP Data received {"connection_id":195043,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:25] local.INFO: Processing buffer {"connection_id":195043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:25] local.INFO: IMEI packet received {"connection_id":195043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":195043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:29:30] local.INFO: TCP Data received {"connection_id":195043,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:30] local.INFO: Processing buffer {"connection_id":195043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:29:30] local.INFO: IMEI packet received {"connection_id":195043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":195043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:29:31] local.INFO: TCP Data received {"connection_id":192194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ff0ea0012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ff0ea0012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:31] local.INFO: Processing buffer {"connection_id":192194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ff0ea0012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:29:31] local.INFO: Packet analysis {"connection_id":192194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:29:31] local.INFO: Extracted packet for processing {"connection_id":192194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324528896001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330212000,"timestamp_ms":1790330212000,"timestamp_seconds":1790330212,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ff0ea0"} 
[2026-09-25 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623669864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4252268545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985820235,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2184314880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,130,160,106,45,64,177,75,38,10,66,198,1,240,101,227,215,33,4,113,205,34,32,248,239,49,2,81,7,51,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:29:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551721596747776,"timestamp_seconds":5404551721596748.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324528896001,"66":12558,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324528896001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324528896001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:29:31] local.INFO: TCP Data received {"connection_id":195043,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:31] local.INFO: Processing buffer {"connection_id":195043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:29:31] local.INFO: Packet analysis {"connection_id":195043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:29:31] local.INFO: Extracted packet for processing {"connection_id":195043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29: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-25 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:29: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-25 15:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:29:31] 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-25 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:29: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-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":195043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:29:31] local.INFO: GPS data processed {"connection_id":195043,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:29:31] local.INFO: Acknowledgment sent {"connection_id":195043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":192194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:29:32] local.INFO: GPS data processed {"connection_id":192194,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:29:32] local.INFO: Acknowledgment sent {"connection_id":192194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:29:33] local.INFO: TCP Data received {"connection_id":195044,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:29:33] local.INFO: Processing buffer {"connection_id":195044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:29:33] local.INFO: IMEI packet received {"connection_id":195044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":195044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:29:34] local.INFO: TCP Data received {"connection_id":195044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d800f6e8012d79f54005ecafe8000800fb19..."} 
[2026-09-25 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d800f6e8012d79f54005ecafe8000800fb19..."} 
[2026-09-25 15:29:34] local.INFO: Processing buffer {"connection_id":195044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d800f6e8012d79f54005ecafe8000800fb19..."} 
[2026-09-25 15:29:34] local.INFO: Packet analysis {"connection_id":195044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:29:34] local.INFO: Extracted packet for processing {"connection_id":195044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762967360,"raw_latitude":99397608,"longitude_deg":76.296736,"latitude_deg":9.9397608,"altitude":8,"angle":251,"satellites":25,"speed":2,"hex_longitude":"2d79f540","hex_latitude":"05ecafe8","is_valid_coordinates":true} 
[2026-09-25 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-25 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324563968001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809146527154176,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788000642073364480,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330337000,"timestamp_ms":1790330337000,"timestamp_seconds":1790330337,"priority":1,"record_length":96,"hex_timestamp":"000001a0d800f6e8"} 
[2026-09-25 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-25 15:29:34] 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-25 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637117,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623906864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2049,"corrected_to":0} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2126368626700189696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2891448331,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807925860,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3221613741,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639533184470615,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970781184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-918727809905459190,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,125,160,200,45,64,175,9,25,10,66,180,174,1,240,28,227,216,236,4,113,205,114,244,112,239,52,2,226,5,6,121,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":200,"original":2049,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576847883475615744,"timestamp_seconds":576847883475615.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324563968001,"66":13765,"118":206,"87":13824,"24":2,"16":135809146527154176,"45":8788000642073364480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324563968001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:29:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 15:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809146527154176,"km_value":135809146527154.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788000642073364480,"description":"Unknown IO ID 45"} 
[2026-09-25 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324563968001,"power":13765,"unknown_118":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788000642073364480}} 
[2026-09-25 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":195044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:29:34] local.INFO: GPS data processed {"connection_id":195044,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:29:34] local.INFO: Acknowledgment sent {"connection_id":195044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:29:51] local.INFO: TCP Data received {"connection_id":192364,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-25 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192364,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-25 15:29:51] local.INFO: Processing buffer {"connection_id":192364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-09-25 15:29:51] local.INFO: Packet analysis {"connection_id":192364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-25 15:29:51] local.INFO: Extracted packet for processing {"connection_id":192364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-25 15:29: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-25 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-25 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:29: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-25 15:29:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":173000,"timestamp_seconds":173,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:29:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 15:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192364,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192364,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-25 15:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 15:29:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 15:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":192364,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 15:29:51] local.ERROR: GPS data processing failed {"connection_id":192364,"error":"No valid data to process"} 
[2026-09-25 15:29:51] local.INFO: Acknowledgment sent {"connection_id":192364,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 15:29:54] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:54] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:54] local.INFO: IMEI packet received {"connection_id":195045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":195045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:29:57] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:57] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:57] local.INFO: IMEI packet received {"connection_id":195045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":195045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:29:59] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:59] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:29:59] local.INFO: IMEI packet received {"connection_id":195045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":195045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:30:00] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ff60a8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ff60a8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:30:00] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ff60a8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:30:00] local.INFO: Packet analysis {"connection_id":195045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:30:00] local.INFO: Extracted packet for processing {"connection_id":195045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324534272001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30: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-25 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330233000,"timestamp_ms":1790330233000,"timestamp_seconds":1790330233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ff60a8"} 
[2026-09-25 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:30:00] 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-25 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623690864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4257644545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985820235,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2184314880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,130,160,188,45,64,177,75,40,10,66,106,38,1,240,36,227,215,33,4,113,205,116,32,248,37,239,49,2,81,7,51,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:30:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551721596747776,"timestamp_seconds":5404551721596748.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324534272001,"66":12504,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324534272001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324534272001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":195045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:00] local.INFO: GPS data processed {"connection_id":195045,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:00] local.INFO: Acknowledgment sent {"connection_id":195045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:03] local.INFO: TCP Data received {"connection_id":195043,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:03] local.INFO: Processing buffer {"connection_id":195043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:03] local.INFO: Packet analysis {"connection_id":195043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:30:03] local.INFO: Extracted packet for processing {"connection_id":195043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30: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-25 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:30: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-25 15:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:30:03] 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-25 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:30: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-25 15:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":195043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:03] local.INFO: GPS data processed {"connection_id":195043,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:03] local.INFO: Acknowledgment sent {"connection_id":195043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:05] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7ffb2b0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7ffb2b0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:05] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7ffb2b0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:05] local.INFO: Packet analysis {"connection_id":195045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:30:05] local.INFO: Extracted packet for processing {"connection_id":195045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7ff"} 
[2026-09-25 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324539648001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.INFO: IO Element Parsed {"io_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-25 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330254000,"timestamp_ms":1790330254000,"timestamp_seconds":1790330254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7ffb2b0"} 
[2026-09-25 15: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-25 15:30:05] 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-25 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:05] 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-25 15: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-25 15: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-25 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324539648001,"66":12526,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324539648001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324539648001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":195045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:05] local.INFO: GPS data processed {"connection_id":195045,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:05] local.INFO: Acknowledgment sent {"connection_id":195045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:05] local.INFO: TCP Data received {"connection_id":195044,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8010688012d79f38005ecaf500008011719..."} 
[2026-09-25 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8010688012d79f38005ecaf500008011719..."} 
[2026-09-25 15:30:05] local.INFO: Processing buffer {"connection_id":195044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8010688012d79f38005ecaf500008011719..."} 
[2026-09-25 15:30:05] local.INFO: Packet analysis {"connection_id":195044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:30:05] local.INFO: Extracted packet for processing {"connection_id":195044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762966912,"raw_latitude":99397456,"longitude_deg":76.2966912,"latitude_deg":9.9397456,"altitude":8,"angle":279,"satellites":25,"speed":5,"hex_longitude":"2d79f380","hex_latitude":"05ecaf50","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324566272001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809168001990656,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788000642073356288,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330341000,"timestamp_ms":1790330341000,"timestamp_seconds":1790330341,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8010688"} 
[2026-09-25 15: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-25 15:30:05] 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-25 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:05] 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-25 15: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-25 15: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-25 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324566272001,"66":13580,"118":206,"87":13824,"24":5,"16":135809168001990656,"45":8788000642073356288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324566272001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809168001990656,"km_value":135809168001990.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788000642073356288,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324566272001,"power":13580,"unknown_118":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8788000642073356288}} 
[2026-09-25 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":195044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:05] local.INFO: GPS data processed {"connection_id":195044,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:05] local.INFO: Acknowledgment sent {"connection_id":195044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:17] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:17] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:17] local.INFO: IMEI packet received {"connection_id":193731,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":193731,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:30:23] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:23] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:30:23] local.INFO: IMEI packet received {"connection_id":193731,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":193731,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:30:23] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80027e00100000000000000000000000000..."} 
[2026-09-25 15:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80027e00100000000000000000000000000..."} 
[2026-09-25 15:30:23] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80027e00100000000000000000000000000..."} 
[2026-09-25 15:30:23] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30:23] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30: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-25 15:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:23] 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-25 15:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790330284000,"timestamp_ms":1790330284000,"timestamp_seconds":1790330284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80027e0"} 
[2026-09-25 15:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:30:23] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:23] 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-25 15:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:30:23] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:30:23] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:25] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:25] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:25] local.INFO: IMEI packet received {"connection_id":193732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":193732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:30:27] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:27] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:27] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:30:30] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:30] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:30:30] local.INFO: IMEI packet received {"connection_id":193732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":193732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:30:31] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:31] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:30:31] local.INFO: Packet analysis {"connection_id":193732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:30:31] local.INFO: Extracted packet for processing {"connection_id":193732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30: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-25 15:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15: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-25 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:30: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-25 15: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-25 15: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-25 15:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:30:31] 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-25 15:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:30: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-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:30:31] 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":895482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:31] local.INFO: GPS data processed {"connection_id":193732,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:31] local.INFO: Acknowledgment sent {"connection_id":193732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:33] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:33] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:30:33] local.INFO: IMEI packet received {"connection_id":192196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:30:34] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8011628012d79f24005ecaf680007010a19..."} 
[2026-09-25 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8011628012d79f24005ecaf680007010a19..."} 
[2026-09-25 15:30:34] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8011628012d79f24005ecaf680007010a19..."} 
[2026-09-25 15:30:34] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:30:34] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762966592,"raw_latitude":99397480,"longitude_deg":76.2966592,"latitude_deg":9.939748,"altitude":7,"angle":266,"satellites":25,"speed":0,"hex_longitude":"2d79f240","hex_latitude":"05ecaf68","is_valid_coordinates":true} 
[2026-09-25 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-25 15:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324567296001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809185181859840,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787508060864073728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330345000,"timestamp_ms":1790330345000,"timestamp_seconds":1790330345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8011628"} 
[2026-09-25 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-25 15:30:34] 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-25 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637117,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623911864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":388269,"corrected_to":0} 
[2026-09-25 15:30:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2049,"corrected_to":0} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2126362029630423040,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2933391369,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039030372,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970717696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-810641418846470134,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639533184470615,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,118,87,24,241,157,16,125,160,246,45,64,175,8,25,10,66,211,176,100,200,1,240,110,227,216,236,4,113,205,3,40,239,54,2,226,5,11,121,52],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":246,"original":388269,"validated":0},{"io_id":200,"original":2049,"validated":0},{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576767623422083072,"timestamp_seconds":576767623422083.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 15:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324567296001,"66":13515,"118":206,"87":13824,"24":0,"16":135809185181859840,"45":8787508060864073728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 15:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324567296001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 15:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809185181859840,"km_value":135809185181859.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787508060864073728,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324567296001,"power":13515,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787508060864073728}} 
[2026-09-25 15:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:34] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:34] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:36] local.INFO: TCP Data received {"connection_id":195045,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80004b8012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80004b8012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:36] local.INFO: Processing buffer {"connection_id":195045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80004b8012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:30:36] local.INFO: Packet analysis {"connection_id":195045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30:36] local.INFO: Extracted packet for processing {"connection_id":195045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324545024001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:36] local.INFO: IO Element Parsed {"io_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-25 15:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790330275000,"timestamp_ms":1790330275000,"timestamp_seconds":1790330275,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80004b8"} 
[2026-09-25 15: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-25 15:30:36] 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-25 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:36] 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-25 15: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-25 15: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-25 15:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324545024001,"66":12548,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324545024001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324545024001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":195045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:30:36] local.INFO: GPS data processed {"connection_id":195045,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:30:36] local.INFO: Acknowledgment sent {"connection_id":195045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:54] local.INFO: TCP Data received {"connection_id":195047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:54] local.INFO: Processing buffer {"connection_id":195047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:54] local.INFO: IMEI packet received {"connection_id":195047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":195047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:30:54] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80079e80100000000000000000000000000..."} 
[2026-09-25 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80079e80100000000000000000000000000..."} 
[2026-09-25 15:30:54] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80079e80100000000000000000000000000..."} 
[2026-09-25 15:30:54] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30:54] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:30:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:30:54] 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-25 15:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790330305000,"timestamp_ms":1790330305000,"timestamp_seconds":1790330305,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80079e8"} 
[2026-09-25 15:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:30:54] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:30:54] 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-25 15:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:30:54] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:30:54] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:30:59] local.INFO: TCP Data received {"connection_id":195047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:59] local.INFO: Processing buffer {"connection_id":195047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:30:59] local.INFO: IMEI packet received {"connection_id":195047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":195047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:31:00] local.INFO: TCP Data received {"connection_id":195047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80056c0012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80056c0012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:31:00] local.INFO: Processing buffer {"connection_id":195047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80056c0012d1820400721b1f8004b00d325..."} 
[2026-09-25 15:31:00] local.INFO: Packet analysis {"connection_id":195047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31:00] local.INFO: Extracted packet for processing {"connection_id":195047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324550400001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31: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-25 15:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330296000,"timestamp_ms":1790330296000,"timestamp_seconds":1790330296,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80056c0"} 
[2026-09-25 15:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:00] 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-25 15:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623753864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4273772545,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985820235,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2184314880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,130,160,178,45,64,177,75,39,10,66,96,40,14,1,240,227,215,33,4,113,205,106,32,248,38,239,49,2,81,7],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:31:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551717301780480,"timestamp_seconds":5404551717301780.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324550400001,"66":12526,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324550400001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324550400001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":195047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:31:00] local.INFO: GPS data processed {"connection_id":195047,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:31:00] local.INFO: Acknowledgment sent {"connection_id":195047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:03] local.INFO: TCP Data received {"connection_id":193732,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:31:03] local.INFO: Processing buffer {"connection_id":193732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d7fdf178012d34c14006aa4908000e006e28..."} 
[2026-09-25 15:31:03] local.INFO: Packet analysis {"connection_id":193732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:31:03] local.INFO: Extracted packet for processing {"connection_id":193732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d7fd"} 
[2026-09-25 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324438528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31: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-25 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330139000,"timestamp_ms":1790330139000,"timestamp_seconds":1790330139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d7fdf178"} 
[2026-09-25 15:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:31: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-25 15:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324438528001,"66":25593,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324438528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:31: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-25 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324438528001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:31:03] 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":895486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:31:03] local.INFO: GPS data processed {"connection_id":193732,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:31:03] local.INFO: Acknowledgment sent {"connection_id":193732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:05] local.INFO: TCP Data received {"connection_id":192196,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8016830012d79f24005ecaf500007010a17..."} 
[2026-09-25 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8016830012d79f24005ecaf500007010a17..."} 
[2026-09-25 15:31:05] local.INFO: Processing buffer {"connection_id":192196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8016830012d79f24005ecaf500007010a17..."} 
[2026-09-25 15:31:05] local.INFO: Packet analysis {"connection_id":192196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:31:05] local.INFO: Extracted packet for processing {"connection_id":192196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762966592,"raw_latitude":99397456,"longitude_deg":76.2966592,"latitude_deg":9.9397456,"altitude":7,"angle":266,"satellites":23,"speed":0,"hex_longitude":"2d79f240","hex_latitude":"05ecaf50","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324568320001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135809185181859840,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787156217143191552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330366000,"timestamp_ms":1790330366000,"timestamp_seconds":1790330366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8016830"} 
[2026-09-25 15: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-25 15:31:05] 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-25 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 15:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324568320001,"66":13678,"118":206,"87":13824,"24":0,"16":135809185181859840,"45":8787156217143191552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-25 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324568320001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:31:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-25 15:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135809185181859840,"km_value":135809185181859.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787156217143191552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324568320001,"power":13678,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787156217143191552}} 
[2026-09-25 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":192196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:31:05] local.INFO: GPS data processed {"connection_id":192196,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:31:05] local.INFO: Acknowledgment sent {"connection_id":192196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:25] local.INFO: TCP Data received {"connection_id":195048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:25] local.INFO: Processing buffer {"connection_id":195048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:25] local.INFO: IMEI packet received {"connection_id":195048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":195048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:31:25] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d800cbf00100000000000000000000000000..."} 
[2026-09-25 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d800cbf00100000000000000000000000000..."} 
[2026-09-25 15:31:25] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d800cbf00100000000000000000000000000..."} 
[2026-09-25 15:31:25] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31:25] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31: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-25 15:31: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-25 15:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:25] 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-25 15:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790330326000,"timestamp_ms":1790330326000,"timestamp_seconds":1790330326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d800cbf0"} 
[2026-09-25 15:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 15:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:31: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-25 15:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:31:25] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:31:25] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:25] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:25] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:25] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:31:27] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:27] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:27] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:31:28] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:28] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:28] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:31:29] local.INFO: TCP Data received {"connection_id":193733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:29] local.INFO: Processing buffer {"connection_id":193733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:31:29] local.INFO: IMEI packet received {"connection_id":193733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":193733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:31:30] local.INFO: TCP Data received {"connection_id":195048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:30] local.INFO: Processing buffer {"connection_id":195048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:31:30] local.INFO: IMEI packet received {"connection_id":195048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":195048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:31:31] local.INFO: TCP Data received {"connection_id":195048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:31:31] local.INFO: Processing buffer {"connection_id":195048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:31:31] local.INFO: Packet analysis {"connection_id":195048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:31:31] local.INFO: Extracted packet for processing {"connection_id":195048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31: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-25 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:31:31] 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-25 15:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:31:31] 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-25 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:31: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-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":195048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:31:31] local.INFO: GPS data processed {"connection_id":195048,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:31:31] local.INFO: Acknowledgment sent {"connection_id":195048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:31] local.INFO: TCP Data received {"connection_id":195047,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d800a8c8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d800a8c8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:31:31] local.INFO: Processing buffer {"connection_id":195047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d800a8c8012d1820400721b1f8004b00d328..."} 
[2026-09-25 15:31:31] local.INFO: Packet analysis {"connection_id":195047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31:31] local.INFO: Extracted packet for processing {"connection_id":195047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324555776001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330317000,"timestamp_ms":1790330317000,"timestamp_seconds":1790330317,"priority":1,"record_length":96,"hex_timestamp":"000001a0d800a8c8"} 
[2026-09-25 15:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:31: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-25 15:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324555776001,"66":12537,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324555776001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324555776001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":195047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:31:31] local.INFO: GPS data processed {"connection_id":195047,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:31:31] local.INFO: Acknowledgment sent {"connection_id":195047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:54] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:54] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:54] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:31:56] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8011df80100000000000000000000000000..."} 
[2026-09-25 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8011df80100000000000000000000000000..."} 
[2026-09-25 15:31:56] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8011df80100000000000000000000000000..."} 
[2026-09-25 15:31:56] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:31:56] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-25 15:31: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-25 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:31:56] 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-25 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790330347000,"timestamp_ms":1790330347000,"timestamp_seconds":1790330347,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8011df8"} 
[2026-09-25 15:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:31:56] 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-25 15:31: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":244,"data_length":795,"current_offset":136} 
[2026-09-25 15:31:56] 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-25 15:31: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-25 15:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:31:56] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:31:56] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:31:59] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:59] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:31:59] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:32:00] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d800fad0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d800fad0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:32:00] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d800fad0012d1820400721b1f8004b00d327..."} 
[2026-09-25 15:32:00] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:32:00] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d800"} 
[2026-09-25 15:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 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-25 15:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324561152001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32: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-25 15:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330338000,"timestamp_ms":1790330338000,"timestamp_seconds":1790330338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d800fad0"} 
[2026-09-25 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-25 15:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:32: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-25 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-25 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-25 15:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324561152001,"66":12526,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324561152001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324561152001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:32:00] 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":895490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:32:00] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:32:00] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:02] local.INFO: TCP Data received {"connection_id":195048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:02] local.INFO: Processing buffer {"connection_id":195048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:02] local.INFO: Packet analysis {"connection_id":195048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:32:02] local.INFO: Extracted packet for processing {"connection_id":195048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32: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-25 15:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:32:02] 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-25 15:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:32:02] 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-25 15:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:32:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:32:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:32: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-25 15:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":195048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:32:02] local.INFO: GPS data processed {"connection_id":195048,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:32:02] local.INFO: Acknowledgment sent {"connection_id":195048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:25] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:25] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:25] local.INFO: IMEI packet received {"connection_id":193735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":193735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:32:28] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80170000100000000000000000000000000..."} 
[2026-09-25 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80170000100000000000000000000000000..."} 
[2026-09-25 15:32:28] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80170000100000000000000000000000000..."} 
[2026-09-25 15:32:28] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32:28] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32: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-25 15: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-25 15:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:28] 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-25 15:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790330368000,"timestamp_ms":1790330368000,"timestamp_seconds":1790330368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8017000"} 
[2026-09-25 15: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-25 15:32:28] 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-25 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:32:28] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:32:28] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:30] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:30] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:32:30] local.INFO: IMEI packet received {"connection_id":193735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":193735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:32:31] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8014cd8012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8014cd8012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:32:31] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8014cd8012d1820400721b1f8004b00d326..."} 
[2026-09-25 15:32:31] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32:31] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648760,"longitude_deg":75.655584,"latitude_deg":11.964876,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1f8","is_valid_coordinates":true} 
[2026-09-25 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324566528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942624373538816,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330359000,"timestamp_ms":1790330359000,"timestamp_seconds":1790330359,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8014cd8"} 
[2026-09-25 15:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:32: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-25 15:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324566528001,"66":12548,"105":206,"83":41984,"24":0,"16":22942624373538816,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324566528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942624373538816,"km_value":22942624373538.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324566528001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:32:31] 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":895492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:32:31] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:32:31] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:31] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:31] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:32:31] local.INFO: Packet analysis {"connection_id":193735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:32:31] local.INFO: Extracted packet for processing {"connection_id":193735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32: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-25 15:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:32:31] 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-25 15:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:32:31] 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-25 15:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:32: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-25 15:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:32:31] 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":895493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:32:31] local.INFO: GPS data processed {"connection_id":193735,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:32:31] local.INFO: Acknowledgment sent {"connection_id":193735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:59] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d801c2080100000000000000000000000000..."} 
[2026-09-25 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d801c2080100000000000000000000000000..."} 
[2026-09-25 15:32:59] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d801c2080100000000000000000000000000..."} 
[2026-09-25 15:32:59] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32:59] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:32:59] 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-25 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:32:59] 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-25 15:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790330389000,"timestamp_ms":1790330389000,"timestamp_seconds":1790330389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d801c208"} 
[2026-09-25 15:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:32:59] 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-25 15:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 15:32:59] 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-25 15:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:32:59] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:32:59] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:32:59] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:32:59] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:32:59] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:33:03] local.INFO: TCP Data received {"connection_id":193735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:03] local.INFO: Processing buffer {"connection_id":193735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:03] local.INFO: Packet analysis {"connection_id":193735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:03] local.INFO: Extracted packet for processing {"connection_id":193735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33: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-25 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:33:03] 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-25 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:33: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-25 15:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:33:03] 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":895494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:33:03] local.INFO: GPS data processed {"connection_id":193735,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:33:03] local.INFO: Acknowledgment sent {"connection_id":193735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:04] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:04] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:04] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:33:05] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8019ee0012d181e800721ae80004e00d925..."} 
[2026-09-25 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8019ee0012d181e800721ae80004e00d925..."} 
[2026-09-25 15:33:05] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8019ee0012d181e800721ae80004e00d925..."} 
[2026-09-25 15:33:05] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:33:05] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324571904001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539271680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.INFO: IO Element Parsed {"io_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-25 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330380000,"timestamp_ms":1790330380000,"timestamp_seconds":1790330380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8019ee0"} 
[2026-09-25 15: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-25 15:33:05] 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-25 15: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3623837864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2985820235,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2184314880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,130,160,250,45,64,177,75,39,10,66,168,40,86,1,240,238,227,216,33,4,113,205,178,32,248,239,48,2,81,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:33:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404551713006813184,"timestamp_seconds":5404551713006813.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324571904001,"66":12537,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1738459855539271680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324571904001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:33:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539271680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324571904001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539271680}} 
[2026-09-25 15:33:05] 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":895495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:33:05] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:33:05] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:06] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d801f0e8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d801f0e8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:06] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d801f0e8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:06] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:33:06] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d801"} 
[2026-09-25 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 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-25 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324577280001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790330401000,"timestamp_ms":1790330401000,"timestamp_seconds":1790330401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d801f0e8"} 
[2026-09-25 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-25 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:06] 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-25 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-25 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-25 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324577280001,"66":12526,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324577280001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324577280001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:33:07] 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":895496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:33:07] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:33:07] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:25] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:25] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:25] local.INFO: IMEI packet received {"connection_id":193737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":193737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:33:30] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80214100100000000000000000000000000..."} 
[2026-09-25 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80214100100000000000000000000000000..."} 
[2026-09-25 15:33:30] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80214100100000000000000000000000000..."} 
[2026-09-25 15:33:30] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:30] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33: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-25 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-25 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:30] 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-25 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790330410000,"timestamp_ms":1790330410000,"timestamp_seconds":1790330410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8021410"} 
[2026-09-25 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-25 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:33:30] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:33:30] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:30] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:30] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:33:30] local.INFO: IMEI packet received {"connection_id":193737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":193737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:33:31] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:31] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:33:31] local.INFO: Packet analysis {"connection_id":193737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:31] local.INFO: Extracted packet for processing {"connection_id":193737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33: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-25 15:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:31] 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-25 15:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:33:31] 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-25 15:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:33: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-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:33:31] 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":895497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:33:31] local.INFO: GPS data processed {"connection_id":193737,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:33:31] local.INFO: Acknowledgment sent {"connection_id":193737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:34] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:33:34] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:33:34] local.INFO: IMEI packet received {"connection_id":192370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":192370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:33:38] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80242f0012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80242f0012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:38] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80242f0012d181e800721ae80004e00d926..."} 
[2026-09-25 15:33:38] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:38] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324582656001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790330422000,"timestamp_ms":1790330422000,"timestamp_seconds":1790330422,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80242f0"} 
[2026-09-25 15: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-25 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:33:38] 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-25 15: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-25 15: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-25 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324582656001,"66":12515,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324582656001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:33:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324582656001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:33:38] 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":895498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:33:38] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:33:38] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:33:54] local.INFO: TCP Data received {"connection_id":195049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:54] local.INFO: Processing buffer {"connection_id":195049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:54] local.INFO: IMEI packet received {"connection_id":195049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":195049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:33:59] local.INFO: TCP Data received {"connection_id":195049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:59] local.INFO: Processing buffer {"connection_id":195049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:33:59] local.INFO: IMEI packet received {"connection_id":195049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":195049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:34:00] local.INFO: TCP Data received {"connection_id":195049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80294f8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80294f8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:34:00] local.INFO: Processing buffer {"connection_id":195049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80294f8012d181e800721ae80004e00d926..."} 
[2026-09-25 15:34:00] local.INFO: Packet analysis {"connection_id":195049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:00] local.INFO: Extracted packet for processing {"connection_id":195049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324588032001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34: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-25 15:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330443000,"timestamp_ms":1790330443000,"timestamp_seconds":1790330443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80294f8"} 
[2026-09-25 15:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324588032001,"66":12537,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324588032001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324588032001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":195049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:34:00] local.INFO: GPS data processed {"connection_id":195049,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:34:00] local.INFO: Acknowledgment sent {"connection_id":195049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:01] local.INFO: TCP Data received {"connection_id":193731,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80266180100000000000000000000000000..."} 
[2026-09-25 15:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80266180100000000000000000000000000..."} 
[2026-09-25 15:34:01] local.INFO: Processing buffer {"connection_id":193731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80266180100000000000000000000000000..."} 
[2026-09-25 15:34:01] local.INFO: Packet analysis {"connection_id":193731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:01] local.INFO: Extracted packet for processing {"connection_id":193731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:01] 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-25 15:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:01] 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-25 15:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790330431000,"timestamp_ms":1790330431000,"timestamp_seconds":1790330431,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8026618"} 
[2026-09-25 15:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:34:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193731,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":193731,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:34:01] local.INFO: GPS data processed {"connection_id":193731,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:34:01] local.INFO: Acknowledgment sent {"connection_id":193731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:03] local.INFO: TCP Data received {"connection_id":193737,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:03] local.INFO: Processing buffer {"connection_id":193737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:03] local.INFO: Packet analysis {"connection_id":193737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:03] local.INFO: Extracted packet for processing {"connection_id":193737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34: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-25 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:34:03] 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-25 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:34: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-25 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:34:03] 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":895500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:34:03] local.INFO: GPS data processed {"connection_id":193737,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:34:03] local.INFO: Acknowledgment sent {"connection_id":193737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:04] local.INFO: TCP Data received {"connection_id":192197,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:34:04] local.INFO: Processing buffer {"connection_id":192197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:34:04] local.INFO: IMEI packet received {"connection_id":192197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":192197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:34:23] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: IMEI packet received {"connection_id":193739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":193739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:34:23] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:23] local.INFO: IMEI packet received {"connection_id":193739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":193739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:34:25] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:25] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:25] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:34:28] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:28] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:34:28] local.INFO: IMEI packet received {"connection_id":193739,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":193739,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:34:29] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d802b8200100000000000000000000000000..."} 
[2026-09-25 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d802b8200100000000000000000000000000..."} 
[2026-09-25 15:34:29] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d802b8200100000000000000000000000000..."} 
[2026-09-25 15:34:29] local.INFO: Packet analysis {"connection_id":193739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:29] local.INFO: Extracted packet for processing {"connection_id":193739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34: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-25 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34: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-25 15:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790330452000,"timestamp_ms":1790330452000,"timestamp_seconds":1790330452,"priority":1,"record_length":96,"hex_timestamp":"000001a0d802b820"} 
[2026-09-25 15:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:34: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:29] 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-25 15:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193739,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193739,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":193739,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:34:29] local.INFO: GPS data processed {"connection_id":193739,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:34:29] local.INFO: Acknowledgment sent {"connection_id":193739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:30] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:30] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:34:30] local.INFO: IMEI packet received {"connection_id":192198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:34:31] local.INFO: TCP Data received {"connection_id":195049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d802e700012d181e800721ae80004e00d927..."} 
[2026-09-25 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d802e700012d181e800721ae80004e00d927..."} 
[2026-09-25 15:34:31] local.INFO: Processing buffer {"connection_id":195049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d802e700012d181e800721ae80004e00d927..."} 
[2026-09-25 15:34:31] local.INFO: Packet analysis {"connection_id":195049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:31] local.INFO: Extracted packet for processing {"connection_id":195049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324593408001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330464000,"timestamp_ms":1790330464000,"timestamp_seconds":1790330464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d802e700"} 
[2026-09-25 15: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-25 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:31] 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-25 15: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-25 15: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-25 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324593408001,"66":12526,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324593408001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324593408001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":195049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:34:31] local.INFO: GPS data processed {"connection_id":195049,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:34:31] local.INFO: Acknowledgment sent {"connection_id":195049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:32] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:32] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:34:32] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:32] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:34:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:34: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-25 15:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:34:32] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:34:32] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:33] local.INFO: TCP Data received {"connection_id":193739,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8030a280100000000000000000000000000..."} 
[2026-09-25 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8030a280100000000000000000000000000..."} 
[2026-09-25 15:34:33] local.INFO: Processing buffer {"connection_id":193739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8030a280100000000000000000000000000..."} 
[2026-09-25 15:34:33] local.INFO: Packet analysis {"connection_id":193739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:34:33] local.INFO: Extracted packet for processing {"connection_id":193739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:34: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-25 15: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-25 15:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:34:33] 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-25 15:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790330473000,"timestamp_ms":1790330473000,"timestamp_seconds":1790330473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8030a28"} 
[2026-09-25 15: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-25 15:34:33] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 15:34:33] 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-25 15: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-25 15: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-25 15:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193739,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193739,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":193739,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 15:34:33] local.INFO: GPS data processed {"connection_id":193739,"processed":0,"errors":0,"total":1} 
[2026-09-25 15:34:33] local.INFO: Acknowledgment sent {"connection_id":193739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:34:51] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:51] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:51] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:34:54] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:54] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:54] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:34:59] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:59] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:34:59] local.INFO: IMEI packet received {"connection_id":192199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":192199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:35:00] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8033908012d181e800721ae80004e00d927..."} 
[2026-09-25 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8033908012d181e800721ae80004e00d927..."} 
[2026-09-25 15:35:00] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8033908012d181e800721ae80004e00d927..."} 
[2026-09-25 15:35:00] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:35:00] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324598784001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35: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-25 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330485000,"timestamp_ms":1790330485000,"timestamp_seconds":1790330485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8033908"} 
[2026-09-25 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:00] 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-25 15:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324598784001,"66":12515,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324598784001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324598784001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:00] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:00] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:04] local.INFO: TCP Data received {"connection_id":192198,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:04] local.INFO: Processing buffer {"connection_id":192198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:04] local.INFO: Packet analysis {"connection_id":192198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:35:04] local.INFO: Extracted packet for processing {"connection_id":192198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35: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-25 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:35: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-25 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":192198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:04] local.INFO: GPS data processed {"connection_id":192198,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:04] local.INFO: Acknowledgment sent {"connection_id":192198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:17] local.INFO: TCP Data received {"connection_id":195050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195050,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:17] local.INFO: Processing buffer {"connection_id":195050,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:17] local.INFO: IMEI packet received {"connection_id":195050,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":195050,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:35:23] local.INFO: TCP Data received {"connection_id":195050,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195050,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:23] local.INFO: Processing buffer {"connection_id":195050,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:35:23] local.INFO: IMEI packet received {"connection_id":195050,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":195050,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:35:23] local.INFO: TCP Data received {"connection_id":195050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8064a30012d0c4500070365f8001e004409..."} 
[2026-09-25 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8064a30012d0c4500070365f8001e004409..."} 
[2026-09-25 15:35:23] local.INFO: Processing buffer {"connection_id":195050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8064a30012d0c4500070365f8001e004409..."} 
[2026-09-25 15:35:23] local.INFO: Packet analysis {"connection_id":195050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:23] local.INFO: Extracted packet for processing {"connection_id":195050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":117663224,"longitude_deg":75.5778816,"latitude_deg":11.7663224,"altitude":30,"angle":68,"satellites":9,"speed":11,"hex_longitude":"2d0c4500","hex_latitude":"070365f8","is_valid_coordinates":true} 
[2026-09-25 15:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825560400494592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:23] 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-25 15:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790330686000,"timestamp_ms":1790330686000,"timestamp_seconds":1790330686,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8064a30"} 
[2026-09-25 15:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 15:35: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-25 15:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14537,"37":206,"94":11008,"24":11,"16":33825560400494592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16]} 
[2026-09-25 15:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 15:35:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33825560400494592,"km_value":33825560400494.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:35:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null}} 
[2026-09-25 15:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":195050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:23] local.INFO: GPS data processed {"connection_id":195050,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:23] local.INFO: Acknowledgment sent {"connection_id":195050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:25] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:25] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:25] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:35:28] local.INFO: TCP Data received {"connection_id":195050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8068c98012d0c5d8007036e20002a004309..."} 
[2026-09-25 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8068c98012d0c5d8007036e20002a004309..."} 
[2026-09-25 15:35:28] local.INFO: Processing buffer {"connection_id":195050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8068c98012d0c5d8007036e20002a004309..."} 
[2026-09-25 15:35:28] local.INFO: Packet analysis {"connection_id":195050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:28] local.INFO: Extracted packet for processing {"connection_id":195050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":755785088,"raw_latitude":117665312,"longitude_deg":75.5785088,"latitude_deg":11.7665312,"altitude":42,"angle":67,"satellites":9,"speed":19,"hex_longitude":"2d0c5d80","hex_latitude":"07036e20","is_valid_coordinates":true} 
[2026-09-25 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324655616001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825873933107200,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931969955840,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790330703000,"timestamp_ms":1790330703000,"timestamp_seconds":1790330703,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8068c98"} 
[2026-09-25 15:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:28] 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-25 15:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324655616001,"66":14548,"37":206,"94":11008,"24":19,"16":33825873933107200,"45":884112931969955840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 15:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324655616001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 15:35:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33825873933107200,"km_value":33825873933107.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931969955840,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324655616001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":884112931969955840}} 
[2026-09-25 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":195050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895506,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:28] local.INFO: GPS data processed {"connection_id":195050,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:28] local.INFO: Acknowledgment sent {"connection_id":195050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:30] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:30] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:35:30] local.INFO: IMEI packet received {"connection_id":192201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:35:31] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:31] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:35:31] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:35:31] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35: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-25 15:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:31] 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-25 15:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:35:31] 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-25 15:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:35: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-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:31] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:31] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:31] local.INFO: TCP Data received {"connection_id":192199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8038b10012d181e800721ae80004e00d928..."} 
[2026-09-25 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8038b10012d181e800721ae80004e00d928..."} 
[2026-09-25 15:35:31] local.INFO: Processing buffer {"connection_id":192199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8038b10012d181e800721ae80004e00d928..."} 
[2026-09-25 15:35:31] local.INFO: Packet analysis {"connection_id":192199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:35:31] local.INFO: Extracted packet for processing {"connection_id":192199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324604160001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330506000,"timestamp_ms":1790330506000,"timestamp_seconds":1790330506,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8038b10"} 
[2026-09-25 15:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324604160001,"66":12526,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324604160001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324604160001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":192199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:35:31] local.INFO: GPS data processed {"connection_id":192199,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:35:31] local.INFO: Acknowledgment sent {"connection_id":192199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:35:54] local.INFO: TCP Data received {"connection_id":195051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:54] local.INFO: Processing buffer {"connection_id":195051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:54] local.INFO: IMEI packet received {"connection_id":195051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":195051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:35:55] local.INFO: TCP Data received {"connection_id":195051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:55] local.INFO: Processing buffer {"connection_id":195051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:55] local.INFO: IMEI packet received {"connection_id":195051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":195051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:35:59] local.INFO: TCP Data received {"connection_id":195051,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:59] local.INFO: Processing buffer {"connection_id":195051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:35:59] local.INFO: IMEI packet received {"connection_id":195051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":195051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:35:59] local.INFO: TCP Data received {"connection_id":195050,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8069850012d0c608007036f90002b003009..."} 
[2026-09-25 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8069850012d0c608007036f90002b003009..."} 
[2026-09-25 15:35:59] local.INFO: Processing buffer {"connection_id":195050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8069850012d0c608007036f90002b003009..."} 
[2026-09-25 15:35:59] local.INFO: Packet analysis {"connection_id":195050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:59] local.INFO: Extracted packet for processing {"connection_id":195050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117665680,"longitude_deg":75.5785856,"latitude_deg":11.766568,"altitude":43,"angle":48,"satellites":9,"speed":12,"hex_longitude":"2d0c6080","hex_latitude":"07036f90","is_valid_coordinates":true} 
[2026-09-25 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324659968001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825912587812864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891009068899901440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790330706000,"timestamp_ms":1790330706000,"timestamp_seconds":1790330706,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8069850"} 
[2026-09-25 15:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:35:59] 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-25 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 15:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195050,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324659968001,"66":14580,"37":206,"94":11008,"24":12,"16":33825912587812864,"45":891009068899901440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 15:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324659968001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:35:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 15:35:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33825912587812864,"km_value":33825912587812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":891009068899901440,"description":"Unknown IO ID 45"} 
[2026-09-25 15:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324659968001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":891009068899901440}} 
[2026-09-25 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":195050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:00] local.INFO: GPS data processed {"connection_id":195050,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:00] local.INFO: Acknowledgment sent {"connection_id":195050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:00] local.INFO: TCP Data received {"connection_id":195051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d803dd18012d181e800721ae80004e00d928..."} 
[2026-09-25 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d803dd18012d181e800721ae80004e00d928..."} 
[2026-09-25 15:36:00] local.INFO: Processing buffer {"connection_id":195051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d803dd18012d181e800721ae80004e00d928..."} 
[2026-09-25 15:36:00] local.INFO: Packet analysis {"connection_id":195051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:36:00] local.INFO: Extracted packet for processing {"connection_id":195051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d803"} 
[2026-09-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324609536001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36: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-25 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330527000,"timestamp_ms":1790330527000,"timestamp_seconds":1790330527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d803dd18"} 
[2026-09-25 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:00] 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-25 15:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324609536001,"66":12515,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324609536001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324609536001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":195051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:00] local.INFO: GPS data processed {"connection_id":195051,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:00] local.INFO: Acknowledgment sent {"connection_id":195051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:02] local.INFO: TCP Data received {"connection_id":192201,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:36:02] local.INFO: Processing buffer {"connection_id":192201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8028940012d34c14006aa49080009006e28..."} 
[2026-09-25 15:36:02] local.INFO: Packet analysis {"connection_id":192201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:36:02] local.INFO: Extracted packet for processing {"connection_id":192201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d802"} 
[2026-09-25 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324515584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36: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-25 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330440000,"timestamp_ms":1790330440000,"timestamp_seconds":1790330440,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8028940"} 
[2026-09-25 15:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:02] 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-25 15:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:36:02] 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-25 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324515584001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324515584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:36: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-25 15:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324515584001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":192201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:02] local.INFO: GPS data processed {"connection_id":192201,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:02] local.INFO: Acknowledgment sent {"connection_id":192201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:14] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:14] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:14] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:36:18] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:18] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:18] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:36:23] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:23] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:36:23] local.INFO: IMEI packet received {"connection_id":192203,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":192203,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:36:24] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8069c38012d0c610007037058002a001609..."} 
[2026-09-25 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8069c38012d0c610007037058002a001609..."} 
[2026-09-25 15:36:24] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8069c38012d0c610007037058002a001609..."} 
[2026-09-25 15:36:24] local.INFO: Packet analysis {"connection_id":192203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:36:24] local.INFO: Extracted packet for processing {"connection_id":192203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:36:24] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117665880,"longitude_deg":75.5785984,"latitude_deg":11.766588,"altitude":42,"angle":22,"satellites":9,"speed":10,"hex_longitude":"2d0c6100","hex_latitude":"07037058","is_valid_coordinates":true} 
[2026-09-25 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-25 15:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324660736001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33825925472714752,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493830127616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:24] 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-25 15:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790330707000,"timestamp_ms":1790330707000,"timestamp_seconds":1790330707,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8069c38"} 
[2026-09-25 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-25 15:36:24] 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-25 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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:24] 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-25 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-25 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-25 15:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324660736001,"66":14580,"37":206,"94":11008,"24":10,"16":33825925472714752,"45":891853493830127616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 15:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324660736001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33825925472714752,"km_value":33825925472714.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493830127616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324660736001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":891853493830127616}} 
[2026-09-25 15:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":192203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:24] local.INFO: GPS data processed {"connection_id":192203,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:24] local.INFO: Acknowledgment sent {"connection_id":192203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:25] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:25] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:25] local.INFO: IMEI packet received {"connection_id":192205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":192205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:36:30] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:30] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:36:30] local.INFO: IMEI packet received {"connection_id":192205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:36:31] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:36:31] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:36:31] local.INFO: Packet analysis {"connection_id":192205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:36:31] local.INFO: Extracted packet for processing {"connection_id":192205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36: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-25 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:36:31] 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-25 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:36: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-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":192205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:31] local.INFO: GPS data processed {"connection_id":192205,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:31] local.INFO: Acknowledgment sent {"connection_id":192205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:31] local.INFO: TCP Data received {"connection_id":195051,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8042f20012d181e800721ae80004e00d926..."} 
[2026-09-25 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8042f20012d181e800721ae80004e00d926..."} 
[2026-09-25 15:36:31] local.INFO: Processing buffer {"connection_id":195051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8042f20012d181e800721ae80004e00d926..."} 
[2026-09-25 15:36:31] local.INFO: Packet analysis {"connection_id":195051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d804"} 
[2026-09-25 15:36:31] local.INFO: Extracted packet for processing {"connection_id":195051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d804"} 
[2026-09-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647872,"longitude_deg":75.6555392,"latitude_deg":11.9647872,"altitude":78,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-09-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324614912001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942675913146368,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330548000,"timestamp_ms":1790330548000,"timestamp_seconds":1790330548,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8042f20"} 
[2026-09-25 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324614912001,"66":12504,"105":206,"83":41984,"24":0,"16":22942675913146368,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324614912001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942675913146368,"km_value":22942675913146.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324614912001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":195051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:32] local.INFO: GPS data processed {"connection_id":195051,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:32] local.INFO: Acknowledgment sent {"connection_id":195051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:33] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:36:33] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:36:33] local.INFO: IMEI packet received {"connection_id":192204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":192204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:36:33] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8053ca8012d7a130005ec8058000601061d..."} 
[2026-09-25 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8053ca8012d7a130005ec8058000601061d..."} 
[2026-09-25 15:36:33] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8053ca8012d7a130005ec8058000601061d..."} 
[2026-09-25 15:36:33] local.INFO: Packet analysis {"connection_id":192204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:36:33] local.INFO: Extracted packet for processing {"connection_id":192204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:36:33] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":29,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324632832001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578813380608,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790330617000,"timestamp_ms":1790330617000,"timestamp_seconds":1790330617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8053ca8"} 
[2026-09-25 15: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-25 15:36:33] 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-25 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:33] 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-25 15: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-25 15: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-25 15:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324632832001,"66":13526,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8797148578813380608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324632832001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578813380608,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324632832001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797148578813380608}} 
[2026-09-25 15:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":192204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:33] local.INFO: GPS data processed {"connection_id":192204,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:33] local.INFO: Acknowledgment sent {"connection_id":192204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:54] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:54] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:54] local.INFO: IMEI packet received {"connection_id":193740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":193740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:36:57] local.INFO: TCP Data received {"connection_id":192203,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d807e458012d0c64400703e038002301070a..."} 
[2026-09-25 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d807e458012d0c64400703e038002301070a..."} 
[2026-09-25 15:36:57] local.INFO: Processing buffer {"connection_id":192203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d807e458012d0c64400703e038002301070a..."} 
[2026-09-25 15:36:57] local.INFO: Packet analysis {"connection_id":192203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:36:57] local.INFO: Extracted packet for processing {"connection_id":192203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:36:57] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117694520,"longitude_deg":75.5786816,"latitude_deg":11.769452,"altitude":35,"angle":263,"satellites":10,"speed":10,"hex_longitude":"2d0c6440","hex_latitude":"0703e038","is_valid_coordinates":true} 
[2026-09-25 15:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324681984001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33827415826366464,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893612712441946112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:36:57] 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-25 15:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790330791000,"timestamp_ms":1790330791000,"timestamp_seconds":1790330791,"priority":1,"record_length":96,"hex_timestamp":"000001a0d807e458"} 
[2026-09-25 15:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 15:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192203,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324681984001,"66":14428,"16":33827415826366464,"94":11008,"24":10,"45":893612712441946112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324681984001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33827415826366464,"km_value":33827415826366.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:36:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":893612712441946112,"description":"Unknown IO ID 45"} 
[2026-09-25 15:36:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324681984001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":893612712441946112}} 
[2026-09-25 15:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":192203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:36:57] local.INFO: GPS data processed {"connection_id":192203,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:36:57] local.INFO: Acknowledgment sent {"connection_id":192203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:36:59] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:59] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:36:59] local.INFO: IMEI packet received {"connection_id":193740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":193740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:00] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8077ae0012d181cc00721acd0004a00c628..."} 
[2026-09-25 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8077ae0012d181cc00721acd0004a00c628..."} 
[2026-09-25 15:37:00] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8077ae0012d181cc00721acd0004a00c628..."} 
[2026-09-25 15:37:00] local.INFO: Packet analysis {"connection_id":193740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:00] local.INFO: Extracted packet for processing {"connection_id":193740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647440,"longitude_deg":75.6554944,"latitude_deg":11.964744,"altitude":74,"angle":198,"satellites":40,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721acd0","is_valid_coordinates":true} 
[2026-09-25 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324674048001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942705977917440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329800704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37: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-25 15:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330764000,"timestamp_ms":1790330764000,"timestamp_seconds":1790330764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8077ae0"} 
[2026-09-25 15:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624236864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2927624270,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2185101312,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,130,160,17,45,128,174,78,39,10,66,191,109,1,240,173,227,216,33,4,113,205,201,30,40,239,48,2,81,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 15:37:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620731096485330944,"timestamp_seconds":5620731096485331.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324674048001,"66":13961,"105":206,"83":41984,"24":3,"16":22942705977917440,"45":1737967274329800704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324674048001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942705977917440,"km_value":22942705977917.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329800704,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324674048001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737967274329800704}} 
[2026-09-25 15:37:00] 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":895517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:00] local.INFO: GPS data processed {"connection_id":193740,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:00] local.INFO: Acknowledgment sent {"connection_id":193740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:02] local.INFO: TCP Data received {"connection_id":192205,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:02] local.INFO: Processing buffer {"connection_id":192205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:02] local.INFO: Packet analysis {"connection_id":192205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:02] local.INFO: Extracted packet for processing {"connection_id":192205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37: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-25 15:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:02] 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-25 15:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:37:02] 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-25 15:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:37: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-25 15:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":192205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:02] local.INFO: GPS data processed {"connection_id":192205,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:02] local.INFO: Acknowledgment sent {"connection_id":192205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:05] local.INFO: TCP Data received {"connection_id":192204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8058eb0012d7a130005ec8058000601061d..."} 
[2026-09-25 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8058eb0012d7a130005ec8058000601061d..."} 
[2026-09-25 15:37:05] local.INFO: Processing buffer {"connection_id":192204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8058eb0012d7a130005ec8058000601061d..."} 
[2026-09-25 15:37:05] local.INFO: Packet analysis {"connection_id":192204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:37:05] local.INFO: Extracted packet for processing {"connection_id":192204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":29,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324637952001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330638000,"timestamp_ms":1790330638000,"timestamp_seconds":1790330638,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8058eb0"} 
[2026-09-25 15: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-25 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324637952001,"66":13580,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324637952001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:37:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324637952001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":192204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:05] local.INFO: GPS data processed {"connection_id":192204,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:05] local.INFO: Acknowledgment sent {"connection_id":192204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:18] local.INFO: TCP Data received {"connection_id":195052,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:18] local.INFO: Processing buffer {"connection_id":195052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:18] local.INFO: IMEI packet received {"connection_id":195052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":195052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:37:23] local.INFO: TCP Data received {"connection_id":195052,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195052,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:23] local.INFO: Processing buffer {"connection_id":195052,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:37:23] local.INFO: IMEI packet received {"connection_id":195052,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":195052,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:23] local.INFO: TCP Data received {"connection_id":195052,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d807ec28012d0c62400703e040002201120a..."} 
[2026-09-25 15:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d807ec28012d0c62400703e040002201120a..."} 
[2026-09-25 15:37:23] local.INFO: Processing buffer {"connection_id":195052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d807ec28012d0c62400703e040002201120a..."} 
[2026-09-25 15:37:23] local.INFO: Packet analysis {"connection_id":195052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:23] local.INFO: Extracted packet for processing {"connection_id":195052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117694528,"longitude_deg":75.5786304,"latitude_deg":11.7694528,"altitude":34,"angle":274,"satellites":10,"speed":10,"hex_longitude":"2d0c6240","hex_latitude":"0703e040","is_valid_coordinates":true} 
[2026-09-25 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324682496001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33827441596170240,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909025000175616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:23] 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-25 15:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790330793000,"timestamp_ms":1790330793000,"timestamp_seconds":1790330793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d807ec28"} 
[2026-09-25 15:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:37: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-25 15:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324682496001,"66":13993,"16":33827441596170240,"94":11008,"24":10,"45":892909025000175616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324682496001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33827441596170240,"km_value":33827441596170.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909025000175616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324682496001,"power":13993,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":892909025000175616}} 
[2026-09-25 15:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":195052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:23] local.INFO: GPS data processed {"connection_id":195052,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:23] local.INFO: Acknowledgment sent {"connection_id":195052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:25] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:25] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:25] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:37:28] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:28] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:28] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:37:29] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:29] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:29] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:30] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:30] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:37:30] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:31] local.INFO: TCP Data received {"connection_id":193740,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80782b0012d181cc00721abd8004a00aa27..."} 
[2026-09-25 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80782b0012d181cc00721abd8004a00aa27..."} 
[2026-09-25 15:37:31] local.INFO: Processing buffer {"connection_id":193740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80782b0012d181cc00721abd8004a00aa27..."} 
[2026-09-25 15:37:31] local.INFO: Packet analysis {"connection_id":193740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:31] local.INFO: Extracted packet for processing {"connection_id":193740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647192,"longitude_deg":75.6554944,"latitude_deg":11.9647192,"altitude":74,"angle":170,"satellites":39,"speed":5,"hex_longitude":"2d181cc0","hex_latitude":"0721abd8","is_valid_coordinates":true} 
[2026-09-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324675584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942718862819328,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120446464,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330766000,"timestamp_ms":1790330766000,"timestamp_seconds":1790330766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80782b0"} 
[2026-09-25 15:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:31] 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-25 15:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324675584001,"66":14276,"105":206,"83":41984,"24":5,"16":22942718862819328,"45":1737474693120446464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324675584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942718862819328,"km_value":22942718862819.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120446464,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324675584001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737474693120446464}} 
[2026-09-25 15:37:31] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:31] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:37:31] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:31] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37: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-25 15:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:37: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-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:37:31] 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":895521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:31] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:31] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:31] 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":895522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:31] local.INFO: GPS data processed {"connection_id":193740,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:31] local.INFO: Acknowledgment sent {"connection_id":193740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:33] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:33] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:37:33] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:34] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d805e0b8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d805e0b8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:34] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d805e0b8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:34] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:37:34] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d805"} 
[2026-09-25 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":30,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 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-25 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324643328001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330659000,"timestamp_ms":1790330659000,"timestamp_seconds":1790330659,"priority":1,"record_length":96,"hex_timestamp":"000001a0d805e0b8"} 
[2026-09-25 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-25 15:37:34] 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-25 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624188864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2125970603490934784,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13452388,"corrected_to":0} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2162163718,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204001380,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393488,"corrected_to":0} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1999604747891376133,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,100,87,24,241,157,16,127,160,60,45,128,6,29,10,66,238,192,129,7,28,222,1,240,247,227,216,236,4,113,205,3,195,26,200,239,53,2,226,5,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":247,"original":13452388,"validated":0},{"io_id":205,"original":1147404494,"validated":0},{"io_id":200,"original":393488,"validated":0}]} 
[2026-09-25 15:37:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432633760828096512,"timestamp_seconds":432633760828096.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324643328001,"66":13602,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324643328001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324643328001,"power":13602,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:37:34] 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":895523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:34] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:34] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:38] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80632c0012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80632c0012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:38] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80632c0012d7a130005ec8058000601061e..."} 
[2026-09-25 15:37:38] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:37:38] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:37:38] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":30,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324648704001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790330680000,"timestamp_ms":1790330680000,"timestamp_seconds":1790330680,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80632c0"} 
[2026-09-25 15:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:37:38] 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-25 15:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 15:37:38] 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-25 15:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324648704001,"66":13602,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324648704001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:37:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324648704001,"power":13602,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:37:38] 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":895524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:38] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:38] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:54] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:54] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:54] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:37:55] local.INFO: TCP Data received {"connection_id":195052,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80822d8012d0c55000703e0c8001f01060a..."} 
[2026-09-25 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80822d8012d0c55000703e0c8001f01060a..."} 
[2026-09-25 15:37:55] local.INFO: Processing buffer {"connection_id":195052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80822d8012d0c55000703e0c8001f01060a..."} 
[2026-09-25 15:37:55] local.INFO: Packet analysis {"connection_id":195052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:37:55] local.INFO: Extracted packet for processing {"connection_id":195052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117694664,"longitude_deg":75.5782912,"latitude_deg":11.7694664,"altitude":31,"angle":262,"satellites":10,"speed":6,"hex_longitude":"2d0c5500","hex_latitude":"0703e0c8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324683008001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33827600509960192,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075046756352,"note":"Value kept but may cause issues"} 
[2026-09-25 15:37:55] 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-25 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790330807000,"timestamp_ms":1790330807000,"timestamp_seconds":1790330807,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80822d8"} 
[2026-09-25 15: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-25 15:37: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-25 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 15:37: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-25 15:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15: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-25 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195052,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324683008001,"66":14439,"16":33827600509960192,"94":11008,"24":6,"45":892346075046756352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324683008001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33827600509960192,"km_value":33827600509960.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075046756352,"description":"Unknown IO ID 45"} 
[2026-09-25 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324683008001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":892346075046756352}} 
[2026-09-25 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":195052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:37:55] local.INFO: GPS data processed {"connection_id":195052,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:37:55] local.INFO: Acknowledgment sent {"connection_id":195052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:37:56] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:56] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:56] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:37:59] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:59] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:37:59] local.INFO: IMEI packet received {"connection_id":192206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":192206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:38:00] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8078a80012d181d000721aaa0004a009924..."} 
[2026-09-25 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8078a80012d181d000721aaa0004a009924..."} 
[2026-09-25 15:38:00] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8078a80012d181d000721aaa0004a009924..."} 
[2026-09-25 15:38:00] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:00] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646880,"longitude_deg":75.6555008,"latitude_deg":11.964688,"altitude":74,"angle":153,"satellites":36,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721aaa0","is_valid_coordinates":true} 
[2026-09-25 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324676096001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22942731747721216,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120382976,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38: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-25 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330768000,"timestamp_ms":1790330768000,"timestamp_seconds":1790330768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8078a80"} 
[2026-09-25 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324676096001,"66":14265,"105":206,"83":41984,"24":7,"16":22942731747721216,"45":1737474693120382976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324676096001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22942731747721216,"km_value":22942731747721.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120382976,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324676096001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737474693120382976}} 
[2026-09-25 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:00] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:00] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:03] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:03] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:03] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:03] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38: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-25 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:03] 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-25 15:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:38: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-25 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:38:03] 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":895527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:03] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:03] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:10] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80684c8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80684c8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:38:10] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80684c8012d7a130005ec8058000601061e..."} 
[2026-09-25 15:38:10] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:38:10] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":30,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 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-25 15:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324654080001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790330701000,"timestamp_ms":1790330701000,"timestamp_seconds":1790330701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80684c8"} 
[2026-09-25 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-25 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:10] 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-25 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-25 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-25 15:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324654080001,"66":13559,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324654080001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:38:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324654080001,"power":13559,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:38:10] 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":895528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:10] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:10] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:18] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:18] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:18] local.INFO: IMEI packet received {"connection_id":193743,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":193743,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:38:22] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:22] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:38:22] local.INFO: IMEI packet received {"connection_id":193743,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":193743,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:38:23] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8092890012d0cb54007047d88000301620a..."} 
[2026-09-25 15:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8092890012d0cb54007047d88000301620a..."} 
[2026-09-25 15:38:23] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8092890012d0cb54007047d88000301620a..."} 
[2026-09-25 15:38:23] local.INFO: Packet analysis {"connection_id":193743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:38:23] local.INFO: Extracted packet for processing {"connection_id":193743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755807552,"raw_latitude":117734792,"longitude_deg":75.5807552,"latitude_deg":11.7734792,"altitude":3,"angle":354,"satellites":10,"speed":46,"hex_longitude":"2d0cb540","hex_latitude":"07047d88","is_valid_coordinates":true} 
[2026-09-25 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324702720001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33830040051384320,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915497391890274304,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:23] 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-25 15:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790330874000,"timestamp_ms":1790330874000,"timestamp_seconds":1790330874,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8092890"} 
[2026-09-25 15:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:38: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-25 15:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 15:38: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-25 15:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193743,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193743,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324702720001,"66":14450,"16":33830040051384320,"94":11008,"24":46,"45":915497391890274304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324702720001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33830040051384320,"km_value":33830040051384.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":915497391890274304,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324702720001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":46,"unknown_45":915497391890274304}} 
[2026-09-25 15:38:23] 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":895529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:23] local.INFO: GPS data processed {"connection_id":193743,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:23] local.INFO: Acknowledgment sent {"connection_id":193743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:25] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:25] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:25] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:38:28] local.INFO: TCP Data received {"connection_id":195053,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:28] local.INFO: Processing buffer {"connection_id":195053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:28] local.INFO: IMEI packet received {"connection_id":195053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":195053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:38:30] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:30] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:38:30] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:38:31] local.INFO: TCP Data received {"connection_id":192206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d808f5c8012d18aa00072173700049007826..."} 
[2026-09-25 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d808f5c8012d18aa00072173700049007826..."} 
[2026-09-25 15:38:31] local.INFO: Processing buffer {"connection_id":192206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d808f5c8012d18aa00072173700049007826..."} 
[2026-09-25 15:38:31] local.INFO: Packet analysis {"connection_id":192206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:38:31] local.INFO: Extracted packet for processing {"connection_id":192206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632752,"longitude_deg":75.6591104,"latitude_deg":11.9632752,"altitude":73,"angle":120,"satellites":38,"speed":30,"hex_longitude":"2d18aa00","hex_latitude":"07217370","is_valid_coordinates":true} 
[2026-09-25 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324700416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22944634418233344,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577066496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:31] 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-25 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330861000,"timestamp_ms":1790330861000,"timestamp_seconds":1790330861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d808f5c8"} 
[2026-09-25 15: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-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:31] 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-25 15: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-25 15: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-25 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324700416001,"66":14254,"106":206,"83":41984,"24":30,"16":22944634418233344,"45":1777233033577066496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324700416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22944634418233344,"km_value":22944634418233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577066496,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324700416001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777233033577066496}} 
[2026-09-25 15:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":192206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:31] local.INFO: GPS data processed {"connection_id":192206,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:31] local.INFO: Acknowledgment sent {"connection_id":192206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:31] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:31] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:38:31] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:31] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38: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-25 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15: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-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:38:31] 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-25 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:38: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-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:38:31] 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":895531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:31] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:31] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:33] local.INFO: TCP Data received {"connection_id":195053,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:33] local.INFO: Processing buffer {"connection_id":195053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:38:33] local.INFO: IMEI packet received {"connection_id":195053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":195053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:38:34] local.INFO: TCP Data received {"connection_id":195053,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d806d6d0012d7a130005ec8058000601061f..."} 
[2026-09-25 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d806d6d0012d7a130005ec8058000601061f..."} 
[2026-09-25 15:38:34] local.INFO: Processing buffer {"connection_id":195053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d806d6d0012d7a130005ec8058000601061f..."} 
[2026-09-25 15:38:34] local.INFO: Packet analysis {"connection_id":195053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:38:34] local.INFO: Extracted packet for processing {"connection_id":195053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d806"} 
[2026-09-25 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":31,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 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-25 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324659456001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330722000,"timestamp_ms":1790330722000,"timestamp_seconds":1790330722,"priority":1,"record_length":96,"hex_timestamp":"000001a0d806d6d0"} 
[2026-09-25 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-25 15:38:34] 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-25 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:34] 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-25 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-25 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-25 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324659456001,"66":13624,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324659456001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:38:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324659456001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":195053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:34] local.INFO: GPS data processed {"connection_id":195053,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:34] local.INFO: Acknowledgment sent {"connection_id":195053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:54] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:54] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:54] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:38:54] local.INFO: TCP Data received {"connection_id":193743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8093448012d0cb1c007048a18000101530a..."} 
[2026-09-25 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8093448012d0cb1c007048a18000101530a..."} 
[2026-09-25 15:38:54] local.INFO: Processing buffer {"connection_id":193743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8093448012d0cb1c007048a18000101530a..."} 
[2026-09-25 15:38:54] local.INFO: Packet analysis {"connection_id":193743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:38:54] local.INFO: Extracted packet for processing {"connection_id":193743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117738008,"longitude_deg":75.5806656,"latitude_deg":11.7738008,"altitude":1,"angle":339,"satellites":10,"speed":42,"hex_longitude":"2d0cb1c0","hex_latitude":"07048a18","is_valid_coordinates":true} 
[2026-09-25 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324703744001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33830203260141568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915708498124048384,"note":"Value kept but may cause issues"} 
[2026-09-25 15:38:54] 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-25 15:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790330877000,"timestamp_ms":1790330877000,"timestamp_seconds":1790330877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8093448"} 
[2026-09-25 15:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:38:54] 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-25 15:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193743,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193743,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324703744001,"66":14613,"16":33830203260141568,"94":11008,"24":42,"45":915708498124048384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324703744001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33830203260141568,"km_value":33830203260141.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:38:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":915708498124048384,"description":"Unknown IO ID 45"} 
[2026-09-25 15:38:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324703744001,"power":14613,"odometer":null,"unknown_94":11008,"ignition":42,"unknown_45":915708498124048384}} 
[2026-09-25 15:38:54] 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":895533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:38:54] local.INFO: GPS data processed {"connection_id":193743,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:38:54] local.INFO: Acknowledgment sent {"connection_id":193743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:38:55] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:55] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:55] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:38:57] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:57] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:38:57] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:00] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:00] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:00] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:00] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d808fd98012d18aec007216f780048008a27..."} 
[2026-09-25 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d808fd98012d18aec007216f780048008a27..."} 
[2026-09-25 15:39:00] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d808fd98012d18aec007216f780048008a27..."} 
[2026-09-25 15:39:00] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:39:00] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756592320,"raw_latitude":119631736,"longitude_deg":75.659232,"latitude_deg":11.9631736,"altitude":72,"angle":138,"satellites":39,"speed":34,"hex_longitude":"2d18aec0","hex_latitude":"07216f78","is_valid_coordinates":true} 
[2026-09-25 15:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324700416001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22944711727644672,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577066496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:00] 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-25 15:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330863000,"timestamp_ms":1790330863000,"timestamp_seconds":1790330863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d808fd98"} 
[2026-09-25 15: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-25 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:00] 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-25 15: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-25 15: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-25 15:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324700416001,"66":14265,"106":206,"83":41984,"24":34,"16":22944711727644672,"45":1777233033577066496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 15:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324700416001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22944711727644672,"km_value":22944711727644.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577066496,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324700416001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1777233033577066496}} 
[2026-09-25 15:39:00] 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":895534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:00] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:00] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:03] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:03] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:03] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:03] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39: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-25 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:03] 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-25 15:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:39:03] 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-25 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:39: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-25 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:39:03] 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":895535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:03] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:03] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:05] local.INFO: TCP Data received {"connection_id":195053,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80728d8012d7a130005ec80580006010620..."} 
[2026-09-25 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80728d8012d7a130005ec80580006010620..."} 
[2026-09-25 15:39:05] local.INFO: Processing buffer {"connection_id":195053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80728d8012d7a130005ec80580006010620..."} 
[2026-09-25 15:39:05] local.INFO: Packet analysis {"connection_id":195053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:05] local.INFO: Extracted packet for processing {"connection_id":195053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:05] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":32,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324664832001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330743000,"timestamp_ms":1790330743000,"timestamp_seconds":1790330743,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80728d8"} 
[2026-09-25 15:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39:05] 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-25 15:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:05] 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-25 15:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324664832001,"66":13580,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324664832001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:39:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324664832001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":195053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:05] local.INFO: GPS data processed {"connection_id":195053,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:05] local.INFO: Acknowledgment sent {"connection_id":195053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:17] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:17] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:17] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:39:18] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:18] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:18] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:19] local.INFO: TCP Data received {"connection_id":195054,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:39:19] local.INFO: Processing buffer {"connection_id":195054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:39:19] local.INFO: IMEI packet received {"connection_id":195054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":195054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:39:23] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:23] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:39:23] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:24] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80947d0012d0ca70007049c58000001480a..."} 
[2026-09-25 15:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80947d0012d0ca70007049c58000001480a..."} 
[2026-09-25 15:39:24] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80947d0012d0ca70007049c58000001480a..."} 
[2026-09-25 15:39:24] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:39:24] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:39:24] local.INFO: GPS Element Parsed {"raw_longitude":755803904,"raw_latitude":117742680,"longitude_deg":75.5803904,"latitude_deg":11.774268,"altitude":0,"angle":328,"satellites":10,"speed":43,"hex_longitude":"2d0ca700","hex_latitude":"07049c58","is_valid_coordinates":true} 
[2026-09-25 15:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324704512001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33830465253146624,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335706384384,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:24] 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-25 15:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790330882000,"timestamp_ms":1790330882000,"timestamp_seconds":1790330882,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80947d0"} 
[2026-09-25 15:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39: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-25 15:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:24] 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-25 15:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324704512001,"66":14407,"16":33830465253146624,"94":11008,"24":43,"45":914723335706384384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-25 15:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324704512001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33830465253146624,"km_value":33830465253146.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 15:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335706384384,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458324704512001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":43,"unknown_45":914723335706384384}} 
[2026-09-25 15:39:24] 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":895537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:24] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:24] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:25] local.INFO: TCP Data received {"connection_id":195055,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:25] local.INFO: Processing buffer {"connection_id":195055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:25] local.INFO: IMEI packet received {"connection_id":195055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":195055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:39:27] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:27] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:27] local.INFO: IMEI packet received {"connection_id":193744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":193744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:39:29] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:29] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:29] local.INFO: IMEI packet received {"connection_id":193744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":193744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:30] local.INFO: TCP Data received {"connection_id":195055,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:30] local.INFO: Processing buffer {"connection_id":195055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:39:30] local.INFO: IMEI packet received {"connection_id":195055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":195055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:31] local.INFO: TCP Data received {"connection_id":195055,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:31] local.INFO: Processing buffer {"connection_id":195055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:39:31] local.INFO: Packet analysis {"connection_id":195055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:31] local.INFO: Extracted packet for processing {"connection_id":195055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39: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-25 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:39: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-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":195055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:31] local.INFO: GPS data processed {"connection_id":195055,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:31] local.INFO: Acknowledgment sent {"connection_id":195055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:31] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d809c4d0012d18fc400720d2900035007c26..."} 
[2026-09-25 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d809c4d0012d18fc400720d2900035007c26..."} 
[2026-09-25 15:39:31] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d809c4d0012d18fc400720d2900035007c26..."} 
[2026-09-25 15:39:31] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:39:31] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756612160,"raw_latitude":119591568,"longitude_deg":75.661216,"latitude_deg":11.9591568,"altitude":53,"angle":124,"satellites":38,"speed":34,"hex_longitude":"2d18fc40","hex_latitude":"0720d290","is_valid_coordinates":true} 
[2026-09-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324713216001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22946949405605888,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550587707392,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39: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-25 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330914000,"timestamp_ms":1790330914000,"timestamp_seconds":1790330914,"priority":1,"record_length":96,"hex_timestamp":"000001a0d809c4d0"} 
[2026-09-25 15:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993480003,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624490864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503949751353344,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147950880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":88,"raw_value":18577989033796096,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531192,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2232942592,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751220631609654,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:31] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,134,160,45,64,237,57,37,10,66,133,138,128,251,58,38,130,192,1,240,163,227,216,33,4,113,205,35,95,210,88,239,54,2,81,7,34,206,232],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 15:39:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891259779135438848,"timestamp_seconds":3891259779135439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324713216001,"66":14048,"103":206,"83":41984,"24":34,"16":22946949405605888,"45":1798132550587707392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324713216001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22946949405605888,"km_value":22946949405605.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550587707392,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324713216001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1798132550587707392}} 
[2026-09-25 15:39:31] 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":895539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:31] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:31] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:33] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:33] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:39:33] local.INFO: IMEI packet received {"connection_id":193744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":193744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:34] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8077ae0012d7a130005ec80580006010621..."} 
[2026-09-25 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8077ae0012d7a130005ec80580006010621..."} 
[2026-09-25 15:39:34] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8077ae0012d7a130005ec80580006010621..."} 
[2026-09-25 15:39:34] local.INFO: Packet analysis {"connection_id":193744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:34] local.INFO: Extracted packet for processing {"connection_id":193744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":33,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 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-25 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324670208001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330764000,"timestamp_ms":1790330764000,"timestamp_seconds":1790330764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8077ae0"} 
[2026-09-25 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-25 15:39:34] 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-25 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624221864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":728457248317112330,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2153250822,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635442204001380,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004682532467113,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967834112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1567259183660138503,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:34] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,100,87,24,241,157,16,127,160,214,45,128,6,31,10,66,132,30,50,1,240,34,227,216,236,4,113,205,142,19,88,29,239,53,2,226,5,122,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:39:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432633773712998400,"timestamp_seconds":432633773712998.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324670208001,"66":13559,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324670208001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324670208001,"power":13559,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:39:34] 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":895540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:34] local.INFO: GPS data processed {"connection_id":193744,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:34] local.INFO: Acknowledgment sent {"connection_id":193744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:54] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:54] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:54] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:39:55] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:55] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:55] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:55] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ab700012d0bbc400704b6d0000000fe0c..."} 
[2026-09-25 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ab700012d0bbc400704b6d0000000fe0c..."} 
[2026-09-25 15:39:55] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ab700012d0bbc400704b6d0000000fe0c..."} 
[2026-09-25 15:39:55] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:39:55] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755743808,"raw_latitude":117749456,"longitude_deg":75.5743808,"latitude_deg":11.7749456,"altitude":0,"angle":254,"satellites":12,"speed":23,"hex_longitude":"2d0bbc40","hex_latitude":"0704b6d0","is_valid_coordinates":true} 
[2026-09-25 15:39: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-25 15:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324728832001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33833806737702912,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847802659996643328,"note":"Value kept but may cause issues"} 
[2026-09-25 15:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790330976000,"timestamp_ms":1790330976000,"timestamp_seconds":1790330976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ab700"} 
[2026-09-25 15:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:39: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-25 15:39: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":158,"data_length":795,"current_offset":136} 
[2026-09-25 15:39:55] 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-25 15:39: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-25 15:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324728832001,"66":14450,"96":206,"94":10240,"24":23,"16":33833806737702912,"45":847802659996643328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-25 15:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324728832001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:39:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 15:39:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33833806737702912,"km_value":33833806737702.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":847802659996643328,"description":"Unknown IO ID 45"} 
[2026-09-25 15:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324728832001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":847802659996643328}} 
[2026-09-25 15:39:56] 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":895541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:39:56] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:39:56] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:39:58] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:58] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:58] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:39:59] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:59] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:39:59] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:00] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d809e7f8012d191a800720c298002d007025..."} 
[2026-09-25 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d809e7f8012d191a800720c298002d007025..."} 
[2026-09-25 15:40:00] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d809e7f8012d191a800720c298002d007025..."} 
[2026-09-25 15:40:00] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:40:00] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756619904,"raw_latitude":119587480,"longitude_deg":75.6619904,"latitude_deg":11.958748,"altitude":45,"angle":112,"satellites":37,"speed":43,"hex_longitude":"2d191a80","hex_latitude":"0720c298","is_valid_coordinates":true} 
[2026-09-25 15:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324713984001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22947366017433600,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350400974848,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40: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-25 15:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790330923000,"timestamp_ms":1790330923000,"timestamp_seconds":1790330923,"priority":1,"record_length":96,"hex_timestamp":"000001a0d809e7f8"} 
[2026-09-25 15:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:40:00] 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-25 15:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:00] 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-25 15:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324713984001,"66":14265,"103":206,"83":41984,"24":43,"16":22947366017433600,"45":1800384350400974848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324713984001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22947366017433600,"km_value":22947366017433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350400974848,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324713984001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1800384350400974848}} 
[2026-09-25 15:40:00] 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":895542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:00] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:00] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:03] local.INFO: TCP Data received {"connection_id":195055,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:03] local.INFO: Processing buffer {"connection_id":195055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:03] local.INFO: Packet analysis {"connection_id":195055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:03] local.INFO: Extracted packet for processing {"connection_id":195055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40: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-25 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:03] 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-25 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:40: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-25 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":195055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:03] local.INFO: GPS data processed {"connection_id":195055,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:03] local.INFO: Acknowledgment sent {"connection_id":195055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:04] local.INFO: TCP Data received {"connection_id":192207,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:40:04] local.INFO: Processing buffer {"connection_id":192207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:40:04] local.INFO: IMEI packet received {"connection_id":192207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":192207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:40:05] local.INFO: TCP Data received {"connection_id":193744,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d807cce8012d7a130005ec80580006010621..."} 
[2026-09-25 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d807cce8012d7a130005ec80580006010621..."} 
[2026-09-25 15:40:05] local.INFO: Processing buffer {"connection_id":193744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d807cce8012d7a130005ec80580006010621..."} 
[2026-09-25 15:40:05] local.INFO: Packet analysis {"connection_id":193744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:05] local.INFO: Extracted packet for processing {"connection_id":193744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:05] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":33,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324675584001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330785000,"timestamp_ms":1790330785000,"timestamp_seconds":1790330785,"priority":1,"record_length":96,"hex_timestamp":"000001a0d807cce8"} 
[2026-09-25 15: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-25 15:40:05] 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-25 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:05] 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-25 15: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-25 15: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-25 15:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324675584001,"66":13580,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324675584001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:40:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324675584001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:40:05] 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":895544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:05] local.INFO: GPS data processed {"connection_id":193744,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:05] local.INFO: Acknowledgment sent {"connection_id":193744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:16] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:16] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:16] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:40:17] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:17] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:17] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:18] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:18] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:18] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:23] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:23] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:40:23] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:25] local.INFO: TCP Data received {"connection_id":192208,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:25] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:25] local.INFO: IMEI packet received {"connection_id":192208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:40:27] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:27] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:27] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:40:30] local.INFO: TCP Data received {"connection_id":192208,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:30] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:40:30] local.INFO: IMEI packet received {"connection_id":192208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:31] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ad258012d19ad0007208e08002a00ba23..."} 
[2026-09-25 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ad258012d19ad0007208e08002a00ba23..."} 
[2026-09-25 15:40:31] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ad258012d19ad0007208e08002a00ba23..."} 
[2026-09-25 15:40:31] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:40:31] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574024,"longitude_deg":75.6657408,"latitude_deg":11.9574024,"altitude":42,"angle":186,"satellites":35,"speed":30,"hex_longitude":"2d19ad00","hex_latitude":"07208e08","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324731392001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22949805558857728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018641920,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40: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-25 15:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330983000,"timestamp_ms":1790330983000,"timestamp_seconds":1790330983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ad258"} 
[2026-09-25 15: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-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:31] 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-25 15: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-25 15: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-25 15:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324731392001,"66":14374,"103":206,"83":41984,"24":30,"16":22949805558857728,"45":1850275790018641920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324731392001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22949805558857728,"km_value":22949805558857.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018641920,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324731392001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850275790018641920}} 
[2026-09-25 15:40:31] 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":895545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:31] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:31] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:31] local.INFO: TCP Data received {"connection_id":192208,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:31] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:40:31] local.INFO: Packet analysis {"connection_id":192208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:31] local.INFO: Extracted packet for processing {"connection_id":192208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40: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-25 15:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15: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-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:40:31] 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-25 15:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:40: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-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":192208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:31] local.INFO: GPS data processed {"connection_id":192208,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:31] local.INFO: Acknowledgment sent {"connection_id":192208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:32] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:32] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:40:32] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:40:33] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8081ef0012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8081ef0012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:33] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8081ef0012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:33] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:40:33] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:40:33] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":34,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324680960001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790330806000,"timestamp_ms":1790330806000,"timestamp_seconds":1790330806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8081ef0"} 
[2026-09-25 15: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-25 15:40:33] 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-25 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624263864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1369100800044302342,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":440508338552176650,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2153250822,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621515876,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916822074379863,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967834112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,127,160,122,45,128,6,33,10,66,40,32,214,1,240,56,227,216,236,4,113,205,50,19,88,30,239,53,2,226,5,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:40:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432633778007965696,"timestamp_seconds":432633778007965.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324680960001,"66":13580,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324680960001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:40:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324680960001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:40:33] 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":895547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:33] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:33] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:38] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80870f8012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80870f8012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:38] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80870f8012d7a130005ec80580006010622..."} 
[2026-09-25 15:40:38] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:40:38] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":34,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324686336001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790330827000,"timestamp_ms":1790330827000,"timestamp_seconds":1790330827,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80870f8"} 
[2026-09-25 15:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624284864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1369100800044302342,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":440789813528887306,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2153250822,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621515876,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024900,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967834112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450183890908794455,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:40:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,127,160,204,45,128,6,33,10,66,122,40,1,240,12,227,216,236,4,113,205,132,19,88,30,239,52,2,226,5,53,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:40:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432633782302932992,"timestamp_seconds":432633782302933.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324686336001,"66":13515,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324686336001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:40:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:40:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324686336001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:40:38] 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":895548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:40:38] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:40:38] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:40:58] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:58] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:58] local.INFO: IMEI packet received {"connection_id":193745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":193745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:40:59] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:59] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:40:59] local.INFO: IMEI packet received {"connection_id":193745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":193745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:00] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:00] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:00] local.INFO: IMEI packet received {"connection_id":193745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":193745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:01] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ad640012d19ad4007208af0002900aa23..."} 
[2026-09-25 15:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ad640012d19ad4007208af0002900aa23..."} 
[2026-09-25 15:41:01] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ad640012d19ad4007208af0002900aa23..."} 
[2026-09-25 15:41:01] local.INFO: Packet analysis {"connection_id":193745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:41:01] local.INFO: Extracted packet for processing {"connection_id":193745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:41:01] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573232,"longitude_deg":75.6657472,"latitude_deg":11.9573232,"altitude":41,"angle":170,"satellites":35,"speed":31,"hex_longitude":"2d19ad40","hex_latitude":"07208af0","is_valid_coordinates":true} 
[2026-09-25 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324731648001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22949844213563392,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530092032,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790330984000,"timestamp_ms":1790330984000,"timestamp_seconds":1790330984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ad640"} 
[2026-09-25 15:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:41: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-25 15:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324731648001,"66":14374,"103":206,"83":41984,"24":31,"16":22949844213563392,"45":1850135052530092032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324731648001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22949844213563392,"km_value":22949844213563.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530092032,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324731648001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850135052530092032}} 
[2026-09-25 15:41:01] 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":895549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:01] local.INFO: GPS data processed {"connection_id":193745,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:01] local.INFO: Acknowledgment sent {"connection_id":193745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:02] local.INFO: TCP Data received {"connection_id":192208,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:41:02] local.INFO: Processing buffer {"connection_id":192208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8072108012d34c14006aa4908000b006e27..."} 
[2026-09-25 15:41:02] local.INFO: Packet analysis {"connection_id":192208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:41:02] local.INFO: Extracted packet for processing {"connection_id":192208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d807"} 
[2026-09-25 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324592640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41: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-25 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330741000,"timestamp_ms":1790330741000,"timestamp_seconds":1790330741,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8072108"} 
[2026-09-25 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:02] 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-25 15:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:41:02] 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-25 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324592640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324592640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:41: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-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324592640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":192208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:02] local.INFO: GPS data processed {"connection_id":192208,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:02] local.INFO: Acknowledgment sent {"connection_id":192208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:02] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80af580012d19b440072071000028009d24..."} 
[2026-09-25 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80af580012d19b440072071000028009d24..."} 
[2026-09-25 15:41:02] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80af580012d19b440072071000028009d24..."} 
[2026-09-25 15:41:02] local.INFO: Packet analysis {"connection_id":193745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:41:02] local.INFO: Extracted packet for processing {"connection_id":193745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:41:02] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119566592,"longitude_deg":75.6659264,"latitude_deg":11.9566592,"altitude":40,"angle":157,"satellites":36,"speed":34,"hex_longitude":"2d19b440","hex_latitude":"07207100","is_valid_coordinates":true} 
[2026-09-25 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324731904001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22950174926045184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274066944,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:02] local.INFO: IO Element Parsed {"io_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-25 15:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790330992000,"timestamp_ms":1790330992000,"timestamp_seconds":1790330992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80af580"} 
[2026-09-25 15:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:41:02] 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-25 15:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:02] 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-25 15:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324731904001,"66":14396,"103":206,"83":41984,"24":34,"16":22950174926045184,"45":1850205421274066944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 15:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324731904001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22950174926045184,"km_value":22950174926045.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274066944,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324731904001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850205421274066944}} 
[2026-09-25 15:41:02] 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":895551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:02] local.INFO: GPS data processed {"connection_id":193745,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:02] local.INFO: Acknowledgment sent {"connection_id":193745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:10] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d808c300012d7a130005ec80580006010622..."} 
[2026-09-25 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d808c300012d7a130005ec80580006010622..."} 
[2026-09-25 15:41:10] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d808c300012d7a130005ec80580006010622..."} 
[2026-09-25 15:41:10] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:41:10] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d808"} 
[2026-09-25 15:41:10] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":34,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324691712001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790330848000,"timestamp_ms":1790330848000,"timestamp_seconds":1790330848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d808c300"} 
[2026-09-25 15: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-25 15:41: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-25 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324691712001,"66":13450,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324691712001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:41:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324691712001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:41:10] 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":895552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:10] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:10] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:25] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:25] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:25] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:41:30] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:30] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:41:30] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:33] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:33] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:33] local.INFO: IMEI packet received {"connection_id":193747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":193747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:41:34] local.INFO: TCP Data received {"connection_id":193745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ba160012d19ef40071ffb600029005826..."} 
[2026-09-25 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ba160012d19ef40071ffb600029005826..."} 
[2026-09-25 15:41:34] local.INFO: Processing buffer {"connection_id":193745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ba160012d19ef40071ffb600029005826..."} 
[2026-09-25 15:41:34] local.INFO: Packet analysis {"connection_id":193745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:34] local.INFO: Extracted packet for processing {"connection_id":193745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756674368,"raw_latitude":119536480,"longitude_deg":75.6674368,"latitude_deg":11.953648,"altitude":41,"angle":88,"satellites":38,"speed":22,"hex_longitude":"2d19ef40","hex_latitude":"071ffb60","is_valid_coordinates":true} 
[2026-09-25 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-25 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324744960001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22951897207930880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868079082285789184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:34] 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-25 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331036000,"timestamp_ms":1790331036000,"timestamp_seconds":1790331036,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ba160"} 
[2026-09-25 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-25 15:41:34] 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-25 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:34] 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-25 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-25 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-25 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324744960001,"66":14363,"101":206,"83":41984,"24":22,"16":22951897207930880,"45":1868079082285789184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324744960001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22951897207930880,"km_value":22951897207930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868079082285789184,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324744960001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1868079082285789184}} 
[2026-09-25 15:41:34] 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":895553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:34] local.INFO: GPS data processed {"connection_id":193745,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:34] local.INFO: Acknowledgment sent {"connection_id":193745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:35] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:35] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:41:35] local.INFO: IMEI packet received {"connection_id":193747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":193747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:36] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8091508012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8091508012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:36] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8091508012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:36] local.INFO: Packet analysis {"connection_id":193747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:41:36] local.INFO: Extracted packet for processing {"connection_id":193747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":36,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324697088001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790330869000,"timestamp_ms":1790330869000,"timestamp_seconds":1790330869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8091508"} 
[2026-09-25 15:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:41:36] 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-25 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324697088001,"66":13624,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324697088001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324697088001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:41:36] 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":895554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:36] local.INFO: GPS data processed {"connection_id":193747,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:36] local.INFO: Acknowledgment sent {"connection_id":193747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:37] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:41:37] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:41:37] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:37] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15: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-25 15:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:41:37] 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":895555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:37] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:37] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:38] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8096710012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8096710012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:38] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8096710012d7a130005ec80580006010624..."} 
[2026-09-25 15:41:38] local.INFO: Packet analysis {"connection_id":193747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:41:38] local.INFO: Extracted packet for processing {"connection_id":193747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":36,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324702464001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790330890000,"timestamp_ms":1790330890000,"timestamp_seconds":1790330890,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8096710"} 
[2026-09-25 15: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-25 15:41: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-25 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:38] 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-25 15: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-25 15: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-25 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324702464001,"66":13428,"100":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324702464001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:41:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324702464001,"power":13428,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:41:38] 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":895556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:38] local.INFO: GPS data processed {"connection_id":193747,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:38] local.INFO: Acknowledgment sent {"connection_id":193747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:41:53] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:53] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:53] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:41:54] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:54] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:54] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:55] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:55] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:41:55] local.INFO: IMEI packet received {"connection_id":192209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":192209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:41:56] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb100012d19f980071ffbf80028006525..."} 
[2026-09-25 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb100012d19f980071ffbf80028006525..."} 
[2026-09-25 15:41:56] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb100012d19f980071ffbf80028006525..."} 
[2026-09-25 15:41:56] local.INFO: Packet analysis {"connection_id":192209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:56] local.INFO: Extracted packet for processing {"connection_id":192209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:41:56] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119536632,"longitude_deg":75.6676992,"latitude_deg":11.9536632,"altitude":40,"angle":101,"satellites":37,"speed":27,"hex_longitude":"2d19f980","hex_latitude":"071ffbf8","is_valid_coordinates":true} 
[2026-09-25 15:41: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-25 15:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324745216001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22952026056949760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868782769727561728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:41:56] 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-25 15:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790331040000,"timestamp_ms":1790331040000,"timestamp_seconds":1790331040,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb100"} 
[2026-09-25 15:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:41: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-25 15:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 15:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:41: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-25 15:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324745216001,"66":14374,"101":206,"83":41984,"24":27,"16":22952026056949760,"45":1868782769727561728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324745216001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:41:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:41:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22952026056949760,"km_value":22952026056949.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868782769727561728,"description":"Unknown IO ID 45"} 
[2026-09-25 15:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324745216001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1868782769727561728}} 
[2026-09-25 15:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":192209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:41:56] local.INFO: GPS data processed {"connection_id":192209,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:41:56] local.INFO: Acknowledgment sent {"connection_id":192209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:09] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:09] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:09] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:09] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15: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-25 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:42:09] 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":895558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:42:09] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:42:09] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:09] local.INFO: TCP Data received {"connection_id":193747,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d809b918012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d809b918012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:09] local.INFO: Processing buffer {"connection_id":193747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d809b918012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:09] local.INFO: Packet analysis {"connection_id":193747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:42:09] local.INFO: Extracted packet for processing {"connection_id":193747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d809"} 
[2026-09-25 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":36,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324707840001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790330911000,"timestamp_ms":1790330911000,"timestamp_seconds":1790330911,"priority":1,"record_length":96,"hex_timestamp":"000001a0d809b918"} 
[2026-09-25 15: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-25 15:42: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-25 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324707840001,"66":13319,"98":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324707840001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324707840001,"power":13319,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:42:09] 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":895559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:42:09] local.INFO: GPS data processed {"connection_id":193747,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:42:09] local.INFO: Acknowledgment sent {"connection_id":193747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:25] local.INFO: TCP Data received {"connection_id":195058,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:25] local.INFO: Processing buffer {"connection_id":195058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:25] local.INFO: IMEI packet received {"connection_id":195058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":195058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:42:27] local.INFO: TCP Data received {"connection_id":192209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bdbf8012d1a1c40071ff1f0002a006a25..."} 
[2026-09-25 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bdbf8012d1a1c40071ff1f0002a006a25..."} 
[2026-09-25 15:42:27] local.INFO: Processing buffer {"connection_id":192209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bdbf8012d1a1c40071ff1f0002a006a25..."} 
[2026-09-25 15:42:27] local.INFO: Packet analysis {"connection_id":192209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:27] local.INFO: Extracted packet for processing {"connection_id":192209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756685888,"raw_latitude":119534064,"longitude_deg":75.6685888,"latitude_deg":11.9534064,"altitude":42,"angle":106,"satellites":37,"speed":36,"hex_longitude":"2d1a1c40","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-09-25 15:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746240001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22952464143613952,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888238884864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42: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-25 15:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790331051000,"timestamp_ms":1790331051000,"timestamp_seconds":1790331051,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bdbf8"} 
[2026-09-25 15:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:42:27] 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-25 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 15:42:27] 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-25 15:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746240001,"66":14189,"101":206,"83":41984,"24":36,"16":22952464143613952,"45":1871667888238884864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746240001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:42:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22952464143613952,"km_value":22952464143613.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888238884864,"description":"Unknown IO ID 45"} 
[2026-09-25 15:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746240001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1871667888238884864}} 
[2026-09-25 15:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":192209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:42:27] local.INFO: GPS data processed {"connection_id":192209,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:42:27] local.INFO: Acknowledgment sent {"connection_id":192209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:28] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:28] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:28] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:42:30] local.INFO: TCP Data received {"connection_id":195058,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:30] local.INFO: Processing buffer {"connection_id":195058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:42:30] local.INFO: IMEI packet received {"connection_id":195058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":195058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:42:31] local.INFO: TCP Data received {"connection_id":195058,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:31] local.INFO: Processing buffer {"connection_id":195058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:42:31] local.INFO: Packet analysis {"connection_id":195058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:31] local.INFO: Extracted packet for processing {"connection_id":195058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15: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-25 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:42:31] 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-25 15:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":195058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:42:31] local.INFO: GPS data processed {"connection_id":195058,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:42:31] local.INFO: Acknowledgment sent {"connection_id":195058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:33] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:33] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:42:33] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:42:33] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80a0b20012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80a0b20012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:33] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80a0b20012d7a130005ec80580006010624..."} 
[2026-09-25 15:42:33] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:42:33] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":36,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324713216001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790330932000,"timestamp_ms":1790330932000,"timestamp_seconds":1790330932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80a0b20"} 
[2026-09-25 15:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624389864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9198602213117255424,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967834112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":8854078162243616773,"note":"Value kept but may cause issues"} 
[2026-09-25 15:42:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,98,87,24,241,157,16,127,160,103,45,128,6,36,10,66,100,21,195,1,240,138,227,216,236,4,113,205,30,19,88,34,239,53,2,226,5,12,7],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-09-25 15:42:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432633790892867584,"timestamp_seconds":432633790892867.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324713216001,"66":13526,"98":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324713216001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:42:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324713216001,"power":13526,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:42:33] 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":895562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:42:33] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:42:33] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:42:54] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:54] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:54] local.INFO: IMEI packet received {"connection_id":193748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":193748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:42:59] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:59] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:42:59] local.INFO: IMEI packet received {"connection_id":193748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":193748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:43:00] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80cc270012d1a8180071fbf800033009b26..."} 
[2026-09-25 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80cc270012d1a8180071fbf800033009b26..."} 
[2026-09-25 15:43:00] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80cc270012d1a8180071fbf800033009b26..."} 
[2026-09-25 15:43:00] local.INFO: Packet analysis {"connection_id":193748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:43:00] local.INFO: Extracted packet for processing {"connection_id":193748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756711808,"raw_latitude":119521152,"longitude_deg":75.6711808,"latitude_deg":11.9521152,"altitude":51,"angle":155,"satellites":38,"speed":4,"hex_longitude":"2d1a8180","hex_latitude":"071fbf80","is_valid_coordinates":true} 
[2026-09-25 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324764160001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22953915842560000,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909948485067571200,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331110000,"timestamp_ms":1790331110000,"timestamp_seconds":1790331110,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80cc270"} 
[2026-09-25 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:43: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-25 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324764160001,"66":12504,"101":206,"83":41984,"24":4,"16":22953915842560000,"45":1909948485067571200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324764160001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22953915842560000,"km_value":22953915842560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909948485067571200,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324764160001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1909948485067571200}} 
[2026-09-25 15:43:00] 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":895563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:00] local.INFO: GPS data processed {"connection_id":193748,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:00] local.INFO: Acknowledgment sent {"connection_id":193748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:02] local.INFO: TCP Data received {"connection_id":195058,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:02] local.INFO: Processing buffer {"connection_id":195058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:02] local.INFO: Packet analysis {"connection_id":195058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:43:02] local.INFO: Extracted packet for processing {"connection_id":195058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43: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-25 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:43:02] 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-25 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:43: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-25 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":195058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:02] local.INFO: GPS data processed {"connection_id":195058,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:02] local.INFO: Acknowledgment sent {"connection_id":195058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:05] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80a5d28012d7a130005ec80580006010623..."} 
[2026-09-25 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80a5d28012d7a130005ec80580006010623..."} 
[2026-09-25 15:43:05] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80a5d28012d7a130005ec80580006010623..."} 
[2026-09-25 15:43:05] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:43:05] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385432,"longitude_deg":76.2974976,"latitude_deg":9.9385432,"altitude":6,"angle":262,"satellites":35,"speed":0,"hex_longitude":"2d7a1300","hex_latitude":"05ec8058","is_valid_coordinates":true} 
[2026-09-25 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324718592001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810718485184512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790330953000,"timestamp_ms":1790330953000,"timestamp_seconds":1790330953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80a5d28"} 
[2026-09-25 15:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:43:05] 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-25 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 15:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324718592001,"66":13298,"98":206,"87":13824,"24":0,"16":135810718485184512,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324718592001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810718485184512,"km_value":135810718485184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324718592001,"power":13298,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:43:05] 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":895565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:05] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:05] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:25] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:25] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:25] local.INFO: IMEI packet received {"connection_id":192385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":192385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:43:28] local.INFO: TCP Data received {"connection_id":195059,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:28] local.INFO: Processing buffer {"connection_id":195059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:28] local.INFO: IMEI packet received {"connection_id":195059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":195059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:43:30] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:30] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:43:30] local.INFO: IMEI packet received {"connection_id":192385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:43:31] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:31] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:43:31] local.INFO: Packet analysis {"connection_id":192385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:43:31] local.INFO: Extracted packet for processing {"connection_id":192385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43: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-25 15:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:43: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-25 15:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:43: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-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:43:31] 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":895566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:31] local.INFO: GPS data processed {"connection_id":192385,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:31] local.INFO: Acknowledgment sent {"connection_id":192385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:31] local.INFO: TCP Data received {"connection_id":193748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80cce28012d1a8300071fbd100033008f25..."} 
[2026-09-25 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80cce28012d1a8300071fbd100033008f25..."} 
[2026-09-25 15:43:31] local.INFO: Processing buffer {"connection_id":193748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80cce28012d1a8300071fbd100033008f25..."} 
[2026-09-25 15:43:31] local.INFO: Packet analysis {"connection_id":193748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:43:31] local.INFO: Extracted packet for processing {"connection_id":193748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756712192,"raw_latitude":119520528,"longitude_deg":75.6712192,"latitude_deg":11.9520528,"altitude":51,"angle":143,"satellites":37,"speed":14,"hex_longitude":"2d1a8300","hex_latitude":"071fbd10","is_valid_coordinates":true} 
[2026-09-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324764160001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22953954497265664,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909948485067571200,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:31] 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-25 15:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331113000,"timestamp_ms":1790331113000,"timestamp_seconds":1790331113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80cce28"} 
[2026-09-25 15:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:43: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-25 15:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324764160001,"66":13276,"101":206,"83":41984,"24":14,"16":22953954497265664,"45":1909948485067571200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324764160001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22953954497265664,"km_value":22953954497265.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909948485067571200,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324764160001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1909948485067571200}} 
[2026-09-25 15:43:31] 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":895567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:31] local.INFO: GPS data processed {"connection_id":193748,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:31] local.INFO: Acknowledgment sent {"connection_id":193748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:33] local.INFO: TCP Data received {"connection_id":195059,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:33] local.INFO: Processing buffer {"connection_id":195059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:43:33] local.INFO: IMEI packet received {"connection_id":195059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":195059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:43:34] local.INFO: TCP Data received {"connection_id":195059,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80a93d8012d7a114005ec83700000014f23..."} 
[2026-09-25 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80a93d8012d7a114005ec83700000014f23..."} 
[2026-09-25 15:43:34] local.INFO: Processing buffer {"connection_id":195059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80a93d8012d7a114005ec83700000014f23..."} 
[2026-09-25 15:43:34] local.INFO: Packet analysis {"connection_id":195059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:43:34] local.INFO: Extracted packet for processing {"connection_id":195059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80a"} 
[2026-09-25 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386224,"longitude_deg":76.2974528,"latitude_deg":9.9386224,"altitude":0,"angle":335,"satellites":35,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8370","is_valid_coordinates":true} 
[2026-09-25 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-25 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324723968001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627381248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790330967000,"timestamp_ms":1790330967000,"timestamp_seconds":1790330967,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80a93d8"} 
[2026-09-25 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-25 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-25 15:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324723968001,"66":13515,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8796374522627381248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324723968001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:43:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627381248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324723968001,"power":13515,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627381248}} 
[2026-09-25 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":195059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:43:34] local.INFO: GPS data processed {"connection_id":195059,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:43:34] local.INFO: Acknowledgment sent {"connection_id":195059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:43:54] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:54] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:54] local.INFO: IMEI packet received {"connection_id":193750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":193750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:43:59] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:59] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:43:59] local.INFO: IMEI packet received {"connection_id":193750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":193750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:44:00] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ced68012d1a8a80071fb1580033009f27..."} 
[2026-09-25 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ced68012d1a8a80071fb1580033009f27..."} 
[2026-09-25 15:44:00] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ced68012d1a8a80071fb1580033009f27..."} 
[2026-09-25 15:44:00] local.INFO: Packet analysis {"connection_id":193750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:44:00] local.INFO: Extracted packet for processing {"connection_id":193750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756714112,"raw_latitude":119517528,"longitude_deg":75.6714112,"latitude_deg":11.9517528,"altitude":51,"angle":159,"satellites":39,"speed":14,"hex_longitude":"2d1a8a80","hex_latitude":"071fb158","is_valid_coordinates":true} 
[2026-09-25 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324764928001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954126295957504,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910370697532477440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331121000,"timestamp_ms":1790331121000,"timestamp_seconds":1790331121,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ced68"} 
[2026-09-25 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324764928001,"66":13254,"101":206,"83":41984,"24":14,"16":22954126295957504,"45":1910370697532477440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324764928001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954126295957504,"km_value":22954126295957.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910370697532477440,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324764928001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1910370697532477440}} 
[2026-09-25 15:44:00] 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":895569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:00] local.INFO: GPS data processed {"connection_id":193750,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:00] local.INFO: Acknowledgment sent {"connection_id":193750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:03] local.INFO: TCP Data received {"connection_id":192385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:03] local.INFO: Processing buffer {"connection_id":192385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:03] local.INFO: Packet analysis {"connection_id":192385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:44:03] local.INFO: Extracted packet for processing {"connection_id":192385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44: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-25 15:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:44: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-25 15:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:44:03] 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":895570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:03] local.INFO: GPS data processed {"connection_id":192385,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:03] local.INFO: Acknowledgment sent {"connection_id":192385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:05] local.INFO: TCP Data received {"connection_id":195059,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80e1a30012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80e1a30012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:05] local.INFO: Processing buffer {"connection_id":195059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80e1a30012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:05] local.INFO: Packet analysis {"connection_id":195059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:44:05] local.INFO: Extracted packet for processing {"connection_id":195059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324781312001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331198000,"timestamp_ms":1790331198000,"timestamp_seconds":1790331198,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80e1a30"} 
[2026-09-25 15: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-25 15:44:05] 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-25 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:05] 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-25 15: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-25 15: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-25 15:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324781312001,"66":13798,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324781312001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324781312001,"power":13798,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":195059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:05] local.INFO: GPS data processed {"connection_id":195059,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:05] local.INFO: Acknowledgment sent {"connection_id":195059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:25] local.INFO: TCP Data received {"connection_id":192212,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:25] local.INFO: Processing buffer {"connection_id":192212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:25] local.INFO: IMEI packet received {"connection_id":192212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":192212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:44:28] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:28] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:28] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:44:30] local.INFO: TCP Data received {"connection_id":192212,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:30] local.INFO: Processing buffer {"connection_id":192212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:44:30] local.INFO: IMEI packet received {"connection_id":192212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:44:31] local.INFO: TCP Data received {"connection_id":193750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80cf150012d1a8ac0071fb000003400ab25..."} 
[2026-09-25 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80cf150012d1a8ac0071fb000003400ab25..."} 
[2026-09-25 15:44:31] local.INFO: Processing buffer {"connection_id":193750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80cf150012d1a8ac0071fb000003400ab25..."} 
[2026-09-25 15:44:31] local.INFO: Packet analysis {"connection_id":193750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:44:31] local.INFO: Extracted packet for processing {"connection_id":193750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756714176,"raw_latitude":119517184,"longitude_deg":75.6714176,"latitude_deg":11.9517184,"altitude":52,"angle":171,"satellites":37,"speed":12,"hex_longitude":"2d1a8ac0","hex_latitude":"071fb000","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324766976001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954143475826688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912481759857039360,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:31] 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-25 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331122000,"timestamp_ms":1790331122000,"timestamp_seconds":1790331122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80cf150"} 
[2026-09-25 15: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-25 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:31] 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-25 15: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-25 15: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-25 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324766976001,"66":13254,"101":206,"83":41984,"24":12,"16":22954143475826688,"45":1912481759857039360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324766976001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954143475826688,"km_value":22954143475826.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912481759857039360,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324766976001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1912481759857039360}} 
[2026-09-25 15:44:31] 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":895572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:31] local.INFO: GPS data processed {"connection_id":193750,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:31] local.INFO: Acknowledgment sent {"connection_id":193750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:32] local.INFO: TCP Data received {"connection_id":192212,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:32] local.INFO: Processing buffer {"connection_id":192212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:44:32] local.INFO: Packet analysis {"connection_id":192212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:44:32] local.INFO: Extracted packet for processing {"connection_id":192212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:44: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-25 15:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":192212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:32] local.INFO: GPS data processed {"connection_id":192212,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:32] local.INFO: Acknowledgment sent {"connection_id":192212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:33] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:33] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:44:33] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:44:33] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80e6c38012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80e6c38012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:33] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80e6c38012d7a114005ec83780000014f25..."} 
[2026-09-25 15:44:33] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:44:33] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324786688001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790331219000,"timestamp_ms":1790331219000,"timestamp_seconds":1790331219,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80e6c38"} 
[2026-09-25 15: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-25 15:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 15:44:33] 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-25 15: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-25 15: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-25 15:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324786688001,"66":13798,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324786688001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:44:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324786688001,"power":13798,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:44:33] 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":895574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:44:33] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:44:33] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:44:54] local.INFO: TCP Data received {"connection_id":192213,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:54] local.INFO: Processing buffer {"connection_id":192213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:54] local.INFO: IMEI packet received {"connection_id":192213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":192213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:44:59] local.INFO: TCP Data received {"connection_id":192213,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:59] local.INFO: Processing buffer {"connection_id":192213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:44:59] local.INFO: IMEI packet received {"connection_id":192213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":192213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:45:00] local.INFO: TCP Data received {"connection_id":192213,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80cf538012d1a8b00071faf000033009f26..."} 
[2026-09-25 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80cf538012d1a8b00071faf000033009f26..."} 
[2026-09-25 15:45:00] local.INFO: Processing buffer {"connection_id":192213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80cf538012d1a8b00071faf000033009f26..."} 
[2026-09-25 15:45:00] local.INFO: Packet analysis {"connection_id":192213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:45:00] local.INFO: Extracted packet for processing {"connection_id":192213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80c"} 
[2026-09-25 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756714240,"raw_latitude":119516928,"longitude_deg":75.671424,"latitude_deg":11.9516928,"altitude":51,"angle":159,"satellites":38,"speed":9,"hex_longitude":"2d1a8b00","hex_latitude":"071faf00","is_valid_coordinates":true} 
[2026-09-25 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324767232001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954156360728576,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912552128601128960,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331123000,"timestamp_ms":1790331123000,"timestamp_seconds":1790331123,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80cf538"} 
[2026-09-25 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:00] 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-25 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324767232001,"66":13080,"101":206,"83":41984,"24":9,"16":22954156360728576,"45":1912552128601128960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324767232001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954156360728576,"km_value":22954156360728.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912552128601128960,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324767232001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1912552128601128960}} 
[2026-09-25 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":192213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:00] local.INFO: GPS data processed {"connection_id":192213,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:00] local.INFO: Acknowledgment sent {"connection_id":192213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:05] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ebe40012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ebe40012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:05] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ebe40012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:05] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:45:05] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324792064001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331240000,"timestamp_ms":1790331240000,"timestamp_seconds":1790331240,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ebe40"} 
[2026-09-25 15: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-25 15:45:05] 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-25 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:05] 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-25 15: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-25 15: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-25 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324792064001,"66":13624,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324792064001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324792064001,"power":13624,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:45:05] local.INFO: TCP Data received {"connection_id":192212,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:05] local.INFO: Processing buffer {"connection_id":192212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:05] local.INFO: Packet analysis {"connection_id":192212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:45:05] local.INFO: Extracted packet for processing {"connection_id":192212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15: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-25 15: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-25 15: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-25 15: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-25 15: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-25 15: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-25 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:45:05] 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":895576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:05] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:05] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":192212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:05] local.INFO: GPS data processed {"connection_id":192212,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:05] local.INFO: Acknowledgment sent {"connection_id":192212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:19] local.INFO: TCP Data received {"connection_id":193752,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:45:19] local.INFO: Processing buffer {"connection_id":193752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:45:19] local.INFO: IMEI packet received {"connection_id":193752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":193752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:45:22] local.INFO: TCP Data received {"connection_id":195060,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195060,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:45:22] local.INFO: Processing buffer {"connection_id":195060,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:45:22] local.INFO: IMEI packet received {"connection_id":195060,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":195060,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:45:23] local.INFO: TCP Data received {"connection_id":195060,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80eb670012d0ae080070594800015010c0f..."} 
[2026-09-25 15:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80eb670012d0ae080070594800015010c0f..."} 
[2026-09-25 15:45:23] local.INFO: Processing buffer {"connection_id":195060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80eb670012d0ae080070594800015010c0f..."} 
[2026-09-25 15:45:23] local.INFO: Packet analysis {"connection_id":195060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:45:23] local.INFO: Extracted packet for processing {"connection_id":195060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:45:23] local.INFO: GPS Element Parsed {"raw_longitude":755687552,"raw_latitude":117806208,"longitude_deg":75.5687552,"latitude_deg":11.7806208,"altitude":21,"angle":268,"satellites":15,"speed":8,"hex_longitude":"2d0ae080","hex_latitude":"07059480","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324796672001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33839321475710976,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784048577785913344,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:23] 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-25 15:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331238000,"timestamp_ms":1790331238000,"timestamp_seconds":1790331238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80eb670"} 
[2026-09-25 15: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-25 15:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:23] 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-25 15: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-25 15: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-25 15:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324796672001,"66":14461,"165":206,"94":10240,"24":8,"16":33839321475710976,"45":784048577785913344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 15:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324796672001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 15:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33839321475710976,"km_value":33839321475710.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":784048577785913344,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324796672001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":784048577785913344}} 
[2026-09-25 15:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":195060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:23] local.INFO: GPS data processed {"connection_id":195060,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:23] local.INFO: Acknowledgment sent {"connection_id":195060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:25] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:25] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:25] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:45:25] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:25] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:25] local.INFO: IMEI packet received {"connection_id":192215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:45:27] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:27] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:27] local.INFO: IMEI packet received {"connection_id":192215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":192215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:45:30] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:30] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:45:30] local.INFO: IMEI packet received {"connection_id":192214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":192214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:45:31] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:31] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:45:31] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:45:31] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45: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-25 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:45:31] 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-25 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:45: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-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:31] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:31] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:31] local.INFO: TCP Data received {"connection_id":192213,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80d4740012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80d4740012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:45:31] local.INFO: Processing buffer {"connection_id":192213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80d4740012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:45:31] local.INFO: Packet analysis {"connection_id":192213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:45:31] local.INFO: Extracted packet for processing {"connection_id":192213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324767488001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912622497345241088,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:31] 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-25 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331144000,"timestamp_ms":1790331144000,"timestamp_seconds":1790331144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80d4740"} 
[2026-09-25 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 15:45: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-25 15:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324767488001,"66":13102,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912622497345241088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324767488001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912622497345241088,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324767488001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912622497345241088}} 
[2026-09-25 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":192213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:31] local.INFO: GPS data processed {"connection_id":192213,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:31] local.INFO: Acknowledgment sent {"connection_id":192213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:33] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:33] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:45:33] local.INFO: IMEI packet received {"connection_id":192215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":192215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:45:33] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80f1048012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80f1048012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:33] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80f1048012d7a114005ec83780000014f26..."} 
[2026-09-25 15:45:33] local.INFO: Packet analysis {"connection_id":192215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:45:33] local.INFO: Extracted packet for processing {"connection_id":192215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324797440001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790331261000,"timestamp_ms":1790331261000,"timestamp_seconds":1790331261,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80f1048"} 
[2026-09-25 15: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-25 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:33] 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-25 15: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-25 15: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-25 15:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324797440001,"66":13787,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324797440001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324797440001,"power":13787,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":192215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:34] local.INFO: GPS data processed {"connection_id":192215,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:34] local.INFO: Acknowledgment sent {"connection_id":192215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:54] local.INFO: TCP Data received {"connection_id":195060,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8103540012d0a82000705a9380015012f0f..."} 
[2026-09-25 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8103540012d0a82000705a9380015012f0f..."} 
[2026-09-25 15:45:54] local.INFO: Processing buffer {"connection_id":195060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8103540012d0a82000705a9380015012f0f..."} 
[2026-09-25 15:45:54] local.INFO: Packet analysis {"connection_id":195060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:45:54] local.INFO: Extracted packet for processing {"connection_id":195060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755663360,"raw_latitude":117811512,"longitude_deg":75.566336,"latitude_deg":11.7811512,"altitude":21,"angle":303,"satellites":15,"speed":11,"hex_longitude":"2d0a8200","hex_latitude":"0705a938","is_valid_coordinates":true} 
[2026-09-25 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324821504001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33840747404853248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757801036208969728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:45:54] 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-25 15:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790331336000,"timestamp_ms":1790331336000,"timestamp_seconds":1790331336,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8103540"} 
[2026-09-25 15:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:45:54] 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-25 15:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 15:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195060,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324821504001,"66":14559,"153":206,"94":10240,"24":11,"16":33840747404853248,"45":757801036208969728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324821504001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:45:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33840747404853248,"km_value":33840747404853.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":757801036208969728,"description":"Unknown IO ID 45"} 
[2026-09-25 15:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324821504001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757801036208969728}} 
[2026-09-25 15:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":195060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:45:54] local.INFO: GPS data processed {"connection_id":195060,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:45:54] local.INFO: Acknowledgment sent {"connection_id":195060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:45:54] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:54] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:54] local.INFO: IMEI packet received {"connection_id":192216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":192216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:45:59] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:59] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:45:59] local.INFO: IMEI packet received {"connection_id":192216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":192216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:00] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80d9948012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80d9948012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:00] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80d9948012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:00] local.INFO: Packet analysis {"connection_id":192216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:46:00] local.INFO: Extracted packet for processing {"connection_id":192216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324772864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331165000,"timestamp_ms":1790331165000,"timestamp_seconds":1790331165,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80d9948"} 
[2026-09-25 15:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:00] 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-25 15:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324772864001,"66":13080,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324772864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324772864001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":192216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:00] local.INFO: GPS data processed {"connection_id":192216,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:00] local.INFO: Acknowledgment sent {"connection_id":192216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:02] local.INFO: TCP Data received {"connection_id":192214,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:46:02] local.INFO: Processing buffer {"connection_id":192214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80bb8d0012d34c14006aa49080002006e27..."} 
[2026-09-25 15:46:02] local.INFO: Packet analysis {"connection_id":192214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:46:02] local.INFO: Extracted packet for processing {"connection_id":192214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80b"} 
[2026-09-25 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324669696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46: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-25 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331042000,"timestamp_ms":1790331042000,"timestamp_seconds":1790331042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80bb8d0"} 
[2026-09-25 15:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:02] 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-25 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324669696001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324669696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:46: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-25 15:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324669696001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":192214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:02] local.INFO: GPS data processed {"connection_id":192214,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:02] local.INFO: Acknowledgment sent {"connection_id":192214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:04] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:46:04] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:46:04] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:46:05] local.INFO: TCP Data received {"connection_id":192215,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80f6250012d7a114005ec83780000014f26..."} 
[2026-09-25 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80f6250012d7a114005ec83780000014f26..."} 
[2026-09-25 15:46:05] local.INFO: Processing buffer {"connection_id":192215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80f6250012d7a114005ec83780000014f26..."} 
[2026-09-25 15:46:05] local.INFO: Packet analysis {"connection_id":192215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:46:05] local.INFO: Extracted packet for processing {"connection_id":192215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324802816001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331282000,"timestamp_ms":1790331282000,"timestamp_seconds":1790331282,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80f6250"} 
[2026-09-25 15: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-25 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324802816001,"66":13504,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324802816001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324802816001,"power":13504,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":192215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:05] local.INFO: GPS data processed {"connection_id":192215,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:05] local.INFO: Acknowledgment sent {"connection_id":192215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:16] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:16] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:16] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:46:17] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:17] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:17] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:22] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:22] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:46:22] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:23] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8103928012d0a81400705aa20001501430f..."} 
[2026-09-25 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8103928012d0a81400705aa20001501430f..."} 
[2026-09-25 15:46:23] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8103928012d0a81400705aa20001501430f..."} 
[2026-09-25 15:46:23] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:23] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755663168,"raw_latitude":117811744,"longitude_deg":75.5663168,"latitude_deg":11.7811744,"altitude":21,"angle":323,"satellites":15,"speed":12,"hex_longitude":"2d0a8140","hex_latitude":"0705aa20","is_valid_coordinates":true} 
[2026-09-25 15:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324822016001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33840764584722432,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757167717511411712,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:23] 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-25 15:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331337000,"timestamp_ms":1790331337000,"timestamp_seconds":1790331337,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8103928"} 
[2026-09-25 15:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 15:46: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-25 15:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324822016001,"66":14559,"153":206,"94":10240,"24":12,"16":33840764584722432,"45":757167717511411712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324822016001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:46:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33840764584722432,"km_value":33840764584722.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":757167717511411712,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324822016001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757167717511411712}} 
[2026-09-25 15:46:23] 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":895586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:23] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:23] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:28] local.INFO: TCP Data received {"connection_id":195061,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: Processing buffer {"connection_id":195061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: IMEI packet received {"connection_id":195061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":195061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:46:28] local.INFO: TCP Data received {"connection_id":195061,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: Processing buffer {"connection_id":195061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:28] local.INFO: IMEI packet received {"connection_id":195061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":195061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:30] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:30] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:30] local.INFO: IMEI packet received {"connection_id":192389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":192389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:46:32] local.INFO: TCP Data received {"connection_id":192216,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80deb50012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80deb50012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:32] local.INFO: Processing buffer {"connection_id":192216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80deb50012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:46:32] local.INFO: Packet analysis {"connection_id":192216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:46:32] local.INFO: Extracted packet for processing {"connection_id":192216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80d"} 
[2026-09-25 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324778240001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790331186000,"timestamp_ms":1790331186000,"timestamp_seconds":1790331186,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80deb50"} 
[2026-09-25 15:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:32] 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-25 15:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324778240001,"66":13015,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324778240001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324778240001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":192216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:32] local.INFO: GPS data processed {"connection_id":192216,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:32] local.INFO: Acknowledgment sent {"connection_id":192216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:33] local.INFO: TCP Data received {"connection_id":195061,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:33] local.INFO: Processing buffer {"connection_id":195061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:46:33] local.INFO: IMEI packet received {"connection_id":195061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":195061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:34] local.INFO: TCP Data received {"connection_id":195061,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80fb458012d7a114005ec83780000014f24..."} 
[2026-09-25 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80fb458012d7a114005ec83780000014f24..."} 
[2026-09-25 15:46:34] local.INFO: Processing buffer {"connection_id":195061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80fb458012d7a114005ec83780000014f24..."} 
[2026-09-25 15:46:34] local.INFO: Packet analysis {"connection_id":195061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:46:34] local.INFO: Extracted packet for processing {"connection_id":195061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99386232,"longitude_deg":76.2974528,"latitude_deg":9.9386232,"altitude":0,"angle":335,"satellites":36,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec8378","is_valid_coordinates":true} 
[2026-09-25 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-25 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324808192001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810761434857472,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331303000,"timestamp_ms":1790331303000,"timestamp_seconds":1790331303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80fb458"} 
[2026-09-25 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-25 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324808192001,"66":13580,"98":206,"87":13824,"24":0,"16":135810761434857472,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324808192001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810761434857472,"km_value":135810761434857.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324808192001,"power":13580,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":195061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:34] local.INFO: GPS data processed {"connection_id":195061,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:34] local.INFO: Acknowledgment sent {"connection_id":195061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:35] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:35] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:46:35] local.INFO: IMEI packet received {"connection_id":192389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":192389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:36] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:36] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:36] local.INFO: Packet analysis {"connection_id":192389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:36] local.INFO: Extracted packet for processing {"connection_id":192389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:46: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-25 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:46: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":895589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:36] local.INFO: GPS data processed {"connection_id":192389,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:36] local.INFO: Acknowledgment sent {"connection_id":192389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:41] local.INFO: TCP Data received {"connection_id":192389,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:41] local.INFO: Processing buffer {"connection_id":192389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:46:41] local.INFO: Packet analysis {"connection_id":192389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:41] local.INFO: Extracted packet for processing {"connection_id":192389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15: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-25 15:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:46:41] 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":895590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:41] local.INFO: GPS data processed {"connection_id":192389,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:41] local.INFO: Acknowledgment sent {"connection_id":192389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:53] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:53] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:53] local.INFO: IMEI packet received {"connection_id":192217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":192217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:46:54] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81040f8012d0a80400705ac90001501540f..."} 
[2026-09-25 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81040f8012d0a80400705ac90001501540f..."} 
[2026-09-25 15:46:54] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81040f8012d0a80400705ac90001501540f..."} 
[2026-09-25 15:46:54] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:54] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755662912,"raw_latitude":117812368,"longitude_deg":75.5662912,"latitude_deg":11.7812368,"altitude":21,"angle":340,"satellites":15,"speed":12,"hex_longitude":"2d0a8040","hex_latitude":"0705ac90","is_valid_coordinates":true} 
[2026-09-25 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324822272001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33840794649493504,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756956611278938112,"note":"Value kept but may cause issues"} 
[2026-09-25 15:46:54] 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-25 15:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790331339000,"timestamp_ms":1790331339000,"timestamp_seconds":1790331339,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81040f8"} 
[2026-09-25 15:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:46:54] 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-25 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 15:46:54] 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-25 15:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324822272001,"66":14548,"153":206,"94":10240,"24":12,"16":33840794649493504,"45":756956611278938112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324822272001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:46:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:46:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33840794649493504,"km_value":33840794649493.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":756956611278938112,"description":"Unknown IO ID 45"} 
[2026-09-25 15:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324822272001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":756956611278938112}} 
[2026-09-25 15:46:54] 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":895591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:46:54] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:46:54] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:46:54] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:54] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:54] local.INFO: IMEI packet received {"connection_id":192217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":192217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:46:59] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:59] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:46:59] local.INFO: IMEI packet received {"connection_id":192217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":192217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:00] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80e3d58012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80e3d58012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:00] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80e3d58012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:00] local.INFO: Packet analysis {"connection_id":192217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:47:00] local.INFO: Extracted packet for processing {"connection_id":192217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324783616001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331207000,"timestamp_ms":1790331207000,"timestamp_seconds":1790331207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80e3d58"} 
[2026-09-25 15:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:00] 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-25 15:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324783616001,"66":12950,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324783616001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324783616001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":192217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:00] local.INFO: GPS data processed {"connection_id":192217,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:00] local.INFO: Acknowledgment sent {"connection_id":192217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:05] local.INFO: TCP Data received {"connection_id":195061,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8100660012d7a0f0005ec86200000014f25..."} 
[2026-09-25 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8100660012d7a0f0005ec86200000014f25..."} 
[2026-09-25 15:47:05] local.INFO: Processing buffer {"connection_id":195061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8100660012d7a0f0005ec86200000014f25..."} 
[2026-09-25 15:47:05] local.INFO: Packet analysis {"connection_id":195061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:05] local.INFO: Extracted packet for processing {"connection_id":195061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386912,"longitude_deg":76.2973952,"latitude_deg":9.9386912,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8620","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324813568001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418342400,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331324000,"timestamp_ms":1790331324000,"timestamp_seconds":1790331324,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8100660"} 
[2026-09-25 15: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-25 15:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624781864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5702964503134601226,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2205679616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636842363339874,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-4251172354652058025,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968038912,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1243000010530357248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,98,87,24,241,157,16,127,160,45,64,131,38,10,66,190,1,240,56,227,216,236,4,113,205,26,17,120,37,239,53,2,226,5,122,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-09-25 15:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":368491014127616,"timestamp_seconds":368491014127.616,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324813568001,"66":13461,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795881941418342400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324813568001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:47:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418342400,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324813568001,"power":13461,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418342400}} 
[2026-09-25 15:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":195061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:05] local.INFO: GPS data processed {"connection_id":195061,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:05] local.INFO: Acknowledgment sent {"connection_id":195061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:15] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:15] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:15] local.INFO: IMEI packet received {"connection_id":192390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":192390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:47:17] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:17] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:17] local.INFO: IMEI packet received {"connection_id":192390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":192390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:23] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:23] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:47:23] local.INFO: IMEI packet received {"connection_id":192390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":192390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:23] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8107b90012d0a75800705c640001701600f..."} 
[2026-09-25 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8107b90012d0a75800705c640001701600f..."} 
[2026-09-25 15:47:23] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8107b90012d0a75800705c640001701600f..."} 
[2026-09-25 15:47:23] local.INFO: Packet analysis {"connection_id":192390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:23] local.INFO: Extracted packet for processing {"connection_id":192390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117818944,"longitude_deg":75.566016,"latitude_deg":11.7818944,"altitude":23,"angle":352,"satellites":15,"speed":5,"hex_longitude":"2d0a7580","hex_latitude":"0705c640","is_valid_coordinates":true} 
[2026-09-25 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324822784001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33841142541844480,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756675136302387200,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:23] 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-25 15:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331354000,"timestamp_ms":1790331354000,"timestamp_seconds":1790331354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8107b90"} 
[2026-09-25 15:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:23] 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-25 15:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324822784001,"66":14450,"153":206,"94":10240,"24":5,"16":33841142541844480,"45":756675136302387200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324822784001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33841142541844480,"km_value":33841142541844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":756675136302387200,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324822784001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":756675136302387200}} 
[2026-09-25 15:47:23] 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":895594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:23] local.INFO: GPS data processed {"connection_id":192390,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:23] local.INFO: Acknowledgment sent {"connection_id":192390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:25] local.INFO: TCP Data received {"connection_id":195063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:25] local.INFO: Processing buffer {"connection_id":195063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:25] local.INFO: IMEI packet received {"connection_id":195063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":195063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:47:27] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:27] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:27] local.INFO: IMEI packet received {"connection_id":195064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":195064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:47:30] local.INFO: TCP Data received {"connection_id":195063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:30] local.INFO: Processing buffer {"connection_id":195063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:47:30] local.INFO: IMEI packet received {"connection_id":195063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":195063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:31] local.INFO: TCP Data received {"connection_id":192217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80e8f60012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80e8f60012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:31] local.INFO: Processing buffer {"connection_id":192217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80e8f60012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:47:31] local.INFO: Packet analysis {"connection_id":192217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:47:31] local.INFO: Extracted packet for processing {"connection_id":192217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324788992001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:31] 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-25 15:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331228000,"timestamp_ms":1790331228000,"timestamp_seconds":1790331228,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80e8f60"} 
[2026-09-25 15:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:31] 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-25 15:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324788992001,"66":12939,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324788992001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324788992001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:47:31] local.INFO: TCP Data received {"connection_id":195063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:47:31] local.INFO: Processing buffer {"connection_id":195063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:47:31] local.INFO: Packet analysis {"connection_id":195063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:31] local.INFO: Extracted packet for processing {"connection_id":195063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47: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-25 15:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47: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-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:47: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-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":195063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:31] local.INFO: GPS data processed {"connection_id":195063,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:31] local.INFO: Acknowledgment sent {"connection_id":195063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":192217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:31] local.INFO: GPS data processed {"connection_id":192217,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:31] local.INFO: Acknowledgment sent {"connection_id":192217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:32] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: IMEI packet received {"connection_id":195064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":195064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:32] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:47:32] local.INFO: IMEI packet received {"connection_id":195064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":195064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:33] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105868012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105868012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:33] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105868012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:33] local.INFO: Packet analysis {"connection_id":195064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:33] local.INFO: Extracted packet for processing {"connection_id":195064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324818944001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720917504,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790331345000,"timestamp_ms":1790331345000,"timestamp_seconds":1790331345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105868"} 
[2026-09-25 15: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-25 15:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324818944001,"66":13472,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720917504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324818944001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720917504,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324818944001,"power":13472,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720917504}} 
[2026-09-25 15:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":195064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:33] local.INFO: GPS data processed {"connection_id":195064,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:33] local.INFO: Acknowledgment sent {"connection_id":195064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:38] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d810aa70012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d810aa70012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:38] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d810aa70012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:47:38] local.INFO: Packet analysis {"connection_id":195064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:38] local.INFO: Extracted packet for processing {"connection_id":195064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324824320001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790331366000,"timestamp_ms":1790331366000,"timestamp_seconds":1790331366,"priority":1,"record_length":96,"hex_timestamp":"000001a0d810aa70"} 
[2026-09-25 15:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:38] 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-25 15:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324824320001,"66":13580,"100":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324824320001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:47:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324824320001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":195064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:38] local.INFO: GPS data processed {"connection_id":195064,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:38] local.INFO: Acknowledgment sent {"connection_id":195064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:54] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:54] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:54] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:47:54] local.INFO: TCP Data received {"connection_id":192390,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d810cd98012d0a74c00705c6980016016011..."} 
[2026-09-25 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d810cd98012d0a74c00705c6980016016011..."} 
[2026-09-25 15:47:54] local.INFO: Processing buffer {"connection_id":192390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d810cd98012d0a74c00705c6980016016011..."} 
[2026-09-25 15:47:54] local.INFO: Packet analysis {"connection_id":192390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:54] local.INFO: Extracted packet for processing {"connection_id":192390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117819032,"longitude_deg":75.5659968,"latitude_deg":11.7819032,"altitude":22,"angle":352,"satellites":17,"speed":0,"hex_longitude":"2d0a74c0","hex_latitude":"0705c698","is_valid_coordinates":true} 
[2026-09-25 15:47: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-25 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324826624001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33841159721713664,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280304431104,"note":"Value kept but may cause issues"} 
[2026-09-25 15:47:54] 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-25 15:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790331375000,"timestamp_ms":1790331375000,"timestamp_seconds":1790331375,"priority":1,"record_length":96,"hex_timestamp":"000001a0d810cd98"} 
[2026-09-25 15:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:47:54] 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-25 15:47: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":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:47:54] 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-25 15:47: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-25 15:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324826624001,"66":14580,"153":206,"94":10240,"24":0,"16":33841159721713664,"45":753649280304431104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324826624001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:47:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33841159721713664,"km_value":33841159721713.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280304431104,"description":"Unknown IO ID 45"} 
[2026-09-25 15:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324826624001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753649280304431104}} 
[2026-09-25 15:47:55] 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":895599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:47:55] local.INFO: GPS data processed {"connection_id":192390,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:47:55] local.INFO: Acknowledgment sent {"connection_id":192390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:47:56] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:56] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:56] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:47:59] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:59] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:47:59] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:48:00] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80ee168012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80ee168012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:48:00] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80ee168012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:48:00] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:48:00] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80e"} 
[2026-09-25 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324794368001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331249000,"timestamp_ms":1790331249000,"timestamp_seconds":1790331249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80ee168"} 
[2026-09-25 15:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:00] 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-25 15:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324794368001,"66":12885,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324794368001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324794368001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:48:00] 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":895600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:00] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:00] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:03] local.INFO: TCP Data received {"connection_id":195063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:03] local.INFO: Processing buffer {"connection_id":195063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:03] local.INFO: Packet analysis {"connection_id":195063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:03] local.INFO: Extracted packet for processing {"connection_id":195063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48: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-25 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48: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-25 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:48: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-25 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":195063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:03] local.INFO: GPS data processed {"connection_id":195063,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:03] local.INFO: Acknowledgment sent {"connection_id":195063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:09] local.INFO: TCP Data received {"connection_id":195064,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d810fc78012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d810fc78012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:48:09] local.INFO: Processing buffer {"connection_id":195064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d810fc78012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:48:09] local.INFO: Packet analysis {"connection_id":195064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:09] local.INFO: Extracted packet for processing {"connection_id":195064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":35,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324829696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790331387000,"timestamp_ms":1790331387000,"timestamp_seconds":1790331387,"priority":1,"record_length":96,"hex_timestamp":"000001a0d810fc78"} 
[2026-09-25 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637119,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624844864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5702964503134601226,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2205679616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110796386,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271751400436137,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968038912,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1243000010530357248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,127,160,88,45,134,37,10,66,98,6,180,64,1,240,12,227,216,236,4,113,205,17,120,38,239,53,2,226,5,122,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-09-25 15:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":368495309094912,"timestamp_seconds":368495309094.912,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324829696001,"66":13406,"100":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324829696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324829696001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":195064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:09] local.INFO: GPS data processed {"connection_id":195064,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:09] local.INFO: Acknowledgment sent {"connection_id":195064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:17] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:17] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:17] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:48:19] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:19] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:19] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:48:22] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:22] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:48:22] local.INFO: IMEI packet received {"connection_id":192218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":192218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:48:23] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8111fa0012d0a72400705dd980014016511..."} 
[2026-09-25 15:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8111fa0012d0a72400705dd980014016511..."} 
[2026-09-25 15:48:23] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8111fa0012d0a72400705dd980014016511..."} 
[2026-09-25 15:48:23] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:23] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117824920,"longitude_deg":75.5659328,"latitude_deg":11.782492,"altitude":20,"angle":357,"satellites":17,"speed":10,"hex_longitude":"2d0a7240","hex_latitude":"0705dd98","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324832000001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33841447484522496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174071920640,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:23] 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-25 15:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331396000,"timestamp_ms":1790331396000,"timestamp_seconds":1790331396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8111fa0"} 
[2026-09-25 15: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-25 15:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:23] 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-25 15: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-25 15: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-25 15:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324832000001,"66":14439,"153":206,"94":10240,"24":10,"16":33841447484522496,"45":753438174071920640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324832000001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:48:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33841447484522496,"km_value":33841447484522.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174071920640,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324832000001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":753438174071920640}} 
[2026-09-25 15:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:23] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:23] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:25] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:25] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:25] local.INFO: IMEI packet received {"connection_id":193754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":193754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:48:27] local.INFO: TCP Data received {"connection_id":195065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:27] local.INFO: Processing buffer {"connection_id":195065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:27] local.INFO: IMEI packet received {"connection_id":195065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":195065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:48:30] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:30] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:48:30] local.INFO: IMEI packet received {"connection_id":193754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":193754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:48:31] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:31] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:48:31] local.INFO: Packet analysis {"connection_id":193754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:31] local.INFO: Extracted packet for processing {"connection_id":193754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48: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-25 15:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:48: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-25 15:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:48: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-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:48:31] 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":895604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:31] local.INFO: GPS data processed {"connection_id":193754,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:31] local.INFO: Acknowledgment sent {"connection_id":193754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:31] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80f3370012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80f3370012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:48:31] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80f3370012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:48:31] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:48:31] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324799744001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:31] 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-25 15:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331270000,"timestamp_ms":1790331270000,"timestamp_seconds":1790331270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80f3370"} 
[2026-09-25 15:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48:31] 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-25 15:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324799744001,"66":12841,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324799744001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324799744001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:48:31] 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":895605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:31] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:31] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:33] local.INFO: TCP Data received {"connection_id":195065,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:33] local.INFO: Processing buffer {"connection_id":195065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:48:33] local.INFO: IMEI packet received {"connection_id":195065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":195065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:48:34] local.INFO: TCP Data received {"connection_id":195065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8114e80012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8114e80012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:48:34] local.INFO: Processing buffer {"connection_id":195065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8114e80012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:48:34] local.INFO: Packet analysis {"connection_id":195065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:34] local.INFO: Extracted packet for processing {"connection_id":195065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":36,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 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-25 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324835072001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331408000,"timestamp_ms":1790331408000,"timestamp_seconds":1790331408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8114e80"} 
[2026-09-25 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-25 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324835072001,"66":13450,"100":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324835072001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324835072001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":195065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:34] local.INFO: GPS data processed {"connection_id":195065,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:34] local.INFO: Acknowledgment sent {"connection_id":195065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:54] local.INFO: TCP Data received {"connection_id":192218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8112388012d0a72400705de780014000b11..."} 
[2026-09-25 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8112388012d0a72400705de780014000b11..."} 
[2026-09-25 15:48:54] local.INFO: Processing buffer {"connection_id":192218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8112388012d0a72400705de780014000b11..."} 
[2026-09-25 15:48:54] local.INFO: Packet analysis {"connection_id":192218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:54] local.INFO: Extracted packet for processing {"connection_id":192218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825144,"longitude_deg":75.5659328,"latitude_deg":11.7825144,"altitude":20,"angle":11,"satellites":17,"speed":8,"hex_longitude":"2d0a7240","hex_latitude":"0705de78","is_valid_coordinates":true} 
[2026-09-25 15:48: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-25 15:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324837376001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33841456074457088,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631651328,"note":"Value kept but may cause issues"} 
[2026-09-25 15:48:54] 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-25 15:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790331397000,"timestamp_ms":1790331397000,"timestamp_seconds":1790331397,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8112388"} 
[2026-09-25 15:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:48: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":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:48:54] 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-25 15:48: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-25 15:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324837376001,"66":14396,"153":206,"94":10240,"24":8,"16":33841456074457088,"45":752734486631651328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324837376001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:48:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:48:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33841456074457088,"km_value":33841456074457.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631651328,"description":"Unknown IO ID 45"} 
[2026-09-25 15:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324837376001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":752734486631651328}} 
[2026-09-25 15:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":192218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:48:54] local.INFO: GPS data processed {"connection_id":192218,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:48:54] local.INFO: Acknowledgment sent {"connection_id":192218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:48:59] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:48:59] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:48:59] local.INFO: IMEI packet received {"connection_id":193755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":193755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:49:00] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:00] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:00] local.INFO: IMEI packet received {"connection_id":193755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":193755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:02] local.INFO: TCP Data received {"connection_id":193754,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:02] local.INFO: Processing buffer {"connection_id":193754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:02] local.INFO: Packet analysis {"connection_id":193754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:49:02] local.INFO: Extracted packet for processing {"connection_id":193754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49: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-25 15:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:49: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-25 15:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:49:02] 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":895608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:02] local.INFO: GPS data processed {"connection_id":193754,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:02] local.INFO: Acknowledgment sent {"connection_id":193754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:04] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:04] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:04] local.INFO: IMEI packet received {"connection_id":193755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":193755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:05] local.INFO: TCP Data received {"connection_id":195065,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d811a088012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d811a088012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:49:05] local.INFO: Processing buffer {"connection_id":195065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d811a088012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:49:05] local.INFO: Packet analysis {"connection_id":195065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:49:05] local.INFO: Extracted packet for processing {"connection_id":195065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":35,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324840448001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331429000,"timestamp_ms":1790331429000,"timestamp_seconds":1790331429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d811a088"} 
[2026-09-25 15: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-25 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:05] 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-25 15: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-25 15: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-25 15:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324840448001,"66":13406,"100":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324840448001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324840448001,"power":13406,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":195065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:05] local.INFO: GPS data processed {"connection_id":195065,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:05] local.INFO: Acknowledgment sent {"connection_id":195065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:05] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80f8578012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80f8578012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:05] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80f8578012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:05] local.INFO: Packet analysis {"connection_id":193755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:49:05] local.INFO: Extracted packet for processing {"connection_id":193755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324805120001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331291000,"timestamp_ms":1790331291000,"timestamp_seconds":1790331291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80f8578"} 
[2026-09-25 15: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-25 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324805120001,"66":11874,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324805120001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324805120001,"power":11874,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:49:05] 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":895610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:05] local.INFO: GPS data processed {"connection_id":193755,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:05] local.INFO: Acknowledgment sent {"connection_id":193755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:09] local.INFO: TCP Data received {"connection_id":193755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d80fd780012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d80fd780012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:09] local.INFO: Processing buffer {"connection_id":193755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d80fd780012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:49:09] local.INFO: Packet analysis {"connection_id":193755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:49:09] local.INFO: Extracted packet for processing {"connection_id":193755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d80f"} 
[2026-09-25 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 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-25 15:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324810496001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:09] 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-25 15:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790331312000,"timestamp_ms":1790331312000,"timestamp_seconds":1790331312,"priority":1,"record_length":96,"hex_timestamp":"000001a0d80fd780"} 
[2026-09-25 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-25 15:49:09] 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-25 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324810496001,"66":11874,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324810496001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324810496001,"power":11874,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:49:09] 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":895611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:09] local.INFO: GPS data processed {"connection_id":193755,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:09] local.INFO: Acknowledgment sent {"connection_id":193755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:17] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:17] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:17] local.INFO: IMEI packet received {"connection_id":195066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":195066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:49:21] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:21] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:21] local.INFO: IMEI packet received {"connection_id":195066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":195066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:22] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:22] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:49:22] local.INFO: IMEI packet received {"connection_id":195066,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":195066,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:23] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8132ef8012d0a73c00705e410001000ce11..."} 
[2026-09-25 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8132ef8012d0a73c00705e410001000ce11..."} 
[2026-09-25 15:49:23] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8132ef8012d0a73c00705e410001000ce11..."} 
[2026-09-25 15:49:23] local.INFO: Packet analysis {"connection_id":195066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:23] local.INFO: Extracted packet for processing {"connection_id":195066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117826576,"longitude_deg":75.5659712,"latitude_deg":11.7826576,"altitude":16,"angle":206,"satellites":17,"speed":13,"hex_longitude":"2d0a73c0","hex_latitude":"0705e410","is_valid_coordinates":true} 
[2026-09-25 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324871424001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33842448211902464,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174074066944,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:23] 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-25 15:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331531000,"timestamp_ms":1790331531000,"timestamp_seconds":1790331531,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8132ef8"} 
[2026-09-25 15:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:23] 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-25 15:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324871424001,"66":14439,"153":206,"94":10240,"24":13,"16":33842448211902464,"45":753438174074066944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324871424001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:49:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33842448211902464,"km_value":33842448211902.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174074066944,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324871424001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753438174074066944}} 
[2026-09-25 15:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":195066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:23] local.INFO: GPS data processed {"connection_id":195066,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:23] local.INFO: Acknowledgment sent {"connection_id":195066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:25] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:25] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:25] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:49:28] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8134668012d0a71c00705de98000f00bd11..."} 
[2026-09-25 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8134668012d0a71c00705de98000f00bd11..."} 
[2026-09-25 15:49:28] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8134668012d0a71c00705de98000f00bd11..."} 
[2026-09-25 15:49:28] local.INFO: Packet analysis {"connection_id":195066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:28] local.INFO: Extracted packet for processing {"connection_id":195066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825176,"longitude_deg":75.56592,"latitude_deg":11.7825176,"altitude":15,"angle":189,"satellites":17,"speed":8,"hex_longitude":"2d0a71c0","hex_latitude":"0705de98","is_valid_coordinates":true} 
[2026-09-25 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324871936001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33842521226346496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699097141248,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:28] 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-25 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790331537000,"timestamp_ms":1790331537000,"timestamp_seconds":1790331537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8134668"} 
[2026-09-25 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324871936001,"66":14439,"153":206,"94":10240,"24":8,"16":33842521226346496,"45":753156699097141248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324871936001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:49:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33842521226346496,"km_value":33842521226346.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699097141248,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324871936001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":753156699097141248}} 
[2026-09-25 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":195066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:28] local.INFO: GPS data processed {"connection_id":195066,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:28] local.INFO: Acknowledgment sent {"connection_id":195066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:30] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:30] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:49:30] local.INFO: IMEI packet received {"connection_id":192219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:31] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:31] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:49:31] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:49:31] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49: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-25 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15: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-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:49: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-25 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:49: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-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:31] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:31] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:33] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:33] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:33] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:49:35] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:35] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:49:35] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:49:36] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d811f290012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d811f290012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:36] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d811f290012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:36] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:49:36] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":34,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324845824001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790331450000,"timestamp_ms":1790331450000,"timestamp_seconds":1790331450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d811f290"} 
[2026-09-25 15: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-25 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324845824001,"66":13515,"100":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324845824001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324845824001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:49: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":895615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:36] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:36] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:38] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8124498012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8124498012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:38] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8124498012d7a0f0005ec86280000014f22..."} 
[2026-09-25 15:49:38] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:49:38] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":34,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324851200001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790331471000,"timestamp_ms":1790331471000,"timestamp_seconds":1790331471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8124498"} 
[2026-09-25 15:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324851200001,"66":13515,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324851200001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324851200001,"power":13515,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:49:38] 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":895616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:38] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:38] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:54] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:54] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:54] local.INFO: IMEI packet received {"connection_id":193757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":193757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:49:59] local.INFO: TCP Data received {"connection_id":195066,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8134a50012d0a71c00705ddb0000f00b211..."} 
[2026-09-25 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8134a50012d0a71c00705ddb0000f00b211..."} 
[2026-09-25 15:49:59] local.INFO: Processing buffer {"connection_id":195066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8134a50012d0a71c00705ddb0000f00b211..."} 
[2026-09-25 15:49:59] local.INFO: Packet analysis {"connection_id":195066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:59] local.INFO: Extracted packet for processing {"connection_id":195066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117824944,"longitude_deg":75.56592,"latitude_deg":11.7824944,"altitude":15,"angle":178,"satellites":17,"speed":8,"hex_longitude":"2d0a71c0","hex_latitude":"0705ddb0","is_valid_coordinates":true} 
[2026-09-25 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324873472001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33842529816281088,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143361536,"note":"Value kept but may cause issues"} 
[2026-09-25 15:49:59] 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-25 15:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790331538000,"timestamp_ms":1790331538000,"timestamp_seconds":1790331538,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8134a50"} 
[2026-09-25 15:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:49:59] 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-25 15:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:49:59] 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-25 15:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195066,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324873472001,"66":14624,"153":206,"94":10240,"24":8,"16":33842529816281088,"45":752593749143361536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324873472001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:49:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33842529816281088,"km_value":33842529816281.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143361536,"description":"Unknown IO ID 45"} 
[2026-09-25 15:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324873472001,"power":14624,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":752593749143361536}} 
[2026-09-25 15:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":195066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:49:59] local.INFO: GPS data processed {"connection_id":195066,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:49:59] local.INFO: Acknowledgment sent {"connection_id":195066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:49:59] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:59] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:49:59] local.INFO: IMEI packet received {"connection_id":193757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":193757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:00] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8102988012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8102988012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:50:00] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8102988012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:50:00] local.INFO: Packet analysis {"connection_id":193757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:00] local.INFO: Extracted packet for processing {"connection_id":193757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324815872001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331333000,"timestamp_ms":1790331333000,"timestamp_seconds":1790331333,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8102988"} 
[2026-09-25 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324815872001,"66":12667,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324815872001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324815872001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:50:00] 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":895618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:00] local.INFO: GPS data processed {"connection_id":193757,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:00] local.INFO: Acknowledgment sent {"connection_id":193757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:02] local.INFO: TCP Data received {"connection_id":192219,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:02] local.INFO: Processing buffer {"connection_id":192219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:02] local.INFO: Packet analysis {"connection_id":192219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:02] local.INFO: Extracted packet for processing {"connection_id":192219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50: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-25 15:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:50: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-25 15:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":192219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:02] local.INFO: GPS data processed {"connection_id":192219,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:02] local.INFO: Acknowledgment sent {"connection_id":192219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:03] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8107b90012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8107b90012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:03] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8107b90012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:03] local.INFO: Packet analysis {"connection_id":193757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:03] local.INFO: Extracted packet for processing {"connection_id":193757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324821248001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331354000,"timestamp_ms":1790331354000,"timestamp_seconds":1790331354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8107b90"} 
[2026-09-25 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:50:03] 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-25 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:03] 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-25 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324821248001,"66":12645,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324821248001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324821248001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:50:03] 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":895620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:03] local.INFO: GPS data processed {"connection_id":193757,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:03] local.INFO: Acknowledgment sent {"connection_id":193757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:09] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81296a0012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81296a0012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:50:09] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81296a0012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:50:09] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:50:09] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 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-25 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324856576001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790331492000,"timestamp_ms":1790331492000,"timestamp_seconds":1790331492,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81296a0"} 
[2026-09-25 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-25 15:50: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-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 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-25 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324856576001,"66":13559,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324856576001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:50:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324856576001,"power":13559,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:50:09] 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":895621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:09] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:09] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:21] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:50:21] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:50:21] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:50:22] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 15:50:22] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 15:50:22] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:24] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 15:50:24] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 15:50:24] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:25] local.INFO: TCP Data received {"connection_id":195068,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:25] local.INFO: Processing buffer {"connection_id":195068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:25] local.INFO: IMEI packet received {"connection_id":195068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":195068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:50:26] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d813a040012d0a7c000705b6b80012009811..."} 
[2026-09-25 15:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d813a040012d0a7c000705b6b80012009811..."} 
[2026-09-25 15:50:26] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 15:50:26] local.INFO: IMEI packet received {"connection_id":192220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":192220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:27] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d813bf80012d0a82c00705aa68001500a911..."} 
[2026-09-25 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d813bf80012d0a82c00705aa68001500a911..."} 
[2026-09-25 15:50:27] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0d8137548012d0a74c00705cb98001000a711..."} 
[2026-09-25 15:50:27] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117820312,"longitude_deg":75.5659968,"latitude_deg":11.7820312,"altitude":16,"angle":167,"satellites":17,"speed":18,"hex_longitude":"2d0a74c0","hex_latitude":"0705cb98","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324873728001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33842761744515072,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143302144,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] 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-25 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790331549000,"timestamp_ms":1790331549000,"timestamp_seconds":1790331549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8137548"} 
[2026-09-25 15: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-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324873728001,"66":14450,"153":206,"94":10240,"24":18,"16":33842761744515072,"45":752593749143302144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324873728001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33842761744515072,"km_value":33842761744515.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143302144,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324873728001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":752593749143302144}} 
[2026-09-25 15:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:27] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:27] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:27] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755661824,"raw_latitude":117814968,"longitude_deg":75.5661824,"latitude_deg":11.7814968,"altitude":18,"angle":152,"satellites":17,"speed":25,"hex_longitude":"2d0a7c00","hex_latitude":"0705b6b8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324876544001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33843036622422016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174072248320,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] 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-25 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790331560000,"timestamp_ms":1790331560000,"timestamp_seconds":1790331560,"priority":1,"record_length":96,"hex_timestamp":"000001a0d813a040"} 
[2026-09-25 15: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-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:27] 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-25 15: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-25 15: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-25 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324876544001,"66":14515,"153":206,"94":10240,"24":25,"16":33843036622422016,"45":753438174072248320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324876544001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33843036622422016,"km_value":33843036622422.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174072248320,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324876544001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":753438174072248320}} 
[2026-09-25 15:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:27] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:27] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:27] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811816,"longitude_deg":75.5663552,"latitude_deg":11.7811816,"altitude":21,"angle":169,"satellites":17,"speed":8,"hex_longitude":"2d0a82c0","hex_latitude":"0705aa68","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324879360001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33843212716081152,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755478867652032512,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:27] 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-25 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790331568000,"timestamp_ms":1790331568000,"timestamp_seconds":1790331568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d813bf80"} 
[2026-09-25 15: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-25 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:27] 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-25 15: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-25 15: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-25 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324879360001,"66":14439,"153":206,"94":10240,"24":8,"16":33843212716081152,"45":755478867652032512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324879360001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33843212716081152,"km_value":33843212716081.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":755478867652032512,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324879360001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":755478867652032512}} 
[2026-09-25 15:50:28] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:28] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:28] local.INFO: IMEI packet received {"connection_id":193758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":193758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:28] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:28] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:28] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d813c368012d0a83000705a9a8001600b711..."} 
[2026-09-25 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d813c368012d0a83000705a9a8001600b711..."} 
[2026-09-25 15:50:28] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d813c368012d0a83000705a9a8001600b711..."} 
[2026-09-25 15:50:28] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:28] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811624,"longitude_deg":75.5663616,"latitude_deg":11.7811624,"altitude":22,"angle":183,"satellites":17,"speed":5,"hex_longitude":"2d0a8300","hex_latitude":"0705a9a8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324881408001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33843221306015744,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823744022528,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:28] 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-25 15:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790331569000,"timestamp_ms":1790331569000,"timestamp_seconds":1790331569,"priority":1,"record_length":96,"hex_timestamp":"000001a0d813c368"} 
[2026-09-25 15: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-25 15:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324881408001,"66":14439,"153":206,"94":10240,"24":5,"16":33843221306015744,"45":757378823744022528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324881408001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:28] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:50:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33843221306015744,"km_value":33843221306015.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823744022528,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324881408001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":757378823744022528}} 
[2026-09-25 15:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:28] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:28] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:30] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d813cb38012d0a82c00705a880001600c711..."} 
[2026-09-25 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d813cb38012d0a82c00705a880001600c711..."} 
[2026-09-25 15:50:30] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d813cb38012d0a82c00705a880001600c711..."} 
[2026-09-25 15:50:30] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:30] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811328,"longitude_deg":75.5663552,"latitude_deg":11.7811328,"altitude":22,"angle":199,"satellites":17,"speed":6,"hex_longitude":"2d0a82c0","hex_latitude":"0705a880","is_valid_coordinates":true} 
[2026-09-25 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324881664001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33843234190917632,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488151040,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790331571000,"timestamp_ms":1790331571000,"timestamp_seconds":1790331571,"priority":1,"record_length":96,"hex_timestamp":"000001a0d813cb38"} 
[2026-09-25 15:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324881664001,"66":14439,"153":206,"94":10240,"24":6,"16":33843234190917632,"45":757449192488151040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324881664001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33843234190917632,"km_value":33843234190917.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488151040,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324881664001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":757449192488151040}} 
[2026-09-25 15:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:30] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:30] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:30] local.INFO: TCP Data received {"connection_id":195068,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:30] local.INFO: Processing buffer {"connection_id":195068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:50:30] local.INFO: IMEI packet received {"connection_id":195068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":195068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:31] local.INFO: TCP Data received {"connection_id":195068,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:31] local.INFO: Processing buffer {"connection_id":195068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:50:31] local.INFO: Packet analysis {"connection_id":195068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:31] local.INFO: Extracted packet for processing {"connection_id":195068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50: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-25 15:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:50: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-25 15:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:50: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-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":195068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:31] local.INFO: GPS data processed {"connection_id":195068,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:31] local.INFO: Acknowledgment sent {"connection_id":195068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:33] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:33] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:50:33] local.INFO: IMEI packet received {"connection_id":193758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":193758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:50:34] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d812e8a8012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d812e8a8012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:50:34] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d812e8a8012d7a0f0005ec86280000014f23..."} 
[2026-09-25 15:50:34] local.INFO: Packet analysis {"connection_id":193758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:50:34] local.INFO: Extracted packet for processing {"connection_id":193758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":35,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324861952001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331513000,"timestamp_ms":1790331513000,"timestamp_seconds":1790331513,"priority":1,"record_length":96,"hex_timestamp":"000001a0d812e8a8"} 
[2026-09-25 15: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-25 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-25 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:34] 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-25 15: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-25 15: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-25 15:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324861952001,"66":13526,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324861952001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324861952001,"power":13526,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:50:34] 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":895628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:34] local.INFO: GPS data processed {"connection_id":193758,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:34] local.INFO: Acknowledgment sent {"connection_id":193758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:34] local.INFO: TCP Data received {"connection_id":193757,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d810cd98012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d810cd98012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:34] local.INFO: Processing buffer {"connection_id":193757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d810cd98012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:50:34] local.INFO: Packet analysis {"connection_id":193757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:34] local.INFO: Extracted packet for processing {"connection_id":193757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324826624001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:50:34] 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-25 15:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331375000,"timestamp_ms":1790331375000,"timestamp_seconds":1790331375,"priority":1,"record_length":96,"hex_timestamp":"000001a0d810cd98"} 
[2026-09-25 15: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-25 15:50:34] 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-25 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 15:50:34] 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-25 15: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-25 15: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-25 15:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324826624001,"66":11743,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324826624001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324826624001,"power":11743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:50:34] 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":895629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:50:34] local.INFO: GPS data processed {"connection_id":193757,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:50:34] local.INFO: Acknowledgment sent {"connection_id":193757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:50:54] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:54] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:54] local.INFO: IMEI packet received {"connection_id":192394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":192394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:50:59] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:59] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:50:59] local.INFO: IMEI packet received {"connection_id":192394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":192394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:00] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8111fa0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8111fa0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:00] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8111fa0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:00] local.INFO: Packet analysis {"connection_id":192394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:00] local.INFO: Extracted packet for processing {"connection_id":192394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324832000001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331396000,"timestamp_ms":1790331396000,"timestamp_seconds":1790331396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8111fa0"} 
[2026-09-25 15:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324832000001,"66":12591,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324832000001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324832000001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:51:00] 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":895630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:00] local.INFO: GPS data processed {"connection_id":192394,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:00] local.INFO: Acknowledgment sent {"connection_id":192394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:02] local.INFO: TCP Data received {"connection_id":192220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814bd68012d0a4640070589400019011b11..."} 
[2026-09-25 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814bd68012d0a4640070589400019011b11..."} 
[2026-09-25 15:51:02] local.INFO: Processing buffer {"connection_id":192220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814bd68012d0a4640070589400019011b11..."} 
[2026-09-25 15:51:02] local.INFO: Packet analysis {"connection_id":192220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:02] local.INFO: Extracted packet for processing {"connection_id":192220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755648064,"raw_latitude":117803328,"longitude_deg":75.5648064,"latitude_deg":11.7803328,"altitude":25,"angle":283,"satellites":17,"speed":8,"hex_longitude":"2d0a4640","hex_latitude":"07058940","is_valid_coordinates":true} 
[2026-09-25 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324897792001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33844333702545408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740631062627547136,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331633000,"timestamp_ms":1790331633000,"timestamp_seconds":1790331633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814bd68"} 
[2026-09-25 15:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:02] 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-25 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:51: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-25 15:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324897792001,"66":14439,"165":206,"94":10240,"24":8,"16":33844333702545408,"45":740631062627547136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324897792001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33844333702545408,"km_value":33844333702545.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":740631062627547136,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324897792001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":740631062627547136}} 
[2026-09-25 15:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":192220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895631,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:02] local.INFO: GPS data processed {"connection_id":192220,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:02] local.INFO: Acknowledgment sent {"connection_id":192220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:02] local.INFO: TCP Data received {"connection_id":195068,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:51:02] local.INFO: Processing buffer {"connection_id":195068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8105098012d34c14006aa49080007006e29..."} 
[2026-09-25 15:51:02] local.INFO: Packet analysis {"connection_id":195068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:51:02] local.INFO: Extracted packet for processing {"connection_id":195068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d810"} 
[2026-09-25 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324746752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51: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-25 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331343000,"timestamp_ms":1790331343000,"timestamp_seconds":1790331343,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8105098"} 
[2026-09-25 15:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51:02] 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-25 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324746752001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324746752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:51: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-25 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324746752001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":195068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:03] local.INFO: GPS data processed {"connection_id":195068,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:03] local.INFO: Acknowledgment sent {"connection_id":195068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:05] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81171a8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81171a8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:51:05] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81171a8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:51:05] local.INFO: Packet analysis {"connection_id":192394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:05] local.INFO: Extracted packet for processing {"connection_id":192394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324837376001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331417000,"timestamp_ms":1790331417000,"timestamp_seconds":1790331417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81171a8"} 
[2026-09-25 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:05] 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-25 15:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324837376001,"66":12558,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324837376001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324837376001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:51:05] 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":895633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:05] local.INFO: GPS data processed {"connection_id":192394,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:05] local.INFO: Acknowledgment sent {"connection_id":192394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:05] local.INFO: TCP Data received {"connection_id":193758,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8133ab0012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8133ab0012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:51:05] local.INFO: Processing buffer {"connection_id":193758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8133ab0012d7a0f0005ec86280000014f24..."} 
[2026-09-25 15:51:05] local.INFO: Packet analysis {"connection_id":193758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:51:05] local.INFO: Extracted packet for processing {"connection_id":193758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":36,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324867328001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331534000,"timestamp_ms":1790331534000,"timestamp_seconds":1790331534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8133ab0"} 
[2026-09-25 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324867328001,"66":13091,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324867328001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324867328001,"power":13091,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:51:06] 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":895634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:06] local.INFO: GPS data processed {"connection_id":193758,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:06] local.INFO: Acknowledgment sent {"connection_id":193758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:14] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:14] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:14] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:51:19] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:19] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:19] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:22] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:22] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:51:22] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:23] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814c150012d0a458007058918001a00fd11..."} 
[2026-09-25 15:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814c150012d0a458007058918001a00fd11..."} 
[2026-09-25 15:51:23] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814c150012d0a458007058918001a00fd11..."} 
[2026-09-25 15:51:23] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:23] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755647872,"raw_latitude":117803288,"longitude_deg":75.5647872,"latitude_deg":11.7803288,"altitude":26,"angle":253,"satellites":17,"speed":7,"hex_longitude":"2d0a4580","hex_latitude":"07058918","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324898048001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33844337997512704,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740349587650854912,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:23] 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-25 15:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331634000,"timestamp_ms":1790331634000,"timestamp_seconds":1790331634,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814c150"} 
[2026-09-25 15: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-25 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:51: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-25 15: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-25 15: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-25 15:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324898048001,"66":14450,"165":206,"94":10240,"24":7,"16":33844337997512704,"45":740349587650854912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 15:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324898048001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 15:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33844337997512704,"km_value":33844337997512.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":740349587650854912,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324898048001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":740349587650854912}} 
[2026-09-25 15:51:23] 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":895635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:23] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:23] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:27] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:27] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:27] local.INFO: IMEI packet received {"connection_id":192222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":192222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:51:28] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8151358012d0a47c0070589e8001a00f311..."} 
[2026-09-25 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8151358012d0a47c0070589e8001a00f311..."} 
[2026-09-25 15:51:28] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8151358012d0a47c0070589e8001a00f311..."} 
[2026-09-25 15:51:28] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d815"} 
[2026-09-25 15:51:28] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d815"} 
[2026-09-25 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":755648448,"raw_latitude":117803496,"longitude_deg":75.5648448,"latitude_deg":11.7803496,"altitude":26,"angle":243,"satellites":17,"speed":0,"hex_longitude":"2d0a47c0","hex_latitude":"070589e8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324898304001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33844398127054848,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740138481418311680,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:28] 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-25 15:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790331655000,"timestamp_ms":1790331655000,"timestamp_seconds":1790331655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8151358"} 
[2026-09-25 15: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-25 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324898304001,"66":14450,"165":206,"94":10240,"24":0,"16":33844398127054848,"45":740138481418311680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 15:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324898304001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 15:51:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33844398127054848,"km_value":33844398127054.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":740138481418311680,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324898304001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":740138481418311680}} 
[2026-09-25 15:51:28] 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":895636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:28] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:28] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:29] local.INFO: TCP Data received {"connection_id":192221,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:51:29] local.INFO: Processing buffer {"connection_id":192221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:51:29] local.INFO: IMEI packet received {"connection_id":192221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:51:30] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:30] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:30] local.INFO: IMEI packet received {"connection_id":193759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":193759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:51:33] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:33] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:51:33] local.INFO: IMEI packet received {"connection_id":192222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":192222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:34] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8138cb8012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8138cb8012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:51:34] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8138cb8012d7a0f0005ec86280000014f25..."} 
[2026-09-25 15:51:34] local.INFO: Packet analysis {"connection_id":192222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:51:34] local.INFO: Extracted packet for processing {"connection_id":192222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:51:34] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99386920,"longitude_deg":76.2973952,"latitude_deg":9.938692,"altitude":0,"angle":335,"satellites":37,"speed":0,"hex_longitude":"2d7a0f00","hex_latitude":"05ec8628","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324872704001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810808679497728,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331555000,"timestamp_ms":1790331555000,"timestamp_seconds":1790331555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8138cb8"} 
[2026-09-25 15: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-25 15:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:34] 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-25 15: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-25 15: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-25 15:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324872704001,"66":13515,"98":206,"87":13824,"24":0,"16":135810808679497728,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324872704001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:51:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810808679497728,"km_value":135810808679497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324872704001,"power":13515,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":192222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:34] local.INFO: GPS data processed {"connection_id":192222,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:34] local.INFO: Acknowledgment sent {"connection_id":192222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:35] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:35] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:51:35] local.INFO: IMEI packet received {"connection_id":193759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":193759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:36] local.INFO: TCP Data received {"connection_id":192394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d811c3b0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d811c3b0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:36] local.INFO: Processing buffer {"connection_id":192394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d811c3b0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:51:36] local.INFO: Packet analysis {"connection_id":192394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:36] local.INFO: Extracted packet for processing {"connection_id":192394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d811"} 
[2026-09-25 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324842752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790331438000,"timestamp_ms":1790331438000,"timestamp_seconds":1790331438,"priority":1,"record_length":96,"hex_timestamp":"000001a0d811c3b0"} 
[2026-09-25 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:36] 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-25 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3624895864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250063188214918712,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147560730,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,140,160,31,45,64,174,52,40,10,66,205,41,123,1,240,227,216,4,113,215,139,56,239,46,2,81,7,120,55,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 15:51:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169888414728192,"timestamp_seconds":3747169888414728.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324842752001,"66":11721,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324842752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324842752001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:51: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":895638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:36] local.INFO: GPS data processed {"connection_id":192394,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:36] local.INFO: Acknowledgment sent {"connection_id":192394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:36] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:36] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:36] local.INFO: Packet analysis {"connection_id":193759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:36] local.INFO: Extracted packet for processing {"connection_id":193759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51: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-25 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:51: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-25 15:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51: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-25 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:51: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":895639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:36] local.INFO: GPS data processed {"connection_id":193759,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:36] local.INFO: Acknowledgment sent {"connection_id":193759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:41] local.INFO: TCP Data received {"connection_id":193759,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:41] local.INFO: Processing buffer {"connection_id":193759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:51:41] local.INFO: Packet analysis {"connection_id":193759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:41] local.INFO: Extracted packet for processing {"connection_id":193759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:51: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-25 15:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:51: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-25 15:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:51:41] 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":895640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:51:41] local.INFO: GPS data processed {"connection_id":193759,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:51:41] local.INFO: Acknowledgment sent {"connection_id":193759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:51:54] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:54] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:54] local.INFO: IMEI packet received {"connection_id":192396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":192396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:51:59] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:59] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:51:59] local.INFO: IMEI packet received {"connection_id":192396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":192396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:51:59] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81526e0012d0a47c0070589d8001a009411..."} 
[2026-09-25 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81526e0012d0a47c0070589d8001a009411..."} 
[2026-09-25 15:51:59] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81526e0012d0a47c0070589d8001a009411..."} 
[2026-09-25 15:51:59] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d815"} 
[2026-09-25 15:51:59] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d815"} 
[2026-09-25 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":755648448,"raw_latitude":117803480,"longitude_deg":75.5648448,"latitude_deg":11.780348,"altitude":26,"angle":148,"satellites":17,"speed":4,"hex_longitude":"2d0a47c0","hex_latitude":"070589d8","is_valid_coordinates":true} 
[2026-09-25 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324903680001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33844402422022144,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740771800115963904,"note":"Value kept but may cause issues"} 
[2026-09-25 15:51:59] 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-25 15:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790331660000,"timestamp_ms":1790331660000,"timestamp_seconds":1790331660,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81526e0"} 
[2026-09-25 15:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 15:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324903680001,"66":14439,"165":206,"94":10240,"24":4,"16":33844402422022144,"45":740771800115963904},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-25 15:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324903680001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:51:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-25 15:51:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33844402422022144,"km_value":33844402422022.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":740771800115963904,"description":"Unknown IO ID 45"} 
[2026-09-25 15:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324903680001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":740771800115963904}} 
[2026-09-25 15:52:00] 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":895641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:00] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:00] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:00] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81215b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81215b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:52:00] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81215b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:52:00] local.INFO: Packet analysis {"connection_id":192396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:52:00] local.INFO: Extracted packet for processing {"connection_id":192396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324848128001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331459000,"timestamp_ms":1790331459000,"timestamp_seconds":1790331459,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81215b8"} 
[2026-09-25 15:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 15:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324848128001,"66":12526,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324848128001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324848128001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:52:00] 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":895642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:00] local.INFO: GPS data processed {"connection_id":192396,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:00] local.INFO: Acknowledgment sent {"connection_id":192396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:04] local.INFO: TCP Data received {"connection_id":193760,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:52:04] local.INFO: Processing buffer {"connection_id":193760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:52:04] local.INFO: IMEI packet received {"connection_id":193760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":193760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:52:06] local.INFO: TCP Data received {"connection_id":192222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d813d308012d7a0e0005ec89980000003825..."} 
[2026-09-25 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d813d308012d7a0e0005ec89980000003825..."} 
[2026-09-25 15:52:06] local.INFO: Processing buffer {"connection_id":192222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d813d308012d7a0e0005ec89980000003825..."} 
[2026-09-25 15:52:06] local.INFO: Packet analysis {"connection_id":192222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:52:06] local.INFO: Extracted packet for processing {"connection_id":192222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99387800,"longitude_deg":76.2973696,"latitude_deg":9.93878,"altitude":0,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec8998","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324878080001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810851629170688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622720919552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790331573000,"timestamp_ms":1790331573000,"timestamp_seconds":1790331573,"priority":1,"record_length":96,"hex_timestamp":"000001a0d813d308"} 
[2026-09-25 15: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-25 15:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 15:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324878080001,"66":13526,"98":206,"87":13824,"24":0,"16":135810851629170688,"45":8795248622720919552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324878080001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:06] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810851629170688,"km_value":135810851629170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622720919552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324878080001,"power":13526,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795248622720919552}} 
[2026-09-25 15:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":192222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:06] local.INFO: GPS data processed {"connection_id":192222,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:06] local.INFO: Acknowledgment sent {"connection_id":192222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:14] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:14] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:14] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:52:16] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:16] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:16] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:52:17] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:17] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:17] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:52:23] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:23] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:52:23] local.INFO: IMEI packet received {"connection_id":192223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":192223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:52:23] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8164020012d0a84c00705a8c8001a007b11..."} 
[2026-09-25 15:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8164020012d0a84c00705a8c8001a007b11..."} 
[2026-09-25 15:52:23] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8164020012d0a84c00705a8c8001a007b11..."} 
[2026-09-25 15:52:23] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:52:23] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755664064,"raw_latitude":117811400,"longitude_deg":75.5664064,"latitude_deg":11.78114,"altitude":26,"angle":123,"satellites":17,"speed":10,"hex_longitude":"2d0a84c0","hex_latitude":"0705a8c8","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324923136001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33845497638682624,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757660298720643072,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52: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-25 15:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331732000,"timestamp_ms":1790331732000,"timestamp_seconds":1790331732,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8164020"} 
[2026-09-25 15: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-25 15:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:52:23] 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-25 15: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-25 15: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-25 15:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324923136001,"66":14515,"177":206,"94":10240,"24":10,"16":33845497638682624,"45":757660298720643072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-25 15:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324923136001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-25 15:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33845497638682624,"km_value":33845497638682.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":757660298720643072,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324923136001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757660298720643072}} 
[2026-09-25 15:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:24] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:24] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:25] local.INFO: TCP Data received {"connection_id":195069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:25] local.INFO: Processing buffer {"connection_id":195069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:25] local.INFO: IMEI packet received {"connection_id":195069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":195069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:52:27] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:27] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:27] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:52:30] local.INFO: TCP Data received {"connection_id":195069,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:30] local.INFO: Processing buffer {"connection_id":195069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:52:30] local.INFO: IMEI packet received {"connection_id":195069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":195069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:52:31] local.INFO: TCP Data received {"connection_id":192396,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81267c0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81267c0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:52:31] local.INFO: Processing buffer {"connection_id":192396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81267c0012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:52:31] local.INFO: Packet analysis {"connection_id":192396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:52:31] local.INFO: Extracted packet for processing {"connection_id":192396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324853504001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:31] 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-25 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331480000,"timestamp_ms":1790331480000,"timestamp_seconds":1790331480,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81267c0"} 
[2026-09-25 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 15:52: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-25 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324853504001,"66":12461,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324853504001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324853504001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:52:31] local.INFO: TCP Data received {"connection_id":195069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:52:31] local.INFO: Processing buffer {"connection_id":195069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:52:31] local.INFO: Packet analysis {"connection_id":195069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:52:31] local.INFO: Extracted packet for processing {"connection_id":195069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52: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-25 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:52: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-25 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:52:31] 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-25 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:52: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-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:52:31] 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":895645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:31] local.INFO: GPS data processed {"connection_id":192396,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:31] local.INFO: Acknowledgment sent {"connection_id":192396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":195069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:31] local.INFO: GPS data processed {"connection_id":195069,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:31] local.INFO: Acknowledgment sent {"connection_id":195069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:33] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:33] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:52:33] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:52:34] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8142510012d7a0e0005ec89a80000003824..."} 
[2026-09-25 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8142510012d7a0e0005ec89a80000003824..."} 
[2026-09-25 15:52:34] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8142510012d7a0e0005ec89a80000003824..."} 
[2026-09-25 15:52:34] local.INFO: Packet analysis {"connection_id":192397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:52:34] local.INFO: Extracted packet for processing {"connection_id":192397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99387816,"longitude_deg":76.2973696,"latitude_deg":9.9387816,"altitude":0,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec89a8","is_valid_coordinates":true} 
[2026-09-25 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-25 15:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324882688001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810851629170688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147744434176,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331594000,"timestamp_ms":1790331594000,"timestamp_seconds":1790331594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8142510"} 
[2026-09-25 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-25 15:52: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 15:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324882688001,"66":13374,"98":206,"87":13824,"24":0,"16":135810851629170688,"45":8794967147744434176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324882688001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:34] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:52:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810851629170688,"km_value":135810851629170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147744434176,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324882688001,"power":13374,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147744434176}} 
[2026-09-25 15:52:34] 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":895647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:34] local.INFO: GPS data processed {"connection_id":192397,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:34] local.INFO: Acknowledgment sent {"connection_id":192397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:54] local.INFO: TCP Data received {"connection_id":195070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:54] local.INFO: Processing buffer {"connection_id":195070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:54] local.INFO: IMEI packet received {"connection_id":195070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":195070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:52:55] local.INFO: TCP Data received {"connection_id":192223,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8164408012d0a85400705a830001a008c11..."} 
[2026-09-25 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8164408012d0a85400705a830001a008c11..."} 
[2026-09-25 15:52:55] local.INFO: Processing buffer {"connection_id":192223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8164408012d0a85400705a830001a008c11..."} 
[2026-09-25 15:52:55] local.INFO: Packet analysis {"connection_id":192223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:52:55] local.INFO: Extracted packet for processing {"connection_id":192223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117811248,"longitude_deg":75.5664192,"latitude_deg":11.7811248,"altitude":26,"angle":140,"satellites":17,"speed":9,"hex_longitude":"2d0a8540","hex_latitude":"0705a830","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324923392001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33845506228617216,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757941773697337344,"note":"Value kept but may cause issues"} 
[2026-09-25 15:52:55] 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-25 15:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790331733000,"timestamp_ms":1790331733000,"timestamp_seconds":1790331733,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8164408"} 
[2026-09-25 15: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-25 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 15:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324923392001,"66":14515,"177":206,"94":10240,"24":9,"16":33845506228617216,"45":757941773697337344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-25 15:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324923392001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33845506228617216,"km_value":33845506228617.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":757941773697337344,"description":"Unknown IO ID 45"} 
[2026-09-25 15:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324923392001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757941773697337344}} 
[2026-09-25 15:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":192223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:52:56] local.INFO: GPS data processed {"connection_id":192223,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:52:56] local.INFO: Acknowledgment sent {"connection_id":192223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:52:59] local.INFO: TCP Data received {"connection_id":195070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:59] local.INFO: Processing buffer {"connection_id":195070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:52:59] local.INFO: IMEI packet received {"connection_id":195070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":195070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:00] local.INFO: TCP Data received {"connection_id":195070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d812b9c8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d812b9c8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:53:00] local.INFO: Processing buffer {"connection_id":195070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d812b9c8012d1a8b40071fae380034009f29..."} 
[2026-09-25 15:53:00] local.INFO: Packet analysis {"connection_id":195070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:53:00] local.INFO: Extracted packet for processing {"connection_id":195070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d812"} 
[2026-09-25 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324858880001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331501000,"timestamp_ms":1790331501000,"timestamp_seconds":1790331501,"priority":1,"record_length":96,"hex_timestamp":"000001a0d812b9c8"} 
[2026-09-25 15: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-25 15:53:00] 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-25 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 15:53: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-25 15: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-25 15: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-25 15:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324858880001,"66":12504,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324858880001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324858880001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":195070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:00] local.INFO: GPS data processed {"connection_id":195070,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:00] local.INFO: Acknowledgment sent {"connection_id":195070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:03] local.INFO: TCP Data received {"connection_id":195069,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:03] local.INFO: Processing buffer {"connection_id":195069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:03] local.INFO: Packet analysis {"connection_id":195069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:03] local.INFO: Extracted packet for processing {"connection_id":195069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53: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-25 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:53: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-25 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:53: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-25 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:53:03] 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-25 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:53: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-25 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":195069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:03] local.INFO: GPS data processed {"connection_id":195069,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:03] local.INFO: Acknowledgment sent {"connection_id":195069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:05] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8147718012d7a0e0005ec89a80000003825..."} 
[2026-09-25 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8147718012d7a0e0005ec89a80000003825..."} 
[2026-09-25 15:53:05] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8147718012d7a0e0005ec89a80000003825..."} 
[2026-09-25 15:53:05] local.INFO: Packet analysis {"connection_id":192397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:05] local.INFO: Extracted packet for processing {"connection_id":192397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":762973696,"raw_latitude":99387816,"longitude_deg":76.2973696,"latitude_deg":9.9387816,"altitude":0,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2d7a0e00","hex_latitude":"05ec89a8","is_valid_coordinates":true} 
[2026-09-25 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324888064001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135810851629170688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794967147744438272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331615000,"timestamp_ms":1790331615000,"timestamp_seconds":1790331615,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8147718"} 
[2026-09-25 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324888064001,"66":13428,"98":206,"87":13824,"24":0,"16":135810851629170688,"45":8794967147744438272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324888064001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 15:53:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135810851629170688,"km_value":135810851629170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794967147744438272,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324888064001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794967147744438272}} 
[2026-09-25 15:53:05] 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":895651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:05] local.INFO: GPS data processed {"connection_id":192397,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:05] local.INFO: Acknowledgment sent {"connection_id":192397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:18] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: IMEI packet received {"connection_id":192398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":192398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:53:18] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:18] local.INFO: IMEI packet received {"connection_id":192398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":192398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:19] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:19] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:53:19] local.INFO: IMEI packet received {"connection_id":192398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":192398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:20] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8172a80012d0ad840070593700029004811..."} 
[2026-09-25 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8172a80012d0ad840070593700029004811..."} 
[2026-09-25 15:53:20] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8172a80012d0ad840070593700029004811..."} 
[2026-09-25 15:53:20] local.INFO: Packet analysis {"connection_id":192398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:53:20] local.INFO: Extracted packet for processing {"connection_id":192398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":755685440,"raw_latitude":117805936,"longitude_deg":75.568544,"latitude_deg":11.7805936,"altitude":41,"angle":72,"satellites":17,"speed":15,"hex_longitude":"2d0ad840","hex_latitude":"07059370","is_valid_coordinates":true} 
[2026-09-25 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324933632001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33846786128871424,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771663678810003456,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] 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-25 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790331792000,"timestamp_ms":1790331792000,"timestamp_seconds":1790331792,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8172a80"} 
[2026-09-25 15:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84735588024386966,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":55297,"corrected_to":0} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-8214557999658172392,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504116076216320,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2211446811,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639784415950769,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2550213898,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372273015,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.WARNING: Large IO value detected {"io_id":224,"raw_value":6756056856267776,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,153,94,24,241,157,16,63,160,200,45,64,134,28,17,10,66,62,185,192,131,181,1,240,103,227,216,5,4,113,205,14,169,239,56,177,2,120,7,25,19,206,224],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":200,"original":55297,"validated":0},{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-09-25 15:53:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089757161534324736,"timestamp_seconds":2089757161534324.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324933632001,"66":14548,"153":206,"94":10240,"24":15,"16":33846786128871424,"45":771663678810003456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324933632001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:53:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33846786128871424,"km_value":33846786128871.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":771663678810003456,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324933632001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":771663678810003456}} 
[2026-09-25 15:53:20] 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":895652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:20] local.INFO: GPS data processed {"connection_id":192398,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:20] local.INFO: Acknowledgment sent {"connection_id":192398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:25] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:25] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:25] local.INFO: IMEI packet received {"connection_id":192399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":192399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:53:27] local.INFO: TCP Data received {"connection_id":195071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:27] local.INFO: Processing buffer {"connection_id":195071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:27] local.INFO: IMEI packet received {"connection_id":195071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":195071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:53:30] local.INFO: TCP Data received {"connection_id":195071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:30] local.INFO: Processing buffer {"connection_id":195071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:30] local.INFO: IMEI packet received {"connection_id":195071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":195071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:30] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:30] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:53:30] local.INFO: IMEI packet received {"connection_id":192399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":192399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:30] local.INFO: TCP Data received {"connection_id":195070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8130bd0012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8130bd0012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:53:30] local.INFO: Processing buffer {"connection_id":195070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8130bd0012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:53:30] local.INFO: Packet analysis {"connection_id":195070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:53:30] local.INFO: Extracted packet for processing {"connection_id":195070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d813"} 
[2026-09-25 15:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324864256001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:30] 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-25 15:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790331522000,"timestamp_ms":1790331522000,"timestamp_seconds":1790331522,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8130bd0"} 
[2026-09-25 15:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:53:30] 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-25 15:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:53:30] 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-25 15:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324864256001,"66":12461,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324864256001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324864256001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":195070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:30] local.INFO: GPS data processed {"connection_id":195070,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:30] local.INFO: Acknowledgment sent {"connection_id":195070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:31] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:31] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:53:31] local.INFO: Packet analysis {"connection_id":192399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:31] local.INFO: Extracted packet for processing {"connection_id":192399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53: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-25 15:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:53: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-25 15:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:53:31] 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-25 15:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:53: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-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:53:31] 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":895654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:31] local.INFO: GPS data processed {"connection_id":192399,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:31] local.INFO: Acknowledgment sent {"connection_id":192399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:33] local.INFO: TCP Data received {"connection_id":195071,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195071,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:33] local.INFO: Processing buffer {"connection_id":195071,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:53:33] local.INFO: IMEI packet received {"connection_id":195071,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":195071,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:34] local.INFO: TCP Data received {"connection_id":195071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d816ec00012d7a1a0005ec10c8000300a121..."} 
[2026-09-25 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d816ec00012d7a1a0005ec10c8000300a121..."} 
[2026-09-25 15:53:34] local.INFO: Processing buffer {"connection_id":195071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d816ec00012d7a1a0005ec10c8000300a121..."} 
[2026-09-25 15:53:34] local.INFO: Packet analysis {"connection_id":195071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:53:34] local.INFO: Extracted packet for processing {"connection_id":195071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99356872,"longitude_deg":76.2976768,"latitude_deg":9.9356872,"altitude":3,"angle":161,"satellites":33,"speed":37,"hex_longitude":"2d7a1a00","hex_latitude":"05ec10c8","is_valid_coordinates":true} 
[2026-09-25 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-25 15:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324931328001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135812608270794752,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794474566529376256,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331776000,"timestamp_ms":1790331776000,"timestamp_seconds":1790331776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d816ec00"} 
[2026-09-25 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-25 15:53: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 15:53:34] 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-25 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-25 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-25 15:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324931328001,"66":13646,"100":206,"87":13824,"24":37,"16":135812608270794752,"45":8794474566529376256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-25 15:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324931328001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-25 15:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135812608270794752,"km_value":135812608270794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794474566529376256,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324931328001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8794474566529376256}} 
[2026-09-25 15:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":195071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:34] local.INFO: GPS data processed {"connection_id":195071,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:34] local.INFO: Acknowledgment sent {"connection_id":195071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:51] local.INFO: TCP Data received {"connection_id":192398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8173e08012d0ae04007059550002a005a11..."} 
[2026-09-25 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8173e08012d0ae04007059550002a005a11..."} 
[2026-09-25 15:53:52] local.INFO: Processing buffer {"connection_id":192398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8173e08012d0ae04007059550002a005a11..."} 
[2026-09-25 15:53:52] local.INFO: Packet analysis {"connection_id":192398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:53:52] local.INFO: Extracted packet for processing {"connection_id":192398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:53:52] local.INFO: GPS Element Parsed {"raw_longitude":755687488,"raw_latitude":117806416,"longitude_deg":75.5687488,"latitude_deg":11.7806416,"altitude":42,"angle":90,"satellites":17,"speed":15,"hex_longitude":"2d0ae040","hex_latitude":"07059550","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324938752001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33846889208086528,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781444934251278336,"note":"Value kept but may cause issues"} 
[2026-09-25 15:53:52] 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-25 15:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1790331797000,"timestamp_ms":1790331797000,"timestamp_seconds":1790331797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8173e08"} 
[2026-09-25 15: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-25 15:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 15:53:52] 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-25 15: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-25 15: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-25 15:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":192398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":192398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":192398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324938752001,"66":14450,"153":206,"94":10240,"24":15,"16":33846889208086528,"45":781444934251278336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324938752001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:53:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:53:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33846889208086528,"km_value":33846889208086.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":781444934251278336,"description":"Unknown IO ID 45"} 
[2026-09-25 15:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324938752001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":781444934251278336}} 
[2026-09-25 15:53:52] 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":895656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:53:52] local.INFO: GPS data processed {"connection_id":192398,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:53:52] local.INFO: Acknowledgment sent {"connection_id":192398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:53:53] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:53] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:53] local.INFO: IMEI packet received {"connection_id":193761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":193761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:53:54] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:54] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:54] local.INFO: IMEI packet received {"connection_id":193761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":193761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:53:59] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:59] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:53:59] local.INFO: IMEI packet received {"connection_id":193761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":193761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:00] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8169228012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8169228012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:54:00] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8169228012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:54:00] local.INFO: Packet analysis {"connection_id":193761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:54:00] local.INFO: Extracted packet for processing {"connection_id":193761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324923392001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331753000,"timestamp_ms":1790331753000,"timestamp_seconds":1790331753,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8169228"} 
[2026-09-25 15:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:54:00] 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-25 15:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324923392001,"66":12385,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324923392001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324923392001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:54:00] 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":895657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:00] local.INFO: GPS data processed {"connection_id":193761,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:00] local.INFO: Acknowledgment sent {"connection_id":193761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:04] local.INFO: TCP Data received {"connection_id":192399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:04] local.INFO: Processing buffer {"connection_id":192399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:04] local.INFO: Packet analysis {"connection_id":192399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:54:04] local.INFO: Extracted packet for processing {"connection_id":192399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15: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-25 15:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15: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-25 15: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-25 15: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:54: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-25 15: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-25 15: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-25 15:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15: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-25 15:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:54:04] 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":895658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:04] local.INFO: GPS data processed {"connection_id":192399,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:04] local.INFO: Acknowledgment sent {"connection_id":192399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:05] local.INFO: TCP Data received {"connection_id":195071,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8171ae0012d7a278005ebef380000009920..."} 
[2026-09-25 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8171ae0012d7a278005ebef380000009920..."} 
[2026-09-25 15:54:05] local.INFO: Processing buffer {"connection_id":195071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8171ae0012d7a278005ebef380000009920..."} 
[2026-09-25 15:54:05] local.INFO: Packet analysis {"connection_id":195071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:54:05] local.INFO: Extracted packet for processing {"connection_id":195071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:54:05] local.INFO: GPS Element Parsed {"raw_longitude":762980224,"raw_latitude":99348280,"longitude_deg":76.2980224,"latitude_deg":9.934828,"altitude":0,"angle":153,"satellites":32,"speed":18,"hex_longitude":"2d7a2780","hex_latitude":"05ebef38","is_valid_coordinates":true} 
[2026-09-25 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-25 15:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324934656001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135813054947393536,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847457044480,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331788000,"timestamp_ms":1790331788000,"timestamp_seconds":1790331788,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8171ae0"} 
[2026-09-25 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-25 15:54: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-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 15:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195071,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324934656001,"66":13504,"99":206,"87":13824,"24":18,"16":135813054947393536,"45":8798344847457044480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324934656001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:54:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135813054947393536,"km_value":135813054947393.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847457044480,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324934656001,"power":13504,"unknown_99":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8798344847457044480}} 
[2026-09-25 15:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":195071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:05] local.INFO: GPS data processed {"connection_id":195071,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:05] local.INFO: Acknowledgment sent {"connection_id":195071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:18] local.INFO: TCP Data received {"connection_id":195072,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:18] local.INFO: Processing buffer {"connection_id":195072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:18] local.INFO: IMEI packet received {"connection_id":195072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":195072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:54:19] local.INFO: TCP Data received {"connection_id":195072,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:19] local.INFO: Processing buffer {"connection_id":195072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:19] local.INFO: IMEI packet received {"connection_id":195072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":195072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:22] local.INFO: TCP Data received {"connection_id":195072,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:22] local.INFO: Processing buffer {"connection_id":195072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:54:22] local.INFO: IMEI packet received {"connection_id":195072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":195072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:23] local.INFO: TCP Data received {"connection_id":195072,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8180928012d0b22c007059540001600b211..."} 
[2026-09-25 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8180928012d0b22c007059540001600b211..."} 
[2026-09-25 15:54:23] local.INFO: Processing buffer {"connection_id":195072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8180928012d0b22c007059540001600b211..."} 
[2026-09-25 15:54:23] local.INFO: Packet analysis {"connection_id":195072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:54:23] local.INFO: Extracted packet for processing {"connection_id":195072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755704512,"raw_latitude":117806400,"longitude_deg":75.5704512,"latitude_deg":11.78064,"altitude":22,"angle":178,"satellites":17,"speed":15,"hex_longitude":"2d0b22c0","hex_latitude":"07059540","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324952320001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33847795446185984,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713784147968,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:23] 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-25 15:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790331849000,"timestamp_ms":1790331849000,"timestamp_seconds":1790331849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8180928"} 
[2026-09-25 15: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-25 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 15:54: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-25 15: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-25 15: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-25 15:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324952320001,"66":13906,"153":206,"94":10240,"24":15,"16":33847795446185984,"45":802203713784147968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324952320001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33847795446185984,"km_value":33847795446185.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713784147968,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324952320001,"power":13906,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":802203713784147968}} 
[2026-09-25 15:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":195072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:23] local.INFO: GPS data processed {"connection_id":195072,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:23] local.INFO: Acknowledgment sent {"connection_id":195072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:25] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:25] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:25] local.INFO: IMEI packet received {"connection_id":193762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":193762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:54:27] local.INFO: TCP Data received {"connection_id":192225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:27] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:27] local.INFO: IMEI packet received {"connection_id":192225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":192225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:54:30] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:30] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:54:30] local.INFO: IMEI packet received {"connection_id":193762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":193762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:31] local.INFO: TCP Data received {"connection_id":193761,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d816e430012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d816e430012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:54:31] local.INFO: Processing buffer {"connection_id":193761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d816e430012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:54:31] local.INFO: Packet analysis {"connection_id":193761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:54:31] local.INFO: Extracted packet for processing {"connection_id":193761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d816"} 
[2026-09-25 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324928768001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:31] 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-25 15:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331774000,"timestamp_ms":1790331774000,"timestamp_seconds":1790331774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d816e430"} 
[2026-09-25 15:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324928768001,"66":11471,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324928768001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324928768001,"power":11471,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:54:31] 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":895661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:31] local.INFO: GPS data processed {"connection_id":193761,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:31] local.INFO: Acknowledgment sent {"connection_id":193761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:32] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:32] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:54:32] local.INFO: Packet analysis {"connection_id":193762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:54:32] local.INFO: Extracted packet for processing {"connection_id":193762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 15:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:54:32] 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-25 15:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:54:32] 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":895662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:32] local.INFO: GPS data processed {"connection_id":193762,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:32] local.INFO: Acknowledgment sent {"connection_id":193762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:33] local.INFO: TCP Data received {"connection_id":192225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:33] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:54:33] local.INFO: IMEI packet received {"connection_id":192225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":192225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:33] local.INFO: TCP Data received {"connection_id":192225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8176900012d7a358005ebd1300004009d23..."} 
[2026-09-25 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8176900012d7a358005ebd1300004009d23..."} 
[2026-09-25 15:54:33] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8176900012d7a358005ebd1300004009d23..."} 
[2026-09-25 15:54:33] local.INFO: Packet analysis {"connection_id":192225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:54:33] local.INFO: Extracted packet for processing {"connection_id":192225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762983808,"raw_latitude":99340592,"longitude_deg":76.2983808,"latitude_deg":9.9340592,"altitude":4,"angle":157,"satellites":35,"speed":20,"hex_longitude":"2d7a3580","hex_latitude":"05ebd130","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324937728001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135813467264253952,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802144759640438784,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790331808000,"timestamp_ms":1790331808000,"timestamp_seconds":1790331808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8176900"} 
[2026-09-25 15: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-25 15:54: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-25 15: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324937728001,"66":13472,"99":206,"87":13824,"24":20,"16":135813467264253952,"45":8802144759640438784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324937728001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:54:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135813467264253952,"km_value":135813467264253.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802144759640438784,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324937728001,"power":13472,"unknown_99":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8802144759640438784}} 
[2026-09-25 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":192225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:33] local.INFO: GPS data processed {"connection_id":192225,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:33] local.INFO: Acknowledgment sent {"connection_id":192225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:54] local.INFO: TCP Data received {"connection_id":195072,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8182480012d0b24c0070587180015009e11..."} 
[2026-09-25 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8182480012d0b24c0070587180015009e11..."} 
[2026-09-25 15:54:54] local.INFO: Processing buffer {"connection_id":195072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8182480012d0b24c0070587180015009e11..."} 
[2026-09-25 15:54:54] local.INFO: Packet analysis {"connection_id":195072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:54:54] local.INFO: Extracted packet for processing {"connection_id":195072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755705024,"raw_latitude":117802776,"longitude_deg":75.5705024,"latitude_deg":11.7802776,"altitude":21,"angle":158,"satellites":17,"speed":18,"hex_longitude":"2d0b24c0","hex_latitude":"07058718","is_valid_coordinates":true} 
[2026-09-25 15:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324953344001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33847971539845120,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802414820016340992,"note":"Value kept but may cause issues"} 
[2026-09-25 15:54:54] 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-25 15:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790331856000,"timestamp_ms":1790331856000,"timestamp_seconds":1790331856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8182480"} 
[2026-09-25 15:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-25 15:54:54] 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-25 15:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324953344001,"66":14450,"153":206,"94":10240,"24":18,"16":33847971539845120,"45":802414820016340992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324953344001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:54:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33847971539845120,"km_value":33847971539845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":802414820016340992,"description":"Unknown IO ID 45"} 
[2026-09-25 15:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324953344001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":802414820016340992}} 
[2026-09-25 15:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":195072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:54:54] local.INFO: GPS data processed {"connection_id":195072,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:54:54] local.INFO: Acknowledgment sent {"connection_id":195072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:54:55] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:55] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:55] local.INFO: IMEI packet received {"connection_id":193763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":193763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:54:56] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:56] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:56] local.INFO: IMEI packet received {"connection_id":193763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":193763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:54:59] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:59] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:54:59] local.INFO: IMEI packet received {"connection_id":193763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":193763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:00] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8173638012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8173638012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:55:00] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8173638012d1a8b40071fae380034009f2a..."} 
[2026-09-25 15:55:00] local.INFO: Packet analysis {"connection_id":193763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:00] local.INFO: Extracted packet for processing {"connection_id":193763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":42,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324934144001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331795000,"timestamp_ms":1790331795000,"timestamp_seconds":1790331795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8173638"} 
[2026-09-25 15:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:55:00] 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-25 15:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324934144001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324934144001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324934144001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:55:00] 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":895665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:00] local.INFO: GPS data processed {"connection_id":193763,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:00] local.INFO: Acknowledgment sent {"connection_id":193763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:03] local.INFO: TCP Data received {"connection_id":193762,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:03] local.INFO: Processing buffer {"connection_id":193762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:03] local.INFO: Packet analysis {"connection_id":193762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:55:03] local.INFO: Extracted packet for processing {"connection_id":193762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55: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-25 15:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:55: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-25 15:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:55: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-25 15:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:55:03] 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-25 15:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:55: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-25 15:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:55:03] 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":895666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:03] local.INFO: GPS data processed {"connection_id":193762,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:03] local.INFO: Acknowledgment sent {"connection_id":193762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:06] local.INFO: TCP Data received {"connection_id":192225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d817a398012d7a3a4005ebca380006008522..."} 
[2026-09-25 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d817a398012d7a3a4005ebca380006008522..."} 
[2026-09-25 15:55:06] local.INFO: Processing buffer {"connection_id":192225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d817a398012d7a3a4005ebca380006008522..."} 
[2026-09-25 15:55:06] local.INFO: Packet analysis {"connection_id":192225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:06] local.INFO: Extracted packet for processing {"connection_id":192225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":762985024,"raw_latitude":99338808,"longitude_deg":76.2985024,"latitude_deg":9.9338808,"altitude":6,"angle":133,"satellites":34,"speed":3,"hex_longitude":"2d7a3a40","hex_latitude":"05ebca38","is_valid_coordinates":true} 
[2026-09-25 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-25 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324942848001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135813583228370944,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806085409312419840,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790331823000,"timestamp_ms":1790331823000,"timestamp_seconds":1790331823,"priority":1,"record_length":96,"hex_timestamp":"000001a0d817a398"} 
[2026-09-25 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-25 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:06] 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-25 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-25 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-25 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324942848001,"66":13374,"163":206,"87":13824,"24":3,"16":135813583228370944,"45":8806085409312419840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-25 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324942848001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 15:55:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135813583228370944,"km_value":135813583228370.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806085409312419840,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324942848001,"power":13374,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8806085409312419840}} 
[2026-09-25 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":192225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:06] local.INFO: GPS data processed {"connection_id":192225,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:06] local.INFO: Acknowledgment sent {"connection_id":192225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:18] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:55:18] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:18] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:20] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:20] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:20] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:22] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:22] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:55:22] local.INFO: IMEI packet received {"connection_id":192402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":192402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:24] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d818ad38012d0b434007054b80001c00b311..."} 
[2026-09-25 15:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d818ad38012d0b434007054b80001c00b311..."} 
[2026-09-25 15:55:24] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d818ad38012d0b434007054b80001c00b311..."} 
[2026-09-25 15:55:24] local.INFO: Packet analysis {"connection_id":192402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:24] local.INFO: Extracted packet for processing {"connection_id":192402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755712832,"raw_latitude":117787520,"longitude_deg":75.5712832,"latitude_deg":11.778752,"altitude":28,"angle":179,"satellites":17,"speed":21,"hex_longitude":"2d0b4340","hex_latitude":"07054b80","is_valid_coordinates":true} 
[2026-09-25 15:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324963840001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33848989447094272,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811562756754747392,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:24] 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-25 15:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790331891000,"timestamp_ms":1790331891000,"timestamp_seconds":1790331891,"priority":1,"record_length":96,"hex_timestamp":"000001a0d818ad38"} 
[2026-09-25 15:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 15:55: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-25 15:55: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-25 15:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324963840001,"66":14407,"153":206,"94":10240,"24":21,"16":33848989447094272,"45":811562756754747392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324963840001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:24] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:55:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33848989447094272,"km_value":33848989447094.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":811562756754747392,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324963840001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":811562756754747392}} 
[2026-09-25 15:55:24] 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":895668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:24] local.INFO: GPS data processed {"connection_id":192402,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:24] local.INFO: Acknowledgment sent {"connection_id":192402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:25] local.INFO: TCP Data received {"connection_id":195073,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:25] local.INFO: Processing buffer {"connection_id":195073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:25] local.INFO: IMEI packet received {"connection_id":195073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":195073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:55:29] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:29] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:29] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:55:30] local.INFO: TCP Data received {"connection_id":195073,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:30] local.INFO: Processing buffer {"connection_id":195073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:55:30] local.INFO: IMEI packet received {"connection_id":195073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":195073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:31] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d818b508012d0b420007054658001c00c011..."} 
[2026-09-25 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d818b508012d0b420007054658001c00c011..."} 
[2026-09-25 15:55:31] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d818b508012d0b420007054658001c00c011..."} 
[2026-09-25 15:55:31] local.INFO: Packet analysis {"connection_id":192402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:31] local.INFO: Extracted packet for processing {"connection_id":192402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":755712512,"raw_latitude":117786200,"longitude_deg":75.5712512,"latitude_deg":11.77862,"altitude":28,"angle":192,"satellites":17,"speed":28,"hex_longitude":"2d0b4200","hex_latitude":"07054658","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324964096001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33849053871603712,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811562756754604032,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] 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-25 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331893000,"timestamp_ms":1790331893000,"timestamp_seconds":1790331893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d818b508"} 
[2026-09-25 15: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-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:31] 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-25 15: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-25 15: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-25 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324964096001,"66":14407,"153":206,"94":10240,"24":28,"16":33849053871603712,"45":811562756754604032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324964096001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33849053871603712,"km_value":33849053871603.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":811562756754604032,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324964096001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":811562756754604032}} 
[2026-09-25 15:55:31] local.INFO: TCP Data received {"connection_id":195073,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:31] local.INFO: Processing buffer {"connection_id":195073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:55:31] local.INFO: Packet analysis {"connection_id":195073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:55:31] local.INFO: Extracted packet for processing {"connection_id":195073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55: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-25 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15: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-25 15:55: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-25 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:55: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-25 15: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-25 15: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-25 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:55:31] 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-25 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:55: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-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:55:31] 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":895669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:31] local.INFO: GPS data processed {"connection_id":192402,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:31] local.INFO: Acknowledgment sent {"connection_id":192402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":195073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:31] local.INFO: GPS data processed {"connection_id":195073,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:31] local.INFO: Acknowledgment sent {"connection_id":195073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:31] local.INFO: TCP Data received {"connection_id":193763,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8178840012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8178840012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:55:31] local.INFO: Processing buffer {"connection_id":193763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8178840012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:55:31] local.INFO: Packet analysis {"connection_id":193763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:31] local.INFO: Extracted packet for processing {"connection_id":193763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324939520001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:31] 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-25 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331816000,"timestamp_ms":1790331816000,"timestamp_seconds":1790331816,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8178840"} 
[2026-09-25 15: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-25 15:55:31] 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-25 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15: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-25 15: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-25 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324939520001,"66":12319,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324939520001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324939520001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:55:31] 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":895671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:31] local.INFO: GPS data processed {"connection_id":193763,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:31] local.INFO: Acknowledgment sent {"connection_id":193763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:33] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:33] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:33] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:38] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:38] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:55:38] local.INFO: IMEI packet received {"connection_id":192226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":192226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:55:40] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d817bef0012d7a3b0005ebc930000500981f..."} 
[2026-09-25 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d817bef0012d7a3b0005ebc930000500981f..."} 
[2026-09-25 15:55:40] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d817bef0012d7a3b0005ebc930000500981f..."} 
[2026-09-25 15:55:40] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:40] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":99338544,"longitude_deg":76.2985216,"latitude_deg":9.9338544,"altitude":5,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2d7a3b00","hex_latitude":"05ebc930","is_valid_coordinates":true} 
[2026-09-25 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324946688001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135813600408240128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807422415451338752,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790331830000,"timestamp_ms":1790331830000,"timestamp_seconds":1790331830,"priority":1,"record_length":96,"hex_timestamp":"000001a0d817bef0"} 
[2026-09-25 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:55: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-25 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324946688001,"66":13820,"163":206,"87":13824,"24":0,"16":135813600408240128,"45":8807422415451338752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-25 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324946688001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 15:55:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135813600408240128,"km_value":135813600408240.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807422415451338752,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324946688001,"power":13820,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8807422415451338752}} 
[2026-09-25 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:40] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:40] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:42] local.INFO: TCP Data received {"connection_id":192226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8180d10012d7a48c005ebace00002009a25..."} 
[2026-09-25 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8180d10012d7a48c005ebace00002009a25..."} 
[2026-09-25 15:55:42] local.INFO: Processing buffer {"connection_id":192226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8180d10012d7a48c005ebace00002009a25..."} 
[2026-09-25 15:55:42] local.INFO: Packet analysis {"connection_id":192226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:42] local.INFO: Extracted packet for processing {"connection_id":192226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":762988736,"raw_latitude":99331296,"longitude_deg":76.2988736,"latitude_deg":9.9331296,"altitude":2,"angle":154,"satellites":37,"speed":29,"hex_longitude":"2d7a48c0","hex_latitude":"05ebace0","is_valid_coordinates":true} 
[2026-09-25 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324948480001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135813991250264064,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807633521683804160,"note":"Value kept but may cause issues"} 
[2026-09-25 15:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790331850000,"timestamp_ms":1790331850000,"timestamp_seconds":1790331850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8180d10"} 
[2026-09-25 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:55: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-25 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 15:55:42] 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-25 15:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324948480001,"66":13374,"163":206,"87":13824,"24":29,"16":135813991250264064,"45":8807633521683804160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-25 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324948480001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:55:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 15:55:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135813991250264064,"km_value":135813991250264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807633521683804160,"description":"Unknown IO ID 45"} 
[2026-09-25 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324948480001,"power":13374,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8807633521683804160}} 
[2026-09-25 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":192226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:55:42] local.INFO: GPS data processed {"connection_id":192226,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:55:42] local.INFO: Acknowledgment sent {"connection_id":192226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:55:54] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:54] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:54] local.INFO: IMEI packet received {"connection_id":193764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":193764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:55:59] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:59] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:55:59] local.INFO: IMEI packet received {"connection_id":193764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":193764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:00] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d817da48012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d817da48012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:56:00] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d817da48012d1a8b40071fae380034009f26..."} 
[2026-09-25 15:56:00] local.INFO: Packet analysis {"connection_id":193764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:56:00] local.INFO: Extracted packet for processing {"connection_id":193764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d817"} 
[2026-09-25 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324944896001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331837000,"timestamp_ms":1790331837000,"timestamp_seconds":1790331837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d817da48"} 
[2026-09-25 15:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56:00] 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-25 15:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 15:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324944896001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324944896001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324944896001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:56:00] 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":895674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:00] local.INFO: GPS data processed {"connection_id":193764,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:00] local.INFO: Acknowledgment sent {"connection_id":193764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:02] local.INFO: TCP Data received {"connection_id":192402,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d818e000012d0b3a8007052320001a00c011..."} 
[2026-09-25 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d818e000012d0b3a8007052320001a00c011..."} 
[2026-09-25 15:56:02] local.INFO: Processing buffer {"connection_id":192402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d818e000012d0b3a8007052320001a00c011..."} 
[2026-09-25 15:56:02] local.INFO: Packet analysis {"connection_id":192402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:56:02] local.INFO: Extracted packet for processing {"connection_id":192402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":755710592,"raw_latitude":117777184,"longitude_deg":75.5710592,"latitude_deg":11.7777184,"altitude":26,"angle":192,"satellites":17,"speed":31,"hex_longitude":"2d0b3a80","hex_latitude":"07052320","is_valid_coordinates":true} 
[2026-09-25 15:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324964608001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33849500548202496,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811210913033377792,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:02] 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-25 15:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331904000,"timestamp_ms":1790331904000,"timestamp_seconds":1790331904,"priority":1,"record_length":96,"hex_timestamp":"000001a0d818e000"} 
[2026-09-25 15:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 15:56:02] 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-25 15:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 15:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 15:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 15:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324964608001,"66":14559,"153":206,"94":10240,"24":31,"16":33849500548202496,"45":811210913033377792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-25 15:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 15:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 15:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324964608001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:02] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-25 15:56:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 15:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33849500548202496,"km_value":33849500548202.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":811210913033377792,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324964608001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":811210913033377792}} 
[2026-09-25 15:56:02] 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":895675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:02] local.INFO: GPS data processed {"connection_id":192402,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:02] local.INFO: Acknowledgment sent {"connection_id":192402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:03] local.INFO: TCP Data received {"connection_id":195073,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:56:03] local.INFO: Processing buffer {"connection_id":195073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d814e860012d34c14006aa49080009006e28..."} 
[2026-09-25 15:56:03] local.INFO: Packet analysis {"connection_id":195073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:56:03] local.INFO: Extracted packet for processing {"connection_id":195073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d814"} 
[2026-09-25 15:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324823808001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56: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-25 15:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331644000,"timestamp_ms":1790331644000,"timestamp_seconds":1790331644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d814e860"} 
[2026-09-25 15:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56: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-25 15:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 15:56: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-25 15:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:56:03] 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-25 15:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324823808001,"66":25560,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324823808001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:56: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-25 15:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324823808001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":195073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:03] local.INFO: GPS data processed {"connection_id":195073,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:03] local.INFO: Acknowledgment sent {"connection_id":195073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:17] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:17] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:17] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 15:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:56:20] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:20] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:20] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:21] local.INFO: TCP Data received {"connection_id":193765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:21] local.INFO: Processing buffer {"connection_id":193765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 15:56:21] local.INFO: IMEI packet received {"connection_id":193765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 15:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":193765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:25] local.INFO: TCP Data received {"connection_id":195074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:25] local.INFO: Processing buffer {"connection_id":195074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:25] local.INFO: IMEI packet received {"connection_id":195074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":195074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:56:30] local.INFO: TCP Data received {"connection_id":195074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:30] local.INFO: Processing buffer {"connection_id":195074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:56:30] local.INFO: IMEI packet received {"connection_id":195074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":195074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:31] local.INFO: TCP Data received {"connection_id":195074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:56:31] local.INFO: Processing buffer {"connection_id":195074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:56:31] local.INFO: Packet analysis {"connection_id":195074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:56:31] local.INFO: Extracted packet for processing {"connection_id":195074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56: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-25 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:56:31] 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-25 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:56: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-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":195074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:31] local.INFO: GPS data processed {"connection_id":195074,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:31] local.INFO: Acknowledgment sent {"connection_id":195074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:31] local.INFO: TCP Data received {"connection_id":193764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8182c50012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8182c50012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:56:31] local.INFO: Processing buffer {"connection_id":193764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8182c50012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:56:31] local.INFO: Packet analysis {"connection_id":193764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:56:31] local.INFO: Extracted packet for processing {"connection_id":193764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324950272001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] 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-25 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331858000,"timestamp_ms":1790331858000,"timestamp_seconds":1790331858,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8182c50"} 
[2026-09-25 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56:31] 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-25 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2876221194453050741,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44799601273733120,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074386638,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 15:56:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,140,160,136,45,64,174,52,36,10,66,54,42,228,1,240,207,227,216,31,4,113,205,139,56,40,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 15:56:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169875529826304,"timestamp_seconds":3747169875529826.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324950272001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324950272001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324950272001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:56:31] 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":895678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:31] local.INFO: GPS data processed {"connection_id":193764,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:31] local.INFO: Acknowledgment sent {"connection_id":193764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:33] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:33] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:33] local.INFO: IMEI packet received {"connection_id":193766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":193766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:56:34] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:34] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:34] local.INFO: IMEI packet received {"connection_id":193766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":193766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:38] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:38] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:56:38] local.INFO: IMEI packet received {"connection_id":193766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":193766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:56:39] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d819a350012d7b270005ebee88000e00402a..."} 
[2026-09-25 15:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d819a350012d7b270005ebee88000e00402a..."} 
[2026-09-25 15:56:39] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d819a350012d7b270005ebee88000e00402a..."} 
[2026-09-25 15:56:39] local.INFO: Packet analysis {"connection_id":193766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:56:39] local.INFO: Extracted packet for processing {"connection_id":193766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":99348104,"longitude_deg":76.3045632,"latitude_deg":9.9348104,"altitude":14,"angle":64,"satellites":42,"speed":27,"hex_longitude":"2d7b2700","hex_latitude":"05ebee88","is_valid_coordinates":true} 
[2026-09-25 15:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135817117986455552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573213245440,"note":"Value kept but may cause issues"} 
[2026-09-25 15:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790331954000,"timestamp_ms":1790331954000,"timestamp_seconds":1790331954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d819a350"} 
[2026-09-25 15:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 15:56:39] 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-25 15:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324976640001,"66":13820,"99":206,"87":13824,"24":27,"16":135817117986455552,"45":8864702573213245440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:56:39] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:56:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135817117986455552,"km_value":135817117986455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573213245440,"description":"Unknown IO ID 45"} 
[2026-09-25 15:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324976640001,"power":13820,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8864702573213245440}} 
[2026-09-25 15:56:39] 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":895679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:56:39] local.INFO: GPS data processed {"connection_id":193766,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:56:39] local.INFO: Acknowledgment sent {"connection_id":193766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:56:54] local.INFO: TCP Data received {"connection_id":195075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:54] local.INFO: Processing buffer {"connection_id":195075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:54] local.INFO: IMEI packet received {"connection_id":195075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":195075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:56:59] local.INFO: TCP Data received {"connection_id":195075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:59] local.INFO: Processing buffer {"connection_id":195075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:56:59] local.INFO: IMEI packet received {"connection_id":195075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":195075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:57:00] local.INFO: TCP Data received {"connection_id":195075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8187e58012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8187e58012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:57:00] local.INFO: Processing buffer {"connection_id":195075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8187e58012d1a8b40071fae380034009f24..."} 
[2026-09-25 15:57:00] local.INFO: Packet analysis {"connection_id":195075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:57:00] local.INFO: Extracted packet for processing {"connection_id":195075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":36,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324955648001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331879000,"timestamp_ms":1790331879000,"timestamp_seconds":1790331879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8187e58"} 
[2026-09-25 15:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2876131000139834741,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44798501762105344,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305838286,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 15:57:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,101,83,24,241,157,16,140,160,218,45,64,174,52,38,10,66,136,36,54,1,240,53,227,216,31,4,113,205,146,139,56,40,239,48,2,81,7,41],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 15:57:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169884119760896,"timestamp_seconds":3747169884119761.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324955648001,"66":12374,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324955648001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324955648001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":195075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:00] local.INFO: GPS data processed {"connection_id":195075,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:00] local.INFO: Acknowledgment sent {"connection_id":195075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:02] local.INFO: TCP Data received {"connection_id":195074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:02] local.INFO: Processing buffer {"connection_id":195074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:02] local.INFO: Packet analysis {"connection_id":195074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:02] local.INFO: Extracted packet for processing {"connection_id":195074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57: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-25 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:02] 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-25 15:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:57:02] 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-25 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:57: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-25 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":195074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:02] local.INFO: GPS data processed {"connection_id":195074,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:02] local.INFO: Acknowledgment sent {"connection_id":195074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:10] local.INFO: TCP Data received {"connection_id":193766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d819d618012d7b478005ebfe88000f00412a..."} 
[2026-09-25 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d819d618012d7b478005ebfe88000f00412a..."} 
[2026-09-25 15:57:10] local.INFO: Processing buffer {"connection_id":193766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d819d618012d7b478005ebfe88000f00412a..."} 
[2026-09-25 15:57:10] local.INFO: Packet analysis {"connection_id":193766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:10] local.INFO: Extracted packet for processing {"connection_id":193766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763053952,"raw_latitude":99352200,"longitude_deg":76.3053952,"latitude_deg":9.93522,"altitude":15,"angle":65,"satellites":42,"speed":31,"hex_longitude":"2d7b4780","hex_latitude":"05ebfe88","is_valid_coordinates":true} 
[2026-09-25 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324980224001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135817564663054336,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061616189966336,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790331967000,"timestamp_ms":1790331967000,"timestamp_seconds":1790331967,"priority":1,"record_length":96,"hex_timestamp":"000001a0d819d618"} 
[2026-09-25 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:57: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-25 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:10] 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-25 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324980224001,"66":13624,"99":206,"87":13824,"24":31,"16":135817564663054336,"45":8874061616189966336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324980224001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:10] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135817564663054336,"km_value":135817564663054.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061616189966336,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324980224001,"power":13624,"unknown_99":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8874061616189966336}} 
[2026-09-25 15:57:10] 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":895682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:10] local.INFO: GPS data processed {"connection_id":193766,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:10] local.INFO: Acknowledgment sent {"connection_id":193766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:24] local.INFO: TCP Data received {"connection_id":193767,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:57:24] local.INFO: Processing buffer {"connection_id":193767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:57:24] local.INFO: IMEI packet received {"connection_id":193767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":193767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:57:25] local.INFO: TCP Data received {"connection_id":195076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:25] local.INFO: Processing buffer {"connection_id":195076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:25] local.INFO: IMEI packet received {"connection_id":195076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":195076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:57:27] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: IMEI packet received {"connection_id":192403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":192403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:57:27] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:27] local.INFO: IMEI packet received {"connection_id":192403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":192403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:57:30] local.INFO: TCP Data received {"connection_id":195076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:30] local.INFO: Processing buffer {"connection_id":195076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:57:30] local.INFO: IMEI packet received {"connection_id":195076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":195076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:57:31] local.INFO: TCP Data received {"connection_id":195076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:31] local.INFO: Processing buffer {"connection_id":195076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:57:31] local.INFO: Packet analysis {"connection_id":195076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:31] local.INFO: Extracted packet for processing {"connection_id":195076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57: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-25 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:57: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-25 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:57: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-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":195076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:31] local.INFO: GPS data processed {"connection_id":195076,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:31] local.INFO: Acknowledgment sent {"connection_id":195076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:31] local.INFO: TCP Data received {"connection_id":195075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d818d060012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d818d060012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:57:31] local.INFO: Processing buffer {"connection_id":195075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d818d060012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:57:31] local.INFO: Packet analysis {"connection_id":195075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:57:31] local.INFO: Extracted packet for processing {"connection_id":195075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d818"} 
[2026-09-25 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324961024001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:31] 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-25 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331900000,"timestamp_ms":1790331900000,"timestamp_seconds":1790331900,"priority":1,"record_length":96,"hex_timestamp":"000001a0d818d060"} 
[2026-09-25 15:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:57:31] 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-25 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:31] 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-25 15:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324961024001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324961024001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324961024001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":195075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:31] local.INFO: GPS data processed {"connection_id":195075,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:31] local.INFO: Acknowledgment sent {"connection_id":195075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:33] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:33] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:57:33] local.INFO: IMEI packet received {"connection_id":192403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":192403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:57:34] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81a04f8012d7b6a8005ec0c480010004729..."} 
[2026-09-25 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81a04f8012d7b6a8005ec0c480010004729..."} 
[2026-09-25 15:57:34] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81a04f8012d7b6a8005ec0c480010004729..."} 
[2026-09-25 15:57:34] local.INFO: Packet analysis {"connection_id":192403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:57:34] local.INFO: Extracted packet for processing {"connection_id":192403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":99355720,"longitude_deg":76.3062912,"latitude_deg":9.935572,"altitude":16,"angle":71,"satellites":41,"speed":28,"hex_longitude":"2d7b6a80","hex_latitude":"05ec0c48","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324983552001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135818019929587712,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883209552934111232,"note":"Value kept but may cause issues"} 
[2026-09-25 15:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790331979000,"timestamp_ms":1790331979000,"timestamp_seconds":1790331979,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81a04f8"} 
[2026-09-25 15: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-25 15:57:34] 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-25 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 15:57:34] 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-25 15: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-25 15: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-25 15:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324983552001,"66":13798,"99":206,"87":13824,"24":28,"16":135818019929587712,"45":8883209552934111232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324983552001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:57:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:57:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135818019929587712,"km_value":135818019929587.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883209552934111232,"description":"Unknown IO ID 45"} 
[2026-09-25 15:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324983552001,"power":13798,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8883209552934111232}} 
[2026-09-25 15:57:34] 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":895685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:57:34] local.INFO: GPS data processed {"connection_id":192403,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:57:34] local.INFO: Acknowledgment sent {"connection_id":192403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:57:59] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:57:59] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:57:59] local.INFO: IMEI packet received {"connection_id":192229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":192229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:58:02] local.INFO: TCP Data received {"connection_id":195076,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:02] local.INFO: Processing buffer {"connection_id":195076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:02] local.INFO: Packet analysis {"connection_id":195076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:02] local.INFO: Extracted packet for processing {"connection_id":195076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58: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-25 15:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:02] 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-25 15:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 15:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:58:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:58: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-25 15:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":195076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:02] local.INFO: GPS data processed {"connection_id":195076,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:02] local.INFO: Acknowledgment sent {"connection_id":195076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:04] local.INFO: TCP Data received {"connection_id":195077,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:04] local.INFO: Processing buffer {"connection_id":195077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:04] local.INFO: IMEI packet received {"connection_id":195077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":195077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:58:04] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:04] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:04] local.INFO: IMEI packet received {"connection_id":192229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":192229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:05] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8192268012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8192268012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:05] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8192268012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:05] local.INFO: Packet analysis {"connection_id":192229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:05] local.INFO: Extracted packet for processing {"connection_id":192229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324966400001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331921000,"timestamp_ms":1790331921000,"timestamp_seconds":1790331921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8192268"} 
[2026-09-25 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:05] 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-25 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:05] 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-25 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324966400001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324966400001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324966400001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":192229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:05] local.INFO: GPS data processed {"connection_id":192229,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:05] local.INFO: Acknowledgment sent {"connection_id":192229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:05] local.INFO: TCP Data received {"connection_id":192403,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81a33d8012d7b8e0005ec17000010004829..."} 
[2026-09-25 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81a33d8012d7b8e0005ec17000010004829..."} 
[2026-09-25 15:58:05] local.INFO: Processing buffer {"connection_id":192403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81a33d8012d7b8e0005ec17000010004829..."} 
[2026-09-25 15:58:05] local.INFO: Packet analysis {"connection_id":192403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:58:05] local.INFO: Extracted packet for processing {"connection_id":192403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763072000,"raw_latitude":99358464,"longitude_deg":76.3072,"latitude_deg":9.9358464,"altitude":16,"angle":72,"satellites":41,"speed":28,"hex_longitude":"2d7b8e00","hex_latitude":"05ec1700","is_valid_coordinates":true} 
[2026-09-25 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324986624001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135818475196121088,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893061177119885312,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790331991000,"timestamp_ms":1790331991000,"timestamp_seconds":1790331991,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81a33d8"} 
[2026-09-25 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:05] 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-25 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:05] 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-25 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324986624001,"66":13450,"99":206,"87":13824,"24":28,"16":135818475196121088,"45":8893061177119885312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-25 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324986624001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135818475196121088,"km_value":135818475196121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893061177119885312,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324986624001,"power":13450,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8893061177119885312}} 
[2026-09-25 15:58:06] 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":895688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:06] local.INFO: GPS data processed {"connection_id":192403,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:06] local.INFO: Acknowledgment sent {"connection_id":192403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:06] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8197470012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8197470012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:06] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8197470012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:06] local.INFO: Packet analysis {"connection_id":192229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:06] local.INFO: Extracted packet for processing {"connection_id":192229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324971776001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790331942000,"timestamp_ms":1790331942000,"timestamp_seconds":1790331942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8197470"} 
[2026-09-25 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324971776001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324971776001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324971776001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":192229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:06] local.INFO: GPS data processed {"connection_id":192229,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:06] local.INFO: Acknowledgment sent {"connection_id":192229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:07] local.INFO: TCP Data received {"connection_id":195077,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:07] local.INFO: Processing buffer {"connection_id":195077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:07] local.INFO: IMEI packet received {"connection_id":195077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 15:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":195077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:09] local.INFO: TCP Data received {"connection_id":195077,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:09] local.INFO: Processing buffer {"connection_id":195077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 15:58:09] local.INFO: IMEI packet received {"connection_id":195077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":195077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:25] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:25] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:25] local.INFO: IMEI packet received {"connection_id":193769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":193769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:58:28] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:58:28] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:28] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:30] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:30] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:58:30] local.INFO: IMEI packet received {"connection_id":193769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":193769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:31] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:31] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:58:31] local.INFO: Packet analysis {"connection_id":193769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:31] local.INFO: Extracted packet for processing {"connection_id":193769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58: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-25 15:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:58:31] 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-25 15:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:58: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-25 15:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:58:31] 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":895690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:31] local.INFO: GPS data processed {"connection_id":193769,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:31] local.INFO: Acknowledgment sent {"connection_id":193769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:33] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:33] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:58:33] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:58:34] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81a6e70012d7bb10005ec2158000f004a28..."} 
[2026-09-25 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81a6e70012d7bb10005ec2158000f004a28..."} 
[2026-09-25 15:58:34] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81a6e70012d7bb10005ec2158000f004a28..."} 
[2026-09-25 15:58:34] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:58:34] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763080960,"raw_latitude":99361112,"longitude_deg":76.308096,"latitude_deg":9.9361112,"altitude":15,"angle":74,"satellites":40,"speed":22,"hex_longitude":"2d7bb100","hex_latitude":"05ec2158","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324989696001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135818926167687168,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903053538793816064,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332006000,"timestamp_ms":1790332006000,"timestamp_seconds":1790332006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81a6e70"} 
[2026-09-25 15: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-25 15:58:34] 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-25 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:34] 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-25 15: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-25 15: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-25 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324989696001,"66":13678,"198":206,"87":13824,"24":22,"16":135818926167687168,"45":8903053538793816064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324989696001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 15:58:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135818926167687168,"km_value":135818926167687.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903053538793816064,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324989696001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8903053538793816064}} 
[2026-09-25 15:58:34] 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":895691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:34] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:34] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:37] local.INFO: TCP Data received {"connection_id":192229,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d819c678012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d819c678012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:37] local.INFO: Processing buffer {"connection_id":192229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d819c678012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:58:37] local.INFO: Packet analysis {"connection_id":192229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:37] local.INFO: Extracted packet for processing {"connection_id":192229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977152001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:58:37] 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-25 15:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790331963000,"timestamp_ms":1790331963000,"timestamp_seconds":1790331963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d819c678"} 
[2026-09-25 15:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 15:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 15:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977152001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977152001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:58:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977152001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":192229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:58:37] local.INFO: GPS data processed {"connection_id":192229,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:58:37] local.INFO: Acknowledgment sent {"connection_id":192229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:58:54] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:54] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:54] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:58:59] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:59] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:58:59] local.INFO: IMEI packet received {"connection_id":192231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":192231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:59:00] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81a1880012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81a1880012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:59:00] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81a1880012d1a8b40071fae380034009f27..."} 
[2026-09-25 15:59:00] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:59:00] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324982528001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790331984000,"timestamp_ms":1790331984000,"timestamp_seconds":1790331984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81a1880"} 
[2026-09-25 15:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 15:59: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-25 15: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-25 15: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-25 15:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324982528001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324982528001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324982528001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:00] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:00] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:03] local.INFO: TCP Data received {"connection_id":193769,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:03] local.INFO: Processing buffer {"connection_id":193769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:03] local.INFO: Packet analysis {"connection_id":193769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:59:03] local.INFO: Extracted packet for processing {"connection_id":193769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:59: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-25 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:59:03] 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-25 15:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:59:03] 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-25 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:59: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-25 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:59:03] 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":895694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:03] local.INFO: GPS data processed {"connection_id":193769,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:03] local.INFO: Acknowledgment sent {"connection_id":193769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:05] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81c7dc8012d7d1d4005ec4190000401342a..."} 
[2026-09-25 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81c7dc8012d7d1d4005ec4190000401342a..."} 
[2026-09-25 15:59:05] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81c7dc8012d7d1d4005ec4190000401342a..."} 
[2026-09-25 15:59:05] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 15:59:05] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99369360,"longitude_deg":76.3174208,"latitude_deg":9.936936,"altitude":4,"angle":308,"satellites":42,"speed":5,"hex_longitude":"2d7d1d40","hex_latitude":"05ec4190","is_valid_coordinates":true} 
[2026-09-25 15: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-25 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325027840001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135823444473282560,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992485888,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332141000,"timestamp_ms":1790332141000,"timestamp_seconds":1790332141,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81c7dc8"} 
[2026-09-25 15: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-25 15:59:05] 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-25 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3625697864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963168768,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4023966314305956864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2147871801,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2312306688,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-8106478034392317947,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.WARNING: Large IO value detected {"io_id":121,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,87,24,241,157,16,138,160,106,45,64,63,4,43,10,66,102,192,62,5,42,86,1,240,117,227,216,236,113,205,30,245,209,248,239,53,198,2,226,27,121],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-09-25 15:59:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288595594401087488,"timestamp_seconds":288595594401087.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 15: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-25 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325027840001,"66":13319,"109":206,"87":13824,"24":5,"16":135823444473282560,"45":9015502791992485888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325027840001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 15:59:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135823444473282560,"km_value":135823444473282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992485888,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325027840001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015502791992485888}} 
[2026-09-25 15:59:05] 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":895695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:05] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:05] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:25] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:25] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:25] local.INFO: IMEI packet received {"connection_id":192406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 15:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:59:27] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:27] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:27] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:59:29] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:29] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:29] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:59:30] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:30] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 15:59:30] local.INFO: IMEI packet received {"connection_id":192406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:59:31] local.INFO: TCP Data received {"connection_id":192231,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81a6a88012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81a6a88012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:59:31] local.INFO: Processing buffer {"connection_id":192231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81a6a88012d1a8b40071fae380034009f28..."} 
[2026-09-25 15:59:31] local.INFO: Packet analysis {"connection_id":192231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:59:31] local.INFO: Extracted packet for processing {"connection_id":192231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 15:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324987904001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:31] 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-25 15:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332005000,"timestamp_ms":1790332005000,"timestamp_seconds":1790332005,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81a6a88"} 
[2026-09-25 15:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 15:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 15:59:31] 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-25 15:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 15:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 15:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 15:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324987904001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 15:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 15:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 15:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324987904001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 15:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 15:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324987904001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 15:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":192231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:31] local.INFO: GPS data processed {"connection_id":192231,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:31] local.INFO: Acknowledgment sent {"connection_id":192231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:32] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:32] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 15:59:32] local.INFO: Packet analysis {"connection_id":192406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:59:32] local.INFO: Extracted packet for processing {"connection_id":192406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 15:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 15:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 15:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 15:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 15:59:32] 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-25 15:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 15:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 15:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 15:59:32] 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-25 15:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 15:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 15:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 15:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 15:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 15:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 15:59:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 15:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 15:59:32] 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":895697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:32] local.INFO: GPS data processed {"connection_id":192406,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:32] local.INFO: Acknowledgment sent {"connection_id":192406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:33] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:33] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 15:59:33] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 15:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 15:59:34] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81c81b0012d7d1c4005ec41e0000401212b..."} 
[2026-09-25 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81c81b0012d7d1c4005ec41e0000401212b..."} 
[2026-09-25 15:59:34] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81c81b0012d7d1c4005ec41e0000401212b..."} 
[2026-09-25 15:59:34] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 15:59:34] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99369440,"longitude_deg":76.3173952,"latitude_deg":9.936944,"altitude":4,"angle":289,"satellites":43,"speed":7,"hex_longitude":"2d7d1c40","hex_latitude":"05ec41e0","is_valid_coordinates":true} 
[2026-09-25 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-25 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325028096001,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135823453063217152,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248334848,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332142000,"timestamp_ms":1790332142000,"timestamp_seconds":1790332142,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81c81b0"} 
[2026-09-25 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-25 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3625710864,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4118541902185770240,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3221613627,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278037,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2318860288,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963222016,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-4447303337151430651,"note":"Value kept but may cause issues"} 
[2026-09-25 15:59:34] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,109,87,24,241,157,16,138,160,121,45,128,65,4,42,10,66,106,64,63,43,102,192,1,240,51,227,216,236,113,205,20,35,244,88,239,52,198,2,226,5,8,29,110,27],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-09-25 15:59:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288569206122020864,"timestamp_seconds":288569206122020.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325028096001,"66":13602,"109":206,"87":13824,"24":7,"16":135823453063217152,"45":9015432423248334848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325028096001,"description":"Unknown IO ID 0"} 
[2026-09-25 15:59:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 15:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135823453063217152,"km_value":135823453063217.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248334848,"description":"Unknown IO ID 45"} 
[2026-09-25 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325028096001,"power":13602,"unknown_109":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015432423248334848}} 
[2026-09-25 15:59:34] 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":895698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 15:59:34] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-25 15:59:34] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 15:59:54] local.INFO: TCP Data received {"connection_id":195078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:54] local.INFO: Processing buffer {"connection_id":195078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:54] local.INFO: IMEI packet received {"connection_id":195078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":195078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 15:59:59] local.INFO: TCP Data received {"connection_id":195078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:59] local.INFO: Processing buffer {"connection_id":195078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 15:59:59] local.INFO: IMEI packet received {"connection_id":195078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":195078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:00:00] local.INFO: TCP Data received {"connection_id":195078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81abc90012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81abc90012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:00:00] local.INFO: Processing buffer {"connection_id":195078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81abc90012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:00:00] local.INFO: Packet analysis {"connection_id":195078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 16:00:00] local.INFO: Extracted packet for processing {"connection_id":195078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81a"} 
[2026-09-25 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324993280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332026000,"timestamp_ms":1790332026000,"timestamp_seconds":1790332026,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81abc90"} 
[2026-09-25 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:00: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-25 16:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324993280001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324993280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324993280001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":195078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:00] local.INFO: GPS data processed {"connection_id":195078,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:00] local.INFO: Acknowledgment sent {"connection_id":195078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:04] local.INFO: TCP Data received {"connection_id":192406,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:04] local.INFO: Processing buffer {"connection_id":192406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:04] local.INFO: Packet analysis {"connection_id":192406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:00:04] local.INFO: Extracted packet for processing {"connection_id":192406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00: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-25 16:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 16:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:00:04] 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-25 16:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:00: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-25 16:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:00:04] 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":895700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:04] local.INFO: GPS data processed {"connection_id":192406,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:04] local.INFO: Acknowledgment sent {"connection_id":192406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:05] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81c8598012d7d1bc005ec41f0000401142b..."} 
[2026-09-25 16:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81c8598012d7d1bc005ec41f0000401142b..."} 
[2026-09-25 16:00:05] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81c8598012d7d1bc005ec41f0000401142b..."} 
[2026-09-25 16:00:05] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:00:05] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99369456,"longitude_deg":76.3173824,"latitude_deg":9.9369456,"altitude":4,"angle":276,"satellites":43,"speed":8,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec41f0","is_valid_coordinates":true} 
[2026-09-25 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325028352001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135823461653151744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948271644672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332143000,"timestamp_ms":1790332143000,"timestamp_seconds":1790332143,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81c8598"} 
[2026-09-25 16:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:00:05] 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-25 16:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 16:00:05] 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-25 16:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325028352001,"66":13798,"109":206,"87":13824,"24":8,"16":135823461653151744,"45":9015150948271644672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-25 16:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325028352001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 16:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135823461653151744,"km_value":135823461653151.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948271644672,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325028352001,"power":13798,"unknown_109":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015150948271644672}} 
[2026-09-25 16:00:05] 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":895701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:05] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:05] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:25] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:25] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:25] local.INFO: IMEI packet received {"connection_id":192408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":192408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:00:27] local.INFO: TCP Data received {"connection_id":195079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:27] local.INFO: Processing buffer {"connection_id":195079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:27] local.INFO: IMEI packet received {"connection_id":195079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":195079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:00:30] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:30] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:00:30] local.INFO: IMEI packet received {"connection_id":192408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":192408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:00:31] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:31] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:00:31] local.INFO: Packet analysis {"connection_id":192408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:00:31] local.INFO: Extracted packet for processing {"connection_id":192408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00: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-25 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 16: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-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:00:31] 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-25 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:00: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-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:00:31] 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":895702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:31] local.INFO: GPS data processed {"connection_id":192408,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:31] local.INFO: Acknowledgment sent {"connection_id":192408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:31] local.INFO: TCP Data received {"connection_id":195078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81b0e98012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81b0e98012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:00:31] local.INFO: Processing buffer {"connection_id":195078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81b0e98012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:00:31] local.INFO: Packet analysis {"connection_id":195078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:00:31] local.INFO: Extracted packet for processing {"connection_id":195078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324998656001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:31] 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-25 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332047000,"timestamp_ms":1790332047000,"timestamp_seconds":1790332047,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81b0e98"} 
[2026-09-25 16: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-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324998656001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324998656001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324998656001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":195078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:31] local.INFO: GPS data processed {"connection_id":195078,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:31] local.INFO: Acknowledgment sent {"connection_id":195078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:33] local.INFO: TCP Data received {"connection_id":195079,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:33] local.INFO: Processing buffer {"connection_id":195079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:00:33] local.INFO: IMEI packet received {"connection_id":195079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":195079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:00:34] local.INFO: TCP Data received {"connection_id":195079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81cc030012d7cf60005ec40a80003010b2b..."} 
[2026-09-25 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81cc030012d7cf60005ec40a80003010b2b..."} 
[2026-09-25 16:00:34] local.INFO: Processing buffer {"connection_id":195079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81cc030012d7cf60005ec40a80003010b2b..."} 
[2026-09-25 16:00:34] local.INFO: Packet analysis {"connection_id":195079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:00:34] local.INFO: Extracted packet for processing {"connection_id":195079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99369128,"longitude_deg":76.316416,"latitude_deg":9.9369128,"altitude":3,"angle":267,"satellites":43,"speed":33,"hex_longitude":"2d7cf600","hex_latitude":"05ec40a8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325028608001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135823925509619712,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210783293440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332158000,"timestamp_ms":1790332158000,"timestamp_seconds":1790332158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81cc030"} 
[2026-09-25 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-25 16:00:34] 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-25 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:00:34] 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-25 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-25 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-25 16:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325028608001,"66":13319,"110":206,"87":13824,"24":33,"16":135823925509619712,"45":9015010210783293440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-25 16:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325028608001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:00:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-25 16:00:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135823925509619712,"km_value":135823925509619.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210783293440,"description":"Unknown IO ID 45"} 
[2026-09-25 16:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325028608001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9015010210783293440}} 
[2026-09-25 16:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":195079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:00:34] local.INFO: GPS data processed {"connection_id":195079,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:00:34] local.INFO: Acknowledgment sent {"connection_id":195079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:00:54] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: IMEI packet received {"connection_id":192234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":192234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:00:54] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:54] local.INFO: IMEI packet received {"connection_id":192234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":192234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:00:59] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:59] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:00:59] local.INFO: IMEI packet received {"connection_id":192234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":192234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:01:00] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81b60a0012d1a8b40071fae380034009f23..."} 
[2026-09-25 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81b60a0012d1a8b40071fae380034009f23..."} 
[2026-09-25 16:01:00] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81b60a0012d1a8b40071fae380034009f23..."} 
[2026-09-25 16:01:00] local.INFO: Packet analysis {"connection_id":192234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:01:00] local.INFO: Extracted packet for processing {"connection_id":192234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":35,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 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-25 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325004032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332068000,"timestamp_ms":1790332068000,"timestamp_seconds":1790332068,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81b60a0"} 
[2026-09-25 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-25 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:00] 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-25 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-25 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-25 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325004032001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325004032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325004032001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":192234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:00] local.INFO: GPS data processed {"connection_id":192234,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:00] local.INFO: Acknowledgment sent {"connection_id":192234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:02] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:01:02] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8198028012d34c14006aa49080011006e2a..."} 
[2026-09-25 16:01:02] local.INFO: Packet analysis {"connection_id":192408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:01:02] local.INFO: Extracted packet for processing {"connection_id":192408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d819"} 
[2026-09-25 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":17,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324900864001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01: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-25 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790331945000,"timestamp_ms":1790331945000,"timestamp_seconds":1790331945,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8198028"} 
[2026-09-25 16: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-25 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:02] 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-25 16: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-25 16: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-25 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:02] 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-25 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324900864001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324900864001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:01: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-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324900864001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:01:02] 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":895706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:02] local.INFO: GPS data processed {"connection_id":192408,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:02] local.INFO: Acknowledgment sent {"connection_id":192408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:05] local.INFO: TCP Data received {"connection_id":195079,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e1bd8012d7be68005ec2c680002009227..."} 
[2026-09-25 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e1bd8012d7be68005ec2c680002009227..."} 
[2026-09-25 16:01:05] local.INFO: Processing buffer {"connection_id":195079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e1bd8012d7be68005ec2c680002009227..."} 
[2026-09-25 16:01:05] local.INFO: Packet analysis {"connection_id":195079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:05] local.INFO: Extracted packet for processing {"connection_id":195079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763094656,"raw_latitude":99363944,"longitude_deg":76.3094656,"latitude_deg":9.9363944,"altitude":2,"angle":146,"satellites":39,"speed":15,"hex_longitude":"2d7be680","hex_latitude":"05ec2c68","is_valid_coordinates":true} 
[2026-09-25 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135827344303587328,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257487360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332247000,"timestamp_ms":1790332247000,"timestamp_seconds":1790332247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e1bd8"} 
[2026-09-25 16:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:01:05] 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-25 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:05] 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-25 16:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":13602,"198":206,"87":13824,"24":15,"16":135827344303587328,"45":8927682599257487360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 16:01:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135827344303587328,"km_value":135827344303587.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257487360,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":13602,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8927682599257487360}} 
[2026-09-25 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":195079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:05] local.INFO: GPS data processed {"connection_id":195079,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:05] local.INFO: Acknowledgment sent {"connection_id":195079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:30] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:30] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:30] local.INFO: IMEI packet received {"connection_id":193771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":193771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:01:31] local.INFO: TCP Data received {"connection_id":192234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81bb2a8012d1a8b40071fae380034009f25..."} 
[2026-09-25 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81bb2a8012d1a8b40071fae380034009f25..."} 
[2026-09-25 16:01:31] local.INFO: Processing buffer {"connection_id":192234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81bb2a8012d1a8b40071fae380034009f25..."} 
[2026-09-25 16:01:31] local.INFO: Packet analysis {"connection_id":192234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:01:31] local.INFO: Extracted packet for processing {"connection_id":192234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81b"} 
[2026-09-25 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":37,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325009408001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:31] 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-25 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332089000,"timestamp_ms":1790332089000,"timestamp_seconds":1790332089,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81bb2a8"} 
[2026-09-25 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:01:31] 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-25 16:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325009408001,"66":12319,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325009408001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325009408001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":192234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:31] local.INFO: GPS data processed {"connection_id":192234,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:31] local.INFO: Acknowledgment sent {"connection_id":192234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:33] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:33] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:33] local.INFO: IMEI packet received {"connection_id":193772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":193772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:01:35] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:35] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:01:35] local.INFO: IMEI packet received {"connection_id":193771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":193771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:01:37] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:37] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:37] local.INFO: Packet analysis {"connection_id":193771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:37] local.INFO: Extracted packet for processing {"connection_id":193771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:01: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-25 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:01:37] 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":895709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:37] local.INFO: GPS data processed {"connection_id":193771,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:37] local.INFO: Acknowledgment sent {"connection_id":193771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:37] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:37] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:01:37] local.INFO: IMEI packet received {"connection_id":193772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":193772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:01:39] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e3348012d7bec0005ec23480001009e29..."} 
[2026-09-25 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e3348012d7bec0005ec23480001009e29..."} 
[2026-09-25 16:01:39] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e3348012d7bec0005ec23480001009e29..."} 
[2026-09-25 16:01:39] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:39] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":99361608,"longitude_deg":76.3096064,"latitude_deg":9.9361608,"altitude":1,"angle":158,"satellites":41,"speed":19,"hex_longitude":"2d7bec00","hex_latitude":"05ec2348","is_valid_coordinates":true} 
[2026-09-25 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325055232001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135827477447573504,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234112000,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790332253000,"timestamp_ms":1790332253000,"timestamp_seconds":1790332253,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e3348"} 
[2026-09-25 16:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:39] 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-25 16:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325055232001,"66":13917,"198":206,"87":13824,"24":19,"16":135827477447573504,"45":8927964074234112000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 16:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325055232001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 16:01:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135827477447573504,"km_value":135827477447573.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234112000,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325055232001,"power":13917,"unknown_198":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8927964074234112000}} 
[2026-09-25 16:01:39] 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":895710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:39] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:39] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:40] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e42e8012d7beec005ec1ad0000200ab28..."} 
[2026-09-25 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e42e8012d7beec005ec1ad0000200ab28..."} 
[2026-09-25 16:01:40] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e42e8012d7beec005ec1ad0000200ab28..."} 
[2026-09-25 16:01:40] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:40] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":763096768,"raw_latitude":99359440,"longitude_deg":76.3096768,"latitude_deg":9.935944,"altitude":2,"angle":171,"satellites":40,"speed":23,"hex_longitude":"2d7beec0","hex_latitude":"05ec1ad0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325056768001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135827589116723200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186605422592,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790332257000,"timestamp_ms":1790332257000,"timestamp_seconds":1790332257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e42e8"} 
[2026-09-25 16: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-25 16:01: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-25 16: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-25 16:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325056768001,"66":13656,"198":206,"87":13824,"24":23,"16":135827589116723200,"45":8929512186605422592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-25 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325056768001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 16:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135827589116723200,"km_value":135827589116723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186605422592,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325056768001,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8929512186605422592}} 
[2026-09-25 16:01: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":895711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:40] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:40] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:41] local.INFO: TCP Data received {"connection_id":193771,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:41] local.INFO: Processing buffer {"connection_id":193771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:01:41] local.INFO: Packet analysis {"connection_id":193771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:41] local.INFO: Extracted packet for processing {"connection_id":193771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 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-25 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:01: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-25 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-25 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-25 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:01:41] 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":895712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:01:41] local.INFO: GPS data processed {"connection_id":193771,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:01:41] local.INFO: Acknowledgment sent {"connection_id":193771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:01:55] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:55] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:55] local.INFO: IMEI packet received {"connection_id":193773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":193773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:01:56] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:56] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:56] local.INFO: IMEI packet received {"connection_id":193773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":193773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:01:59] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:59] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:01:59] local.INFO: IMEI packet received {"connection_id":193773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":193773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:02:00] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81c04b0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81c04b0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:02:00] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81c04b0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:02:00] local.INFO: Packet analysis {"connection_id":193773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:02:00] local.INFO: Extracted packet for processing {"connection_id":193773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325014784001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332110000,"timestamp_ms":1790332110000,"timestamp_seconds":1790332110,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81c04b0"} 
[2026-09-25 16:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 16:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325014784001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325014784001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:02:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325014784001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:02:00] 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":895713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:02:00] local.INFO: GPS data processed {"connection_id":193773,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:02:00] local.INFO: Acknowledgment sent {"connection_id":193773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:02:12] local.INFO: TCP Data received {"connection_id":193772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e7d80012d7bf50005ebf790000200ad28..."} 
[2026-09-25 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e7d80012d7bf50005ebf790000200ad28..."} 
[2026-09-25 16:02:12] local.INFO: Processing buffer {"connection_id":193772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e7d80012d7bf50005ebf790000200ad28..."} 
[2026-09-25 16:02:12] local.INFO: Packet analysis {"connection_id":193772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:02:12] local.INFO: Extracted packet for processing {"connection_id":193772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763098368,"raw_latitude":99350416,"longitude_deg":76.3098368,"latitude_deg":9.9350416,"altitude":2,"angle":173,"satellites":40,"speed":25,"hex_longitude":"2d7bf500","hex_latitude":"05ebf790","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325057792001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135828031498354688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930286242790821888,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790332272000,"timestamp_ms":1790332272000,"timestamp_seconds":1790332272,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e7d80"} 
[2026-09-25 16: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-25 16:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 16:02:12] 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-25 16: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-25 16: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-25 16:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325057792001,"66":13406,"98":206,"87":13824,"24":25,"16":135828031498354688,"45":8930286242790821888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-25 16:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325057792001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:02:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-25 16:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135828031498354688,"km_value":135828031498354.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930286242790821888,"description":"Unknown IO ID 45"} 
[2026-09-25 16:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325057792001,"power":13406,"unknown_98":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8930286242790821888}} 
[2026-09-25 16:02: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":895714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:02:12] local.INFO: GPS data processed {"connection_id":193772,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:02:12] local.INFO: Acknowledgment sent {"connection_id":193772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:02:25] local.INFO: TCP Data received {"connection_id":195080,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:25] local.INFO: Processing buffer {"connection_id":195080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:25] local.INFO: IMEI packet received {"connection_id":195080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":195080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:02:30] local.INFO: TCP Data received {"connection_id":195080,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:30] local.INFO: Processing buffer {"connection_id":195080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:02:30] local.INFO: IMEI packet received {"connection_id":195080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":195080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:02:31] local.INFO: TCP Data received {"connection_id":193773,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81c56b8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81c56b8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:02:31] local.INFO: Processing buffer {"connection_id":193773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81c56b8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:02:31] local.INFO: Packet analysis {"connection_id":193773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:02:31] local.INFO: Extracted packet for processing {"connection_id":193773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325020160001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:31] 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-25 16:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332131000,"timestamp_ms":1790332131000,"timestamp_seconds":1790332131,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81c56b8"} 
[2026-09-25 16:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325020160001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325020160001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325020160001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:02:31] 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":895715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:02:31] local.INFO: GPS data processed {"connection_id":193773,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:02:31] local.INFO: Acknowledgment sent {"connection_id":193773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:02:31] local.INFO: TCP Data received {"connection_id":195080,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:02:31] local.INFO: Processing buffer {"connection_id":195080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:02:31] local.INFO: Packet analysis {"connection_id":195080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:02:31] local.INFO: Extracted packet for processing {"connection_id":195080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:02: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-25 16:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:02:31] 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-25 16:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:02: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-25 16:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":195080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:02:31] local.INFO: GPS data processed {"connection_id":195080,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:02:31] local.INFO: Acknowledgment sent {"connection_id":195080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:02:54] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:54] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:54] local.INFO: IMEI packet received {"connection_id":193774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":193774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:02:57] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:57] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:57] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:02:59] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:59] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:02:59] local.INFO: IMEI packet received {"connection_id":193774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":193774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:02:59] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:59] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:02:59] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:00] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81ca8c0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81ca8c0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:03:00] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81ca8c0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:03:00] local.INFO: Packet analysis {"connection_id":193774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:03:00] local.INFO: Extracted packet for processing {"connection_id":193774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325025536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332152000,"timestamp_ms":1790332152000,"timestamp_seconds":1790332152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81ca8c0"} 
[2026-09-25 16:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2874958474068026741,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44798501762105344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074386638,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,140,160,4,45,64,174,52,41,10,66,178,37,96,1,240,53,227,216,31,113,205,188,139,56,39,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 16:03:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169884119760896,"timestamp_seconds":3747169884119761.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325025536001,"66":11363,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325025536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325025536001,"power":11363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:03:00] 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":895717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:00] local.INFO: GPS data processed {"connection_id":193774,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:00] local.INFO: Acknowledgment sent {"connection_id":193774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:01] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:01] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:01] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:02] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:02] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:02] local.INFO: IMEI packet received {"connection_id":193775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":193775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:03] local.INFO: TCP Data received {"connection_id":195080,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:03] local.INFO: Processing buffer {"connection_id":195080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:03] local.INFO: Packet analysis {"connection_id":195080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:03:03] local.INFO: Extracted packet for processing {"connection_id":195080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03: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-25 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:03:03] 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-25 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:03: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-25 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":195080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:03] local.INFO: GPS data processed {"connection_id":195080,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:03] local.INFO: Acknowledgment sent {"connection_id":195080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:04] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8200bf0012d7c304005eb1c98000300ab29..."} 
[2026-09-25 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8200bf0012d7c304005eb1c98000300ab29..."} 
[2026-09-25 16:03:04] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8200bf0012d7c304005eb1c98000300ab29..."} 
[2026-09-25 16:03:04] local.INFO: Packet analysis {"connection_id":193775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:04] local.INFO: Extracted packet for processing {"connection_id":193775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":99294360,"longitude_deg":76.3113536,"latitude_deg":9.929436,"altitude":3,"angle":171,"satellites":41,"speed":21,"hex_longitude":"2d7c3040","hex_latitude":"05eb1c98","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325087488001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135830879061671936,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948652485004660736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332374000,"timestamp_ms":1790332374000,"timestamp_seconds":1790332374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8200bf0"} 
[2026-09-25 16: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-25 16:03: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-25 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325087488001,"66":13624,"10":206,"87":13824,"24":21,"16":135830879061671936,"45":8948652485004660736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325087488001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135830879061671936,"km_value":135830879061671.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948652485004660736,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325087488001,"power":13624,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8948652485004660736}} 
[2026-09-25 16:03:04] 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":895719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:04] local.INFO: GPS data processed {"connection_id":193775,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:04] local.INFO: Acknowledgment sent {"connection_id":193775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:06] local.INFO: TCP Data received {"connection_id":193775,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8201b90012d7c32c005eb13800003009c2a..."} 
[2026-09-25 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8201b90012d7c32c005eb13800003009c2a..."} 
[2026-09-25 16:03:06] local.INFO: Processing buffer {"connection_id":193775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8201b90012d7c32c005eb13800003009c2a..."} 
[2026-09-25 16:03:06] local.INFO: Packet analysis {"connection_id":193775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:06] local.INFO: Extracted packet for processing {"connection_id":193775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":99292032,"longitude_deg":76.3114176,"latitude_deg":9.9292032,"altitude":3,"angle":156,"satellites":42,"speed":24,"hex_longitude":"2d7c32c0","hex_latitude":"05eb1380","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325087744001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135830999320756224,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853748709376,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790332378000,"timestamp_ms":1790332378000,"timestamp_seconds":1790332378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8201b90"} 
[2026-09-25 16: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-25 16:03:06] 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-25 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:06] 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-25 16: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-25 16: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-25 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325087744001,"66":13678,"10":206,"87":13824,"24":24,"16":135830999320756224,"45":8948722853748709376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325087744001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:03:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135830999320756224,"km_value":135830999320756.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853748709376,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325087744001,"power":13678,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8948722853748709376}} 
[2026-09-25 16:03:06] 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":895720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:06] local.INFO: GPS data processed {"connection_id":193775,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:06] local.INFO: Acknowledgment sent {"connection_id":193775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:25] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:25] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:25] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:03:30] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:30] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:03:30] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:31] local.INFO: TCP Data received {"connection_id":193774,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81cfac8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81cfac8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:03:31] local.INFO: Processing buffer {"connection_id":193774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81cfac8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:03:31] local.INFO: Packet analysis {"connection_id":193774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:03:31] local.INFO: Extracted packet for processing {"connection_id":193774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81c"} 
[2026-09-25 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325030912001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:31] 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-25 16:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332173000,"timestamp_ms":1790332173000,"timestamp_seconds":1790332173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81cfac8"} 
[2026-09-25 16:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1309,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325030912001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325030912001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325030912001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:03:31] 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":895721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:31] local.INFO: GPS data processed {"connection_id":193774,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:31] local.INFO: Acknowledgment sent {"connection_id":193774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:32] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: IMEI packet received {"connection_id":195081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":195081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:03:32] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:32] local.INFO: IMEI packet received {"connection_id":195081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":195081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:32] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:32] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:03:32] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:03:32] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:03: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-25 16:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:03:33] 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":895722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:33] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:33] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:34] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:03:34] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:03:34] local.INFO: IMEI packet received {"connection_id":192409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":192409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:03:38] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:38] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:03:38] local.INFO: IMEI packet received {"connection_id":195081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":195081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:03:38] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8202360012d7c358005eb0f680003008a2a..."} 
[2026-09-25 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8202360012d7c358005eb0f680003008a2a..."} 
[2026-09-25 16:03:38] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8202360012d7c358005eb0f680003008a2a..."} 
[2026-09-25 16:03:38] local.INFO: Packet analysis {"connection_id":195081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:38] local.INFO: Extracted packet for processing {"connection_id":195081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":99290984,"longitude_deg":76.311488,"latitude_deg":9.9290984,"altitude":3,"angle":138,"satellites":42,"speed":25,"hex_longitude":"2d7c3580","hex_latitude":"05eb0f68","is_valid_coordinates":true} 
[2026-09-25 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325088768001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831059450298368,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541189890048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790332380000,"timestamp_ms":1790332380000,"timestamp_seconds":1790332380,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8202360"} 
[2026-09-25 16:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:38] 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-25 16:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325088768001,"66":13450,"10":206,"87":13824,"24":25,"16":135831059450298368,"45":8949426541189890048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325088768001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:03:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831059450298368,"km_value":135831059450298.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541189890048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325088768001,"power":13450,"unknown_10":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8949426541189890048}} 
[2026-09-25 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":195081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:38] local.INFO: GPS data processed {"connection_id":195081,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:38] local.INFO: Acknowledgment sent {"connection_id":195081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:40] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8203300012d7c3bc005eb0868000400992a..."} 
[2026-09-25 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8203300012d7c3bc005eb0868000400992a..."} 
[2026-09-25 16:03:40] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8203300012d7c3bc005eb0868000400992a..."} 
[2026-09-25 16:03:40] local.INFO: Packet analysis {"connection_id":195081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:40] local.INFO: Extracted packet for processing {"connection_id":195081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":99289192,"longitude_deg":76.311648,"latitude_deg":9.9289192,"altitude":4,"angle":153,"satellites":42,"speed":22,"hex_longitude":"2d7c3bc0","hex_latitude":"05eb0868","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325089280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831175414415360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950200597375576064,"note":"Value kept but may cause issues"} 
[2026-09-25 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790332384000,"timestamp_ms":1790332384000,"timestamp_seconds":1790332384,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8203300"} 
[2026-09-25 16: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-25 16:03:40] 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-25 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325089280001,"66":13363,"10":206,"87":13824,"24":22,"16":135831175414415360,"45":8950200597375576064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325089280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:03:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831175414415360,"km_value":135831175414415.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950200597375576064,"description":"Unknown IO ID 45"} 
[2026-09-25 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325089280001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8950200597375576064}} 
[2026-09-25 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":195081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:03:40] local.INFO: GPS data processed {"connection_id":195081,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:03:40] local.INFO: Acknowledgment sent {"connection_id":195081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:03:59] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:03:59] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:03:59] local.INFO: IMEI packet received {"connection_id":193776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":193776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:02] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:02] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:02] local.INFO: IMEI packet received {"connection_id":193776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":193776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:04:03] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81d4cd0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81d4cd0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:04:03] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81d4cd0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:04:03] local.INFO: Packet analysis {"connection_id":193776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:03] local.INFO: Extracted packet for processing {"connection_id":193776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325036288001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332194000,"timestamp_ms":1790332194000,"timestamp_seconds":1790332194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81d4cd0"} 
[2026-09-25 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:03] 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-25 16:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325036288001,"66":12254,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325036288001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325036288001,"power":12254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:04:03] 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":895725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:03] local.INFO: GPS data processed {"connection_id":193776,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:03] local.INFO: Acknowledgment sent {"connection_id":193776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:04] local.INFO: TCP Data received {"connection_id":193777,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:04:04] local.INFO: Processing buffer {"connection_id":193777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:04:04] local.INFO: IMEI packet received {"connection_id":193777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":193777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:04] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81d9ed8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81d9ed8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:04:04] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81d9ed8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:04:04] local.INFO: Packet analysis {"connection_id":193776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:04] local.INFO: Extracted packet for processing {"connection_id":193776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325041664001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:04] 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-25 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332215000,"timestamp_ms":1790332215000,"timestamp_seconds":1790332215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81d9ed8"} 
[2026-09-25 16: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-25 16:04:04] 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-25 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:04] 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-25 16: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-25 16: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-25 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325041664001,"66":12319,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325041664001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325041664001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:04:04] 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":895726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:04] local.INFO: GPS data processed {"connection_id":193776,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:04] local.INFO: Acknowledgment sent {"connection_id":193776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:04] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:04] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:04] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:04:04] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16: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-25 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:04:04] 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":895727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:04] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:04] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:11] local.INFO: TCP Data received {"connection_id":195081,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8203ad0012d7c3cc005eb0440000400ab2a..."} 
[2026-09-25 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8203ad0012d7c3cc005eb0440000400ab2a..."} 
[2026-09-25 16:04:11] local.INFO: Processing buffer {"connection_id":195081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8203ad0012d7c3cc005eb0440000400ab2a..."} 
[2026-09-25 16:04:11] local.INFO: Packet analysis {"connection_id":195081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:11] local.INFO: Extracted packet for processing {"connection_id":195081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99288128,"longitude_deg":76.3116736,"latitude_deg":9.9288128,"altitude":4,"angle":171,"satellites":42,"speed":20,"hex_longitude":"2d7c3cc0","hex_latitude":"05eb0440","is_valid_coordinates":true} 
[2026-09-25 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325090304001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831226954022912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815979558912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790332386000,"timestamp_ms":1790332386000,"timestamp_seconds":1790332386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8203ad0"} 
[2026-09-25 16:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:04:11] 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-25 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":195081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":195081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325090304001,"66":13559,"10":206,"87":13824,"24":20,"16":135831226954022912,"45":8951959815979558912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325090304001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:04:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831226954022912,"km_value":135831226954022.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815979558912,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325090304001,"power":13559,"unknown_10":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8951959815979558912}} 
[2026-09-25 16:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":195081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:11] local.INFO: GPS data processed {"connection_id":195081,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:11] local.INFO: Acknowledgment sent {"connection_id":195081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:24] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:24] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:24] local.INFO: IMEI packet received {"connection_id":193778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":193778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:25] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:25] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:25] local.INFO: IMEI packet received {"connection_id":192411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":192411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:28] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:28] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:28] local.INFO: IMEI packet received {"connection_id":193778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":193778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:04:30] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:30] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:04:30] local.INFO: IMEI packet received {"connection_id":192411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:04:31] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:31] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:04:31] local.INFO: Packet analysis {"connection_id":192411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:04:31] local.INFO: Extracted packet for processing {"connection_id":192411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04: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-25 16:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:04:31] 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-25 16:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:04: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-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:04:31] 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":895729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:31] local.INFO: GPS data processed {"connection_id":192411,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:31] local.INFO: Acknowledgment sent {"connection_id":192411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:33] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:33] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:04:33] local.INFO: IMEI packet received {"connection_id":193778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":193778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:04:33] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82061e0012d7c3e4005eaef40000300b62a..."} 
[2026-09-25 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82061e0012d7c3e4005eaef40000300b62a..."} 
[2026-09-25 16:04:33] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82061e0012d7c3e4005eaef40000300b62a..."} 
[2026-09-25 16:04:33] local.INFO: Packet analysis {"connection_id":193778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:33] local.INFO: Extracted packet for processing {"connection_id":193778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":99282752,"longitude_deg":76.311712,"latitude_deg":9.9282752,"altitude":3,"angle":182,"satellites":42,"speed":13,"hex_longitude":"2d7c3e40","hex_latitude":"05eaef40","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325090816001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831488947027968,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290955997184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332396000,"timestamp_ms":1790332396000,"timestamp_seconds":1790332396,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82061e0"} 
[2026-09-25 16: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-25 16:04:33] 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-25 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:33] 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-25 16: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-25 16: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-25 16:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325090816001,"66":13820,"10":206,"87":13824,"24":13,"16":135831488947027968,"45":8952241290955997184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325090816001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831488947027968,"km_value":135831488947027.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290955997184,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325090816001,"power":13820,"unknown_10":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8952241290955997184}} 
[2026-09-25 16:04:33] 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":895730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:33] local.INFO: GPS data processed {"connection_id":193778,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:33] local.INFO: Acknowledgment sent {"connection_id":193778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:35] local.INFO: TCP Data received {"connection_id":193776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81df0e0012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81df0e0012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:04:35] local.INFO: Processing buffer {"connection_id":193776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81df0e0012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:04:35] local.INFO: Packet analysis {"connection_id":193776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:35] local.INFO: Extracted packet for processing {"connection_id":193776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81d"} 
[2026-09-25 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 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-25 16:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325047040001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:35] 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-25 16:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790332236000,"timestamp_ms":1790332236000,"timestamp_seconds":1790332236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81df0e0"} 
[2026-09-25 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-25 16:04:35] 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-25 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325047040001,"66":12319,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325047040001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325047040001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:04: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":895731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:35] local.INFO: GPS data processed {"connection_id":193776,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:35] local.INFO: Acknowledgment sent {"connection_id":193776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:48] local.INFO: TCP Data received {"connection_id":195082,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:48] local.INFO: Processing buffer {"connection_id":195082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:48] local.INFO: IMEI packet received {"connection_id":195082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":195082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:54] local.INFO: TCP Data received {"connection_id":195083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:54] local.INFO: Processing buffer {"connection_id":195083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:54] local.INFO: IMEI packet received {"connection_id":195083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":195083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:04:55] local.INFO: TCP Data received {"connection_id":195082,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:55] local.INFO: Processing buffer {"connection_id":195082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:04:55] local.INFO: IMEI packet received {"connection_id":195082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":195082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:04:58] local.INFO: TCP Data received {"connection_id":195082,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d820f268012d0c24400705e0800017000e16..."} 
[2026-09-25 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d820f268012d0c24400705e0800017000e16..."} 
[2026-09-25 16:04:58] local.INFO: Processing buffer {"connection_id":195082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d820f268012d0c24400705e0800017000e16..."} 
[2026-09-25 16:04:58] local.INFO: Packet analysis {"connection_id":195082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:58] local.INFO: Extracted packet for processing {"connection_id":195082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117825664,"longitude_deg":75.5770432,"latitude_deg":11.7825664,"altitude":23,"angle":14,"satellites":22,"speed":9,"hex_longitude":"2d0c2440","hex_latitude":"0705e080","is_valid_coordinates":true} 
[2026-09-25 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325099264001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33859572246511616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874402045313097728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:04:58] 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-25 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790332433000,"timestamp_ms":1790332433000,"timestamp_seconds":1790332433,"priority":1,"record_length":96,"hex_timestamp":"000001a0d820f268"} 
[2026-09-25 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:04:58] 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-25 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325099264001,"66":14439,"164":206,"94":10240,"24":9,"16":33859572246511616,"45":874402045313097728},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-25 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325099264001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33859572246511616,"km_value":33859572246511.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":874402045313097728,"description":"Unknown IO ID 45"} 
[2026-09-25 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325099264001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":874402045313097728}} 
[2026-09-25 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":195082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:04:58] local.INFO: GPS data processed {"connection_id":195082,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:04:58] local.INFO: Acknowledgment sent {"connection_id":195082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:04:59] local.INFO: TCP Data received {"connection_id":195083,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:59] local.INFO: Processing buffer {"connection_id":195083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:04:59] local.INFO: IMEI packet received {"connection_id":195083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":195083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:00] local.INFO: TCP Data received {"connection_id":195083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e42e8012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e42e8012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:05:00] local.INFO: Processing buffer {"connection_id":195083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e42e8012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:05:00] local.INFO: Packet analysis {"connection_id":195083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:00] local.INFO: Extracted packet for processing {"connection_id":195083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325052416001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332257000,"timestamp_ms":1790332257000,"timestamp_seconds":1790332257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e42e8"} 
[2026-09-25 16:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325052416001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325052416001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325052416001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":195083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:00] local.INFO: GPS data processed {"connection_id":195083,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:00] local.INFO: Acknowledgment sent {"connection_id":195083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:02] local.INFO: TCP Data received {"connection_id":192411,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:02] local.INFO: Processing buffer {"connection_id":192411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:02] local.INFO: Packet analysis {"connection_id":192411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:02] local.INFO: Extracted packet for processing {"connection_id":192411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05: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-25 16:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:05:02] 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-25 16:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:05:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:05: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-25 16:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:05:02] 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":895734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:02] local.INFO: GPS data processed {"connection_id":192411,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:02] local.INFO: Acknowledgment sent {"connection_id":192411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:04] local.INFO: TCP Data received {"connection_id":195083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e94f0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e94f0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:04] local.INFO: Processing buffer {"connection_id":195083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e94f0012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:04] local.INFO: Packet analysis {"connection_id":195083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:04] local.INFO: Extracted packet for processing {"connection_id":195083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325057792001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:04] 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-25 16:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332278000,"timestamp_ms":1790332278000,"timestamp_seconds":1790332278,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e94f0"} 
[2026-09-25 16: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-25 16:05:04] 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-25 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:04] 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-25 16: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-25 16: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-25 16:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325057792001,"66":11721,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325057792001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325057792001,"power":11721,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":195083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:05] local.INFO: GPS data processed {"connection_id":195083,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:05] local.INFO: Acknowledgment sent {"connection_id":195083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:05] local.INFO: TCP Data received {"connection_id":193778,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8209890012d7c3ec005ead0f8000200aa2a..."} 
[2026-09-25 16:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8209890012d7c3ec005ead0f8000200aa2a..."} 
[2026-09-25 16:05:05] local.INFO: Processing buffer {"connection_id":193778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8209890012d7c3ec005ead0f8000200aa2a..."} 
[2026-09-25 16:05:05] local.INFO: Packet analysis {"connection_id":193778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:05:05] local.INFO: Extracted packet for processing {"connection_id":193778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99275000,"longitude_deg":76.3117248,"latitude_deg":9.9275,"altitude":2,"angle":170,"satellites":42,"speed":12,"hex_longitude":"2d7c3ec0","hex_latitude":"05ead0f8","is_valid_coordinates":true} 
[2026-09-25 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325093376001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831866904150016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503419686912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332410000,"timestamp_ms":1790332410000,"timestamp_seconds":1790332410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8209890"} 
[2026-09-25 16:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:05:05] 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-25 16:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:05] 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-25 16:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325093376001,"66":13341,"10":206,"87":13824,"24":12,"16":135831866904150016,"45":8952663503419686912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325093376001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831866904150016,"km_value":135831866904150.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503419686912,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325093376001,"power":13341,"unknown_10":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8952663503419686912}} 
[2026-09-25 16:05:05] 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":895736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:05] local.INFO: GPS data processed {"connection_id":193778,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:05] local.INFO: Acknowledgment sent {"connection_id":193778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:07] local.INFO: TCP Data received {"connection_id":195082,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:07] local.INFO: Processing buffer {"connection_id":195082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:07] local.INFO: Packet analysis {"connection_id":195082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:05:07] local.INFO: Extracted packet for processing {"connection_id":195082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117834576,"longitude_deg":75.577184,"latitude_deg":11.7834576,"altitude":31,"angle":357,"satellites":22,"speed":13,"hex_longitude":"2d0c29c0","hex_latitude":"07060350","is_valid_coordinates":true} 
[2026-09-25 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-25 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325102848001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33860014628143104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874894626524266496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,178,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790332451000,"timestamp_ms":1790332451000,"timestamp_seconds":1790332451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82138b8"} 
[2026-09-25 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-25 16:05:07] 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-25 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:07] 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-25 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-25 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-25 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325102848001,"66":14428,"209":206,"178":8192,"24":13,"16":33860014628143104,"45":874894626524266496},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,178,24,16,45]} 
[2026-09-25 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325102848001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-25 16:05:07] local.INFO: Unknown IO ID detected {"io_id":178,"value":8192,"description":"Unknown IO ID 178"} 
[2026-09-25 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33860014628143104,"km_value":33860014628143.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":874894626524266496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325102848001,"power":14428,"unknown_209":206,"unknown_178":8192,"ignition":13,"odometer":null,"unknown_45":874894626524266496}} 
[2026-09-25 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":195082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:07] local.INFO: GPS data processed {"connection_id":195082,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:07] local.INFO: Acknowledgment sent {"connection_id":195082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:22] local.INFO: TCP Data received {"connection_id":192412,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:22] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:22] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:05:25] local.INFO: TCP Data received {"connection_id":192412,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:25] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:25] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:27] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:05:27] local.INFO: TCP Data received {"connection_id":192412,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:27] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:05:27] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:27] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:27] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:30] local.INFO: TCP Data received {"connection_id":195084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:30] local.INFO: Processing buffer {"connection_id":195084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:30] local.INFO: IMEI packet received {"connection_id":195084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":195084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:05:33] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:33] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:05:33] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:33] local.INFO: TCP Data received {"connection_id":192412,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:33] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82138b8012d0c29c007060350001f016516..."} 
[2026-09-25 16:05:33] local.INFO: Packet analysis {"connection_id":192412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:05:33] local.INFO: Extracted packet for processing {"connection_id":192412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:05:33] local.INFO: GPS Element Parsed {"raw_longitude":755771840,"raw_latitude":117834576,"longitude_deg":75.577184,"latitude_deg":11.7834576,"altitude":31,"angle":357,"satellites":22,"speed":13,"hex_longitude":"2d0c29c0","hex_latitude":"07060350","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325107456001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33860014628143104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876442738898456576,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,178,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332451000,"timestamp_ms":1790332451000,"timestamp_seconds":1790332451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82138b8"} 
[2026-09-25 16: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-25 16:05:33] 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-25 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325107456001,"66":14428,"209":206,"178":8192,"24":13,"16":33860014628143104,"45":876442738898456576},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,178,24,16,45]} 
[2026-09-25 16:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325107456001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-25 16:05:33] local.INFO: Unknown IO ID detected {"io_id":178,"value":8192,"description":"Unknown IO ID 178"} 
[2026-09-25 16:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33860014628143104,"km_value":33860014628143.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":876442738898456576,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325107456001,"power":14428,"unknown_209":206,"unknown_178":8192,"ignition":13,"odometer":null,"unknown_45":876442738898456576}} 
[2026-09-25 16:05:33] 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":895738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:33] local.INFO: GPS data processed {"connection_id":192412,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:33] local.INFO: Acknowledgment sent {"connection_id":192412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:34] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d820b7d0012d7c3f0005eace60000200b525..."} 
[2026-09-25 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d820b7d0012d7c3f0005eace60000200b525..."} 
[2026-09-25 16:05:34] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d820b7d0012d7c3f0005eace60000200b525..."} 
[2026-09-25 16:05:34] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:05:34] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99274336,"longitude_deg":76.3117312,"latitude_deg":9.9274336,"altitude":2,"angle":181,"satellites":37,"speed":10,"hex_longitude":"2d7c3f00","hex_latitude":"05eace60","is_valid_coordinates":true} 
[2026-09-25 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-25 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325096960001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831901263888384,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240906057728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332418000,"timestamp_ms":1790332418000,"timestamp_seconds":1790332418,"priority":1,"record_length":96,"hex_timestamp":"000001a0d820b7d0"} 
[2026-09-25 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-25 16:05:34] 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-25 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325096960001,"66":13472,"10":206,"87":13824,"24":10,"16":135831901263888384,"45":8952804240906057728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325096960001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:05:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831901263888384,"km_value":135831901263888.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240906057728,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325096960001,"power":13472,"unknown_10":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8952804240906057728}} 
[2026-09-25 16:05:34] 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":895739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:34] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:34] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:35] local.INFO: TCP Data received {"connection_id":195084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:35] local.INFO: Processing buffer {"connection_id":195084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:05:35] local.INFO: IMEI packet received {"connection_id":195084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":195084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:05:36] local.INFO: TCP Data received {"connection_id":195083,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81ee6f8012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81ee6f8012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:36] local.INFO: Processing buffer {"connection_id":195083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81ee6f8012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:05:36] local.INFO: Packet analysis {"connection_id":195083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:36] local.INFO: Extracted packet for processing {"connection_id":195083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325063168001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790332299000,"timestamp_ms":1790332299000,"timestamp_seconds":1790332299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81ee6f8"} 
[2026-09-25 16: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-25 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 16:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325063168001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325063168001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325063168001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":195083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:36] local.INFO: GPS data processed {"connection_id":195083,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:36] local.INFO: Acknowledgment sent {"connection_id":195083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:36] local.INFO: TCP Data received {"connection_id":195084,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:36] local.INFO: Processing buffer {"connection_id":195084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:05:36] local.INFO: Packet analysis {"connection_id":195084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:36] local.INFO: Extracted packet for processing {"connection_id":195084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 16: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-25 16:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:05: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-25 16: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-25 16: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-25 16:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16: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-25 16:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":195084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:05:36] local.INFO: GPS data processed {"connection_id":195084,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:05:36] local.INFO: Acknowledgment sent {"connection_id":195084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:05:54] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:54] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:54] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:05:59] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:59] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:05:59] local.INFO: IMEI packet received {"connection_id":192237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:06:00] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81f3900012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81f3900012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:06:00] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81f3900012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:06:00] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:00] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325068544001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332320000,"timestamp_ms":1790332320000,"timestamp_seconds":1790332320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81f3900"} 
[2026-09-25 16:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:06: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-25 16:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325068544001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325068544001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325068544001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:00] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:00] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:04] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81f8b08012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81f8b08012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:04] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81f8b08012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:04] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:04] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325073920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:04] 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-25 16:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332341000,"timestamp_ms":1790332341000,"timestamp_seconds":1790332341,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81f8b08"} 
[2026-09-25 16: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-25 16:06:04] 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-25 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:04] 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-25 16: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-25 16: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-25 16:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325073920001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325073920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325073920001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:05] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:05] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:05] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d820cb58012d7c3f0005eac9180002009d25..."} 
[2026-09-25 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d820cb58012d7c3f0005eac9180002009d25..."} 
[2026-09-25 16:06:05] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d820cb58012d7c3f0005eac9180002009d25..."} 
[2026-09-25 16:06:05] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:06:05] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272984,"longitude_deg":76.3117312,"latitude_deg":9.9272984,"altitude":2,"angle":157,"satellites":37,"speed":8,"hex_longitude":"2d7c3f00","hex_latitude":"05eac918","is_valid_coordinates":true} 
[2026-09-25 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325099008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135831965688397824,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952874609650065408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332423000,"timestamp_ms":1790332423000,"timestamp_seconds":1790332423,"priority":1,"record_length":96,"hex_timestamp":"000001a0d820cb58"} 
[2026-09-25 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:06:05] 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-25 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:05] 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-25 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325099008001,"66":13091,"10":206,"87":13824,"24":8,"16":135831965688397824,"45":8952874609650065408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-25 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325099008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-25 16:06:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135831965688397824,"km_value":135831965688397.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952874609650065408,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325099008001,"power":13091,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952874609650065408}} 
[2026-09-25 16:06:05] 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":895744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:05] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:05] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:07] local.INFO: TCP Data received {"connection_id":195084,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:06:07] local.INFO: Processing buffer {"connection_id":195084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81e17f0012d34c14006aa4908000a006e2a..."} 
[2026-09-25 16:06:07] local.INFO: Packet analysis {"connection_id":195084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:06:07] local.INFO: Extracted packet for processing {"connection_id":195084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81e"} 
[2026-09-25 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 16:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458324977920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 16:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790332246000,"timestamp_ms":1790332246000,"timestamp_seconds":1790332246,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81e17f0"} 
[2026-09-25 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-25 16:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:06: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-25 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-25 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-25 16:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16: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-25 16:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458324977920001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458324977920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 16:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458324977920001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":195084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:07] local.INFO: GPS data processed {"connection_id":195084,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:07] local.INFO: Acknowledgment sent {"connection_id":195084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:17] local.INFO: TCP Data received {"connection_id":193780,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:17] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:17] local.INFO: IMEI packet received {"connection_id":193780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":193780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:06:22] local.INFO: TCP Data received {"connection_id":193780,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:22] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:06:22] local.INFO: IMEI packet received {"connection_id":193780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":193780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:06:25] local.INFO: TCP Data received {"connection_id":195085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: Processing buffer {"connection_id":195085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: IMEI packet received {"connection_id":195085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":195085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:06:25] local.INFO: TCP Data received {"connection_id":195085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: Processing buffer {"connection_id":195085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:25] local.INFO: IMEI packet received {"connection_id":195085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":195085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:06:26] local.INFO: TCP Data received {"connection_id":193780,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82280d8012d0c3b4007063c900013000118..."} 
[2026-09-25 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82280d8012d0c3b4007063c900013000118..."} 
[2026-09-25 16:06:26] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82280d8012d0c3b4007063c900013000118..."} 
[2026-09-25 16:06:26] local.INFO: Packet analysis {"connection_id":193780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:26] local.INFO: Extracted packet for processing {"connection_id":193780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:26] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":117849232,"longitude_deg":75.577632,"latitude_deg":11.7849232,"altitude":19,"angle":1,"satellites":24,"speed":17,"hex_longitude":"2d0c3b40","hex_latitude":"07063c90","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325127680001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33860877916569600,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881790763459002368,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790332535000,"timestamp_ms":1790332535000,"timestamp_seconds":1790332535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82280d8"} 
[2026-09-25 16: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-25 16:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:26] 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-25 16: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-25 16: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-25 16:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":193780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":193780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":193780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325127680001,"66":14396,"115":206,"28":32256,"24":17,"16":33860877916569600,"45":881790763459002368},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325127680001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33860877916569600,"km_value":33860877916569.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":881790763459002368,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325127680001,"power":14396,"unknown_115":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":881790763459002368}} 
[2026-09-25 16:06:26] 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":895746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:26] local.INFO: GPS data processed {"connection_id":193780,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:26] local.INFO: Acknowledgment sent {"connection_id":193780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:27] local.INFO: TCP Data received {"connection_id":195086,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:27] local.INFO: Processing buffer {"connection_id":195086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:27] local.INFO: IMEI packet received {"connection_id":195086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":195086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:06:30] local.INFO: TCP Data received {"connection_id":195085,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:30] local.INFO: Processing buffer {"connection_id":195085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:06:30] local.INFO: IMEI packet received {"connection_id":195085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":195085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:06:32] local.INFO: TCP Data received {"connection_id":195085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:06:32] local.INFO: Processing buffer {"connection_id":195085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:06:32] local.INFO: Packet analysis {"connection_id":195085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:32] local.INFO: Extracted packet for processing {"connection_id":195085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 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-25 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:06:32] 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-25 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":195085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:32] local.INFO: GPS data processed {"connection_id":195085,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:32] local.INFO: Acknowledgment sent {"connection_id":195085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:33] local.INFO: TCP Data received {"connection_id":195086,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:33] local.INFO: Processing buffer {"connection_id":195086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:06:33] local.INFO: IMEI packet received {"connection_id":195086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":195086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:06:34] local.INFO: TCP Data received {"connection_id":195086,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822d6c8012d7ce3c005eaed78000c006027..."} 
[2026-09-25 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822d6c8012d7ce3c005eaed78000c006027..."} 
[2026-09-25 16:06:34] local.INFO: Processing buffer {"connection_id":195086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822d6c8012d7ce3c005eaed78000c006027..."} 
[2026-09-25 16:06:34] local.INFO: Packet analysis {"connection_id":195086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:34] local.INFO: Extracted packet for processing {"connection_id":195086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":99282296,"longitude_deg":76.3159488,"latitude_deg":9.9282296,"altitude":12,"angle":96,"satellites":39,"speed":6,"hex_longitude":"2d7ce3c0","hex_latitude":"05eaed78","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325131264001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834065927405568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994392168716843008,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332557000,"timestamp_ms":1790332557000,"timestamp_seconds":1790332557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822d6c8"} 
[2026-09-25 16: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-25 16:06:34] 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-25 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325131264001,"66":13472,"8":206,"87":13824,"24":6,"16":135834065927405568,"45":8994392168716843008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 16:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325131264001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 16:06:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834065927405568,"km_value":135834065927405.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994392168716843008,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325131264001,"power":13472,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8994392168716843008}} 
[2026-09-25 16:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":195086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:34] local.INFO: GPS data processed {"connection_id":195086,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:34] local.INFO: Acknowledgment sent {"connection_id":195086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:36] local.INFO: TCP Data received {"connection_id":192237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d81fdd10012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d81fdd10012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:36] local.INFO: Processing buffer {"connection_id":192237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d81fdd10012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:06:36] local.INFO: Packet analysis {"connection_id":192237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:36] local.INFO: Extracted packet for processing {"connection_id":192237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d81f"} 
[2026-09-25 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325079296001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790332362000,"timestamp_ms":1790332362000,"timestamp_seconds":1790332362,"priority":1,"record_length":96,"hex_timestamp":"000001a0d81fdd10"} 
[2026-09-25 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:06:36] 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-25 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2874056530935866741,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44798501762105344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586752206,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 16:06:36] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,140,160,57,45,64,174,52,40,10,66,230,39,148,1,240,201,227,216,31,4,113,205,139,56,38,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 16:06:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169888414728192,"timestamp_seconds":3747169888414728.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325079296001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325079296001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325079296001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":192237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:36] local.INFO: GPS data processed {"connection_id":192237,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:36] local.INFO: Acknowledgment sent {"connection_id":192237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:54] local.INFO: TCP Data received {"connection_id":195087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:54] local.INFO: Processing buffer {"connection_id":195087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:54] local.INFO: IMEI packet received {"connection_id":195087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":195087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:06:57] local.INFO: TCP Data received {"connection_id":193780,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822bb70012d0c3c00070645100012001918..."} 
[2026-09-25 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822bb70012d0c3c00070645100012001918..."} 
[2026-09-25 16:06:57] local.INFO: Processing buffer {"connection_id":193780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822bb70012d0c3c00070645100012001918..."} 
[2026-09-25 16:06:57] local.INFO: Packet analysis {"connection_id":193780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:57] local.INFO: Extracted packet for processing {"connection_id":193780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":755776512,"raw_latitude":117851408,"longitude_deg":75.5776512,"latitude_deg":11.7851408,"altitude":18,"angle":25,"satellites":24,"speed":4,"hex_longitude":"2d0c3c00","hex_latitude":"07064510","is_valid_coordinates":true} 
[2026-09-25 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325128960001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33860989585719296,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550994644992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790332550000,"timestamp_ms":1790332550000,"timestamp_seconds":1790332550,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822bb70"} 
[2026-09-25 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:06:57] 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-25 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325128960001,"66":14548,"115":206,"28":32256,"24":4,"16":33860989585719296,"45":881368550994644992},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325128960001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:06:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33860989585719296,"km_value":33860989585719.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550994644992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325128960001,"power":14548,"unknown_115":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":881368550994644992}} 
[2026-09-25 16:06:58] 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":895750,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:06:58] local.INFO: GPS data processed {"connection_id":193780,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:06:58] local.INFO: Acknowledgment sent {"connection_id":193780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:06:59] local.INFO: TCP Data received {"connection_id":195087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:59] local.INFO: Processing buffer {"connection_id":195087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:06:59] local.INFO: IMEI packet received {"connection_id":195087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":195087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:00] local.INFO: TCP Data received {"connection_id":195087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8202f18012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8202f18012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:07:00] local.INFO: Processing buffer {"connection_id":195087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8202f18012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:07:00] local.INFO: Packet analysis {"connection_id":195087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:07:00] local.INFO: Extracted packet for processing {"connection_id":195087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325084672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332383000,"timestamp_ms":1790332383000,"timestamp_seconds":1790332383,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8202f18"} 
[2026-09-25 16:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2873966336622650741,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44796302738849792,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586752206,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,140,160,139,45,64,174,52,41,10,66,57,40,230,1,240,53,227,216,31,4,113,205,56,38,239,47,2,81,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 16:07:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169888414728192,"timestamp_seconds":3747169888414728.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325084672001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325084672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325084672001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":195087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:00] local.INFO: GPS data processed {"connection_id":195087,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:00] local.INFO: Acknowledgment sent {"connection_id":195087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:04] local.INFO: TCP Data received {"connection_id":195085,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:04] local.INFO: Processing buffer {"connection_id":195085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:04] local.INFO: Packet analysis {"connection_id":195085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:07:04] local.INFO: Extracted packet for processing {"connection_id":195085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07: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-25 16:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07: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-25 16:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:07:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:07: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-25 16:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":195085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:04] local.INFO: GPS data processed {"connection_id":195085,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:04] local.INFO: Acknowledgment sent {"connection_id":195085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:05] local.INFO: TCP Data received {"connection_id":195086,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8231d18012d7ced4005eaece0000d005427..."} 
[2026-09-25 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8231d18012d7ced4005eaece0000d005427..."} 
[2026-09-25 16:07:05] local.INFO: Processing buffer {"connection_id":195086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8231d18012d7ced4005eaece0000d005427..."} 
[2026-09-25 16:07:05] local.INFO: Packet analysis {"connection_id":195086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:05] local.INFO: Extracted packet for processing {"connection_id":195086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763161920,"raw_latitude":99282144,"longitude_deg":76.316192,"latitude_deg":9.9282144,"altitude":13,"angle":84,"satellites":39,"speed":10,"hex_longitude":"2d7ced40","hex_latitude":"05eaece0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325134592001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834186186489856,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247612065183744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332575000,"timestamp_ms":1790332575000,"timestamp_seconds":1790332575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8231d18"} 
[2026-09-25 16: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-25 16:07:05] 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-25 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:05] 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-25 16: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-25 16: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-25 16:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325134592001,"66":13461,"8":206,"87":13824,"24":10,"16":135834186186489856,"45":8999247612065183744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 16:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325134592001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 16:07:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834186186489856,"km_value":135834186186489.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247612065183744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325134592001,"power":13461,"unknown_8":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8999247612065183744}} 
[2026-09-25 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":195086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:06] local.INFO: GPS data processed {"connection_id":195086,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:06] local.INFO: Acknowledgment sent {"connection_id":195086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:23] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:07:23] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:23] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:25] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:25] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:25] local.INFO: IMEI packet received {"connection_id":193782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":193782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:07:25] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:25] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:07:25] local.INFO: IMEI packet received {"connection_id":192238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":192238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:27] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d823d898012d0c3bc007064598001000eb18..."} 
[2026-09-25 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d823d898012d0c3bc007064598001000eb18..."} 
[2026-09-25 16:07:27] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d823d898012d0c3bc007064598001000eb18..."} 
[2026-09-25 16:07:27] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:27] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:27] local.INFO: GPS Element Parsed {"raw_longitude":755776448,"raw_latitude":117851544,"longitude_deg":75.5776448,"latitude_deg":11.7851544,"altitude":16,"angle":235,"satellites":24,"speed":1,"hex_longitude":"2d0c3bc0","hex_latitude":"07064598","is_valid_coordinates":true} 
[2026-09-25 16:07: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-25 16:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325151232001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861320298201088,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483594240,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790332623000,"timestamp_ms":1790332623000,"timestamp_seconds":1790332623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d823d898"} 
[2026-09-25 16:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07: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-25 16:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:07: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-25 16:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325151232001,"66":14407,"115":206,"28":32256,"24":1,"16":33861320298201088,"45":881509288483594240},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325151232001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:27] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861320298201088,"km_value":33861320298201.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483594240,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325151232001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_45":881509288483594240}} 
[2026-09-25 16:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:27] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:27] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:27] local.INFO: TCP Data received {"connection_id":195088,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:27] local.INFO: Processing buffer {"connection_id":195088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:27] local.INFO: IMEI packet received {"connection_id":195088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":195088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:07:28] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d823ec20012d0c3c40070644d80010008f18..."} 
[2026-09-25 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d823ec20012d0c3c40070644d80010008f18..."} 
[2026-09-25 16:07:28] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d823ec20012d0c3c40070644d80010008f18..."} 
[2026-09-25 16:07:28] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:28] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":755776576,"raw_latitude":117851352,"longitude_deg":75.5776576,"latitude_deg":11.7851352,"altitude":16,"angle":143,"satellites":24,"speed":4,"hex_longitude":"2d0c3c40","hex_latitude":"070644d8","is_valid_coordinates":true} 
[2026-09-25 16:07: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-25 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325151488001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861337478070272,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881509288483592192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790332628000,"timestamp_ms":1790332628000,"timestamp_seconds":1790332628,"priority":1,"record_length":96,"hex_timestamp":"000001a0d823ec20"} 
[2026-09-25 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:07: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-25 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325151488001,"66":14439,"115":206,"28":32256,"24":4,"16":33861337478070272,"45":881509288483592192},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325151488001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:28] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861337478070272,"km_value":33861337478070.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":881509288483592192,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325151488001,"power":14439,"unknown_115":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":881509288483592192}} 
[2026-09-25 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:28] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:28] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:30] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:30] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:07:30] local.INFO: IMEI packet received {"connection_id":193782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:31] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d823f008012d0c3d00070644680010008218..."} 
[2026-09-25 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d823f008012d0c3d00070644680010008218..."} 
[2026-09-25 16:07:31] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d823f008012d0c3d00070644680010008218..."} 
[2026-09-25 16:07:31] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:31] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":755776768,"raw_latitude":117851240,"longitude_deg":75.5776768,"latitude_deg":11.785124,"altitude":16,"angle":130,"satellites":24,"speed":6,"hex_longitude":"2d0c3d00","hex_latitude":"07064468","is_valid_coordinates":true} 
[2026-09-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325152768001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861346068004864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025971898368,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332629000,"timestamp_ms":1790332629000,"timestamp_seconds":1790332629,"priority":1,"record_length":96,"hex_timestamp":"000001a0d823f008"} 
[2026-09-25 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:31] 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-25 16:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325152768001,"66":14461,"115":206,"28":32256,"24":6,"16":33861346068004864,"45":881650025971898368},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325152768001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861346068004864,"km_value":33861346068004.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025971898368,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325152768001,"power":14461,"unknown_115":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":881650025971898368}} 
[2026-09-25 16:07:31] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:31] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:07:31] local.INFO: Packet analysis {"connection_id":193782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:07:31] local.INFO: Extracted packet for processing {"connection_id":193782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07: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-25 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07: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-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:07:31] 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-25 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:07: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-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:07:31] 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":895756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:31] local.INFO: GPS data processed {"connection_id":193782,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:31] local.INFO: Acknowledgment sent {"connection_id":193782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:31] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:31] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:31] local.INFO: TCP Data received {"connection_id":195087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8208120012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8208120012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:07:31] local.INFO: Processing buffer {"connection_id":195087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8208120012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:07:31] local.INFO: Packet analysis {"connection_id":195087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:07:31] local.INFO: Extracted packet for processing {"connection_id":195087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325090048001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:31] 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-25 16:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332404000,"timestamp_ms":1790332404000,"timestamp_seconds":1790332404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8208120"} 
[2026-09-25 16:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:31] 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-25 16:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325090048001,"66":11569,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325090048001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325090048001,"power":11569,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:31] local.INFO: GPS data processed {"connection_id":195087,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:31] local.INFO: Acknowledgment sent {"connection_id":195087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:33] local.INFO: TCP Data received {"connection_id":195088,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:33] local.INFO: Processing buffer {"connection_id":195088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:07:33] local.INFO: IMEI packet received {"connection_id":195088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":195088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:34] local.INFO: TCP Data received {"connection_id":195088,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82324e8012d7cef0005eaed50000d004026..."} 
[2026-09-25 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82324e8012d7cef0005eaed50000d004026..."} 
[2026-09-25 16:07:34] local.INFO: Processing buffer {"connection_id":195088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82324e8012d7cef0005eaed50000d004026..."} 
[2026-09-25 16:07:34] local.INFO: Packet analysis {"connection_id":195088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:34] local.INFO: Extracted packet for processing {"connection_id":195088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763162368,"raw_latitude":99282256,"longitude_deg":76.3162368,"latitude_deg":9.9282256,"altitude":13,"angle":64,"satellites":38,"speed":6,"hex_longitude":"2d7cef00","hex_latitude":"05eaed50","is_valid_coordinates":true} 
[2026-09-25 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-25 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325139200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834207661326336,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001921624343896064,"note":"Value kept but may cause issues"} 
[2026-09-25 16:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790332577000,"timestamp_ms":1790332577000,"timestamp_seconds":1790332577,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82324e8"} 
[2026-09-25 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-25 16:07:34] 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-25 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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 16:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325139200001,"66":13765,"8":206,"87":13824,"24":6,"16":135834207661326336,"45":9001921624343896064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325139200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:07:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 16:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834207661326336,"km_value":135834207661326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001921624343896064,"description":"Unknown IO ID 45"} 
[2026-09-25 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325139200001,"power":13765,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9001921624343896064}} 
[2026-09-25 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":195088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:07:34] local.INFO: GPS data processed {"connection_id":195088,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:07:34] local.INFO: Acknowledgment sent {"connection_id":195088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:07:53] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:53] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:53] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:07:54] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:54] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:54] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:07:59] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:59] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:07:59] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:00] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d820d328012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d820d328012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:08:00] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d820d328012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:08:00] local.INFO: Packet analysis {"connection_id":192415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:08:00] local.INFO: Extracted packet for processing {"connection_id":192415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d820"} 
[2026-09-25 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325095424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332425000,"timestamp_ms":1790332425000,"timestamp_seconds":1790332425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d820d328"} 
[2026-09-25 16: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-25 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325095424001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325095424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325095424001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:08:00] 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":895760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:00] local.INFO: GPS data processed {"connection_id":192415,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:00] local.INFO: Acknowledgment sent {"connection_id":192415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:02] local.INFO: TCP Data received {"connection_id":193782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:02] local.INFO: Processing buffer {"connection_id":193782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:02] local.INFO: Packet analysis {"connection_id":193782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:08:02] local.INFO: Extracted packet for processing {"connection_id":193782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08: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-25 16:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:08:02] 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-25 16:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:08: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-25 16:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:08:02] 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":895761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:02] local.INFO: GPS data processed {"connection_id":193782,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:02] local.INFO: Acknowledgment sent {"connection_id":193782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:03] local.INFO: TCP Data received {"connection_id":192238,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d823f3f0012d0c3dc0070643f00010007118..."} 
[2026-09-25 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d823f3f0012d0c3dc0070643f00010007118..."} 
[2026-09-25 16:08:03] local.INFO: Processing buffer {"connection_id":192238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d823f3f0012d0c3dc0070643f00010007118..."} 
[2026-09-25 16:08:03] local.INFO: Packet analysis {"connection_id":192238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:03] local.INFO: Extracted packet for processing {"connection_id":192238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":755776960,"raw_latitude":117851120,"longitude_deg":75.577696,"latitude_deg":11.785112,"altitude":16,"angle":113,"satellites":24,"speed":11,"hex_longitude":"2d0c3dc0","hex_latitude":"070643f0","is_valid_coordinates":true} 
[2026-09-25 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325153024001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861358952906752,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881861132204402688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332630000,"timestamp_ms":1790332630000,"timestamp_seconds":1790332630,"priority":1,"record_length":96,"hex_timestamp":"000001a0d823f3f0"} 
[2026-09-25 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08: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-25 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:03] 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-25 16:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325153024001,"66":14461,"115":206,"28":32256,"24":11,"16":33861358952906752,"45":881861132204402688},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325153024001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861358952906752,"km_value":33861358952906.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":881861132204402688,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325153024001,"power":14461,"unknown_115":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":881861132204402688}} 
[2026-09-25 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":192238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:03] local.INFO: GPS data processed {"connection_id":192238,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:03] local.INFO: Acknowledgment sent {"connection_id":192238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:05] local.INFO: TCP Data received {"connection_id":195088,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82330a0012d7cf0c005eaedc8000d005126..."} 
[2026-09-25 16:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82330a0012d7cf0c005eaedc8000d005126..."} 
[2026-09-25 16:08:05] local.INFO: Processing buffer {"connection_id":195088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82330a0012d7cf0c005eaedc8000d005126..."} 
[2026-09-25 16:08:05] local.INFO: Packet analysis {"connection_id":195088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:05] local.INFO: Extracted packet for processing {"connection_id":195088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763162816,"raw_latitude":99282376,"longitude_deg":76.3162816,"latitude_deg":9.9282376,"altitude":13,"angle":81,"satellites":38,"speed":7,"hex_longitude":"2d7cf0c0","hex_latitude":"05eaedc8","is_valid_coordinates":true} 
[2026-09-25 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325139712001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834233431130112,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002414205553168384,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332580000,"timestamp_ms":1790332580000,"timestamp_seconds":1790332580,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82330a0"} 
[2026-09-25 16:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08:05] 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-25 16:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:05] 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-25 16:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325139712001,"66":13363,"8":206,"87":13824,"24":7,"16":135834233431130112,"45":9002414205553168384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 16:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325139712001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 16:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834233431130112,"km_value":135834233431130.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002414205553168384,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325139712001,"power":13363,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9002414205553168384}} 
[2026-09-25 16:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":195088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:05] local.INFO: GPS data processed {"connection_id":195088,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:05] local.INFO: Acknowledgment sent {"connection_id":195088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:18] local.INFO: TCP Data received {"connection_id":192417,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:18] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:18] local.INFO: IMEI packet received {"connection_id":192417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":192417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:08:22] local.INFO: TCP Data received {"connection_id":192417,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:23] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:08:23] local.INFO: IMEI packet received {"connection_id":192417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":192417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:25] local.INFO: TCP Data received {"connection_id":192417,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d823fbc0012d0c4080070643480010006418..."} 
[2026-09-25 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d823fbc0012d0c4080070643480010006418..."} 
[2026-09-25 16:08:25] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d823fbc0012d0c4080070643480010006418..."} 
[2026-09-25 16:08:25] local.INFO: Packet analysis {"connection_id":192417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:25] local.INFO: Extracted packet for processing {"connection_id":192417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":755777664,"raw_latitude":117850952,"longitude_deg":75.5777664,"latitude_deg":11.7850952,"altitude":16,"angle":100,"satellites":24,"speed":13,"hex_longitude":"2d0c4080","hex_latitude":"07064348","is_valid_coordinates":true} 
[2026-09-25 16:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325153280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861393312645120,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882072238436904960,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790332632000,"timestamp_ms":1790332632000,"timestamp_seconds":1790332632,"priority":1,"record_length":96,"hex_timestamp":"000001a0d823fbc0"} 
[2026-09-25 16:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:25] 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-25 16:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325153280001,"66":14450,"115":206,"28":32256,"24":13,"16":33861393312645120,"45":882072238436904960},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325153280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:25] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:08:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861393312645120,"km_value":33861393312645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":882072238436904960,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325153280001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":882072238436904960}} 
[2026-09-25 16:08:25] 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":895764,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:25] local.INFO: GPS data processed {"connection_id":192417,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:25] local.INFO: Acknowledgment sent {"connection_id":192417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:26] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:26] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:26] local.INFO: IMEI packet received {"connection_id":193783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":193783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:08:27] local.INFO: TCP Data received {"connection_id":195089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:27] local.INFO: Processing buffer {"connection_id":195089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:27] local.INFO: IMEI packet received {"connection_id":195089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":195089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:08:30] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:30] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:08:30] local.INFO: IMEI packet received {"connection_id":193783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":193783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:31] local.INFO: TCP Data received {"connection_id":195089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:31] local.INFO: Processing buffer {"connection_id":195089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:31] local.INFO: IMEI packet received {"connection_id":195089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":195089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:31] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:31] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:08:31] local.INFO: Packet analysis {"connection_id":193783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:08:31] local.INFO: Extracted packet for processing {"connection_id":193783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08: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-25 16:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16: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-25 16:08: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-25 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:08:31] 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-25 16:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:08: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-25 16:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:08:31] 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":895765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:31] local.INFO: GPS data processed {"connection_id":193783,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:31] local.INFO: Acknowledgment sent {"connection_id":193783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:32] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8212530012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8212530012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:08:32] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8212530012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:08:32] local.INFO: Packet analysis {"connection_id":192415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:08:32] local.INFO: Extracted packet for processing {"connection_id":192415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325100800001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790332446000,"timestamp_ms":1790332446000,"timestamp_seconds":1790332446,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8212530"} 
[2026-09-25 16:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325100800001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325100800001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325100800001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:08:32] 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":895766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:32] local.INFO: GPS data processed {"connection_id":192415,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:32] local.INFO: Acknowledgment sent {"connection_id":192415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:32] local.INFO: TCP Data received {"connection_id":195089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:32] local.INFO: Processing buffer {"connection_id":195089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:08:32] local.INFO: IMEI packet received {"connection_id":195089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":195089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:33] local.INFO: TCP Data received {"connection_id":195089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8233c58012d7cf2c005eaede0000d005d27..."} 
[2026-09-25 16:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8233c58012d7cf2c005eaede0000d005d27..."} 
[2026-09-25 16:08:33] local.INFO: Processing buffer {"connection_id":195089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8233c58012d7cf2c005eaede0000d005d27..."} 
[2026-09-25 16:08:33] local.INFO: Packet analysis {"connection_id":195089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:33] local.INFO: Extracted packet for processing {"connection_id":195089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":99282400,"longitude_deg":76.3163328,"latitude_deg":9.92824,"altitude":13,"angle":93,"satellites":39,"speed":3,"hex_longitude":"2d7cf2c0","hex_latitude":"05eaede0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325140480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834254905966592,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002906786762442752,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332583000,"timestamp_ms":1790332583000,"timestamp_seconds":1790332583,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8233c58"} 
[2026-09-25 16: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-25 16:08:33] 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-25 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325140480001,"66":13472,"8":206,"87":13824,"24":3,"16":135834254905966592,"45":9002906786762442752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-25 16:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325140480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-25 16:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834254905966592,"km_value":135834254905966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002906786762442752,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325140480001,"power":13472,"unknown_8":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9002906786762442752}} 
[2026-09-25 16:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":195089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:33] local.INFO: GPS data processed {"connection_id":195089,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:33] local.INFO: Acknowledgment sent {"connection_id":195089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:54] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:54] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:54] local.INFO: IMEI packet received {"connection_id":193784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":193784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:08:57] local.INFO: TCP Data received {"connection_id":192417,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8241ee8012d0c4f0007063f000011007218..."} 
[2026-09-25 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8241ee8012d0c4f0007063f000011007218..."} 
[2026-09-25 16:08:57] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8241ee8012d0c4f0007063f000011007218..."} 
[2026-09-25 16:08:57] local.INFO: Packet analysis {"connection_id":192417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d824"} 
[2026-09-25 16:08:57] local.INFO: Extracted packet for processing {"connection_id":192417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d824"} 
[2026-09-25 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":755781376,"raw_latitude":117849856,"longitude_deg":75.5781376,"latitude_deg":11.7849856,"altitude":17,"angle":114,"satellites":24,"speed":23,"hex_longitude":"2d0c4f00","hex_latitude":"07063f00","is_valid_coordinates":true} 
[2026-09-25 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325153792001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33861577996238848,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882846294622816256,"note":"Value kept but may cause issues"} 
[2026-09-25 16:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790332641000,"timestamp_ms":1790332641000,"timestamp_seconds":1790332641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8241ee8"} 
[2026-09-25 16:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:08:57] 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-25 16:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325153792001,"66":14450,"115":206,"28":32256,"24":23,"16":33861577996238848,"45":882846294622816256},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-09-25 16:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325153792001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:08:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 16:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33861577996238848,"km_value":33861577996238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":882846294622816256,"description":"Unknown IO ID 45"} 
[2026-09-25 16:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325153792001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":882846294622816256}} 
[2026-09-25 16:08:57] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:57] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:57] local.INFO: IMEI packet received {"connection_id":193784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":193784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:08:57] 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":895768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:08:57] local.INFO: GPS data processed {"connection_id":192417,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:08:57] local.INFO: Acknowledgment sent {"connection_id":192417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:08:59] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:59] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:08:59] local.INFO: IMEI packet received {"connection_id":193784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":193784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:09:00] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8217738012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8217738012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:09:00] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8217738012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:09:00] local.INFO: Packet analysis {"connection_id":193784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:09:00] local.INFO: Extracted packet for processing {"connection_id":193784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325106176001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332467000,"timestamp_ms":1790332467000,"timestamp_seconds":1790332467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8217738"} 
[2026-09-25 16:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2873605559369786741,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44798501762105344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332011214,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 16:09:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,140,160,211,45,64,174,52,39,10,66,129,38,47,1,240,255,227,216,31,4,113,205,139,56,41,239,48,2,81,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 16:09:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169884119760896,"timestamp_seconds":3747169884119761.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325106176001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325106176001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325106176001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:09:00] 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":895769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:00] local.INFO: GPS data processed {"connection_id":193784,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:00] local.INFO: Acknowledgment sent {"connection_id":193784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:02] local.INFO: TCP Data received {"connection_id":193783,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:02] local.INFO: Processing buffer {"connection_id":193783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:02] local.INFO: Packet analysis {"connection_id":193783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:02] local.INFO: Extracted packet for processing {"connection_id":193783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09: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-25 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:02] 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-25 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:09: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-25 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:09:03] 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":895770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:03] local.INFO: GPS data processed {"connection_id":193783,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:03] local.INFO: Acknowledgment sent {"connection_id":193783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:04] local.INFO: TCP Data received {"connection_id":195089,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8238e60012d7cf34005eaeda8000c005d26..."} 
[2026-09-25 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8238e60012d7cf34005eaeda8000c005d26..."} 
[2026-09-25 16:09:04] local.INFO: Processing buffer {"connection_id":195089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8238e60012d7cf34005eaeda8000c005d26..."} 
[2026-09-25 16:09:04] local.INFO: Packet analysis {"connection_id":195089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:09:04] local.INFO: Extracted packet for processing {"connection_id":195089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":99282344,"longitude_deg":76.3163456,"latitude_deg":9.9282344,"altitude":12,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d7cf340","hex_latitude":"05eaeda8","is_valid_coordinates":true} 
[2026-09-25 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325141248001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135834263495901184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736715870208,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332604000,"timestamp_ms":1790332604000,"timestamp_seconds":1790332604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8238e60"} 
[2026-09-25 16:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09: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-25 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:04] 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-25 16:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325141248001,"66":13689,"158":206,"87":13824,"24":0,"16":135834263495901184,"45":9003469736715870208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:09:04] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d821c940012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325141248001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135834263495901184,"km_value":135834263495901.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736715870208,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325141248001,"power":13689,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003469736715870208}} 
[2026-09-25 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d821c940012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:09:04] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d821c940012d1a8b40071fae380034009f27..."} 
[2026-09-25 16:09:04] local.INFO: Packet analysis {"connection_id":193784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:09:04] local.INFO: Extracted packet for processing {"connection_id":193784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d821"} 
[2026-09-25 16:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":39,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325111552001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:04] 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-25 16:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332488000,"timestamp_ms":1790332488000,"timestamp_seconds":1790332488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d821c940"} 
[2026-09-25 16:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09:04] 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-25 16:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:04] 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-25 16:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325111552001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325111552001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325111552001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":195089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:05] local.INFO: GPS data processed {"connection_id":195089,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:05] local.INFO: Acknowledgment sent {"connection_id":195089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:05] 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":895772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:05] local.INFO: GPS data processed {"connection_id":193784,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:05] local.INFO: Acknowledgment sent {"connection_id":193784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:17] local.INFO: TCP Data received {"connection_id":193785,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: IMEI packet received {"connection_id":193785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":193785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:09:17] local.INFO: TCP Data received {"connection_id":193785,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:17] local.INFO: IMEI packet received {"connection_id":193785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":193785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:09:26] local.INFO: TCP Data received {"connection_id":193785,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:26] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:09:26] local.INFO: IMEI packet received {"connection_id":193785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":193785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:09:27] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:27] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:27] local.INFO: IMEI packet received {"connection_id":192418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":192418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:09:28] local.INFO: TCP Data received {"connection_id":193785,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d825c4c8012d0ca6c00705dd58001c00a319..."} 
[2026-09-25 16:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d825c4c8012d0ca6c00705dd58001c00a319..."} 
[2026-09-25 16:09:28] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d825c4c8012d0ca6c00705dd58001c00a319..."} 
[2026-09-25 16:09:28] local.INFO: Packet analysis {"connection_id":193785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:28] local.INFO: Extracted packet for processing {"connection_id":193785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:28] local.INFO: GPS Element Parsed {"raw_longitude":755803840,"raw_latitude":117824856,"longitude_deg":75.580384,"latitude_deg":11.7824856,"altitude":28,"angle":163,"satellites":25,"speed":6,"hex_longitude":"2d0ca6c0","hex_latitude":"0705dd58","is_valid_coordinates":true} 
[2026-09-25 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325179904001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33863218673745920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909093836195354624,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790332749000,"timestamp_ms":1790332749000,"timestamp_seconds":1790332749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d825c4c8"} 
[2026-09-25 16:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09: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-25 16:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:28] 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-25 16:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325179904001,"66":14309,"220":206,"28":32256,"24":6,"16":33863218673745920,"45":909093836195354624},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325179904001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33863218673745920,"km_value":33863218673745.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":909093836195354624,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325179904001,"power":14309,"unknown_220":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":909093836195354624}} 
[2026-09-25 16:09:28] 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":895773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:28] local.INFO: GPS data processed {"connection_id":193785,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:28] local.INFO: Acknowledgment sent {"connection_id":193785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:29] local.INFO: TCP Data received {"connection_id":195090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:09:29] local.INFO: Processing buffer {"connection_id":195090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:09:29] local.INFO: IMEI packet received {"connection_id":195090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":195090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:09:30] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:30] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:30] local.INFO: IMEI packet received {"connection_id":193786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":193786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:09:34] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:34] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:09:34] local.INFO: IMEI packet received {"connection_id":192418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:09:35] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8256320012d7d1e4005ea9338000900b62a..."} 
[2026-09-25 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8256320012d7d1e4005ea9338000900b62a..."} 
[2026-09-25 16:09:35] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8256320012d7d1e4005ea9338000900b62a..."} 
[2026-09-25 16:09:35] local.INFO: Packet analysis {"connection_id":192418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:35] local.INFO: Extracted packet for processing {"connection_id":192418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99259192,"longitude_deg":76.3174464,"latitude_deg":9.9259192,"altitude":9,"angle":182,"satellites":42,"speed":27,"hex_longitude":"2d7d1e40","hex_latitude":"05ea9338","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325173504001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135836222000988160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479408492544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790332724000,"timestamp_ms":1790332724000,"timestamp_seconds":1790332724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8256320"} 
[2026-09-25 16: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-25 16:09:35] 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-25 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325173504001,"66":13580,"158":206,"87":13824,"24":27,"16":135836222000988160,"45":9016206479408492544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325173504001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:09:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135836222000988160,"km_value":135836222000988.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479408492544,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325173504001,"power":13580,"unknown_158":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9016206479408492544}} 
[2026-09-25 16:09: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":895774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:35] local.INFO: GPS data processed {"connection_id":192418,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:35] local.INFO: Acknowledgment sent {"connection_id":192418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:36] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:36] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:09:36] local.INFO: IMEI packet received {"connection_id":193786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":193786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:09:36] local.INFO: TCP Data received {"connection_id":193784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8221b48012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8221b48012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:09:36] local.INFO: Processing buffer {"connection_id":193784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8221b48012d1a8b40071fae380034009f26..."} 
[2026-09-25 16:09:36] local.INFO: Packet analysis {"connection_id":193784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:36] local.INFO: Extracted packet for processing {"connection_id":193784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":38,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325116928001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790332509000,"timestamp_ms":1790332509000,"timestamp_seconds":1790332509,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8221b48"} 
[2026-09-25 16:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":140,"raw_value":-5548434740920451071,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2873425170743354741,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513320438088335519,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":44799601273733120,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075828430,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2922905652,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2360541184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,140,160,119,45,64,174,52,40,10,66,37,211,1,240,53,227,216,31,4,113,205,47,139,56,41,239,2,81,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-25 16:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747169879824793600,"timestamp_seconds":3747169879824793.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325116928001,"66":12319,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325116928001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325116928001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:09:36] 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":895775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:36] local.INFO: GPS data processed {"connection_id":193784,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:36] local.INFO: Acknowledgment sent {"connection_id":193784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:37] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:37] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:37] local.INFO: Packet analysis {"connection_id":193786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:37] local.INFO: Extracted packet for processing {"connection_id":193786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:09: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-25 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:09:37] 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":895776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:37] local.INFO: GPS data processed {"connection_id":193786,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:37] local.INFO: Acknowledgment sent {"connection_id":193786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:41] local.INFO: TCP Data received {"connection_id":193786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:41] local.INFO: Processing buffer {"connection_id":193786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:09:41] local.INFO: Packet analysis {"connection_id":193786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:41] local.INFO: Extracted packet for processing {"connection_id":193786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16: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-25 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:09: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-25 16: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-25 16: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-25 16:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:09:41] 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":895777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:41] local.INFO: GPS data processed {"connection_id":193786,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:41] local.INFO: Acknowledgment sent {"connection_id":193786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:55] local.INFO: TCP Data received {"connection_id":195091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:55] local.INFO: Processing buffer {"connection_id":195091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:55] local.INFO: IMEI packet received {"connection_id":195091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":195091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:09:59] local.INFO: TCP Data received {"connection_id":193785,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d825d080012d0ca8400705db00001c009219..."} 
[2026-09-25 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d825d080012d0ca8400705db00001c009219..."} 
[2026-09-25 16:09:59] local.INFO: Processing buffer {"connection_id":193785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d825d080012d0ca8400705db00001c009219..."} 
[2026-09-25 16:09:59] local.INFO: Packet analysis {"connection_id":193785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:59] local.INFO: Extracted packet for processing {"connection_id":193785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755804224,"raw_latitude":117824256,"longitude_deg":75.5804224,"latitude_deg":11.7824256,"altitude":28,"angle":146,"satellites":25,"speed":11,"hex_longitude":"2d0ca840","hex_latitude":"0705db00","is_valid_coordinates":true} 
[2026-09-25 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325183744001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33863253033484288,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911627110984800256,"note":"Value kept but may cause issues"} 
[2026-09-25 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790332752000,"timestamp_ms":1790332752000,"timestamp_seconds":1790332752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d825d080"} 
[2026-09-25 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:09: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-25 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-25 16:09:59] 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-25 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325183744001,"66":14396,"220":206,"28":32256,"24":11,"16":33863253033484288,"45":911627110984800256},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325183744001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:09:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33863253033484288,"km_value":33863253033484.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":911627110984800256,"description":"Unknown IO ID 45"} 
[2026-09-25 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325183744001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":911627110984800256}} 
[2026-09-25 16:09:59] 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":895778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:09:59] local.INFO: GPS data processed {"connection_id":193785,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:09:59] local.INFO: Acknowledgment sent {"connection_id":193785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:09:59] local.INFO: TCP Data received {"connection_id":195091,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:59] local.INFO: Processing buffer {"connection_id":195091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:09:59] local.INFO: IMEI packet received {"connection_id":195091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":195091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:00] local.INFO: TCP Data received {"connection_id":195091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8226d50012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8226d50012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:10:00] local.INFO: Processing buffer {"connection_id":195091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8226d50012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:10:00] local.INFO: Packet analysis {"connection_id":195091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:00] local.INFO: Extracted packet for processing {"connection_id":195091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325122304001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332530000,"timestamp_ms":1790332530000,"timestamp_seconds":1790332530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8226d50"} 
[2026-09-25 16:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325122304001,"66":12341,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325122304001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325122304001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":195091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:00] local.INFO: GPS data processed {"connection_id":195091,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:00] local.INFO: Acknowledgment sent {"connection_id":195091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:04] local.INFO: TCP Data received {"connection_id":195092,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:10:04] local.INFO: Processing buffer {"connection_id":195092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:10:04] local.INFO: IMEI packet received {"connection_id":195092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":195092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:10:07] local.INFO: TCP Data received {"connection_id":192418,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d825b140012d7d1d8005ea83c0000900b52a..."} 
[2026-09-25 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d825b140012d7d1d8005ea83c0000900b52a..."} 
[2026-09-25 16:10:07] local.INFO: Processing buffer {"connection_id":192418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d825b140012d7d1d8005ea83c0000900b52a..."} 
[2026-09-25 16:10:07] local.INFO: Packet analysis {"connection_id":192418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:10:07] local.INFO: Extracted packet for processing {"connection_id":192418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d825"} 
[2026-09-25 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99255232,"longitude_deg":76.3174272,"latitude_deg":9.9255232,"altitude":9,"angle":181,"satellites":42,"speed":10,"hex_longitude":"2d7d1d80","hex_latitude":"05ea83c0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325177344001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135836415274516480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898196842496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790332744000,"timestamp_ms":1790332744000,"timestamp_seconds":1790332744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d825b140"} 
[2026-09-25 16: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-25 16:10:07] 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-25 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637140,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3626264864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4253024267,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2119766059375394816,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632826568921246,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561090304003671,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2501640192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":125,"raw_value":396323273851273227,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,150,160,40,45,183,10,41,66,149,234,128,219,12,152,1,240,230,227,216,4,113,205,140,34,48,43,239,53,2,226,5,125,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-09-25 16:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648718637848002560,"timestamp_seconds":648718637848002.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325177344001,"66":12765,"158":206,"87":13824,"24":10,"16":135836415274516480,"45":9015713898196842496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325177344001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:10:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135836415274516480,"km_value":135836415274516.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898196842496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325177344001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015713898196842496}} 
[2026-09-25 16:10: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":895780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:07] local.INFO: GPS data processed {"connection_id":192418,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:07] local.INFO: Acknowledgment sent {"connection_id":192418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:17] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:10:17] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:10:17] local.INFO: IMEI packet received {"connection_id":195093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":195093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:10:18] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:10:18] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:10:18] local.INFO: IMEI packet received {"connection_id":195093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":195093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:21] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:10:21] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:10:21] local.INFO: IMEI packet received {"connection_id":195093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":195093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:23] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d826ab40012d0ceb800705c6700014001719..."} 
[2026-09-25 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d826ab40012d0ceb800705c6700014001719..."} 
[2026-09-25 16:10:23] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 16:10:23] local.INFO: IMEI packet received {"connection_id":195093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":195093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:24] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d826af28012d0cebc00705c8c00013000b19..."} 
[2026-09-25 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d826af28012d0cebc00705c8c00013000b19..."} 
[2026-09-25 16:10:24] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d826ab40012d0ceb800705c6700014001719..."} 
[2026-09-25 16:10:24] local.INFO: Packet analysis {"connection_id":195093,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:24] local.INFO: Extracted packet for processing {"connection_id":195093,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:24] local.INFO: GPS Element Parsed {"raw_longitude":755821440,"raw_latitude":117818992,"longitude_deg":75.582144,"latitude_deg":11.7818992,"altitude":20,"angle":23,"satellites":25,"speed":23,"hex_longitude":"2d0ceb80","hex_latitude":"0705c670","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325198336001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33864442739425280,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930274828190134272,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790332808000,"timestamp_ms":1790332808000,"timestamp_seconds":1790332808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d826ab40"} 
[2026-09-25 16: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-25 16:10: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-25 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:24] 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-25 16: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-25 16: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-25 16:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325198336001,"66":14548,"220":206,"28":32256,"24":23,"16":33864442739425280,"45":930274828190134272},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325198336001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33864442739425280,"km_value":33864442739425.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":930274828190134272,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325198336001,"power":14548,"unknown_220":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":930274828190134272}} 
[2026-09-25 16:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":195093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:24] local.INFO: GPS data processed {"connection_id":195093,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:24] local.INFO: Acknowledgment sent {"connection_id":195093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:24] local.INFO: Packet analysis {"connection_id":195093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:24] local.INFO: Extracted packet for processing {"connection_id":195093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:24] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117819584,"longitude_deg":75.5821504,"latitude_deg":11.7819584,"altitude":19,"angle":11,"satellites":25,"speed":24,"hex_longitude":"2d0cebc0","hex_latitude":"0705c8c0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325198848001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33864472804196352,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930978515632156672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790332809000,"timestamp_ms":1790332809000,"timestamp_seconds":1790332809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d826af28"} 
[2026-09-25 16: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-25 16:10: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-25 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:24] 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-25 16: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-25 16: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-25 16:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325198848001,"66":14548,"220":206,"28":32256,"24":24,"16":33864472804196352,"45":930978515632156672},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325198848001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33864472804196352,"km_value":33864472804196.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":930978515632156672,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325198848001,"power":14548,"unknown_220":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":930978515632156672}} 
[2026-09-25 16:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":195093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:24] local.INFO: GPS data processed {"connection_id":195093,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:24] local.INFO: Acknowledgment sent {"connection_id":195093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:25] local.INFO: TCP Data received {"connection_id":195094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:25] local.INFO: Processing buffer {"connection_id":195094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:25] local.INFO: IMEI packet received {"connection_id":195094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":195094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:10:30] local.INFO: TCP Data received {"connection_id":195094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:30] local.INFO: Processing buffer {"connection_id":195094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:10:30] local.INFO: IMEI packet received {"connection_id":195094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":195094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:31] local.INFO: TCP Data received {"connection_id":195094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:10:31] local.INFO: Processing buffer {"connection_id":195094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:10:31] local.INFO: Packet analysis {"connection_id":195094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:31] local.INFO: Extracted packet for processing {"connection_id":195094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10: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-25 16:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16: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-25 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:10: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-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":195094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:31] local.INFO: GPS data processed {"connection_id":195094,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:31] local.INFO: Acknowledgment sent {"connection_id":195094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:31] local.INFO: TCP Data received {"connection_id":195091,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822bf58012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822bf58012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:10:31] local.INFO: Processing buffer {"connection_id":195091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822bf58012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:10:31] local.INFO: Packet analysis {"connection_id":195091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:31] local.INFO: Extracted packet for processing {"connection_id":195091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325127680001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:31] 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-25 16:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332551000,"timestamp_ms":1790332551000,"timestamp_seconds":1790332551,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822bf58"} 
[2026-09-25 16: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-25 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325127680001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325127680001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325127680001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":195091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:31] local.INFO: GPS data processed {"connection_id":195091,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:31] local.INFO: Acknowledgment sent {"connection_id":195091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:32] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:32] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:32] local.INFO: IMEI packet received {"connection_id":193787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":193787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:10:39] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:39] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:10:39] local.INFO: IMEI packet received {"connection_id":193787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":193787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:10:40] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8260348012d7d1bc005ea6320000800b729..."} 
[2026-09-25 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8260348012d7d1bc005ea6320000800b729..."} 
[2026-09-25 16:10:40] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8260348012d7d1bc005ea6320000800b729..."} 
[2026-09-25 16:10:40] local.INFO: Packet analysis {"connection_id":193787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:40] local.INFO: Extracted packet for processing {"connection_id":193787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99246880,"longitude_deg":76.3173824,"latitude_deg":9.924688,"altitude":8,"angle":183,"satellites":41,"speed":27,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea6320","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325182464001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135836819001442304,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791963295744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790332765000,"timestamp_ms":1790332765000,"timestamp_seconds":1790332765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8260348"} 
[2026-09-25 16: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-25 16:10:40] 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-25 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:40] 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-25 16: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-25 16: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-25 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325182464001,"66":13765,"158":206,"87":13824,"24":27,"16":135836819001442304,"45":9015502791963295744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325182464001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:40] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:10:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135836819001442304,"km_value":135836819001442.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791963295744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325182464001,"power":13765,"unknown_158":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9015502791963295744}} 
[2026-09-25 16:10:40] 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":895785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:40] local.INFO: GPS data processed {"connection_id":193787,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:40] local.INFO: Acknowledgment sent {"connection_id":193787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:54] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:54] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:54] local.INFO: IMEI packet received {"connection_id":193788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":193788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:10:59] local.INFO: TCP Data received {"connection_id":195093,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d826b310012d0ceb800705cb080013016519..."} 
[2026-09-25 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d826b310012d0ceb800705cb080013016519..."} 
[2026-09-25 16:10:59] local.INFO: Processing buffer {"connection_id":195093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d826b310012d0ceb800705cb080013016519..."} 
[2026-09-25 16:10:59] local.INFO: Packet analysis {"connection_id":195093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:59] local.INFO: Extracted packet for processing {"connection_id":195093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":755821440,"raw_latitude":117820168,"longitude_deg":75.582144,"latitude_deg":11.7820168,"altitude":19,"angle":357,"satellites":25,"speed":23,"hex_longitude":"2d0ceb80","hex_latitude":"0705cb08","is_valid_coordinates":true} 
[2026-09-25 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325199104001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33864502868967424,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376485888,"note":"Value kept but may cause issues"} 
[2026-09-25 16:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790332810000,"timestamp_ms":1790332810000,"timestamp_seconds":1790332810,"priority":1,"record_length":96,"hex_timestamp":"000001a0d826b310"} 
[2026-09-25 16:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:10: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-25 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 16:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325199104001,"66":14559,"220":206,"28":32256,"24":23,"16":33864502868967424,"45":931048884376485888},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325199104001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:10:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33864502868967424,"km_value":33864502868967.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376485888,"description":"Unknown IO ID 45"} 
[2026-09-25 16:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325199104001,"power":14559,"unknown_220":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":931048884376485888}} 
[2026-09-25 16:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":195093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:10:59] local.INFO: GPS data processed {"connection_id":195093,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:10:59] local.INFO: Acknowledgment sent {"connection_id":195093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:10:59] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:59] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:10:59] local.INFO: IMEI packet received {"connection_id":193788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":193788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:00] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8231160012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8231160012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:11:00] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8231160012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:11:00] local.INFO: Packet analysis {"connection_id":193788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:11:00] local.INFO: Extracted packet for processing {"connection_id":193788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d823"} 
[2026-09-25 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325133056001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332572000,"timestamp_ms":1790332572000,"timestamp_seconds":1790332572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8231160"} 
[2026-09-25 16:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:00] 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-25 16:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325133056001,"66":12004,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325133056001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325133056001,"power":12004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:11:00] 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":895787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:00] local.INFO: GPS data processed {"connection_id":193788,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:00] local.INFO: Acknowledgment sent {"connection_id":193788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:02] local.INFO: TCP Data received {"connection_id":195094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:11:02] local.INFO: Processing buffer {"connection_id":195094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d822afb8012d34c14006aa49080009006e2a..."} 
[2026-09-25 16:11:02] local.INFO: Packet analysis {"connection_id":195094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:11:02] local.INFO: Extracted packet for processing {"connection_id":195094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d822"} 
[2026-09-25 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325054976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11: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-25 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790332547000,"timestamp_ms":1790332547000,"timestamp_seconds":1790332547,"priority":1,"record_length":96,"hex_timestamp":"000001a0d822afb8"} 
[2026-09-25 16:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325054976001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325054976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:11: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-25 16:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325054976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":195094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:02] local.INFO: GPS data processed {"connection_id":195094,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:02] local.INFO: Acknowledgment sent {"connection_id":195094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:12] local.INFO: TCP Data received {"connection_id":193787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8263228012d7d1a0005ea3e48000a00b52a..."} 
[2026-09-25 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8263228012d7d1a0005ea3e48000a00b52a..."} 
[2026-09-25 16:11:12] local.INFO: Processing buffer {"connection_id":193787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8263228012d7d1a0005ea3e48000a00b52a..."} 
[2026-09-25 16:11:12] local.INFO: Packet analysis {"connection_id":193787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:12] local.INFO: Extracted packet for processing {"connection_id":193787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99237448,"longitude_deg":76.3173376,"latitude_deg":9.9237448,"altitude":10,"angle":181,"satellites":42,"speed":23,"hex_longitude":"2d7d1a00","hex_latitude":"05ea3e48","is_valid_coordinates":true} 
[2026-09-25 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325187840001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135837278562942976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210751913984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790332777000,"timestamp_ms":1790332777000,"timestamp_seconds":1790332777,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8263228"} 
[2026-09-25 16:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:12] 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-25 16:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":193787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":193787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":193787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325187840001,"66":13406,"158":206,"87":13824,"24":23,"16":135837278562942976,"45":9015010210751913984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325187840001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135837278562942976,"km_value":135837278562942.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210751913984,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325187840001,"power":13406,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9015010210751913984}} 
[2026-09-25 16:11:12] 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":895789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:12] local.INFO: GPS data processed {"connection_id":193787,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:12] local.INFO: Acknowledgment sent {"connection_id":193787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:17] local.INFO: TCP Data received {"connection_id":195095,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:17] local.INFO: Processing buffer {"connection_id":195095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:17] local.INFO: IMEI packet received {"connection_id":195095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":195095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:11:23] local.INFO: TCP Data received {"connection_id":195095,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195095,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:23] local.INFO: Processing buffer {"connection_id":195095,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:11:23] local.INFO: IMEI packet received {"connection_id":195095,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":195095,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:25] local.INFO: TCP Data received {"connection_id":195095,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8276e90012d0d3a000705d4180014009c19..."} 
[2026-09-25 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8276e90012d0d3a000705d4180014009c19..."} 
[2026-09-25 16:11:25] local.INFO: Processing buffer {"connection_id":195095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8276e90012d0d3a000705d4180014009c19..."} 
[2026-09-25 16:11:25] local.INFO: Packet analysis {"connection_id":195095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:25] local.INFO: Extracted packet for processing {"connection_id":195095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117822488,"longitude_deg":75.5841536,"latitude_deg":11.7822488,"altitude":20,"angle":156,"satellites":25,"speed":10,"hex_longitude":"2d0d3a00","hex_latitude":"0705d418","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325211392001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33865568020856832,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932560717824,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790332858000,"timestamp_ms":1790332858000,"timestamp_seconds":1790332858,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8276e90"} 
[2026-09-25 16: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-25 16: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-25 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:25] 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-25 16: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-25 16: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-25 16:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":195095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":195095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":195095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325211392001,"66":13961,"220":206,"28":32256,"24":10,"16":33865568020856832,"45":953003932560717824},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325211392001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:25] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:11:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33865568020856832,"km_value":33865568020856.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932560717824,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325211392001,"power":13961,"unknown_220":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":953003932560717824}} 
[2026-09-25 16:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":195095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:25] local.INFO: GPS data processed {"connection_id":195095,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:25] local.INFO: Acknowledgment sent {"connection_id":195095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:25] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:25] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:25] local.INFO: IMEI packet received {"connection_id":192239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":192239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:11:26] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:26] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:26] local.INFO: IMEI packet received {"connection_id":192239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":192239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:27] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:27] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:27] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:11:28] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:28] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:28] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:30] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:30] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:11:30] local.INFO: IMEI packet received {"connection_id":192239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:31] local.INFO: TCP Data received {"connection_id":193788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82697b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82697b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:11:31] local.INFO: Processing buffer {"connection_id":193788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82697b8012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:11:31] local.INFO: Packet analysis {"connection_id":193788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:31] local.INFO: Extracted packet for processing {"connection_id":193788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325192192001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:31] 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-25 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332803000,"timestamp_ms":1790332803000,"timestamp_seconds":1790332803,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82697b8"} 
[2026-09-25 16:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325192192001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325192192001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325192192001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:11:31] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:11:31] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:11:31] local.INFO: Packet analysis {"connection_id":192239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:31] local.INFO: Extracted packet for processing {"connection_id":192239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11: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-25 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:11:31] 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-25 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:11: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-25 16:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":192239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:31] local.INFO: GPS data processed {"connection_id":192239,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:31] local.INFO: Acknowledgment sent {"connection_id":192239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:31] 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":895792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:31] local.INFO: GPS data processed {"connection_id":193788,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:31] local.INFO: Acknowledgment sent {"connection_id":193788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:32] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:32] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:11:32] local.INFO: IMEI packet received {"connection_id":192240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":192240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:11:33] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8268048012d7d198005ea3168000a00b329..."} 
[2026-09-25 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8268048012d7d198005ea3168000a00b329..."} 
[2026-09-25 16:11:33] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8268048012d7d198005ea3168000a00b329..."} 
[2026-09-25 16:11:33] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:33] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99234152,"longitude_deg":76.3173248,"latitude_deg":9.9234152,"altitude":10,"angle":179,"satellites":41,"speed":0,"hex_longitude":"2d7d1980","hex_latitude":"05ea3168","is_valid_coordinates":true} 
[2026-09-25 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325190912001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135837437476732928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629540255744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332797000,"timestamp_ms":1790332797000,"timestamp_seconds":1790332797,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8268048"} 
[2026-09-25 16:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:11:33] 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-25 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325190912001,"66":13656,"158":206,"87":13824,"24":0,"16":135837437476732928,"45":9014517629540255744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-25 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325190912001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-25 16:11:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135837437476732928,"km_value":135837437476732.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629540255744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325190912001,"power":13656,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014517629540255744}} 
[2026-09-25 16:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:33] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:33] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:54] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:54] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:54] local.INFO: IMEI packet received {"connection_id":192420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":192420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:11:57] local.INFO: TCP Data received {"connection_id":195095,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8277278012d0d3a400705d2f8001400aa19..."} 
[2026-09-25 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8277278012d0d3a400705d2f8001400aa19..."} 
[2026-09-25 16:11:57] local.INFO: Processing buffer {"connection_id":195095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8277278012d0d3a400705d2f8001400aa19..."} 
[2026-09-25 16:11:57] local.INFO: Packet analysis {"connection_id":195095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:57] local.INFO: Extracted packet for processing {"connection_id":195095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:11:57] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117822200,"longitude_deg":75.58416,"latitude_deg":11.78222,"altitude":20,"angle":170,"satellites":25,"speed":12,"hex_longitude":"2d0d3a40","hex_latitude":"0705d2f8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325211648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33865580905758720,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301304838144,"note":"Value kept but may cause issues"} 
[2026-09-25 16:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790332859000,"timestamp_ms":1790332859000,"timestamp_seconds":1790332859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8277278"} 
[2026-09-25 16: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-25 16:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 16:11:57] 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-25 16: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-25 16: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-25 16:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195095,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325211648001,"66":14407,"220":206,"28":32256,"24":12,"16":33865580905758720,"45":953074301304838144},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325211648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:11:57] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33865580905758720,"km_value":33865580905758.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301304838144,"description":"Unknown IO ID 45"} 
[2026-09-25 16:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325211648001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":953074301304838144}} 
[2026-09-25 16:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":195095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:11:57] local.INFO: GPS data processed {"connection_id":195095,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:11:57] local.INFO: Acknowledgment sent {"connection_id":195095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:11:59] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:59] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:11:59] local.INFO: IMEI packet received {"connection_id":192420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":192420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:00] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d826e9c0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d826e9c0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:12:00] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d826e9c0012d1a8b40071fae380034009f29..."} 
[2026-09-25 16:12:00] local.INFO: Packet analysis {"connection_id":192420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:12:00] local.INFO: Extracted packet for processing {"connection_id":192420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d826"} 
[2026-09-25 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":41,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325197568001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790332824000,"timestamp_ms":1790332824000,"timestamp_seconds":1790332824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d826e9c0"} 
[2026-09-25 16: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-25 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:00] 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-25 16: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-25 16: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-25 16:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325197568001,"66":12287,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325197568001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325197568001,"power":12287,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:12:00] 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":895795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:00] local.INFO: GPS data processed {"connection_id":192420,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:00] local.INFO: Acknowledgment sent {"connection_id":192420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:04] local.INFO: TCP Data received {"connection_id":192239,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:04] local.INFO: Processing buffer {"connection_id":192239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:04] local.INFO: Packet analysis {"connection_id":192239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:04] local.INFO: Extracted packet for processing {"connection_id":192239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12: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-25 16:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:12: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-25 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:12: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-25 16:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:12: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-25 16:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":192239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:04] local.INFO: GPS data processed {"connection_id":192239,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:04] local.INFO: Acknowledgment sent {"connection_id":192239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:05] local.INFO: TCP Data received {"connection_id":192240,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82860c0012d7cccc005e9bb480007015f29..."} 
[2026-09-25 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82860c0012d7cccc005e9bb480007015f29..."} 
[2026-09-25 16:12:05] local.INFO: Processing buffer {"connection_id":192240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82860c0012d7cccc005e9bb480007015f29..."} 
[2026-09-25 16:12:05] local.INFO: Packet analysis {"connection_id":192240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:05] local.INFO: Extracted packet for processing {"connection_id":192240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763153600,"raw_latitude":99203912,"longitude_deg":76.31536,"latitude_deg":9.9203912,"altitude":7,"angle":351,"satellites":41,"speed":8,"hex_longitude":"2d7cccc0","hex_latitude":"05e9bb48","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325227008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839782528876544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687580667904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332920000,"timestamp_ms":1790332920000,"timestamp_seconds":1790332920,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82860c0"} 
[2026-09-25 16: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-25 16:12:05] 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-25 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325227008001,"66":13646,"192":206,"87":13824,"24":8,"16":135839782528876544,"45":8992773687580667904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325227008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839782528876544,"km_value":135839782528876.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687580667904,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325227008001,"power":13646,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8992773687580667904}} 
[2026-09-25 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":192240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:05] local.INFO: GPS data processed {"connection_id":192240,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:05] local.INFO: Acknowledgment sent {"connection_id":192240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:17] local.INFO: TCP Data received {"connection_id":192241,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:17] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:17] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:12:22] local.INFO: TCP Data received {"connection_id":192241,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:22] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:12:22] local.INFO: IMEI packet received {"connection_id":192241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":192241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:23] local.INFO: TCP Data received {"connection_id":192241,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8277660012d0d3a400705d1a0001400b919..."} 
[2026-09-25 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8277660012d0d3a400705d1a0001400b919..."} 
[2026-09-25 16:12:23] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8277660012d0d3a400705d1a0001400b919..."} 
[2026-09-25 16:12:23] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:23] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117821856,"longitude_deg":75.58416,"latitude_deg":11.7821856,"altitude":20,"angle":185,"satellites":25,"speed":14,"hex_longitude":"2d0d3a40","hex_latitude":"0705d1a0","is_valid_coordinates":true} 
[2026-09-25 16:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325211904001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33865598085627904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670048942080,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790332860000,"timestamp_ms":1790332860000,"timestamp_seconds":1790332860,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8277660"} 
[2026-09-25 16:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:12: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-25 16:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:23] 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-25 16:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325211904001,"66":14407,"220":206,"28":32256,"24":14,"16":33865598085627904,"45":953144670048942080},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325211904001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:23] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:12:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33865598085627904,"km_value":33865598085627.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670048942080,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325211904001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":953144670048942080}} 
[2026-09-25 16:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:23] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:23] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:25] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:25] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:25] local.INFO: IMEI packet received {"connection_id":193789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":193789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:12:27] local.INFO: TCP Data received {"connection_id":195097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:27] local.INFO: Processing buffer {"connection_id":195097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:27] local.INFO: IMEI packet received {"connection_id":195097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":195097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:12:30] local.INFO: TCP Data received {"connection_id":195097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:30] local.INFO: Processing buffer {"connection_id":195097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:30] local.INFO: IMEI packet received {"connection_id":195097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":195097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:30] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:30] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:12:30] local.INFO: IMEI packet received {"connection_id":193789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":193789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:31] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:31] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:12:31] local.INFO: Packet analysis {"connection_id":193789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:31] local.INFO: Extracted packet for processing {"connection_id":193789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12: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-25 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:12: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-25 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:12:31] 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-25 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:12: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-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:12:31] 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":895799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:31] local.INFO: GPS data processed {"connection_id":193789,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:31] local.INFO: Acknowledgment sent {"connection_id":193789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:31] local.INFO: TCP Data received {"connection_id":192420,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8273bc8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8273bc8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:12:31] local.INFO: Processing buffer {"connection_id":192420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8273bc8012d1a8b40071fae380034009f28..."} 
[2026-09-25 16:12:31] local.INFO: Packet analysis {"connection_id":192420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:31] local.INFO: Extracted packet for processing {"connection_id":192420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516728,"longitude_deg":75.6714304,"latitude_deg":11.9516728,"altitude":52,"angle":159,"satellites":40,"speed":0,"hex_longitude":"2d1a8b40","hex_latitude":"071fae38","is_valid_coordinates":true} 
[2026-09-25 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325202944001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22954173540597760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912692866089367552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:31] 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-25 16:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332845000,"timestamp_ms":1790332845000,"timestamp_seconds":1790332845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8273bc8"} 
[2026-09-25 16:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:31] 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-25 16:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325202944001,"66":12298,"101":206,"83":41984,"24":0,"16":22954173540597760,"45":1912692866089367552},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 16:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325202944001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22954173540597760,"km_value":22954173540597.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912692866089367552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325202944001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1912692866089367552}} 
[2026-09-25 16:12:31] 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":895800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:31] local.INFO: GPS data processed {"connection_id":192420,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:31] local.INFO: Acknowledgment sent {"connection_id":192420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:31] local.INFO: TCP Data received {"connection_id":195097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:31] local.INFO: Processing buffer {"connection_id":195097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:12:31] local.INFO: IMEI packet received {"connection_id":195097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":195097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:33] local.INFO: TCP Data received {"connection_id":195097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82864a8012d7ccc8005e9bc180006014d29..."} 
[2026-09-25 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82864a8012d7ccc8005e9bc180006014d29..."} 
[2026-09-25 16:12:33] local.INFO: Processing buffer {"connection_id":195097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82864a8012d7ccc8005e9bc180006014d29..."} 
[2026-09-25 16:12:33] local.INFO: Packet analysis {"connection_id":195097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:33] local.INFO: Extracted packet for processing {"connection_id":195097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99204120,"longitude_deg":76.3153536,"latitude_deg":9.920412,"altitude":6,"angle":333,"satellites":41,"speed":8,"hex_longitude":"2d7ccc80","hex_latitude":"05e9bc18","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325227520001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839791118811136,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687580772352,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332921000,"timestamp_ms":1790332921000,"timestamp_seconds":1790332921,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82864a8"} 
[2026-09-25 16: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-25 16:12:33] 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-25 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325227520001,"66":13646,"192":206,"87":13824,"24":8,"16":135839791118811136,"45":8992773687580772352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325227520001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839791118811136,"km_value":135839791118811.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687580772352,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325227520001,"power":13646,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8992773687580772352}} 
[2026-09-25 16:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":195097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:33] local.INFO: GPS data processed {"connection_id":195097,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:33] local.INFO: Acknowledgment sent {"connection_id":195097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:55] local.INFO: TCP Data received {"connection_id":192242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:55] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:55] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:12:55] local.INFO: TCP Data received {"connection_id":192241,"ip":"117.224.226.83","data_length":795,"data_hex":"000000000000030f8e0a000001a0d828ca38012d0d3d400705bd500013015d1c..."} 
[2026-09-25 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d828ca38012d0d3d400705bd500013015d1c..."} 
[2026-09-25 16:12:55] local.INFO: Processing buffer {"connection_id":192241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d828ca38012d0d3d400705bd500013015d1c..."} 
[2026-09-25 16:12:55] local.INFO: Packet analysis {"connection_id":192241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:55] local.INFO: Extracted packet for processing {"connection_id":192241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755842368,"raw_latitude":117816656,"longitude_deg":75.5842368,"latitude_deg":11.7816656,"altitude":19,"angle":349,"satellites":28,"speed":1,"hex_longitude":"2d0d3d40","hex_latitude":"0705bd50","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325231360001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33865881553469440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094977667072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790332947000,"timestamp_ms":1790332947000,"timestamp_seconds":1790332947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d828ca38"} 
[2026-09-25 16: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-25 16:12: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-25 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 16:12:55] 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-25 16: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-25 16: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-25 16:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.226.83","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325231360001,"66":14559,"220":206,"28":32256,"24":1,"16":33865881553469440,"45":953989094977667072},"client_ip":"117.224.226.83","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-25 16:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325231360001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 16:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33865881553469440,"km_value":33865881553469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094977667072,"description":"Unknown IO ID 45"} 
[2026-09-25 16:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325231360001,"power":14559,"unknown_220":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_45":953989094977667072}} 
[2026-09-25 16:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":192241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:12:55] local.INFO: GPS data processed {"connection_id":192241,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:12:55] local.INFO: Acknowledgment sent {"connection_id":192241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:12:56] local.INFO: TCP Data received {"connection_id":192242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:56] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:56] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:57] local.INFO: TCP Data received {"connection_id":192242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:57] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:57] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:12:59] local.INFO: TCP Data received {"connection_id":192242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:59] local.INFO: Processing buffer {"connection_id":192242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:12:59] local.INFO: IMEI packet received {"connection_id":192242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":192242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:13:03] local.INFO: TCP Data received {"connection_id":193789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:03] local.INFO: Processing buffer {"connection_id":193789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:03] local.INFO: Packet analysis {"connection_id":193789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:13:03] local.INFO: Extracted packet for processing {"connection_id":193789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13: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-25 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:13:03] 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-25 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:13: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-25 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:13:03] 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":895803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:13:03] local.INFO: GPS data processed {"connection_id":193789,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:13:03] local.INFO: Acknowledgment sent {"connection_id":193789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:13:04] local.INFO: TCP Data received {"connection_id":195097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8286890012d7ccc0005e9bcb00006012e2a..."} 
[2026-09-25 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8286890012d7ccc0005e9bcb00006012e2a..."} 
[2026-09-25 16:13:04] local.INFO: Processing buffer {"connection_id":195097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8286890012d7ccc0005e9bcb00006012e2a..."} 
[2026-09-25 16:13:04] local.INFO: Packet analysis {"connection_id":195097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:13:04] local.INFO: Extracted packet for processing {"connection_id":195097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d828"} 
[2026-09-25 16:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":99204272,"longitude_deg":76.3153408,"latitude_deg":9.9204272,"altitude":6,"angle":302,"satellites":42,"speed":8,"hex_longitude":"2d7ccc00","hex_latitude":"05e9bcb0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325227776001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135839804003713024,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836647936,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790332922000,"timestamp_ms":1790332922000,"timestamp_seconds":1790332922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8286890"} 
[2026-09-25 16: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-25 16:13:04] 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-25 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325227776001,"66":13526,"192":206,"87":13824,"24":8,"16":135839804003713024,"45":8992703318836647936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325227776001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:13:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135839804003713024,"km_value":135839804003713.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836647936,"description":"Unknown IO ID 45"} 
[2026-09-25 16:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325227776001,"power":13526,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8992703318836647936}} 
[2026-09-25 16:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":195097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:13:04] local.INFO: GPS data processed {"connection_id":195097,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:13:04] local.INFO: Acknowledgment sent {"connection_id":195097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:13:19] local.INFO: TCP Data received {"connection_id":192421,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:19] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:19] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:13:22] local.INFO: TCP Data received {"connection_id":192421,"ip":"117.224.226.83","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:22] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:13:22] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:13:25] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:25] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:25] local.INFO: IMEI packet received {"connection_id":193791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":193791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:13:27] local.INFO: TCP Data received {"connection_id":195098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:27] local.INFO: Processing buffer {"connection_id":195098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:27] local.INFO: IMEI packet received {"connection_id":195098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":195098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:13:30] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:30] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:13:30] local.INFO: IMEI packet received {"connection_id":193791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":193791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:13:31] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:31] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:13:31] local.INFO: Packet analysis {"connection_id":193791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:13:31] local.INFO: Extracted packet for processing {"connection_id":193791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13: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-25 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 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-25 16:13: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-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:13:31] 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-25 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:13: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-25 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:13:31] 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":895805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:13:31] local.INFO: GPS data processed {"connection_id":193791,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:13:31] local.INFO: Acknowledgment sent {"connection_id":193791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:13:32] local.INFO: TCP Data received {"connection_id":195098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:32] local.INFO: Processing buffer {"connection_id":195098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:13:32] local.INFO: IMEI packet received {"connection_id":195098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":195098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:13:33] local.INFO: TCP Data received {"connection_id":195098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8295ea8012d7c8b0005e9b350000300b62b..."} 
[2026-09-25 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8295ea8012d7c8b0005e9b350000300b62b..."} 
[2026-09-25 16:13:33] local.INFO: Processing buffer {"connection_id":195098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8295ea8012d7c8b0005e9b350000300b62b..."} 
[2026-09-25 16:13:33] local.INFO: Packet analysis {"connection_id":195098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:13:33] local.INFO: Extracted packet for processing {"connection_id":195098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":99201872,"longitude_deg":76.3136768,"latitude_deg":9.9201872,"altitude":3,"angle":182,"satellites":43,"speed":3,"hex_longitude":"2d7c8b00","hex_latitude":"05e9b350","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325243648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135840641522335744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707861577728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790332985000,"timestamp_ms":1790332985000,"timestamp_seconds":1790332985,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8295ea8"} 
[2026-09-25 16: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-25 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:13:33] 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-25 16: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-25 16: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-25 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325243648001,"66":13798,"192":206,"87":13824,"24":3,"16":135840641522335744,"45":8974266707861577728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325243648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:13:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:13:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135840641522335744,"km_value":135840641522335.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707861577728,"description":"Unknown IO ID 45"} 
[2026-09-25 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325243648001,"power":13798,"unknown_192":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8974266707861577728}} 
[2026-09-25 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":195098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:13:33] local.INFO: GPS data processed {"connection_id":195098,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:13:33] local.INFO: Acknowledgment sent {"connection_id":195098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:03] local.INFO: TCP Data received {"connection_id":193791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:03] local.INFO: Processing buffer {"connection_id":193791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:03] local.INFO: Packet analysis {"connection_id":193791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:03] local.INFO: Extracted packet for processing {"connection_id":193791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14: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-25 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14:03] 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-25 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:14: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-25 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:14:03] 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":895807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:03] local.INFO: GPS data processed {"connection_id":193791,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:03] local.INFO: Acknowledgment sent {"connection_id":193791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:05] local.INFO: TCP Data received {"connection_id":195098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8297230012d7c8bc005e9acf8000400a92b..."} 
[2026-09-25 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8297230012d7c8bc005e9acf8000400a92b..."} 
[2026-09-25 16:14:05] local.INFO: Processing buffer {"connection_id":195098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8297230012d7c8bc005e9acf8000400a92b..."} 
[2026-09-25 16:14:05] local.INFO: Packet analysis {"connection_id":195098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:05] local.INFO: Extracted packet for processing {"connection_id":195098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":99200248,"longitude_deg":76.313696,"latitude_deg":9.9200248,"altitude":4,"angle":169,"satellites":43,"speed":18,"hex_longitude":"2d7c8bc0","hex_latitude":"05e9acf8","is_valid_coordinates":true} 
[2026-09-25 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325244160001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135840718831747072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707861524480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790332990000,"timestamp_ms":1790332990000,"timestamp_seconds":1790332990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8297230"} 
[2026-09-25 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:14:05] 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-25 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325244160001,"66":13493,"192":206,"87":13824,"24":18,"16":135840718831747072,"45":8974266707861524480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325244160001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135840718831747072,"km_value":135840718831747.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707861524480,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325244160001,"power":13493,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8974266707861524480}} 
[2026-09-25 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":195098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:05] local.INFO: GPS data processed {"connection_id":195098,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:05] local.INFO: Acknowledgment sent {"connection_id":195098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:30] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:30] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:30] local.INFO: IMEI packet received {"connection_id":192422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":192422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:14:30] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:30] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:30] local.INFO: IMEI packet received {"connection_id":193793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":193793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:14:33] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:33] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:33] local.INFO: IMEI packet received {"connection_id":192422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":192422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:14:35] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:35] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:14:35] local.INFO: IMEI packet received {"connection_id":193793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":193793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:14:36] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:36] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:36] local.INFO: Packet analysis {"connection_id":193793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:36] local.INFO: Extracted packet for processing {"connection_id":193793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16: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-25 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:14: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-25 16: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-25 16: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-25 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:14:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:14:36] 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":895809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:36] local.INFO: GPS data processed {"connection_id":193793,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:36] local.INFO: Acknowledgment sent {"connection_id":193793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:37] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:37] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:14:37] local.INFO: IMEI packet received {"connection_id":192422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":192422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:14:38] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8299558012d7c8fc005e99e48000400b42b..."} 
[2026-09-25 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8299558012d7c8fc005e99e48000400b42b..."} 
[2026-09-25 16:14:38] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8299558012d7c8fc005e99e48000400b42b..."} 
[2026-09-25 16:14:38] local.INFO: Packet analysis {"connection_id":192422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:38] local.INFO: Extracted packet for processing {"connection_id":192422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":99196488,"longitude_deg":76.3137984,"latitude_deg":9.9196488,"altitude":4,"angle":180,"satellites":43,"speed":8,"hex_longitude":"2d7c8fc0","hex_latitude":"05e99e48","is_valid_coordinates":true} 
[2026-09-25 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325245440001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135840907810308096,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477814093641728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790332999000,"timestamp_ms":1790332999000,"timestamp_seconds":1790332999,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8299558"} 
[2026-09-25 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 16:14:38] 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-25 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325245440001,"66":12961,"192":206,"87":13824,"24":8,"16":135840907810308096,"45":8974477814093641728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325245440001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:14:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135840907810308096,"km_value":135840907810308.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477814093641728,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325245440001,"power":12961,"unknown_192":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8974477814093641728}} 
[2026-09-25 16:14:38] 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":895810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:38] local.INFO: GPS data processed {"connection_id":192422,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:38] local.INFO: Acknowledgment sent {"connection_id":192422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:41] local.INFO: TCP Data received {"connection_id":193793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:41] local.INFO: Processing buffer {"connection_id":193793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:14:41] local.INFO: Packet analysis {"connection_id":193793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:41] local.INFO: Extracted packet for processing {"connection_id":193793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16: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-25 16:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:14: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-25 16:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:14:41] 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":895811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:41] local.INFO: GPS data processed {"connection_id":193793,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:41] local.INFO: Acknowledgment sent {"connection_id":193793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:43] local.INFO: TCP Data received {"connection_id":192422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8299940012d7c8f8005e99d60000400c32c..."} 
[2026-09-25 16:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8299940012d7c8f8005e99d60000400c32c..."} 
[2026-09-25 16:14:43] local.INFO: Processing buffer {"connection_id":192422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8299940012d7c8f8005e99d60000400c32c..."} 
[2026-09-25 16:14:43] local.INFO: Packet analysis {"connection_id":192422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:43] local.INFO: Extracted packet for processing {"connection_id":192422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:14:43] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99196256,"longitude_deg":76.313792,"latitude_deg":9.9196256,"altitude":4,"angle":195,"satellites":44,"speed":7,"hex_longitude":"2d7c8f80","hex_latitude":"05e99d60","is_valid_coordinates":true} 
[2026-09-25 16:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325247744001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135840920695209984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603713999521792,"note":"Value kept but may cause issues"} 
[2026-09-25 16:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790333000000,"timestamp_ms":1790333000000,"timestamp_seconds":1790333000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8299940"} 
[2026-09-25 16:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-25 16:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325247744001,"66":13189,"192":206,"87":13824,"24":7,"16":135840920695209984,"45":8975603713999521792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325247744001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:14:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:14:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135840920695209984,"km_value":135840920695209.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603713999521792,"description":"Unknown IO ID 45"} 
[2026-09-25 16:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325247744001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8975603713999521792}} 
[2026-09-25 16:14:43] 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":895812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:14:43] local.INFO: GPS data processed {"connection_id":192422,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:14:43] local.INFO: Acknowledgment sent {"connection_id":192422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:14:57] local.INFO: TCP Data received {"connection_id":195100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:14:57] local.INFO: Processing buffer {"connection_id":195100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:14:57] local.INFO: IMEI packet received {"connection_id":195100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":195100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:15:02] local.INFO: TCP Data received {"connection_id":195100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:02] local.INFO: Processing buffer {"connection_id":195100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:02] local.INFO: IMEI packet received {"connection_id":195100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":195100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:15:24] local.INFO: TCP Data received {"connection_id":192244,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:15:24] local.INFO: Processing buffer {"connection_id":192244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:15:24] local.INFO: IMEI packet received {"connection_id":192244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":192244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:15:25] local.INFO: TCP Data received {"connection_id":195101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:25] local.INFO: Processing buffer {"connection_id":195101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:25] local.INFO: IMEI packet received {"connection_id":195101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":195101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:15:28] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:28] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:28] local.INFO: IMEI packet received {"connection_id":193794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":193794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:15:28] local.INFO: TCP Data received {"connection_id":195102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:28] local.INFO: Processing buffer {"connection_id":195102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:28] local.INFO: IMEI packet received {"connection_id":195102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":195102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:15:30] local.INFO: TCP Data received {"connection_id":195101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:30] local.INFO: Processing buffer {"connection_id":195101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:15:30] local.INFO: IMEI packet received {"connection_id":195101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":195101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:15:31] local.INFO: TCP Data received {"connection_id":195101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:15:31] local.INFO: Processing buffer {"connection_id":195101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:15:31] local.INFO: Packet analysis {"connection_id":195101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:15:31] local.INFO: Extracted packet for processing {"connection_id":195101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15: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-25 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:15:31] 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-25 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:15: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-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":195101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:15:31] local.INFO: GPS data processed {"connection_id":195101,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:15:31] local.INFO: Acknowledgment sent {"connection_id":195101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:15:33] local.INFO: TCP Data received {"connection_id":195102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195102,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:33] local.INFO: Processing buffer {"connection_id":195102,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:15:33] local.INFO: IMEI packet received {"connection_id":195102,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":195102,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:15:33] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:33] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:15:33] local.INFO: IMEI packet received {"connection_id":193794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":193794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:15:33] local.INFO: TCP Data received {"connection_id":195102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82aba50012d0d5e0007061bb8001c000f1b..."} 
[2026-09-25 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82aba50012d0d5e0007061bb8001c000f1b..."} 
[2026-09-25 16:15:33] local.INFO: Processing buffer {"connection_id":195102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82aba50012d0d5e0007061bb8001c000f1b..."} 
[2026-09-25 16:15:33] local.INFO: Packet analysis {"connection_id":195102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82a"} 
[2026-09-25 16:15:33] local.INFO: Extracted packet for processing {"connection_id":195102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82a"} 
[2026-09-25 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":755850752,"raw_latitude":117840824,"longitude_deg":75.5850752,"latitude_deg":11.7840824,"altitude":28,"angle":15,"satellites":27,"speed":12,"hex_longitude":"2d0d5e00","hex_latitude":"07061bb8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325264640001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33867453511499776,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963207400470134784,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:33] 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-25 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790333074000,"timestamp_ms":1790333074000,"timestamp_seconds":1790333074,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82aba50"} 
[2026-09-25 16: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-25 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-25 16:15:33] 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-25 16: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-25 16: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-25 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195102,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325264640001,"66":14515,"167":206,"94":11008,"24":12,"16":33867453511499776,"45":963207400470134784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325264640001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:15:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 16:15:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33867453511499776,"km_value":33867453511499.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":963207400470134784,"description":"Unknown IO ID 45"} 
[2026-09-25 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325264640001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":963207400470134784}} 
[2026-09-25 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":195102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:15:33] local.INFO: GPS data processed {"connection_id":195102,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:15:33] local.INFO: Acknowledgment sent {"connection_id":195102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:15:34] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8299d28012d7c8f8005e99ca0000500d12b..."} 
[2026-09-25 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8299d28012d7c8f8005e99ca0000500d12b..."} 
[2026-09-25 16:15:34] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8299d28012d7c8f8005e99ca0000500d12b..."} 
[2026-09-25 16:15:34] local.INFO: Packet analysis {"connection_id":193794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:15:34] local.INFO: Extracted packet for processing {"connection_id":193794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d829"} 
[2026-09-25 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99196064,"longitude_deg":76.313792,"latitude_deg":9.9196064,"altitude":5,"angle":209,"satellites":43,"speed":6,"hex_longitude":"2d7c8f80","hex_latitude":"05e99ca0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325248000001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135840929285144576,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975533345255284736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333001000,"timestamp_ms":1790333001000,"timestamp_seconds":1790333001,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8299d28"} 
[2026-09-25 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-25 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 16:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325248000001,"66":13189,"192":206,"87":13824,"24":6,"16":135840929285144576,"45":8975533345255284736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-25 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325248000001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:15:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-25 16:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135840929285144576,"km_value":135840929285144.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975533345255284736,"description":"Unknown IO ID 45"} 
[2026-09-25 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325248000001,"power":13189,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8975533345255284736}} 
[2026-09-25 16:15:34] 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":895815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:15:34] local.INFO: GPS data processed {"connection_id":193794,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:15:34] local.INFO: Acknowledgment sent {"connection_id":193794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:03] local.INFO: TCP Data received {"connection_id":195101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:16:03] local.INFO: Processing buffer {"connection_id":195101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8274780012d34c14006aa49080008006e2a..."} 
[2026-09-25 16:16:03] local.INFO: Packet analysis {"connection_id":195101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:16:03] local.INFO: Extracted packet for processing {"connection_id":195101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d827"} 
[2026-09-25 16:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325132032001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16: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-25 16:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790332848000,"timestamp_ms":1790332848000,"timestamp_seconds":1790332848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8274780"} 
[2026-09-25 16:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:03] 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-25 16:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325132032001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325132032001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:16: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-25 16:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325132032001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":195101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:03] local.INFO: GPS data processed {"connection_id":195101,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:03] local.INFO: Acknowledgment sent {"connection_id":195101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:04] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:16:04] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:16:04] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:16:05] local.INFO: TCP Data received {"connection_id":193794,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82ba898012d7bce0005e959c0000300fb29..."} 
[2026-09-25 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82ba898012d7bce0005e959c0000300fb29..."} 
[2026-09-25 16:16:05] local.INFO: Processing buffer {"connection_id":193794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82ba898012d7bce0005e959c0000300fb29..."} 
[2026-09-25 16:16:05] local.INFO: Packet analysis {"connection_id":193794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:05] local.INFO: Extracted packet for processing {"connection_id":193794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":99178944,"longitude_deg":76.3088384,"latitude_deg":9.9178944,"altitude":3,"angle":251,"satellites":41,"speed":21,"hex_longitude":"2d7bce00","hex_latitude":"05e959c0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325282048001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135843454725914624,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922123468420073472,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333135000,"timestamp_ms":1790333135000,"timestamp_seconds":1790333135,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82ba898"} 
[2026-09-25 16: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-25 16:16:05] 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-25 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:05] 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-25 16: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-25 16: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-25 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325282048001,"66":13493,"156":206,"87":13824,"24":21,"16":135843454725914624,"45":8922123468420073472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325282048001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 16:16:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135843454725914624,"km_value":135843454725914.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922123468420073472,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325282048001,"power":13493,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8922123468420073472}} 
[2026-09-25 16:16:05] 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":895817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:05] local.INFO: GPS data processed {"connection_id":193794,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:05] local.INFO: Acknowledgment sent {"connection_id":193794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:17] local.INFO: TCP Data received {"connection_id":195103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:17] local.INFO: Processing buffer {"connection_id":195103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:17] local.INFO: IMEI packet received {"connection_id":195103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":195103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:16:22] local.INFO: TCP Data received {"connection_id":195103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:22] local.INFO: Processing buffer {"connection_id":195103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:16:22] local.INFO: IMEI packet received {"connection_id":195103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":195103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:16:23] local.INFO: TCP Data received {"connection_id":195103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bb450012d0da28007063958001b01641b..."} 
[2026-09-25 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bb450012d0da28007063958001b01641b..."} 
[2026-09-25 16:16:23] local.INFO: Processing buffer {"connection_id":195103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bb450012d0da28007063958001b01641b..."} 
[2026-09-25 16:16:23] local.INFO: Packet analysis {"connection_id":195103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:23] local.INFO: Extracted packet for processing {"connection_id":195103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117848408,"longitude_deg":75.5868288,"latitude_deg":11.7848408,"altitude":27,"angle":356,"satellites":27,"speed":10,"hex_longitude":"2d0da280","hex_latitude":"07063958","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325281792001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33868437059010560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436377524224,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:23] 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-25 16:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790333138000,"timestamp_ms":1790333138000,"timestamp_seconds":1790333138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bb450"} 
[2026-09-25 16: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-25 16:16: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-25 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325281792001,"66":14515,"167":206,"94":11008,"24":10,"16":33868437059010560,"45":982488436377524224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 16:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325281792001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 16:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33868437059010560,"km_value":33868437059010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436377524224,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325281792001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":982488436377524224}} 
[2026-09-25 16:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":195103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:23] local.INFO: GPS data processed {"connection_id":195103,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:23] local.INFO: Acknowledgment sent {"connection_id":195103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:25] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:25] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:25] local.INFO: IMEI packet received {"connection_id":193796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":193796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:16:27] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:27] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:27] local.INFO: IMEI packet received {"connection_id":193796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":193796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:16:28] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:28] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:28] local.INFO: IMEI packet received {"connection_id":193797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":193797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:16:30] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:30] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:16:30] local.INFO: IMEI packet received {"connection_id":193796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":193796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:16:32] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:32] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:32] local.INFO: Packet analysis {"connection_id":193796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:32] local.INFO: Extracted packet for processing {"connection_id":193796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16: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-25 16: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-25 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:32] 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-25 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:16:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:16:32] 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":895819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:32] local.INFO: GPS data processed {"connection_id":193796,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:32] local.INFO: Acknowledgment sent {"connection_id":193796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:33] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:33] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:16:33] local.INFO: IMEI packet received {"connection_id":193797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":193797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:16:34] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bb068012d7bcac005e95828000300ef29..."} 
[2026-09-25 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bb068012d7bcac005e95828000300ef29..."} 
[2026-09-25 16:16:34] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bb068012d7bcac005e95828000300ef29..."} 
[2026-09-25 16:16:34] local.INFO: Packet analysis {"connection_id":193797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:34] local.INFO: Extracted packet for processing {"connection_id":193797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763087552,"raw_latitude":99178536,"longitude_deg":76.3087552,"latitude_deg":9.9178536,"altitude":3,"angle":239,"satellites":41,"speed":17,"hex_longitude":"2d7bcac0","hex_latitude":"05e95828","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325282560001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135843501970554880,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937257340928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333137000,"timestamp_ms":1790333137000,"timestamp_seconds":1790333137,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bb068"} 
[2026-09-25 16: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-25 16:16:34] 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-25 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325282560001,"66":13646,"156":206,"87":13824,"24":17,"16":135843501970554880,"45":8921067937257340928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 16:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325282560001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 16:16:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135843501970554880,"km_value":135843501970554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937257340928,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325282560001,"power":13646,"unknown_156":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8921067937257340928}} 
[2026-09-25 16:16:34] 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":895820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:34] local.INFO: GPS data processed {"connection_id":193797,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:34] local.INFO: Acknowledgment sent {"connection_id":193797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:36] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:36] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:16:36] local.INFO: Packet analysis {"connection_id":193796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:36] local.INFO: Extracted packet for processing {"connection_id":193796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16: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-25 16: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-25 16: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-25 16:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:16:36] 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-25 16:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:16:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:16:36] 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":895821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:36] local.INFO: GPS data processed {"connection_id":193796,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:36] local.INFO: Acknowledgment sent {"connection_id":193796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:16:55] local.INFO: TCP Data received {"connection_id":195103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82cb620012d0dbec007067d58001e00391c..."} 
[2026-09-25 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82cb620012d0dbec007067d58001e00391c..."} 
[2026-09-25 16:16:55] local.INFO: Processing buffer {"connection_id":195103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82cb620012d0dbec007067d58001e00391c..."} 
[2026-09-25 16:16:55] local.INFO: Packet analysis {"connection_id":195103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:16:55] local.INFO: Extracted packet for processing {"connection_id":195103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":755875520,"raw_latitude":117865816,"longitude_deg":75.587552,"latitude_deg":11.7865816,"altitude":30,"angle":57,"satellites":28,"speed":15,"hex_longitude":"2d0dbec0","hex_latitude":"07067d58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325299968001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33869403426652160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":990158629497493504,"note":"Value kept but may cause issues"} 
[2026-09-25 16:16:55] 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-25 16:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790333204000,"timestamp_ms":1790333204000,"timestamp_seconds":1790333204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82cb620"} 
[2026-09-25 16: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-25 16:16: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-25 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 16:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325299968001,"66":14450,"167":206,"94":11008,"24":15,"16":33869403426652160,"45":990158629497493504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-25 16:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325299968001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:16:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 16:16:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33869403426652160,"km_value":33869403426652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":990158629497493504,"description":"Unknown IO ID 45"} 
[2026-09-25 16:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325299968001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":990158629497493504}} 
[2026-09-25 16:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":195103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:16:55] local.INFO: GPS data processed {"connection_id":195103,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:16:55] local.INFO: Acknowledgment sent {"connection_id":195103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:17:05] local.INFO: TCP Data received {"connection_id":193797,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82beb00012d7bb40005e94970000000fe26..."} 
[2026-09-25 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82beb00012d7bb40005e94970000000fe26..."} 
[2026-09-25 16:17:05] local.INFO: Processing buffer {"connection_id":193797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82beb00012d7bb40005e94970000000fe26..."} 
[2026-09-25 16:17:05] local.INFO: Packet analysis {"connection_id":193797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:05] local.INFO: Extracted packet for processing {"connection_id":193797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763081728,"raw_latitude":99174768,"longitude_deg":76.3081728,"latitude_deg":9.9174768,"altitude":0,"angle":254,"satellites":38,"speed":19,"hex_longitude":"2d7bb400","hex_latitude":"05e94970","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325283072001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135843832683036672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920153143582926848,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333152000,"timestamp_ms":1790333152000,"timestamp_seconds":1790333152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82beb00"} 
[2026-09-25 16: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-25 16:17:05] 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-25 16: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325283072001,"66":13526,"156":206,"87":13824,"24":19,"16":135843832683036672,"45":8920153143582926848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325283072001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:17:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 16:17:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135843832683036672,"km_value":135843832683036.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920153143582926848,"description":"Unknown IO ID 45"} 
[2026-09-25 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325283072001,"power":13526,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8920153143582926848}} 
[2026-09-25 16:17:05] 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":895823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:17:05] local.INFO: GPS data processed {"connection_id":193797,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:17:05] local.INFO: Acknowledgment sent {"connection_id":193797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:17:10] local.INFO: TCP Data received {"connection_id":193796,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:10] local.INFO: Processing buffer {"connection_id":193796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:10] local.INFO: Packet analysis {"connection_id":193796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:10] local.INFO: Extracted packet for processing {"connection_id":193796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:17: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-25 16: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-25 16: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-25 16:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:17:10] 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-25 16:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:17:10] 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":895824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:17:10] local.INFO: GPS data processed {"connection_id":193796,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:17:10] local.INFO: Acknowledgment sent {"connection_id":193796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:17:17] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:17] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:17] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:17:18] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:18] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:18] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:17:20] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:20] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:20] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:17:21] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:21] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:17:21] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:17:25] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:25] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:25] local.INFO: IMEI packet received {"connection_id":192426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":192426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:17:28] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:28] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:28] local.INFO: IMEI packet received {"connection_id":192427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":192427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:17:30] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:30] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:17:30] local.INFO: IMEI packet received {"connection_id":192426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:17:31] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:31] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:17:31] local.INFO: Packet analysis {"connection_id":192426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:31] local.INFO: Extracted packet for processing {"connection_id":192426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17: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-25 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:17:31] 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-25 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:17: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-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:17:31] 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":895825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:17:31] local.INFO: GPS data processed {"connection_id":192426,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:17:31] local.INFO: Acknowledgment sent {"connection_id":192426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:17:33] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:33] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:17:33] local.INFO: IMEI packet received {"connection_id":192427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":192427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:17:34] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82c3150012d7b92c005e93e40000000fc28..."} 
[2026-09-25 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82c3150012d7b92c005e93e40000000fc28..."} 
[2026-09-25 16:17:34] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82c3150012d7b92c005e93e40000000fc28..."} 
[2026-09-25 16:17:34] local.INFO: Packet analysis {"connection_id":192427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:17:34] local.INFO: Extracted packet for processing {"connection_id":192427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763073216,"raw_latitude":99171904,"longitude_deg":76.3073216,"latitude_deg":9.9171904,"altitude":0,"angle":252,"satellites":40,"speed":20,"hex_longitude":"2d7b92c0","hex_latitude":"05e93e40","is_valid_coordinates":true} 
[2026-09-25 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-25 16:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286912001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135844266474733568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913749587861794816,"note":"Value kept but may cause issues"} 
[2026-09-25 16:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333170000,"timestamp_ms":1790333170000,"timestamp_seconds":1790333170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82c3150"} 
[2026-09-25 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-25 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 16:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286912001,"66":13493,"156":206,"87":13824,"24":20,"16":135844266474733568,"45":8913749587861794816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 16:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286912001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:17:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 16:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135844266474733568,"km_value":135844266474733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913749587861794816,"description":"Unknown IO ID 45"} 
[2026-09-25 16:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286912001,"power":13493,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8913749587861794816}} 
[2026-09-25 16:17:34] 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":895826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:17:34] local.INFO: GPS data processed {"connection_id":192427,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:17:34] local.INFO: Acknowledgment sent {"connection_id":192427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:03] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:03] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:03] local.INFO: Packet analysis {"connection_id":192426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:03] local.INFO: Extracted packet for processing {"connection_id":192426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18: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-25 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:18:03] 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-25 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:18: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-25 16:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:18:03] 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":895827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:03] local.INFO: GPS data processed {"connection_id":192426,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:03] local.INFO: Acknowledgment sent {"connection_id":192426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:05] local.INFO: TCP Data received {"connection_id":195104,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:05] local.INFO: Processing buffer {"connection_id":195104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:05] local.INFO: IMEI packet received {"connection_id":195104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":195104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:18:05] local.INFO: TCP Data received {"connection_id":192427,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82c5478012d7b888005e93b880000010727..."} 
[2026-09-25 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82c5478012d7b888005e93b880000010727..."} 
[2026-09-25 16:18:05] local.INFO: Processing buffer {"connection_id":192427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82c5478012d7b888005e93b880000010727..."} 
[2026-09-25 16:18:05] local.INFO: Packet analysis {"connection_id":192427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:18:05] local.INFO: Extracted packet for processing {"connection_id":192427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82c"} 
[2026-09-25 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":99171208,"longitude_deg":76.3070592,"latitude_deg":9.9171208,"altitude":0,"angle":263,"satellites":39,"speed":7,"hex_longitude":"2d7b8880","hex_latitude":"05e93b88","is_valid_coordinates":true} 
[2026-09-25 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325291520001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135844395323752448,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904390544885432320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333179000,"timestamp_ms":1790333179000,"timestamp_seconds":1790333179,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82c5478"} 
[2026-09-25 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:18:05] 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-25 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 16:18:05] 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-25 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325291520001,"66":13689,"156":206,"87":13824,"24":7,"16":135844395323752448,"45":8904390544885432320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-25 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325291520001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 16:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135844395323752448,"km_value":135844395323752.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904390544885432320,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325291520001,"power":13689,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8904390544885432320}} 
[2026-09-25 16:18:05] 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":895828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:05] local.INFO: GPS data processed {"connection_id":192427,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:05] local.INFO: Acknowledgment sent {"connection_id":192427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:06] local.INFO: TCP Data received {"connection_id":195104,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bf6b8012d19b9400720a7880035015928..."} 
[2026-09-25 16:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bf6b8012d19b9400720a7880035015928..."} 
[2026-09-25 16:18:06] local.INFO: Processing buffer {"connection_id":195104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bf6b8012d19b9400720a7880035015928..."} 
[2026-09-25 16:18:06] local.INFO: Packet analysis {"connection_id":195104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:06] local.INFO: Extracted packet for processing {"connection_id":195104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580552,"longitude_deg":75.6660544,"latitude_deg":11.9580552,"altitude":53,"angle":345,"satellites":40,"speed":17,"hex_longitude":"2d19b940","hex_latitude":"0720a788","is_valid_coordinates":true} 
[2026-09-25 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-25 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325287424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22959718343376896,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740541952,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790333155000,"timestamp_ms":1790333155000,"timestamp_seconds":1790333155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bf6b8"} 
[2026-09-25 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-25 16:18:06] 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-25 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3626721864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":49153,"corrected_to":0} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2242904110,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2431385600,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,145,160,211,45,64,149,50,37,10,66,203,49,38,199,192,1,240,224,227,216,32,4,113,205,9,98,184,40,239,55,2,81,7,44,41],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":203,"original":49153,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 16:18:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819065849949650944,"timestamp_seconds":3819065849949651.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 16:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325287424001,"66":13993,"103":206,"83":41984,"24":17,"16":22959718343376896,"45":1853653489740541952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325287424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22959718343376896,"km_value":22959718343376.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740541952,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325287424001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853653489740541952}} 
[2026-09-25 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":195104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:06] local.INFO: GPS data processed {"connection_id":195104,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:06] local.INFO: Acknowledgment sent {"connection_id":195104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:25] local.INFO: TCP Data received {"connection_id":195107,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:25] local.INFO: Processing buffer {"connection_id":195107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:25] local.INFO: IMEI packet received {"connection_id":195107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":195107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:18:30] local.INFO: TCP Data received {"connection_id":195107,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:30] local.INFO: Processing buffer {"connection_id":195107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:18:30] local.INFO: IMEI packet received {"connection_id":195107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":195107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:18:32] local.INFO: TCP Data received {"connection_id":195107,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:32] local.INFO: Processing buffer {"connection_id":195107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:18:32] local.INFO: Packet analysis {"connection_id":195107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:32] local.INFO: Extracted packet for processing {"connection_id":195107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:18:32] 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-25 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":195107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:32] local.INFO: GPS data processed {"connection_id":195107,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:32] local.INFO: Acknowledgment sent {"connection_id":195107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:37] local.INFO: TCP Data received {"connection_id":195104,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82da080012d18f3c00720d8a80039013b22..."} 
[2026-09-25 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82da080012d18f3c00720d8a80039013b22..."} 
[2026-09-25 16:18:37] local.INFO: Processing buffer {"connection_id":195104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82da080012d18f3c00720d8a80039013b22..."} 
[2026-09-25 16:18:37] local.INFO: Packet analysis {"connection_id":195104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:18:37] local.INFO: Extracted packet for processing {"connection_id":195104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756609984,"raw_latitude":119593128,"longitude_deg":75.6609984,"latitude_deg":11.9593128,"altitude":57,"angle":315,"satellites":34,"speed":27,"hex_longitude":"2d18f3c0","hex_latitude":"0720d8a8","is_valid_coordinates":true} 
[2026-09-25 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325314304001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22962316798590976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800806562865922048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790333264000,"timestamp_ms":1790333264000,"timestamp_seconds":1790333264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82da080"} 
[2026-09-25 16:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 16:18:37] 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-25 16:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325314304001,"66":14265,"103":206,"83":41984,"24":27,"16":22962316798590976,"45":1800806562865922048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325314304001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22962316798590976,"km_value":22962316798590.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800806562865922048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325314304001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1800806562865922048}} 
[2026-09-25 16:18:37] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:37] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:37] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":195104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:37] local.INFO: GPS data processed {"connection_id":195104,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:37] local.INFO: Acknowledgment sent {"connection_id":195104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:42] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:42] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:18:42] local.INFO: IMEI packet received {"connection_id":192246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":192246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:18:47] local.INFO: TCP Data received {"connection_id":192246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82e11c8012d7b588005e8a6f0000100ad29..."} 
[2026-09-25 16:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82e11c8012d7b588005e8a6f0000100ad29..."} 
[2026-09-25 16:18:47] local.INFO: Processing buffer {"connection_id":192246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82e11c8012d7b588005e8a6f0000100ad29..."} 
[2026-09-25 16:18:47] local.INFO: Packet analysis {"connection_id":192246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:18:47] local.INFO: Extracted packet for processing {"connection_id":192246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99133168,"longitude_deg":76.3058304,"latitude_deg":9.9133168,"altitude":1,"angle":173,"satellites":41,"speed":35,"hex_longitude":"2d7b5880","hex_latitude":"05e8a6f0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325320704001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135846877814849536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886727990089181184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790333293000,"timestamp_ms":1790333293000,"timestamp_seconds":1790333293,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82e11c8"} 
[2026-09-25 16: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-25 16:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:18: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-25 16: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-25 16: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-25 16:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325320704001,"66":13852,"201":206,"87":13824,"24":35,"16":135846877814849536,"45":8886727990089181184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325320704001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:18:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:18:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135846877814849536,"km_value":135846877814849.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886727990089181184,"description":"Unknown IO ID 45"} 
[2026-09-25 16:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325320704001,"power":13852,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8886727990089181184}} 
[2026-09-25 16:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":192246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:18:47] local.INFO: GPS data processed {"connection_id":192246,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:18:47] local.INFO: Acknowledgment sent {"connection_id":192246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:18:54] local.INFO: TCP Data received {"connection_id":195108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:54] local.INFO: Processing buffer {"connection_id":195108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:54] local.INFO: IMEI packet received {"connection_id":195108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":195108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:18:55] local.INFO: TCP Data received {"connection_id":195108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:55] local.INFO: Processing buffer {"connection_id":195108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:55] local.INFO: IMEI packet received {"connection_id":195108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":195108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:18:59] local.INFO: TCP Data received {"connection_id":195108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:59] local.INFO: Processing buffer {"connection_id":195108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:18:59] local.INFO: IMEI packet received {"connection_id":195108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":195108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:19:00] local.INFO: TCP Data received {"connection_id":195108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82dac38012d18eec00720df40003b014724..."} 
[2026-09-25 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82dac38012d18eec00720df40003b014724..."} 
[2026-09-25 16:19:00] local.INFO: Processing buffer {"connection_id":195108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82dac38012d18eec00720df40003b014724..."} 
[2026-09-25 16:19:00] local.INFO: Packet analysis {"connection_id":195108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:19:00] local.INFO: Extracted packet for processing {"connection_id":195108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756608704,"raw_latitude":119594816,"longitude_deg":75.6608704,"latitude_deg":11.9594816,"altitude":59,"angle":327,"satellites":36,"speed":29,"hex_longitude":"2d18eec0","hex_latitude":"0720df40","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325315584001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22962415582838784,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797991813099333632,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19: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-25 16:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333267000,"timestamp_ms":1790333267000,"timestamp_seconds":1790333267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82dac38"} 
[2026-09-25 16: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-25 16: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-25 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325315584001,"66":14298,"103":206,"83":41984,"24":29,"16":22962415582838784,"45":1797991813099333632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325315584001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22962415582838784,"km_value":22962415582838.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797991813099333632,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325315584001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1797991813099333632}} 
[2026-09-25 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":195108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:01] local.INFO: GPS data processed {"connection_id":195108,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:01] local.INFO: Acknowledgment sent {"connection_id":195108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:04] local.INFO: TCP Data received {"connection_id":195107,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:04] local.INFO: Processing buffer {"connection_id":195107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:04] local.INFO: Packet analysis {"connection_id":195107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:04] local.INFO: Extracted packet for processing {"connection_id":195107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19: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-25 16:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:19: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-25 16:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":195107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:04] local.INFO: GPS data processed {"connection_id":195107,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:04] local.INFO: Acknowledgment sent {"connection_id":195107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:30] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:30] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:30] local.INFO: IMEI packet received {"connection_id":193799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":193799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:19:32] local.INFO: TCP Data received {"connection_id":195108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82dcf60012d18e1400720f4a8003d013b24..."} 
[2026-09-25 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82dcf60012d18e1400720f4a8003d013b24..."} 
[2026-09-25 16:19:32] local.INFO: Processing buffer {"connection_id":195108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82dcf60012d18e1400720f4a8003d013b24..."} 
[2026-09-25 16:19:32] local.INFO: Packet analysis {"connection_id":195108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:19:32] local.INFO: Extracted packet for processing {"connection_id":195108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82d"} 
[2026-09-25 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756605248,"raw_latitude":119600296,"longitude_deg":75.6605248,"latitude_deg":11.9600296,"altitude":61,"angle":315,"satellites":36,"speed":29,"hex_longitude":"2d18e140","hex_latitude":"0720f4a8","is_valid_coordinates":true} 
[2026-09-25 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325316352001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22962733410418688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796584438216212480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790333276000,"timestamp_ms":1790333276000,"timestamp_seconds":1790333276,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82dcf60"} 
[2026-09-25 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:19:32] 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-25 16:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:32] 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-25 16:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325316352001,"66":14363,"103":206,"83":41984,"24":29,"16":22962733410418688,"45":1796584438216212480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325316352001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22962733410418688,"km_value":22962733410418.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796584438216212480,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325316352001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1796584438216212480}} 
[2026-09-25 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":195108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:32] local.INFO: GPS data processed {"connection_id":195108,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:32] local.INFO: Acknowledgment sent {"connection_id":195108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:35] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:35] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:19:35] local.INFO: IMEI packet received {"connection_id":193799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":193799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:19:36] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:36] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:36] local.INFO: Packet analysis {"connection_id":193799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:36] local.INFO: Extracted packet for processing {"connection_id":193799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:19:36] 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":895836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:36] local.INFO: GPS data processed {"connection_id":193799,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:36] local.INFO: Acknowledgment sent {"connection_id":193799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:41] local.INFO: TCP Data received {"connection_id":193799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:41] local.INFO: Processing buffer {"connection_id":193799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:19:41] local.INFO: Packet analysis {"connection_id":193799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:41] local.INFO: Extracted packet for processing {"connection_id":193799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:19:41] 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":895837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:41] local.INFO: GPS data processed {"connection_id":193799,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:41] local.INFO: Acknowledgment sent {"connection_id":193799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:41] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:41] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:41] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:19:42] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:42] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:19:42] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:19:42] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82e38d8012d7b594005e88460000300ae2a..."} 
[2026-09-25 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82e38d8012d7b594005e88460000300ae2a..."} 
[2026-09-25 16:19:42] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82e38d8012d7b594005e88460000300ae2a..."} 
[2026-09-25 16:19:42] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:19:42] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99124320,"longitude_deg":76.3058496,"latitude_deg":9.912432,"altitude":3,"angle":174,"satellites":42,"speed":34,"hex_longitude":"2d7b5940","hex_latitude":"05e88460","is_valid_coordinates":true} 
[2026-09-25 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325323008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135847307311579136,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627482120192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790333303000,"timestamp_ms":1790333303000,"timestamp_seconds":1790333303,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82e38d8"} 
[2026-09-25 16:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:19:42] 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-25 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:42] 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-25 16:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325323008001,"66":13678,"201":206,"87":13824,"24":34,"16":135847307311579136,"45":8887994627482120192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325323008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:19:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135847307311579136,"km_value":135847307311579.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627482120192,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325323008001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8887994627482120192}} 
[2026-09-25 16:19:42] 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":895838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:42] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:42] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:43] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82e63d0012d7b5b0005e85f38000300ab2a..."} 
[2026-09-25 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82e63d0012d7b5b0005e85f38000300ab2a..."} 
[2026-09-25 16:19:43] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82e63d0012d7b5b0005e85f38000300ab2a..."} 
[2026-09-25 16:19:43] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:19:43] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99114808,"longitude_deg":76.3058944,"latitude_deg":9.9114808,"altitude":3,"angle":171,"satellites":42,"speed":34,"hex_longitude":"2d7b5b00","hex_latitude":"05e85f38","is_valid_coordinates":true} 
[2026-09-25 16:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325325568001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135847771168047104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733712388096,"note":"Value kept but may cause issues"} 
[2026-09-25 16:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790333314000,"timestamp_ms":1790333314000,"timestamp_seconds":1790333314,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82e63d0"} 
[2026-09-25 16:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:19: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-25 16:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:19:43] 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-25 16:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325325568001,"66":13450,"201":206,"87":13824,"24":34,"16":135847771168047104,"45":8888205733712388096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325325568001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:19:43] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:19:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135847771168047104,"km_value":135847771168047.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733712388096,"description":"Unknown IO ID 45"} 
[2026-09-25 16:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325325568001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8888205733712388096}} 
[2026-09-25 16:19:43] 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":895839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:19:43] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:19:43] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:19:57] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:57] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:57] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:19:59] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:59] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:19:59] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:04] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:04] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:04] local.INFO: IMEI packet received {"connection_id":192248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":192248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:05] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82ec578012d188180072181800046011625..."} 
[2026-09-25 16:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82ec578012d188180072181800046011625..."} 
[2026-09-25 16:20:05] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82ec578012d188180072181800046011625..."} 
[2026-09-25 16:20:05] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:05] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119636352,"longitude_deg":75.6580736,"latitude_deg":11.9636352,"altitude":70,"angle":278,"satellites":37,"speed":26,"hex_longitude":"2d188180","hex_latitude":"07218180","is_valid_coordinates":true} 
[2026-09-25 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-25 16:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325331712001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965014038052864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183716894720,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333339000,"timestamp_ms":1790333339000,"timestamp_seconds":1790333339,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82ec578"} 
[2026-09-25 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-25 16:20:05] 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-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325331712001,"66":14080,"106":206,"83":41984,"24":26,"16":22965014038052864,"45":1775544183716894720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325331712001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965014038052864,"km_value":22965014038052.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183716894720,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325331712001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1775544183716894720}} 
[2026-09-25 16:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:05] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:05] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:06] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82ed130012d187b80072181a80047010623..."} 
[2026-09-25 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82ed130012d187b80072181a80047010623..."} 
[2026-09-25 16:20:06] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82ed130012d187b80072181a80047010623..."} 
[2026-09-25 16:20:06] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:06] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636392,"longitude_deg":75.65792,"latitude_deg":11.9636392,"altitude":71,"angle":262,"satellites":35,"speed":14,"hex_longitude":"2d187b80","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325334784001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965087052496896,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021206528,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] 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-25 16:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790333342000,"timestamp_ms":1790333342000,"timestamp_seconds":1790333342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82ed130"} 
[2026-09-25 16: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-25 16:20:06] 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-25 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3626901864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2507079680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,150,160,45,116,68,38,10,66,142,128,114,134,1,240,227,216,33,4,113,205,29,60,196,176,37,239,54,103,2,81,7],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-25 16:20:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044337405802971136,"timestamp_seconds":5044337405802971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325334784001,"66":14102,"106":206,"83":41984,"24":14,"16":22965087052496896,"45":1765833297021206528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325334784001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965087052496896,"km_value":22965087052496.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021206528,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325334784001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1765833297021206528}} 
[2026-09-25 16:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:06] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:06] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:25] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:25] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:25] local.INFO: IMEI packet received {"connection_id":192430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":192430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:20:28] local.INFO: TCP Data received {"connection_id":195110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:28] local.INFO: Processing buffer {"connection_id":195110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:28] local.INFO: IMEI packet received {"connection_id":195110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":195110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:20:30] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:30] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:20:30] local.INFO: IMEI packet received {"connection_id":192430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":192430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:31] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:20:31] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:20:31] local.INFO: Packet analysis {"connection_id":192430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:20:31] local.INFO: Extracted packet for processing {"connection_id":192430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20: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-25 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16: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-25 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:20: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-25 16:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:20:31] 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":895842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:31] local.INFO: GPS data processed {"connection_id":192430,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:31] local.INFO: Acknowledgment sent {"connection_id":192430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:33] local.INFO: TCP Data received {"connection_id":195110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:33] local.INFO: Processing buffer {"connection_id":195110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:20:33] local.INFO: IMEI packet received {"connection_id":195110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":195110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:34] local.INFO: TCP Data received {"connection_id":195110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82e7f28012d7b5c8005e84908000400ba29..."} 
[2026-09-25 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82e7f28012d7b5c8005e84908000400ba29..."} 
[2026-09-25 16:20:34] local.INFO: Processing buffer {"connection_id":195110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82e7f28012d7b5c8005e84908000400ba29..."} 
[2026-09-25 16:20:34] local.INFO: Packet analysis {"connection_id":195110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:34] local.INFO: Extracted packet for processing {"connection_id":195110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99109128,"longitude_deg":76.3059328,"latitude_deg":9.9109128,"altitude":4,"angle":186,"satellites":41,"speed":31,"hex_longitude":"2d7b5c80","hex_latitude":"05e84908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325328384001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135848046045954048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888698314919196672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333321000,"timestamp_ms":1790333321000,"timestamp_seconds":1790333321,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82e7f28"} 
[2026-09-25 16: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-25 16:20:34] 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-25 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:34] 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-25 16: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-25 16: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-25 16:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325328384001,"66":13820,"201":206,"87":13824,"24":31,"16":135848046045954048,"45":8888698314919196672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325328384001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:20:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135848046045954048,"km_value":135848046045954.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888698314919196672,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325328384001,"power":13820,"unknown_201":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8888698314919196672}} 
[2026-09-25 16:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":195110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:34] local.INFO: GPS data processed {"connection_id":195110,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:34] local.INFO: Acknowledgment sent {"connection_id":195110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:37] local.INFO: TCP Data received {"connection_id":192248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82f07e0012d1878c0072182000049011c25..."} 
[2026-09-25 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82f07e0012d1878c0072182000049011c25..."} 
[2026-09-25 16:20:37] local.INFO: Processing buffer {"connection_id":192248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82f07e0012d1878c0072182000049011c25..."} 
[2026-09-25 16:20:37] local.INFO: Packet analysis {"connection_id":192248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:37] local.INFO: Extracted packet for processing {"connection_id":192248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756578496,"raw_latitude":119636480,"longitude_deg":75.6578496,"latitude_deg":11.963648,"altitude":73,"angle":284,"satellites":37,"speed":3,"hex_longitude":"2d1878c0","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-09-25 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325335552001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965130002169856,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160952832,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:37] 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-25 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790333356000,"timestamp_ms":1790333356000,"timestamp_seconds":1790333356,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f07e0"} 
[2026-09-25 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:20:37] 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-25 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:37] 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-25 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325335552001,"66":14102,"106":206,"83":41984,"24":3,"16":22965130002169856,"45":1764144447160952832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325335552001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965130002169856,"km_value":22965130002169.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160952832,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325335552001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1764144447160952832}} 
[2026-09-25 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":192248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:37] local.INFO: GPS data processed {"connection_id":192248,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:37] local.INFO: Acknowledgment sent {"connection_id":192248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:54] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:54] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:54] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:20:55] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:55] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:20:55] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:56] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 16:20:56] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 16:20:56] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:20:56] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82f32d8012d18660007218188004b011824..."} 
[2026-09-25 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82f32d8012d18660007218188004b011824..."} 
[2026-09-25 16:20:56] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d82f0fb0012d187700072181e80049010c25..."} 
[2026-09-25 16:20:56] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:56] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636456,"longitude_deg":75.6578048,"latitude_deg":11.9636456,"altitude":73,"angle":268,"satellites":37,"speed":10,"hex_longitude":"2d187700","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-09-25 16:20: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-25 16:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325339136001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965151477006336,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763370390975021056,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:56] 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-25 16:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790333358000,"timestamp_ms":1790333358000,"timestamp_seconds":1790333358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f0fb0"} 
[2026-09-25 16:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:20: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":22,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:56] 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-25 16:20: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-25 16:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325339136001,"66":13961,"106":206,"83":41984,"24":10,"16":22965151477006336,"45":1763370390975021056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325339136001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965151477006336,"km_value":22965151477006.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763370390975021056,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325339136001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1763370390975021056}} 
[2026-09-25 16:20:56] 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":895845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:56] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:56] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:20:56] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:56] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756573696,"raw_latitude":119636360,"longitude_deg":75.6573696,"latitude_deg":11.963636,"altitude":75,"angle":280,"satellites":36,"speed":24,"hex_longitude":"2d186600","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-09-25 16:20: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-25 16:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325339648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965357635436544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765771264,"note":"Value kept but may cause issues"} 
[2026-09-25 16:20: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-25 16:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790333367000,"timestamp_ms":1790333367000,"timestamp_seconds":1790333367,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f32d8"} 
[2026-09-25 16:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:20: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":137,"data_length":795,"current_offset":136} 
[2026-09-25 16:20:56] 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-25 16:20: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-25 16:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325339648001,"66":14265,"105":206,"83":41984,"24":24,"16":22965357635436544,"45":1762877809765771264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325339648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965357635436544,"km_value":22965357635436.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765771264,"description":"Unknown IO ID 45"} 
[2026-09-25 16:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325339648001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1762877809765771264}} 
[2026-09-25 16:20:56] 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":895846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:20:56] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:20:56] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:00] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82f3e90012d185f0007218378004c012625..."} 
[2026-09-25 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82f3e90012d185f0007218378004c012625..."} 
[2026-09-25 16:21:00] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82f3e90012d185f0007218378004c012625..."} 
[2026-09-25 16:21:00] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:00] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756571904,"raw_latitude":119636856,"longitude_deg":75.6571904,"latitude_deg":11.9636856,"altitude":76,"angle":294,"satellites":37,"speed":26,"hex_longitude":"2d185f00","hex_latitude":"07218378","is_valid_coordinates":true} 
[2026-09-25 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325341952001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965447829749760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758092735161665536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21: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-25 16:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333370000,"timestamp_ms":1790333370000,"timestamp_seconds":1790333370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f3e90"} 
[2026-09-25 16:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:21: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-25 16:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325341952001,"66":14352,"105":206,"83":41984,"24":26,"16":22965447829749760,"45":1758092735161665536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325341952001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965447829749760,"km_value":22965447829749.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758092735161665536,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325341952001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1758092735161665536}} 
[2026-09-25 16:21:00] 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":895847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:00] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:00] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:02] local.INFO: TCP Data received {"connection_id":192430,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:21:02] local.INFO: Processing buffer {"connection_id":192430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82bdf48012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:21:02] local.INFO: Packet analysis {"connection_id":192430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:21:02] local.INFO: Extracted packet for processing {"connection_id":192430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82b"} 
[2026-09-25 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325209088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21: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-25 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790333149000,"timestamp_ms":1790333149000,"timestamp_seconds":1790333149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82bdf48"} 
[2026-09-25 16:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325209088001,"66":25582,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325209088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:21: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-25 16:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325209088001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:21:02] 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":895848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:02] local.INFO: GPS data processed {"connection_id":192430,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:02] local.INFO: Acknowledgment sent {"connection_id":192430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:06] local.INFO: TCP Data received {"connection_id":195110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82ea250012d7b5a0005e83068000200ae2a..."} 
[2026-09-25 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82ea250012d7b5a0005e83068000200ae2a..."} 
[2026-09-25 16:21:06] local.INFO: Processing buffer {"connection_id":195110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82ea250012d7b5a0005e83068000200ae2a..."} 
[2026-09-25 16:21:06] local.INFO: Packet analysis {"connection_id":195110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:21:06] local.INFO: Extracted packet for processing {"connection_id":195110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99102824,"longitude_deg":76.3058688,"latitude_deg":9.9102824,"altitude":2,"angle":174,"satellites":42,"speed":11,"hex_longitude":"2d7b5a00","hex_latitude":"05e83068","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325330176001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135848355283599360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527382808576,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790333330000,"timestamp_ms":1790333330000,"timestamp_seconds":1790333330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82ea250"} 
[2026-09-25 16: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-25 16:21:06] 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-25 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:06] 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-25 16: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-25 16: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-25 16:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325330176001,"66":13559,"201":206,"87":13824,"24":11,"16":135848355283599360,"45":8889120527382808576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325330176001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135848355283599360,"km_value":135848355283599.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527382808576,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325330176001,"power":13559,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8889120527382808576}} 
[2026-09-25 16:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":195110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:06] local.INFO: GPS data processed {"connection_id":195110,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:06] local.INFO: Acknowledgment sent {"connection_id":195110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:25] local.INFO: TCP Data received {"connection_id":192250,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:25] local.INFO: Processing buffer {"connection_id":192250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:25] local.INFO: IMEI packet received {"connection_id":192250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":192250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:21:28] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:28] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:28] local.INFO: IMEI packet received {"connection_id":193802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":193802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:21:28] local.INFO: TCP Data received {"connection_id":192250,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:28] local.INFO: Processing buffer {"connection_id":192250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:21:28] local.INFO: IMEI packet received {"connection_id":192250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":192250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:21:29] local.INFO: TCP Data received {"connection_id":193801,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:21:29] local.INFO: Processing buffer {"connection_id":193801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:21:29] local.INFO: IMEI packet received {"connection_id":193801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":193801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:21:29] local.INFO: TCP Data received {"connection_id":192250,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:21:29] local.INFO: Processing buffer {"connection_id":192250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:21:29] local.INFO: Packet analysis {"connection_id":192250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:21:29] local.INFO: Extracted packet for processing {"connection_id":192250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:21: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-25 16:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21: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-25 16:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:21: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-25 16:21: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-25 16:21: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-25 16:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:21:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:21: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-25 16:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":192250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:29] local.INFO: GPS data processed {"connection_id":192250,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:29] local.INFO: Acknowledgment sent {"connection_id":192250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:31] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82f7158012d183e40072192480050012424..."} 
[2026-09-25 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82f7158012d183e40072192480050012424..."} 
[2026-09-25 16:21:31] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82f7158012d183e40072192480050012424..."} 
[2026-09-25 16:21:31] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:31] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756563520,"raw_latitude":119640648,"longitude_deg":75.656352,"latitude_deg":11.9640648,"altitude":80,"angle":292,"satellites":36,"speed":27,"hex_longitude":"2d183e40","hex_latitude":"07219248","is_valid_coordinates":true} 
[2026-09-25 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325342720001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22965885916413952,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756122410324817920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333383000,"timestamp_ms":1790333383000,"timestamp_seconds":1790333383,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f7158"} 
[2026-09-25 16:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:21:31] 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-25 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733138944,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-6016801261979434940,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3626931864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147950977,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4478266986840719370,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950038794240,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2175270983,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176939626,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4467834717441687808,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2525954048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":19141600428955648,"corrected_to":0} 
[2026-09-25 16:21:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,150,160,50,45,129,75,36,10,66,15,73,37,106,7,192,1,240,22,227,216,33,4,113,205,14,197,128,239,55,2,81,68,25,206,200],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":19141600428955648,"validated":0}]} 
[2026-09-25 16:21:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476700562216583168,"timestamp_seconds":5476700562216583.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325342720001,"66":14298,"105":206,"83":41984,"24":27,"16":22965885916413952,"45":1756122410324817920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325342720001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22965885916413952,"km_value":22965885916413.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756122410324817920,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325342720001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1756122410324817920}} 
[2026-09-25 16:21:31] 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":895851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:31] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:31] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:33] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:33] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:21:33] local.INFO: IMEI packet received {"connection_id":193802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":193802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:21:33] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82ed900012d7b59c005e82e58000200b929..."} 
[2026-09-25 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82ed900012d7b59c005e82e58000200b929..."} 
[2026-09-25 16:21:33] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82ed900012d7b59c005e82e58000200b929..."} 
[2026-09-25 16:21:33] local.INFO: Packet analysis {"connection_id":193802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:21:33] local.INFO: Extracted packet for processing {"connection_id":193802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82e"} 
[2026-09-25 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":99102296,"longitude_deg":76.3058624,"latitude_deg":9.9102296,"altitude":2,"angle":185,"satellites":41,"speed":3,"hex_longitude":"2d7b59c0","hex_latitude":"05e82e58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325332480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135848385348370432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839939418112,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790333344000,"timestamp_ms":1790333344000,"timestamp_seconds":1790333344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82ed900"} 
[2026-09-25 16: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-25 16:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:33] 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-25 16: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-25 16: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-25 16:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325332480001,"66":13722,"201":206,"87":13824,"24":3,"16":135848385348370432,"45":8888416839939418112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-25 16:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325332480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-25 16:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135848385348370432,"km_value":135848385348370.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839939418112,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325332480001,"power":13722,"unknown_201":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8888416839939418112}} 
[2026-09-25 16:21:33] 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":895852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:21:33] local.INFO: GPS data processed {"connection_id":193802,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:21:33] local.INFO: Acknowledgment sent {"connection_id":193802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:21:54] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:54] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:54] local.INFO: IMEI packet received {"connection_id":192251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":192251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:21:59] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:59] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:21:59] local.INFO: IMEI packet received {"connection_id":192251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":192251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:21:59] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82f8cb0012d182dc0072199e80050013224..."} 
[2026-09-25 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82f8cb0012d182dc0072199e80050013224..."} 
[2026-09-25 16:21:59] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82f8cb0012d182dc0072199e80050013224..."} 
[2026-09-25 16:21:59] local.INFO: Packet analysis {"connection_id":192251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:59] local.INFO: Extracted packet for processing {"connection_id":192251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642600,"longitude_deg":75.6559296,"latitude_deg":11.96426,"altitude":80,"angle":306,"satellites":36,"speed":21,"hex_longitude":"2d182dc0","hex_latitude":"072199e8","is_valid_coordinates":true} 
[2026-09-25 16:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325346048001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22966109254713344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904104838514688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:21:59] local.INFO: IO Element Parsed {"io_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-25 16:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790333390000,"timestamp_ms":1790333390000,"timestamp_seconds":1790333390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82f8cb0"} 
[2026-09-25 16:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:21:59] 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-25 16:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 16:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325346048001,"66":14102,"105":206,"83":41984,"24":21,"16":22966109254713344,"45":1746904104838514688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325346048001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22966109254713344,"km_value":22966109254713.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904104838514688,"description":"Unknown IO ID 45"} 
[2026-09-25 16:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325346048001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1746904104838514688}} 
[2026-09-25 16:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":192251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:00] local.INFO: GPS data processed {"connection_id":192251,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:00] local.INFO: Acknowledgment sent {"connection_id":192251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:01] local.INFO: TCP Data received {"connection_id":192250,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:01] local.INFO: Processing buffer {"connection_id":192250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:01] local.INFO: Packet analysis {"connection_id":192250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:22:01] local.INFO: Extracted packet for processing {"connection_id":192250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22: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-25 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:22: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-25 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:22: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-25 16:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:22: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-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":192250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:01] local.INFO: GPS data processed {"connection_id":192250,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:01] local.INFO: Acknowledgment sent {"connection_id":192250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:04] local.INFO: TCP Data received {"connection_id":192252,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:22:04] local.INFO: Processing buffer {"connection_id":192252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:22:04] local.INFO: IMEI packet received {"connection_id":192252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":192252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:22:05] local.INFO: TCP Data received {"connection_id":193802,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8317110012d7b838005e71238000600862a..."} 
[2026-09-25 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8317110012d7b838005e71238000600862a..."} 
[2026-09-25 16:22:05] local.INFO: Processing buffer {"connection_id":193802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8317110012d7b838005e71238000600862a..."} 
[2026-09-25 16:22:05] local.INFO: Packet analysis {"connection_id":193802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:05] local.INFO: Extracted packet for processing {"connection_id":193802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":99029560,"longitude_deg":76.3069312,"latitude_deg":9.902956,"altitude":6,"angle":134,"satellites":42,"speed":22,"hex_longitude":"2d7b8380","hex_latitude":"05e71238","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325379072001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135852001710833664,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257780072448,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333514000,"timestamp_ms":1790333514000,"timestamp_seconds":1790333514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8317110"} 
[2026-09-25 16: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-25 16:22:05] 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-25 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 16:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325379072001,"66":13624,"96":206,"87":13824,"24":22,"16":135852001710833664,"45":8899183257780072448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325379072001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 16:22:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135852001710833664,"km_value":135852001710833.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257780072448,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325379072001,"power":13624,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8899183257780072448}} 
[2026-09-25 16:22:05] 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":895855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:05] local.INFO: GPS data processed {"connection_id":193802,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:05] local.INFO: Acknowledgment sent {"connection_id":193802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:22] local.INFO: TCP Data received {"connection_id":192253,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:22:22] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:22:22] local.INFO: IMEI packet received {"connection_id":192253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":192253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:22:23] local.INFO: TCP Data received {"connection_id":192253,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831a3d8012d0e070007068dd00016010e1c..."} 
[2026-09-25 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831a3d8012d0e070007068dd00016010e1c..."} 
[2026-09-25 16:22:23] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831a3d8012d0e070007068dd00016010e1c..."} 
[2026-09-25 16:22:23] local.INFO: Packet analysis {"connection_id":192253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:23] local.INFO: Extracted packet for processing {"connection_id":192253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755894016,"raw_latitude":117870032,"longitude_deg":75.5894016,"latitude_deg":11.7870032,"altitude":22,"angle":270,"satellites":28,"speed":6,"hex_longitude":"2d0e0700","hex_latitude":"07068dd0","is_valid_coordinates":true} 
[2026-09-25 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325382656001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33875214517403648,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409031043072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:23] 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-25 16:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790333527000,"timestamp_ms":1790333527000,"timestamp_seconds":1790333527,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831a3d8"} 
[2026-09-25 16:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:22: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-25 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 16:22: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-25 16:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325382656001,"66":14439,"219":206,"94":10240,"24":6,"16":33875214517403648,"45":1010917409031043072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 16:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325382656001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 16:22:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33875214517403648,"km_value":33875214517403.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409031043072,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325382656001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1010917409031043072}} 
[2026-09-25 16:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":192253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:23] local.INFO: GPS data processed {"connection_id":192253,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:23] local.INFO: Acknowledgment sent {"connection_id":192253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:25] local.INFO: TCP Data received {"connection_id":195111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:25] local.INFO: Processing buffer {"connection_id":195111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:25] local.INFO: IMEI packet received {"connection_id":195111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":195111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:22:26] local.INFO: TCP Data received {"connection_id":192254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:26] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:26] local.INFO: IMEI packet received {"connection_id":192254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":192254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:22:27] local.INFO: TCP Data received {"connection_id":192254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:27] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:27] local.INFO: IMEI packet received {"connection_id":192254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":192254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:22:30] local.INFO: TCP Data received {"connection_id":195111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:30] local.INFO: Processing buffer {"connection_id":195111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:22:30] local.INFO: IMEI packet received {"connection_id":195111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":195111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:22:31] local.INFO: TCP Data received {"connection_id":192251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d82fcb30012d18264007219fb00052013f27..."} 
[2026-09-25 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d82fcb30012d18264007219fb00052013f27..."} 
[2026-09-25 16:22:31] local.INFO: Processing buffer {"connection_id":192251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d82fcb30012d18264007219fb00052013f27..."} 
[2026-09-25 16:22:31] local.INFO: Packet analysis {"connection_id":192251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:22:31] local.INFO: Extracted packet for processing {"connection_id":192251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d82f"} 
[2026-09-25 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644080,"longitude_deg":75.6557376,"latitude_deg":11.964408,"altitude":82,"angle":319,"satellites":39,"speed":10,"hex_longitude":"2d182640","hex_latitude":"07219fb0","is_valid_coordinates":true} 
[2026-09-25 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325347840001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22966225218830336,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723288576,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333406000,"timestamp_ms":1790333406000,"timestamp_seconds":1790333406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d82fcb30"} 
[2026-09-25 16:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:22:31] 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-25 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 16:22:31] 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-25 16:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325347840001,"66":14298,"105":206,"83":41984,"24":10,"16":22966225218830336,"45":1742259767723288576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325347840001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22966225218830336,"km_value":22966225218830.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723288576,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325347840001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1742259767723288576}} 
[2026-09-25 16:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":192251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:31] local.INFO: GPS data processed {"connection_id":192251,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:31] local.INFO: Acknowledgment sent {"connection_id":192251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:31] local.INFO: TCP Data received {"connection_id":195111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:31] local.INFO: Processing buffer {"connection_id":195111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:22:31] local.INFO: Packet analysis {"connection_id":195111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:22:31] local.INFO: Extracted packet for processing {"connection_id":195111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22: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-25 16:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:22: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-25 16:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":195111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:31] local.INFO: GPS data processed {"connection_id":195111,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:31] local.INFO: Acknowledgment sent {"connection_id":195111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:33] local.INFO: TCP Data received {"connection_id":192254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:33] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:22:33] local.INFO: IMEI packet received {"connection_id":192254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":192254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:22:34] local.INFO: TCP Data received {"connection_id":192254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83178e0012d7b864005e70ea8000600952a..."} 
[2026-09-25 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83178e0012d7b864005e70ea8000600952a..."} 
[2026-09-25 16:22:34] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83178e0012d7b864005e70ea8000600952a..."} 
[2026-09-25 16:22:34] local.INFO: Packet analysis {"connection_id":192254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:34] local.INFO: Extracted packet for processing {"connection_id":192254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763070016,"raw_latitude":99028648,"longitude_deg":76.3070016,"latitude_deg":9.9028648,"altitude":6,"angle":149,"satellites":42,"speed":23,"hex_longitude":"2d7b8640","hex_latitude":"05e70ea8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325379584001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135852057545408512,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051454154752,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333516000,"timestamp_ms":1790333516000,"timestamp_seconds":1790333516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83178e0"} 
[2026-09-25 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-25 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 16:22:34] 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-25 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-25 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-25 16:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325379584001,"66":13798,"96":206,"87":13824,"24":23,"16":135852057545408512,"45":8900098051454154752},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 16:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325379584001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 16:22:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135852057545408512,"km_value":135852057545408.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051454154752,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325379584001,"power":13798,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8900098051454154752}} 
[2026-09-25 16:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":192254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:34] local.INFO: GPS data processed {"connection_id":192254,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:34] local.INFO: Acknowledgment sent {"connection_id":192254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:54] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:54] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:54] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:22:54] local.INFO: TCP Data received {"connection_id":192253,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8323848012d0e0b4007068760002000941c..."} 
[2026-09-25 16:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8323848012d0e0b4007068760002000941c..."} 
[2026-09-25 16:22:54] local.INFO: Processing buffer {"connection_id":192253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8323848012d0e0b4007068760002000941c..."} 
[2026-09-25 16:22:54] local.INFO: Packet analysis {"connection_id":192253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:22:54] local.INFO: Extracted packet for processing {"connection_id":192253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":755895104,"raw_latitude":117868384,"longitude_deg":75.5895104,"latitude_deg":11.7868384,"altitude":32,"angle":148,"satellites":28,"speed":1,"hex_longitude":"2d0e0b40","hex_latitude":"07068760","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325392384001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33875497985245184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011972940193302528,"note":"Value kept but may cause issues"} 
[2026-09-25 16:22:54] 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-25 16:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790333565000,"timestamp_ms":1790333565000,"timestamp_seconds":1790333565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8323848"} 
[2026-09-25 16: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-25 16:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 16:22:54] 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-25 16: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-25 16: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-25 16:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325392384001,"66":14374,"219":206,"94":10240,"24":1,"16":33875497985245184,"45":1011972940193302528},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 16:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325392384001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:22:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 16:22:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33875497985245184,"km_value":33875497985245.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011972940193302528,"description":"Unknown IO ID 45"} 
[2026-09-25 16:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325392384001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1011972940193302528}} 
[2026-09-25 16:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":192253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:22:55] local.INFO: GPS data processed {"connection_id":192253,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:22:55] local.INFO: Acknowledgment sent {"connection_id":192253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:22:59] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:59] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:22:59] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:00] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:00] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:00] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:00] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756587776,"raw_latitude":119696840,"longitude_deg":75.6587776,"latitude_deg":11.969684,"altitude":105,"angle":21,"satellites":41,"speed":8,"hex_longitude":"2d189d00","hex_latitude":"07226dc8","is_valid_coordinates":true} 
[2026-09-25 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325377280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22969266055675904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507309313449984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23: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-25 16:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333524000,"timestamp_ms":1790333524000,"timestamp_seconds":1790333524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8319820"} 
[2026-09-25 16:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23:00] 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-25 16:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:00] 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-25 16:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325377280001,"66":13798,"105":206,"83":41984,"24":8,"16":22969266055675904,"45":1768507309313449984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325377280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22969266055675904,"km_value":22969266055675.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507309313449984,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325377280001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1768507309313449984}} 
[2026-09-25 16:23:00] 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":895861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:00] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:00] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:03] local.INFO: TCP Data received {"connection_id":195111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:03] local.INFO: Processing buffer {"connection_id":195111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:03] local.INFO: Packet analysis {"connection_id":195111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:23:03] local.INFO: Extracted packet for processing {"connection_id":195111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23: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-25 16:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23: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-25 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:23:03] 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-25 16:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:23: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-25 16:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":195111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:03] local.INFO: GPS data processed {"connection_id":195111,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:03] local.INFO: Acknowledgment sent {"connection_id":195111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:05] local.INFO: TCP Data received {"connection_id":192254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8317cc8012d7b870005e70c70000600a12a..."} 
[2026-09-25 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8317cc8012d7b870005e70c70000600a12a..."} 
[2026-09-25 16:23:05] local.INFO: Processing buffer {"connection_id":192254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8317cc8012d7b870005e70c70000600a12a..."} 
[2026-09-25 16:23:05] local.INFO: Packet analysis {"connection_id":192254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:05] local.INFO: Extracted packet for processing {"connection_id":192254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763070208,"raw_latitude":99028080,"longitude_deg":76.3070208,"latitude_deg":9.902808,"altitude":6,"angle":161,"satellites":42,"speed":23,"hex_longitude":"2d7b8700","hex_latitude":"05e70c70","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325380096001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135852087610179584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900872107639875584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333517000,"timestamp_ms":1790333517000,"timestamp_seconds":1790333517,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8317cc8"} 
[2026-09-25 16: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-25 16:23:05] 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-25 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:05] 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-25 16: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-25 16: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-25 16:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325380096001,"66":13646,"96":206,"87":13824,"24":23,"16":135852087610179584,"45":8900872107639875584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 16:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325380096001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 16:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135852087610179584,"km_value":135852087610179.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900872107639875584,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325380096001,"power":13646,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8900872107639875584}} 
[2026-09-25 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":192254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:05] local.INFO: GPS data processed {"connection_id":192254,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:05] local.INFO: Acknowledgment sent {"connection_id":192254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:17] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:17] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:17] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:23:18] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:18] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:18] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:22] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:22] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:23:22] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:23] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8324400012d0e0bc007068748002000721c..."} 
[2026-09-25 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8324400012d0e0bc007068748002000721c..."} 
[2026-09-25 16:23:23] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8324400012d0e0bc007068748002000721c..."} 
[2026-09-25 16:23:23] local.INFO: Packet analysis {"connection_id":192433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:23:23] local.INFO: Extracted packet for processing {"connection_id":192433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755895232,"raw_latitude":117868360,"longitude_deg":75.5895232,"latitude_deg":11.786836,"altitude":32,"angle":114,"satellites":28,"speed":2,"hex_longitude":"2d0e0bc0","hex_latitude":"07068748","is_valid_coordinates":true} 
[2026-09-25 16:23: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-25 16:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325392640001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33875506575179776,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011972940193292288,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:23] 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-25 16:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790333568000,"timestamp_ms":1790333568000,"timestamp_seconds":1790333568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8324400"} 
[2026-09-25 16:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23: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-25 16:23: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":38,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:23: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-25 16:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325392640001,"66":14450,"219":206,"94":10240,"24":2,"16":33875506575179776,"45":1011972940193292288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 16:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325392640001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 16:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33875506575179776,"km_value":33875506575179.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011972940193292288,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325392640001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011972940193292288}} 
[2026-09-25 16:23:23] 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":895864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:23] local.INFO: GPS data processed {"connection_id":192433,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:23] local.INFO: Acknowledgment sent {"connection_id":192433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:25] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:25] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:25] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:23:26] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:26] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:26] local.INFO: IMEI packet received {"connection_id":192256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":192256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:23:27] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:27] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:27] local.INFO: IMEI packet received {"connection_id":192256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":192256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:31] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:31] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8319820012d189d0007226dc80069001529..."} 
[2026-09-25 16:23:31] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:31] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":756587776,"raw_latitude":119696840,"longitude_deg":75.6587776,"latitude_deg":11.969684,"altitude":105,"angle":21,"satellites":41,"speed":8,"hex_longitude":"2d189d00","hex_latitude":"07226dc8","is_valid_coordinates":true} 
[2026-09-25 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325382144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22969266055675904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773573858896234496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333524000,"timestamp_ms":1790333524000,"timestamp_seconds":1790333524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8319820"} 
[2026-09-25 16:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23:31] 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-25 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:31] 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-25 16:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325382144001,"66":13798,"105":206,"83":41984,"24":8,"16":22969266055675904,"45":1773573858896234496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325382144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22969266055675904,"km_value":22969266055675.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773573858896234496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325382144001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1773573858896234496}} 
[2026-09-25 16:23:31] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:31] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:23:31] local.INFO: IMEI packet received {"connection_id":192255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":192255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:31] 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":895865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:31] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:31] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:32] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:32] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:23:32] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:23:32] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:23:32] 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-25 16:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:32] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:32] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:33] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:33] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:23:33] local.INFO: IMEI packet received {"connection_id":192256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":192256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:23:34] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831aba8012d7b908005e6ed800007009429..."} 
[2026-09-25 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831aba8012d7b908005e6ed800007009429..."} 
[2026-09-25 16:23:34] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831aba8012d7b908005e6ed800007009429..."} 
[2026-09-25 16:23:34] local.INFO: Packet analysis {"connection_id":192256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:34] local.INFO: Extracted packet for processing {"connection_id":192256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763072640,"raw_latitude":99020160,"longitude_deg":76.307264,"latitude_deg":9.902016,"altitude":7,"angle":148,"satellites":41,"speed":27,"hex_longitude":"2d7b9080","hex_latitude":"05e6ed80","is_valid_coordinates":true} 
[2026-09-25 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-25 16:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325380352001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135852491337105408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901083213872263168,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333529000,"timestamp_ms":1790333529000,"timestamp_seconds":1790333529,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831aba8"} 
[2026-09-25 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-25 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325380352001,"66":13515,"96":206,"87":13824,"24":27,"16":135852491337105408,"45":8901083213872263168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 16:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325380352001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 16:23:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135852491337105408,"km_value":135852491337105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901083213872263168,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325380352001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8901083213872263168}} 
[2026-09-25 16:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":192256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:34] local.INFO: GPS data processed {"connection_id":192256,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:34] local.INFO: Acknowledgment sent {"connection_id":192256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:54] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d832efe0012d0e30c0070684a00024001d1c..."} 
[2026-09-25 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d832efe0012d0e30c0070684a00024001d1c..."} 
[2026-09-25 16:23:54] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d832efe0012d0e30c0070684a00024001d1c..."} 
[2026-09-25 16:23:54] local.INFO: Packet analysis {"connection_id":192433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:23:54] local.INFO: Extracted packet for processing {"connection_id":192433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d832"} 
[2026-09-25 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755904704,"raw_latitude":117867680,"longitude_deg":75.5904704,"latitude_deg":11.786768,"altitude":36,"angle":29,"satellites":28,"speed":12,"hex_longitude":"2d0e30c0","hex_latitude":"070684a0","is_valid_coordinates":true} 
[2026-09-25 16:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325404416001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33875991906484224,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022317145587154944,"note":"Value kept but may cause issues"} 
[2026-09-25 16:23:54] 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-25 16:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790333612000,"timestamp_ms":1790333612000,"timestamp_seconds":1790333612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d832efe0"} 
[2026-09-25 16:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 16:23:54] 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-25 16:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325404416001,"66":14548,"219":206,"94":10240,"24":12,"16":33875991906484224,"45":1022317145587154944},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-25 16:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325404416001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:23:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-25 16:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33875991906484224,"km_value":33875991906484.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022317145587154944,"description":"Unknown IO ID 45"} 
[2026-09-25 16:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325404416001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1022317145587154944}} 
[2026-09-25 16:23:54] 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":895868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:23:54] local.INFO: GPS data processed {"connection_id":192433,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:23:54] local.INFO: Acknowledgment sent {"connection_id":192433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:23:54] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:54] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:54] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:23:59] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:59] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:23:59] local.INFO: IMEI packet received {"connection_id":192257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":192257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:00] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831a7c0012d189e0007227130006b000529..."} 
[2026-09-25 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831a7c0012d189e0007227130006b000529..."} 
[2026-09-25 16:24:00] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831a7c0012d189e0007227130006b000529..."} 
[2026-09-25 16:24:00] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:00] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119697712,"longitude_deg":75.6588032,"latitude_deg":11.9697712,"altitude":107,"angle":5,"satellites":41,"speed":9,"hex_longitude":"2d189e00","hex_latitude":"07227130","is_valid_coordinates":true} 
[2026-09-25 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325382144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22969313300316160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773573858896234496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24: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-25 16:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333528000,"timestamp_ms":1790333528000,"timestamp_seconds":1790333528,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831a7c0"} 
[2026-09-25 16:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:24:00] 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-25 16:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:00] 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-25 16:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325382144001,"66":14026,"105":206,"83":41984,"24":9,"16":22969313300316160,"45":1773573858896234496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325382144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22969313300316160,"km_value":22969313300316.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773573858896234496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325382144001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1773573858896234496}} 
[2026-09-25 16:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:00] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:00] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:03] local.INFO: TCP Data received {"connection_id":192255,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:03] local.INFO: Processing buffer {"connection_id":192255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:03] local.INFO: Packet analysis {"connection_id":192255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:03] local.INFO: Extracted packet for processing {"connection_id":192255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24: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-25 16:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:03] 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-25 16:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:24: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-25 16:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":192255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:03] local.INFO: GPS data processed {"connection_id":192255,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:03] local.INFO: Acknowledgment sent {"connection_id":192255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:05] local.INFO: TCP Data received {"connection_id":192256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831bf30012d7b96c005e6e228000700a129..."} 
[2026-09-25 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831bf30012d7b96c005e6e228000700a129..."} 
[2026-09-25 16:24:05] local.INFO: Processing buffer {"connection_id":192256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831bf30012d7b96c005e6e228000700a129..."} 
[2026-09-25 16:24:05] local.INFO: Packet analysis {"connection_id":192256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:05] local.INFO: Extracted packet for processing {"connection_id":192256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763074240,"raw_latitude":99017256,"longitude_deg":76.307424,"latitude_deg":9.9017256,"altitude":7,"angle":161,"satellites":41,"speed":24,"hex_longitude":"2d7b96c0","hex_latitude":"05e6e228","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325383424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135852654545862656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903757226148986880,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333534000,"timestamp_ms":1790333534000,"timestamp_seconds":1790333534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831bf30"} 
[2026-09-25 16: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-25 16:24:05] 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-25 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325383424001,"66":13765,"96":206,"87":13824,"24":24,"16":135852654545862656,"45":8903757226148986880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-25 16:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325383424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-25 16:24:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135852654545862656,"km_value":135852654545862.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903757226148986880,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325383424001,"power":13765,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8903757226148986880}} 
[2026-09-25 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":192256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:05] local.INFO: GPS data processed {"connection_id":192256,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:05] local.INFO: Acknowledgment sent {"connection_id":192256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:18] local.INFO: TCP Data received {"connection_id":195112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:18] local.INFO: Processing buffer {"connection_id":195112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:18] local.INFO: IMEI packet received {"connection_id":195112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":195112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:24:19] local.INFO: TCP Data received {"connection_id":195112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:19] local.INFO: Processing buffer {"connection_id":195112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:19] local.INFO: IMEI packet received {"connection_id":195112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":195112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:22] local.INFO: TCP Data received {"connection_id":195112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: Processing buffer {"connection_id":195112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: IMEI packet received {"connection_id":195112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":195112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:22] local.INFO: TCP Data received {"connection_id":195112,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: Processing buffer {"connection_id":195112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:24:22] local.INFO: IMEI packet received {"connection_id":195112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":195112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:27] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:27] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:27] local.INFO: IMEI packet received {"connection_id":192435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":192435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:24:30] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:30] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:30] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:24:31] local.INFO: TCP Data received {"connection_id":192257,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831aba8012d189e0007227200006b015329..."} 
[2026-09-25 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831aba8012d189e0007227200006b015329..."} 
[2026-09-25 16:24:31] local.INFO: Processing buffer {"connection_id":192257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831aba8012d189e0007227200006b015329..."} 
[2026-09-25 16:24:31] local.INFO: Packet analysis {"connection_id":192257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:31] local.INFO: Extracted packet for processing {"connection_id":192257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:24:31] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119697920,"longitude_deg":75.6588032,"latitude_deg":11.969792,"altitude":107,"angle":339,"satellites":41,"speed":8,"hex_longitude":"2d189e00","hex_latitude":"07227200","is_valid_coordinates":true} 
[2026-09-25 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325383168001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22969326185218048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773855333873168384,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333529000,"timestamp_ms":1790333529000,"timestamp_seconds":1790333529,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831aba8"} 
[2026-09-25 16:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:24:31] 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-25 16:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:31] 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-25 16:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325383168001,"66":14070,"105":206,"83":41984,"24":8,"16":22969326185218048,"45":1773855333873168384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325383168001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22969326185218048,"km_value":22969326185218.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773855333873168384,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325383168001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1773855333873168384}} 
[2026-09-25 16:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:31] local.INFO: GPS data processed {"connection_id":192257,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:31] local.INFO: Acknowledgment sent {"connection_id":192257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:33] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:33] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:24:33] local.INFO: IMEI packet received {"connection_id":192435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":192435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:33] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8336128012d7bdbc005e5f6a8000600a027..."} 
[2026-09-25 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8336128012d7bdbc005e5f6a8000600a027..."} 
[2026-09-25 16:24:33] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8336128012d7bdbc005e5f6a8000600a027..."} 
[2026-09-25 16:24:33] local.INFO: Packet analysis {"connection_id":192435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:24:33] local.INFO: Extracted packet for processing {"connection_id":192435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763091904,"raw_latitude":98956968,"longitude_deg":76.3091904,"latitude_deg":9.8956968,"altitude":6,"angle":160,"satellites":39,"speed":31,"hex_longitude":"2d7bdbc0","hex_latitude":"05e5f6a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325408512001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135855759807217664,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921912362132893696,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790333641000,"timestamp_ms":1790333641000,"timestamp_seconds":1790333641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8336128"} 
[2026-09-25 16: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-25 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:33] 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-25 16: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-25 16: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-25 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325408512001,"66":13559,"95":206,"87":13824,"24":31,"16":135855759807217664,"45":8921912362132893696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325408512001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 16:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135855759807217664,"km_value":135855759807217.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921912362132893696,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325408512001,"power":13559,"unknown_95":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8921912362132893696}} 
[2026-09-25 16:24:33] 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":895873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:33] local.INFO: GPS data processed {"connection_id":192435,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:33] local.INFO: Acknowledgment sent {"connection_id":192435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:35] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:35] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:24:35] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:37] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:37] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:37] local.INFO: Packet analysis {"connection_id":192434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:37] local.INFO: Extracted packet for processing {"connection_id":192434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:24: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-25 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:24:37] 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":895874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:37] local.INFO: GPS data processed {"connection_id":192434,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:37] local.INFO: Acknowledgment sent {"connection_id":192434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:41] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:41] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:24:41] local.INFO: Packet analysis {"connection_id":192434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:41] local.INFO: Extracted packet for processing {"connection_id":192434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:24: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-25 16:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:24: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-25 16:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:24: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-25 16:24: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-25 16:24: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-25 16:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:24: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-25 16:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:24:41] 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":895875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:24:41] local.INFO: GPS data processed {"connection_id":192434,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:24:41] local.INFO: Acknowledgment sent {"connection_id":192434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:24:54] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:54] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:54] local.INFO: IMEI packet received {"connection_id":192259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":192259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:24:55] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:55] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:55] local.INFO: IMEI packet received {"connection_id":192259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":192259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:24:59] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:59] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:24:59] local.INFO: IMEI packet received {"connection_id":192259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":192259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:25:00] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831af90012d189d80072272a0006b013429..."} 
[2026-09-25 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831af90012d189d80072272a0006b013429..."} 
[2026-09-25 16:25:00] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831af90012d189d80072272a0006b013429..."} 
[2026-09-25 16:25:00] local.INFO: Packet analysis {"connection_id":192259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:25:00] local.INFO: Extracted packet for processing {"connection_id":192259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756587904,"raw_latitude":119698080,"longitude_deg":75.6587904,"latitude_deg":11.969808,"altitude":107,"angle":308,"satellites":41,"speed":7,"hex_longitude":"2d189d80","hex_latitude":"072272a0","is_valid_coordinates":true} 
[2026-09-25 16:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325383424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22969334775152640,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773855333873221632,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25: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-25 16:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333530000,"timestamp_ms":1790333530000,"timestamp_seconds":1790333530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831af90"} 
[2026-09-25 16:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:25: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-25 16:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-25 16:25:00] 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-25 16:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325383424001,"66":14070,"105":206,"83":41984,"24":7,"16":22969334775152640,"45":1773855333873221632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325383424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22969334775152640,"km_value":22969334775152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773855333873221632,"description":"Unknown IO ID 45"} 
[2026-09-25 16:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325383424001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1773855333873221632}} 
[2026-09-25 16:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":192259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:25:00] local.INFO: GPS data processed {"connection_id":192259,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:25:00] local.INFO: Acknowledgment sent {"connection_id":192259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:25:04] local.INFO: TCP Data received {"connection_id":192435,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8336ce0012d7bdfc005e5ee380005009327..."} 
[2026-09-25 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8336ce0012d7bdfc005e5ee380005009327..."} 
[2026-09-25 16:25:04] local.INFO: Processing buffer {"connection_id":192435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8336ce0012d7bdfc005e5ee380005009327..."} 
[2026-09-25 16:25:04] local.INFO: Packet analysis {"connection_id":192435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:04] local.INFO: Extracted packet for processing {"connection_id":192435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763092928,"raw_latitude":98954808,"longitude_deg":76.3092928,"latitude_deg":9.8954808,"altitude":5,"angle":147,"satellites":39,"speed":30,"hex_longitude":"2d7bdfc0","hex_latitude":"05e5ee38","is_valid_coordinates":true} 
[2026-09-25 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325412096001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135855875771334656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924938218130286592,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790333644000,"timestamp_ms":1790333644000,"timestamp_seconds":1790333644,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8336ce0"} 
[2026-09-25 16:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 16:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325412096001,"66":13559,"95":206,"87":13824,"24":30,"16":135855875771334656,"45":8924938218130286592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325412096001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:25:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 16:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135855875771334656,"km_value":135855875771334.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924938218130286592,"description":"Unknown IO ID 45"} 
[2026-09-25 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325412096001,"power":13559,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8924938218130286592}} 
[2026-09-25 16:25:04] 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":895877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:25:04] local.INFO: GPS data processed {"connection_id":192435,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:25:04] local.INFO: Acknowledgment sent {"connection_id":192435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:25:25] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:25] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:25] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:25:27] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:27] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:27] local.INFO: IMEI packet received {"connection_id":193805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":193805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:25:30] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:30] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:25:30] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:25:31] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:25:31] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:25:31] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:25:31] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25: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-25 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16: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-25 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:25:31] 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-25 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:25: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-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:25:31] 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":895878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:25:31] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:25:31] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:25:31] local.INFO: TCP Data received {"connection_id":192259,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d833caa0012d182b400721bfb8004b00e62a..."} 
[2026-09-25 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d833caa0012d182b400721bfb8004b00e62a..."} 
[2026-09-25 16:25:31] local.INFO: Processing buffer {"connection_id":192259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d833caa0012d182b400721bfb8004b00e62a..."} 
[2026-09-25 16:25:31] local.INFO: Packet analysis {"connection_id":192259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:31] local.INFO: Extracted packet for processing {"connection_id":192259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119652280,"longitude_deg":75.6558656,"latitude_deg":11.965228,"altitude":75,"angle":230,"satellites":42,"speed":17,"hex_longitude":"2d182b40","hex_latitude":"0721bfb8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325419008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972001949843456,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080283990016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333668000,"timestamp_ms":1790333668000,"timestamp_seconds":1790333668,"priority":1,"record_length":96,"hex_timestamp":"000001a0d833caa0"} 
[2026-09-25 16: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-25 16:25:31] 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-25 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3627212864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3664900958847540672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":22,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-3746769033060364717,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2598436864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2481263494201129514,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:31] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,156,160,159,45,64,220,80,40,10,66,124,250,86,39,89,1,240,145,227,155,216,34,4,113,205,22,168,41,239,50,2,81,7,110,9,164],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 16:25:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404572620908724224,"timestamp_seconds":5404572620908724.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325419008001,"66":12809,"105":206,"83":41984,"24":17,"16":22972001949843456,"45":1741556080283990016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325419008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972001949843456,"km_value":22972001949843.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080283990016,"description":"Unknown IO ID 45"} 
[2026-09-25 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325419008001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1741556080283990016}} 
[2026-09-25 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":192259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:25:31] local.INFO: GPS data processed {"connection_id":192259,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:25:31] local.INFO: Acknowledgment sent {"connection_id":192259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:25:33] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:33] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:25:33] local.INFO: IMEI packet received {"connection_id":193805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":193805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:25:34] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8337898012d7be60005e5e7300005008026..."} 
[2026-09-25 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8337898012d7be60005e5e7300005008026..."} 
[2026-09-25 16:25:34] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8337898012d7be60005e5e7300005008026..."} 
[2026-09-25 16:25:34] local.INFO: Packet analysis {"connection_id":193805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:34] local.INFO: Extracted packet for processing {"connection_id":193805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":98953008,"longitude_deg":76.3094528,"latitude_deg":9.8953008,"altitude":5,"angle":128,"satellites":38,"speed":32,"hex_longitude":"2d7be600","hex_latitude":"05e5e730","is_valid_coordinates":true} 
[2026-09-25 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-25 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325412864001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135855996030418944,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926064118036576256,"note":"Value kept but may cause issues"} 
[2026-09-25 16:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333647000,"timestamp_ms":1790333647000,"timestamp_seconds":1790333647,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8337898"} 
[2026-09-25 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-25 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 16:25:34] 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-25 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-25 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-25 16:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325412864001,"66":13624,"95":206,"87":13824,"24":32,"16":135855996030418944,"45":8926064118036576256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 16:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325412864001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:25:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 16:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135855996030418944,"km_value":135855996030418.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926064118036576256,"description":"Unknown IO ID 45"} 
[2026-09-25 16:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325412864001,"power":13624,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8926064118036576256}} 
[2026-09-25 16:25:34] 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":895880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:25:34] local.INFO: GPS data processed {"connection_id":193805,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:25:34] local.INFO: Acknowledgment sent {"connection_id":193805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:25:54] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: IMEI packet received {"connection_id":193806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":193806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:25:54] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:54] local.INFO: IMEI packet received {"connection_id":193806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":193806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:25:59] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:59] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:25:59] local.INFO: IMEI packet received {"connection_id":193806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":193806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:26:00] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d833d658012d1828800721bcd8004a00da2a..."} 
[2026-09-25 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d833d658012d1828800721bcd8004a00da2a..."} 
[2026-09-25 16:26:00] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d833d658012d1828800721bcd8004a00da2a..."} 
[2026-09-25 16:26:00] local.INFO: Packet analysis {"connection_id":193806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:26:00] local.INFO: Extracted packet for processing {"connection_id":193806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119651544,"longitude_deg":75.6557952,"latitude_deg":11.9651544,"altitude":74,"angle":218,"satellites":42,"speed":10,"hex_longitude":"2d182880","hex_latitude":"0721bcd8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325419008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972053489451008,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080283990016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26: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-25 16:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333671000,"timestamp_ms":1790333671000,"timestamp_seconds":1790333671,"priority":1,"record_length":96,"hex_timestamp":"000001a0d833d658"} 
[2026-09-25 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-25 16:26:00] 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-25 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3627226864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":40961,"corrected_to":0} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3666000470475316608,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854281301347923,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2605383680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2481034795782555690,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:00] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,156,160,202,45,64,191,75,42,10,66,159,220,80,40,124,1,240,19,227,216,34,4,113,205,43,58,125,232,41,239,50,2,81,7,164,225],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":202,"original":40961,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 16:26:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404572620908724224,"timestamp_seconds":5404572620908724.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 16:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325419008001,"66":12798,"105":206,"83":41984,"24":10,"16":22972053489451008,"45":1741556080283990016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325419008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972053489451008,"km_value":22972053489451.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080283990016,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325419008001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1741556080283990016}} 
[2026-09-25 16:26:00] 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":895881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:00] local.INFO: GPS data processed {"connection_id":193806,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:00] local.INFO: Acknowledgment sent {"connection_id":193806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:03] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:26:03] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8307710012d34c14006aa4908000e006e2c..."} 
[2026-09-25 16:26:03] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:26:03] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d830"} 
[2026-09-25 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325286144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26: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-25 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333450000,"timestamp_ms":1790333450000,"timestamp_seconds":1790333450,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8307710"} 
[2026-09-25 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:26:03] 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-25 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325286144001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325286144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:26: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-25 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325286144001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:26:03] 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":895882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:03] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:03] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:05] local.INFO: TCP Data received {"connection_id":193805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d834d058012d7c440005e51bb0000700d22a..."} 
[2026-09-25 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d834d058012d7c440005e51bb0000700d22a..."} 
[2026-09-25 16:26:05] local.INFO: Processing buffer {"connection_id":193805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d834d058012d7c440005e51bb0000700d22a..."} 
[2026-09-25 16:26:05] local.INFO: Packet analysis {"connection_id":193805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:26:05] local.INFO: Extracted packet for processing {"connection_id":193805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98900912,"longitude_deg":76.3118592,"latitude_deg":9.8900912,"altitude":7,"angle":210,"satellites":42,"speed":18,"hex_longitude":"2d7c4400","hex_latitude":"05e51bb0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325435904001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135858856478638080,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954422721926473728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333735000,"timestamp_ms":1790333735000,"timestamp_seconds":1790333735,"priority":1,"record_length":96,"hex_timestamp":"000001a0d834d058"} 
[2026-09-25 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-25 16:26:05] 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-25 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:05] 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-25 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-25 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-25 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325435904001,"66":13765,"39":206,"87":13824,"24":18,"16":135858856478638080,"45":8954422721926473728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325435904001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135858856478638080,"km_value":135858856478638.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954422721926473728,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325435904001,"power":13765,"unknown_39":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8954422721926473728}} 
[2026-09-25 16:26:05] 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":895883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:05] local.INFO: GPS data processed {"connection_id":193805,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:05] local.INFO: Acknowledgment sent {"connection_id":193805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:25] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:25] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:25] local.INFO: IMEI packet received {"connection_id":193807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":193807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:26:29] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:29] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:26:29] local.INFO: IMEI packet received {"connection_id":193807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":193807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:26:30] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:26:30] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:26:30] local.INFO: Packet analysis {"connection_id":193807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:26:30] local.INFO: Extracted packet for processing {"connection_id":193807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:26:30] 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-25 16:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:26:30] 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":895884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:30] local.INFO: GPS data processed {"connection_id":193807,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:30] local.INFO: Acknowledgment sent {"connection_id":193807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:31] local.INFO: TCP Data received {"connection_id":193806,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d833e210012d1827000721baa8004b00cb2a..."} 
[2026-09-25 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d833e210012d1827000721baa8004b00cb2a..."} 
[2026-09-25 16:26:31] local.INFO: Processing buffer {"connection_id":193806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d833e210012d1827000721baa8004b00cb2a..."} 
[2026-09-25 16:26:31] local.INFO: Packet analysis {"connection_id":193806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:26:31] local.INFO: Extracted packet for processing {"connection_id":193806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650984,"longitude_deg":75.6557568,"latitude_deg":11.9650984,"altitude":75,"angle":203,"satellites":42,"speed":7,"hex_longitude":"2d182700","hex_latitude":"0721baa8","is_valid_coordinates":true} 
[2026-09-25 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325419776001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972083554222080,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097847296,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333674000,"timestamp_ms":1790333674000,"timestamp_seconds":1790333674,"priority":1,"record_length":96,"hex_timestamp":"000001a0d833e210"} 
[2026-09-25 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:26:31] 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-25 16:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325419776001,"66":12798,"105":206,"83":41984,"24":7,"16":22972083554222080,"45":1740782024097847296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325419776001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972083554222080,"km_value":22972083554222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097847296,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325419776001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740782024097847296}} 
[2026-09-25 16:26:31] 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":895885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:31] local.INFO: GPS data processed {"connection_id":193806,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:31] local.INFO: Acknowledgment sent {"connection_id":193806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:38] local.INFO: TCP Data received {"connection_id":195115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:38] local.INFO: Processing buffer {"connection_id":195115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:38] local.INFO: IMEI packet received {"connection_id":195115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":195115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:26:40] local.INFO: TCP Data received {"connection_id":195115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:40] local.INFO: Processing buffer {"connection_id":195115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:26:40] local.INFO: IMEI packet received {"connection_id":195115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":195115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:26:41] local.INFO: TCP Data received {"connection_id":195115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d834ff38012d7c2f8005e4fc78000800d528..."} 
[2026-09-25 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d834ff38012d7c2f8005e4fc78000800d528..."} 
[2026-09-25 16:26:41] local.INFO: Processing buffer {"connection_id":195115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d834ff38012d7c2f8005e4fc78000800d528..."} 
[2026-09-25 16:26:41] local.INFO: Packet analysis {"connection_id":195115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:26:41] local.INFO: Extracted packet for processing {"connection_id":195115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763113344,"raw_latitude":98892920,"longitude_deg":76.3113344,"latitude_deg":9.889292,"altitude":8,"angle":213,"satellites":40,"speed":39,"hex_longitude":"2d7c2f80","hex_latitude":"05e4fc78","is_valid_coordinates":true} 
[2026-09-25 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-25 16:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325436160001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135859320335106048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438022144,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790333747000,"timestamp_ms":1790333747000,"timestamp_seconds":1790333747,"priority":1,"record_length":96,"hex_timestamp":"000001a0d834ff38"} 
[2026-09-25 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-25 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:41] 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-25 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-25 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-25 16:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325436160001,"66":13341,"39":206,"87":13824,"24":39,"16":135859320335106048,"45":8954281984438022144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325436160001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135859320335106048,"km_value":135859320335106.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438022144,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325436160001,"power":13341,"unknown_39":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8954281984438022144}} 
[2026-09-25 16:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":195115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:41] local.INFO: GPS data processed {"connection_id":195115,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:41] local.INFO: Acknowledgment sent {"connection_id":195115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:41] local.INFO: TCP Data received {"connection_id":195115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8352260012d7c1a8005e4dc00000900d528..."} 
[2026-09-25 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8352260012d7c1a8005e4dc00000900d528..."} 
[2026-09-25 16:26:41] local.INFO: Processing buffer {"connection_id":195115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8352260012d7c1a8005e4dc00000900d528..."} 
[2026-09-25 16:26:41] local.INFO: Packet analysis {"connection_id":195115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:26:41] local.INFO: Extracted packet for processing {"connection_id":195115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763107968,"raw_latitude":98884608,"longitude_deg":76.3107968,"latitude_deg":9.8884608,"altitude":9,"angle":213,"satellites":40,"speed":39,"hex_longitude":"2d7c1a80","hex_latitude":"05e4dc00","is_valid_coordinates":true} 
[2026-09-25 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-25 16:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325439232001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135859797076475904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948511747413407744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790333756000,"timestamp_ms":1790333756000,"timestamp_seconds":1790333756,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8352260"} 
[2026-09-25 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-25 16:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 16:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325439232001,"66":13374,"39":206,"87":13824,"24":39,"16":135859797076475904,"45":8948511747413407744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325439232001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135859797076475904,"km_value":135859797076475.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948511747413407744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325439232001,"power":13374,"unknown_39":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8948511747413407744}} 
[2026-09-25 16:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":195115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:26:41] local.INFO: GPS data processed {"connection_id":195115,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:26:41] local.INFO: Acknowledgment sent {"connection_id":195115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:26:57] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:57] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:57] local.INFO: IMEI packet received {"connection_id":193808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":193808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:26:59] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:59] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:26:59] local.INFO: IMEI packet received {"connection_id":193808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":193808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:27:01] local.INFO: TCP Data received {"connection_id":193807,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:01] local.INFO: Processing buffer {"connection_id":193807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:01] local.INFO: Packet analysis {"connection_id":193807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:01] local.INFO: Extracted packet for processing {"connection_id":193807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27: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-25 16:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:27: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-25 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:01] 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-25 16:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:27: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-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:27:01] 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":895888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:01] local.INFO: GPS data processed {"connection_id":193807,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:01] local.INFO: Acknowledgment sent {"connection_id":193807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:04] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:04] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:04] local.INFO: IMEI packet received {"connection_id":193808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":193808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:27:05] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8343418012d1826000721b928004b00d529..."} 
[2026-09-25 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8343418012d1826000721b928004b00d529..."} 
[2026-09-25 16:27:05] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8343418012d1826000721b928004b00d529..."} 
[2026-09-25 16:27:05] local.INFO: Packet analysis {"connection_id":193808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:27:05] local.INFO: Extracted packet for processing {"connection_id":193808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325420544001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632637952,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:05] local.INFO: IO Element Parsed {"io_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-25 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333695000,"timestamp_ms":1790333695000,"timestamp_seconds":1790333695,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8343418"} 
[2026-09-25 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:27:05] 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-25 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:05] 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-25 16:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325420544001,"66":12722,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740359811632637952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325420544001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632637952,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325420544001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811632637952}} 
[2026-09-25 16:27:05] 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":895889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:05] local.INFO: GPS data processed {"connection_id":193808,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:05] local.INFO: Acknowledgment sent {"connection_id":193808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:09] local.INFO: TCP Data received {"connection_id":193808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8348620012d1826000721b928004b00d52a..."} 
[2026-09-25 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8348620012d1826000721b928004b00d52a..."} 
[2026-09-25 16:27:09] local.INFO: Processing buffer {"connection_id":193808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8348620012d1826000721b928004b00d52a..."} 
[2026-09-25 16:27:09] local.INFO: Packet analysis {"connection_id":193808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:27:09] local.INFO: Extracted packet for processing {"connection_id":193808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325425920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790333716000,"timestamp_ms":1790333716000,"timestamp_seconds":1790333716,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8348620"} 
[2026-09-25 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:27:09] 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-25 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:09] 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-25 16:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325425920001,"66":12743,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325425920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325425920001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:27:10] 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":895890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:10] local.INFO: GPS data processed {"connection_id":193808,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:10] local.INFO: Acknowledgment sent {"connection_id":193808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:13] local.INFO: TCP Data received {"connection_id":195115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8354970012d7c05c005e4bb58000900d429..."} 
[2026-09-25 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8354970012d7c05c005e4bb58000900d429..."} 
[2026-09-25 16:27:13] local.INFO: Processing buffer {"connection_id":195115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8354970012d7c05c005e4bb58000900d429..."} 
[2026-09-25 16:27:13] local.INFO: Packet analysis {"connection_id":195115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:13] local.INFO: Extracted packet for processing {"connection_id":195115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763102656,"raw_latitude":98876248,"longitude_deg":76.3102656,"latitude_deg":9.8876248,"altitude":9,"angle":212,"satellites":41,"speed":43,"hex_longitude":"2d7c05c0","hex_latitude":"05e4bb58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325441536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135860273817845760,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942600772900356096,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790333766000,"timestamp_ms":1790333766000,"timestamp_seconds":1790333766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8354970"} 
[2026-09-25 16: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-25 16:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":195115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":195115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325441536001,"66":13646,"39":206,"87":13824,"24":43,"16":135860273817845760,"45":8942600772900356096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325441536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135860273817845760,"km_value":135860273817845.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942600772900356096,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325441536001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8942600772900356096}} 
[2026-09-25 16:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":195115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:13] local.INFO: GPS data processed {"connection_id":195115,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:13] local.INFO: Acknowledgment sent {"connection_id":195115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:25] local.INFO: TCP Data received {"connection_id":195116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:25] local.INFO: Processing buffer {"connection_id":195116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:25] local.INFO: IMEI packet received {"connection_id":195116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":195116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:27:27] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:27] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:27] local.INFO: IMEI packet received {"connection_id":192260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":192260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:27:30] local.INFO: TCP Data received {"connection_id":195116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:30] local.INFO: Processing buffer {"connection_id":195116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:27:30] local.INFO: IMEI packet received {"connection_id":195116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":195116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:27:31] local.INFO: TCP Data received {"connection_id":195116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:31] local.INFO: Processing buffer {"connection_id":195116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:27:31] local.INFO: Packet analysis {"connection_id":195116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:31] local.INFO: Extracted packet for processing {"connection_id":195116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27: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-25 16:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16: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-25 16:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:31] 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-25 16: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-25 16: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-25 16:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:27:31] 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-25 16:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:27: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-25 16:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":195116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:31] local.INFO: GPS data processed {"connection_id":195116,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:31] local.INFO: Acknowledgment sent {"connection_id":195116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:35] local.INFO: TCP Data received {"connection_id":192438,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:27:35] local.INFO: Processing buffer {"connection_id":192438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:27:35] local.INFO: IMEI packet received {"connection_id":192438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":192438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:27:36] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:36] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:27:36] local.INFO: IMEI packet received {"connection_id":192260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":192260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:27:37] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83568b0012d7bf0c005e49b70000c00d42a..."} 
[2026-09-25 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83568b0012d7bf0c005e49b70000c00d42a..."} 
[2026-09-25 16:27:37] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83568b0012d7bf0c005e49b70000c00d42a..."} 
[2026-09-25 16:27:37] local.INFO: Packet analysis {"connection_id":192260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:37] local.INFO: Extracted packet for processing {"connection_id":192260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763097280,"raw_latitude":98868080,"longitude_deg":76.309728,"latitude_deg":9.886808,"altitude":12,"angle":212,"satellites":42,"speed":51,"hex_longitude":"2d7bf0c0","hex_latitude":"05e49b70","is_valid_coordinates":true} 
[2026-09-25 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325444096001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135860746264248320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936760167131469824,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790333774000,"timestamp_ms":1790333774000,"timestamp_seconds":1790333774,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83568b0"} 
[2026-09-25 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325444096001,"66":13678,"39":206,"87":13824,"24":51,"16":135860746264248320,"45":8936760167131469824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325444096001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135860746264248320,"km_value":135860746264248.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936760167131469824,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325444096001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":8936760167131469824}} 
[2026-09-25 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":192260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:37] local.INFO: GPS data processed {"connection_id":192260,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:37] local.INFO: Acknowledgment sent {"connection_id":192260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:38] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8358408012d7bdc0005e47b70000e00d42a..."} 
[2026-09-25 16:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8358408012d7bdc0005e47b70000e00d42a..."} 
[2026-09-25 16:27:38] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8358408012d7bdc0005e47b70000e00d42a..."} 
[2026-09-25 16:27:38] local.INFO: Packet analysis {"connection_id":192260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:38] local.INFO: Extracted packet for processing {"connection_id":192260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763091968,"raw_latitude":98859888,"longitude_deg":76.3091968,"latitude_deg":9.8859888,"altitude":14,"angle":212,"satellites":42,"speed":57,"hex_longitude":"2d7bdc00","hex_latitude":"05e47b70","is_valid_coordinates":true} 
[2026-09-25 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325446144001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135861218710650880,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930849192618455040,"note":"Value kept but may cause issues"} 
[2026-09-25 16:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790333781000,"timestamp_ms":1790333781000,"timestamp_seconds":1790333781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8358408"} 
[2026-09-25 16:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:27:38] 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-25 16:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325446144001,"66":13613,"39":206,"87":13824,"24":57,"16":135861218710650880,"45":8930849192618455040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325446144001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:27:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:27:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135861218710650880,"km_value":135861218710650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930849192618455040,"description":"Unknown IO ID 45"} 
[2026-09-25 16:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325446144001,"power":13613,"unknown_39":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":8930849192618455040}} 
[2026-09-25 16:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":192260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:27:38] local.INFO: GPS data processed {"connection_id":192260,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:27:38] local.INFO: Acknowledgment sent {"connection_id":192260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:27:54] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:54] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:54] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:27:59] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:59] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:27:59] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:28:00] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d834d828012d1826000721b928004b00d52b..."} 
[2026-09-25 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d834d828012d1826000721b928004b00d52b..."} 
[2026-09-25 16:28:00] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d834d828012d1826000721b928004b00d52b..."} 
[2026-09-25 16:28:00] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:28:00] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d834"} 
[2026-09-25 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325431296001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333737000,"timestamp_ms":1790333737000,"timestamp_seconds":1790333737,"priority":1,"record_length":96,"hex_timestamp":"000001a0d834d828"} 
[2026-09-25 16: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-25 16:28:00] 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-25 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:00] 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-25 16: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-25 16: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-25 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325431296001,"66":12711,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325431296001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325431296001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:28:00] 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":895895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:00] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:00] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:03] local.INFO: TCP Data received {"connection_id":195116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:03] local.INFO: Processing buffer {"connection_id":195116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:03] local.INFO: Packet analysis {"connection_id":195116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:03] local.INFO: Extracted packet for processing {"connection_id":195116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28: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-25 16:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:28: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-25 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:03] 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-25 16:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:28:03] 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-25 16:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:28: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-25 16:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":195116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:03] local.INFO: GPS data processed {"connection_id":195116,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:03] local.INFO: Acknowledgment sent {"connection_id":195116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:04] local.INFO: TCP Data received {"connection_id":195117,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:28:04] local.INFO: Processing buffer {"connection_id":195117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:28:04] local.INFO: IMEI packet received {"connection_id":195117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":195117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:28:09] local.INFO: TCP Data received {"connection_id":192260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d836f338012d7b0fc005e34078000900c427..."} 
[2026-09-25 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d836f338012d7b0fc005e34078000900c427..."} 
[2026-09-25 16:28:09] local.INFO: Processing buffer {"connection_id":192260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d836f338012d7b0fc005e34078000900c427..."} 
[2026-09-25 16:28:09] local.INFO: Packet analysis {"connection_id":192260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:28:09] local.INFO: Extracted packet for processing {"connection_id":192260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98779256,"longitude_deg":76.303968,"latitude_deg":9.8779256,"altitude":9,"angle":196,"satellites":39,"speed":20,"hex_longitude":"2d7b0fc0","hex_latitude":"05e34078","is_valid_coordinates":true} 
[2026-09-25 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325470976001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135865861570297856,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868361747766433792,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790333875000,"timestamp_ms":1790333875000,"timestamp_seconds":1790333875,"priority":1,"record_length":96,"hex_timestamp":"000001a0d836f338"} 
[2026-09-25 16:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:28: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-25 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:09] 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-25 16:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325470976001,"66":13765,"208":206,"85":15104,"24":20,"16":135865861570297856,"45":8868361747766433792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325470976001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135865861570297856,"km_value":135865861570297.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868361747766433792,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325470976001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8868361747766433792}} 
[2026-09-25 16:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":192260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:09] local.INFO: GPS data processed {"connection_id":192260,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:09] local.INFO: Acknowledgment sent {"connection_id":192260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:25] local.INFO: TCP Data received {"connection_id":195118,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:25] local.INFO: Processing buffer {"connection_id":195118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:25] local.INFO: IMEI packet received {"connection_id":195118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":195118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:28:28] local.INFO: TCP Data received {"connection_id":195119,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:28] local.INFO: Processing buffer {"connection_id":195119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:28] local.INFO: IMEI packet received {"connection_id":195119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":195119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:28:30] local.INFO: TCP Data received {"connection_id":195118,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:30] local.INFO: Processing buffer {"connection_id":195118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:28:30] local.INFO: IMEI packet received {"connection_id":195118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":195118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:28:31] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8352a30012d1826000721b928004b00d52a..."} 
[2026-09-25 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8352a30012d1826000721b928004b00d52a..."} 
[2026-09-25 16:28:31] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8352a30012d1826000721b928004b00d52a..."} 
[2026-09-25 16:28:31] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:31] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325436672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333758000,"timestamp_ms":1790333758000,"timestamp_seconds":1790333758,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8352a30"} 
[2026-09-25 16:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:28:31] 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-25 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325436672001,"66":12689,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325436672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325436672001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:28:31] 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":895898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:31] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:31] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:31] local.INFO: TCP Data received {"connection_id":195118,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:31] local.INFO: Processing buffer {"connection_id":195118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:28:31] local.INFO: Packet analysis {"connection_id":195118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:31] local.INFO: Extracted packet for processing {"connection_id":195118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28: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-25 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:28: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-25 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:31] 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-25 16:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:28:31] 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-25 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:28: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-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":195118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:31] local.INFO: GPS data processed {"connection_id":195118,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:31] local.INFO: Acknowledgment sent {"connection_id":195118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:33] local.INFO: TCP Data received {"connection_id":195119,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:33] local.INFO: Processing buffer {"connection_id":195119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:28:33] local.INFO: IMEI packet received {"connection_id":195119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":195119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:28:34] local.INFO: TCP Data received {"connection_id":195119,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83706c0012d7b0e4005e336a8000900b827..."} 
[2026-09-25 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83706c0012d7b0e4005e336a8000900b827..."} 
[2026-09-25 16:28:34] local.INFO: Processing buffer {"connection_id":195119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83706c0012d7b0e4005e336a8000900b827..."} 
[2026-09-25 16:28:34] local.INFO: Packet analysis {"connection_id":195119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:28:34] local.INFO: Extracted packet for processing {"connection_id":195119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98776744,"longitude_deg":76.3039296,"latitude_deg":9.8776744,"altitude":9,"angle":184,"satellites":39,"speed":18,"hex_longitude":"2d7b0e40","hex_latitude":"05e336a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325472000001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135865986124349440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322835818496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333880000,"timestamp_ms":1790333880000,"timestamp_seconds":1790333880,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83706c0"} 
[2026-09-25 16: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-25 16:28:34] 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-25 16: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 16:28:34] 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-25 16: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-25 16: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-25 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325472000001,"66":13330,"208":206,"85":15104,"24":18,"16":135865986124349440,"45":8867517322835818496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325472000001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:28:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135865986124349440,"km_value":135865986124349.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322835818496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325472000001,"power":13330,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8867517322835818496}} 
[2026-09-25 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":195119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:28:34] local.INFO: GPS data processed {"connection_id":195119,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:28:34] local.INFO: Acknowledgment sent {"connection_id":195119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:28:54] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:54] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:54] local.INFO: IMEI packet received {"connection_id":193810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":193810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:28:59] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:59] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:28:59] local.INFO: IMEI packet received {"connection_id":193810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":193810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:29:00] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8357c38012d1826000721b928004b00d529..."} 
[2026-09-25 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8357c38012d1826000721b928004b00d529..."} 
[2026-09-25 16:29:00] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8357c38012d1826000721b928004b00d529..."} 
[2026-09-25 16:29:00] local.INFO: Packet analysis {"connection_id":193810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:00] local.INFO: Extracted packet for processing {"connection_id":193810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325442048001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29: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-25 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333779000,"timestamp_ms":1790333779000,"timestamp_seconds":1790333779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8357c38"} 
[2026-09-25 16:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:29:00] 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-25 16:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:00] 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-25 16:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325442048001,"66":12580,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325442048001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325442048001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:29:00] 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":895901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:00] local.INFO: GPS data processed {"connection_id":193810,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:00] local.INFO: Acknowledgment sent {"connection_id":193810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:03] local.INFO: TCP Data received {"connection_id":195118,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:03] local.INFO: Processing buffer {"connection_id":195118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:03] local.INFO: Packet analysis {"connection_id":195118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:03] local.INFO: Extracted packet for processing {"connection_id":195118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29: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-25 16:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:03] 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-25 16:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:29:03] 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-25 16:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:29: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-25 16:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":195118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:03] local.INFO: GPS data processed {"connection_id":195118,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:03] local.INFO: Acknowledgment sent {"connection_id":195118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:05] local.INFO: TCP Data received {"connection_id":195119,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8371e30012d7b0ec005e32db8000a00ab26..."} 
[2026-09-25 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8371e30012d7b0ec005e32db8000a00ab26..."} 
[2026-09-25 16:29:05] local.INFO: Processing buffer {"connection_id":195119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8371e30012d7b0ec005e32db8000a00ab26..."} 
[2026-09-25 16:29:05] local.INFO: Packet analysis {"connection_id":195119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:29:05] local.INFO: Extracted packet for processing {"connection_id":195119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98774456,"longitude_deg":76.3039424,"latitude_deg":9.8774456,"altitude":10,"angle":171,"satellites":38,"speed":15,"hex_longitude":"2d7b0ec0","hex_latitude":"05e32db8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135866097793499136,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110370109440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333886000,"timestamp_ms":1790333886000,"timestamp_seconds":1790333886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8371e30"} 
[2026-09-25 16: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-25 16:29:05] 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-25 16: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3627427864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-2168483169025381376,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277365161423535832,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2147869601,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":458961,"corrected_to":0} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2952265728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3821103104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":637260642129477637,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2810473041442641920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,208,85,24,241,157,16,177,160,243,45,192,64,9,39,10,66,227,71,8,42,149,1,240,197,176,216,4,113,205,87,44,75,79,200,239,53,2,226,5,51,54,88,92],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0},{"io_id":200,"original":458961,"validated":0}]} 
[2026-09-25 16:29:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648720823985766400,"timestamp_seconds":648720823985766.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325473280001,"66":13852,"208":206,"85":15104,"24":15,"16":135866097793499136,"45":8867095110370109440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135866097793499136,"km_value":135866097793499.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110370109440,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325473280001,"power":13852,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8867095110370109440}} 
[2026-09-25 16:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":195119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:05] local.INFO: GPS data processed {"connection_id":195119,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:05] local.INFO: Acknowledgment sent {"connection_id":195119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:27] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:27] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:27] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:29:27] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:29:27] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:29:27] local.INFO: IMEI packet received {"connection_id":193812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":193812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:29:28] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83823e8012d0ca9c007077760001e012d1b..."} 
[2026-09-25 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83823e8012d0ca9c007077760001e012d1b..."} 
[2026-09-25 16:29:28] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83823e8012d0ca9c007077760001e012d1b..."} 
[2026-09-25 16:29:28] local.INFO: Packet analysis {"connection_id":193812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:29:28] local.INFO: Extracted packet for processing {"connection_id":193812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:29:28] local.INFO: GPS Element Parsed {"raw_longitude":755804608,"raw_latitude":117929824,"longitude_deg":75.5804608,"latitude_deg":11.7929824,"altitude":30,"angle":301,"satellites":27,"speed":10,"hex_longitude":"2d0ca9c0","hex_latitude":"07077760","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325491712001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33883619768401920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912682642174294016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790333953000,"timestamp_ms":1790333953000,"timestamp_seconds":1790333953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83823e8"} 
[2026-09-25 16: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-25 16:29:28] 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-25 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:28] 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-25 16: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-25 16: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-25 16:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325491712001,"66":14537,"221":206,"94":10240,"24":10,"16":33883619768401920,"45":912682642174294016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325491712001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:29:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33883619768401920,"km_value":33883619768401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":912682642174294016,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325491712001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":912682642174294016}} 
[2026-09-25 16:29:28] 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":895904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:28] local.INFO: GPS data processed {"connection_id":193812,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:28] local.INFO: Acknowledgment sent {"connection_id":193812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:28] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:28] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:28] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:29:30] local.INFO: TCP Data received {"connection_id":195120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:30] local.INFO: Processing buffer {"connection_id":195120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:30] local.INFO: IMEI packet received {"connection_id":195120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":195120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:29:31] local.INFO: TCP Data received {"connection_id":193810,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d835ce40012d1826000721b928004b00d52a..."} 
[2026-09-25 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d835ce40012d1826000721b928004b00d52a..."} 
[2026-09-25 16:29:31] local.INFO: Processing buffer {"connection_id":193810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d835ce40012d1826000721b928004b00d52a..."} 
[2026-09-25 16:29:31] local.INFO: Packet analysis {"connection_id":193810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:31] local.INFO: Extracted packet for processing {"connection_id":193810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325447424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333800000,"timestamp_ms":1790333800000,"timestamp_seconds":1790333800,"priority":1,"record_length":96,"hex_timestamp":"000001a0d835ce40"} 
[2026-09-25 16:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:29:31] 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-25 16:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:31] 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-25 16:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325447424001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325447424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325447424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:29:31] 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":895905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:31] local.INFO: GPS data processed {"connection_id":193810,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:31] local.INFO: Acknowledgment sent {"connection_id":193810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:33] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:33] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:29:33] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:29:34] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8374158012d7b120005e31ed0000a009f24..."} 
[2026-09-25 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8374158012d7b120005e31ed0000a009f24..."} 
[2026-09-25 16:29:34] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8374158012d7b120005e31ed0000a009f24..."} 
[2026-09-25 16:29:34] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:29:34] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98770640,"longitude_deg":76.3040256,"latitude_deg":9.877064,"altitude":10,"angle":159,"satellites":36,"speed":12,"hex_longitude":"2d7b1200","hex_latitude":"05e31ed0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325474816001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135866286772060160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847857879040,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790333895000,"timestamp_ms":1790333895000,"timestamp_seconds":1790333895,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8374158"} 
[2026-09-25 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-25 16:29:34] 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-25 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:34] 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-25 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-25 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-25 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325474816001,"66":13439,"208":206,"85":15104,"24":12,"16":135866286772060160,"45":8867235847857879040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325474816001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135866286772060160,"km_value":135866286772060.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847857879040,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325474816001,"power":13439,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8867235847857879040}} 
[2026-09-25 16:29:34] 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":895906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:34] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:34] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:35] local.INFO: TCP Data received {"connection_id":195120,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:35] local.INFO: Processing buffer {"connection_id":195120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:29:35] local.INFO: IMEI packet received {"connection_id":195120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":195120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:29:36] local.INFO: TCP Data received {"connection_id":195120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:36] local.INFO: Processing buffer {"connection_id":195120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:29:36] local.INFO: Packet analysis {"connection_id":195120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:36] local.INFO: Extracted packet for processing {"connection_id":195120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16: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-25 16:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:29: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-25 16: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-25 16: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-25 16:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":195120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:29:36] local.INFO: GPS data processed {"connection_id":195120,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:29:36] local.INFO: Acknowledgment sent {"connection_id":195120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:29:54] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:54] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:54] local.INFO: IMEI packet received {"connection_id":193813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":193813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:29:59] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:59] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:29:59] local.INFO: IMEI packet received {"connection_id":193813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":193813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:29:59] local.INFO: TCP Data received {"connection_id":193812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83827d0012d0ca800070777a8001d011a1b..."} 
[2026-09-25 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83827d0012d0ca800070777a8001d011a1b..."} 
[2026-09-25 16:29:59] local.INFO: Processing buffer {"connection_id":193812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83827d0012d0ca800070777a8001d011a1b..."} 
[2026-09-25 16:29:59] local.INFO: Packet analysis {"connection_id":193812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:29:59] local.INFO: Extracted packet for processing {"connection_id":193812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":755804160,"raw_latitude":117929896,"longitude_deg":75.580416,"latitude_deg":11.7929896,"altitude":29,"angle":282,"satellites":27,"speed":13,"hex_longitude":"2d0ca800","hex_latitude":"070777a8","is_valid_coordinates":true} 
[2026-09-25 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325491968001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33883641243238400,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912471535941804032,"note":"Value kept but may cause issues"} 
[2026-09-25 16:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790333954000,"timestamp_ms":1790333954000,"timestamp_seconds":1790333954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83827d0"} 
[2026-09-25 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:29:59] 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-25 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 16:29:59] 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-25 16:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325491968001,"66":14407,"221":206,"94":10240,"24":13,"16":33883641243238400,"45":912471535941804032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325491968001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33883641243238400,"km_value":33883641243238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":912471535941804032,"description":"Unknown IO ID 45"} 
[2026-09-25 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325491968001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":912471535941804032}} 
[2026-09-25 16:30:00] 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":895908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:00] local.INFO: GPS data processed {"connection_id":193812,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:00] local.INFO: Acknowledgment sent {"connection_id":193812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:00] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8362048012d1826000721b928004b00d52a..."} 
[2026-09-25 16:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8362048012d1826000721b928004b00d52a..."} 
[2026-09-25 16:30:00] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8362048012d1826000721b928004b00d52a..."} 
[2026-09-25 16:30:00] local.INFO: Packet analysis {"connection_id":193813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:30:00] local.INFO: Extracted packet for processing {"connection_id":193813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325452800001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30: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-25 16:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333821000,"timestamp_ms":1790333821000,"timestamp_seconds":1790333821,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8362048"} 
[2026-09-25 16:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:30:00] 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-25 16:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 16:30: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-25 16:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325452800001,"66":12341,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325452800001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325452800001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:30:00] 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":895909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:00] local.INFO: GPS data processed {"connection_id":193813,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:00] local.INFO: Acknowledgment sent {"connection_id":193813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:05] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8374d10012d7b128005e31be0000900ad24..."} 
[2026-09-25 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8374d10012d7b128005e31be0000900ad24..."} 
[2026-09-25 16:30:05] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8374d10012d7b128005e31be0000900ad24..."} 
[2026-09-25 16:30:05] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:30:05] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98769888,"longitude_deg":76.3040384,"latitude_deg":9.8769888,"altitude":9,"angle":173,"satellites":36,"speed":10,"hex_longitude":"2d7b1280","hex_latitude":"05e31be0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325477120001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135866325426765824,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641531211776,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333898000,"timestamp_ms":1790333898000,"timestamp_seconds":1790333898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8374d10"} 
[2026-09-25 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-25 16:30:05] 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-25 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 16:30:05] 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-25 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-25 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-25 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325477120001,"66":13374,"208":206,"85":15104,"24":10,"16":135866325426765824,"45":8868150641531211776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325477120001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135866325426765824,"km_value":135866325426765.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641531211776,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325477120001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8868150641531211776}} 
[2026-09-25 16:30:05] 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":895910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:05] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:05] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:08] local.INFO: TCP Data received {"connection_id":195120,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:08] local.INFO: Processing buffer {"connection_id":195120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:08] local.INFO: Packet analysis {"connection_id":195120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:30:08] local.INFO: Extracted packet for processing {"connection_id":195120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16: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-25 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:30: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-25 16: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-25 16: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-25 16:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":195120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:08] local.INFO: GPS data processed {"connection_id":195120,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:08] local.INFO: Acknowledgment sent {"connection_id":195120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:17] local.INFO: TCP Data received {"connection_id":195122,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:17] local.INFO: Processing buffer {"connection_id":195122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:17] local.INFO: IMEI packet received {"connection_id":195122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":195122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:30:22] local.INFO: TCP Data received {"connection_id":195122,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195122,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:22] local.INFO: Processing buffer {"connection_id":195122,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:30:22] local.INFO: IMEI packet received {"connection_id":195122,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":195122,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:30:22] local.INFO: TCP Data received {"connection_id":195122,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d838ef08012d0c4a40070774280018010b1d..."} 
[2026-09-25 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d838ef08012d0c4a40070774280018010b1d..."} 
[2026-09-25 16:30:22] local.INFO: Processing buffer {"connection_id":195122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d838ef08012d0c4a40070774280018010b1d..."} 
[2026-09-25 16:30:22] local.INFO: Packet analysis {"connection_id":195122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:30:22] local.INFO: Extracted packet for processing {"connection_id":195122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755780160,"raw_latitude":117929000,"longitude_deg":75.578016,"latitude_deg":11.7929,"altitude":24,"angle":267,"satellites":29,"speed":40,"hex_longitude":"2d0c4a40","hex_latitude":"07077428","is_valid_coordinates":true} 
[2026-09-25 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-25 16:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325501952001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33884809474342912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896286724780945408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30: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-25 16:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790334005000,"timestamp_ms":1790334005000,"timestamp_seconds":1790334005,"priority":1,"record_length":96,"hex_timestamp":"000001a0d838ef08"} 
[2026-09-25 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-25 16:30: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-25 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:30:22] 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-25 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-25 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-25 16:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325501952001,"66":14396,"221":206,"94":10240,"24":40,"16":33884809474342912,"45":896286724780945408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325501952001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33884809474342912,"km_value":33884809474342.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":896286724780945408,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325501952001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":896286724780945408}} 
[2026-09-25 16:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":195122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:22] local.INFO: GPS data processed {"connection_id":195122,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:22] local.INFO: Acknowledgment sent {"connection_id":195122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:25] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:25] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:25] local.INFO: IMEI packet received {"connection_id":193814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":193814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:30:26] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:26] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:26] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:30:27] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:27] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:27] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:30:28] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:30:28] local.INFO: TCP Data received {"connection_id":192261,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: Processing buffer {"connection_id":192261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:30:28] local.INFO: IMEI packet received {"connection_id":192261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:30:30] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:30] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:30:30] local.INFO: IMEI packet received {"connection_id":193814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":193814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:30:31] local.INFO: TCP Data received {"connection_id":193813,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8367250012d1826000721b928004b00d52b..."} 
[2026-09-25 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8367250012d1826000721b928004b00d52b..."} 
[2026-09-25 16:30:31] local.INFO: Processing buffer {"connection_id":193813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8367250012d1826000721b928004b00d52b..."} 
[2026-09-25 16:30:31] local.INFO: Packet analysis {"connection_id":193813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:30:31] local.INFO: Extracted packet for processing {"connection_id":193813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325458176001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333842000,"timestamp_ms":1790333842000,"timestamp_seconds":1790333842,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8367250"} 
[2026-09-25 16: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-25 16:30:31] 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-25 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325458176001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325458176001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325458176001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:30:31] 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":895913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:31] local.INFO: GPS data processed {"connection_id":193813,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:31] local.INFO: Acknowledgment sent {"connection_id":193813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:31] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:31] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:30:31] local.INFO: Packet analysis {"connection_id":193814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:30:31] local.INFO: Extracted packet for processing {"connection_id":193814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30: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-25 16:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16: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-25 16:30: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-25 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:30:31] 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-25 16: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-25 16: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-25 16:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:30:31] 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-25 16:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:30: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-25 16:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:30:31] 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":895914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:31] local.INFO: GPS data processed {"connection_id":193814,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:31] local.INFO: Acknowledgment sent {"connection_id":193814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:54] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:54] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:54] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:30:54] local.INFO: TCP Data received {"connection_id":195122,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8390290012d0c3a00070772b8001700fc1d..."} 
[2026-09-25 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8390290012d0c3a00070772b8001700fc1d..."} 
[2026-09-25 16:30:54] local.INFO: Processing buffer {"connection_id":195122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8390290012d0c3a00070772b8001700fc1d..."} 
[2026-09-25 16:30:54] local.INFO: Packet analysis {"connection_id":195122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:30:54] local.INFO: Extracted packet for processing {"connection_id":195122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":755776000,"raw_latitude":117928632,"longitude_deg":75.5776,"latitude_deg":11.7928632,"altitude":23,"angle":252,"satellites":29,"speed":21,"hex_longitude":"2d0c3a00","hex_latitude":"070772b8","is_valid_coordinates":true} 
[2026-09-25 16:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325505280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33885007042838528,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885590675665725440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:30:54] 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-25 16:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790334010000,"timestamp_ms":1790334010000,"timestamp_seconds":1790334010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8390290"} 
[2026-09-25 16:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:30:54] 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-25 16:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195122,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325505280001,"66":14363,"221":206,"94":10240,"24":21,"16":33885007042838528,"45":885590675665725440},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325505280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:30:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33885007042838528,"km_value":33885007042838.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":885590675665725440,"description":"Unknown IO ID 45"} 
[2026-09-25 16:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325505280001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":885590675665725440}} 
[2026-09-25 16:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":195122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:30:54] local.INFO: GPS data processed {"connection_id":195122,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:30:54] local.INFO: Acknowledgment sent {"connection_id":195122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:30:59] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:59] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:30:59] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:31:02] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d836c458012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d836c458012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:02] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d836c458012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:02] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:31:02] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d836"} 
[2026-09-25 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325463552001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:02] local.INFO: IO Element Parsed {"io_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-25 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790333863000,"timestamp_ms":1790333863000,"timestamp_seconds":1790333863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d836c458"} 
[2026-09-25 16:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:31:02] 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-25 16:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325463552001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325463552001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325463552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:31:02] 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":895916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:02] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:02] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:03] local.INFO: TCP Data received {"connection_id":193814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:31:03] local.INFO: Processing buffer {"connection_id":193814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8350ed8012d34c14006aa49080001006e2e..."} 
[2026-09-25 16:31:03] local.INFO: Packet analysis {"connection_id":193814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:31:03] local.INFO: Extracted packet for processing {"connection_id":193814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d835"} 
[2026-09-25 16:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325363200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31: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-25 16:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790333751000,"timestamp_ms":1790333751000,"timestamp_seconds":1790333751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8350ed8"} 
[2026-09-25 16:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:31: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-25 16:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:03] 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-25 16:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:31:03] 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-25 16:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325363200001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325363200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:31: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-25 16:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325363200001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:31:03] 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":895917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:03] local.INFO: GPS data processed {"connection_id":193814,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:03] local.INFO: Acknowledgment sent {"connection_id":193814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:17] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:17] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:17] local.INFO: IMEI packet received {"connection_id":195123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":195123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:31:19] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:19] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:19] local.INFO: IMEI packet received {"connection_id":195123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":195123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:31:21] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:21] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:21] local.INFO: IMEI packet received {"connection_id":195123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":195123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:31:22] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:22] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:31:22] local.INFO: IMEI packet received {"connection_id":195123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":195123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:31:23] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839cdb0012d0bbfc0070744d80016010b1d..."} 
[2026-09-25 16:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839cdb0012d0bbfc0070744d80016010b1d..."} 
[2026-09-25 16:31:23] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839cdb0012d0bbfc0070744d80016010b1d..."} 
[2026-09-25 16:31:23] local.INFO: Packet analysis {"connection_id":195123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:23] local.INFO: Extracted packet for processing {"connection_id":195123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:23] local.INFO: GPS Element Parsed {"raw_longitude":755744704,"raw_latitude":117916888,"longitude_deg":75.5744704,"latitude_deg":11.7916888,"altitude":22,"angle":267,"satellites":29,"speed":37,"hex_longitude":"2d0bbfc0","hex_latitude":"070744d8","is_valid_coordinates":true} 
[2026-09-25 16:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33886832403939328,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857372809247528960,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:23] 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-25 16:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790334062000,"timestamp_ms":1790334062000,"timestamp_seconds":1790334062,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839cdb0"} 
[2026-09-25 16:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:31: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-25 16:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":14396,"221":206,"94":10240,"24":37,"16":33886832403939328,"45":857372809247528960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:31:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33886832403939328,"km_value":33886832403939.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":857372809247528960,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":857372809247528960}} 
[2026-09-25 16:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":195123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895918,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:23] local.INFO: GPS data processed {"connection_id":195123,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:23] local.INFO: Acknowledgment sent {"connection_id":195123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:24] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839d968012d0bb64007074348001700fa1b..."} 
[2026-09-25 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839d968012d0bb64007074348001700fa1b..."} 
[2026-09-25 16:31:24] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839d968012d0bb64007074348001700fa1b..."} 
[2026-09-25 16:31:24] local.INFO: Packet analysis {"connection_id":195123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:24] local.INFO: Extracted packet for processing {"connection_id":195123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755742272,"raw_latitude":117916488,"longitude_deg":75.5742272,"latitude_deg":11.7916488,"altitude":23,"angle":250,"satellites":27,"speed":26,"hex_longitude":"2d0bb640","hex_latitude":"07074348","is_valid_coordinates":true} 
[2026-09-25 16:31: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-25 16:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325519872001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33886952663023616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846606391388198912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:24] 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-25 16:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790334065000,"timestamp_ms":1790334065000,"timestamp_seconds":1790334065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839d968"} 
[2026-09-25 16:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325519872001,"66":14407,"221":206,"94":10240,"24":26,"16":33886952663023616,"45":846606391388198912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325519872001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:31:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33886952663023616,"km_value":33886952663023.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":846606391388198912,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325519872001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":846606391388198912}} 
[2026-09-25 16:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":195123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:24] local.INFO: GPS data processed {"connection_id":195123,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:24] local.INFO: Acknowledgment sent {"connection_id":195123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:25] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:25] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:25] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:31:31] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:31] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:31:31] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:31:32] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:31:32] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:31:32] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:32] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:31: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-25 16:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:31:32] 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-25 16:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:31:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:31:32] 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":895920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:32] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:32] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:33] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8371660012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8371660012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:33] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8371660012d1826000721b928004b00d52a..."} 
[2026-09-25 16:31:33] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:31:33] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325468928001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:33] local.INFO: IO Element Parsed {"io_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-25 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790333884000,"timestamp_ms":1790333884000,"timestamp_seconds":1790333884,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8371660"} 
[2026-09-25 16: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-25 16:31:33] 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-25 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:33] 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-25 16: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-25 16: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-25 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325468928001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325468928001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325468928001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:31:33] 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":895921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:33] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:33] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:44] local.INFO: TCP Data received {"connection_id":192444,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:44] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:44] local.INFO: Packet analysis {"connection_id":192444,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 16:31:44] local.INFO: Extracted packet for processing {"connection_id":192444,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 16:31: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-25 16:31:44] 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-25 16:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:44] 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-25 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 16:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192444,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192444,"device_imei":null,"avl_records_count":1} 
[2026-09-25 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192444,"device_imei":null,"avl_records_count":1} 
[2026-09-25 16:31:44] 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-25 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":192444,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 16:31:44] local.INFO: GPS data processed {"connection_id":192444,"processed":0,"errors":0,"total":1} 
[2026-09-25 16:31:44] local.INFO: Acknowledgment sent {"connection_id":192444,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:45] local.INFO: TCP Data received {"connection_id":193816,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193816,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:45] local.INFO: Processing buffer {"connection_id":193816,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-25 16:31:45] local.INFO: Packet analysis {"connection_id":193816,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 16:31:45] local.INFO: Extracted packet for processing {"connection_id":193816,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-25 16:31: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-25 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-25 16:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-25 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-25 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-25 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":193816,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-25 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":193816,"device_imei":null,"avl_records_count":1} 
[2026-09-25 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":193816,"device_imei":null,"avl_records_count":1} 
[2026-09-25 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":193816,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 16:31:45] local.INFO: GPS data processed {"connection_id":193816,"processed":0,"errors":0,"total":1} 
[2026-09-25 16:31:45] local.INFO: Acknowledgment sent {"connection_id":193816,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:54] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:54] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:54] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:31:55] local.INFO: TCP Data received {"connection_id":195123,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839dd50012d0bb48007074240001800ef1b..."} 
[2026-09-25 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839dd50012d0bb48007074240001800ef1b..."} 
[2026-09-25 16:31:55] local.INFO: Processing buffer {"connection_id":195123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839dd50012d0bb48007074240001800ef1b..."} 
[2026-09-25 16:31:55] local.INFO: Packet analysis {"connection_id":195123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:55] local.INFO: Extracted packet for processing {"connection_id":195123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755741824,"raw_latitude":117916224,"longitude_deg":75.5741824,"latitude_deg":11.7916224,"altitude":24,"angle":239,"satellites":27,"speed":21,"hex_longitude":"2d0bb480","hex_latitude":"07074240","is_valid_coordinates":true} 
[2026-09-25 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-25 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325520640001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33886978432827392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843932379109345280,"note":"Value kept but may cause issues"} 
[2026-09-25 16:31:55] 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-25 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790334066000,"timestamp_ms":1790334066000,"timestamp_seconds":1790334066,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839dd50"} 
[2026-09-25 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-25 16:31: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-25 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 16:31:55] 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-25 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-25 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-25 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325520640001,"66":14559,"221":206,"94":10240,"24":21,"16":33886978432827392,"45":843932379109345280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-25 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325520640001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33886978432827392,"km_value":33886978432827.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":843932379109345280,"description":"Unknown IO ID 45"} 
[2026-09-25 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325520640001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":843932379109345280}} 
[2026-09-25 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":195123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895922,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:31:55] local.INFO: GPS data processed {"connection_id":195123,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:31:55] local.INFO: Acknowledgment sent {"connection_id":195123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:31:59] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:59] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:31:59] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:32:00] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8376868012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8376868012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:00] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8376868012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:00] local.INFO: Packet analysis {"connection_id":192445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:32:00] local.INFO: Extracted packet for processing {"connection_id":192445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325474304001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32: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-25 16:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790333905000,"timestamp_ms":1790333905000,"timestamp_seconds":1790333905,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8376868"} 
[2026-09-25 16: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-25 16:32:00] 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-25 16: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":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:32: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-25 16: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-25 16: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-25 16:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325474304001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325474304001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325474304001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:32:00] 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":895923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:00] local.INFO: GPS data processed {"connection_id":192445,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:00] local.INFO: Acknowledgment sent {"connection_id":192445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:04] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:04] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:04] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:32:04] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32: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-25 16:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:32: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-25 16:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:32:04] 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-25 16:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:32: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-25 16:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:32:04] 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":895924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:04] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:04] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:17] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:17] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:17] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:32:23] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:23] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:32:23] local.INFO: IMEI packet received {"connection_id":192263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":192263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:32:23] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83a8160012d0b6000070707f0000e00f81d..."} 
[2026-09-25 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83a8160012d0b6000070707f0000e00f81d..."} 
[2026-09-25 16:32:23] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83a8160012d0b6000070707f0000e00f81d..."} 
[2026-09-25 16:32:23] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:32:23] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755720192,"raw_latitude":117901296,"longitude_deg":75.5720192,"latitude_deg":11.7901296,"altitude":14,"angle":248,"satellites":29,"speed":30,"hex_longitude":"2d0b6000","hex_latitude":"070707f0","is_valid_coordinates":true} 
[2026-09-25 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325529344001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33888533210988544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828099411665760256,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:23] 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-25 16:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790334108000,"timestamp_ms":1790334108000,"timestamp_seconds":1790334108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83a8160"} 
[2026-09-25 16:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:32: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-25 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 16:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325529344001,"66":13906,"163":206,"94":10240,"24":30,"16":33888533210988544,"45":828099411665760256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325529344001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:23] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33888533210988544,"km_value":33888533210988.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":828099411665760256,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325529344001,"power":13906,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":828099411665760256}} 
[2026-09-25 16:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:24] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:24] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:25] local.INFO: TCP Data received {"connection_id":195125,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:25] local.INFO: Processing buffer {"connection_id":195125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:25] local.INFO: IMEI packet received {"connection_id":195125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":195125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:32:31] local.INFO: TCP Data received {"connection_id":195125,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:31] local.INFO: Processing buffer {"connection_id":195125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:32:31] local.INFO: IMEI packet received {"connection_id":195125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":195125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:32:31] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d837ba70012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d837ba70012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:31] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d837ba70012d1826000721b928004b00d52a..."} 
[2026-09-25 16:32:31] local.INFO: Packet analysis {"connection_id":192445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:32:31] local.INFO: Extracted packet for processing {"connection_id":192445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d837"} 
[2026-09-25 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325479680001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790333926000,"timestamp_ms":1790333926000,"timestamp_seconds":1790333926,"priority":1,"record_length":96,"hex_timestamp":"000001a0d837ba70"} 
[2026-09-25 16:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:32:31] 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-25 16:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 16:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325479680001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325479680001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325479680001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:32:31] 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":895926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:31] local.INFO: GPS data processed {"connection_id":192445,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:31] local.INFO: Acknowledgment sent {"connection_id":192445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:32] local.INFO: TCP Data received {"connection_id":195125,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:32] local.INFO: Processing buffer {"connection_id":195125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:32:32] local.INFO: Packet analysis {"connection_id":195125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:32:32] local.INFO: Extracted packet for processing {"connection_id":195125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:32:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:32: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-25 16:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:32:32] 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-25 16:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:32:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":195125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:32] local.INFO: GPS data processed {"connection_id":195125,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:32] local.INFO: Acknowledgment sent {"connection_id":195125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:54] local.INFO: TCP Data received {"connection_id":192263,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83aa0a0012d0b4a000706fb98000b00eb1d..."} 
[2026-09-25 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83aa0a0012d0b4a000706fb98000b00eb1d..."} 
[2026-09-25 16:32:54] local.INFO: Processing buffer {"connection_id":192263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83aa0a0012d0b4a000706fb98000b00eb1d..."} 
[2026-09-25 16:32:54] local.INFO: Packet analysis {"connection_id":192263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:32:54] local.INFO: Extracted packet for processing {"connection_id":192263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755714560,"raw_latitude":117898136,"longitude_deg":75.571456,"latitude_deg":11.7898136,"altitude":11,"angle":235,"satellites":29,"speed":29,"hex_longitude":"2d0b4a00","hex_latitude":"0706fb98","is_valid_coordinates":true} 
[2026-09-25 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325531648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33888842448633856,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819655162364162048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:32:54] 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-25 16:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790334116000,"timestamp_ms":1790334116000,"timestamp_seconds":1790334116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83aa0a0"} 
[2026-09-25 16:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-25 16:32:54] 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-25 16:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325531648001,"66":14439,"163":206,"94":10240,"24":29,"16":33888842448633856,"45":819655162364162048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325531648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33888842448633856,"km_value":33888842448633.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":819655162364162048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325531648001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":819655162364162048}} 
[2026-09-25 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":192263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:32:55] local.INFO: GPS data processed {"connection_id":192263,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:32:55] local.INFO: Acknowledgment sent {"connection_id":192263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:32:59] local.INFO: TCP Data received {"connection_id":195126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:32:59] local.INFO: Processing buffer {"connection_id":195126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:32:59] local.INFO: IMEI packet received {"connection_id":195126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":195126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:33:04] local.INFO: TCP Data received {"connection_id":195126,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:04] local.INFO: Processing buffer {"connection_id":195126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:04] local.INFO: IMEI packet received {"connection_id":195126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":195126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:05] local.INFO: TCP Data received {"connection_id":195126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8380c78012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8380c78012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:05] local.INFO: Processing buffer {"connection_id":195126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8380c78012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:05] local.INFO: Packet analysis {"connection_id":195126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:05] local.INFO: Extracted packet for processing {"connection_id":195126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325485056001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:05] local.INFO: IO Element Parsed {"io_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-25 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790333947000,"timestamp_ms":1790333947000,"timestamp_seconds":1790333947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8380c78"} 
[2026-09-25 16: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-25 16:33:05] 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-25 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:05] 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-25 16: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-25 16: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-25 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325485056001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325485056001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325485056001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":195126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:05] local.INFO: GPS data processed {"connection_id":195126,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:05] local.INFO: Acknowledgment sent {"connection_id":195126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:06] local.INFO: TCP Data received {"connection_id":195125,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:06] local.INFO: Processing buffer {"connection_id":195125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:06] local.INFO: Packet analysis {"connection_id":195125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:06] local.INFO: Extracted packet for processing {"connection_id":195125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 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-25 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:33: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-25 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-25 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-25 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":195125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:06] local.INFO: GPS data processed {"connection_id":195125,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:06] local.INFO: Acknowledgment sent {"connection_id":195125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:09] local.INFO: TCP Data received {"connection_id":195126,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8385e80012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8385e80012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:09] local.INFO: Processing buffer {"connection_id":195126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8385e80012d1826000721b928004b00d529..."} 
[2026-09-25 16:33:09] local.INFO: Packet analysis {"connection_id":195126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:09] local.INFO: Extracted packet for processing {"connection_id":195126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 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-25 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325490432001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790333968000,"timestamp_ms":1790333968000,"timestamp_seconds":1790333968,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8385e80"} 
[2026-09-25 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-25 16:33:09] 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-25 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:09] 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-25 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-25 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-25 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325490432001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325490432001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325490432001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":195126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:10] local.INFO: GPS data processed {"connection_id":195126,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:10] local.INFO: Acknowledgment sent {"connection_id":195126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:20] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:20] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:20] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:33:22] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:22] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:22] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:23] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:23] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:33:23] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:24] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83bc1b0012d0aef8007066e58000d00b11d..."} 
[2026-09-25 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83bc1b0012d0aef8007066e58000d00b11d..."} 
[2026-09-25 16:33:24] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83bc1b0012d0aef8007066e58000d00b11d..."} 
[2026-09-25 16:33:24] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:24] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861976,"longitude_deg":75.5691392,"latitude_deg":11.7861976,"altitude":13,"angle":177,"satellites":29,"speed":6,"hex_longitude":"2d0aef80","hex_latitude":"07066e58","is_valid_coordinates":true} 
[2026-09-25 16:33: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-25 16:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325552384001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33890951277576192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474186240,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:24] 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-25 16:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790334190000,"timestamp_ms":1790334190000,"timestamp_seconds":1790334190,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83bc1b0"} 
[2026-09-25 16:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:33: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":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:24] 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-25 16:33: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-25 16:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325552384001,"66":14396,"163":206,"94":10240,"24":6,"16":33890951277576192,"45":787989227474186240},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325552384001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:33:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33890951277576192,"km_value":33890951277576.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474186240,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325552384001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":787989227474186240}} 
[2026-09-25 16:33:24] 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":895932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:24] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:24] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:28] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83bc598012d0aefc007066d88000d00a51d..."} 
[2026-09-25 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83bc598012d0aefc007066d88000d00a51d..."} 
[2026-09-25 16:33:28] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83bc598012d0aefc007066d88000d00a51d..."} 
[2026-09-25 16:33:28] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:28] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861768,"longitude_deg":75.5691456,"latitude_deg":11.7861768,"altitude":13,"angle":165,"satellites":29,"speed":9,"hex_longitude":"2d0aefc0","hex_latitude":"07066d88","is_valid_coordinates":true} 
[2026-09-25 16:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325552640001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33890959867510784,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474147328,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:28] 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-25 16:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790334191000,"timestamp_ms":1790334191000,"timestamp_seconds":1790334191,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83bc598"} 
[2026-09-25 16:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:33:28] 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-25 16:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:28] 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-25 16:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325552640001,"66":14396,"163":206,"94":10240,"24":9,"16":33890959867510784,"45":787989227474147328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325552640001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33890959867510784,"km_value":33890959867510.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474147328,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325552640001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":787989227474147328}} 
[2026-09-25 16:33:28] 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":895933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:28] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:28] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:29] local.INFO: TCP Data received {"connection_id":193818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:33:29] local.INFO: Processing buffer {"connection_id":193818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:33:29] local.INFO: IMEI packet received {"connection_id":193818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":193818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:33:30] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:30] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:30] local.INFO: IMEI packet received {"connection_id":192264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:33:35] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:35] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:33:35] local.INFO: IMEI packet received {"connection_id":192264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":192264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:36] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:36] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:36] local.INFO: Packet analysis {"connection_id":192264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:36] local.INFO: Extracted packet for processing {"connection_id":192264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16: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-25 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:33: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-25 16: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-25 16: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-25 16:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":192264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:36] local.INFO: GPS data processed {"connection_id":192264,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:36] local.INFO: Acknowledgment sent {"connection_id":192264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:41] local.INFO: TCP Data received {"connection_id":192264,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:41] local.INFO: Processing buffer {"connection_id":192264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:33:41] local.INFO: Packet analysis {"connection_id":192264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:41] local.INFO: Extracted packet for processing {"connection_id":192264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:33: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-25 16:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":192264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:41] local.INFO: GPS data processed {"connection_id":192264,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:41] local.INFO: Acknowledgment sent {"connection_id":192264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:54] local.INFO: TCP Data received {"connection_id":195127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:54] local.INFO: Processing buffer {"connection_id":195127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:54] local.INFO: IMEI packet received {"connection_id":195127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":195127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:33:57] local.INFO: TCP Data received {"connection_id":195127,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:57] local.INFO: Processing buffer {"connection_id":195127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:33:57] local.INFO: IMEI packet received {"connection_id":195127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":195127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:33:58] local.INFO: TCP Data received {"connection_id":195127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d838b088012d1826000721b928004b00d52b..."} 
[2026-09-25 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d838b088012d1826000721b928004b00d52b..."} 
[2026-09-25 16:33:58] local.INFO: Processing buffer {"connection_id":195127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d838b088012d1826000721b928004b00d52b..."} 
[2026-09-25 16:33:58] local.INFO: Packet analysis {"connection_id":195127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:58] local.INFO: Extracted packet for processing {"connection_id":195127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d838"} 
[2026-09-25 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325495808001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33: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-25 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790333989000,"timestamp_ms":1790333989000,"timestamp_seconds":1790333989,"priority":1,"record_length":96,"hex_timestamp":"000001a0d838b088"} 
[2026-09-25 16:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:33: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-25 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325495808001,"66":12439,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325495808001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325495808001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":195127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:58] local.INFO: GPS data processed {"connection_id":195127,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:58] local.INFO: Acknowledgment sent {"connection_id":195127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:33:59] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83be4d8012d0af400070661e8000d00991d..."} 
[2026-09-25 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83be4d8012d0af400070661e8000d00991d..."} 
[2026-09-25 16:33:59] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83be4d8012d0af400070661e8000d00991d..."} 
[2026-09-25 16:33:59] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:59] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755692544,"raw_latitude":117858792,"longitude_deg":75.5692544,"latitude_deg":11.7858792,"altitude":13,"angle":153,"satellites":29,"speed":7,"hex_longitude":"2d0af400","hex_latitude":"070661e8","is_valid_coordinates":true} 
[2026-09-25 16:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325552896001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33891114486333440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218271744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:33:59] 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-25 16:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790334199000,"timestamp_ms":1790334199000,"timestamp_seconds":1790334199,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83be4d8"} 
[2026-09-25 16:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:33:59] 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-25 16:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:33:59] 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-25 16:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325552896001,"66":14450,"163":206,"94":10240,"24":7,"16":33891114486333440,"45":788059596218271744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325552896001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:33:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33891114486333440,"km_value":33891114486333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218271744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325552896001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":788059596218271744}} 
[2026-09-25 16:33:59] 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":895937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:33:59] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:33:59] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:04] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:04] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:04] local.INFO: IMEI packet received {"connection_id":192265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":192265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:34:09] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:09] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:09] local.INFO: IMEI packet received {"connection_id":192265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":192265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:34:10] local.INFO: TCP Data received {"connection_id":192265,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0d831de70012d34c6c006aa4900000a016028..."} 
[2026-09-25 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d831de70012d34c6c006aa4900000a016028..."} 
[2026-09-25 16:34:10] local.INFO: Processing buffer {"connection_id":192265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d831de70012d34c6c006aa4900000a016028..."} 
[2026-09-25 16:34:10] local.INFO: Packet analysis {"connection_id":192265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:34:10] local.INFO: Extracted packet for processing {"connection_id":192265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d831"} 
[2026-09-25 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823104,"longitude_deg":75.8433472,"latitude_deg":11.1823104,"altitude":10,"angle":352,"satellites":40,"speed":3,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4900","is_valid_coordinates":true} 
[2026-09-25 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325386496001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608232090140672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499121152,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790333542000,"timestamp_ms":1790333542000,"timestamp_seconds":1790333542,"priority":1,"record_length":96,"hex_timestamp":"000001a0d831de70"} 
[2026-09-25 16:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:34: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-25 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 16:34:10] 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-25 16: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-25 16:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 16:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325386496001,"66":28300,"97":206,"81":23296,"24":3,"16":3608232090140672,"45":3802586226499121152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325386496001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608232090140672,"km_value":3608232090140.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499121152,"description":"Unknown IO ID 45"} 
[2026-09-25 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325386496001,"power":28300,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802586226499121152}} 
[2026-09-25 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":192265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:34:10] local.INFO: GPS data processed {"connection_id":192265,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:34:10] local.INFO: Acknowledgment sent {"connection_id":192265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:17] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:17] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:17] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:34:20] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:20] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:34:20] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:34:20] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83beca8012d0af400070660f8000d00aa1d..."} 
[2026-09-25 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83beca8012d0af400070660f8000d00aa1d..."} 
[2026-09-25 16:34:20] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83beca8012d0af400070660f8000d00aa1d..."} 
[2026-09-25 16:34:20] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:34:20] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":755692544,"raw_latitude":117858552,"longitude_deg":75.5692544,"latitude_deg":11.7858552,"altitude":13,"angle":170,"satellites":29,"speed":5,"hex_longitude":"2d0af400","hex_latitude":"070660f8","is_valid_coordinates":true} 
[2026-09-25 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325554944001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33891127371235328,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789255864868530176,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:20] 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-25 16:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790334201000,"timestamp_ms":1790334201000,"timestamp_seconds":1790334201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83beca8"} 
[2026-09-25 16:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:34:20] 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-25 16:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325554944001,"66":14450,"163":206,"94":10240,"24":5,"16":33891127371235328,"45":789255864868530176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325554944001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:34:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:34:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33891127371235328,"km_value":33891127371235.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":789255864868530176,"description":"Unknown IO ID 45"} 
[2026-09-25 16:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325554944001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":789255864868530176}} 
[2026-09-25 16:34:20] 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":895939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:34:20] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:34:20] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:25] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:25] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:25] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:34:29] local.INFO: TCP Data received {"connection_id":195127,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8390290012d1826000721b928004b00d52a..."} 
[2026-09-25 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8390290012d1826000721b928004b00d52a..."} 
[2026-09-25 16:34:29] local.INFO: Processing buffer {"connection_id":195127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8390290012d1826000721b928004b00d52a..."} 
[2026-09-25 16:34:29] local.INFO: Packet analysis {"connection_id":195127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:34:29] local.INFO: Extracted packet for processing {"connection_id":195127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325501184001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:29] local.INFO: IO Element Parsed {"io_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-25 16:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790334010000,"timestamp_ms":1790334010000,"timestamp_seconds":1790334010,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8390290"} 
[2026-09-25 16:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:34: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-25 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:34:29] 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-25 16:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325501184001,"66":12493,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325501184001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325501184001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":195127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:34:29] local.INFO: GPS data processed {"connection_id":195127,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:34:29] local.INFO: Acknowledgment sent {"connection_id":195127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:30] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:30] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:34:30] local.INFO: IMEI packet received {"connection_id":192266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:34:31] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:34:31] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:34:31] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:34:31] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34: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-25 16:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16: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-25 16:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:34: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-25 16: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-25 16: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-25 16:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:34: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-25 16:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:34:31] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:34:31] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:51] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83bf090012d0af44007066050000e009e1d..."} 
[2026-09-25 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83bf090012d0af44007066050000e009e1d..."} 
[2026-09-25 16:34:51] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83bf090012d0af44007066050000e009e1d..."} 
[2026-09-25 16:34:51] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:34:51] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83b"} 
[2026-09-25 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755692608,"raw_latitude":117858384,"longitude_deg":75.5692608,"latitude_deg":11.7858384,"altitude":14,"angle":158,"satellites":29,"speed":7,"hex_longitude":"2d0af440","hex_latitude":"07066050","is_valid_coordinates":true} 
[2026-09-25 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-25 16:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325555456001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33891135961169920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789255864868468736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:34:51] 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-25 16:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790334202000,"timestamp_ms":1790334202000,"timestamp_seconds":1790334202,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83bf090"} 
[2026-09-25 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-25 16:34: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-25 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:34:51] 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-25 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-25 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-25 16:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325555456001,"66":14450,"163":206,"94":10240,"24":7,"16":33891135961169920,"45":789255864868468736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-25 16:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325555456001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 16:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33891135961169920,"km_value":33891135961169.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":789255864868468736,"description":"Unknown IO ID 45"} 
[2026-09-25 16:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325555456001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":789255864868468736}} 
[2026-09-25 16:34:52] 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":895942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:34:52] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:34:52] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:34:54] local.INFO: TCP Data received {"connection_id":195128,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:54] local.INFO: Processing buffer {"connection_id":195128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:54] local.INFO: IMEI packet received {"connection_id":195128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":195128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:34:54] local.INFO: TCP Data received {"connection_id":193820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:54] local.INFO: Processing buffer {"connection_id":193820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:34:54] local.INFO: IMEI packet received {"connection_id":193820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":193820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:34:59] local.INFO: TCP Data received {"connection_id":195128,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:59] local.INFO: Processing buffer {"connection_id":195128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:34:59] local.INFO: IMEI packet received {"connection_id":195128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":195128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:35:00] local.INFO: TCP Data received {"connection_id":195128,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8395498012d1826000721b928004b00d52b..."} 
[2026-09-25 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8395498012d1826000721b928004b00d52b..."} 
[2026-09-25 16:35:00] local.INFO: Processing buffer {"connection_id":195128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8395498012d1826000721b928004b00d52b..."} 
[2026-09-25 16:35:00] local.INFO: Packet analysis {"connection_id":195128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:00] local.INFO: Extracted packet for processing {"connection_id":195128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325506560001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35: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-25 16:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334031000,"timestamp_ms":1790334031000,"timestamp_seconds":1790334031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8395498"} 
[2026-09-25 16:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:35:00] 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-25 16:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:35:00] 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-25 16:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325506560001,"66":12504,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325506560001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325506560001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":195128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:35:00] local.INFO: GPS data processed {"connection_id":195128,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:35:00] local.INFO: Acknowledgment sent {"connection_id":195128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:35:04] local.INFO: TCP Data received {"connection_id":192266,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:04] local.INFO: Processing buffer {"connection_id":192266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:04] local.INFO: Packet analysis {"connection_id":192266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:04] local.INFO: Extracted packet for processing {"connection_id":192266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35: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-25 16:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:35: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-25 16:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:35: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-25 16:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":192266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:35:04] local.INFO: GPS data processed {"connection_id":192266,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:35:04] local.INFO: Acknowledgment sent {"connection_id":192266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:35:25] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:25] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:25] local.INFO: IMEI packet received {"connection_id":193821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":193821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:35:30] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:30] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:35:30] local.INFO: IMEI packet received {"connection_id":193821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":193821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:35:31] local.INFO: TCP Data received {"connection_id":195128,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:35:31] local.INFO: Processing buffer {"connection_id":195128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:35:31] local.INFO: Packet analysis {"connection_id":195128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:31] local.INFO: Extracted packet for processing {"connection_id":195128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325511936001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325511936001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325511936001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325511936001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":195128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:35:31] local.INFO: GPS data processed {"connection_id":195128,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:35:31] local.INFO: Acknowledgment sent {"connection_id":195128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:35:31] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:31] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:35:31] local.INFO: Packet analysis {"connection_id":193821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:31] local.INFO: Extracted packet for processing {"connection_id":193821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35: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-25 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:35: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-25 16:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:35:31] 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-25 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:35: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-25 16:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:35:31] 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":895946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:35:31] local.INFO: GPS data processed {"connection_id":193821,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:35:31] local.INFO: Acknowledgment sent {"connection_id":193821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:35:31] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:35:31] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:35:31] local.INFO: IMEI packet received {"connection_id":193822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":193822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:35:32] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83ce2c0012d7b0c0005e2fdf8000a004812..."} 
[2026-09-25 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83ce2c0012d7b0c0005e2fdf8000a004812..."} 
[2026-09-25 16:35:32] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83ce2c0012d7b0c0005e2fdf8000a004812..."} 
[2026-09-25 16:35:32] local.INFO: Packet analysis {"connection_id":193822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:35:32] local.INFO: Extracted packet for processing {"connection_id":193822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98762232,"longitude_deg":76.303872,"latitude_deg":9.8762232,"altitude":10,"angle":72,"satellites":18,"speed":0,"hex_longitude":"2d7b0c00","hex_latitude":"05e2fdf8","is_valid_coordinates":true} 
[2026-09-25 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325571328001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135869812940210176,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422924615680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790334264000,"timestamp_ms":1790334264000,"timestamp_seconds":1790334264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83ce2c0"} 
[2026-09-25 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:35:32] 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-25 16:35:32] local.INFO: IO Element 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-25 16:35:32] 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-25 16:35: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-25 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325571328001,"66":13254,"207":206,"85":15104,"24":0,"16":135869812940210176,"45":8866391422924615680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325571328001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135869812940210176,"km_value":135869812940210.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422924615680,"description":"Unknown IO ID 45"} 
[2026-09-25 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325571328001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866391422924615680}} 
[2026-09-25 16:35:32] 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":895947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:35:32] local.INFO: GPS data processed {"connection_id":193822,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:35:32] local.INFO: Acknowledgment sent {"connection_id":193822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:35:54] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:54] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:54] local.INFO: IMEI packet received {"connection_id":193823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":193823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:35:59] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:59] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:35:59] local.INFO: IMEI packet received {"connection_id":193823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":193823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:00] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839f8a8012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839f8a8012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:00] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839f8a8012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:00] local.INFO: Packet analysis {"connection_id":193823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:00] local.INFO: Extracted packet for processing {"connection_id":193823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36: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-25 16:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334073000,"timestamp_ms":1790334073000,"timestamp_seconds":1790334073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839f8a8"} 
[2026-09-25 16:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:00] 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-25 16:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 16:36: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-25 16:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:36:00] 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":895948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:00] local.INFO: GPS data processed {"connection_id":193823,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:00] local.INFO: Acknowledgment sent {"connection_id":193823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:03] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83a4ab0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83a4ab0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:03] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83a4ab0012d1826000721b928004b00d52a..."} 
[2026-09-25 16:36:03] local.INFO: Packet analysis {"connection_id":193823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:36:03] local.INFO: Extracted packet for processing {"connection_id":193823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83a"} 
[2026-09-25 16:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325522688001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:03] local.INFO: IO Element Parsed {"io_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-25 16:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334094000,"timestamp_ms":1790334094000,"timestamp_seconds":1790334094,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83a4ab0"} 
[2026-09-25 16:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:03] 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-25 16:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 16:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325522688001,"66":12461,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325522688001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325522688001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:36:04] 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":895949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:04] local.INFO: GPS data processed {"connection_id":193823,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:04] local.INFO: Acknowledgment sent {"connection_id":193823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:04] local.INFO: TCP Data received {"connection_id":193822,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83ce6a8012d7b0c4005e2fe10000a003a12..."} 
[2026-09-25 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83ce6a8012d7b0c4005e2fe10000a003a12..."} 
[2026-09-25 16:36:04] local.INFO: Processing buffer {"connection_id":193822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83ce6a8012d7b0c4005e2fe10000a003a12..."} 
[2026-09-25 16:36:04] local.INFO: Packet analysis {"connection_id":193822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:04] local.INFO: Extracted packet for processing {"connection_id":193822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98762256,"longitude_deg":76.3038784,"latitude_deg":9.8762256,"altitude":10,"angle":58,"satellites":18,"speed":2,"hex_longitude":"2d7b0c40","hex_latitude":"05e2fe10","is_valid_coordinates":true} 
[2026-09-25 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325571584001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135869817235177472,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791668795392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334265000,"timestamp_ms":1790334265000,"timestamp_seconds":1790334265,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83ce6a8"} 
[2026-09-25 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:04] 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-25 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 16:36:04] 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-25 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325571584001,"66":13254,"207":206,"85":15104,"24":2,"16":135869817235177472,"45":8866461791668795392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325571584001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135869817235177472,"km_value":135869817235177.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791668795392,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325571584001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8866461791668795392}} 
[2026-09-25 16:36:04] 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":895950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:04] local.INFO: GPS data processed {"connection_id":193822,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:04] local.INFO: Acknowledgment sent {"connection_id":193822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:04] local.INFO: TCP Data received {"connection_id":193821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:04] local.INFO: Processing buffer {"connection_id":193821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:04] local.INFO: Packet analysis {"connection_id":193821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:04] local.INFO: Extracted packet for processing {"connection_id":193821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36: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-25 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36: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-25 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:36: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-25 16:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:36: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-25 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:36:04] 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":895951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:04] local.INFO: GPS data processed {"connection_id":193821,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:04] local.INFO: Acknowledgment sent {"connection_id":193821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:17] local.INFO: TCP Data received {"connection_id":195129,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:17] local.INFO: Processing buffer {"connection_id":195129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:17] local.INFO: IMEI packet received {"connection_id":195129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":195129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:36:25] local.INFO: TCP Data received {"connection_id":195130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:25] local.INFO: Processing buffer {"connection_id":195130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:25] local.INFO: IMEI packet received {"connection_id":195130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":195130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:36:25] local.INFO: TCP Data received {"connection_id":195129,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:25] local.INFO: Processing buffer {"connection_id":195129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:36:25] local.INFO: IMEI packet received {"connection_id":195129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":195129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:28] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:28] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:28] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:36:29] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:29] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:29] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:30] local.INFO: TCP Data received {"connection_id":195130,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:30] local.INFO: Processing buffer {"connection_id":195130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:36:30] local.INFO: IMEI packet received {"connection_id":195130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":195130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:31] local.INFO: TCP Data received {"connection_id":195130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:31] local.INFO: Processing buffer {"connection_id":195130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d839a6a0012d34c14006aa49080009006e2e..."} 
[2026-09-25 16:36:31] local.INFO: Packet analysis {"connection_id":195130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:31] local.INFO: Extracted packet for processing {"connection_id":195130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d839"} 
[2026-09-25 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325440256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36: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-25 16:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334052000,"timestamp_ms":1790334052000,"timestamp_seconds":1790334052,"priority":1,"record_length":96,"hex_timestamp":"000001a0d839a6a0"} 
[2026-09-25 16:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:36: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-25 16:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325440256001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325440256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:36: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-25 16:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325440256001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":195130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:31] local.INFO: GPS data processed {"connection_id":195130,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:31] local.INFO: Acknowledgment sent {"connection_id":195130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:32] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:32] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:36:32] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:33] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83cea90012d7b0c8005e2fe68000a001711..."} 
[2026-09-25 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83cea90012d7b0c8005e2fe68000a001711..."} 
[2026-09-25 16:36:33] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83cea90012d7b0c8005e2fe68000a001711..."} 
[2026-09-25 16:36:33] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:33] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98762344,"longitude_deg":76.3038848,"latitude_deg":9.8762344,"altitude":10,"angle":23,"satellites":17,"speed":3,"hex_longitude":"2d7b0c80","hex_latitude":"05e2fe68","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325571840001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135869821530144768,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160412979200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790334266000,"timestamp_ms":1790334266000,"timestamp_seconds":1790334266,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83cea90"} 
[2026-09-25 16: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-25 16:36:33] 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-25 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 16:36:33] 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-25 16: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-25 16: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-25 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325571840001,"66":13189,"207":206,"85":15104,"24":3,"16":135869821530144768,"45":8866532160412979200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325571840001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 16:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135869821530144768,"km_value":135869821530144.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160412979200,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325571840001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866532160412979200}} 
[2026-09-25 16:36:33] 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":895953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:33] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:33] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:34] local.INFO: TCP Data received {"connection_id":193823,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e2310012d1826000721b928004b00d52b..."} 
[2026-09-25 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e2310012d1826000721b928004b00d52b..."} 
[2026-09-25 16:36:34] local.INFO: Processing buffer {"connection_id":193823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e2310012d1826000721b928004b00d52b..."} 
[2026-09-25 16:36:34] local.INFO: Packet analysis {"connection_id":193823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:36:34] local.INFO: Extracted packet for processing {"connection_id":193823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650600,"longitude_deg":75.6557312,"latitude_deg":11.96506,"altitude":75,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-25 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325587200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972105029058560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334346000,"timestamp_ms":1790334346000,"timestamp_seconds":1790334346,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e2310"} 
[2026-09-25 16:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:34] 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-25 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 16:36:34] 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-25 16:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325587200001,"66":14113,"105":206,"83":41984,"24":0,"16":22972105029058560,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325587200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972105029058560,"km_value":22972105029058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325587200001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:36: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":895954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:35] local.INFO: GPS data processed {"connection_id":193823,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:35] local.INFO: Acknowledgment sent {"connection_id":193823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:38] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83cee78012d7b0c4005e2fee0000a000713..."} 
[2026-09-25 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83cee78012d7b0c4005e2fee0000a000713..."} 
[2026-09-25 16:36:38] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83cee78012d7b0c4005e2fee0000a000713..."} 
[2026-09-25 16:36:38] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:38] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83c"} 
[2026-09-25 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98762464,"longitude_deg":76.3038784,"latitude_deg":9.8762464,"altitude":10,"angle":7,"satellites":19,"speed":4,"hex_longitude":"2d7b0c40","hex_latitude":"05e2fee0","is_valid_coordinates":true} 
[2026-09-25 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325572096001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135869830120079360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529157179392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790334267000,"timestamp_ms":1790334267000,"timestamp_seconds":1790334267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83cee78"} 
[2026-09-25 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:36:38] 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-25 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 16:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325572096001,"66":13189,"207":206,"85":15104,"24":4,"16":135869830120079360,"45":8866602529157179392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325572096001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:36:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 16:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135869830120079360,"km_value":135869830120079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529157179392,"description":"Unknown IO ID 45"} 
[2026-09-25 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325572096001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866602529157179392}} 
[2026-09-25 16:36:38] 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":895955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:36:38] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:36:38] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:36:53] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:53] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:53] local.INFO: IMEI packet received {"connection_id":192268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":192268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:36:54] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:54] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:54] local.INFO: IMEI packet received {"connection_id":192268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":192268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:36:59] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:59] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:36:59] local.INFO: IMEI packet received {"connection_id":192268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":192268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:37:00] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e32b0012d1824800721b790004b00c92b..."} 
[2026-09-25 16:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e32b0012d1824800721b790004b00c92b..."} 
[2026-09-25 16:37:00] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e32b0012d1824800721b790004b00c92b..."} 
[2026-09-25 16:37:00] local.INFO: Packet analysis {"connection_id":192268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:00] local.INFO: Extracted packet for processing {"connection_id":192268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650192,"longitude_deg":75.6556928,"latitude_deg":11.9650192,"altitude":75,"angle":201,"satellites":43,"speed":3,"hex_longitude":"2d182480","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-09-25 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325592576001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22972135093829632,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655828992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37: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-25 16:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334350000,"timestamp_ms":1790334350000,"timestamp_seconds":1790334350,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e32b0"} 
[2026-09-25 16:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:37:00] 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-25 16:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-25 16:37:00] 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-25 16:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325592576001,"66":14048,"105":206,"83":41984,"24":3,"16":22972135093829632,"45":1740078336655828992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325592576001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22972135093829632,"km_value":22972135093829.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655828992,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325592576001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1740078336655828992}} 
[2026-09-25 16:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":192268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:00] local.INFO: GPS data processed {"connection_id":192268,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:00] local.INFO: Acknowledgment sent {"connection_id":192268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:03] local.INFO: TCP Data received {"connection_id":195130,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:03] local.INFO: Processing buffer {"connection_id":195130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:03] local.INFO: Packet analysis {"connection_id":195130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:03] local.INFO: Extracted packet for processing {"connection_id":195130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37: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-25 16:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:37:03] 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-25 16:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:37: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-25 16:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":195130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:03] local.INFO: GPS data processed {"connection_id":195130,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:03] local.INFO: Acknowledgment sent {"connection_id":195130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:09] local.INFO: TCP Data received {"connection_id":195129,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:09] local.INFO: Processing buffer {"connection_id":195129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:09] local.INFO: IMEI packet received {"connection_id":195129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":195129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:37:10] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83d09d0012d7b0c8005e30858000b016113..."} 
[2026-09-25 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83d09d0012d7b0c8005e30858000b016113..."} 
[2026-09-25 16:37:10] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83d09d0012d7b0c8005e30858000b016113..."} 
[2026-09-25 16:37:10] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83d"} 
[2026-09-25 16:37:10] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83d"} 
[2026-09-25 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98764888,"longitude_deg":76.3038848,"latitude_deg":9.8764888,"altitude":11,"angle":353,"satellites":19,"speed":17,"hex_longitude":"2d7b0c80","hex_latitude":"05e30858","is_valid_coordinates":true} 
[2026-09-25 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325572352001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135869950379163648,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160413032448,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790334274000,"timestamp_ms":1790334274000,"timestamp_seconds":1790334274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83d09d0"} 
[2026-09-25 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325572352001,"66":13374,"207":206,"85":15104,"24":17,"16":135869950379163648,"45":8866532160413032448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325572352001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 16:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135869950379163648,"km_value":135869950379163.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160413032448,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325572352001,"power":13374,"unknown_207":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8866532160413032448}} 
[2026-09-25 16:37:10] 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":895958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:10] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:10] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:27] local.INFO: TCP Data received {"connection_id":195132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:27] local.INFO: Processing buffer {"connection_id":195132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:27] local.INFO: IMEI packet received {"connection_id":195132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":195132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:37:30] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:30] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:30] local.INFO: IMEI packet received {"connection_id":193825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":193825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:37:31] local.INFO: TCP Data received {"connection_id":192268,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83f0d70012d1862c0072182c0004e006b27..."} 
[2026-09-25 16:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83f0d70012d1862c0072182c0004e006b27..."} 
[2026-09-25 16:37:31] local.INFO: Processing buffer {"connection_id":192268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83f0d70012d1862c0072182c0004e006b27..."} 
[2026-09-25 16:37:31] local.INFO: Packet analysis {"connection_id":192268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:37:31] local.INFO: Extracted packet for processing {"connection_id":192268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756572864,"raw_latitude":119636672,"longitude_deg":75.6572864,"latitude_deg":11.9636672,"altitude":78,"angle":107,"satellites":39,"speed":25,"hex_longitude":"2d1862c0","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-09-25 16:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325606656001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22973303324934144,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753870610511423488,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:31] 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-25 16:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334406000,"timestamp_ms":1790334406000,"timestamp_seconds":1790334406,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83f0d70"} 
[2026-09-25 16:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-25 16:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325606656001,"66":13961,"106":206,"83":41984,"24":25,"16":22973303324934144,"45":1753870610511423488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325606656001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22973303324934144,"km_value":22973303324934.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753870610511423488,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325606656001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1753870610511423488}} 
[2026-09-25 16:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":192268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:31] local.INFO: GPS data processed {"connection_id":192268,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:31] local.INFO: Acknowledgment sent {"connection_id":192268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:32] local.INFO: TCP Data received {"connection_id":195133,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:32] local.INFO: Processing buffer {"connection_id":195133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:37:32] local.INFO: IMEI packet received {"connection_id":195133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":195133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:37:33] local.INFO: TCP Data received {"connection_id":195132,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:33] local.INFO: Processing buffer {"connection_id":195132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:37:33] local.INFO: IMEI packet received {"connection_id":195132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":195132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:37:34] local.INFO: TCP Data received {"connection_id":195132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83f6f18012d7ad10005e401f8000c015d28..."} 
[2026-09-25 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83f6f18012d7ad10005e401f8000c015d28..."} 
[2026-09-25 16:37:34] local.INFO: Processing buffer {"connection_id":195132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83f6f18012d7ad10005e401f8000c015d28..."} 
[2026-09-25 16:37:34] local.INFO: Packet analysis {"connection_id":195132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:37:34] local.INFO: Extracted packet for processing {"connection_id":195132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":98828792,"longitude_deg":76.3023616,"latitude_deg":9.8828792,"altitude":12,"angle":349,"satellites":40,"speed":30,"hex_longitude":"2d7ad100","hex_latitude":"05e401f8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325610496001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873167309668352,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851965830382856192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334431000,"timestamp_ms":1790334431000,"timestamp_seconds":1790334431,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83f6f18"} 
[2026-09-25 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-25 16:37:34] 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-25 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 16:37:34] 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-25 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-25 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-25 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325610496001,"66":13406,"208":206,"85":15104,"24":30,"16":135873167309668352,"45":8851965830382856192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325610496001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873167309668352,"km_value":135873167309668.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851965830382856192,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325610496001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8851965830382856192}} 
[2026-09-25 16:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":195132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:34] local.INFO: GPS data processed {"connection_id":195132,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:34] local.INFO: Acknowledgment sent {"connection_id":195132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:35] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:35] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:37:35] local.INFO: IMEI packet received {"connection_id":193825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":193825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:37:36] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:36] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:36] local.INFO: Packet analysis {"connection_id":193825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:36] local.INFO: Extracted packet for processing {"connection_id":193825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16: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-25 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:37: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-25 16: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-25 16: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-25 16:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:37:37] 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":895961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:37] local.INFO: GPS data processed {"connection_id":193825,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:37] local.INFO: Acknowledgment sent {"connection_id":193825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:41] local.INFO: TCP Data received {"connection_id":193825,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:41] local.INFO: Processing buffer {"connection_id":193825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:37:41] local.INFO: Packet analysis {"connection_id":193825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:41] local.INFO: Extracted packet for processing {"connection_id":193825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16: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-25 16:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:37: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-25 16: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-25 16: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-25 16:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:37:41] 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":895962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:37:41] local.INFO: GPS data processed {"connection_id":193825,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:37:41] local.INFO: Acknowledgment sent {"connection_id":193825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:37:56] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:56] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:56] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:37:59] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:59] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:37:59] local.INFO: IMEI packet received {"connection_id":192269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":192269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:38:00] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83f1540012d186840072181d0004e005f29..."} 
[2026-09-25 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83f1540012d186840072181d0004e005f29..."} 
[2026-09-25 16:38:00] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83f1540012d186840072181d0004e005f29..."} 
[2026-09-25 16:38:00] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:00] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756574272,"raw_latitude":119636432,"longitude_deg":75.6574272,"latitude_deg":11.9636432,"altitude":78,"angle":95,"satellites":41,"speed":27,"hex_longitude":"2d186840","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-09-25 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325607936001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22973367749443584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941487435776,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:00] 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-25 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334408000,"timestamp_ms":1790334408000,"timestamp_seconds":1790334408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83f1540"} 
[2026-09-25 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:38:00] 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-25 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 16:38:00] 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-25 16:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325607936001,"66":14157,"106":206,"83":41984,"24":27,"16":22973367749443584,"45":1757177941487435776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325607936001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22973367749443584,"km_value":22973367749443.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941487435776,"description":"Unknown IO ID 45"} 
[2026-09-25 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325607936001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1757177941487435776}} 
[2026-09-25 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:38:00] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:38:00] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:38:05] local.INFO: TCP Data received {"connection_id":195132,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83f7eb8012d7ace0005e40cc8000c015124..."} 
[2026-09-25 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83f7eb8012d7ace0005e40cc8000c015124..."} 
[2026-09-25 16:38:05] local.INFO: Processing buffer {"connection_id":195132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83f7eb8012d7ace0005e40cc8000c015124..."} 
[2026-09-25 16:38:05] local.INFO: Packet analysis {"connection_id":195132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:05] local.INFO: Extracted packet for processing {"connection_id":195132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98831560,"longitude_deg":76.3022848,"latitude_deg":9.883156,"altitude":12,"angle":337,"satellites":36,"speed":23,"hex_longitude":"2d7ace00","hex_latitude":"05e40cc8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325614336001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873309043589120,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849854768059906048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334435000,"timestamp_ms":1790334435000,"timestamp_seconds":1790334435,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83f7eb8"} 
[2026-09-25 16: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-25 16:38:05] 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-25 16: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325614336001,"66":13363,"208":206,"85":15104,"24":23,"16":135873309043589120,"45":8849854768059906048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325614336001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:38:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873309043589120,"km_value":135873309043589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849854768059906048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325614336001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8849854768059906048}} 
[2026-09-25 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":195132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:38:05] local.INFO: GPS data processed {"connection_id":195132,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:38:05] local.INFO: Acknowledgment sent {"connection_id":195132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:38:25] local.INFO: TCP Data received {"connection_id":195134,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:25] local.INFO: Processing buffer {"connection_id":195134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:25] local.INFO: IMEI packet received {"connection_id":195134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":195134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:38:27] local.INFO: TCP Data received {"connection_id":195135,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:27] local.INFO: Processing buffer {"connection_id":195135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:27] local.INFO: IMEI packet received {"connection_id":195135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":195135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:38:30] local.INFO: TCP Data received {"connection_id":195134,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:30] local.INFO: Processing buffer {"connection_id":195134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:38:30] local.INFO: IMEI packet received {"connection_id":195134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":195134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:38:31] local.INFO: TCP Data received {"connection_id":195134,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:38:31] local.INFO: TCP Data received {"connection_id":192269,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83ff000012d18de00072150680044009329..."} 
[2026-09-25 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:38:31] local.INFO: Processing buffer {"connection_id":195134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:38:31] local.INFO: Packet analysis {"connection_id":195134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:38:31] local.INFO: Extracted packet for processing {"connection_id":195134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38: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-25 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16: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-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:38:31] 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-25 16: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-25 16: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-25 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:38:31] 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-25 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83ff000012d18de00072150680044009329..."} 
[2026-09-25 16:38:31] local.INFO: Processing buffer {"connection_id":192269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83ff000012d18de00072150680044009329..."} 
[2026-09-25 16:38:31] local.INFO: Packet analysis {"connection_id":192269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:31] local.INFO: Extracted packet for processing {"connection_id":192269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119623784,"longitude_deg":75.6604416,"latitude_deg":11.9623784,"altitude":68,"angle":147,"satellites":41,"speed":10,"hex_longitude":"2d18de00","hex_latitude":"07215068","is_valid_coordinates":true} 
[2026-09-25 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325622528001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975038491721728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791658626131251200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:38:31] 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-25 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334464000,"timestamp_ms":1790334464000,"timestamp_seconds":1790334464,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83ff000"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16: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-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:38: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-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325622528001,"66":13972,"106":206,"83":41984,"24":10,"16":22975038491721728,"45":1791658626131251200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325622528001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975038491721728,"km_value":22975038491721.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791658626131251200,"description":"Unknown IO ID 45"} 
[2026-09-25 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325622528001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1791658626131251200}} 
[2026-09-25 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":195134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:38:31] local.INFO: GPS data processed {"connection_id":195134,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:38:31] local.INFO: Acknowledgment sent {"connection_id":195134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":192269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:38:31] local.INFO: GPS data processed {"connection_id":192269,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:38:31] local.INFO: Acknowledgment sent {"connection_id":192269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:38:33] local.INFO: TCP Data received {"connection_id":195135,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:33] local.INFO: Processing buffer {"connection_id":195135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:38:33] local.INFO: IMEI packet received {"connection_id":195135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":195135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:38:34] local.INFO: TCP Data received {"connection_id":195135,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83f8688012d7acc4005e41020000c013f26..."} 
[2026-09-25 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83f8688012d7acc4005e41020000c013f26..."} 
[2026-09-25 16:38:34] local.INFO: Processing buffer {"connection_id":195135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83f8688012d7acc4005e41020000c013f26..."} 
[2026-09-25 16:38:34] local.INFO: Packet analysis {"connection_id":195135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:34] local.INFO: Extracted packet for processing {"connection_id":195135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832416,"longitude_deg":76.30224,"latitude_deg":9.8832416,"altitude":12,"angle":319,"satellites":38,"speed":14,"hex_longitude":"2d7acc40","hex_latitude":"05e41020","is_valid_coordinates":true} 
[2026-09-25 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-25 16:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325615360001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873356288229376,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130482688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334437000,"timestamp_ms":1790334437000,"timestamp_seconds":1790334437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83f8688"} 
[2026-09-25 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-25 16:38:34] 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-25 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 16:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325615360001,"66":13439,"208":206,"85":15104,"24":14,"16":135873356288229376,"45":8849010343130482688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325615360001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:38:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873356288229376,"km_value":135873356288229.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130482688,"description":"Unknown IO ID 45"} 
[2026-09-25 16:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325615360001,"power":13439,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8849010343130482688}} 
[2026-09-25 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":195135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:38:34] local.INFO: GPS data processed {"connection_id":195135,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:38:34] local.INFO: Acknowledgment sent {"connection_id":195135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:38:54] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:54] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:54] local.INFO: IMEI packet received {"connection_id":193827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":193827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:38:59] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:59] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:38:59] local.INFO: IMEI packet received {"connection_id":193827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":193827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:39:00] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83ff3e8012d18de4007214f68004400a729..."} 
[2026-09-25 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83ff3e8012d18de4007214f68004400a729..."} 
[2026-09-25 16:39:00] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83ff3e8012d18de4007214f68004400a729..."} 
[2026-09-25 16:39:00] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:00] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119623528,"longitude_deg":75.660448,"latitude_deg":11.9623528,"altitude":68,"angle":167,"satellites":41,"speed":10,"hex_longitude":"2d18de40","hex_latitude":"07214f68","is_valid_coordinates":true} 
[2026-09-25 16:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325622784001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975051376623616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732363724800,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:00] 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-25 16:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334465000,"timestamp_ms":1790334465000,"timestamp_seconds":1790334465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83ff3e8"} 
[2026-09-25 16: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-25 16:39:00] 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-25 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325622784001,"66":13928,"106":206,"83":41984,"24":10,"16":22975051376623616,"45":1791869732363724800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325622784001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975051376623616,"km_value":22975051376623.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732363724800,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325622784001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1791869732363724800}} 
[2026-09-25 16:39:00] 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":895968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:00] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:00] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:03] local.INFO: TCP Data received {"connection_id":195134,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:03] local.INFO: Processing buffer {"connection_id":195134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:03] local.INFO: Packet analysis {"connection_id":195134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:39:03] local.INFO: Extracted packet for processing {"connection_id":195134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39: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-25 16:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:03] 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-25 16:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:39:03] 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-25 16:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:39: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-25 16:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":195134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:03] local.INFO: GPS data processed {"connection_id":195134,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:03] local.INFO: Acknowledgment sent {"connection_id":195134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:06] local.INFO: TCP Data received {"connection_id":195135,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83fc8f0012d7acb8005e410f0000a007f29..."} 
[2026-09-25 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83fc8f0012d7acb8005e410f0000a007f29..."} 
[2026-09-25 16:39:06] local.INFO: Processing buffer {"connection_id":195135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83fc8f0012d7acb8005e410f0000a007f29..."} 
[2026-09-25 16:39:06] local.INFO: Packet analysis {"connection_id":195135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:06] local.INFO: Extracted packet for processing {"connection_id":195135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832624,"longitude_deg":76.3022208,"latitude_deg":9.8832624,"altitude":10,"angle":127,"satellites":41,"speed":1,"hex_longitude":"2d7acb80","hex_latitude":"05e410f0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325615872001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873390647967744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921458176,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790334454000,"timestamp_ms":1790334454000,"timestamp_seconds":1790334454,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83fc8f0"} 
[2026-09-25 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-25 16:39:06] 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-25 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:06] 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-25 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-25 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-25 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325615872001,"66":13428,"208":206,"85":15104,"24":1,"16":135873390647967744,"45":8848517761921458176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325615872001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873390647967744,"km_value":135873390647967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921458176,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325615872001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8848517761921458176}} 
[2026-09-25 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":195135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:06] local.INFO: GPS data processed {"connection_id":195135,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:06] local.INFO: Acknowledgment sent {"connection_id":195135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:11] local.INFO: TCP Data received {"connection_id":192271,"ip":"216.180.246.71","data_length":258,"data_hex":"16030100fd010000f903030d00785242d367ca7737247efbcc87904f0bae1596..."} 
[2026-09-25 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192271,"packet_length":258,"packet_hex":"16030100fd010000f903030d00785242d367ca7737247efbcc87904f0bae1596..."} 
[2026-09-25 16:39:11] local.INFO: Processing buffer {"connection_id":192271,"buffer_length":258,"buffer_hex":"16030100fd010000f903030d00785242d367ca7737247efbcc87904f0bae1596..."} 
[2026-09-25 16:39:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":192271,"buffer_length":258,"first_bytes_hex":"16030100fd010000f903030d00785242"} 
[2026-09-25 16:39:20] local.INFO: TCP Data received {"connection_id":195137,"ip":"216.180.246.71","data_length":175,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-25 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195137,"packet_length":175,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-25 16:39:20] local.INFO: Processing buffer {"connection_id":195137,"buffer_length":175,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-25 16:39:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195137,"buffer_length":175,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-25 16:39:25] local.INFO: TCP Data received {"connection_id":192272,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:25] local.INFO: Processing buffer {"connection_id":192272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:25] local.INFO: IMEI packet received {"connection_id":192272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":192272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:39:30] local.INFO: TCP Data received {"connection_id":192272,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:30] local.INFO: Processing buffer {"connection_id":192272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:39:30] local.INFO: IMEI packet received {"connection_id":192272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:39:31] local.INFO: TCP Data received {"connection_id":192272,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:31] local.INFO: Processing buffer {"connection_id":192272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:39:31] local.INFO: Packet analysis {"connection_id":192272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:39:31] local.INFO: Extracted packet for processing {"connection_id":192272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39: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-25 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:31] 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-25 16:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:39:31] 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-25 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:39: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-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":192272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:31] local.INFO: GPS data processed {"connection_id":192272,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:31] local.INFO: Acknowledgment sent {"connection_id":192272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:31] local.INFO: TCP Data received {"connection_id":193827,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83fffa0012d18dec007214d080045009829..."} 
[2026-09-25 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83fffa0012d18dec007214d080045009829..."} 
[2026-09-25 16:39:31] local.INFO: Processing buffer {"connection_id":193827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83fffa0012d18dec007214d080045009829..."} 
[2026-09-25 16:39:31] local.INFO: Packet analysis {"connection_id":193827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:31] local.INFO: Extracted packet for processing {"connection_id":193827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119622920,"longitude_deg":75.6604608,"latitude_deg":11.962292,"altitude":69,"angle":152,"satellites":41,"speed":5,"hex_longitude":"2d18dec0","hex_latitude":"07214d08","is_valid_coordinates":true} 
[2026-09-25 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325623040001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975081441394688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101107836928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:31] 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-25 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334468000,"timestamp_ms":1790334468000,"timestamp_seconds":1790334468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83fffa0"} 
[2026-09-25 16:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:39:31] 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-25 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:31] 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-25 16:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325623040001,"66":13993,"106":206,"83":41984,"24":5,"16":22975081441394688,"45":1791940101107836928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325623040001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975081441394688,"km_value":22975081441394.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101107836928,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325623040001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1791940101107836928}} 
[2026-09-25 16:39:32] 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":895972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:32] local.INFO: GPS data processed {"connection_id":193827,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:32] local.INFO: Acknowledgment sent {"connection_id":193827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:33] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:33] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:33] local.INFO: IMEI packet received {"connection_id":193828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":193828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:39:38] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:38] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:39:38] local.INFO: IMEI packet received {"connection_id":193828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":193828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:39:38] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83fe448012d7acb0005e41110000a01222b..."} 
[2026-09-25 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83fe448012d7acb0005e41110000a01222b..."} 
[2026-09-25 16:39:38] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83fe448012d7acb0005e41110000a01222b..."} 
[2026-09-25 16:39:38] local.INFO: Packet analysis {"connection_id":193828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:38] local.INFO: Extracted packet for processing {"connection_id":193828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832656,"longitude_deg":76.302208,"latitude_deg":9.8832656,"altitude":10,"angle":290,"satellites":43,"speed":2,"hex_longitude":"2d7acb00","hex_latitude":"05e41110","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325620224001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873399237902336,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688978432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790334461000,"timestamp_ms":1790334461000,"timestamp_seconds":1790334461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83fe448"} 
[2026-09-25 16: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-25 16:39:38] 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-25 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325620224001,"66":13689,"208":206,"85":15104,"24":2,"16":135873399237902336,"45":8848306655688978432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325620224001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873399237902336,"km_value":135873399237902.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688978432,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325620224001,"power":13689,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8848306655688978432}} 
[2026-09-25 16:39:39] 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":895973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:39] local.INFO: GPS data processed {"connection_id":193828,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:39] local.INFO: Acknowledgment sent {"connection_id":193828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:43] local.INFO: TCP Data received {"connection_id":193828,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83fe830012d7aca8005e41118000a01152b..."} 
[2026-09-25 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83fe830012d7aca8005e41118000a01152b..."} 
[2026-09-25 16:39:43] local.INFO: Processing buffer {"connection_id":193828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83fe830012d7aca8005e41118000a01152b..."} 
[2026-09-25 16:39:43] local.INFO: Packet analysis {"connection_id":193828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:43] local.INFO: Extracted packet for processing {"connection_id":193828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83f"} 
[2026-09-25 16:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832664,"longitude_deg":76.3021952,"latitude_deg":9.8832664,"altitude":10,"angle":277,"satellites":43,"speed":3,"hex_longitude":"2d7aca80","hex_latitude":"05e41118","is_valid_coordinates":true} 
[2026-09-25 16:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325622016001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135873407827836928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200631296,"note":"Value kept but may cause issues"} 
[2026-09-25 16:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790334462000,"timestamp_ms":1790334462000,"timestamp_seconds":1790334462,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83fe830"} 
[2026-09-25 16:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:39: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-25 16:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-25 16:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325622016001,"66":13656,"208":206,"85":15104,"24":3,"16":135873407827836928,"45":8848165918200631296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325622016001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:39:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135873407827836928,"km_value":135873407827836.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200631296,"description":"Unknown IO ID 45"} 
[2026-09-25 16:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325622016001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8848165918200631296}} 
[2026-09-25 16:39:43] 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":895974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:39:43] local.INFO: GPS data processed {"connection_id":193828,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:39:43] local.INFO: Acknowledgment sent {"connection_id":193828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:39:59] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:39:59] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:39:59] local.INFO: IMEI packet received {"connection_id":192451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":192451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:40:04] local.INFO: TCP Data received {"connection_id":192272,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:04] local.INFO: Processing buffer {"connection_id":192272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:04] local.INFO: Packet analysis {"connection_id":192272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:40:04] local.INFO: Extracted packet for processing {"connection_id":192272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:40: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-25 16:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:40: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-25 16:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":192272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:04] local.INFO: GPS data processed {"connection_id":192272,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:04] local.INFO: Acknowledgment sent {"connection_id":192272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:40:04] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:04] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:04] local.INFO: IMEI packet received {"connection_id":192451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":192451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:40:05] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84051a8012d18df0007214c780045009829..."} 
[2026-09-25 16:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84051a8012d18df0007214c780045009829..."} 
[2026-09-25 16:40:05] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84051a8012d18df0007214c780045009829..."} 
[2026-09-25 16:40:05] local.INFO: Packet analysis {"connection_id":192451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d840"} 
[2026-09-25 16:40:05] local.INFO: Extracted packet for processing {"connection_id":192451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d840"} 
[2026-09-25 16:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119622776,"longitude_deg":75.6604672,"latitude_deg":11.9622776,"altitude":69,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d18df00","hex_latitude":"07214c78","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325623808001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975090031329280,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838596036608,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334489000,"timestamp_ms":1790334489000,"timestamp_seconds":1790334489,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84051a8"} 
[2026-09-25 16: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-25 16:40:05] 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-25 16: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:05] 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-25 16: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-25 16: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-25 16:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325623808001,"66":14048,"106":206,"83":41984,"24":0,"16":22975090031329280,"45":1792080838596036608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325623808001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975090031329280,"km_value":22975090031329.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838596036608,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325623808001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1792080838596036608}} 
[2026-09-25 16:40:05] 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":895976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:05] local.INFO: GPS data processed {"connection_id":192451,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:05] local.INFO: Acknowledgment sent {"connection_id":192451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:40:10] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d840a3b0012d18df0007214c78004500982a..."} 
[2026-09-25 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d840a3b0012d18df0007214c78004500982a..."} 
[2026-09-25 16:40:10] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d840a3b0012d18df0007214c78004500982a..."} 
[2026-09-25 16:40:10] local.INFO: Packet analysis {"connection_id":192451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d840"} 
[2026-09-25 16:40:10] local.INFO: Extracted packet for processing {"connection_id":192451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d840"} 
[2026-09-25 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119622776,"longitude_deg":75.6604672,"latitude_deg":11.9622776,"altitude":69,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d18df00","hex_latitude":"07214c78","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325629184001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975090031329280,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207340177408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:10] 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-25 16:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790334510000,"timestamp_ms":1790334510000,"timestamp_seconds":1790334510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d840a3b0"} 
[2026-09-25 16: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-25 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:10] 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-25 16: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-25 16: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-25 16:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325629184001,"66":13993,"106":206,"83":41984,"24":0,"16":22975090031329280,"45":1792151207340177408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325629184001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975090031329280,"km_value":22975090031329.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207340177408,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325629184001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1792151207340177408}} 
[2026-09-25 16:40:10] 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":895977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:10] local.INFO: GPS data processed {"connection_id":192451,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:10] local.INFO: Acknowledgment sent {"connection_id":192451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:40:12] local.INFO: TCP Data received {"connection_id":195138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:40:12] local.INFO: Processing buffer {"connection_id":195138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:40:12] local.INFO: IMEI packet received {"connection_id":195138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":195138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:40:25] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:25] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:25] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:40:28] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:28] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:28] local.INFO: IMEI packet received {"connection_id":193829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":193829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:40:30] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:30] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:40:30] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:40:31] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:31] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:40:31] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:40:31] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40: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-25 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16: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-25 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:31] 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-25 16: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-25 16: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-25 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:40:31] 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-25 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:40: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-25 16:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:40:31] 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":895978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:31] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:31] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:40:33] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:33] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:40:33] local.INFO: IMEI packet received {"connection_id":193829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":193829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:40:34] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d841f3a0012d7aa08005e40a900007003229..."} 
[2026-09-25 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d841f3a0012d7aa08005e40a900007003229..."} 
[2026-09-25 16:40:34] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d841f3a0012d7aa08005e40a900007003229..."} 
[2026-09-25 16:40:34] local.INFO: Packet analysis {"connection_id":193829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:40:34] local.INFO: Extracted packet for processing {"connection_id":193829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763011200,"raw_latitude":98830992,"longitude_deg":76.30112,"latitude_deg":9.8830992,"altitude":7,"angle":50,"satellites":41,"speed":2,"hex_longitude":"2d7aa080","hex_latitude":"05e40a90","is_valid_coordinates":true} 
[2026-09-25 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325656064001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135874004828291072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201632768,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334596000,"timestamp_ms":1790334596000,"timestamp_seconds":1790334596,"priority":1,"record_length":96,"hex_timestamp":"000001a0d841f3a0"} 
[2026-09-25 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:40:34] 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-25 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:34] 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-25 16:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325656064001,"66":13678,"208":206,"85":15104,"24":2,"16":135874004828291072,"45":8836062494201632768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325656064001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135874004828291072,"km_value":135874004828291.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201632768,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325656064001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836062494201632768}} 
[2026-09-25 16:40:34] 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":895979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:34] local.INFO: GPS data processed {"connection_id":193829,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:34] local.INFO: Acknowledgment sent {"connection_id":193829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:40:51] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:51] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:51] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:40:54] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:54] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:54] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:40:56] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:56] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:40:56] local.INFO: IMEI packet received {"connection_id":192273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":192273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:40:57] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d841f788012d18df0007214c00004601262c..."} 
[2026-09-25 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d841f788012d18df0007214c00004601262c..."} 
[2026-09-25 16:40:57] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d841f788012d18df0007214c00004601262c..."} 
[2026-09-25 16:40:57] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:40:57] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119622656,"longitude_deg":75.6604672,"latitude_deg":11.9622656,"altitude":70,"angle":294,"satellites":44,"speed":9,"hex_longitude":"2d18df00","hex_latitude":"07214c00","is_valid_coordinates":true} 
[2026-09-25 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325655808001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975248945119232,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793206738502780928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:40: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-25 16:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790334597000,"timestamp_ms":1790334597000,"timestamp_seconds":1790334597,"priority":1,"record_length":96,"hex_timestamp":"000001a0d841f788"} 
[2026-09-25 16:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:40:57] 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-25 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 16:40:57] 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-25 16:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325655808001,"66":14233,"103":206,"83":41984,"24":9,"16":22975248945119232,"45":1793206738502780928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325655808001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:40:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975248945119232,"km_value":22975248945119.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793206738502780928,"description":"Unknown IO ID 45"} 
[2026-09-25 16:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325655808001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1793206738502780928}} 
[2026-09-25 16:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:40:57] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:40:57] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:02] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:02] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:02] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:41:02] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41: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-25 16:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:41:02] 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-25 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:41: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-25 16:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:41:02] 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":895981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:02] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:02] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:06] local.INFO: TCP Data received {"connection_id":193829,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d841fb70012d7aa0c005e40ad00007003d29..."} 
[2026-09-25 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d841fb70012d7aa0c005e40ad00007003d29..."} 
[2026-09-25 16:41:06] local.INFO: Processing buffer {"connection_id":193829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d841fb70012d7aa0c005e40ad00007003d29..."} 
[2026-09-25 16:41:06] local.INFO: Packet analysis {"connection_id":193829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:41:06] local.INFO: Extracted packet for processing {"connection_id":193829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763011264,"raw_latitude":98831056,"longitude_deg":76.3011264,"latitude_deg":9.8831056,"altitude":7,"angle":61,"satellites":41,"speed":2,"hex_longitude":"2d7aa0c0","hex_latitude":"05e40ad0","is_valid_coordinates":true} 
[2026-09-25 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325656576001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135874009123258368,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836203231690002432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790334598000,"timestamp_ms":1790334598000,"timestamp_seconds":1790334598,"priority":1,"record_length":96,"hex_timestamp":"000001a0d841fb70"} 
[2026-09-25 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:41:06] 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-25 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:06] 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-25 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325656576001,"66":13656,"208":206,"85":15104,"24":2,"16":135874009123258368,"45":8836203231690002432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325656576001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135874009123258368,"km_value":135874009123258.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836203231690002432,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325656576001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836203231690002432}} 
[2026-09-25 16:41:06] 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":895982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:06] local.INFO: GPS data processed {"connection_id":193829,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:06] local.INFO: Acknowledgment sent {"connection_id":193829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:21] local.INFO: TCP Data received {"connection_id":195141,"ip":"216.180.246.71","data_length":31,"data_hex":"474554202f20485454502f312e300d0a486f73743a2070726f62650d0a0d0a..."} 
[2026-09-25 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195141,"packet_length":31,"packet_hex":"474554202f20485454502f312e300d0a486f73743a2070726f62650d0a0d0a..."} 
[2026-09-25 16:41:21] local.INFO: Processing buffer {"connection_id":195141,"buffer_length":31,"buffer_hex":"474554202f20485454502f312e300d0a486f73743a2070726f62650d0a0d0a..."} 
[2026-09-25 16:41:21] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195141,"buffer_length":31,"first_bytes_hex":"474554202f20485454502f312e300d0a"} 
[2026-09-25 16:41:25] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:25] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:25] local.INFO: IMEI packet received {"connection_id":193830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":193830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:41:28] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:28] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:28] local.INFO: IMEI packet received {"connection_id":193831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":193831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:41:28] local.INFO: TCP Data received {"connection_id":192273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d841fb70012d18de8007214cb0004601472b..."} 
[2026-09-25 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d841fb70012d18de8007214cb0004601472b..."} 
[2026-09-25 16:41:28] local.INFO: Processing buffer {"connection_id":192273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d841fb70012d18de8007214cb0004601472b..."} 
[2026-09-25 16:41:28] local.INFO: Packet analysis {"connection_id":192273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:41:28] local.INFO: Extracted packet for processing {"connection_id":192273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d841"} 
[2026-09-25 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119622832,"longitude_deg":75.6604544,"latitude_deg":11.9622832,"altitude":70,"angle":327,"satellites":43,"speed":9,"hex_longitude":"2d18de80","hex_latitude":"07214cb0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325656832001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975261830021120,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207340146688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41: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-25 16:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790334598000,"timestamp_ms":1790334598000,"timestamp_seconds":1790334598,"priority":1,"record_length":96,"hex_timestamp":"000001a0d841fb70"} 
[2026-09-25 16: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-25 16:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325656832001,"66":14233,"103":206,"83":41984,"24":9,"16":22975261830021120,"45":1792151207340146688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325656832001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975261830021120,"km_value":22975261830021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207340146688,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325656832001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1792151207340146688}} 
[2026-09-25 16:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":192273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:28] local.INFO: GPS data processed {"connection_id":192273,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:28] local.INFO: Acknowledgment sent {"connection_id":192273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:30] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:30] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:41:30] local.INFO: IMEI packet received {"connection_id":193830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":193830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:41:31] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:31] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d83e3e68012d34c14006aa4908000c006e2d..."} 
[2026-09-25 16:41:31] local.INFO: Packet analysis {"connection_id":193830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:41:31] local.INFO: Extracted packet for processing {"connection_id":193830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d83e"} 
[2026-09-25 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325517312001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41: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-25 16:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334353000,"timestamp_ms":1790334353000,"timestamp_seconds":1790334353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d83e3e68"} 
[2026-09-25 16:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:31] 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-25 16:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:41:31] 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-25 16:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325517312001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325517312001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:41: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-25 16:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325517312001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:41:31] 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":895984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:31] local.INFO: GPS data processed {"connection_id":193830,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:31] local.INFO: Acknowledgment sent {"connection_id":193830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:33] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:33] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:41:33] local.INFO: IMEI packet received {"connection_id":193831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":193831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:41:34] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8420b10012d7aa28005e40b500007004a29..."} 
[2026-09-25 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8420b10012d7aa28005e40b500007004a29..."} 
[2026-09-25 16:41:34] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8420b10012d7aa28005e40b500007004a29..."} 
[2026-09-25 16:41:34] local.INFO: Packet analysis {"connection_id":193831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:41:34] local.INFO: Extracted packet for processing {"connection_id":193831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":763011712,"raw_latitude":98831184,"longitude_deg":76.3011712,"latitude_deg":9.8831184,"altitude":7,"angle":74,"satellites":41,"speed":5,"hex_longitude":"2d7aa280","hex_latitude":"05e40b50","is_valid_coordinates":true} 
[2026-09-25 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325657088001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135874030598094848,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836273600434196480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334602000,"timestamp_ms":1790334602000,"timestamp_seconds":1790334602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8420b10"} 
[2026-09-25 16:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:41:34] 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-25 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:34] 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-25 16:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325657088001,"66":13319,"208":206,"85":15104,"24":5,"16":135874030598094848,"45":8836273600434196480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325657088001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:41:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135874030598094848,"km_value":135874030598094.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836273600434196480,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325657088001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8836273600434196480}} 
[2026-09-25 16:41:34] 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":895985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:34] local.INFO: GPS data processed {"connection_id":193831,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:34] local.INFO: Acknowledgment sent {"connection_id":193831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:41:54] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:54] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:54] local.INFO: IMEI packet received {"connection_id":193832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":193832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:41:55] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:55] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:55] local.INFO: IMEI packet received {"connection_id":193832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":193832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:41:56] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:56] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:41:56] local.INFO: IMEI packet received {"connection_id":193832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":193832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:41:57] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842b308012d18b5c0072165680048014c2b..."} 
[2026-09-25 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842b308012d18b5c0072165680048014c2b..."} 
[2026-09-25 16:41:57] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842b308012d18b5c0072165680048014c2b..."} 
[2026-09-25 16:41:57] local.INFO: Packet analysis {"connection_id":193832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:41:57] local.INFO: Extracted packet for processing {"connection_id":193832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756594112,"raw_latitude":119629160,"longitude_deg":75.6594112,"latitude_deg":11.962916,"altitude":72,"angle":332,"satellites":43,"speed":8,"hex_longitude":"2d18b5c0","hex_latitude":"07216568","is_valid_coordinates":true} 
[2026-09-25 16:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325668608001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975914665050112,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780610733296568320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:41: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-25 16:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790334645000,"timestamp_ms":1790334645000,"timestamp_seconds":1790334645,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842b308"} 
[2026-09-25 16:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:41:57] 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-25 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-25 16:41:57] 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-25 16:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325668608001,"66":14113,"103":206,"83":41984,"24":8,"16":22975914665050112,"45":1780610733296568320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325668608001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:41:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975914665050112,"km_value":22975914665050.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780610733296568320,"description":"Unknown IO ID 45"} 
[2026-09-25 16:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325668608001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1780610733296568320}} 
[2026-09-25 16:41:57] 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":895986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:41:57] local.INFO: GPS data processed {"connection_id":193832,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:41:57] local.INFO: Acknowledgment sent {"connection_id":193832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:02] local.INFO: TCP Data received {"connection_id":193830,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:02] local.INFO: Processing buffer {"connection_id":193830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:02] local.INFO: Packet analysis {"connection_id":193830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:02] local.INFO: Extracted packet for processing {"connection_id":193830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42: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-25 16:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:02] 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-25 16:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:02] 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-25 16:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:42:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:42: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-25 16:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:42:02] 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":895987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:02] local.INFO: GPS data processed {"connection_id":193830,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:02] local.INFO: Acknowledgment sent {"connection_id":193830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:05] local.INFO: TCP Data received {"connection_id":193831,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8425930012d7ac2c005e410b00006004a2b..."} 
[2026-09-25 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8425930012d7ac2c005e410b00006004a2b..."} 
[2026-09-25 16:42:05] local.INFO: Processing buffer {"connection_id":193831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8425930012d7ac2c005e410b00006004a2b..."} 
[2026-09-25 16:42:05] local.INFO: Packet analysis {"connection_id":193831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:05] local.INFO: Extracted packet for processing {"connection_id":193831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763019968,"raw_latitude":98832560,"longitude_deg":76.3019968,"latitude_deg":9.883256,"altitude":6,"angle":74,"satellites":43,"speed":14,"hex_longitude":"2d7ac2c0","hex_latitude":"05e410b0","is_valid_coordinates":true} 
[2026-09-25 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325658112001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135874430030053376,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836766181643472896,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334622000,"timestamp_ms":1790334622000,"timestamp_seconds":1790334622,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8425930"} 
[2026-09-25 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628144864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":228,"raw_value":718324170636599296,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2147869706,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3098279936,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825862656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-3837065587677249531,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,184,160,251,45,192,10,7,41,66,243,128,235,1,240,110,227,216,228,4,113,205,106,159,8,38,239,52,2,226,5,138,64],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 16:42:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504484698219937792,"timestamp_seconds":504484698219937.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325658112001,"66":13428,"208":206,"85":15104,"24":14,"16":135874430030053376,"45":8836766181643472896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325658112001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135874430030053376,"km_value":135874430030053.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836766181643472896,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325658112001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836766181643472896}} 
[2026-09-25 16:42:05] 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":895988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:05] local.INFO: GPS data processed {"connection_id":193831,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:05] local.INFO: Acknowledgment sent {"connection_id":193831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:26] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:42:27] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:27] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:42:27] local.INFO: TCP Data received {"connection_id":193832,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842f188012d18b6c0072163200048009b2b..."} 
[2026-09-25 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842f188012d18b6c0072163200048009b2b..."} 
[2026-09-25 16:42:27] local.INFO: Processing buffer {"connection_id":193832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842f188012d18b6c0072163200048009b2b..."} 
[2026-09-25 16:42:27] local.INFO: Packet analysis {"connection_id":193832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:27] local.INFO: Extracted packet for processing {"connection_id":193832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119628576,"longitude_deg":75.6594368,"latitude_deg":11.9628576,"altitude":72,"angle":155,"satellites":43,"speed":9,"hex_longitude":"2d18b6c0","hex_latitude":"07216320","is_valid_coordinates":true} 
[2026-09-25 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325669120001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22975974794592256,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780540364552497152,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42: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-25 16:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790334661000,"timestamp_ms":1790334661000,"timestamp_seconds":1790334661,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842f188"} 
[2026-09-25 16:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:27] 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-25 16:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":193832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":193832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":193832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325669120001,"66":14265,"103":206,"83":41984,"24":9,"16":22975974794592256,"45":1780540364552497152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325669120001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22975974794592256,"km_value":22975974794592.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780540364552497152,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325669120001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1780540364552497152}} 
[2026-09-25 16:42:28] 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":895989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:28] local.INFO: GPS data processed {"connection_id":193832,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:28] local.INFO: Acknowledgment sent {"connection_id":193832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:30] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:30] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:30] local.INFO: IMEI packet received {"connection_id":192455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:42:33] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:33] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:42:33] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:42:34] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d843dfd0012d7b038005e35948000800982b..."} 
[2026-09-25 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d843dfd0012d7b038005e35948000800982b..."} 
[2026-09-25 16:42:34] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d843dfd0012d7b038005e35948000800982b..."} 
[2026-09-25 16:42:34] local.INFO: Packet analysis {"connection_id":192456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:42:34] local.INFO: Extracted packet for processing {"connection_id":192456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98785608,"longitude_deg":76.3036544,"latitude_deg":9.8785608,"altitude":8,"angle":152,"satellites":43,"speed":16,"hex_longitude":"2d7b0380","hex_latitude":"05e35948","is_valid_coordinates":true} 
[2026-09-25 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-25 16:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325687296001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135876946880888832,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863154460699049984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334722000,"timestamp_ms":1790334722000,"timestamp_seconds":1790334722,"priority":1,"record_length":96,"hex_timestamp":"000001a0d843dfd0"} 
[2026-09-25 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-25 16:42:34] 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-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:34] 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-25 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-25 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-25 16:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325687296001,"66":13406,"208":206,"85":15104,"24":16,"16":135876946880888832,"45":8863154460699049984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325687296001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135876946880888832,"km_value":135876946880888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863154460699049984,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325687296001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8863154460699049984}} 
[2026-09-25 16:42:34] 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":895990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:34] local.INFO: GPS data processed {"connection_id":192456,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:34] local.INFO: Acknowledgment sent {"connection_id":192456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:35] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:35] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:42:35] local.INFO: IMEI packet received {"connection_id":192455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":192455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:42:36] local.INFO: TCP Data received {"connection_id":195142,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:42:36] local.INFO: Processing buffer {"connection_id":195142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:42:36] local.INFO: IMEI packet received {"connection_id":195142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":195142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:42:36] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:36] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:36] local.INFO: Packet analysis {"connection_id":192455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:36] local.INFO: Extracted packet for processing {"connection_id":192455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:42: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-25 16:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:42: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":895991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:36] local.INFO: GPS data processed {"connection_id":192455,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:36] local.INFO: Acknowledgment sent {"connection_id":192455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:36] local.INFO: TCP Data received {"connection_id":195142,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8444948012d0bf4000702a0a0001301121d..."} 
[2026-09-25 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8444948012d0bf4000702a0a0001301121d..."} 
[2026-09-25 16:42:36] local.INFO: Processing buffer {"connection_id":195142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8444948012d0bf4000702a0a0001301121d..."} 
[2026-09-25 16:42:36] local.INFO: Packet analysis {"connection_id":195142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:42:36] local.INFO: Extracted packet for processing {"connection_id":195142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":755758080,"raw_latitude":117612704,"longitude_deg":75.575808,"latitude_deg":11.7612704,"altitude":19,"angle":274,"satellites":29,"speed":10,"hex_longitude":"2d0bf400","hex_latitude":"0702a0a0","is_valid_coordinates":true} 
[2026-09-25 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325695232001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33907323692908544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861876408796887040,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:36] 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-25 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790334749000,"timestamp_ms":1790334749000,"timestamp_seconds":1790334749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8444948"} 
[2026-09-25 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:36] 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-25 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:36] 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-25 16:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325695232001,"66":14515,"37":206,"94":11008,"24":10,"16":33907323692908544,"45":861876408796887040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325695232001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33907323692908544,"km_value":33907323692908.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":861876408796887040,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325695232001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":861876408796887040}} 
[2026-09-25 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":195142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:36] local.INFO: GPS data processed {"connection_id":195142,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:36] local.INFO: Acknowledgment sent {"connection_id":195142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:42] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:42] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:42:42] local.INFO: Packet analysis {"connection_id":192455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:42] local.INFO: Extracted packet for processing {"connection_id":192455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:42:42] 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-25 16:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:42: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-25 16:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:42:42] 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":895993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:42:42] local.INFO: GPS data processed {"connection_id":192455,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:42:42] local.INFO: Acknowledgment sent {"connection_id":192455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:42:54] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:54] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:54] local.INFO: IMEI packet received {"connection_id":195143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":195143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:42:56] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:56] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:42:56] local.INFO: IMEI packet received {"connection_id":195143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":195143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:00] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:00] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:00] local.INFO: IMEI packet received {"connection_id":195143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":195143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:01] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d843a150012d18f4400720d918003c00882b..."} 
[2026-09-25 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d843a150012d18f4400720d918003c00882b..."} 
[2026-09-25 16:43:01] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d843a150012d18f4400720d918003c00882b..."} 
[2026-09-25 16:43:01] local.INFO: Packet analysis {"connection_id":195143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:01] local.INFO: Extracted packet for processing {"connection_id":195143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119593240,"longitude_deg":75.6610112,"latitude_deg":11.959324,"altitude":60,"angle":136,"satellites":43,"speed":39,"hex_longitude":"2d18f440","hex_latitude":"0720d918","is_valid_coordinates":true} 
[2026-09-25 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325683200001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22977907529875456,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007147571200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790334706000,"timestamp_ms":1790334706000,"timestamp_seconds":1790334706,"priority":1,"record_length":96,"hex_timestamp":"000001a0d843a150"} 
[2026-09-25 16:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:43: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-25 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325683200001,"66":14276,"103":206,"83":41984,"24":39,"16":22977907529875456,"45":1794403007147571200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325683200001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22977907529875456,"km_value":22977907529875.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007147571200,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325683200001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1794403007147571200}} 
[2026-09-25 16:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":195143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:01] local.INFO: GPS data processed {"connection_id":195143,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:01] local.INFO: Acknowledgment sent {"connection_id":195143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:05] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d843b0f0012d1900800720cf48003a007a2b..."} 
[2026-09-25 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d843b0f0012d1900800720cf48003a007a2b..."} 
[2026-09-25 16:43:05] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d843b0f0012d1900800720cf48003a007a2b..."} 
[2026-09-25 16:43:05] local.INFO: Packet analysis {"connection_id":195143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:05] local.INFO: Extracted packet for processing {"connection_id":195143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756613248,"raw_latitude":119590728,"longitude_deg":75.6613248,"latitude_deg":11.9590728,"altitude":58,"angle":122,"satellites":43,"speed":39,"hex_longitude":"2d190080","hex_latitude":"0720cf48","is_valid_coordinates":true} 
[2026-09-25 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-25 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325684736001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22978096508436480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550587717632,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334710000,"timestamp_ms":1790334710000,"timestamp_seconds":1790334710,"priority":1,"record_length":96,"hex_timestamp":"000001a0d843b0f0"} 
[2026-09-25 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-25 16:43:05] 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-25 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:05] 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-25 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-25 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-25 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325684736001,"66":14048,"103":206,"83":41984,"24":39,"16":22978096508436480,"45":1798132550587717632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325684736001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22978096508436480,"km_value":22978096508436.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550587717632,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325684736001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1798132550587717632}} 
[2026-09-25 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":195143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:05] local.INFO: GPS data processed {"connection_id":195143,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:05] local.INFO: Acknowledgment sent {"connection_id":195143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:05] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d843e7a0012d7b050005e357200009008a2b..."} 
[2026-09-25 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d843e7a0012d7b050005e357200009008a2b..."} 
[2026-09-25 16:43:05] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d843e7a0012d7b050005e357200009008a2b..."} 
[2026-09-25 16:43:05] local.INFO: Packet analysis {"connection_id":192456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:05] local.INFO: Extracted packet for processing {"connection_id":192456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98785056,"longitude_deg":76.3036928,"latitude_deg":9.8785056,"altitude":9,"angle":138,"satellites":43,"speed":11,"hex_longitude":"2d7b0500","hex_latitude":"05e35720","is_valid_coordinates":true} 
[2026-09-25 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-25 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325688832001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135876976945659904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372739072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334724000,"timestamp_ms":1790334724000,"timestamp_seconds":1790334724,"priority":1,"record_length":96,"hex_timestamp":"000001a0d843e7a0"} 
[2026-09-25 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-25 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325688832001,"66":13406,"208":206,"85":15104,"24":11,"16":135876976945659904,"45":8864069254372739072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325688832001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135876976945659904,"km_value":135876976945659.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372739072,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325688832001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864069254372739072}} 
[2026-09-25 16:43:05] 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":895996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:05] local.INFO: GPS data processed {"connection_id":192456,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:05] local.INFO: Acknowledgment sent {"connection_id":192456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:18] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:43:18] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:43:18] local.INFO: IMEI packet received {"connection_id":195144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":195144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:43:19] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:43:19] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:43:19] local.INFO: IMEI packet received {"connection_id":195144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":195144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:19] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:43:19] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 16:43:19] local.INFO: IMEI packet received {"connection_id":195144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":195144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:20] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8445118012d0bf1800702a1000014011e1d..."} 
[2026-09-25 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8445118012d0bf1800702a1000014011e1d..."} 
[2026-09-25 16:43:20] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 16:43:20] local.INFO: IMEI packet received {"connection_id":195144,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":195144,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:21] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8445cd0012d0bee000702a1a0001401131e..."} 
[2026-09-25 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8445cd0012d0bee000702a1a0001401131e..."} 
[2026-09-25 16:43:22] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d8445118012d0bf1800702a1000014011e1d..."} 
[2026-09-25 16:43:22] local.INFO: Packet analysis {"connection_id":195144,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: Extracted packet for processing {"connection_id":195144,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755757440,"raw_latitude":117612800,"longitude_deg":75.575744,"latitude_deg":11.76128,"altitude":20,"angle":286,"satellites":29,"speed":11,"hex_longitude":"2d0bf180","hex_latitude":"0702a100","is_valid_coordinates":true} 
[2026-09-25 16:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325695744001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33907353757679616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861313458843459584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43: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-25 16:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790334751000,"timestamp_ms":1790334751000,"timestamp_seconds":1790334751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8445118"} 
[2026-09-25 16: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-25 16:43: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-25 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:22] 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-25 16: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-25 16: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-25 16:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325695744001,"66":14407,"37":206,"94":11008,"24":11,"16":33907353757679616,"45":861313458843459584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325695744001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33907353757679616,"km_value":33907353757679.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":861313458843459584,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325695744001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":861313458843459584}} 
[2026-09-25 16:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":195144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895997,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:22] local.INFO: GPS data processed {"connection_id":195144,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:22] local.INFO: Acknowledgment sent {"connection_id":195144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:22] local.INFO: Packet analysis {"connection_id":195144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: Extracted packet for processing {"connection_id":195144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755756544,"raw_latitude":117612960,"longitude_deg":75.5756544,"latitude_deg":11.761296,"altitude":20,"angle":275,"satellites":30,"speed":10,"hex_longitude":"2d0bee00","hex_latitude":"0702a1a0","is_valid_coordinates":true} 
[2026-09-25 16:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325696256001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33907396707352576,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860609771401707520,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43: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-25 16:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790334754000,"timestamp_ms":1790334754000,"timestamp_seconds":1790334754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8445cd0"} 
[2026-09-25 16: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-25 16:43: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-25 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325696256001,"66":14352,"37":206,"94":11008,"24":10,"16":33907396707352576,"45":860609771401707520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325696256001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33907396707352576,"km_value":33907396707352.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":860609771401707520,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325696256001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":860609771401707520}} 
[2026-09-25 16:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":195144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:22] local.INFO: GPS data processed {"connection_id":195144,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:22] local.INFO: Acknowledgment sent {"connection_id":195144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:22] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8446888012d0beb400702a2000014011f1e..."} 
[2026-09-25 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8446888012d0beb400702a2000014011f1e..."} 
[2026-09-25 16:43:22] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8446888012d0beb400702a2000014011f1e..."} 
[2026-09-25 16:43:22] local.INFO: Packet analysis {"connection_id":195144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: Extracted packet for processing {"connection_id":195144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755755840,"raw_latitude":117613056,"longitude_deg":75.575584,"latitude_deg":11.7613056,"altitude":20,"angle":287,"satellites":30,"speed":7,"hex_longitude":"2d0beb40","hex_latitude":"0702a200","is_valid_coordinates":true} 
[2026-09-25 16:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325697024001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33907431067090944,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859624608983261184,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43: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-25 16:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790334757000,"timestamp_ms":1790334757000,"timestamp_seconds":1790334757,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8446888"} 
[2026-09-25 16: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-25 16:43: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-25 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2181038080,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628344864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504117010759680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926662949,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4093693275,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84737147097514662,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5630509338068480,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-198150675631701996,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,37,94,24,241,157,16,118,160,81,45,128,161,20,29,10,66,73,19,65,1,240,212,227,216,2,4,113,205,7,42,249,88,30,239,56,120,206,64,152,11],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-09-25 16:43:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441454375305871360,"timestamp_seconds":1441454375305871.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325697024001,"66":14026,"37":206,"94":11008,"24":7,"16":33907431067090944,"45":859624608983261184},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325697024001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33907431067090944,"km_value":33907431067090.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":859624608983261184,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325697024001,"power":14026,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":859624608983261184}} 
[2026-09-25 16:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":195144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":895999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:23] local.INFO: GPS data processed {"connection_id":195144,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:23] local.INFO: Acknowledgment sent {"connection_id":195144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:25] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:25] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:25] local.INFO: IMEI packet received {"connection_id":192458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":192458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:43:27] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:27] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:27] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:43:30] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:30] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:30] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:30] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:30] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:43:30] local.INFO: IMEI packet received {"connection_id":192458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:32] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:43:32] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:43:32] local.INFO: Packet analysis {"connection_id":192458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:43:32] local.INFO: Extracted packet for processing {"connection_id":192458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:43:32] 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-25 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:43:32] 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-25 16:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:43:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:43:32] 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":896000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:32] local.INFO: GPS data processed {"connection_id":192458,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:32] local.INFO: Acknowledgment sent {"connection_id":192458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:32] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:32] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:43:32] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:34] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84439a8012d7b07c005e354d8000900892b..."} 
[2026-09-25 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84439a8012d7b07c005e354d8000900892b..."} 
[2026-09-25 16:43:34] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84439a8012d7b07c005e354d8000900892b..."} 
[2026-09-25 16:43:34] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:34] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98784472,"longitude_deg":76.3037632,"latitude_deg":9.8784472,"altitude":9,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d7b07c0","hex_latitude":"05e354d8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325689344001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877024190300160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466837663744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334745000,"timestamp_ms":1790334745000,"timestamp_seconds":1790334745,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84439a8"} 
[2026-09-25 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-25 16:43:34] 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-25 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325689344001,"66":13798,"208":206,"85":15104,"24":0,"16":135877024190300160,"45":8864491466837663744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325689344001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877024190300160,"km_value":135877024190300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466837663744,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325689344001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8864491466837663744}} 
[2026-09-25 16:43:34] 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":896001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:34] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:34] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:36] local.INFO: TCP Data received {"connection_id":195143,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d843cc48012d191d000720c0380035006f2b..."} 
[2026-09-25 16:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d843cc48012d191d000720c0380035006f2b..."} 
[2026-09-25 16:43:36] local.INFO: Processing buffer {"connection_id":195143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d843cc48012d191d000720c0380035006f2b..."} 
[2026-09-25 16:43:36] local.INFO: Packet analysis {"connection_id":195143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:36] local.INFO: Extracted packet for processing {"connection_id":195143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d843"} 
[2026-09-25 16:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756620544,"raw_latitude":119586872,"longitude_deg":75.6620544,"latitude_deg":11.9586872,"altitude":53,"angle":111,"satellites":43,"speed":52,"hex_longitude":"2d191d00","hex_latitude":"0720c038","is_valid_coordinates":true} 
[2026-09-25 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325685760001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22978491645427712,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801580619051780096,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790334717000,"timestamp_ms":1790334717000,"timestamp_seconds":1790334717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d843cc48"} 
[2026-09-25 16:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:43:36] 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-25 16:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:36] 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-25 16:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325685760001,"66":14352,"103":206,"83":41984,"24":52,"16":22978491645427712,"45":1801580619051780096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325685760001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22978491645427712,"km_value":22978491645427.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801580619051780096,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325685760001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1801580619051780096}} 
[2026-09-25 16:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":195143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:36] local.INFO: GPS data processed {"connection_id":195143,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:36] local.INFO: Acknowledgment sent {"connection_id":195143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:54] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:54] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:54] local.INFO: IMEI packet received {"connection_id":192275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":192275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:43:56] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:56] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:56] local.INFO: IMEI packet received {"connection_id":192275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":192275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:43:57] local.INFO: TCP Data received {"connection_id":195144,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8453b78012d0bb70007029ff00011012d1d..."} 
[2026-09-25 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8453b78012d0bb70007029ff00011012d1d..."} 
[2026-09-25 16:43:57] local.INFO: Processing buffer {"connection_id":195144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8453b78012d0bb70007029ff00011012d1d..."} 
[2026-09-25 16:43:57] local.INFO: Packet analysis {"connection_id":195144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:43:57] local.INFO: Extracted packet for processing {"connection_id":195144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":755742464,"raw_latitude":117612528,"longitude_deg":75.5742464,"latitude_deg":11.7612528,"altitude":17,"angle":301,"satellites":29,"speed":20,"hex_longitude":"2d0bb700","hex_latitude":"07029ff0","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325711104001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33908088197087232,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845199016426612736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:43:57] 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-25 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790334811000,"timestamp_ms":1790334811000,"timestamp_seconds":1790334811,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8453b78"} 
[2026-09-25 16: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-25 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 16:43:57] 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-25 16: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-25 16: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-25 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195144,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325711104001,"66":14428,"37":206,"94":11008,"24":20,"16":33908088197087232,"45":845199016426612736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325711104001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33908088197087232,"km_value":33908088197087.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":845199016426612736,"description":"Unknown IO ID 45"} 
[2026-09-25 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325711104001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":845199016426612736}} 
[2026-09-25 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":195144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896003,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:43:57] local.INFO: GPS data processed {"connection_id":195144,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:43:57] local.INFO: Acknowledgment sent {"connection_id":195144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:43:59] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:59] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:43:59] local.INFO: IMEI packet received {"connection_id":192275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":192275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:44:00] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d844e588012d1989c00720b328003b011628..."} 
[2026-09-25 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d844e588012d1989c00720b328003b011628..."} 
[2026-09-25 16:44:00] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d844e588012d1989c00720b328003b011628..."} 
[2026-09-25 16:44:00] local.INFO: Packet analysis {"connection_id":192275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:00] local.INFO: Extracted packet for processing {"connection_id":192275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756648384,"raw_latitude":119583528,"longitude_deg":75.6648384,"latitude_deg":11.9583528,"altitude":59,"angle":278,"satellites":40,"speed":5,"hex_longitude":"2d1989c0","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-09-25 16:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325705472001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22979964819210240,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324360704,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44: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-25 16:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334789000,"timestamp_ms":1790334789000,"timestamp_seconds":1790334789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d844e588"} 
[2026-09-25 16:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:44:00] 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-25 16:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:00] 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-25 16:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325705472001,"66":13928,"103":206,"83":41984,"24":5,"16":22979964819210240,"45":1840564903324360704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325705472001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22979964819210240,"km_value":22979964819210.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324360704,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325705472001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1840564903324360704}} 
[2026-09-25 16:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":192275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:00] local.INFO: GPS data processed {"connection_id":192275,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:00] local.INFO: Acknowledgment sent {"connection_id":192275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:04] local.INFO: TCP Data received {"connection_id":192458,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:04] local.INFO: Processing buffer {"connection_id":192458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:04] local.INFO: Packet analysis {"connection_id":192458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:44:04] local.INFO: Extracted packet for processing {"connection_id":192458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44: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-25 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:44: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-25 16:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:44: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-25 16:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:44:04] 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":896005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:04] local.INFO: GPS data processed {"connection_id":192458,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:04] local.INFO: Acknowledgment sent {"connection_id":192458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:05] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8448bb0012d7b07c005e354d80009008929..."} 
[2026-09-25 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8448bb0012d7b07c005e354d80009008929..."} 
[2026-09-25 16:44:05] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8448bb0012d7b07c005e354d80009008929..."} 
[2026-09-25 16:44:05] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:05] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98784472,"longitude_deg":76.3037632,"latitude_deg":9.8784472,"altitude":9,"angle":137,"satellites":41,"speed":0,"hex_longitude":"2d7b07c0","hex_latitude":"05e354d8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325694720001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877024190300160,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523023468544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334766000,"timestamp_ms":1790334766000,"timestamp_seconds":1790334766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8448bb0"} 
[2026-09-25 16: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-25 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:05] 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-25 16: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-25 16: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-25 16:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325694720001,"66":13765,"208":206,"85":15104,"24":0,"16":135877024190300160,"45":8865265523023468544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325694720001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877024190300160,"km_value":135877024190300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523023468544,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325694720001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865265523023468544}} 
[2026-09-25 16:44:05] 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":896006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:05] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:05] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:14] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:14] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:14] local.INFO: IMEI packet received {"connection_id":192277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":192277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:44:17] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:17] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:17] local.INFO: IMEI packet received {"connection_id":192277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":192277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:44:23] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:23] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:44:23] local.INFO: IMEI packet received {"connection_id":192277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":192277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:44:23] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8454730012d0bb2000702a420001101421d..."} 
[2026-09-25 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8454730012d0bb2000702a420001101421d..."} 
[2026-09-25 16:44:23] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8454730012d0bb2000702a420001101421d..."} 
[2026-09-25 16:44:23] local.INFO: Packet analysis {"connection_id":192277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:23] local.INFO: Extracted packet for processing {"connection_id":192277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755741184,"raw_latitude":117613600,"longitude_deg":75.5741184,"latitude_deg":11.76136,"altitude":17,"angle":322,"satellites":29,"speed":21,"hex_longitude":"2d0bb200","hex_latitude":"0702a420","is_valid_coordinates":true} 
[2026-09-25 16:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325711616001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33908169801465856,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844143485264064512,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:23] 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-25 16:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790334814000,"timestamp_ms":1790334814000,"timestamp_seconds":1790334814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8454730"} 
[2026-09-25 16:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:44: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-25 16:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:44: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-25 16:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325711616001,"66":14374,"37":206,"94":11008,"24":21,"16":33908169801465856,"45":844143485264064512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325711616001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33908169801465856,"km_value":33908169801465.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":844143485264064512,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325711616001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":844143485264064512}} 
[2026-09-25 16:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":192277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:24] local.INFO: GPS data processed {"connection_id":192277,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:24] local.INFO: Acknowledgment sent {"connection_id":192277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:24] local.INFO: TCP Data received {"connection_id":195145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:24] local.INFO: Processing buffer {"connection_id":195145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:24] local.INFO: IMEI packet received {"connection_id":195145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":195145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:44:27] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:27] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:27] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:44:30] local.INFO: TCP Data received {"connection_id":195145,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:30] local.INFO: Processing buffer {"connection_id":195145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:44:30] local.INFO: IMEI packet received {"connection_id":195145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":195145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:44:31] local.INFO: TCP Data received {"connection_id":192275,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d844e970012d1989000720b328003a010b28..."} 
[2026-09-25 16:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d844e970012d1989000720b328003a010b28..."} 
[2026-09-25 16:44:31] local.INFO: Processing buffer {"connection_id":192275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d844e970012d1989000720b328003a010b28..."} 
[2026-09-25 16:44:31] local.INFO: Packet analysis {"connection_id":192275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:31] local.INFO: Extracted packet for processing {"connection_id":192275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d844"} 
[2026-09-25 16:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119583528,"longitude_deg":75.6648192,"latitude_deg":11.9583528,"altitude":58,"angle":267,"satellites":40,"speed":12,"hex_longitude":"2d198900","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325705984001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22979973409144832,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840213059603474432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44: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-25 16:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334790000,"timestamp_ms":1790334790000,"timestamp_seconds":1790334790,"priority":1,"record_length":96,"hex_timestamp":"000001a0d844e970"} 
[2026-09-25 16: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-25 16:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:31] 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-25 16: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-25 16: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-25 16:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325705984001,"66":13928,"103":206,"83":41984,"24":12,"16":22979973409144832,"45":1840213059603474432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325705984001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22979973409144832,"km_value":22979973409144.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840213059603474432,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325705984001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1840213059603474432}} 
[2026-09-25 16:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":192275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:32] local.INFO: GPS data processed {"connection_id":192275,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:32] local.INFO: Acknowledgment sent {"connection_id":192275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:32] local.INFO: TCP Data received {"connection_id":195145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:32] local.INFO: Processing buffer {"connection_id":195145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:44:32] local.INFO: Packet analysis {"connection_id":195145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:44:32] local.INFO: Extracted packet for processing {"connection_id":195145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:44:32] 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-25 16:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:44:32] 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-25 16:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":195145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:32] local.INFO: GPS data processed {"connection_id":195145,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:32] local.INFO: Acknowledgment sent {"connection_id":195145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:33] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:33] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:44:33] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:44:34] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d845fec8012d7b05c005e350a8000b01302d..."} 
[2026-09-25 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d845fec8012d7b05c005e350a8000b01302d..."} 
[2026-09-25 16:44:34] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d845fec8012d7b05c005e350a8000b01302d..."} 
[2026-09-25 16:44:34] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:34] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98783400,"longitude_deg":76.303712,"latitude_deg":9.87834,"altitude":11,"angle":304,"satellites":45,"speed":8,"hex_longitude":"2d7b05c0","hex_latitude":"05e350a8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325723904001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877118679580672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785534828544,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334861000,"timestamp_ms":1790334861000,"timestamp_seconds":1790334861,"priority":1,"record_length":96,"hex_timestamp":"000001a0d845fec8"} 
[2026-09-25 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-25 16:44:34] 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-25 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:34] 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-25 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-25 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-25 16:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325723904001,"66":13656,"208":206,"85":15104,"24":8,"16":135877118679580672,"45":8865124785534828544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325723904001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877118679580672,"km_value":135877118679580.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785534828544,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325723904001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865124785534828544}} 
[2026-09-25 16:44:34] 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":896010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:34] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:34] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:54] local.INFO: TCP Data received {"connection_id":195146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:54] local.INFO: Processing buffer {"connection_id":195146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:54] local.INFO: IMEI packet received {"connection_id":195146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":195146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:44:55] local.INFO: TCP Data received {"connection_id":192277,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8457228012d0baa800702aae00011010c1d..."} 
[2026-09-25 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8457228012d0baa800702aae00011010c1d..."} 
[2026-09-25 16:44:55] local.INFO: Processing buffer {"connection_id":192277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8457228012d0baa800702aae00011010c1d..."} 
[2026-09-25 16:44:55] local.INFO: Packet analysis {"connection_id":192277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:55] local.INFO: Extracted packet for processing {"connection_id":192277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755739264,"raw_latitude":117615328,"longitude_deg":75.5739264,"latitude_deg":11.7615328,"altitude":17,"angle":268,"satellites":29,"speed":6,"hex_longitude":"2d0baa80","hex_latitude":"0702aae0","is_valid_coordinates":true} 
[2026-09-25 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-25 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325712384001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33908298650484736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842736110380785664,"note":"Value kept but may cause issues"} 
[2026-09-25 16:44:55] 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-25 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790334825000,"timestamp_ms":1790334825000,"timestamp_seconds":1790334825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8457228"} 
[2026-09-25 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-25 16:44:55] 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-25 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 16:44:55] 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-25 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-25 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-25 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325712384001,"66":14548,"37":206,"94":11008,"24":6,"16":33908298650484736,"45":842736110380785664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-25 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325712384001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:44:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-25 16:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33908298650484736,"km_value":33908298650484.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":842736110380785664,"description":"Unknown IO ID 45"} 
[2026-09-25 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325712384001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":842736110380785664}} 
[2026-09-25 16:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":192277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:44:55] local.INFO: GPS data processed {"connection_id":192277,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:44:55] local.INFO: Acknowledgment sent {"connection_id":192277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:44:59] local.INFO: TCP Data received {"connection_id":195146,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:59] local.INFO: Processing buffer {"connection_id":195146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:44:59] local.INFO: IMEI packet received {"connection_id":195146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":195146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:00] local.INFO: TCP Data received {"connection_id":195146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84508b0012d1977400720af80003900fd2a..."} 
[2026-09-25 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84508b0012d1977400720af80003900fd2a..."} 
[2026-09-25 16:45:00] local.INFO: Processing buffer {"connection_id":195146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84508b0012d1977400720af80003900fd2a..."} 
[2026-09-25 16:45:00] local.INFO: Packet analysis {"connection_id":195146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:45:00] local.INFO: Extracted packet for processing {"connection_id":195146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756643648,"raw_latitude":119582592,"longitude_deg":75.6643648,"latitude_deg":11.9582592,"altitude":57,"angle":253,"satellites":42,"speed":29,"hex_longitude":"2d197740","hex_latitude":"0720af80","is_valid_coordinates":true} 
[2026-09-25 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325706240001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22980192452476928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370941440,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45: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-25 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334798000,"timestamp_ms":1790334798000,"timestamp_seconds":1790334798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84508b0"} 
[2026-09-25 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:45:00] 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-25 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:00] 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-25 16:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325706240001,"66":14298,"103":206,"83":41984,"24":29,"16":22980192452476928,"45":1840001953370941440},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325706240001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22980192452476928,"km_value":22980192452476.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370941440,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325706240001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1840001953370941440}} 
[2026-09-25 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":195146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:00] local.INFO: GPS data processed {"connection_id":195146,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:00] local.INFO: Acknowledgment sent {"connection_id":195146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:04] local.INFO: TCP Data received {"connection_id":195145,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:04] local.INFO: Processing buffer {"connection_id":195145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:04] local.INFO: Packet analysis {"connection_id":195145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:45:04] local.INFO: Extracted packet for processing {"connection_id":195145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16: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-25 16:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:45: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-25 16: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-25 16: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-25 16:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":195145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:04] local.INFO: GPS data processed {"connection_id":195145,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:04] local.INFO: Acknowledgment sent {"connection_id":195145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:06] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84602b0012d7b04c005e35150000b01462e..."} 
[2026-09-25 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84602b0012d7b04c005e35150000b01462e..."} 
[2026-09-25 16:45:06] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84602b0012d7b04c005e35150000b01462e..."} 
[2026-09-25 16:45:06] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:06] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98783568,"longitude_deg":76.3036864,"latitude_deg":9.8783568,"altitude":11,"angle":326,"satellites":46,"speed":11,"hex_longitude":"2d7b04c0","hex_latitude":"05e35150","is_valid_coordinates":true} 
[2026-09-25 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-25 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325724416001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877131564482560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573069772800,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790334862000,"timestamp_ms":1790334862000,"timestamp_seconds":1790334862,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84602b0"} 
[2026-09-25 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-25 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:06] 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-25 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-25 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-25 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325724416001,"66":13656,"208":206,"85":15104,"24":11,"16":135877131564482560,"45":8864702573069772800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325724416001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877131564482560,"km_value":135877131564482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573069772800,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325724416001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864702573069772800}} 
[2026-09-25 16:45:06] 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":896014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:06] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:06] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:15] local.INFO: TCP Data received {"connection_id":195147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:15] local.INFO: Processing buffer {"connection_id":195147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:15] local.INFO: IMEI packet received {"connection_id":195147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":195147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:45:17] local.INFO: TCP Data received {"connection_id":195147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:17] local.INFO: Processing buffer {"connection_id":195147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:17] local.INFO: IMEI packet received {"connection_id":195147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":195147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:18] local.INFO: TCP Data received {"connection_id":195147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:18] local.INFO: Processing buffer {"connection_id":195147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:18] local.INFO: IMEI packet received {"connection_id":195147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":195147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:19] local.INFO: TCP Data received {"connection_id":195147,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:19] local.INFO: Processing buffer {"connection_id":195147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:45:19] local.INFO: IMEI packet received {"connection_id":195147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":195147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:25] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:25] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:25] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:45:29] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:29] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:29] local.INFO: IMEI packet received {"connection_id":193835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":193835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:45:30] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:30] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:45:30] local.INFO: IMEI packet received {"connection_id":193834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:31] local.INFO: TCP Data received {"connection_id":195146,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84527f0012d195ec00720aa280037010a27..."} 
[2026-09-25 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84527f0012d195ec00720aa280037010a27..."} 
[2026-09-25 16:45:31] local.INFO: Processing buffer {"connection_id":195146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84527f0012d195ec00720aa280037010a27..."} 
[2026-09-25 16:45:31] local.INFO: Packet analysis {"connection_id":195146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:45:31] local.INFO: Extracted packet for processing {"connection_id":195146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d845"} 
[2026-09-25 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119581224,"longitude_deg":75.6637376,"latitude_deg":11.9581224,"altitude":55,"angle":266,"satellites":39,"speed":29,"hex_longitude":"2d195ec0","hex_latitude":"0720aa28","is_valid_coordinates":true} 
[2026-09-25 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325708288001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22980501690122240,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835005772534087680,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45: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-25 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334806000,"timestamp_ms":1790334806000,"timestamp_seconds":1790334806,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84527f0"} 
[2026-09-25 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:31] 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-25 16:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325708288001,"66":14265,"103":206,"83":41984,"24":29,"16":22980501690122240,"45":1835005772534087680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325708288001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22980501690122240,"km_value":22980501690122.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835005772534087680,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325708288001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1835005772534087680}} 
[2026-09-25 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":195146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:31] local.INFO: GPS data processed {"connection_id":195146,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:31] local.INFO: Acknowledgment sent {"connection_id":195146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:31] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:31] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:45:31] local.INFO: Packet analysis {"connection_id":193834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:45:31] local.INFO: Extracted packet for processing {"connection_id":193834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45: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-25 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:45:31] 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-25 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:31] 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-25 16:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:45: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-25 16:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":193834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:31] local.INFO: GPS data processed {"connection_id":193834,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:31] local.INFO: Acknowledgment sent {"connection_id":193834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:33] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:33] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:33] local.INFO: IMEI packet received {"connection_id":193835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":193835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:34] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:34] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:34] local.INFO: IMEI packet received {"connection_id":193835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":193835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:35] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:35] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:45:35] local.INFO: IMEI packet received {"connection_id":193835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":193835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:37] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8460698012d7b044005e35270000b01562e..."} 
[2026-09-25 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8460698012d7b044005e35270000b01562e..."} 
[2026-09-25 16:45:37] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8460698012d7b044005e35270000b01562e..."} 
[2026-09-25 16:45:37] local.INFO: Packet analysis {"connection_id":193835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:37] local.INFO: Extracted packet for processing {"connection_id":193835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98783856,"longitude_deg":76.3036736,"latitude_deg":9.8783856,"altitude":11,"angle":342,"satellites":46,"speed":13,"hex_longitude":"2d7b0440","hex_latitude":"05e35270","is_valid_coordinates":true} 
[2026-09-25 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325724672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877148744351744,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093105152,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790334863000,"timestamp_ms":1790334863000,"timestamp_seconds":1790334863,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8460698"} 
[2026-09-25 16:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:37] 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-25 16:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325724672001,"66":13656,"208":206,"85":15104,"24":13,"16":135877148744351744,"45":8864421098093105152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325724672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877148744351744,"km_value":135877148744351.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093105152,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325724672001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8864421098093105152}} 
[2026-09-25 16:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":193835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:37] local.INFO: GPS data processed {"connection_id":193835,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:37] local.INFO: Acknowledgment sent {"connection_id":193835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:38] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8464900012d7af88005e37598000b01582d..."} 
[2026-09-25 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8464900012d7af88005e37598000b01582d..."} 
[2026-09-25 16:45:38] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8464900012d7af88005e37598000b01582d..."} 
[2026-09-25 16:45:38] local.INFO: Packet analysis {"connection_id":193835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:38] local.INFO: Extracted packet for processing {"connection_id":193835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98792856,"longitude_deg":76.3033728,"latitude_deg":9.8792856,"altitude":11,"angle":344,"satellites":45,"speed":28,"hex_longitude":"2d7af880","hex_latitude":"05e37598","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325724928001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135877608305852416,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604823552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790334880000,"timestamp_ms":1790334880000,"timestamp_seconds":1790334880,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8464900"} 
[2026-09-25 16: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-25 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:38] 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-25 16: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-25 16: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-25 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325724928001,"66":13319,"208":206,"85":15104,"24":28,"16":135877608305852416,"45":8864280360604823552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325724928001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135877608305852416,"km_value":135877608305852.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604823552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325724928001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8864280360604823552}} 
[2026-09-25 16:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":193835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:39] local.INFO: GPS data processed {"connection_id":193835,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:39] local.INFO: Acknowledgment sent {"connection_id":193835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:44] local.INFO: TCP Data received {"connection_id":193833,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:45:44] local.INFO: Processing buffer {"connection_id":193833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:45:44] local.INFO: IMEI packet received {"connection_id":193833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":193833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:45:44] local.INFO: TCP Data received {"connection_id":193835,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8468b68012d7aed8005e39780000901572c..."} 
[2026-09-25 16:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8468b68012d7aed8005e39780000901572c..."} 
[2026-09-25 16:45:44] local.INFO: Processing buffer {"connection_id":193835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8468b68012d7aed8005e39780000901572c..."} 
[2026-09-25 16:45:44] local.INFO: Packet analysis {"connection_id":193835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:44] local.INFO: Extracted packet for processing {"connection_id":193835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763030912,"raw_latitude":98801536,"longitude_deg":76.3030912,"latitude_deg":9.8801536,"altitude":9,"angle":343,"satellites":44,"speed":17,"hex_longitude":"2d7aed80","hex_latitude":"05e39780","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325729280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135878050687483904,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860973029630777344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790334897000,"timestamp_ms":1790334897000,"timestamp_seconds":1790334897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8468b68"} 
[2026-09-25 16: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-25 16:45:44] 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-25 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2231369728,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628461864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5915478153514003968,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2147869520,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728671,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3145728000,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":-1776668758148333563,"note":"Value kept but may cause issues"} 
[2026-09-25 16:45:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,187,160,6,45,64,82,11,46,10,66,2,192,81,254,1,240,88,227,216,4,113,205,243,7,168,44,239,52,226,5,181,69],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-09-25 16:45:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793011959692525568,"timestamp_seconds":793011959692525.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":193835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":193835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325729280001,"66":13678,"208":206,"85":15104,"24":17,"16":135878050687483904,"45":8860973029630777344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325729280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:45:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135878050687483904,"km_value":135878050687483.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860973029630777344,"description":"Unknown IO ID 45"} 
[2026-09-25 16:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325729280001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8860973029630777344}} 
[2026-09-25 16:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":193835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:45:44] local.INFO: GPS data processed {"connection_id":193835,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:45:44] local.INFO: Acknowledgment sent {"connection_id":193835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:45:54] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:54] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:54] local.INFO: IMEI packet received {"connection_id":192461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":192461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:45:55] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:55] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:55] local.INFO: IMEI packet received {"connection_id":192461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":192461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:45:59] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:59] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:45:59] local.INFO: IMEI packet received {"connection_id":192461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":192461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:46:00] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:00] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:00] local.INFO: Packet analysis {"connection_id":192461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:00] local.INFO: Extracted packet for processing {"connection_id":192461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602584,"longitude_deg":75.6602624,"latitude_deg":11.9602584,"altitude":61,"angle":334,"satellites":41,"speed":8,"hex_longitude":"2d18d700","hex_latitude":"0720fd98","is_valid_coordinates":true} 
[2026-09-25 16:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325731584001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22982631993901056,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521347584,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46: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-25 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790334910000,"timestamp_ms":1790334910000,"timestamp_seconds":1790334910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d846be30"} 
[2026-09-25 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:46:00] 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-25 16:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325731584001,"66":14341,"103":206,"83":41984,"24":8,"16":22982631993901056,"45":1789899407521347584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325731584001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22982631993901056,"km_value":22982631993901.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521347584,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325731584001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1789899407521347584}} 
[2026-09-25 16:46:00] 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":896020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:00] local.INFO: GPS data processed {"connection_id":192461,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:00] local.INFO: Acknowledgment sent {"connection_id":192461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:03] local.INFO: TCP Data received {"connection_id":193834,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:03] local.INFO: Processing buffer {"connection_id":193834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:03] local.INFO: Packet analysis {"connection_id":193834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:46:03] local.INFO: Extracted packet for processing {"connection_id":193834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46: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-25 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:46:03] 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-25 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:03] 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-25 16:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:46: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-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":193834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:03] local.INFO: GPS data processed {"connection_id":193834,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:03] local.INFO: Acknowledgment sent {"connection_id":193834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:03] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:03] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:03] local.INFO: IMEI packet received {"connection_id":192278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":192278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:46:09] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:09] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:46:09] local.INFO: IMEI packet received {"connection_id":192278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 16:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":192278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:46:11] local.INFO: TCP Data received {"connection_id":192278,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8332690012d34c3c006aa4b40000a010f28..."} 
[2026-09-25 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8332690012d34c3c006aa4b40000a010f28..."} 
[2026-09-25 16:46:11] local.INFO: Processing buffer {"connection_id":192278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8332690012d34c3c006aa4b40000a010f28..."} 
[2026-09-25 16:46:11] local.INFO: Packet analysis {"connection_id":192278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:46:11] local.INFO: Extracted packet for processing {"connection_id":192278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d833"} 
[2026-09-25 16:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823680,"longitude_deg":75.8432704,"latitude_deg":11.182368,"altitude":10,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4b40","is_valid_coordinates":true} 
[2026-09-25 16:46:11] 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-25 16:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325404672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608279334780928,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290225664,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790333626000,"timestamp_ms":1790333626000,"timestamp_seconds":1790333626,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8332690"} 
[2026-09-25 16: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-25 16:46: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-25 16: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:11] 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-25 16: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-25 16: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-25 16:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 16:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 16:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 16:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 16:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325404672001,"66":28452,"97":206,"81":23296,"24":0,"16":3608279334780928,"45":3802093645290225664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 16:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 16:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325404672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608279334780928,"km_value":3608279334780.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290225664,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325404672001,"power":28452,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290225664}} 
[2026-09-25 16:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":192278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:11] local.INFO: GPS data processed {"connection_id":192278,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:11] local.INFO: Acknowledgment sent {"connection_id":192278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:25] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:25] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:25] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:46:28] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:28] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:28] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:46:30] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:30] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:46:30] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:46:31] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:31] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d842d630012d34c14006aa4908000c006e2b..."} 
[2026-09-25 16:46:31] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:46:31] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d842"} 
[2026-09-25 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325594368001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46: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-25 16:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334654000,"timestamp_ms":1790334654000,"timestamp_seconds":1790334654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d842d630"} 
[2026-09-25 16:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:46:31] 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-25 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:31] 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-25 16:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:46:31] 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-25 16:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325594368001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325594368001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:46: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-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325594368001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:46:31] 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":896023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:31] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:31] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:31] local.INFO: TCP Data received {"connection_id":192461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:31] local.INFO: Processing buffer {"connection_id":192461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d846be30012d18d7000720fd98003d014e29..."} 
[2026-09-25 16:46:31] local.INFO: Packet analysis {"connection_id":192461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:31] local.INFO: Extracted packet for processing {"connection_id":192461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602584,"longitude_deg":75.6602624,"latitude_deg":11.9602584,"altitude":61,"angle":334,"satellites":41,"speed":8,"hex_longitude":"2d18d700","hex_latitude":"0720fd98","is_valid_coordinates":true} 
[2026-09-25 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325736960001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22982631993901056,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521323008,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46: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-25 16:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334910000,"timestamp_ms":1790334910000,"timestamp_seconds":1790334910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d846be30"} 
[2026-09-25 16:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":13793537283855616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628457864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950298513408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3778543675,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221692633,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2784493568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84751659792015545,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,166,160,108,45,253,61,42,10,66,73,128,254,63,49,1,240,196,227,216,32,4,113,205,34,6,243,239,54,2,81,7,53,30,206,168],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 16:46:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395880649291464704,"timestamp_seconds":4395880649291464.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325736960001,"66":14341,"103":206,"83":41984,"24":8,"16":22982631993901056,"45":1789899407521323008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 16:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325736960001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22982631993901056,"km_value":22982631993901.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521323008,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325736960001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1789899407521323008}} 
[2026-09-25 16:46:31] 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":896024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:31] local.INFO: GPS data processed {"connection_id":192461,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:31] local.INFO: Acknowledgment sent {"connection_id":192461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:33] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:33] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:46:33] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:46:34] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d846ba48012d7ae3c005e3ba10000b01582c..."} 
[2026-09-25 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d846ba48012d7ae3c005e3ba10000b01582c..."} 
[2026-09-25 16:46:34] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d846ba48012d7ae3c005e3ba10000b01582c..."} 
[2026-09-25 16:46:34] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:34] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763028416,"raw_latitude":98810384,"longitude_deg":76.3028416,"latitude_deg":9.8810384,"altitude":11,"angle":344,"satellites":44,"speed":36,"hex_longitude":"2d7ae3c0","hex_latitude":"05e3ba10","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325733632001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135878497364082688,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857876804889182208,"note":"Value kept but may cause issues"} 
[2026-09-25 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334909000,"timestamp_ms":1790334909000,"timestamp_seconds":1790334909,"priority":1,"record_length":96,"hex_timestamp":"000001a0d846ba48"} 
[2026-09-25 16: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-25 16:46:34] 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-25 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:46:34] 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-25 16: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-25 16: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-25 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325733632001,"66":13678,"208":206,"85":15104,"24":36,"16":135878497364082688,"45":8857876804889182208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325733632001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135878497364082688,"km_value":135878497364082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857876804889182208,"description":"Unknown IO ID 45"} 
[2026-09-25 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325733632001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8857876804889182208}} 
[2026-09-25 16:46:34] 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":896025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:46:34] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:46:34] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:46:59] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:46:59] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:46:59] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:47:00] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:00] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:00] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:47:01] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8478d38012d18a5c007217400004a012129..."} 
[2026-09-25 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8478d38012d18a5c007217400004a012129..."} 
[2026-09-25 16:47:01] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8478d38012d18a5c007217400004a012129..."} 
[2026-09-25 16:47:01] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:01] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119632896,"longitude_deg":75.6590016,"latitude_deg":11.9632896,"altitude":74,"angle":289,"satellites":41,"speed":29,"hex_longitude":"2d18a5c0","hex_latitude":"07217400","is_valid_coordinates":true} 
[2026-09-25 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325750016001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984285556310016,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553656320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790334963000,"timestamp_ms":1790334963000,"timestamp_seconds":1790334963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8478d38"} 
[2026-09-25 16:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325750016001,"66":13852,"106":206,"83":41984,"24":29,"16":22984285556310016,"45":1777514508553656320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325750016001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984285556310016,"km_value":22984285556310.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553656320,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325750016001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777514508553656320}} 
[2026-09-25 16:47:01] 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":896026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:01] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:01] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:02] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847c000012d18844007218068004b011b29..."} 
[2026-09-25 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847c000012d18844007218068004b011b29..."} 
[2026-09-25 16:47:02] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847c000012d18844007218068004b011b29..."} 
[2026-09-25 16:47:02] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:02] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":756581440,"raw_latitude":119636072,"longitude_deg":75.658144,"latitude_deg":11.9636072,"altitude":75,"angle":283,"satellites":41,"speed":21,"hex_longitude":"2d188440","hex_latitude":"07218068","is_valid_coordinates":true} 
[2026-09-25 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325750528001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984723642974208,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764926083072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:02] 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-25 16:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334976000,"timestamp_ms":1790334976000,"timestamp_seconds":1790334976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847c000"} 
[2026-09-25 16:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:47:02] 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-25 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:02] 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-25 16:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325750528001,"66":14070,"106":206,"83":41984,"24":21,"16":22984723642974208,"45":1776036764926083072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325750528001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984723642974208,"km_value":22984723642974.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764926083072,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325750528001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1776036764926083072}} 
[2026-09-25 16:47:02] 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":896027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:02] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:02] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:03] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:03] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:03] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:03] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47: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-25 16:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:47:03] 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-25 16:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:47: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-25 16:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:47:03] 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":896028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:03] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:03] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:04] local.INFO: TCP Data received {"connection_id":195150,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:47:04] local.INFO: Processing buffer {"connection_id":195150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:47:04] local.INFO: IMEI packet received {"connection_id":195150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":195150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:47:07] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d846dd70012d7ad94005e3de38000c01582c..."} 
[2026-09-25 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d846dd70012d7ad94005e3de38000c01582c..."} 
[2026-09-25 16:47:07] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d846dd70012d7ad94005e3de38000c01582c..."} 
[2026-09-25 16:47:07] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:47:07] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d846"} 
[2026-09-25 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":763025728,"raw_latitude":98819640,"longitude_deg":76.3025728,"latitude_deg":9.881964,"altitude":12,"angle":344,"satellites":44,"speed":44,"hex_longitude":"2d7ad940","hex_latitude":"05e3de38","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325736704001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135878965515517952,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855132423868518400,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790334918000,"timestamp_ms":1790334918000,"timestamp_seconds":1790334918,"priority":1,"record_length":96,"hex_timestamp":"000001a0d846dd70"} 
[2026-09-25 16: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-25 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325736704001,"66":13504,"208":206,"85":15104,"24":44,"16":135878965515517952,"45":8855132423868518400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325736704001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135878965515517952,"km_value":135878965515517.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855132423868518400,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325736704001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8855132423868518400}} 
[2026-09-25 16:47:07] 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":896029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:07] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:07] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:25] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:25] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:25] local.INFO: IMEI packet received {"connection_id":192279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":192279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:47:28] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:28] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:28] local.INFO: IMEI packet received {"connection_id":192465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":192465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:47:30] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:30] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:47:30] local.INFO: IMEI packet received {"connection_id":192279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:47:31] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:31] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:47:31] local.INFO: Packet analysis {"connection_id":192279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:31] local.INFO: Extracted packet for processing {"connection_id":192279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47: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-25 16:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:47:31] 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-25 16:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:47: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-25 16:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":192279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:31] local.INFO: GPS data processed {"connection_id":192279,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:31] local.INFO: Acknowledgment sent {"connection_id":192279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:33] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:33] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:47:33] local.INFO: IMEI packet received {"connection_id":192465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":192465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:47:33] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847d770012d18794007218188004c010a2b..."} 
[2026-09-25 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847d770012d18794007218188004c010a2b..."} 
[2026-09-25 16:47:33] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847d770012d18794007218188004c010a2b..."} 
[2026-09-25 16:47:33] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:33] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756578624,"raw_latitude":119636360,"longitude_deg":75.6578624,"latitude_deg":11.963636,"altitude":76,"angle":266,"satellites":43,"speed":17,"hex_longitude":"2d187940","hex_latitude":"07218188","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325753856001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984856786960384,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207089152,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:33] 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-25 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790334982000,"timestamp_ms":1790334982000,"timestamp_seconds":1790334982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847d770"} 
[2026-09-25 16: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-25 16:47:33] 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-25 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:33] 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-25 16: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-25 16: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-25 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325753856001,"66":14428,"106":206,"83":41984,"24":17,"16":22984856786960384,"45":1766607353207089152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325753856001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984856786960384,"km_value":22984856786960.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207089152,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325753856001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1766607353207089152}} 
[2026-09-25 16:47:33] 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":896031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:33] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:33] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:34] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8470480012d7ad14005e402e8000b015e2a..."} 
[2026-09-25 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8470480012d7ad14005e402e8000b015e2a..."} 
[2026-09-25 16:47:34] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8470480012d7ad14005e402e8000b015e2a..."} 
[2026-09-25 16:47:34] local.INFO: Packet analysis {"connection_id":192465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:34] local.INFO: Extracted packet for processing {"connection_id":192465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763023680,"raw_latitude":98829032,"longitude_deg":76.302368,"latitude_deg":9.8829032,"altitude":11,"angle":350,"satellites":42,"speed":31,"hex_longitude":"2d7ad140","hex_latitude":"05e402e8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325739008001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135879429371985920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852176936615426048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334928000,"timestamp_ms":1790334928000,"timestamp_seconds":1790334928,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8470480"} 
[2026-09-25 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-25 16:47:34] 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-25 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325739008001,"66":13428,"208":206,"85":15104,"24":31,"16":135879429371985920,"45":8852176936615426048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325739008001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135879429371985920,"km_value":135879429371985.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852176936615426048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325739008001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8852176936615426048}} 
[2026-09-25 16:47:34] 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":896032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:34] local.INFO: GPS data processed {"connection_id":192465,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:34] local.INFO: Acknowledgment sent {"connection_id":192465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:54] local.INFO: TCP Data received {"connection_id":193836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:54] local.INFO: Processing buffer {"connection_id":193836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:54] local.INFO: IMEI packet received {"connection_id":193836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":193836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:47:55] local.INFO: TCP Data received {"connection_id":193836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:55] local.INFO: Processing buffer {"connection_id":193836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:47:55] local.INFO: IMEI packet received {"connection_id":193836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":193836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:47:56] local.INFO: TCP Data received {"connection_id":193836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847df40012d1876c007218130004d00fc2b..."} 
[2026-09-25 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847df40012d1876c007218130004d00fc2b..."} 
[2026-09-25 16:47:56] local.INFO: Processing buffer {"connection_id":193836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847df40012d1876c007218130004d00fc2b..."} 
[2026-09-25 16:47:56] local.INFO: Packet analysis {"connection_id":193836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:56] local.INFO: Extracted packet for processing {"connection_id":193836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636272,"longitude_deg":75.6577984,"latitude_deg":11.9636272,"altitude":77,"angle":252,"satellites":43,"speed":8,"hex_longitude":"2d1876c0","hex_latitude":"07218130","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755392001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984886851731456,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763511128463345664,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:56] 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-25 16:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790334984000,"timestamp_ms":1790334984000,"timestamp_seconds":1790334984,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847df40"} 
[2026-09-25 16: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-25 16:47:56] 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-25 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:47: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-25 16: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-25 16: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-25 16:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755392001,"66":14363,"106":206,"83":41984,"24":8,"16":22984886851731456,"45":1763511128463345664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755392001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984886851731456,"km_value":22984886851731.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763511128463345664,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755392001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1763511128463345664}} 
[2026-09-25 16:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":193836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:47:56] local.INFO: GPS data processed {"connection_id":193836,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:47:56] local.INFO: Acknowledgment sent {"connection_id":193836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:47:59] local.INFO: TCP Data received {"connection_id":193836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8483148012d18754007218130004d01062a..."} 
[2026-09-25 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8483148012d18754007218130004d01062a..."} 
[2026-09-25 16:47:59] local.INFO: Processing buffer {"connection_id":193836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8483148012d18754007218130004d01062a..."} 
[2026-09-25 16:47:59] local.INFO: Packet analysis {"connection_id":193836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:47:59] local.INFO: Extracted packet for processing {"connection_id":193836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636272,"longitude_deg":75.65776,"latitude_deg":11.9636272,"altitude":77,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d187540","hex_latitude":"07218130","is_valid_coordinates":true} 
[2026-09-25 16:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755904001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984904031600640,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021546496,"note":"Value kept but may cause issues"} 
[2026-09-25 16:47:59] 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-25 16:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790335005000,"timestamp_ms":1790335005000,"timestamp_seconds":1790335005,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8483148"} 
[2026-09-25 16:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:47:59] 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-25 16:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 16:47:59] 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-25 16:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755904001,"66":14048,"106":206,"83":41984,"24":0,"16":22984904031600640,"45":1762807441021546496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755904001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984904031600640,"km_value":22984904031600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021546496,"description":"Unknown IO ID 45"} 
[2026-09-25 16:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755904001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762807441021546496}} 
[2026-09-25 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":193836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:00] local.INFO: GPS data processed {"connection_id":193836,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:00] local.INFO: Acknowledgment sent {"connection_id":193836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:03] local.INFO: TCP Data received {"connection_id":192279,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:03] local.INFO: Processing buffer {"connection_id":192279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:03] local.INFO: Packet analysis {"connection_id":192279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:03] local.INFO: Extracted packet for processing {"connection_id":192279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48: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-25 16:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:48:03] 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-25 16:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:48: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-25 16:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":192279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:04] local.INFO: GPS data processed {"connection_id":192279,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:04] local.INFO: Acknowledgment sent {"connection_id":192279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:05] local.INFO: TCP Data received {"connection_id":192465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8471038012d7acf4005e40bc8000b01532b..."} 
[2026-09-25 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8471038012d7acf4005e40bc8000b01532b..."} 
[2026-09-25 16:48:05] local.INFO: Processing buffer {"connection_id":192465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8471038012d7acf4005e40bc8000b01532b..."} 
[2026-09-25 16:48:05] local.INFO: Packet analysis {"connection_id":192465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:05] local.INFO: Extracted packet for processing {"connection_id":192465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763023168,"raw_latitude":98831304,"longitude_deg":76.3023168,"latitude_deg":9.8831304,"altitude":11,"angle":339,"satellites":43,"speed":27,"hex_longitude":"2d7acf40","hex_latitude":"05e40bc8","is_valid_coordinates":true} 
[2026-09-25 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325741568001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135879541041135616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849925136804145152,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790334931000,"timestamp_ms":1790334931000,"timestamp_seconds":1790334931,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8471038"} 
[2026-09-25 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325741568001,"66":13428,"208":206,"85":15104,"24":27,"16":135879541041135616,"45":8849925136804145152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325741568001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135879541041135616,"km_value":135879541041135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849925136804145152,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325741568001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8849925136804145152}} 
[2026-09-25 16:48:06] 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":896036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:06] local.INFO: GPS data processed {"connection_id":192465,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:06] local.INFO: Acknowledgment sent {"connection_id":192465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:25] local.INFO: TCP Data received {"connection_id":195154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:25] local.INFO: Processing buffer {"connection_id":195154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:25] local.INFO: IMEI packet received {"connection_id":195154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":195154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:48:27] local.INFO: TCP Data received {"connection_id":195155,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:27] local.INFO: Processing buffer {"connection_id":195155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:27] local.INFO: IMEI packet received {"connection_id":195155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":195155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:48:30] local.INFO: TCP Data received {"connection_id":195154,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:30] local.INFO: Processing buffer {"connection_id":195154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:48:30] local.INFO: IMEI packet received {"connection_id":195154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":195154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:48:31] local.INFO: TCP Data received {"connection_id":193836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8488350012d18754007218130004d010629..."} 
[2026-09-25 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8488350012d18754007218130004d010629..."} 
[2026-09-25 16:48:31] local.INFO: Processing buffer {"connection_id":193836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8488350012d18754007218130004d010629..."} 
[2026-09-25 16:48:31] local.INFO: Packet analysis {"connection_id":193836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:48:31] local.INFO: Extracted packet for processing {"connection_id":193836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756577600,"raw_latitude":119636272,"longitude_deg":75.65776,"latitude_deg":11.9636272,"altitude":77,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d187540","hex_latitude":"07218130","is_valid_coordinates":true} 
[2026-09-25 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325761280001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984904031600640,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762385228556480512,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:31] 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-25 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335026000,"timestamp_ms":1790335026000,"timestamp_seconds":1790335026,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8488350"} 
[2026-09-25 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:31] 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-25 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325761280001,"66":14428,"106":206,"83":41984,"24":0,"16":22984904031600640,"45":1762385228556480512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325761280001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984904031600640,"km_value":22984904031600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762385228556480512,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325761280001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762385228556480512}} 
[2026-09-25 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":193836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:31] local.INFO: GPS data processed {"connection_id":193836,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:31] local.INFO: Acknowledgment sent {"connection_id":193836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:31] local.INFO: TCP Data received {"connection_id":195154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:31] local.INFO: Processing buffer {"connection_id":195154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:48:31] local.INFO: Packet analysis {"connection_id":195154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:31] local.INFO: Extracted packet for processing {"connection_id":195154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48: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-25 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:48: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-25 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:48: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-25 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":195154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:31] local.INFO: GPS data processed {"connection_id":195154,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:31] local.INFO: Acknowledgment sent {"connection_id":195154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:33] local.INFO: TCP Data received {"connection_id":195155,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:33] local.INFO: Processing buffer {"connection_id":195155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:48:33] local.INFO: IMEI packet received {"connection_id":195155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":195155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:48:34] local.INFO: TCP Data received {"connection_id":195155,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8471808012d7accc005e41010000b01442b..."} 
[2026-09-25 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8471808012d7accc005e41010000b01442b..."} 
[2026-09-25 16:48:34] local.INFO: Processing buffer {"connection_id":195155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8471808012d7accc005e41010000b01442b..."} 
[2026-09-25 16:48:34] local.INFO: Packet analysis {"connection_id":195155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:34] local.INFO: Extracted packet for processing {"connection_id":195155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832400,"longitude_deg":76.3022528,"latitude_deg":9.88324,"altitude":11,"angle":324,"satellites":43,"speed":22,"hex_longitude":"2d7accc0","hex_latitude":"05e41010","is_valid_coordinates":true} 
[2026-09-25 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-25 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325742336001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135879605465645056,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849362186851305472,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334933000,"timestamp_ms":1790334933000,"timestamp_seconds":1790334933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8471808"} 
[2026-09-25 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-25 16:48:34] 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-25 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325742336001,"66":13124,"208":206,"85":15104,"24":22,"16":135879605465645056,"45":8849362186851305472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325742336001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135879605465645056,"km_value":135879605465645.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849362186851305472,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325742336001,"power":13124,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8849362186851305472}} 
[2026-09-25 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":195155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:34] local.INFO: GPS data processed {"connection_id":195155,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:34] local.INFO: Acknowledgment sent {"connection_id":195155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:48:54] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:54] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:54] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:48:56] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:56] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:48:56] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:48:56] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8488b20012d187380072181c8004f011629..."} 
[2026-09-25 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8488b20012d187380072181c8004f011629..."} 
[2026-09-25 16:48:56] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8488b20012d187380072181c8004f011629..."} 
[2026-09-25 16:48:56] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:48:56] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636424,"longitude_deg":75.6577152,"latitude_deg":11.9636424,"altitude":79,"angle":278,"satellites":41,"speed":5,"hex_longitude":"2d187380","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325766656001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22984929801404416,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762385228556480512,"note":"Value kept but may cause issues"} 
[2026-09-25 16:48:57] 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-25 16:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790335028000,"timestamp_ms":1790335028000,"timestamp_seconds":1790335028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8488b20"} 
[2026-09-25 16:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 16:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325766656001,"66":14341,"106":206,"83":41984,"24":5,"16":22984929801404416,"45":1762385228556480512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 16:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325766656001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:48:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 16:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22984929801404416,"km_value":22984929801404.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762385228556480512,"description":"Unknown IO ID 45"} 
[2026-09-25 16:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325766656001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1762385228556480512}} 
[2026-09-25 16:48:57] 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":896040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:48:57] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:48:57] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:02] local.INFO: TCP Data received {"connection_id":195154,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:02] local.INFO: Processing buffer {"connection_id":195154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:02] local.INFO: Packet analysis {"connection_id":195154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:02] local.INFO: Extracted packet for processing {"connection_id":195154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49: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-25 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:49: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-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":195154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:49:02] local.INFO: GPS data processed {"connection_id":195154,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:49:02] local.INFO: Acknowledgment sent {"connection_id":195154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:06] local.INFO: TCP Data received {"connection_id":195155,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8473360012d7ac1c005e41bb8000a01392c..."} 
[2026-09-25 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8473360012d7ac1c005e41bb8000a01392c..."} 
[2026-09-25 16:49:06] local.INFO: Processing buffer {"connection_id":195155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8473360012d7ac1c005e41bb8000a01392c..."} 
[2026-09-25 16:49:06] local.INFO: Packet analysis {"connection_id":195155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:06] local.INFO: Extracted packet for processing {"connection_id":195155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763019712,"raw_latitude":98835384,"longitude_deg":76.3019712,"latitude_deg":9.8835384,"altitude":10,"angle":313,"satellites":44,"speed":25,"hex_longitude":"2d7ac1c0","hex_latitude":"05e41bb8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325742848001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135879803034140672,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409809408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790334940000,"timestamp_ms":1790334940000,"timestamp_seconds":1790334940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8473360"} 
[2026-09-25 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-25 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-25 16:49:06] 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-25 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-25 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-25 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325742848001,"66":13624,"208":206,"85":15104,"24":25,"16":135879803034140672,"45":8848658499409809408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325742848001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:49:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135879803034140672,"km_value":135879803034140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409809408,"description":"Unknown IO ID 45"} 
[2026-09-25 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325742848001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8848658499409809408}} 
[2026-09-25 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":195155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:49:06] local.INFO: GPS data processed {"connection_id":195155,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:49:06] local.INFO: Acknowledgment sent {"connection_id":195155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:25] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:25] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:25] local.INFO: IMEI packet received {"connection_id":193839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":193839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:49:27] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:27] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:27] local.INFO: IMEI packet received {"connection_id":192280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":192280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:49:27] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d848ae48012d18624007218280004f01212a..."} 
[2026-09-25 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d848ae48012d18624007218280004f01212a..."} 
[2026-09-25 16:49:27] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d848ae48012d18624007218280004f01212a..."} 
[2026-09-25 16:49:27] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:49:27] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d848"} 
[2026-09-25 16:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756572736,"raw_latitude":119636608,"longitude_deg":75.6572736,"latitude_deg":11.9636608,"altitude":79,"angle":289,"satellites":42,"speed":31,"hex_longitude":"2d186240","hex_latitude":"07218280","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325767168001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22985140254801920,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761892647347275776,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49: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-25 16:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790335037000,"timestamp_ms":1790335037000,"timestamp_seconds":1790335037,"priority":1,"record_length":96,"hex_timestamp":"000001a0d848ae48"} 
[2026-09-25 16: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-25 16:49:27] 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-25 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993495941,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628567864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950339735552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2173173836,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751090708849009,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2826698752,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.WARNING: Large IO value detected {"io_id":152,"raw_value":20830450356329216,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,168,160,131,45,64,129,77,41,10,66,49,42,223,192,1,240,27,227,216,33,4,113,205,17,132,104,239,54,2,81,7,74,29,206,152],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-25 16:49:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692855769322815488,"timestamp_seconds":5692855769322815.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325767168001,"66":13972,"105":206,"83":41984,"24":31,"16":22985140254801920,"45":1761892647347275776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325767168001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:49:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22985140254801920,"km_value":22985140254801.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761892647347275776,"description":"Unknown IO ID 45"} 
[2026-09-25 16:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325767168001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1761892647347275776}} 
[2026-09-25 16:49:27] 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":896043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:49:27] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:49:27] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:30] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:30] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:49:30] local.INFO: IMEI packet received {"connection_id":193839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":193839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:49:30] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:30] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:49:30] local.INFO: Packet analysis {"connection_id":193839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:30] local.INFO: Extracted packet for processing {"connection_id":193839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:49:30] 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":896044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:49:30] local.INFO: GPS data processed {"connection_id":193839,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:49:30] local.INFO: Acknowledgment sent {"connection_id":193839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:33] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:33] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:49:33] local.INFO: IMEI packet received {"connection_id":192280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:49:34] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476a10012d7aa7c005e43408000901352d..."} 
[2026-09-25 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476a10012d7aa7c005e43408000901352d..."} 
[2026-09-25 16:49:34] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476a10012d7aa7c005e43408000901352d..."} 
[2026-09-25 16:49:34] local.INFO: Packet analysis {"connection_id":192280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:34] local.INFO: Extracted packet for processing {"connection_id":192280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":763013056,"raw_latitude":98841608,"longitude_deg":76.3013056,"latitude_deg":9.8841608,"altitude":9,"angle":309,"satellites":45,"speed":24,"hex_longitude":"2d7aa7c0","hex_latitude":"05e43408","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325744640001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880241120804864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845562274666756096,"note":"Value kept but may cause issues"} 
[2026-09-25 16:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790334954000,"timestamp_ms":1790334954000,"timestamp_seconds":1790334954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476a10"} 
[2026-09-25 16: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-25 16:49:34] 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-25 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 16:49:34] 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-25 16: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-25 16: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-25 16:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325744640001,"66":13417,"208":206,"85":15104,"24":24,"16":135880241120804864,"45":8845562274666756096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 16:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325744640001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:49:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 16:49:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 16:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880241120804864,"km_value":135880241120804.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845562274666756096,"description":"Unknown IO ID 45"} 
[2026-09-25 16:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325744640001,"power":13417,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8845562274666756096}} 
[2026-09-25 16:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":192280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:49:34] local.INFO: GPS data processed {"connection_id":192280,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:49:34] local.INFO: Acknowledgment sent {"connection_id":192280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:49:54] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:54] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:54] local.INFO: IMEI packet received {"connection_id":192281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":192281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:49:59] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:59] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:49:59] local.INFO: IMEI packet received {"connection_id":192281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":192281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:50:00] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d849d728012d1821000721b190004b014e2b..."} 
[2026-09-25 16:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d849d728012d1821000721b190004b014e2b..."} 
[2026-09-25 16:50:00] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d849d728012d1821000721b190004b014e2b..."} 
[2026-09-25 16:50:00] local.INFO: Packet analysis {"connection_id":192281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d849"} 
[2026-09-25 16:50:00] local.INFO: Extracted packet for processing {"connection_id":192281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d849"} 
[2026-09-25 16:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648656,"longitude_deg":75.6556032,"latitude_deg":11.9648656,"altitude":75,"angle":334,"satellites":43,"speed":6,"hex_longitude":"2d182100","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-09-25 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325788672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986256946298880,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515904512,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50: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-25 16:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335113000,"timestamp_ms":1790335113000,"timestamp_seconds":1790335113,"priority":1,"record_length":96,"hex_timestamp":"000001a0d849d728"} 
[2026-09-25 16:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:50:00] 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-25 16:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:00] 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-25 16:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325788672001,"66":13015,"105":206,"83":41984,"24":6,"16":22986256946298880,"45":1738741330515904512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325788672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986256946298880,"km_value":22986256946298.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515904512,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325788672001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738741330515904512}} 
[2026-09-25 16:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":192281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:00] local.INFO: GPS data processed {"connection_id":192281,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:00] local.INFO: Acknowledgment sent {"connection_id":192281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:02] local.INFO: TCP Data received {"connection_id":193839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:02] local.INFO: Processing buffer {"connection_id":193839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:02] local.INFO: Packet analysis {"connection_id":193839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:02] local.INFO: Extracted packet for processing {"connection_id":193839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50: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-25 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:50: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-25 16:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:50:02] 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":896047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:02] local.INFO: GPS data processed {"connection_id":193839,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:02] local.INFO: Acknowledgment sent {"connection_id":193839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:06] local.INFO: TCP Data received {"connection_id":192280,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84a8ad8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84a8ad8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:06] local.INFO: Processing buffer {"connection_id":192280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84a8ad8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:06] local.INFO: Packet analysis {"connection_id":192280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:06] local.INFO: Extracted packet for processing {"connection_id":192280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98846632,"longitude_deg":76.3006592,"latitude_deg":9.8846632,"altitude":13,"angle":309,"satellites":47,"speed":0,"hex_longitude":"2d7a8e80","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325795328001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880640552763392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136682113214464,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790335159000,"timestamp_ms":1790335159000,"timestamp_seconds":1790335159,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84a8ad8"} 
[2026-09-25 16: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-25 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:06] 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-25 16: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-25 16: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-25 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325795328001,"66":13820,"39":206,"87":13824,"24":0,"16":135880640552763392,"45":8831136682113214464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325795328001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:50:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880640552763392,"km_value":135880640552763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136682113214464,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325795328001,"power":13820,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831136682113214464}} 
[2026-09-25 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":192280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:06] local.INFO: GPS data processed {"connection_id":192280,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:06] local.INFO: Acknowledgment sent {"connection_id":192280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:14] local.INFO: TCP Data received {"connection_id":195149,"ip":"42.106.6.16","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195149,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:14] local.INFO: Processing buffer {"connection_id":195149,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:14] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195149,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-25 16:50:22] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:22] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:22] local.INFO: IMEI packet received {"connection_id":192283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":192283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:50:25] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:25] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:25] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:50:27] local.INFO: TCP Data received {"connection_id":195156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:27] local.INFO: Processing buffer {"connection_id":195156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:27] local.INFO: IMEI packet received {"connection_id":195156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":195156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:50:28] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:28] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:50:28] local.INFO: IMEI packet received {"connection_id":192283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":192283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:50:29] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847cfa0012d0b13c007029dc00012004a1c..."} 
[2026-09-25 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847cfa0012d0b13c007029dc00012004a1c..."} 
[2026-09-25 16:50:29] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847cfa0012d0b13c007029dc00012004a1c..."} 
[2026-09-25 16:50:29] local.INFO: Packet analysis {"connection_id":192283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:29] local.INFO: Extracted packet for processing {"connection_id":192283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117611968,"longitude_deg":75.5700672,"latitude_deg":11.7611968,"altitude":18,"angle":74,"satellites":28,"speed":3,"hex_longitude":"2d0b13c0","hex_latitude":"07029dc0","is_valid_coordinates":true} 
[2026-09-25 16:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325751040001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911146213801984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385985536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790334980000,"timestamp_ms":1790334980000,"timestamp_seconds":1790334980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847cfa0"} 
[2026-09-25 16:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325751040001,"66":14559,"17":206,"94":11008,"24":3,"16":33911146213801984,"45":797348270385985536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325751040001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911146213801984,"km_value":33911146213801.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385985536,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325751040001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":797348270385985536}} 
[2026-09-25 16:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":192283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:29] local.INFO: GPS data processed {"connection_id":192283,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:29] local.INFO: Acknowledgment sent {"connection_id":192283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:30] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:30] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:50:30] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:50:31] local.INFO: TCP Data received {"connection_id":192281,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84a1d78012d1820000721b028004b00ce2b..."} 
[2026-09-25 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84a1d78012d1820000721b028004b00ce2b..."} 
[2026-09-25 16:50:31] local.INFO: Processing buffer {"connection_id":192281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84a1d78012d1820000721b028004b00ce2b..."} 
[2026-09-25 16:50:31] local.INFO: Packet analysis {"connection_id":192281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:31] local.INFO: Extracted packet for processing {"connection_id":192281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648296,"longitude_deg":75.6555776,"latitude_deg":11.9648296,"altitude":75,"angle":206,"satellites":43,"speed":5,"hex_longitude":"2d182000","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-09-25 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325788928001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986291306037248,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771778048,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335131000,"timestamp_ms":1790335131000,"timestamp_seconds":1790335131,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84a1d78"} 
[2026-09-25 16:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:31] 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-25 16:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325788928001,"66":13156,"105":206,"83":41984,"24":5,"16":22986291306037248,"45":1738670961771778048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325788928001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986291306037248,"km_value":22986291306037.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771778048,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325788928001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738670961771778048}} 
[2026-09-25 16:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":192281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:31] local.INFO: GPS data processed {"connection_id":192281,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:31] local.INFO: Acknowledgment sent {"connection_id":192281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:31] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:31] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:50:31] local.INFO: Packet analysis {"connection_id":192467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:31] local.INFO: Extracted packet for processing {"connection_id":192467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50: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-25 16:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:50:31] 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-25 16:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:50: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-25 16:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:50:31] 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":896051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:31] local.INFO: GPS data processed {"connection_id":192467,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:31] local.INFO: Acknowledgment sent {"connection_id":192467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:33] local.INFO: TCP Data received {"connection_id":195156,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:33] local.INFO: Processing buffer {"connection_id":195156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:50:33] local.INFO: IMEI packet received {"connection_id":195156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":195156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:50:34] local.INFO: TCP Data received {"connection_id":195156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84adce0012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84adce0012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:34] local.INFO: Processing buffer {"connection_id":195156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84adce0012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:50:34] local.INFO: Packet analysis {"connection_id":195156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:34] local.INFO: Extracted packet for processing {"connection_id":195156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98846632,"longitude_deg":76.3006592,"latitude_deg":9.8846632,"altitude":13,"angle":309,"satellites":47,"speed":0,"hex_longitude":"2d7a8e80","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325800704001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880640552763392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136682113214464,"note":"Value kept but may cause issues"} 
[2026-09-25 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335180000,"timestamp_ms":1790335180000,"timestamp_seconds":1790335180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84adce0"} 
[2026-09-25 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-25 16:50:34] 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-25 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 16:50:34] 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-25 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-25 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-25 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325800704001,"66":13678,"39":206,"87":13824,"24":0,"16":135880640552763392,"45":8831136682113214464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325800704001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:50:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:50:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880640552763392,"km_value":135880640552763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136682113214464,"description":"Unknown IO ID 45"} 
[2026-09-25 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325800704001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831136682113214464}} 
[2026-09-25 16:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":195156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:50:34] local.INFO: GPS data processed {"connection_id":195156,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:50:34] local.INFO: Acknowledgment sent {"connection_id":195156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:50:44] local.INFO: TCP Data received {"connection_id":195149,"ip":"42.106.6.16","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195149,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:44] local.INFO: Processing buffer {"connection_id":195149,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:50:44] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195149,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-25 16:50:53] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:53] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:53] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:50:54] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:54] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:54] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:50:59] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:59] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:50:59] local.INFO: IMEI packet received {"connection_id":193840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":193840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:51:00] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84a6f80012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84a6f80012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:00] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84a6f80012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:00] local.INFO: Packet analysis {"connection_id":193840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:51:00] local.INFO: Extracted packet for processing {"connection_id":193840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325793536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794975232,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51: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-25 16:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335152000,"timestamp_ms":1790335152000,"timestamp_seconds":1790335152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84a6f80"} 
[2026-09-25 16:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:00] 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-25 16:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:00] 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-25 16:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325793536001,"66":13080,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738389486794975232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325793536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794975232,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325793536001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794975232}} 
[2026-09-25 16:51:00] 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":896053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:00] local.INFO: GPS data processed {"connection_id":193840,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:00] local.INFO: Acknowledgment sent {"connection_id":193840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:02] local.INFO: TCP Data received {"connection_id":192283,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:51:02] local.INFO: Processing buffer {"connection_id":192283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:51:02] local.INFO: Packet analysis {"connection_id":192283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:02] local.INFO: Extracted packet for processing {"connection_id":192283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117612048,"longitude_deg":75.5700992,"latitude_deg":11.7612048,"altitude":18,"angle":69,"satellites":28,"speed":3,"hex_longitude":"2d0b1500","hex_latitude":"07029e10","is_valid_coordinates":true} 
[2026-09-25 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325754880001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695315906560,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:02] 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-25 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334983000,"timestamp_ms":1790334983000,"timestamp_seconds":1790334983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847db58"} 
[2026-09-25 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325754880001,"66":14450,"17":206,"94":11008,"24":3,"16":33911159098703872,"45":798192695315906560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325754880001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695315906560,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325754880001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":798192695315906560}} 
[2026-09-25 16:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":192283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896054,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:02] local.INFO: GPS data processed {"connection_id":192283,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:02] local.INFO: Acknowledgment sent {"connection_id":192283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:02] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:02] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:02] local.INFO: Packet analysis {"connection_id":192467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:02] local.INFO: Extracted packet for processing {"connection_id":192467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51: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-25 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:51:02] 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-25 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:51: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-25 16:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:51:02] 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":896055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:02] local.INFO: GPS data processed {"connection_id":192467,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:02] local.INFO: Acknowledgment sent {"connection_id":192467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:05] local.INFO: TCP Data received {"connection_id":195156,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84b2ee8012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84b2ee8012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:05] local.INFO: Processing buffer {"connection_id":195156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84b2ee8012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:05] local.INFO: Packet analysis {"connection_id":195156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:05] local.INFO: Extracted packet for processing {"connection_id":195156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98846632,"longitude_deg":76.3006592,"latitude_deg":9.8846632,"altitude":13,"angle":309,"satellites":48,"speed":0,"hex_longitude":"2d7a8e80","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325806080001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880640552763392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136682113214464,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790335201000,"timestamp_ms":1790335201000,"timestamp_seconds":1790335201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84b2ee8"} 
[2026-09-25 16: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-25 16:51:05] 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-25 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:05] 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-25 16: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-25 16: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-25 16:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325806080001,"66":13830,"39":206,"87":13824,"24":0,"16":135880640552763392,"45":8831136682113214464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325806080001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880640552763392,"km_value":135880640552763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136682113214464,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325806080001,"power":13830,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831136682113214464}} 
[2026-09-25 16:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":195156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:05] local.INFO: GPS data processed {"connection_id":195156,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:05] local.INFO: Acknowledgment sent {"connection_id":195156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:15] local.INFO: TCP Data received {"connection_id":195149,"ip":"42.106.6.16","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195149,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:15] local.INFO: Processing buffer {"connection_id":195149,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:15] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195149,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-25 16:51:25] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:25] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:25] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:51:27] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:27] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:27] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:51:30] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:30] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:51:30] local.INFO: IMEI packet received {"connection_id":192285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":192285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:51:31] local.INFO: TCP Data received {"connection_id":193840,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84ac188012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84ac188012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:51:31] local.INFO: Processing buffer {"connection_id":193840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84ac188012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:51:31] local.INFO: Packet analysis {"connection_id":193840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:51:31] local.INFO: Extracted packet for processing {"connection_id":193840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325798912001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335173000,"timestamp_ms":1790335173000,"timestamp_seconds":1790335173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84ac188"} 
[2026-09-25 16:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 16:51: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-25 16:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325798912001,"66":12982,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325798912001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325798912001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:51:31] 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":896057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:31] local.INFO: GPS data processed {"connection_id":193840,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:31] local.INFO: Acknowledgment sent {"connection_id":193840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:31] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:31] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8476df8012d34c14006aa49080005006e2e..."} 
[2026-09-25 16:51:31] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:31] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325671424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51: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-25 16:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790334955000,"timestamp_ms":1790334955000,"timestamp_seconds":1790334955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8476df8"} 
[2026-09-25 16:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325671424001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325671424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:51: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-25 16:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325671424001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:31] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:31] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:33] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:33] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:51:33] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:51:34] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84b80f0012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84b80f0012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:34] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84b80f0012d7a8e8005e447a8000d013530..."} 
[2026-09-25 16:51:34] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:34] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98846632,"longitude_deg":76.3006592,"latitude_deg":9.8846632,"altitude":13,"angle":309,"satellites":48,"speed":0,"hex_longitude":"2d7a8e80","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325811456001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880640552763392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136682113214464,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335222000,"timestamp_ms":1790335222000,"timestamp_seconds":1790335222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84b80f0"} 
[2026-09-25 16: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-25 16:51:34] 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-25 16: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652626814748416,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628679864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-6341053976499257344,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-5764276043657509404,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2147869767,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3199795200,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3829901312,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,39,87,24,241,157,16,190,160,220,45,128,71,13,47,10,66,138,56,1,240,230,227,216,228,4,113,205,148,142,168,46,239,53,2,226,5],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-25 16:51:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937088677744476160,"timestamp_seconds":937088677744476.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325811456001,"66":13646,"39":206,"87":13824,"24":0,"16":135880640552763392,"45":8831136682113214464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325811456001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:51:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880640552763392,"km_value":135880640552763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136682113214464,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325811456001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831136682113214464}} 
[2026-09-25 16:51:34] 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":896059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:34] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:34] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:51:44] local.INFO: TCP Data received {"connection_id":195149,"ip":"42.106.6.16","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195149,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:44] local.INFO: Processing buffer {"connection_id":195149,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-25 16:51:44] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":195149,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-25 16:51:54] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:54] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:54] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:51:57] local.INFO: TCP Data received {"connection_id":192287,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:51:57] local.INFO: Processing buffer {"connection_id":192287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:51:57] local.INFO: IMEI packet received {"connection_id":192287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":192287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:51:58] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:58] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:58] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:51:59] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:59] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:51:59] local.INFO: IMEI packet received {"connection_id":192286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":192286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:51:59] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84b1390012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84b1390012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:59] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84b1390012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:51:59] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:59] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325804288001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:51:59] local.INFO: IO Element Parsed {"io_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-25 16:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790335194000,"timestamp_ms":1790335194000,"timestamp_seconds":1790335194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84b1390"} 
[2026-09-25 16:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:51:59] 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-25 16:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-25 16:51:59] 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-25 16:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325804288001,"66":12863,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325804288001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:51:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325804288001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:51:59] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:51:59] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:03] local.INFO: TCP Data received {"connection_id":192285,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:03] local.INFO: Processing buffer {"connection_id":192285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:03] local.INFO: Packet analysis {"connection_id":192285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:03] local.INFO: Extracted packet for processing {"connection_id":192285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52: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-25 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:52:03] 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-25 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:52: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-25 16:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":192285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:03] local.INFO: GPS data processed {"connection_id":192285,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:03] local.INFO: Acknowledgment sent {"connection_id":192285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:04] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84b6598012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84b6598012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:04] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84b6598012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:04] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:04] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325809664001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790335215000,"timestamp_ms":1790335215000,"timestamp_seconds":1790335215,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84b6598"} 
[2026-09-25 16: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-25 16:52:04] 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-25 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:04] 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-25 16: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-25 16: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-25 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325809664001,"66":12819,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325809664001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325809664001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:05] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:05] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:06] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84bd2f8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84bd2f8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:52:06] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84bd2f8012d7a8e8005e447a8000d01352f..."} 
[2026-09-25 16:52:06] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:06] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763006592,"raw_latitude":98846632,"longitude_deg":76.3006592,"latitude_deg":9.8846632,"altitude":13,"angle":309,"satellites":47,"speed":0,"hex_longitude":"2d7a8e80","hex_latitude":"05e447a8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325816832001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135880640552763392,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831136682113214464,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790335243000,"timestamp_ms":1790335243000,"timestamp_seconds":1790335243,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84bd2f8"} 
[2026-09-25 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-25 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325816832001,"66":13678,"39":206,"87":13824,"24":0,"16":135880640552763392,"45":8831136682113214464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-25 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325816832001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-25 16:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135880640552763392,"km_value":135880640552763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831136682113214464,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325816832001,"power":13678,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8831136682113214464}} 
[2026-09-25 16:52:06] 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":896063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:06] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:06] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:22] local.INFO: TCP Data received {"connection_id":195157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:22] local.INFO: Processing buffer {"connection_id":195157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:22] local.INFO: IMEI packet received {"connection_id":195157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":195157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:52:25] local.INFO: TCP Data received {"connection_id":195158,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:25] local.INFO: Processing buffer {"connection_id":195158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:25] local.INFO: IMEI packet received {"connection_id":195158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":195158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:52:27] local.INFO: TCP Data received {"connection_id":195159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:52:27] local.INFO: Processing buffer {"connection_id":195159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:52:27] local.INFO: IMEI packet received {"connection_id":195159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":195159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:52:27] local.INFO: TCP Data received {"connection_id":195157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:27] local.INFO: Processing buffer {"connection_id":195157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:52:27] local.INFO: IMEI packet received {"connection_id":195157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":195157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:52:28] local.INFO: TCP Data received {"connection_id":195157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:52:28] local.INFO: Processing buffer {"connection_id":195157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d847db58012d0b150007029e10001200451c..."} 
[2026-09-25 16:52:28] local.INFO: Packet analysis {"connection_id":195157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:52:28] local.INFO: Extracted packet for processing {"connection_id":195157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d847"} 
[2026-09-25 16:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755700992,"raw_latitude":117612048,"longitude_deg":75.5700992,"latitude_deg":11.7612048,"altitude":18,"angle":69,"satellites":28,"speed":3,"hex_longitude":"2d0b1500","hex_latitude":"07029e10","is_valid_coordinates":true} 
[2026-09-25 16:52:28] 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-25 16:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036815360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:28] 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-25 16:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790334983000,"timestamp_ms":1790334983000,"timestamp_seconds":1790334983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d847db58"} 
[2026-09-25 16:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:52:28] 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-25 16:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:52: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-25 16:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755648001,"66":14450,"17":206,"94":11008,"24":3,"16":33911159098703872,"45":798544539036815360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036815360,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755648001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":798544539036815360}} 
[2026-09-25 16:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":195157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896064,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:28] local.INFO: GPS data processed {"connection_id":195157,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:28] local.INFO: Acknowledgment sent {"connection_id":195157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:30] local.INFO: TCP Data received {"connection_id":195158,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:30] local.INFO: Processing buffer {"connection_id":195158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:52:30] local.INFO: IMEI packet received {"connection_id":195158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":195158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:52:31] local.INFO: TCP Data received {"connection_id":195158,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:31] local.INFO: Processing buffer {"connection_id":195158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:52:31] local.INFO: Packet analysis {"connection_id":195158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:31] local.INFO: Extracted packet for processing {"connection_id":195158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52: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-25 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:52:31] 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-25 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:52: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-25 16:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":195158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:31] local.INFO: GPS data processed {"connection_id":195158,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:31] local.INFO: Acknowledgment sent {"connection_id":195158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:34] local.INFO: TCP Data received {"connection_id":193841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:52:34] local.INFO: Processing buffer {"connection_id":193841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:52:34] local.INFO: IMEI packet received {"connection_id":193841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":193841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:52:36] local.INFO: TCP Data received {"connection_id":192286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84bb7a0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84bb7a0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:36] local.INFO: Processing buffer {"connection_id":192286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84bb7a0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:52:36] local.INFO: Packet analysis {"connection_id":192286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:36] local.INFO: Extracted packet for processing {"connection_id":192286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84b"} 
[2026-09-25 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325815040001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.INFO: IO Element Parsed {"io_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-25 16:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790335236000,"timestamp_ms":1790335236000,"timestamp_seconds":1790335236,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84bb7a0"} 
[2026-09-25 16: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-25 16:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628716864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":21392163375942656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950368440320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5315267912139283968,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4900180281669255424,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182130925371648,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154026,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2850095104,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2426111990381420331,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957606501626285,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195128320,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750479749751208,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,169,160,19,45,128,175,76,44,10,66,193,111,1,240,227,216,33,4,113,205,5,215,144,43,239,50,2,81,7,51,164,222,69,208],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-25 16:52:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603839551373312,"timestamp_seconds":5476603839551373.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325815040001,"66":12841,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325815040001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325815040001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":192286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:52:36] local.INFO: GPS data processed {"connection_id":192286,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:52:36] local.INFO: Acknowledgment sent {"connection_id":192286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:52:54] local.INFO: TCP Data received {"connection_id":195160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:54] local.INFO: Processing buffer {"connection_id":195160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:54] local.INFO: IMEI packet received {"connection_id":195160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":195160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:52:59] local.INFO: TCP Data received {"connection_id":195160,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:59] local.INFO: Processing buffer {"connection_id":195160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:52:59] local.INFO: IMEI packet received {"connection_id":195160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":195160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:52:59] local.INFO: TCP Data received {"connection_id":195157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:52:59] local.INFO: Processing buffer {"connection_id":195157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:52:59] local.INFO: Packet analysis {"connection_id":195157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:59] local.INFO: Extracted packet for processing {"connection_id":195157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:52:59] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":20,"angle":76,"satellites":20,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 16:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036815360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:52:59] 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-25 16:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790335286000,"timestamp_ms":1790335286000,"timestamp_seconds":1790335286,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c7af0"} 
[2026-09-25 16:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:52:59] 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-25 16:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755648001,"66":12722,"17":206,"94":11008,"24":0,"16":33911159098703872,"45":798544539036815360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036815360,"description":"Unknown IO ID 45"} 
[2026-09-25 16:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755648001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036815360}} 
[2026-09-25 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":195157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:00] local.INFO: GPS data processed {"connection_id":195157,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:00] local.INFO: Acknowledgment sent {"connection_id":195157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:00] local.INFO: TCP Data received {"connection_id":195160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c09a8012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c09a8012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:53:00] local.INFO: Processing buffer {"connection_id":195160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c09a8012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:53:00] local.INFO: Packet analysis {"connection_id":195160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:00] local.INFO: Extracted packet for processing {"connection_id":195160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325820416001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53: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-25 16:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335257000,"timestamp_ms":1790335257000,"timestamp_seconds":1790335257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c09a8"} 
[2026-09-25 16: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-25 16:53:00] 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-25 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 16:53:00] 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-25 16: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-25 16: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-25 16:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325820416001,"66":12776,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325820416001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:53:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325820416001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":195160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:00] local.INFO: GPS data processed {"connection_id":195160,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:00] local.INFO: Acknowledgment sent {"connection_id":195160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:02] local.INFO: TCP Data received {"connection_id":195158,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:02] local.INFO: Processing buffer {"connection_id":195158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:02] local.INFO: Packet analysis {"connection_id":195158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:02] local.INFO: Extracted packet for processing {"connection_id":195158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53: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-25 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:53:02] 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-25 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:53: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-25 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":195158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:02] local.INFO: GPS data processed {"connection_id":195158,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:02] local.INFO: Acknowledgment sent {"connection_id":195158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:04] local.INFO: TCP Data received {"connection_id":192288,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:53:04] local.INFO: Processing buffer {"connection_id":192288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:53:04] local.INFO: IMEI packet received {"connection_id":192288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":192288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:53:06] local.INFO: TCP Data received {"connection_id":195159,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:53:06] local.INFO: Processing buffer {"connection_id":195159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:53:06] local.INFO: IMEI packet received {"connection_id":195159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":195159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:53:06] local.INFO: TCP Data received {"connection_id":195159,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195159,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 16:53:06] local.INFO: Processing buffer {"connection_id":195159,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 16:53:06] local.INFO: IMEI packet received {"connection_id":195159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":195159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:53:17] local.INFO: TCP Data received {"connection_id":195161,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:17] local.INFO: Processing buffer {"connection_id":195161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:17] local.INFO: IMEI packet received {"connection_id":195161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":195161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:53:25] local.INFO: TCP Data received {"connection_id":195162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:25] local.INFO: Processing buffer {"connection_id":195162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:25] local.INFO: IMEI packet received {"connection_id":195162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":195162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:53:27] local.INFO: TCP Data received {"connection_id":195161,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195161,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:27] local.INFO: Processing buffer {"connection_id":195161,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:53:27] local.INFO: IMEI packet received {"connection_id":195161,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":195161,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:53:28] local.INFO: TCP Data received {"connection_id":195161,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:53:28] local.INFO: Processing buffer {"connection_id":195161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:53:28] local.INFO: Packet analysis {"connection_id":195161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:28] local.INFO: Extracted packet for processing {"connection_id":195161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:28] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":20,"angle":76,"satellites":20,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 16:53: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-25 16:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036815360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:28] 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-25 16:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790335286000,"timestamp_ms":1790335286000,"timestamp_seconds":1790335286,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c7af0"} 
[2026-09-25 16:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:53:28] 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-25 16:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:53: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-25 16:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755648001,"66":12722,"17":206,"94":11008,"24":0,"16":33911159098703872,"45":798544539036815360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:53:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036815360,"description":"Unknown IO ID 45"} 
[2026-09-25 16:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755648001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036815360}} 
[2026-09-25 16:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":195161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:29] local.INFO: GPS data processed {"connection_id":195161,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:29] local.INFO: Acknowledgment sent {"connection_id":195161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:30] local.INFO: TCP Data received {"connection_id":195162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:30] local.INFO: Processing buffer {"connection_id":195162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:53:30] local.INFO: IMEI packet received {"connection_id":195162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":195162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:53:31] local.INFO: TCP Data received {"connection_id":195160,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c5bb0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c5bb0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:53:31] local.INFO: Processing buffer {"connection_id":195160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c5bb0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:53:31] local.INFO: Packet analysis {"connection_id":195160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:31] local.INFO: Extracted packet for processing {"connection_id":195160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825792001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335278000,"timestamp_ms":1790335278000,"timestamp_seconds":1790335278,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c5bb0"} 
[2026-09-25 16:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-25 16:53:31] 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-25 16:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825792001,"66":12341,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825792001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825792001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":195160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:31] local.INFO: GPS data processed {"connection_id":195160,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:31] local.INFO: Acknowledgment sent {"connection_id":195160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:31] local.INFO: TCP Data received {"connection_id":195162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:31] local.INFO: Processing buffer {"connection_id":195162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:53:31] local.INFO: Packet analysis {"connection_id":195162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:31] local.INFO: Extracted packet for processing {"connection_id":195162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:53: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-25 16:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:53: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-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":195162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:53:31] local.INFO: GPS data processed {"connection_id":195162,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:53:31] local.INFO: Acknowledgment sent {"connection_id":195162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:53:54] local.INFO: TCP Data received {"connection_id":195164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:54] local.INFO: Processing buffer {"connection_id":195164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:54] local.INFO: IMEI packet received {"connection_id":195164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":195164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:53:59] local.INFO: TCP Data received {"connection_id":195164,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:59] local.INFO: Processing buffer {"connection_id":195164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:53:59] local.INFO: IMEI packet received {"connection_id":195164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":195164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:54:00] local.INFO: TCP Data received {"connection_id":195164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84cadb8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84cadb8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:00] local.INFO: Processing buffer {"connection_id":195164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84cadb8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:00] local.INFO: Packet analysis {"connection_id":195164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:00] local.INFO: Extracted packet for processing {"connection_id":195164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325831168001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335299000,"timestamp_ms":1790335299000,"timestamp_seconds":1790335299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84cadb8"} 
[2026-09-25 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:54:00] 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-25 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 16:54: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-25 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325831168001,"66":12689,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325831168001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325831168001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":195164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:54:00] local.INFO: GPS data processed {"connection_id":195164,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:54:00] local.INFO: Acknowledgment sent {"connection_id":195164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:54:01] local.INFO: TCP Data received {"connection_id":195161,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:54:01] local.INFO: Processing buffer {"connection_id":195161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c7af0012d0b138007029ed80014004c14..."} 
[2026-09-25 16:54:01] local.INFO: Packet analysis {"connection_id":195161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:01] local.INFO: Extracted packet for processing {"connection_id":195161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":20,"angle":76,"satellites":20,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325755648001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798544539036815360,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790335286000,"timestamp_ms":1790335286000,"timestamp_seconds":1790335286,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c7af0"} 
[2026-09-25 16:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:54:01] 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-25 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 16:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195161,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 16:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 16:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 16:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325755648001,"66":12722,"17":206,"94":11008,"24":0,"16":33911159098703872,"45":798544539036815360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 16:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 16:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 16:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325755648001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 16:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":798544539036815360,"description":"Unknown IO ID 45"} 
[2026-09-25 16:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325755648001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798544539036815360}} 
[2026-09-25 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":195161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:54:01] local.INFO: GPS data processed {"connection_id":195161,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:54:01] local.INFO: Acknowledgment sent {"connection_id":195161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:54:02] local.INFO: TCP Data received {"connection_id":195162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:02] local.INFO: Processing buffer {"connection_id":195162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:02] local.INFO: Packet analysis {"connection_id":195162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:02] local.INFO: Extracted packet for processing {"connection_id":195162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54: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-25 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:54: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-25 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":195162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:54:02] local.INFO: GPS data processed {"connection_id":195162,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:54:02] local.INFO: Acknowledgment sent {"connection_id":195162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:54:24] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:24] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:24] local.INFO: IMEI packet received {"connection_id":192290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":192290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:54:27] local.INFO: TCP Data received {"connection_id":192291,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:27] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:27] local.INFO: IMEI packet received {"connection_id":192291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":192291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:54:30] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:30] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:54:30] local.INFO: IMEI packet received {"connection_id":192290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:54:31] local.INFO: TCP Data received {"connection_id":195164,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84cffc0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84cffc0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:31] local.INFO: Processing buffer {"connection_id":195164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84cffc0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:54:31] local.INFO: Packet analysis {"connection_id":195164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:31] local.INFO: Extracted packet for processing {"connection_id":195164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325836544001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335320000,"timestamp_ms":1790335320000,"timestamp_seconds":1790335320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84cffc0"} 
[2026-09-25 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 16:54: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-25 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325836544001,"66":12667,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325836544001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325836544001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":195164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:54:31] local.INFO: GPS data processed {"connection_id":195164,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:54:31] local.INFO: Acknowledgment sent {"connection_id":195164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:54:31] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:31] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:54:31] local.INFO: Packet analysis {"connection_id":192290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:31] local.INFO: Extracted packet for processing {"connection_id":192290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:54: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-25 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:54:31] 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-25 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:54: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-25 16:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":192290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:54:31] local.INFO: GPS data processed {"connection_id":192290,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:54:31] local.INFO: Acknowledgment sent {"connection_id":192290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:54:35] local.INFO: TCP Data received {"connection_id":192291,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:35] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:54:35] local.INFO: IMEI packet received {"connection_id":192291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":192291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:54:54] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:54] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:54] local.INFO: IMEI packet received {"connection_id":192292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":192292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:54:59] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:59] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:54:59] local.INFO: IMEI packet received {"connection_id":192292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":192292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:55:00] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84d51c8012d181f800721af58004c00ce27..."} 
[2026-09-25 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84d51c8012d181f800721af58004c00ce27..."} 
[2026-09-25 16:55:00] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84d51c8012d181f800721af58004c00ce27..."} 
[2026-09-25 16:55:00] local.INFO: Packet analysis {"connection_id":192292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:55:00] local.INFO: Extracted packet for processing {"connection_id":192292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325841920001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55: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-25 16:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335341000,"timestamp_ms":1790335341000,"timestamp_seconds":1790335341,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84d51c8"} 
[2026-09-25 16:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:55:00] 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-25 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 16:55:00] 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-25 16:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325841920001,"66":12645,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325841920001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325841920001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":192292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:55:00] local.INFO: GPS data processed {"connection_id":192292,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:55:00] local.INFO: Acknowledgment sent {"connection_id":192292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:55:03] local.INFO: TCP Data received {"connection_id":192290,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:03] local.INFO: Processing buffer {"connection_id":192290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:03] local.INFO: Packet analysis {"connection_id":192290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:55:03] local.INFO: Extracted packet for processing {"connection_id":192290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55: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-25 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:55:03] 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-25 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:55: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-25 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":192290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:55:04] local.INFO: GPS data processed {"connection_id":192290,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:55:04] local.INFO: Acknowledgment sent {"connection_id":192290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:55:05] local.INFO: TCP Data received {"connection_id":192291,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192291,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:55:05] local.INFO: Processing buffer {"connection_id":192291,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:55:05] local.INFO: IMEI packet received {"connection_id":192291,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":192291,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:55:24] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:24] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:24] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:55:30] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:30] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:55:30] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:55:31] local.INFO: TCP Data received {"connection_id":192292,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84da3d0012d181f800721af58004c00ce2a..."} 
[2026-09-25 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84da3d0012d181f800721af58004c00ce2a..."} 
[2026-09-25 16:55:31] local.INFO: Processing buffer {"connection_id":192292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84da3d0012d181f800721af58004c00ce2a..."} 
[2026-09-25 16:55:31] local.INFO: Packet analysis {"connection_id":192292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:55:31] local.INFO: Extracted packet for processing {"connection_id":192292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325847296001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335362000,"timestamp_ms":1790335362000,"timestamp_seconds":1790335362,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84da3d0"} 
[2026-09-25 16: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-25 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 16:55:31] 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-25 16: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-25 16: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-25 16:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325847296001,"66":12602,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325847296001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325847296001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":192292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:55:31] local.INFO: GPS data processed {"connection_id":192292,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:55:31] local.INFO: Acknowledgment sent {"connection_id":192292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:55:31] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:31] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:55:31] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:55:31] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:55: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-25 16:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16: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-25 16:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16: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-25 16: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-25 16:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:55:31] 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-25 16:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:55: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-25 16:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:55:31] 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":896081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:55:31] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:55:31] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:55:54] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:54] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:54] local.INFO: IMEI packet received {"connection_id":193842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":193842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:55:59] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:59] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:55:59] local.INFO: IMEI packet received {"connection_id":193842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":193842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:56:00] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84df5d8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84df5d8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:00] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84df5d8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:00] local.INFO: Packet analysis {"connection_id":193842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:56:00] local.INFO: Extracted packet for processing {"connection_id":193842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84d"} 
[2026-09-25 16:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325852672001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56: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-25 16:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335383000,"timestamp_ms":1790335383000,"timestamp_seconds":1790335383,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84df5d8"} 
[2026-09-25 16:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:56:00] 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-25 16:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 16:56:00] 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-25 16:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325852672001,"66":12613,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325852672001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325852672001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:56:00] 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":896082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:56:00] local.INFO: GPS data processed {"connection_id":193842,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:56:00] local.INFO: Acknowledgment sent {"connection_id":193842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:56:03] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:03] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:03] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:03] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56: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-25 16:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:03] 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-25 16:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:56: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-25 16:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:56:03] 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":896083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:56:03] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:56:03] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:56:28] local.INFO: TCP Data received {"connection_id":195166,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:56:28] local.INFO: Processing buffer {"connection_id":195166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 16:56:28] local.INFO: IMEI packet received {"connection_id":195166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":195166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:56:28] local.INFO: TCP Data received {"connection_id":195167,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:28] local.INFO: Processing buffer {"connection_id":195167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:28] local.INFO: IMEI packet received {"connection_id":195167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":195167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:56:30] local.INFO: TCP Data received {"connection_id":195167,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:30] local.INFO: Processing buffer {"connection_id":195167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:56:30] local.INFO: IMEI packet received {"connection_id":195167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":195167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:56:31] local.INFO: TCP Data received {"connection_id":193842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84e47e0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84e47e0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:31] local.INFO: Processing buffer {"connection_id":193842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84e47e0012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:56:31] local.INFO: Packet analysis {"connection_id":193842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:56:31] local.INFO: Extracted packet for processing {"connection_id":193842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325858048001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335404000,"timestamp_ms":1790335404000,"timestamp_seconds":1790335404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84e47e0"} 
[2026-09-25 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 16:56:31] 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-25 16:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325858048001,"66":12548,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325858048001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325858048001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:56:31] 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":896084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:56:31] local.INFO: GPS data processed {"connection_id":193842,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:56:31] local.INFO: Acknowledgment sent {"connection_id":193842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:56:31] local.INFO: TCP Data received {"connection_id":195167,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:31] local.INFO: Processing buffer {"connection_id":195167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:31] local.INFO: Packet analysis {"connection_id":195167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:31] local.INFO: Extracted packet for processing {"connection_id":195167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56: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-25 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:31] 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-25 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:56: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-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":195167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:56:31] local.INFO: GPS data processed {"connection_id":195167,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:56:31] local.INFO: Acknowledgment sent {"connection_id":195167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:56:37] local.INFO: TCP Data received {"connection_id":195167,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:37] local.INFO: Processing buffer {"connection_id":195167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84c05c0012d34c14006aa49080002006e2e..."} 
[2026-09-25 16:56:37] local.INFO: Packet analysis {"connection_id":195167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:37] local.INFO: Extracted packet for processing {"connection_id":195167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84c"} 
[2026-09-25 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325748480001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790335256000,"timestamp_ms":1790335256000,"timestamp_seconds":1790335256,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84c05c0"} 
[2026-09-25 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325748480001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325748480001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:56: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-25 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325748480001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":195167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:56:37] local.INFO: GPS data processed {"connection_id":195167,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:56:37] local.INFO: Acknowledgment sent {"connection_id":195167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:56:59] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:56:59] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:56:59] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:57:04] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:04] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:04] local.INFO: IMEI packet received {"connection_id":192293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":192293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:57:05] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84e99e8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84e99e8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:57:05] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84e99e8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:57:05] local.INFO: Packet analysis {"connection_id":192293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:57:05] local.INFO: Extracted packet for processing {"connection_id":192293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325863424001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.INFO: IO Element Parsed {"io_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-25 16:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790335425000,"timestamp_ms":1790335425000,"timestamp_seconds":1790335425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84e99e8"} 
[2026-09-25 16: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-25 16:57:05] 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-25 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628882864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2850881536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184183464141,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780044,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,169,160,245,45,128,175,76,44,10,66,163,42,81,1,240,101,227,216,33,4,113,205,173,31,88,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 16:57:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603835256406016,"timestamp_seconds":5476603835256406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325863424001,"66":12548,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325863424001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:57:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325863424001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":192293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:57:05] local.INFO: GPS data processed {"connection_id":192293,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:57:05] local.INFO: Acknowledgment sent {"connection_id":192293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:57:08] local.INFO: TCP Data received {"connection_id":195167,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:08] local.INFO: Processing buffer {"connection_id":195167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:08] local.INFO: Packet analysis {"connection_id":195167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:57:08] local.INFO: Extracted packet for processing {"connection_id":195167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:57: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-25 16:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:57:08] 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-25 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:57: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-25 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":195167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:57:08] local.INFO: GPS data processed {"connection_id":195167,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:57:08] local.INFO: Acknowledgment sent {"connection_id":195167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:57:09] local.INFO: TCP Data received {"connection_id":192293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84eebf0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84eebf0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:57:09] local.INFO: Processing buffer {"connection_id":192293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84eebf0012d181f800721af58004c00ce2d..."} 
[2026-09-25 16:57:09] local.INFO: Packet analysis {"connection_id":192293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:57:09] local.INFO: Extracted packet for processing {"connection_id":192293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84e"} 
[2026-09-25 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325868800001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790335446000,"timestamp_ms":1790335446000,"timestamp_seconds":1790335446,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84eebf0"} 
[2026-09-25 16: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-25 16:57:09] 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-25 16: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628903864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780044,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2850881536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,169,160,71,45,128,175,76,44,10,66,245,163,1,240,58,227,216,33,4,113,205,255,31,88,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-25 16:57:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476603835256406016,"timestamp_seconds":5476603835256406.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16: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-25 16:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325868800001,"66":12504,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325868800001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:57:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325868800001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":192293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:57:09] local.INFO: GPS data processed {"connection_id":192293,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:57:09] local.INFO: Acknowledgment sent {"connection_id":192293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:57:24] local.INFO: TCP Data received {"connection_id":195168,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:24] local.INFO: Processing buffer {"connection_id":195168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:24] local.INFO: IMEI packet received {"connection_id":195168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":195168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:57:31] local.INFO: TCP Data received {"connection_id":195168,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:31] local.INFO: Processing buffer {"connection_id":195168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:57:31] local.INFO: IMEI packet received {"connection_id":195168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":195168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:57:32] local.INFO: TCP Data received {"connection_id":195168,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:32] local.INFO: Processing buffer {"connection_id":195168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:57:32] local.INFO: Packet analysis {"connection_id":195168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:57:32] local.INFO: Extracted packet for processing {"connection_id":195168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:57:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:57: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-25 16:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-25 16:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 16:57: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-25 16:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:57:32] 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-25 16:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:57:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:57:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":195168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:57:32] local.INFO: GPS data processed {"connection_id":195168,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:57:32] local.INFO: Acknowledgment sent {"connection_id":195168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:57:53] local.INFO: TCP Data received {"connection_id":195169,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:53] local.INFO: Processing buffer {"connection_id":195169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:53] local.INFO: IMEI packet received {"connection_id":195169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":195169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:57:54] local.INFO: TCP Data received {"connection_id":195169,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:54] local.INFO: Processing buffer {"connection_id":195169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:54] local.INFO: IMEI packet received {"connection_id":195169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":195169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:57:59] local.INFO: TCP Data received {"connection_id":195169,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:59] local.INFO: Processing buffer {"connection_id":195169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:57:59] local.INFO: IMEI packet received {"connection_id":195169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":195169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:00] local.INFO: TCP Data received {"connection_id":195169,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84f3df8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84f3df8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:00] local.INFO: Processing buffer {"connection_id":195169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84f3df8012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:00] local.INFO: Packet analysis {"connection_id":195169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84f"} 
[2026-09-25 16:58:00] local.INFO: Extracted packet for processing {"connection_id":195169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84f"} 
[2026-09-25 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325874176001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58: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-25 16:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335467000,"timestamp_ms":1790335467000,"timestamp_seconds":1790335467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84f3df8"} 
[2026-09-25 16: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-25 16:58:00] 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-25 16:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 16:58: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-25 16: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-25 16: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-25 16:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325874176001,"66":12515,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325874176001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325874176001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":195169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:00] local.INFO: GPS data processed {"connection_id":195169,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:00] local.INFO: Acknowledgment sent {"connection_id":195169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:04] local.INFO: TCP Data received {"connection_id":195168,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:04] local.INFO: Processing buffer {"connection_id":195168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:04] local.INFO: Packet analysis {"connection_id":195168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:04] local.INFO: Extracted packet for processing {"connection_id":195168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16: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-25 16:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16: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-25 16:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16: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-25 16: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-25 16: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":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:58: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-25 16: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-25 16: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-25 16:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 16:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16: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-25 16:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":195168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:04] local.INFO: GPS data processed {"connection_id":195168,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:04] local.INFO: Acknowledgment sent {"connection_id":195168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:08] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:08] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:08] local.INFO: IMEI packet received {"connection_id":193845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":193845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:58:09] local.INFO: TCP Data received {"connection_id":193845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8505f08012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8505f08012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:58:09] local.INFO: Processing buffer {"connection_id":193845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8505f08012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:58:09] local.INFO: Packet analysis {"connection_id":193845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:09] local.INFO: Extracted packet for processing {"connection_id":193845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325893120001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790335541000,"timestamp_ms":1790335541000,"timestamp_seconds":1790335541,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8505f08"} 
[2026-09-25 16:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:58: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-25 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 16:58:09] 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-25 16:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325893120001,"66":11743,"102":206,"87":12288,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 16:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325893120001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 16:58:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 16:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325893120001,"power":11743,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 16:58:09] 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":896093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:09] local.INFO: GPS data processed {"connection_id":193845,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:09] local.INFO: Acknowledgment sent {"connection_id":193845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:18] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:58:18] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:58:18] local.INFO: IMEI packet received {"connection_id":192473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":192473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:58:25] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:25] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:25] local.INFO: IMEI packet received {"connection_id":193846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":193846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:58:30] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:30] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:58:30] local.INFO: IMEI packet received {"connection_id":193846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":193846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:31] local.INFO: TCP Data received {"connection_id":195169,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84f9000012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84f9000012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:31] local.INFO: Processing buffer {"connection_id":195169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84f9000012d181f800721af58004c00ce2c..."} 
[2026-09-25 16:58:31] local.INFO: Packet analysis {"connection_id":195169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84f"} 
[2026-09-25 16:58:31] local.INFO: Extracted packet for processing {"connection_id":195169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84f"} 
[2026-09-25 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648088,"longitude_deg":75.6555648,"latitude_deg":11.9648088,"altitude":76,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721af58","is_valid_coordinates":true} 
[2026-09-25 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325879552001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986308485906432,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306566656,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335488000,"timestamp_ms":1790335488000,"timestamp_seconds":1790335488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84f9000"} 
[2026-09-25 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-25 16:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325879552001,"66":12515,"105":206,"83":41984,"24":0,"16":22986308485906432,"45":1738248749306566656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325879552001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986308485906432,"km_value":22986308485906.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306566656,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325879552001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306566656}} 
[2026-09-25 16:58:31] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:31] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:31] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":195169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:31] local.INFO: GPS data processed {"connection_id":195169,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:31] local.INFO: Acknowledgment sent {"connection_id":195169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:31] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:31] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:58:31] local.INFO: Packet analysis {"connection_id":193846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:31] local.INFO: Extracted packet for processing {"connection_id":193846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58: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-25 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:58: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-25 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:58: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-25 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:58:31] 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":896095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:31] local.INFO: GPS data processed {"connection_id":193846,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:31] local.INFO: Acknowledgment sent {"connection_id":193846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:32] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:32] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:32] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:37] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:37] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:58:37] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:38] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d850b110012d7a334005e45cc8001700532f..."} 
[2026-09-25 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d850b110012d7a334005e45cc8001700532f..."} 
[2026-09-25 16:58:38] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d850b110012d7a334005e45cc8001700532f..."} 
[2026-09-25 16:58:38] local.INFO: Packet analysis {"connection_id":192474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:38] local.INFO: Extracted packet for processing {"connection_id":192474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325898496001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790335562000,"timestamp_ms":1790335562000,"timestamp_seconds":1790335562,"priority":1,"record_length":96,"hex_timestamp":"000001a0d850b110"} 
[2026-09-25 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 16:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 16:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325898496001,"66":12722,"102":206,"87":12288,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325898496001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 16:58:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325898496001,"power":12722,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 16:58:38] 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":896096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:38] local.INFO: GPS data processed {"connection_id":192474,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:38] local.INFO: Acknowledgment sent {"connection_id":192474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:58:54] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:58:54] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:54] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:57] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:57] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:58:57] local.INFO: IMEI packet received {"connection_id":192296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":192296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:58:58] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d852a128012d181d400721abb0004d00af2c..."} 
[2026-09-25 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d852a128012d181d400721abb0004d00af2c..."} 
[2026-09-25 16:58:58] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d852a128012d181d400721abb0004d00af2c..."} 
[2026-09-25 16:58:58] local.INFO: Packet analysis {"connection_id":192296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 16:58:58] local.INFO: Extracted packet for processing {"connection_id":192296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 16:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647152,"longitude_deg":75.6555072,"latitude_deg":11.9647152,"altitude":77,"angle":175,"satellites":44,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721abb0","is_valid_coordinates":true} 
[2026-09-25 16:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325935872001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986360025513984,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608771072,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58: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-25 16:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790335689000,"timestamp_ms":1790335689000,"timestamp_seconds":1790335689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d852a128"} 
[2026-09-25 16:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:58:58] 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-25 16:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3629176864,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2941780044,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2850881536,"note":"Value kept but may cause issues"} 
[2026-09-25 16:58:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,169,160,114,45,128,175,76,46,10,66,32,44,206,1,240,173,227,216,33,4,113,205,42,31,88,239,48,2,81,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 16:58:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548648239449964544,"timestamp_seconds":5548648239449965.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 16:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325935872001,"66":14102,"105":206,"83":41984,"24":3,"16":22986360025513984,"45":1737615430608771072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325935872001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:58:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986360025513984,"km_value":22986360025513.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608771072,"description":"Unknown IO ID 45"} 
[2026-09-25 16:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325935872001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737615430608771072}} 
[2026-09-25 16:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":192296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:58:58] local.INFO: GPS data processed {"connection_id":192296,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:58:58] local.INFO: Acknowledgment sent {"connection_id":192296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:03] local.INFO: TCP Data received {"connection_id":193846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:03] local.INFO: Processing buffer {"connection_id":193846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:03] local.INFO: Packet analysis {"connection_id":193846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:59:03] local.INFO: Extracted packet for processing {"connection_id":193846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:59: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-25 16:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:59: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-25 16:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:59:03] 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":896098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:59:03] local.INFO: GPS data processed {"connection_id":193846,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:59:03] local.INFO: Acknowledgment sent {"connection_id":193846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:09] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8510318012d7a334005e45cc80017005330..."} 
[2026-09-25 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8510318012d7a334005e45cc80017005330..."} 
[2026-09-25 16:59:09] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8510318012d7a334005e45cc80017005330..."} 
[2026-09-25 16:59:09] local.INFO: Packet analysis {"connection_id":192474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 16:59:09] local.INFO: Extracted packet for processing {"connection_id":192474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 16:59:09] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 16:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325903872001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790335583000,"timestamp_ms":1790335583000,"timestamp_seconds":1790335583,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8510318"} 
[2026-09-25 16:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:59: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-25 16:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 16:59:09] 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-25 16:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192474,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325903872001,"66":12613,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 16:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325903872001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:59:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 16:59:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325903872001,"power":12613,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 16:59:09] 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":896099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:59:09] local.INFO: GPS data processed {"connection_id":192474,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:59:09] local.INFO: Acknowledgment sent {"connection_id":192474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:18] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:59:18] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 16:59:18] local.INFO: IMEI packet received {"connection_id":192475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 16:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":192475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:59:25] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:25] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:25] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 16:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:59:28] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:28] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:28] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:59:30] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:30] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 16:59:30] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:59:30] local.INFO: TCP Data received {"connection_id":192296,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d852bc80012d181dc00721ab00004d00a22c..."} 
[2026-09-25 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d852bc80012d181dc00721ab00004d00a22c..."} 
[2026-09-25 16:59:30] local.INFO: Processing buffer {"connection_id":192296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d852bc80012d181dc00721ab00004d00a22c..."} 
[2026-09-25 16:59:30] local.INFO: Packet analysis {"connection_id":192296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 16:59:30] local.INFO: Extracted packet for processing {"connection_id":192296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646976,"longitude_deg":75.65552,"latitude_deg":11.9646976,"altitude":77,"angle":162,"satellites":44,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721ab00","is_valid_coordinates":true} 
[2026-09-25 16:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325936384001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986372910415872,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608728064,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59: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-25 16:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790335696000,"timestamp_ms":1790335696000,"timestamp_seconds":1790335696,"priority":1,"record_length":96,"hex_timestamp":"000001a0d852bc80"} 
[2026-09-25 16:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 16:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-25 16:59:30] 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-25 16:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 16:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 16:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 16:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325936384001,"66":14157,"105":206,"83":41984,"24":2,"16":22986372910415872,"45":1737615430608728064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 16:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 16:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 16:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325936384001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:59:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 16:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 16:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986372910415872,"km_value":22986372910415.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608728064,"description":"Unknown IO ID 45"} 
[2026-09-25 16:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325936384001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737615430608728064}} 
[2026-09-25 16:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":192296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:59:30] local.INFO: GPS data processed {"connection_id":192296,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:59:30] local.INFO: Acknowledgment sent {"connection_id":192296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:31] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:31] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 16:59:31] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:59:31] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 16:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 16:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59: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-25 16:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 16:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 16:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 16:59: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-25 16:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 16:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 16:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 16:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 16:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 16:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 16:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 16:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 16:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 16:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 16:59: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-25 16:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 16:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 16:59:31] 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":896101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:59:31] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:59:31] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:33] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:33] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 16:59:33] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 16:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:59:34] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8515520012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8515520012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:59:34] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8515520012d7a334005e45cc8001700532d..."} 
[2026-09-25 16:59:34] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 16:59:34] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 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-25 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325909248001,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335604000,"timestamp_ms":1790335604000,"timestamp_seconds":1790335604,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8515520"} 
[2026-09-25 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-25 16:59:34] 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-25 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 16:59:34] 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-25 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-25 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-25 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325909248001,"66":12613,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325909248001,"description":"Unknown IO ID 0"} 
[2026-09-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325909248001,"power":12613,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 16:59:34] 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":896102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 16:59:34] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-25 16:59:34] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 16:59:53] local.INFO: TCP Data received {"connection_id":195170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:53] local.INFO: Processing buffer {"connection_id":195170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:53] local.INFO: IMEI packet received {"connection_id":195170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 16:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":195170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 16:59:54] local.INFO: TCP Data received {"connection_id":195170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:54] local.INFO: Processing buffer {"connection_id":195170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:54] local.INFO: IMEI packet received {"connection_id":195170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":195170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 16:59:59] local.INFO: TCP Data received {"connection_id":195170,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:59] local.INFO: Processing buffer {"connection_id":195170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 16:59:59] local.INFO: IMEI packet received {"connection_id":195170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":195170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:00:00] local.INFO: TCP Data received {"connection_id":195170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d852c838012d181e000721aa30004d00942c..."} 
[2026-09-25 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d852c838012d181e000721aa30004d00942c..."} 
[2026-09-25 17:00:00] local.INFO: Processing buffer {"connection_id":195170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d852c838012d181e000721aa30004d00942c..."} 
[2026-09-25 17:00:00] local.INFO: Packet analysis {"connection_id":195170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:00:00] local.INFO: Extracted packet for processing {"connection_id":195170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646768,"longitude_deg":75.6555264,"latitude_deg":11.9646768,"altitude":77,"angle":148,"satellites":44,"speed":4,"hex_longitude":"2d181e00","hex_latitude":"0721aa30","is_valid_coordinates":true} 
[2026-09-25 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325938176001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22986385795317760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097038336,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00: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-25 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335699000,"timestamp_ms":1790335699000,"timestamp_seconds":1790335699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d852c838"} 
[2026-09-25 17:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:00:00] 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-25 17:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 17:00:00] 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-25 17:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325938176001,"66":14157,"105":206,"83":41984,"24":4,"16":22986385795317760,"45":1737756168097038336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325938176001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22986385795317760,"km_value":22986385795317.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097038336,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325938176001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737756168097038336}} 
[2026-09-25 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":195170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:00] local.INFO: GPS data processed {"connection_id":195170,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:00] local.INFO: Acknowledgment sent {"connection_id":195170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:00:03] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:00:03] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:00:03] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:00:03] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00: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-25 17:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:00: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-25 17:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:00: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-25 17:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:00:03] 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":896104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:03] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:03] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:00:05] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d851a728012d7a334005e45cc80017005330..."} 
[2026-09-25 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d851a728012d7a334005e45cc80017005330..."} 
[2026-09-25 17:00:05] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d851a728012d7a334005e45cc80017005330..."} 
[2026-09-25 17:00:05] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:00:05] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325914624001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790335625000,"timestamp_ms":1790335625000,"timestamp_seconds":1790335625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d851a728"} 
[2026-09-25 17: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-25 17:00:05] 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-25 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 17:00:05] 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-25 17: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-25 17: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-25 17:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325914624001,"66":12504,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325914624001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325914624001,"power":12504,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:00:05] 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":896105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:05] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:05] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:00:28] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:28] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:28] local.INFO: IMEI packet received {"connection_id":193848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":193848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:00:31] local.INFO: TCP Data received {"connection_id":195170,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8541ff8012d18c58007214800004500b32b..."} 
[2026-09-25 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8541ff8012d18c58007214800004500b32b..."} 
[2026-09-25 17:00:31] local.INFO: Processing buffer {"connection_id":195170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8541ff8012d18c58007214800004500b32b..."} 
[2026-09-25 17:00:31] local.INFO: Packet analysis {"connection_id":195170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:00:31] local.INFO: Extracted packet for processing {"connection_id":195170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119621632,"longitude_deg":75.6598144,"latitude_deg":11.9621632,"altitude":69,"angle":179,"satellites":43,"speed":41,"hex_longitude":"2d18c580","hex_latitude":"07214800","is_valid_coordinates":true} 
[2026-09-25 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325960960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22988924120989696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713398784,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:31] 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-25 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335787000,"timestamp_ms":1790335787000,"timestamp_seconds":1790335787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8541ff8"} 
[2026-09-25 17:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 17:00:31] 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-25 17:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325960960001,"66":14004,"106":206,"83":41984,"24":41,"16":22988924120989696,"45":1784621751713398784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325960960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22988924120989696,"km_value":22988924120989.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713398784,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325960960001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784621751713398784}} 
[2026-09-25 17:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":195170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:31] local.INFO: GPS data processed {"connection_id":195170,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:31] local.INFO: Acknowledgment sent {"connection_id":195170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:00:34] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:34] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:00:34] local.INFO: IMEI packet received {"connection_id":193848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":193848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:00:35] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d851f930012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d851f930012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:00:35] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d851f930012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:00:35] local.INFO: Packet analysis {"connection_id":193848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:00:35] local.INFO: Extracted packet for processing {"connection_id":193848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325920000001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790335646000,"timestamp_ms":1790335646000,"timestamp_seconds":1790335646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d851f930"} 
[2026-09-25 17: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-25 17:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 17:00:35] 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-25 17: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-25 17: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-25 17:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325920000001,"66":11210,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325920000001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325920000001,"power":11210,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:00: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":896107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:35] local.INFO: GPS data processed {"connection_id":193848,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:35] local.INFO: Acknowledgment sent {"connection_id":193848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:00:55] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: IMEI packet received {"connection_id":193849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":193849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:00:55] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:55] local.INFO: IMEI packet received {"connection_id":193849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":193849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:00:58] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:58] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:00:58] local.INFO: IMEI packet received {"connection_id":193849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":193849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:00:59] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8542bb0012d18c70007213c180043009e2b..."} 
[2026-09-25 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8542bb0012d18c70007213c180043009e2b..."} 
[2026-09-25 17:00:59] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8542bb0012d18c70007213c180043009e2b..."} 
[2026-09-25 17:00:59] local.INFO: Packet analysis {"connection_id":193849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:00:59] local.INFO: Extracted packet for processing {"connection_id":193849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618584,"longitude_deg":75.6598528,"latitude_deg":11.9618584,"altitude":67,"angle":158,"satellites":43,"speed":40,"hex_longitude":"2d18c700","hex_latitude":"07213c18","is_valid_coordinates":true} 
[2026-09-25 17:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325961472001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22989074444845056,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433762816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:00:59] 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-25 17:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790335790000,"timestamp_ms":1790335790000,"timestamp_seconds":1790335790,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8542bb0"} 
[2026-09-25 17:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:00: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-25 17:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 17:00:59] 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-25 17:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325961472001,"66":13646,"106":206,"83":41984,"24":40,"16":22989074444845056,"45":1784973595433762816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325961472001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22989074444845056,"km_value":22989074444845.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433762816,"description":"Unknown IO ID 45"} 
[2026-09-25 17:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325961472001,"power":13646,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784973595433762816}} 
[2026-09-25 17:00:59] 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":896108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:00:59] local.INFO: GPS data processed {"connection_id":193849,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:00:59] local.INFO: Acknowledgment sent {"connection_id":193849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:07] local.INFO: TCP Data received {"connection_id":193848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8524b38012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8524b38012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:01:07] local.INFO: Processing buffer {"connection_id":193848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8524b38012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:01:07] local.INFO: Packet analysis {"connection_id":193848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:07] local.INFO: Extracted packet for processing {"connection_id":193848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325925376001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790335667000,"timestamp_ms":1790335667000,"timestamp_seconds":1790335667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8524b38"} 
[2026-09-25 17: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-25 17:01:07] 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-25 17: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":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325925376001,"66":12439,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325925376001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325925376001,"power":12439,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:01: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":896109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:07] local.INFO: GPS data processed {"connection_id":193848,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:07] local.INFO: Acknowledgment sent {"connection_id":193848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:25] local.INFO: TCP Data received {"connection_id":195171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:25] local.INFO: Processing buffer {"connection_id":195171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:25] local.INFO: IMEI packet received {"connection_id":195171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":195171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:01:30] local.INFO: TCP Data received {"connection_id":193849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8543380012d18cac007213530004200932a..."} 
[2026-09-25 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8543380012d18cac007213530004200932a..."} 
[2026-09-25 17:01:30] local.INFO: Processing buffer {"connection_id":193849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8543380012d18cac007213530004200932a..."} 
[2026-09-25 17:01:30] local.INFO: Packet analysis {"connection_id":193849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:01:30] local.INFO: Extracted packet for processing {"connection_id":193849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119616816,"longitude_deg":75.6599488,"latitude_deg":11.9616816,"altitude":66,"angle":147,"satellites":42,"speed":39,"hex_longitude":"2d18cac0","hex_latitude":"07213530","is_valid_coordinates":true} 
[2026-09-25 17:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325962240001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22989173229092864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898048512,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:30] 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-25 17:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790335792000,"timestamp_ms":1790335792000,"timestamp_seconds":1790335792,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8543380"} 
[2026-09-25 17:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325962240001,"66":14004,"106":206,"83":41984,"24":39,"16":22989173229092864,"45":1785395807898048512},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325962240001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22989173229092864,"km_value":22989173229092.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898048512,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325962240001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1785395807898048512}} 
[2026-09-25 17:01:30] 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":896110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:30] local.INFO: GPS data processed {"connection_id":193849,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:30] local.INFO: Acknowledgment sent {"connection_id":193849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:31] local.INFO: TCP Data received {"connection_id":195171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:31] local.INFO: Processing buffer {"connection_id":195171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:01:31] local.INFO: IMEI packet received {"connection_id":195171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":195171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:01:32] local.INFO: TCP Data received {"connection_id":195171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:01:32] local.INFO: Processing buffer {"connection_id":195171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:01:32] local.INFO: Packet analysis {"connection_id":195171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:01:32] local.INFO: Extracted packet for processing {"connection_id":195171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":195171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:32] local.INFO: GPS data processed {"connection_id":195171,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:32] local.INFO: Acknowledgment sent {"connection_id":195171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:32] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:01:32] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:01:32] local.INFO: IMEI packet received {"connection_id":192299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":192299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:01:34] local.INFO: TCP Data received {"connection_id":192299,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85112b8012d0b138007029ed80016004c18..."} 
[2026-09-25 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85112b8012d0b138007029ed80016004c18..."} 
[2026-09-25 17:01:34] local.INFO: Processing buffer {"connection_id":192299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85112b8012d0b138007029ed80016004c18..."} 
[2026-09-25 17:01:34] local.INFO: Packet analysis {"connection_id":192299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:01:34] local.INFO: Extracted packet for processing {"connection_id":192299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d851"} 
[2026-09-25 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":22,"angle":76,"satellites":24,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325833216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571800576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335587000,"timestamp_ms":1790335587000,"timestamp_seconds":1790335587,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85112b8"} 
[2026-09-25 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-25 17:01:34] 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-25 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:34] 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-25 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-25 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-25 17:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192299,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325833216001,"66":12819,"147":206,"94":11008,"24":0,"16":33911159098703872,"45":798122326571800576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 17:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325833216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571800576,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325833216001,"power":12819,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571800576}} 
[2026-09-25 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":192299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:34] local.INFO: GPS data processed {"connection_id":192299,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:34] local.INFO: Acknowledgment sent {"connection_id":192299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:36] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:36] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:36] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:01:37] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:37] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:01:37] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:01:38] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8529d40012d7a334005e45cc80017005330..."} 
[2026-09-25 17:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8529d40012d7a334005e45cc80017005330..."} 
[2026-09-25 17:01:38] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8529d40012d7a334005e45cc80017005330..."} 
[2026-09-25 17:01:38] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:38] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325930752001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790335688000,"timestamp_ms":1790335688000,"timestamp_seconds":1790335688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8529d40"} 
[2026-09-25 17:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:38] 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-25 17:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325930752001,"66":11308,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325930752001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:01:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325930752001,"power":11308,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:01:38] 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":896113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:38] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:38] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:40] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d852ef48012d7a334005e45cc8001700532d..."} 
[2026-09-25 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d852ef48012d7a334005e45cc8001700532d..."} 
[2026-09-25 17:01:40] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d852ef48012d7a334005e45cc8001700532d..."} 
[2026-09-25 17:01:40] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:40] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d852"} 
[2026-09-25 17:01:40] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325936128001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790335709000,"timestamp_ms":1790335709000,"timestamp_seconds":1790335709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d852ef48"} 
[2026-09-25 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-25 17:01:40] 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-25 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":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-25 17:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325936128001,"66":12363,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325936128001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:01:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325936128001,"power":12363,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:01:40] 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":896114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:01:40] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:01:40] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:01:54] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:54] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:54] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:01:58] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:58] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:58] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:01:59] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:59] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:01:59] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:02:00] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85519f8012d196d800720ace8002e00492c..."} 
[2026-09-25 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85519f8012d196d800720ace8002e00492c..."} 
[2026-09-25 17:02:00] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85519f8012d196d800720ace8002e00492c..."} 
[2026-09-25 17:02:00] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:00] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":756641152,"raw_latitude":119581928,"longitude_deg":75.6641152,"latitude_deg":11.9581928,"altitude":46,"angle":73,"satellites":44,"speed":37,"hex_longitude":"2d196d80","hex_latitude":"0720ace8","is_valid_coordinates":true} 
[2026-09-25 17:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325976320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22992085216919552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825928204534835200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02: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-25 17:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335851000,"timestamp_ms":1790335851000,"timestamp_seconds":1790335851,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85519f8"} 
[2026-09-25 17:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325976320001,"66":14374,"103":206,"83":41984,"24":37,"16":22992085216919552,"45":1825928204534835200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325976320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22992085216919552,"km_value":22992085216919.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825928204534835200,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325976320001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1825928204534835200}} 
[2026-09-25 17:02:00] 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":896115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:00] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:00] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:03] local.INFO: TCP Data received {"connection_id":195171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:03] local.INFO: Processing buffer {"connection_id":195171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:03] local.INFO: Packet analysis {"connection_id":195171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:02:03] local.INFO: Extracted packet for processing {"connection_id":195171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02: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-25 17:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:02: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-25 17:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:02: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-25 17:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":195171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:03] local.INFO: GPS data processed {"connection_id":195171,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:03] local.INFO: Acknowledgment sent {"connection_id":195171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:04] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8556c00012d198a400720b3c00033004726..."} 
[2026-09-25 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8556c00012d198a400720b3c00033004726..."} 
[2026-09-25 17:02:04] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8556c00012d198a400720b3c00033004726..."} 
[2026-09-25 17:02:04] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:04] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756648512,"raw_latitude":119583680,"longitude_deg":75.6648512,"latitude_deg":11.958368,"altitude":51,"angle":71,"satellites":38,"speed":0,"hex_longitude":"2d198a40","hex_latitude":"0720b3c0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325977856001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22992445994172416,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832261391510988800,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790335872000,"timestamp_ms":1790335872000,"timestamp_seconds":1790335872,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8556c00"} 
[2026-09-25 17: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-25 17:02:04] 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-25 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325977856001,"66":14048,"103":206,"83":41984,"24":0,"16":22992445994172416,"45":1832261391510988800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325977856001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22992445994172416,"km_value":22992445994172.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832261391510988800,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325977856001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832261391510988800}} 
[2026-09-25 17:02:05] 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":896117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:05] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:05] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:11] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8534150012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8534150012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:11] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8534150012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:11] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:11] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:11] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325941504001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790335730000,"timestamp_ms":1790335730000,"timestamp_seconds":1790335730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8534150"} 
[2026-09-25 17:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:02:11] 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-25 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:11] 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-25 17:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325941504001,"66":12341,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325941504001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:02:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325941504001,"power":12341,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:02:11] 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":896118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:11] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:11] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:18] local.INFO: TCP Data received {"connection_id":195173,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:18] local.INFO: Processing buffer {"connection_id":195173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:18] local.INFO: IMEI packet received {"connection_id":195173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":195173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:02:24] local.INFO: TCP Data received {"connection_id":195173,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195173,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:24] local.INFO: Processing buffer {"connection_id":195173,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:02:24] local.INFO: IMEI packet received {"connection_id":195173,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":195173,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:02:25] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:25] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:25] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:02:27] local.INFO: TCP Data received {"connection_id":195173,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:02:27] local.INFO: Processing buffer {"connection_id":195173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:02:27] local.INFO: Packet analysis {"connection_id":195173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:27] local.INFO: Extracted packet for processing {"connection_id":195173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":22,"angle":76,"satellites":27,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 17:02: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-25 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325910272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571800576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] 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-25 17:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790335714000,"timestamp_ms":1790335714000,"timestamp_seconds":1790335714,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85302d0"} 
[2026-09-25 17:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628559864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":128,"raw_value":3659901016477440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504117065220096,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5143744098205369088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778199800512446488,"corrected_to":0} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":194164957590362908,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-8574627886617538978,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195420672,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84736064765756091,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,147,94,24,241,157,16,122,160,45,128,158,20,10,66,17,219,18,28,240,114,227,216,2,4,113,205,3,149,248,239,1,56,120,7,14,54,43,195,69,208],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":6778199800512446488,"validated":0}]} 
[2026-09-25 17:02:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585350734797340672,"timestamp_seconds":1585350734797340.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325910272001,"66":12809,"36":206,"94":11008,"24":0,"16":33911159098703872,"45":798122326571800576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-25 17:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325910272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:27] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 17:02:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571800576,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325910272001,"power":12809,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571800576}} 
[2026-09-25 17:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":195173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:27] local.INFO: GPS data processed {"connection_id":195173,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:27] local.INFO: Acknowledgment sent {"connection_id":195173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:28] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:28] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:28] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:02:30] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:30] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:02:30] local.INFO: IMEI packet received {"connection_id":193850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":193850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:02:31] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:31] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:02:31] local.INFO: Packet analysis {"connection_id":193850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:02:31] local.INFO: Extracted packet for processing {"connection_id":193850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02: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-25 17:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:02: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-25 17:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:02: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-25 17:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":193850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:31] local.INFO: GPS data processed {"connection_id":193850,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:31] local.INFO: Acknowledgment sent {"connection_id":193850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:33] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:33] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:02:33] local.INFO: IMEI packet received {"connection_id":192300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":192300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:02:34] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8539358012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8539358012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:34] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8539358012d7a334005e45cc80017005330..."} 
[2026-09-25 17:02:34] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:34] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325946880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335751000,"timestamp_ms":1790335751000,"timestamp_seconds":1790335751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8539358"} 
[2026-09-25 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-25 17:02:34] 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-25 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:34] 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-25 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-25 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-25 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325946880001,"66":12298,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325946880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:02:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325946880001,"power":12298,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:34] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:34] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:35] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d855fc88012d198b000720b2c8003701022c..."} 
[2026-09-25 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d855fc88012d198b000720b2c8003701022c..."} 
[2026-09-25 17:02:35] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d855fc88012d198b000720b2c8003701022c..."} 
[2026-09-25 17:02:35] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:35] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583432,"longitude_deg":75.6648704,"latitude_deg":11.9583432,"altitude":55,"angle":258,"satellites":44,"speed":5,"hex_longitude":"2d198b00","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325991680001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22992665037504512,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841268590766110720,"note":"Value kept but may cause issues"} 
[2026-09-25 17:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790335909000,"timestamp_ms":1790335909000,"timestamp_seconds":1790335909,"priority":1,"record_length":96,"hex_timestamp":"000001a0d855fc88"} 
[2026-09-25 17: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-25 17:02:35] 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-25 17: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 17:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325991680001,"66":14396,"103":206,"83":41984,"24":5,"16":22992665037504512,"45":1841268590766110720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325991680001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:02:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22992665037504512,"km_value":22992665037504.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841268590766110720,"description":"Unknown IO ID 45"} 
[2026-09-25 17:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325991680001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1841268590766110720}} 
[2026-09-25 17:02: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":896122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:02:35] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:02:35] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:02:54] local.INFO: TCP Data received {"connection_id":193851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:54] local.INFO: Processing buffer {"connection_id":193851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:54] local.INFO: IMEI packet received {"connection_id":193851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":193851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:02:59] local.INFO: TCP Data received {"connection_id":193851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:59] local.INFO: Processing buffer {"connection_id":193851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:02:59] local.INFO: IMEI packet received {"connection_id":193851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":193851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:03:00] local.INFO: TCP Data received {"connection_id":193851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8560070012d198ac00720b2b0003700f52c..."} 
[2026-09-25 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8560070012d198ac00720b2b0003700f52c..."} 
[2026-09-25 17:03:00] local.INFO: Processing buffer {"connection_id":193851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8560070012d198ac00720b2b0003700f52c..."} 
[2026-09-25 17:03:00] local.INFO: Packet analysis {"connection_id":193851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:03:00] local.INFO: Extracted packet for processing {"connection_id":193851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119583408,"longitude_deg":75.664864,"latitude_deg":11.9583408,"altitude":55,"angle":245,"satellites":44,"speed":5,"hex_longitude":"2d198ac0","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-09-25 17:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325992704001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22992669332471808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324338176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790335910000,"timestamp_ms":1790335910000,"timestamp_seconds":1790335910,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8560070"} 
[2026-09-25 17:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325992704001,"66":14396,"103":206,"83":41984,"24":5,"16":22992669332471808,"45":1840564903324338176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325992704001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22992669332471808,"km_value":22992669332471.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324338176,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325992704001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1840564903324338176}} 
[2026-09-25 17:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":193851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:00] local.INFO: GPS data processed {"connection_id":193851,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:00] local.INFO: Acknowledgment sent {"connection_id":193851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:03] local.INFO: TCP Data received {"connection_id":193850,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:03] local.INFO: Processing buffer {"connection_id":193850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:03] local.INFO: Packet analysis {"connection_id":193850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:03:03] local.INFO: Extracted packet for processing {"connection_id":193850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03: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-25 17:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:03: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-25 17:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:03: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-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":193850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:03] local.INFO: GPS data processed {"connection_id":193850,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:03] local.INFO: Acknowledgment sent {"connection_id":193850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:05] local.INFO: TCP Data received {"connection_id":192300,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d853e560012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d853e560012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:05] local.INFO: Processing buffer {"connection_id":192300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d853e560012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:05] local.INFO: Packet analysis {"connection_id":192300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:03:05] local.INFO: Extracted packet for processing {"connection_id":192300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:03:05] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325952256001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790335772000,"timestamp_ms":1790335772000,"timestamp_seconds":1790335772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d853e560"} 
[2026-09-25 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-25 17:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2859410692456482253,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424566278944391251,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":23,"raw_value":23415199625117696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563990556410062,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-09-25 17:03:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1507411,"corrected_to":0} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3389050189,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222339584,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831285760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,95,87,24,241,157,16,192,160,65,45,64,92,23,48,10,66,239,1,240,44,227,216,228,4,113,205,249,51,200,47,43,2,226,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0},{"io_id":200,"original":1507411,"validated":0}]} 
[2026-09-25 17:03:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657416128495878144,"timestamp_seconds":1657416128495878.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 17:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325952256001,"66":12319,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325952256001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:03:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325952256001,"power":12319,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":192300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:05] local.INFO: GPS data processed {"connection_id":192300,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:05] local.INFO: Acknowledgment sent {"connection_id":192300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:25] local.INFO: TCP Data received {"connection_id":195174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:25] local.INFO: Processing buffer {"connection_id":195174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:25] local.INFO: IMEI packet received {"connection_id":195174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":195174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:03:30] local.INFO: TCP Data received {"connection_id":195174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:30] local.INFO: Processing buffer {"connection_id":195174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:03:30] local.INFO: IMEI packet received {"connection_id":195174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":195174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:03:31] local.INFO: TCP Data received {"connection_id":193851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8560840012d1989c00720b280003801042c..."} 
[2026-09-25 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8560840012d1989c00720b280003801042c..."} 
[2026-09-25 17:03:31] local.INFO: Processing buffer {"connection_id":193851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8560840012d1989c00720b280003801042c..."} 
[2026-09-25 17:03:31] local.INFO: Packet analysis {"connection_id":193851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:03:31] local.INFO: Extracted packet for processing {"connection_id":193851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756648384,"raw_latitude":119583360,"longitude_deg":75.6648384,"latitude_deg":11.958336,"altitude":56,"angle":260,"satellites":44,"speed":2,"hex_longitude":"2d1989c0","hex_latitude":"0720b280","is_valid_coordinates":true} 
[2026-09-25 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325992960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22992677922406400,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534580154368,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03: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-25 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335912000,"timestamp_ms":1790335912000,"timestamp_seconds":1790335912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8560840"} 
[2026-09-25 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:31] 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-25 17:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325992960001,"66":13820,"103":206,"83":41984,"24":2,"16":22992677922406400,"45":1840494534580154368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325992960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22992677922406400,"km_value":22992677922406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534580154368,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325992960001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1840494534580154368}} 
[2026-09-25 17:03:31] local.INFO: TCP Data received {"connection_id":195174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:31] local.INFO: Processing buffer {"connection_id":195174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:03:31] local.INFO: Packet analysis {"connection_id":195174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:03:31] local.INFO: Extracted packet for processing {"connection_id":195174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03: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-25 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:03: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-25 17:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:03: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-25 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":195174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:31] local.INFO: GPS data processed {"connection_id":195174,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:31] local.INFO: Acknowledgment sent {"connection_id":195174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":193851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:31] local.INFO: GPS data processed {"connection_id":193851,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:31] local.INFO: Acknowledgment sent {"connection_id":193851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:32] local.INFO: TCP Data received {"connection_id":195175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: Processing buffer {"connection_id":195175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: IMEI packet received {"connection_id":195175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":195175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:03:32] local.INFO: TCP Data received {"connection_id":195175,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: Processing buffer {"connection_id":195175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:03:32] local.INFO: IMEI packet received {"connection_id":195175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":195175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:03:33] local.INFO: TCP Data received {"connection_id":195175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8543768012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8543768012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:33] local.INFO: Processing buffer {"connection_id":195175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8543768012d7a334005e45cc80017005330..."} 
[2026-09-25 17:03:33] local.INFO: Packet analysis {"connection_id":195175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:03:33] local.INFO: Extracted packet for processing {"connection_id":195175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325957632001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790335793000,"timestamp_ms":1790335793000,"timestamp_seconds":1790335793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8543768"} 
[2026-09-25 17: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-25 17:03:33] 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-25 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:33] 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-25 17: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-25 17: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-25 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325957632001,"66":12298,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325957632001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:03:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325957632001,"power":12298,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":195175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:33] local.INFO: GPS data processed {"connection_id":195175,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:33] local.INFO: Acknowledgment sent {"connection_id":195175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:34] local.INFO: TCP Data received {"connection_id":195173,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:03:34] local.INFO: Processing buffer {"connection_id":195173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85302d0012d0b138007029ed80016004c1b..."} 
[2026-09-25 17:03:34] local.INFO: Packet analysis {"connection_id":195173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:03:34] local.INFO: Extracted packet for processing {"connection_id":195173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:03:34] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612248,"longitude_deg":75.5700608,"latitude_deg":11.7612248,"altitude":22,"angle":76,"satellites":27,"speed":0,"hex_longitude":"2d0b1380","hex_latitude":"07029ed8","is_valid_coordinates":true} 
[2026-09-25 17:03:34] 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-25 17:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325942784001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571800576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] 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-25 17:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790335714000,"timestamp_ms":1790335714000,"timestamp_seconds":1790335714,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85302d0"} 
[2026-09-25 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-25 17:03:34] 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-25 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628569864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5147042633088697856,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2684431627,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3221684893,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":56,"raw_value":8214791524219670110,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":192924708491005212,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,36,94,24,241,157,16,122,160,18,45,128,158,22,10,66,147,20,17,219,240,114,227,216,2,4,113,205,3,207,19,192,28,239,1,56,120,7,11,43,242],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-25 17:03:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585350747682242799,"timestamp_seconds":1585350747682242.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 17:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195173,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325942784001,"66":12809,"36":206,"94":11008,"24":0,"16":33911159098703872,"45":798122326571800576},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-25 17:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325942784001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 17:03:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571800576,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325942784001,"power":12809,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571800576}} 
[2026-09-25 17:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":195173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896129,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:34] local.INFO: GPS data processed {"connection_id":195173,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:34] local.INFO: Acknowledgment sent {"connection_id":195173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:39] local.INFO: TCP Data received {"connection_id":195175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8548970012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8548970012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:03:39] local.INFO: Processing buffer {"connection_id":195175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8548970012d7a334005e45cc8001700532e..."} 
[2026-09-25 17:03:39] local.INFO: Packet analysis {"connection_id":195175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:03:39] local.INFO: Extracted packet for processing {"connection_id":195175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:03:39] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325963008001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790335814000,"timestamp_ms":1790335814000,"timestamp_seconds":1790335814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8548970"} 
[2026-09-25 17: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-25 17:03:39] 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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1224979098644774913,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2859230303830050253,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424566278944391251,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":23,"raw_value":23413000601862144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3501268117070217422,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-09-25 17:03:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1507411,"corrected_to":0} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222339584,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831285760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:03:39] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,95,87,24,241,157,16,192,160,229,45,64,92,23,48,10,66,147,65,1,240,53,227,216,228,4,113,205,51,200,239,44,2,226,5,47],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0},{"io_id":200,"original":1507411,"validated":0}]} 
[2026-09-25 17:03:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657416128495878144,"timestamp_seconds":1657416128495878.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":195175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325963008001,"66":12287,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325963008001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:03:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:03:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325963008001,"power":12287,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":195175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:03:39] local.INFO: GPS data processed {"connection_id":195175,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:03:39] local.INFO: Acknowledgment sent {"connection_id":195175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:03:57] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:03:57] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:03:57] local.INFO: IMEI packet received {"connection_id":192482,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":192482,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:03:58] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:58] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:58] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:03:59] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:59] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:03:59] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:04:00] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:00] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:00] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:04:01] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8565a48012d1969000720ab18003501042a..."} 
[2026-09-25 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8565a48012d1969000720ab18003501042a..."} 
[2026-09-25 17:04:01] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8565a48012d1969000720ab18003501042a..."} 
[2026-09-25 17:04:01] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:04:01] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119581464,"longitude_deg":75.664,"latitude_deg":11.9581464,"altitude":53,"angle":260,"satellites":42,"speed":10,"hex_longitude":"2d196900","hex_latitude":"0720ab18","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325993472001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22993090239266816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840213059603431424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790335933000,"timestamp_ms":1790335933000,"timestamp_seconds":1790335933,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8565a48"} 
[2026-09-25 17: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-25 17:04:01] 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-25 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 17:04:01] 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-25 17: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-25 17: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-25 17:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325993472001,"66":14298,"103":206,"83":41984,"24":10,"16":22993090239266816,"45":1840213059603431424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325993472001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22993090239266816,"km_value":22993090239266.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840213059603431424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325993472001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1840213059603431424}} 
[2026-09-25 17:04:01] 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":896131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:01] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:01] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:02] local.INFO: TCP Data received {"connection_id":195174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:02] local.INFO: Processing buffer {"connection_id":195174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:02] local.INFO: Packet analysis {"connection_id":195174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:04:02] local.INFO: Extracted packet for processing {"connection_id":195174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04: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-25 17:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:04: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-25 17:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":195174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:02] local.INFO: GPS data processed {"connection_id":195174,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:02] local.INFO: Acknowledgment sent {"connection_id":195174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:14] local.INFO: TCP Data received {"connection_id":195175,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d854db78012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d854db78012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:04:14] local.INFO: Processing buffer {"connection_id":195175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d854db78012d7a334005e45cc8001700532f..."} 
[2026-09-25 17:04:14] local.INFO: Packet analysis {"connection_id":195175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:04:14] local.INFO: Extracted packet for processing {"connection_id":195175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d854"} 
[2026-09-25 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":762983232,"raw_latitude":98852040,"longitude_deg":76.2983232,"latitude_deg":9.885204,"altitude":23,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3340","hex_latitude":"05e45cc8","is_valid_coordinates":true} 
[2026-09-25 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325968384001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882118021513216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790335835000,"timestamp_ms":1790335835000,"timestamp_seconds":1790335835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d854db78"} 
[2026-09-25 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:04:14] 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-25 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 17:04:14] 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-25 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":195175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":195175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325968384001,"66":12232,"95":206,"87":13824,"24":0,"16":135882118021513216,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325968384001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:04:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882118021513216,"km_value":135882118021513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325968384001,"power":12232,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":195175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:14] local.INFO: GPS data processed {"connection_id":195175,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:14] local.INFO: Acknowledgment sent {"connection_id":195175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:25] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:25] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:25] local.INFO: IMEI packet received {"connection_id":193853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":193853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:04:27] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:27] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:27] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:04:28] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:28] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:28] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:04:30] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:30] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:04:30] local.INFO: IMEI packet received {"connection_id":193853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":193853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:04:31] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:31] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:04:31] local.INFO: Packet analysis {"connection_id":193853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:04:31] local.INFO: Extracted packet for processing {"connection_id":193853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04: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-25 17:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:04: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-25 17:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:04:31] local.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-25 17:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:04: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-25 17:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:04:31] 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":896134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:31] local.INFO: GPS data processed {"connection_id":193853,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:31] local.INFO: Acknowledgment sent {"connection_id":193853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:32] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85767d0012d18d50007210370003d01542b..."} 
[2026-09-25 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85767d0012d18d50007210370003d01542b..."} 
[2026-09-25 17:04:32] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85767d0012d18d50007210370003d01542b..."} 
[2026-09-25 17:04:32] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:04:32] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119604080,"longitude_deg":75.6602112,"latitude_deg":11.960408,"altitude":61,"angle":340,"satellites":43,"speed":28,"hex_longitude":"2d18d500","hex_latitude":"07210370","is_valid_coordinates":true} 
[2026-09-25 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326016000001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22995323622260736,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265539584,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790336002000,"timestamp_ms":1790336002000,"timestamp_seconds":1790336002,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85767d0"} 
[2026-09-25 17:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:04:32] 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-25 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993499832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3629565864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950482341888,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3415736373,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2969698304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751777903616171,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.WARNING: Large IO value detected {"io_id":176,"raw_value":14356461467476224,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:32] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,103,83,24,241,157,16,178,160,80,45,192,245,60,44,10,66,177,53,128,225,58,43,41,1,240,218,227,216,32,4,113,205,31,242,28,239,54,2,81,7,49,34,206,8,176],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 17:04:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395874065107976192,"timestamp_seconds":4395874065107976.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326016000001,"66":14265,"103":206,"83":41984,"24":28,"16":22995323622260736,"45":1789969776265539584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326016000001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22995323622260736,"km_value":22995323622260.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265539584,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326016000001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1789969776265539584}} 
[2026-09-25 17:04:32] 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":896135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:32] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:32] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:33] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:33] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:04:33] local.INFO: IMEI packet received {"connection_id":192302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":192302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:04:33] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8552d80012d7a344005e46058002100532f..."} 
[2026-09-25 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8552d80012d7a344005e46058002100532f..."} 
[2026-09-25 17:04:33] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8552d80012d7a344005e46058002100532f..."} 
[2026-09-25 17:04:33] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:04:33] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325973760001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805452090489751552,"note":"Value kept but may cause issues"} 
[2026-09-25 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790335856000,"timestamp_ms":1790335856000,"timestamp_seconds":1790335856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8552d80"} 
[2026-09-25 17: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-25 17:04:33] 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-25 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 17:04:33] 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-25 17: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-25 17: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-25 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325973760001,"66":12287,"95":206,"87":13824,"24":0,"16":135882160971186176,"45":8805452090489751552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325973760001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:04:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805452090489751552,"description":"Unknown IO ID 45"} 
[2026-09-25 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325973760001,"power":12287,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805452090489751552}} 
[2026-09-25 17:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:04:33] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:04:33] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:04:44] local.INFO: TCP Data received {"connection_id":192301,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:04:44] local.INFO: Processing buffer {"connection_id":192301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:04:44] local.INFO: IMEI packet received {"connection_id":192301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":192301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:04:54] local.INFO: TCP Data received {"connection_id":193854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:54] local.INFO: Processing buffer {"connection_id":193854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:54] local.INFO: IMEI packet received {"connection_id":193854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":193854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:04:57] local.INFO: TCP Data received {"connection_id":193855,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:04:57] local.INFO: Processing buffer {"connection_id":193855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:04:57] local.INFO: IMEI packet received {"connection_id":193855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":193855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:04:59] local.INFO: TCP Data received {"connection_id":193854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:59] local.INFO: Processing buffer {"connection_id":193854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:04:59] local.INFO: IMEI packet received {"connection_id":193854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":193854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:00] local.INFO: TCP Data received {"connection_id":193854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d857b5f0012d18d140072115a0003f00012a..."} 
[2026-09-25 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d857b5f0012d18d140072115a0003f00012a..."} 
[2026-09-25 17:05:00] local.INFO: Processing buffer {"connection_id":193854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d857b5f0012d18d140072115a0003f00012a..."} 
[2026-09-25 17:05:00] local.INFO: Packet analysis {"connection_id":193854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:00] local.INFO: Extracted packet for processing {"connection_id":193854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119608736,"longitude_deg":75.6601152,"latitude_deg":11.9608736,"altitude":63,"angle":1,"satellites":42,"speed":5,"hex_longitude":"2d18d140","hex_latitude":"072115a0","is_valid_coordinates":true} 
[2026-09-25 17:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326016512001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22995572730363904,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568284672,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336022000,"timestamp_ms":1790336022000,"timestamp_seconds":1790336022,"priority":1,"record_length":96,"hex_timestamp":"000001a0d857b5f0"} 
[2026-09-25 17:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326016512001,"66":14363,"103":206,"83":41984,"24":5,"16":22995572730363904,"45":1789336457568284672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326016512001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22995572730363904,"km_value":22995572730363.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568284672,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326016512001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1789336457568284672}} 
[2026-09-25 17:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":193854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:00] local.INFO: GPS data processed {"connection_id":193854,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:00] local.INFO: Acknowledgment sent {"connection_id":193854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:02] local.INFO: TCP Data received {"connection_id":193853,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:02] local.INFO: Processing buffer {"connection_id":193853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:02] local.INFO: Packet analysis {"connection_id":193853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:05:02] local.INFO: Extracted packet for processing {"connection_id":193853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05: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-25 17:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:05:02] local.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-25 17:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:05:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:05: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-25 17:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:05:02] 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":896138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:02] local.INFO: GPS data processed {"connection_id":193853,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:02] local.INFO: Acknowledgment sent {"connection_id":193853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:03] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:03] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:03] local.INFO: IMEI packet received {"connection_id":193856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":193856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:05:05] local.INFO: TCP Data received {"connection_id":192302,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8557f88012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8557f88012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:05] local.INFO: Processing buffer {"connection_id":192302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8557f88012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:05] local.INFO: Packet analysis {"connection_id":192302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:05:05] local.INFO: Extracted packet for processing {"connection_id":192302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325979136001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790335877000,"timestamp_ms":1790335877000,"timestamp_seconds":1790335877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8557f88"} 
[2026-09-25 17: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-25 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:05] 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-25 17: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-25 17: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-25 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325979136001,"66":12232,"95":206,"87":13824,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325979136001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:05:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325979136001,"power":12232,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":192302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:05] local.INFO: GPS data processed {"connection_id":192302,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:05] local.INFO: Acknowledgment sent {"connection_id":192302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:09] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:09] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:09] local.INFO: IMEI packet received {"connection_id":193856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-25 17:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":193856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:11] local.INFO: TCP Data received {"connection_id":193856,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0d84acd40012d34c3c006aa4b60000a010f28..."} 
[2026-09-25 17:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d84acd40012d34c3c006aa4b60000a010f28..."} 
[2026-09-25 17:05:11] local.INFO: Processing buffer {"connection_id":193856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d84acd40012d34c3c006aa4b60000a010f28..."} 
[2026-09-25 17:05:11] local.INFO: Packet analysis {"connection_id":193856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 17:05:11] local.INFO: Extracted packet for processing {"connection_id":193856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d84a"} 
[2026-09-25 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823712,"longitude_deg":75.8432704,"latitude_deg":11.1823712,"altitude":10,"angle":271,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-09-25 17:05: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-25 17:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325728000001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3608279334780928,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290233856,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05: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-25 17:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790335176000,"timestamp_ms":1790335176000,"timestamp_seconds":1790335176,"priority":1,"record_length":96,"hex_timestamp":"000001a0d84acd40"} 
[2026-09-25 17:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:05: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-25 17:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":193856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":193856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 17:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":193856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-25 17:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-25 17:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-25 17:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325728000001,"66":26299,"97":206,"81":23296,"24":0,"16":3608279334780928,"45":3802093645290233856},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-25 17:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-25 17:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325728000001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3608279334780928,"km_value":3608279334780.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290233856,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325728000001,"power":26299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645290233856}} 
[2026-09-25 17:05:11] 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":896140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:11] local.INFO: GPS data processed {"connection_id":193856,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:11] local.INFO: Acknowledgment sent {"connection_id":193856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:24] local.INFO: TCP Data received {"connection_id":195176,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:24] local.INFO: Processing buffer {"connection_id":195176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:24] local.INFO: IMEI packet received {"connection_id":195176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":195176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:05:27] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:27] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:27] local.INFO: IMEI packet received {"connection_id":193857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":193857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:05:30] local.INFO: TCP Data received {"connection_id":195176,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:30] local.INFO: Processing buffer {"connection_id":195176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:05:30] local.INFO: IMEI packet received {"connection_id":195176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":195176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:31] local.INFO: TCP Data received {"connection_id":195176,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:31] local.INFO: Processing buffer {"connection_id":195176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:05:31] local.INFO: Packet analysis {"connection_id":195176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:05:31] local.INFO: Extracted packet for processing {"connection_id":195176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05: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-25 17:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:05: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-25 17:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:05: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-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":195176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:31] local.INFO: GPS data processed {"connection_id":195176,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:31] local.INFO: Acknowledgment sent {"connection_id":195176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:31] local.INFO: TCP Data received {"connection_id":193854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d857e0e8012d18d100072128800041015c2c..."} 
[2026-09-25 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d857e0e8012d18d100072128800041015c2c..."} 
[2026-09-25 17:05:31] local.INFO: Processing buffer {"connection_id":193854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d857e0e8012d18d100072128800041015c2c..."} 
[2026-09-25 17:05:31] local.INFO: Packet analysis {"connection_id":193854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:31] local.INFO: Extracted packet for processing {"connection_id":193854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119613568,"longitude_deg":75.6601088,"latitude_deg":11.9613568,"altitude":65,"angle":348,"satellites":44,"speed":22,"hex_longitude":"2d18d100","hex_latitude":"07212880","is_valid_coordinates":true} 
[2026-09-25 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326021632001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22995804658597888,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406811648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336033000,"timestamp_ms":1790336033000,"timestamp_seconds":1790336033,"priority":1,"record_length":96,"hex_timestamp":"000001a0d857e0e8"} 
[2026-09-25 17:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:31] 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-25 17:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326021632001,"66":14048,"103":206,"83":41984,"24":22,"16":22995804658597888,"45":1788280926406811648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326021632001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22995804658597888,"km_value":22995804658597.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406811648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326021632001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1788280926406811648}} 
[2026-09-25 17:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":193854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:31] local.INFO: GPS data processed {"connection_id":193854,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:31] local.INFO: Acknowledgment sent {"connection_id":193854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:31] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:31] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:31] local.INFO: IMEI packet received {"connection_id":193857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":193857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:32] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:32] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:05:32] local.INFO: IMEI packet received {"connection_id":193857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":193857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:33] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d855d190012d7a344005e46058002100532e..."} 
[2026-09-25 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d855d190012d7a344005e46058002100532e..."} 
[2026-09-25 17:05:33] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d855d190012d7a344005e46058002100532e..."} 
[2026-09-25 17:05:33] local.INFO: Packet analysis {"connection_id":193857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:05:33] local.INFO: Extracted packet for processing {"connection_id":193857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d855"} 
[2026-09-25 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325984512001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790335898000,"timestamp_ms":1790335898000,"timestamp_seconds":1790335898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d855d190"} 
[2026-09-25 17: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-25 17:05:33] 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-25 17: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:33] 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-25 17: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-25 17: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-25 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325984512001,"66":12156,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325984512001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325984512001,"power":12156,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:05:33] 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":896143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:33] local.INFO: GPS data processed {"connection_id":193857,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:33] local.INFO: Acknowledgment sent {"connection_id":193857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:38] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8562398012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8562398012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:38] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8562398012d7a344005e46058002100532f..."} 
[2026-09-25 17:05:38] local.INFO: Packet analysis {"connection_id":193857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:05:38] local.INFO: Extracted packet for processing {"connection_id":193857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:05:38] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325989888001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790335919000,"timestamp_ms":1790335919000,"timestamp_seconds":1790335919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8562398"} 
[2026-09-25 17:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:38] 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-25 17:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:38] 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-25 17:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325989888001,"66":12232,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325989888001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:05:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325989888001,"power":12232,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:05:38] 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":896144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:38] local.INFO: GPS data processed {"connection_id":193857,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:38] local.INFO: Acknowledgment sent {"connection_id":193857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:54] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:54] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:54] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:05:57] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:57] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:05:57] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:05:58] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d857e8b8012d18cf4007212ce00041014a2c..."} 
[2026-09-25 17:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d857e8b8012d18cf4007212ce00041014a2c..."} 
[2026-09-25 17:05:58] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d857e8b8012d18cf4007212ce00041014a2c..."} 
[2026-09-25 17:05:58] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:58] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d857"} 
[2026-09-25 17:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119614688,"longitude_deg":75.660064,"latitude_deg":11.9614688,"altitude":65,"angle":330,"satellites":44,"speed":25,"hex_longitude":"2d18cf40","hex_latitude":"07212ce0","is_valid_coordinates":true} 
[2026-09-25 17:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326024448001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22995864788140032,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663870976,"note":"Value kept but may cause issues"} 
[2026-09-25 17:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790336035000,"timestamp_ms":1790336035000,"timestamp_seconds":1790336035,"priority":1,"record_length":96,"hex_timestamp":"000001a0d857e8b8"} 
[2026-09-25 17:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:05:58] 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-25 17:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 17:05:58] 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-25 17:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326024448001,"66":13646,"103":206,"83":41984,"24":25,"16":22995864788140032,"45":1788210557663870976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326024448001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:05:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22995864788140032,"km_value":22995864788140.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663870976,"description":"Unknown IO ID 45"} 
[2026-09-25 17:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326024448001,"power":13646,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788210557663870976}} 
[2026-09-25 17:05:58] 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":896145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:05:58] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:05:58] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:05:59] local.INFO: TCP Data received {"connection_id":192304,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:59] local.INFO: Processing buffer {"connection_id":192304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:05:59] local.INFO: IMEI packet received {"connection_id":192304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:06:02] local.INFO: TCP Data received {"connection_id":195176,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:06:02] local.INFO: Processing buffer {"connection_id":195176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8509d88012d34c14006aa4908000a006e2d..."} 
[2026-09-25 17:06:02] local.INFO: Packet analysis {"connection_id":195176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:06:02] local.INFO: Extracted packet for processing {"connection_id":195176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d850"} 
[2026-09-25 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325825536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06: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-25 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790335557000,"timestamp_ms":1790335557000,"timestamp_seconds":1790335557,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8509d88"} 
[2026-09-25 17:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325825536001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325825536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:06: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-25 17:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325825536001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":195176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:06:03] local.INFO: GPS data processed {"connection_id":195176,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:06:03] local.INFO: Acknowledgment sent {"connection_id":195176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:06:09] local.INFO: TCP Data received {"connection_id":193857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85675a0012d7a344005e46058002100532f..."} 
[2026-09-25 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85675a0012d7a344005e46058002100532f..."} 
[2026-09-25 17:06:09] local.INFO: Processing buffer {"connection_id":193857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85675a0012d7a344005e46058002100532f..."} 
[2026-09-25 17:06:09] local.INFO: Packet analysis {"connection_id":193857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:06:09] local.INFO: Extracted packet for processing {"connection_id":193857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325995264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790335940000,"timestamp_ms":1790335940000,"timestamp_seconds":1790335940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85675a0"} 
[2026-09-25 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:06:09] 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-25 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 17:06:09] 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-25 17:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325995264001,"66":12265,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325995264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:06:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:06:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325995264001,"power":12265,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:06:10] 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":896147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:06:10] local.INFO: GPS data processed {"connection_id":193857,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:06:10] local.INFO: Acknowledgment sent {"connection_id":193857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:06:19] local.INFO: TCP Data received {"connection_id":195177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:19] local.INFO: Processing buffer {"connection_id":195177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:19] local.INFO: IMEI packet received {"connection_id":195177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":195177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:06:25] local.INFO: TCP Data received {"connection_id":195177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:25] local.INFO: Processing buffer {"connection_id":195177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:25] local.INFO: IMEI packet received {"connection_id":195177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":195177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:27] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:27] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:27] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:06:29] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8580410012d18c54007213eb8004301582b..."} 
[2026-09-25 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8580410012d18c54007213eb8004301582b..."} 
[2026-09-25 17:06:29] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8580410012d18c54007213eb8004301582b..."} 
[2026-09-25 17:06:29] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d858"} 
[2026-09-25 17:06:29] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d858"} 
[2026-09-25 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119619256,"longitude_deg":75.659808,"latitude_deg":11.9619256,"altitude":67,"angle":344,"satellites":43,"speed":31,"hex_longitude":"2d18c540","hex_latitude":"07213eb8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326024960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22996118191210496,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787717976454914048,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06: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-25 17:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790336042000,"timestamp_ms":1790336042000,"timestamp_seconds":1790336042,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8580410"} 
[2026-09-25 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-25 17:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 17:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326024960001,"66":14070,"103":206,"83":41984,"24":31,"16":22996118191210496,"45":1787717976454914048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326024960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:06:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22996118191210496,"km_value":22996118191210.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787717976454914048,"description":"Unknown IO ID 45"} 
[2026-09-25 17:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326024960001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1787717976454914048}} 
[2026-09-25 17:06:29] 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":896148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:06:29] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:06:29] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:06:30] local.INFO: TCP Data received {"connection_id":195177,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:30] local.INFO: Processing buffer {"connection_id":195177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:06:30] local.INFO: IMEI packet received {"connection_id":195177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":195177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:31] local.INFO: TCP Data received {"connection_id":195177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:06:31] local.INFO: Processing buffer {"connection_id":195177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:06:31] local.INFO: Packet analysis {"connection_id":195177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:06:31] local.INFO: Extracted packet for processing {"connection_id":195177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17: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-25 17:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":195177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:06:31] local.INFO: GPS data processed {"connection_id":195177,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:06:31] local.INFO: Acknowledgment sent {"connection_id":195177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:06:33] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:33] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:06:33] local.INFO: IMEI packet received {"connection_id":192305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:54] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:06:54] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:54] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:55] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:55] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:55] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:56] local.INFO: TCP Data received {"connection_id":192306,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:56] local.INFO: Processing buffer {"connection_id":192306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:06:56] local.INFO: IMEI packet received {"connection_id":192306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":192306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:06:58] local.INFO: TCP Data received {"connection_id":192305,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d856c7a8012d7a344005e46058002100532e..."} 
[2026-09-25 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d856c7a8012d7a344005e46058002100532e..."} 
[2026-09-25 17:06:58] local.INFO: Processing buffer {"connection_id":192305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d856c7a8012d7a344005e46058002100532e..."} 
[2026-09-25 17:06:58] local.INFO: Packet analysis {"connection_id":192305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:06:58] local.INFO: Extracted packet for processing {"connection_id":192305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d856"} 
[2026-09-25 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326000640001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790335961000,"timestamp_ms":1790335961000,"timestamp_seconds":1790335961,"priority":1,"record_length":96,"hex_timestamp":"000001a0d856c7a8"} 
[2026-09-25 17:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:06:58] 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-25 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 17:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326000640001,"66":12287,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326000640001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:06:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326000640001,"power":12287,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":192305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:06:58] local.INFO: GPS data processed {"connection_id":192305,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:06:58] local.INFO: Acknowledgment sent {"connection_id":192305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:07:03] local.INFO: TCP Data received {"connection_id":195177,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:03] local.INFO: Processing buffer {"connection_id":195177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:03] local.INFO: Packet analysis {"connection_id":195177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:07:03] local.INFO: Extracted packet for processing {"connection_id":195177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07: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-25 17:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:07: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-25 17:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":195177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:07:03] local.INFO: GPS data processed {"connection_id":195177,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:07:03] local.INFO: Acknowledgment sent {"connection_id":195177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:07:25] local.INFO: TCP Data received {"connection_id":195178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:25] local.INFO: Processing buffer {"connection_id":195178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:25] local.INFO: IMEI packet received {"connection_id":195178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":195178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:07:30] local.INFO: TCP Data received {"connection_id":195178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:30] local.INFO: Processing buffer {"connection_id":195178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:07:30] local.INFO: IMEI packet received {"connection_id":195178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":195178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:07:31] local.INFO: TCP Data received {"connection_id":195178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:31] local.INFO: Processing buffer {"connection_id":195178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:07:31] local.INFO: Packet analysis {"connection_id":195178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:07:31] local.INFO: Extracted packet for processing {"connection_id":195178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07: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-25 17:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:07: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-25 17:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:07:31] local.INFO: GPS data processed {"connection_id":195178,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:07:31] local.INFO: Acknowledgment sent {"connection_id":195178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:07:35] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:35] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:35] local.INFO: IMEI packet received {"connection_id":193860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":193860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:07:36] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:36] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:07:36] local.INFO: IMEI packet received {"connection_id":193860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":193860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:07:37] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85a4e00012d7a344005e46058002100532c..."} 
[2026-09-25 17:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85a4e00012d7a344005e46058002100532c..."} 
[2026-09-25 17:07:37] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85a4e00012d7a344005e46058002100532c..."} 
[2026-09-25 17:07:37] local.INFO: Packet analysis {"connection_id":193860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:07:37] local.INFO: Extracted packet for processing {"connection_id":193860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326059776001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790336192000,"timestamp_ms":1790336192000,"timestamp_seconds":1790336192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85a4e00"} 
[2026-09-25 17:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-25 17:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326059776001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326059776001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326059776001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:07:37] 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":896153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:07:37] local.INFO: GPS data processed {"connection_id":193860,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:07:37] local.INFO: Acknowledgment sent {"connection_id":193860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:07:38] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85aa008012d7a344005e46058002100532d..."} 
[2026-09-25 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85aa008012d7a344005e46058002100532d..."} 
[2026-09-25 17:07:38] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85aa008012d7a344005e46058002100532d..."} 
[2026-09-25 17:07:38] local.INFO: Packet analysis {"connection_id":193860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:07:38] local.INFO: Extracted packet for processing {"connection_id":193860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326065152001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336213000,"timestamp_ms":1790336213000,"timestamp_seconds":1790336213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85aa008"} 
[2026-09-25 17:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:07:38] 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-25 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2857516611878946252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23414100113489920,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921147527374,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:07:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,87,24,241,157,16,192,160,251,45,64,96,33,10,66,169,47,1,240,255,227,216,228,4,113,205,179,52,88,239,48,2,226,5,46],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:07:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992051695288320,"timestamp_seconds":2377992051695288.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326065152001,"66":12232,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326065152001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:07:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:07:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326065152001,"power":12232,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:07:38] 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":896154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:07:38] local.INFO: GPS data processed {"connection_id":193860,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:07:38] local.INFO: Acknowledgment sent {"connection_id":193860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:08:03] local.INFO: TCP Data received {"connection_id":195178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:03] local.INFO: Processing buffer {"connection_id":195178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:03] local.INFO: Packet analysis {"connection_id":195178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:08:03] local.INFO: Extracted packet for processing {"connection_id":195178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08: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-25 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:08: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-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":195178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:08:03] local.INFO: GPS data processed {"connection_id":195178,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:08:03] local.INFO: Acknowledgment sent {"connection_id":195178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:08:10] local.INFO: TCP Data received {"connection_id":193860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85af210012d7a344005e46058002100532e..."} 
[2026-09-25 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85af210012d7a344005e46058002100532e..."} 
[2026-09-25 17:08:10] local.INFO: Processing buffer {"connection_id":193860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85af210012d7a344005e46058002100532e..."} 
[2026-09-25 17:08:10] local.INFO: Packet analysis {"connection_id":193860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:08:10] local.INFO: Extracted packet for processing {"connection_id":193860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85a"} 
[2026-09-25 17:08:10] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326070528001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790336234000,"timestamp_ms":1790336234000,"timestamp_seconds":1790336234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85af210"} 
[2026-09-25 17:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:08:10] 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-25 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 17:08:10] 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-25 17:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326070528001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326070528001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:08:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:08:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326070528001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:08:10] 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":896156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:08:10] local.INFO: GPS data processed {"connection_id":193860,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:08:10] local.INFO: Acknowledgment sent {"connection_id":193860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:08:25] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:25] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:25] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:08:28] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:28] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:28] local.INFO: IMEI packet received {"connection_id":192487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":192487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:08:30] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:30] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:08:30] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:08:31] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:31] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:08:31] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:08:31] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08: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-25 17:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17: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-25 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:08: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-25 17:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:08: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-25 17:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:08:31] 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":896157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:08:31] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:08:31] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:08:33] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:33] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:08:33] local.INFO: IMEI packet received {"connection_id":192487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":192487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:08:33] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85b4418012d7a344005e46058002100532d..."} 
[2026-09-25 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85b4418012d7a344005e46058002100532d..."} 
[2026-09-25 17:08:33] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85b4418012d7a344005e46058002100532d..."} 
[2026-09-25 17:08:33] local.INFO: Packet analysis {"connection_id":192487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:08:33] local.INFO: Extracted packet for processing {"connection_id":192487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326075904001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790336255000,"timestamp_ms":1790336255000,"timestamp_seconds":1790336255,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85b4418"} 
[2026-09-25 17: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-25 17:08:33] 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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2857336223252514252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23414100113489920,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145891344590,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:08:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,87,24,241,157,16,192,160,45,64,96,33,10,66,78,44,251,1,240,168,227,216,228,4,113,205,52,88,46,239,47,2,226,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:08:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992060285222912,"timestamp_seconds":2377992060285223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326075904001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326075904001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:08:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:08:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326075904001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:08:33] 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":896158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:08:33] local.INFO: GPS data processed {"connection_id":192487,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:08:33] local.INFO: Acknowledgment sent {"connection_id":192487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:09:03] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:03] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:03] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:09:03] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09: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-25 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:09: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-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:09:03] 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":896159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:09:03] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:09:03] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:09:05] local.INFO: TCP Data received {"connection_id":192487,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85b9620012d7a344005e46058002100532f..."} 
[2026-09-25 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85b9620012d7a344005e46058002100532f..."} 
[2026-09-25 17:09:05] local.INFO: Processing buffer {"connection_id":192487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85b9620012d7a344005e46058002100532f..."} 
[2026-09-25 17:09:05] local.INFO: Packet analysis {"connection_id":192487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:09:05] local.INFO: Extracted packet for processing {"connection_id":192487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326081280001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790336276000,"timestamp_ms":1790336276000,"timestamp_seconds":1790336276,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85b9620"} 
[2026-09-25 17: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-25 17:09:05] 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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2857246028939298252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23413000601862144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921147527374,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,87,24,241,157,16,192,160,242,45,64,96,33,46,10,66,78,1,240,227,216,228,4,113,205,169,52,88,47,239,48,2,226,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:09:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992055990255616,"timestamp_seconds":2377992055990255.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326081280001,"66":12287,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326081280001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326081280001,"power":12287,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:09:05] 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":896160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:09:05] local.INFO: GPS data processed {"connection_id":192487,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:09:05] local.INFO: Acknowledgment sent {"connection_id":192487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:09:24] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:24] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:24] local.INFO: IMEI packet received {"connection_id":193863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":193863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:09:27] local.INFO: TCP Data received {"connection_id":195180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:27] local.INFO: Processing buffer {"connection_id":195180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:27] local.INFO: IMEI packet received {"connection_id":195180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":195180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:09:30] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:30] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:09:30] local.INFO: IMEI packet received {"connection_id":193863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":193863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:09:32] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:32] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:09:32] local.INFO: Packet analysis {"connection_id":193863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:09:32] local.INFO: Extracted packet for processing {"connection_id":193863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:09: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-25 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:09:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:09:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:09:32] 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":896161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:09:32] local.INFO: GPS data processed {"connection_id":193863,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:09:32] local.INFO: Acknowledgment sent {"connection_id":193863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:09:35] local.INFO: TCP Data received {"connection_id":195180,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:35] local.INFO: Processing buffer {"connection_id":195180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:09:35] local.INFO: IMEI packet received {"connection_id":195180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":195180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:09:37] local.INFO: TCP Data received {"connection_id":195180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85be828012d7a344005e46058002100532e..."} 
[2026-09-25 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85be828012d7a344005e46058002100532e..."} 
[2026-09-25 17:09:37] local.INFO: Processing buffer {"connection_id":195180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85be828012d7a344005e46058002100532e..."} 
[2026-09-25 17:09:37] local.INFO: Packet analysis {"connection_id":195180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:09:37] local.INFO: Extracted packet for processing {"connection_id":195180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85b"} 
[2026-09-25 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326086656001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790336297000,"timestamp_ms":1790336297000,"timestamp_seconds":1790336297,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85be828"} 
[2026-09-25 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 17:09:37] 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-25 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326086656001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326086656001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326086656001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":195180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:09:37] local.INFO: GPS data processed {"connection_id":195180,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:09:37] local.INFO: Acknowledgment sent {"connection_id":195180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:09:38] local.INFO: TCP Data received {"connection_id":195180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85c3a30012d7a344005e46058002100532c..."} 
[2026-09-25 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85c3a30012d7a344005e46058002100532c..."} 
[2026-09-25 17:09:38] local.INFO: Processing buffer {"connection_id":195180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85c3a30012d7a344005e46058002100532c..."} 
[2026-09-25 17:09:38] local.INFO: Packet analysis {"connection_id":195180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:09:38] local.INFO: Extracted packet for processing {"connection_id":195180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326092032001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336318000,"timestamp_ms":1790336318000,"timestamp_seconds":1790336318,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85c3a30"} 
[2026-09-25 17: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-25 17:09:38] 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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2857065640312866252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23411901090234368,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3433995598173700302,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:09:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,87,24,241,157,16,192,160,150,45,64,96,33,47,10,66,68,242,1,240,227,216,228,4,113,205,78,52,88,44,239,48,2,226,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:09:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992060285222912,"timestamp_seconds":2377992060285223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326092032001,"66":12287,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326092032001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:09:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:09:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326092032001,"power":12287,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":195180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:09:38] local.INFO: GPS data processed {"connection_id":195180,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:09:38] local.INFO: Acknowledgment sent {"connection_id":195180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:10:04] local.INFO: TCP Data received {"connection_id":193863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:04] local.INFO: Processing buffer {"connection_id":193863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:04] local.INFO: Packet analysis {"connection_id":193863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:10:04] local.INFO: Extracted packet for processing {"connection_id":193863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17: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-25 17:10: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-25 17: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-25 17: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-25 17: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-25 17: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-25 17:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:10: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-25 17:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:10:04] 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":896164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:10:04] local.INFO: GPS data processed {"connection_id":193863,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:10:04] local.INFO: Acknowledgment sent {"connection_id":193863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:10:10] local.INFO: TCP Data received {"connection_id":195180,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85c8c38012d7a344005e46058002100532c..."} 
[2026-09-25 17:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85c8c38012d7a344005e46058002100532c..."} 
[2026-09-25 17:10:10] local.INFO: Processing buffer {"connection_id":195180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85c8c38012d7a344005e46058002100532c..."} 
[2026-09-25 17:10:10] local.INFO: Packet analysis {"connection_id":195180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:10:10] local.INFO: Extracted packet for processing {"connection_id":195180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326097408001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790336339000,"timestamp_ms":1790336339000,"timestamp_seconds":1790336339,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85c8c38"} 
[2026-09-25 17:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 17:10:10] 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-25 17:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":195180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":195180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326097408001,"66":12113,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326097408001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:10:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:10:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326097408001,"power":12113,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":195180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:10:10] local.INFO: GPS data processed {"connection_id":195180,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:10:10] local.INFO: Acknowledgment sent {"connection_id":195180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:10:27] local.INFO: TCP Data received {"connection_id":195183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:27] local.INFO: Processing buffer {"connection_id":195183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:27] local.INFO: IMEI packet received {"connection_id":195183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":195183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:10:30] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:30] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:30] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:10:32] local.INFO: TCP Data received {"connection_id":195183,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:33] local.INFO: Processing buffer {"connection_id":195183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:10:33] local.INFO: IMEI packet received {"connection_id":195183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":195183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:10:33] local.INFO: TCP Data received {"connection_id":195183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85cde40012d7a344005e46058002100532f..."} 
[2026-09-25 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85cde40012d7a344005e46058002100532f..."} 
[2026-09-25 17:10:33] local.INFO: Processing buffer {"connection_id":195183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85cde40012d7a344005e46058002100532f..."} 
[2026-09-25 17:10:33] local.INFO: Packet analysis {"connection_id":195183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:10:33] local.INFO: Extracted packet for processing {"connection_id":195183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326102784001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790336360000,"timestamp_ms":1790336360000,"timestamp_seconds":1790336360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85cde40"} 
[2026-09-25 17: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-25 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-25 17:10:33] 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-25 17: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-25 17: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-25 17:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326102784001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326102784001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326102784001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":195183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:10:33] local.INFO: GPS data processed {"connection_id":195183,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:10:33] local.INFO: Acknowledgment sent {"connection_id":195183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:10:35] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:35] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:10:35] local.INFO: IMEI packet received {"connection_id":192311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:10:36] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:36] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:10:36] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:10:36] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17: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-25 17:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:10: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-25 17: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-25 17: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-25 17:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:10:36] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:10:36] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:10:57] local.INFO: TCP Data received {"connection_id":195182,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:10:57] local.INFO: Processing buffer {"connection_id":195182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:10:57] local.INFO: IMEI packet received {"connection_id":195182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":195182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:10:58] local.INFO: TCP Data received {"connection_id":195182,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8530e88012d0b118007029ff80016008c1b..."} 
[2026-09-25 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8530e88012d0b118007029ff80016008c1b..."} 
[2026-09-25 17:10:58] local.INFO: Processing buffer {"connection_id":195182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8530e88012d0b118007029ff80016008c1b..."} 
[2026-09-25 17:10:58] local.INFO: Packet analysis {"connection_id":195182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:10:58] local.INFO: Extracted packet for processing {"connection_id":195182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:10:58] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117612536,"longitude_deg":75.5700096,"latitude_deg":11.7612536,"altitude":22,"angle":140,"satellites":27,"speed":0,"hex_longitude":"2d0b1180","hex_latitude":"07029ff8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325942784001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911159098703872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571800576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] 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-25 17:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790335717000,"timestamp_ms":1790335717000,"timestamp_seconds":1790335717,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8530e88"} 
[2026-09-25 17: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-25 17:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":792633534584980480,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3628584864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":5158037749366460608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-2377674799355736482,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":189423863518504476,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-09-25 17:10:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,36,94,24,241,157,16,122,160,2,45,128,158,22,27,10,66,18,147,240,178,227,216,4,113,205,3,219,21,28,239,1,56,17,120,7,43],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-25 17:10:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585350747682242800,"timestamp_seconds":1585350747682242.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325942784001,"66":12004,"36":206,"94":11008,"24":0,"16":33911159098703872,"45":798122326571800576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-25 17:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325942784001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911159098703872,"km_value":33911159098703.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571800576,"description":"Unknown IO ID 45"} 
[2026-09-25 17:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325942784001,"power":12004,"unknown_36":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798122326571800576}} 
[2026-09-25 17:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":195182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:10:59] local.INFO: GPS data processed {"connection_id":195182,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:10:59] local.INFO: Acknowledgment sent {"connection_id":195182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:05] local.INFO: TCP Data received {"connection_id":195183,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85d3048012d7a344005e46058002100532e..."} 
[2026-09-25 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85d3048012d7a344005e46058002100532e..."} 
[2026-09-25 17:11:05] local.INFO: Processing buffer {"connection_id":195183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85d3048012d7a344005e46058002100532e..."} 
[2026-09-25 17:11:05] local.INFO: Packet analysis {"connection_id":195183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:05] local.INFO: Extracted packet for processing {"connection_id":195183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326108160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790336381000,"timestamp_ms":1790336381000,"timestamp_seconds":1790336381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85d3048"} 
[2026-09-25 17: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-25 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2856795057373218252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23413000601862144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832609,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145891344590,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,87,24,241,157,16,192,160,140,45,64,96,33,44,10,66,58,232,1,240,227,216,228,4,113,205,68,52,88,239,48,2,226,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:11:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992064580190208,"timestamp_seconds":2377992064580190.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326108160001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326108160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:11:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326108160001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":195183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:05] local.INFO: GPS data processed {"connection_id":195183,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:05] local.INFO: Acknowledgment sent {"connection_id":195183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:08] local.INFO: TCP Data received {"connection_id":192311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:11:08] local.INFO: Processing buffer {"connection_id":192311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8595400012d34c14006aa4908000c006e2c..."} 
[2026-09-25 17:11:08] local.INFO: Packet analysis {"connection_id":192311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:11:08] local.INFO: Extracted packet for processing {"connection_id":192311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d859"} 
[2026-09-25 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325902592001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790336128000,"timestamp_ms":1790336128000,"timestamp_seconds":1790336128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8595400"} 
[2026-09-25 17:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:11: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-25 17:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:11: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-25 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325902592001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325902592001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325902592001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":192311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:08] local.INFO: GPS data processed {"connection_id":192311,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:08] local.INFO: Acknowledgment sent {"connection_id":192311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:17] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:17] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:17] local.INFO: IMEI packet received {"connection_id":193864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":193864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:11:22] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:22] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:11:22] local.INFO: IMEI packet received {"connection_id":193864,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":193864,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:11:24] local.INFO: TCP Data received {"connection_id":193864,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8533d68012d0b0f0007029e780016011616..."} 
[2026-09-25 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8533d68012d0b0f0007029e780016011616..."} 
[2026-09-25 17:11:24] local.INFO: Processing buffer {"connection_id":193864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8533d68012d0b0f0007029e780016011616..."} 
[2026-09-25 17:11:24] local.INFO: Packet analysis {"connection_id":193864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:11:24] local.INFO: Extracted packet for processing {"connection_id":193864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117612152,"longitude_deg":75.5699456,"latitude_deg":11.7612152,"altitude":22,"angle":278,"satellites":22,"speed":2,"hex_longitude":"2d0b0f00","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-09-25 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325943552001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911193458442240,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618452992,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:24] 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-25 17:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790335729000,"timestamp_ms":1790335729000,"timestamp_seconds":1790335729,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8533d68"} 
[2026-09-25 17:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:11:24] 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-25 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 17:11:24] 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-25 17:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193864,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193864,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325943552001,"66":14265,"36":206,"94":11008,"24":2,"16":33911193458442240,"45":797559376618452992},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-09-25 17:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325943552001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-09-25 17:11:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911193458442240,"km_value":33911193458442.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618452992,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325943552001,"power":14265,"unknown_36":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797559376618452992}} 
[2026-09-25 17:11:24] 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":896171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:24] local.INFO: GPS data processed {"connection_id":193864,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:24] local.INFO: Acknowledgment sent {"connection_id":193864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:25] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:25] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:25] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:11:29] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:11:29] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:11:29] local.INFO: IMEI packet received {"connection_id":192489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:11:30] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:30] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:11:30] local.INFO: IMEI packet received {"connection_id":193865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:11:31] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:11:31] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:11:31] local.INFO: Packet analysis {"connection_id":193865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:31] local.INFO: Extracted packet for processing {"connection_id":193865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11: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-25 17:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:11: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-25 17:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:11: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-25 17:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:11:31] 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":896172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:31] local.INFO: GPS data processed {"connection_id":193865,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:31] local.INFO: Acknowledgment sent {"connection_id":193865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:33] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:33] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:33] local.INFO: IMEI packet received {"connection_id":192312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:11:37] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:37] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:11:37] local.INFO: IMEI packet received {"connection_id":192312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":192312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:11:38] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85d8250012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85d8250012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:38] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85d8250012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:38] local.INFO: Packet analysis {"connection_id":192312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:38] local.INFO: Extracted packet for processing {"connection_id":192312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326113536001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336402000,"timestamp_ms":1790336402000,"timestamp_seconds":1790336402,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85d8250"} 
[2026-09-25 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2856704863060002252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23411901090234368,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242669,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832610,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145891344590,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,87,24,241,157,16,192,160,222,45,64,96,33,47,10,66,140,44,58,1,240,255,227,216,228,4,113,205,150,52,88,239,2,226,5,46],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:11:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992060285222912,"timestamp_seconds":2377992060285223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326113536001,"66":12298,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326113536001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326113536001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":192312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:38] local.INFO: GPS data processed {"connection_id":192312,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:38] local.INFO: Acknowledgment sent {"connection_id":192312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:43] local.INFO: TCP Data received {"connection_id":192312,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85dd458012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85dd458012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:43] local.INFO: Processing buffer {"connection_id":192312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85dd458012d7a344005e46058002100532d..."} 
[2026-09-25 17:11:43] local.INFO: Packet analysis {"connection_id":192312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:43] local.INFO: Extracted packet for processing {"connection_id":192312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:11:43] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326118912001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790336423000,"timestamp_ms":1790336423000,"timestamp_seconds":1790336423,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85dd458"} 
[2026-09-25 17:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2856614668746786252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23414100113489920,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832611,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921147527374,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:11:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,87,24,241,157,16,192,160,48,45,64,96,33,46,10,66,222,47,140,1,240,81,227,216,228,4,113,205,232,52,88,239,2,226,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:11:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377992055990255616,"timestamp_seconds":2377992055990255.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326118912001,"66":12319,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326118912001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:11:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:11:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326118912001,"power":12319,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":192312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:11:43] local.INFO: GPS data processed {"connection_id":192312,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:11:43] local.INFO: Acknowledgment sent {"connection_id":192312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:11:59] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:11:59] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:11:59] local.INFO: IMEI packet received {"connection_id":192490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":192490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:12:00] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85defb0012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85defb0012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:00] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85defb0012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:00] local.INFO: Packet analysis {"connection_id":192490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:00] local.INFO: Extracted packet for processing {"connection_id":192490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":46,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326120704001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336430000,"timestamp_ms":1790336430000,"timestamp_seconds":1790336430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85defb0"} 
[2026-09-25 17: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-25 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3629887864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992528,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3045326848,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,181,160,75,45,128,177,74,43,10,66,249,42,167,1,240,145,227,216,33,4,113,205,3,144,46,239,50,2,81,7,106,70,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:12:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404622111815761920,"timestamp_seconds":5404622111815762.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326120704001,"66":12558,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326120704001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:12:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326120704001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:12:00] 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":896175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:12:00] local.INFO: GPS data processed {"connection_id":192490,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:12:00] local.INFO: Acknowledgment sent {"connection_id":192490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:12:02] local.INFO: TCP Data received {"connection_id":193865,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:02] local.INFO: Processing buffer {"connection_id":193865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:02] local.INFO: Packet analysis {"connection_id":193865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:02] local.INFO: Extracted packet for processing {"connection_id":193865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12: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-25 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:12: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-25 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:12: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-25 17:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:12:02] 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":896176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:12:02] local.INFO: GPS data processed {"connection_id":193865,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:12:02] local.INFO: Acknowledgment sent {"connection_id":193865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:12:03] local.INFO: TCP Data received {"connection_id":192313,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:12:03] local.INFO: Processing buffer {"connection_id":192313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:12:03] local.INFO: IMEI packet received {"connection_id":192313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":192313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:12:25] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:25] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:25] local.INFO: IMEI packet received {"connection_id":193866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":193866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:12:27] local.INFO: TCP Data received {"connection_id":193867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:27] local.INFO: Processing buffer {"connection_id":193867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:27] local.INFO: IMEI packet received {"connection_id":193867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":193867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:12:30] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:30] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:12:30] local.INFO: IMEI packet received {"connection_id":193866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":193866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:12:31] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:31] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:12:31] local.INFO: Packet analysis {"connection_id":193866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:31] local.INFO: Extracted packet for processing {"connection_id":193866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12: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-25 17:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:12: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-25 17:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:12: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-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:12:31] 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":896177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:12:31] local.INFO: GPS data processed {"connection_id":193866,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:12:31] local.INFO: Acknowledgment sent {"connection_id":193866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:12:31] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85e41b8012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85e41b8012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:31] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85e41b8012d181ec00721afd0004b01132e..."} 
[2026-09-25 17:12:31] local.INFO: Packet analysis {"connection_id":192490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:12:31] local.INFO: Extracted packet for processing {"connection_id":192490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":46,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326126080001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336451000,"timestamp_ms":1790336451000,"timestamp_seconds":1790336451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85e41b8"} 
[2026-09-25 17:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3629908864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383964906992528,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2973237322,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3045720064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 17:12:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,181,160,45,192,175,75,10,66,128,177,74,43,249,1,240,101,227,216,33,4,113,205,2,85,31,32,239,49,81,7,106,70,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:12:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404622116110729216,"timestamp_seconds":5404622116110729.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326126080001,"66":12537,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326126080001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326126080001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:12:31] 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":896178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:12:31] local.INFO: GPS data processed {"connection_id":192490,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:12:31] local.INFO: Acknowledgment sent {"connection_id":192490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:12:40] local.INFO: TCP Data received {"connection_id":193867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:40] local.INFO: Processing buffer {"connection_id":193867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:12:40] local.INFO: IMEI packet received {"connection_id":193867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":193867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:12:41] local.INFO: TCP Data received {"connection_id":193867,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193867,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 17:12:41] local.INFO: Processing buffer {"connection_id":193867,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 17:12:41] local.INFO: IMEI packet received {"connection_id":193867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":193867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:12:53] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:53] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:53] local.INFO: IMEI packet received {"connection_id":193868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":193868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:12:54] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:54] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:54] local.INFO: IMEI packet received {"connection_id":193868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":193868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:12:59] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:59] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:12:59] local.INFO: IMEI packet received {"connection_id":193868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":193868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:13:00] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85e93c0012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85e93c0012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:00] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85e93c0012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:00] local.INFO: Packet analysis {"connection_id":193868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:13:00] local.INFO: Extracted packet for processing {"connection_id":193868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326131456001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13: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-25 17:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336472000,"timestamp_ms":1790336472000,"timestamp_seconds":1790336472,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85e93c0"} 
[2026-09-25 17:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 17:13: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-25 17:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326131456001,"66":12526,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326131456001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326131456001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:13:00] 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":896179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:00] local.INFO: GPS data processed {"connection_id":193868,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:00] local.INFO: Acknowledgment sent {"connection_id":193868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:02] local.INFO: TCP Data received {"connection_id":193866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:02] local.INFO: Processing buffer {"connection_id":193866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:02] local.INFO: Packet analysis {"connection_id":193866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:02] local.INFO: Extracted packet for processing {"connection_id":193866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13: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-25 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13: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-25 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:13: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-25 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:13:02] 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":896180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:02] local.INFO: GPS data processed {"connection_id":193866,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:02] local.INFO: Acknowledgment sent {"connection_id":193866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:30] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:30] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:30] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:13:31] local.INFO: TCP Data received {"connection_id":193868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85ee5c8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85ee5c8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:31] local.INFO: Processing buffer {"connection_id":193868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85ee5c8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:13:31] local.INFO: Packet analysis {"connection_id":193868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:13:31] local.INFO: Extracted packet for processing {"connection_id":193868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85e"} 
[2026-09-25 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326136832001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336493000,"timestamp_ms":1790336493000,"timestamp_seconds":1790336493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85ee5c8"} 
[2026-09-25 17:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 17: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-25 17:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326136832001,"66":12504,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326136832001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326136832001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:13:31] 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":896181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:31] local.INFO: GPS data processed {"connection_id":193868,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:31] local.INFO: Acknowledgment sent {"connection_id":193868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:35] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:35] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:13:35] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:13:36] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:36] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:36] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:36] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17: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-25 17:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:13: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":896182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:36] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:36] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:40] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:40] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:40] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:40] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17: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-25 17:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13: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-25 17:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:13:40] 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":896183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:40] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:40] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:46] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:46] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:13:46] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:46] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17: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-25 17:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:13:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:13:46] 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":896184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:13:46] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:13:46] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:13:54] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:54] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:54] local.INFO: IMEI packet received {"connection_id":193869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":193869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:13:56] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:56] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:56] local.INFO: IMEI packet received {"connection_id":193869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":193869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:13:59] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:59] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:13:59] local.INFO: IMEI packet received {"connection_id":193869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":193869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:14:00] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85f37d0012d181ec00721afd0004b01132c..."} 
[2026-09-25 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85f37d0012d181ec00721afd0004b01132c..."} 
[2026-09-25 17:14:00] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85f37d0012d181ec00721afd0004b01132c..."} 
[2026-09-25 17:14:00] local.INFO: Packet analysis {"connection_id":193869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:14:00] local.INFO: Extracted packet for processing {"connection_id":193869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326142208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14: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-25 17:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336514000,"timestamp_ms":1790336514000,"timestamp_seconds":1790336514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85f37d0"} 
[2026-09-25 17: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-25 17:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":216,"data_length":795,"current_offset":136} 
[2026-09-25 17:14: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-25 17: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-25 17: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-25 17:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326142208001,"66":12504,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326142208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:14:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326142208001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:14:00] 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":896185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:14:00] local.INFO: GPS data processed {"connection_id":193869,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:14:00] local.INFO: Acknowledgment sent {"connection_id":193869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:14:24] local.INFO: TCP Data received {"connection_id":195185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:24] local.INFO: Processing buffer {"connection_id":195185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:24] local.INFO: IMEI packet received {"connection_id":195185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":195185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:14:30] local.INFO: TCP Data received {"connection_id":195185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:30] local.INFO: Processing buffer {"connection_id":195185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:14:30] local.INFO: IMEI packet received {"connection_id":195185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":195185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:14:31] local.INFO: TCP Data received {"connection_id":195185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:14:31] local.INFO: Processing buffer {"connection_id":195185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:14:31] local.INFO: Packet analysis {"connection_id":195185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:14:31] local.INFO: Extracted packet for processing {"connection_id":195185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14: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-25 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:14: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-25 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:14: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-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":195185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:14:31] local.INFO: GPS data processed {"connection_id":195185,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:14:31] local.INFO: Acknowledgment sent {"connection_id":195185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:14:31] local.INFO: TCP Data received {"connection_id":193869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85f89d8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85f89d8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:14:31] local.INFO: Processing buffer {"connection_id":193869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85f89d8012d181ec00721afd0004b01132d..."} 
[2026-09-25 17:14:31] local.INFO: Packet analysis {"connection_id":193869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:14:31] local.INFO: Extracted packet for processing {"connection_id":193869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":45,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326147584001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336535000,"timestamp_ms":1790336535000,"timestamp_seconds":1790336535,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85f89d8"} 
[2026-09-25 17:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 17:14: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-25 17:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326147584001,"66":12461,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326147584001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326147584001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:14:31] 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":896187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:14:31] local.INFO: GPS data processed {"connection_id":193869,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:14:31] local.INFO: Acknowledgment sent {"connection_id":193869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:14:54] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:54] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:54] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:14:58] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:58] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:58] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:14:59] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:59] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:14:59] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:15:00] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85fdbe0012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85fdbe0012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:00] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85fdbe0012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:00] local.INFO: Packet analysis {"connection_id":192493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:15:00] local.INFO: Extracted packet for processing {"connection_id":192493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85f"} 
[2026-09-25 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326152960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15: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-25 17:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336556000,"timestamp_ms":1790336556000,"timestamp_seconds":1790336556,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85fdbe0"} 
[2026-09-25 17:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:15: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-25 17:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326152960001,"66":12504,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326152960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326152960001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:15:00] 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":896188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:15:00] local.INFO: GPS data processed {"connection_id":192493,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:15:00] local.INFO: Acknowledgment sent {"connection_id":192493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:15:03] local.INFO: TCP Data received {"connection_id":195185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:03] local.INFO: Processing buffer {"connection_id":195185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:03] local.INFO: Packet analysis {"connection_id":195185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:15:03] local.INFO: Extracted packet for processing {"connection_id":195185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15: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-25 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:15: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-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":195185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:15:03] local.INFO: GPS data processed {"connection_id":195185,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:15:03] local.INFO: Acknowledgment sent {"connection_id":195185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:15:04] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8602de8012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8602de8012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:04] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8602de8012d181ec00721afd0004b01132b..."} 
[2026-09-25 17:15:04] local.INFO: Packet analysis {"connection_id":192493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d860"} 
[2026-09-25 17:15:04] local.INFO: Extracted packet for processing {"connection_id":192493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d860"} 
[2026-09-25 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648208,"longitude_deg":75.6555456,"latitude_deg":11.9648208,"altitude":75,"angle":275,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721afd0","is_valid_coordinates":true} 
[2026-09-25 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326158336001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999111783415808,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074064384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790336577000,"timestamp_ms":1790336577000,"timestamp_seconds":1790336577,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8602de8"} 
[2026-09-25 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:15:04] 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-25 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 17:15:04] 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-25 17:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326158336001,"66":13254,"105":206,"83":41984,"24":0,"16":22999111783415808,"45":1738037643074064384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326158336001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:15:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999111783415808,"km_value":22999111783415.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074064384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326158336001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074064384}} 
[2026-09-25 17:15:05] 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":896190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:15:05] local.INFO: GPS data processed {"connection_id":192493,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:15:05] local.INFO: Acknowledgment sent {"connection_id":192493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:15:25] local.INFO: TCP Data received {"connection_id":195187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:25] local.INFO: Processing buffer {"connection_id":195187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:25] local.INFO: IMEI packet received {"connection_id":195187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":195187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:15:31] local.INFO: TCP Data received {"connection_id":195187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:31] local.INFO: Processing buffer {"connection_id":195187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:15:31] local.INFO: IMEI packet received {"connection_id":195187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":195187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:15:33] local.INFO: TCP Data received {"connection_id":195187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:33] local.INFO: Processing buffer {"connection_id":195187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:15:33] local.INFO: Packet analysis {"connection_id":195187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:15:33] local.INFO: Extracted packet for processing {"connection_id":195187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:15:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17: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-25 17: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-25 17: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:15: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-25 17: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-25 17: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-25 17:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:15: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-25 17:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:15:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":195187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:15:33] local.INFO: GPS data processed {"connection_id":195187,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:15:33] local.INFO: Acknowledgment sent {"connection_id":195187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:15:36] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d861d7b0012d180b4007217be8004700b52b..."} 
[2026-09-25 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d861d7b0012d180b4007217be8004700b52b..."} 
[2026-09-25 17:15:36] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d861d7b0012d180b4007217be8004700b52b..."} 
[2026-09-25 17:15:36] local.INFO: Packet analysis {"connection_id":192493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:15:36] local.INFO: Extracted packet for processing {"connection_id":192493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119634920,"longitude_deg":75.6550464,"latitude_deg":11.963492,"altitude":71,"angle":181,"satellites":43,"speed":12,"hex_longitude":"2d180b40","hex_latitude":"07217be8","is_valid_coordinates":true} 
[2026-09-25 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326190336001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999863402692608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733111830978783232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790336686000,"timestamp_ms":1790336686000,"timestamp_seconds":1790336686,"priority":1,"record_length":96,"hex_timestamp":"000001a0d861d7b0"} 
[2026-09-25 17:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:15:36] 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-25 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 17:15:36] 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-25 17:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326190336001,"66":14374,"107":206,"83":41984,"24":12,"16":22999863402692608,"45":1733111830978783232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326190336001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:15:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999863402692608,"km_value":22999863402692.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733111830978783232,"description":"Unknown IO ID 45"} 
[2026-09-25 17:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326190336001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1733111830978783232}} 
[2026-09-25 17:15:36] 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":896192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:15:36] local.INFO: GPS data processed {"connection_id":192493,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:15:36] local.INFO: Acknowledgment sent {"connection_id":192493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:15:55] local.INFO: TCP Data received {"connection_id":195188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:55] local.INFO: Processing buffer {"connection_id":195188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:55] local.INFO: IMEI packet received {"connection_id":195188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":195188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:15:59] local.INFO: TCP Data received {"connection_id":195188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:59] local.INFO: Processing buffer {"connection_id":195188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:15:59] local.INFO: IMEI packet received {"connection_id":195188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":195188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:16:04] local.INFO: TCP Data received {"connection_id":195188,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:04] local.INFO: Processing buffer {"connection_id":195188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:04] local.INFO: IMEI packet received {"connection_id":195188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":195188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:16:04] local.INFO: TCP Data received {"connection_id":195187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:16:04] local.INFO: Processing buffer {"connection_id":195187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85debc8012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:16:04] local.INFO: Packet analysis {"connection_id":195187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:16:04] local.INFO: Extracted packet for processing {"connection_id":195187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85d"} 
[2026-09-25 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326048768001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16: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-25 17:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790336429000,"timestamp_ms":1790336429000,"timestamp_seconds":1790336429,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85debc8"} 
[2026-09-25 17:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 17:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:16: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-25 17:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326048768001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326048768001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:16: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-25 17:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326048768001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":195187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:16:04] local.INFO: GPS data processed {"connection_id":195187,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:16:04] local.INFO: Acknowledgment sent {"connection_id":195187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:16:05] local.INFO: TCP Data received {"connection_id":195188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d861df80012d180b80072179e0004700a92a..."} 
[2026-09-25 17:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d861df80012d180b80072179e0004700a92a..."} 
[2026-09-25 17:16:05] local.INFO: Processing buffer {"connection_id":195188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d861df80012d180b80072179e0004700a92a..."} 
[2026-09-25 17:16:05] local.INFO: Packet analysis {"connection_id":195188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:16:05] local.INFO: Extracted packet for processing {"connection_id":195188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119634400,"longitude_deg":75.6550528,"latitude_deg":11.96344,"altitude":71,"angle":169,"satellites":42,"speed":8,"hex_longitude":"2d180b80","hex_latitude":"072179e0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326191616001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999889172496384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024804864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790336688000,"timestamp_ms":1790336688000,"timestamp_seconds":1790336688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d861df80"} 
[2026-09-25 17: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-25 17:16:05] 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-25 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 17:16:05] 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-25 17: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-25 17: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-25 17:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326191616001,"66":13993,"107":206,"83":41984,"24":8,"16":22999889172496384,"45":1732548881024804864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326191616001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:16:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999889172496384,"km_value":22999889172496.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024804864,"description":"Unknown IO ID 45"} 
[2026-09-25 17:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326191616001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1732548881024804864}} 
[2026-09-25 17:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":195188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:16:05] local.INFO: GPS data processed {"connection_id":195188,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:16:05] local.INFO: Acknowledgment sent {"connection_id":195188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:16:09] local.INFO: TCP Data received {"connection_id":195188,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d861e750012d180c00072177d00046009b28..."} 
[2026-09-25 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d861e750012d180c00072177d00046009b28..."} 
[2026-09-25 17:16:09] local.INFO: Processing buffer {"connection_id":195188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d861e750012d180c00072177d00046009b28..."} 
[2026-09-25 17:16:09] local.INFO: Packet analysis {"connection_id":195188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:16:09] local.INFO: Extracted packet for processing {"connection_id":195188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756550656,"raw_latitude":119633872,"longitude_deg":75.6550656,"latitude_deg":11.9633872,"altitude":70,"angle":155,"satellites":40,"speed":13,"hex_longitude":"2d180c00","hex_latitude":"072177d0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326192128001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22999914942300160,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249768849408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790336690000,"timestamp_ms":1790336690000,"timestamp_seconds":1790336690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d861e750"} 
[2026-09-25 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-25 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-25 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 17:16:09] 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-25 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-25 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-25 17:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326192128001,"66":13993,"107":206,"83":41984,"24":13,"16":22999914942300160,"45":1732619249768849408},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326192128001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:16:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22999914942300160,"km_value":22999914942300.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249768849408,"description":"Unknown IO ID 45"} 
[2026-09-25 17:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326192128001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1732619249768849408}} 
[2026-09-25 17:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":195188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:16:09] local.INFO: GPS data processed {"connection_id":195188,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:16:09] local.INFO: Acknowledgment sent {"connection_id":195188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:16:25] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:25] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:25] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:16:30] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:30] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:16:30] local.INFO: IMEI packet received {"connection_id":192316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:16:31] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:16:31] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:16:31] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:16:31] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:16: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-25 17:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:16: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-25 17:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:16: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-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:16:31] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:16:31] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:16:57] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:57] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:57] local.INFO: IMEI packet received {"connection_id":192494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":192494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:16:59] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:59] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:16:59] local.INFO: IMEI packet received {"connection_id":192494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":192494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:17:00] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d862d980012d18344007210670003700b927..."} 
[2026-09-25 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d862d980012d18344007210670003700b927..."} 
[2026-09-25 17:17:00] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d862d980012d18344007210670003700b927..."} 
[2026-09-25 17:17:00] local.INFO: Packet analysis {"connection_id":192494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:00] local.INFO: Extracted packet for processing {"connection_id":192494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119604848,"longitude_deg":75.656096,"latitude_deg":11.9604848,"altitude":55,"angle":185,"satellites":39,"speed":14,"hex_longitude":"2d183440","hex_latitude":"07210670","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326207744001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23001555619807232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744018986318389248,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790336752000,"timestamp_ms":1790336752000,"timestamp_seconds":1790336752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d862d980"} 
[2026-09-25 17: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-25 17:17:00] 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-25 17:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326207744001,"66":14428,"107":206,"83":41984,"24":14,"16":23001555619807232,"45":1744018986318389248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326207744001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23001555619807232,"km_value":23001555619807.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744018986318389248,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326207744001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1744018986318389248}} 
[2026-09-25 17:17:00] 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":896197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:00] local.INFO: GPS data processed {"connection_id":192494,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:00] local.INFO: Acknowledgment sent {"connection_id":192494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:02] local.INFO: TCP Data received {"connection_id":192316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:02] local.INFO: Processing buffer {"connection_id":192316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:02] local.INFO: Packet analysis {"connection_id":192316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:02] local.INFO: Extracted packet for processing {"connection_id":192316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17: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-25 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:17: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-25 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:17: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-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":192316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:02] local.INFO: GPS data processed {"connection_id":192316,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:02] local.INFO: Acknowledgment sent {"connection_id":192316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:06] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d862f4d8012d1832000720fba0003600c425..."} 
[2026-09-25 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d862f4d8012d1832000720fba0003600c425..."} 
[2026-09-25 17:17:06] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d862f4d8012d1832000720fba0003600c425..."} 
[2026-09-25 17:17:06] local.INFO: Packet analysis {"connection_id":192494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:06] local.INFO: Extracted packet for processing {"connection_id":192494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756560384,"raw_latitude":119602080,"longitude_deg":75.6560384,"latitude_deg":11.960208,"altitude":54,"angle":196,"satellites":37,"speed":15,"hex_longitude":"2d183200","hex_latitude":"0720fba0","is_valid_coordinates":true} 
[2026-09-25 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326208512001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23001693058760704,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355062243328,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790336759000,"timestamp_ms":1790336759000,"timestamp_seconds":1790336759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d862f4d8"} 
[2026-09-25 17:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:17:06] 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-25 17:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:06] 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-25 17:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326208512001,"66":14374,"107":206,"83":41984,"24":15,"16":23001693058760704,"45":1744089355062243328},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326208512001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23001693058760704,"km_value":23001693058760.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355062243328,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326208512001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1744089355062243328}} 
[2026-09-25 17:17:06] 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":896199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:06] local.INFO: GPS data processed {"connection_id":192494,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:06] local.INFO: Acknowledgment sent {"connection_id":192494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:25] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:25] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:25] local.INFO: IMEI packet received {"connection_id":192495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":192495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:17:29] local.INFO: TCP Data received {"connection_id":193872,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:17:29] local.INFO: Processing buffer {"connection_id":193872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:17:29] local.INFO: IMEI packet received {"connection_id":193872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":193872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:17:30] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:30] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:17:30] local.INFO: IMEI packet received {"connection_id":192495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:17:31] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:31] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:17:31] local.INFO: Packet analysis {"connection_id":192495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:31] local.INFO: Extracted packet for processing {"connection_id":192495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17: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-25 17:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:17: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-25 17:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:17: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-25 17:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:17:31] 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":896200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:31] local.INFO: GPS data processed {"connection_id":192495,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:31] local.INFO: Acknowledgment sent {"connection_id":192495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:37] local.INFO: TCP Data received {"connection_id":192494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8630090012d1830c00720f6d8003600b926..."} 
[2026-09-25 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8630090012d1830c00720f6d8003600b926..."} 
[2026-09-25 17:17:37] local.INFO: Processing buffer {"connection_id":192494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8630090012d1830c00720f6d8003600b926..."} 
[2026-09-25 17:17:37] local.INFO: Packet analysis {"connection_id":192494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:17:37] local.INFO: Extracted packet for processing {"connection_id":192494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756560064,"raw_latitude":119600856,"longitude_deg":75.6560064,"latitude_deg":11.9600856,"altitude":54,"angle":185,"satellites":38,"speed":17,"hex_longitude":"2d1830c0","hex_latitude":"0720f6d8","is_valid_coordinates":true} 
[2026-09-25 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326210304001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23001757483270144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743456036363935744,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790336762000,"timestamp_ms":1790336762000,"timestamp_seconds":1790336762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8630090"} 
[2026-09-25 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:37] 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-25 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326210304001,"66":14298,"107":206,"83":41984,"24":17,"16":23001757483270144,"45":1743456036363935744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326210304001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23001757483270144,"km_value":23001757483270.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743456036363935744,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326210304001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1743456036363935744}} 
[2026-09-25 17:17:37] 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":896201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:37] local.INFO: GPS data processed {"connection_id":192494,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:37] local.INFO: Acknowledgment sent {"connection_id":192494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:43] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:17:43] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:17:43] local.INFO: IMEI packet received {"connection_id":193873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":193873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:17:52] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:52] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:52] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:17:54] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:54] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:54] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:17:54] local.INFO: TCP Data received {"connection_id":193873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8615ab0012d7a344005e46058002100532e..."} 
[2026-09-25 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8615ab0012d7a344005e46058002100532e..."} 
[2026-09-25 17:17:54] local.INFO: Processing buffer {"connection_id":193873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8615ab0012d7a344005e46058002100532e..."} 
[2026-09-25 17:17:54] local.INFO: Packet analysis {"connection_id":193873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:17:54] local.INFO: Extracted packet for processing {"connection_id":193873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852952,"longitude_deg":76.2983488,"latitude_deg":9.8852952,"altitude":33,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e46058","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326178048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882160971186176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790336654000,"timestamp_ms":1790336654000,"timestamp_seconds":1790336654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8615ab0"} 
[2026-09-25 17: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-25 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":31,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326178048001,"66":12330,"102":206,"87":12288,"24":0,"16":135882160971186176,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326178048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:17:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882160971186176,"km_value":135882160971186.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326178048001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:17:54] 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":896202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:54] local.INFO: GPS data processed {"connection_id":193873,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:54] local.INFO: Acknowledgment sent {"connection_id":193873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:17:58] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:58] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:17:58] local.INFO: IMEI packet received {"connection_id":192318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":192318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:17:59] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d863e708012d182a40072092b8003700e028..."} 
[2026-09-25 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d863e708012d182a40072092b8003700e028..."} 
[2026-09-25 17:17:59] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d863e708012d182a40072092b8003700e028..."} 
[2026-09-25 17:17:59] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:17:59] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119575224,"longitude_deg":75.65584,"latitude_deg":11.9575224,"altitude":55,"angle":224,"satellites":40,"speed":9,"hex_longitude":"2d182a40","hex_latitude":"072092b8","is_valid_coordinates":true} 
[2026-09-25 17:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326225920001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23003033088557056,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342775957504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790336821000,"timestamp_ms":1790336821000,"timestamp_seconds":1790336821,"priority":1,"record_length":96,"hex_timestamp":"000001a0d863e708"} 
[2026-09-25 17:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:17:59] 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-25 17:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 17:17:59] 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-25 17:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326225920001,"66":13972,"107":206,"83":41984,"24":9,"16":23003033088557056,"45":1741415342775957504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326225920001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:17:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23003033088557056,"km_value":23003033088557.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342775957504,"description":"Unknown IO ID 45"} 
[2026-09-25 17:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326225920001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741415342775957504}} 
[2026-09-25 17:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:17:59] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:17:59] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:02] local.INFO: TCP Data received {"connection_id":192495,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:02] local.INFO: Processing buffer {"connection_id":192495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:02] local.INFO: Packet analysis {"connection_id":192495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:18:02] local.INFO: Extracted packet for processing {"connection_id":192495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18: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-25 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:18: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-25 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:18: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-25 17:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:18:02] 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":896204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:02] local.INFO: GPS data processed {"connection_id":192495,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:02] local.INFO: Acknowledgment sent {"connection_id":192495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:04] local.INFO: TCP Data received {"connection_id":195189,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:18:04] local.INFO: Processing buffer {"connection_id":195189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:18:04] local.INFO: IMEI packet received {"connection_id":195189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":195189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:18:25] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:25] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:25] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:18:30] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:30] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:18:30] local.INFO: IMEI packet received {"connection_id":192319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:18:30] local.INFO: TCP Data received {"connection_id":192318,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d863eed8012d18288007209188003700ee27..."} 
[2026-09-25 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d863eed8012d18288007209188003700ee27..."} 
[2026-09-25 17:18:30] local.INFO: Processing buffer {"connection_id":192318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d863eed8012d18288007209188003700ee27..."} 
[2026-09-25 17:18:30] local.INFO: Packet analysis {"connection_id":192318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:18:30] local.INFO: Extracted packet for processing {"connection_id":192318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d863"} 
[2026-09-25 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119574920,"longitude_deg":75.6557952,"latitude_deg":11.957492,"altitude":55,"angle":238,"satellites":39,"speed":10,"hex_longitude":"2d182880","hex_latitude":"07209188","is_valid_coordinates":true} 
[2026-09-25 17:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326226176001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23003058858360832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605287553024,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790336823000,"timestamp_ms":1790336823000,"timestamp_seconds":1790336823,"priority":1,"record_length":96,"hex_timestamp":"000001a0d863eed8"} 
[2026-09-25 17:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:18:30] 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-25 17:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326226176001,"66":13972,"107":206,"83":41984,"24":10,"16":23003058858360832,"45":1741274605287553024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326226176001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23003058858360832,"km_value":23003058858360.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605287553024,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326226176001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1741274605287553024}} 
[2026-09-25 17:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":192318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:30] local.INFO: GPS data processed {"connection_id":192318,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:30] local.INFO: Acknowledgment sent {"connection_id":192318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:31] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:31] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:18:31] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:18:31] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18: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-25 17:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:18: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-25 17:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:18: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-25 17:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:31] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:31] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:35] local.INFO: TCP Data received {"connection_id":193874,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:35] local.INFO: Processing buffer {"connection_id":193874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:35] local.INFO: IMEI packet received {"connection_id":193874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":193874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:18:37] local.INFO: TCP Data received {"connection_id":193874,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:37] local.INFO: Processing buffer {"connection_id":193874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:18:37] local.INFO: IMEI packet received {"connection_id":193874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":193874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:18:38] local.INFO: TCP Data received {"connection_id":193874,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d861acb8012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d861acb8012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:18:38] local.INFO: Processing buffer {"connection_id":193874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d861acb8012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:18:38] local.INFO: Packet analysis {"connection_id":193874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:18:38] local.INFO: Extracted packet for processing {"connection_id":193874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326183424001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466695680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336675000,"timestamp_ms":1790336675000,"timestamp_seconds":1790336675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d861acb8"} 
[2026-09-25 17:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:38] 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-25 17:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326183424001,"66":12298,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8805733565466695680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326183424001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:18:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466695680,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326183424001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805733565466695680}} 
[2026-09-25 17:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":193874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:38] local.INFO: GPS data processed {"connection_id":193874,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:38] local.INFO: Acknowledgment sent {"connection_id":193874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:43] local.INFO: TCP Data received {"connection_id":193874,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d861fec0012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d861fec0012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:18:43] local.INFO: Processing buffer {"connection_id":193874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d861fec0012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:18:43] local.INFO: Packet analysis {"connection_id":193874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:18:43] local.INFO: Extracted packet for processing {"connection_id":193874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:18:43] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 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-25 17:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326188800001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790336696000,"timestamp_ms":1790336696000,"timestamp_seconds":1790336696,"priority":1,"record_length":96,"hex_timestamp":"000001a0d861fec0"} 
[2026-09-25 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-25 17:18:43] 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-25 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":1945555039024054273,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2855442142674978252,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":64,"raw_value":424570195955220563,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":23413000601862144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832607,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145891344590,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3222994944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831519232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,87,24,241,157,16,192,160,90,45,64,96,33,46,10,66,8,182,1,240,227,216,228,4,113,205,18,52,88,239,48,2,226,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:18:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873588906314694656,"timestamp_seconds":1873588906314694.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 17:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326188800001,"66":12330,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326188800001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326188800001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":193874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:43] local.INFO: GPS data processed {"connection_id":193874,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:43] local.INFO: Acknowledgment sent {"connection_id":193874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:18:54] local.INFO: TCP Data received {"connection_id":195190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:54] local.INFO: Processing buffer {"connection_id":195190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:54] local.INFO: IMEI packet received {"connection_id":195190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":195190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:18:58] local.INFO: TCP Data received {"connection_id":195190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:58] local.INFO: Processing buffer {"connection_id":195190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:18:58] local.INFO: IMEI packet received {"connection_id":195190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":195190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:18:59] local.INFO: TCP Data received {"connection_id":195190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d864ecc0012d1800c0072076c8003500ee27..."} 
[2026-09-25 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d864ecc0012d1800c0072076c8003500ee27..."} 
[2026-09-25 17:18:59] local.INFO: Processing buffer {"connection_id":195190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d864ecc0012d1800c0072076c8003500ee27..."} 
[2026-09-25 17:18:59] local.INFO: Packet analysis {"connection_id":195190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d864"} 
[2026-09-25 17:18:59] local.INFO: Extracted packet for processing {"connection_id":195190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d864"} 
[2026-09-25 17:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756547776,"raw_latitude":119568072,"longitude_deg":75.6547776,"latitude_deg":11.9568072,"altitude":53,"angle":238,"satellites":39,"speed":3,"hex_longitude":"2d1800c0","hex_latitude":"072076c8","is_valid_coordinates":true} 
[2026-09-25 17:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326239744001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23003784707833856,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729734131240615936,"note":"Value kept but may cause issues"} 
[2026-09-25 17:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790336888000,"timestamp_ms":1790336888000,"timestamp_seconds":1790336888,"priority":1,"record_length":96,"hex_timestamp":"000001a0d864ecc0"} 
[2026-09-25 17:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:18:59] 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-25 17:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-25 17:18:59] 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-25 17:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326239744001,"66":12928,"107":206,"83":41984,"24":3,"16":23003784707833856,"45":1729734131240615936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326239744001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:18:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23003784707833856,"km_value":23003784707833.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729734131240615936,"description":"Unknown IO ID 45"} 
[2026-09-25 17:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326239744001,"power":12928,"unknown_107":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1729734131240615936}} 
[2026-09-25 17:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":195190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:18:59] local.INFO: GPS data processed {"connection_id":195190,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:18:59] local.INFO: Acknowledgment sent {"connection_id":195190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:02] local.INFO: TCP Data received {"connection_id":192319,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:02] local.INFO: Processing buffer {"connection_id":192319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:02] local.INFO: Packet analysis {"connection_id":192319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:19:02] local.INFO: Extracted packet for processing {"connection_id":192319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19: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-25 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:19: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-25 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:19: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-25 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":192319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:19:02] local.INFO: GPS data processed {"connection_id":192319,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:19:02] local.INFO: Acknowledgment sent {"connection_id":192319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:25] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:25] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:25] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:19:27] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:27] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:27] local.INFO: IMEI packet received {"connection_id":192497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":192497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:19:30] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:30] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:19:30] local.INFO: IMEI packet received {"connection_id":192320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:19:30] local.INFO: TCP Data received {"connection_id":195190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d864f0a8012d180040072076a0003500fa29..."} 
[2026-09-25 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d864f0a8012d180040072076a0003500fa29..."} 
[2026-09-25 17:19:30] local.INFO: Processing buffer {"connection_id":195190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d864f0a8012d180040072076a0003500fa29..."} 
[2026-09-25 17:19:30] local.INFO: Packet analysis {"connection_id":195190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d864"} 
[2026-09-25 17:19:30] local.INFO: Extracted packet for processing {"connection_id":195190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d864"} 
[2026-09-25 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756547648,"raw_latitude":119568032,"longitude_deg":75.6547648,"latitude_deg":11.9568032,"altitude":53,"angle":250,"satellites":41,"speed":4,"hex_longitude":"2d180040","hex_latitude":"072076a0","is_valid_coordinates":true} 
[2026-09-25 17:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326243328001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23003789002801152,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729593393752229888,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790336889000,"timestamp_ms":1790336889000,"timestamp_seconds":1790336889,"priority":1,"record_length":96,"hex_timestamp":"000001a0d864f0a8"} 
[2026-09-25 17:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:19:30] 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-25 17:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-25 17:19:30] 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-25 17:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326243328001,"66":12885,"107":206,"83":41984,"24":4,"16":23003789002801152,"45":1729593393752229888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326243328001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:19:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23003789002801152,"km_value":23003789002801.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729593393752229888,"description":"Unknown IO ID 45"} 
[2026-09-25 17:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326243328001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1729593393752229888}} 
[2026-09-25 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":195190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:19:30] local.INFO: GPS data processed {"connection_id":195190,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:19:30] local.INFO: Acknowledgment sent {"connection_id":195190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:31] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:31] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:19:31] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:19:31] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19: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-25 17:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:19: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-25 17:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:19: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-25 17:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:19:31] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:19:31] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:36] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: IMEI packet received {"connection_id":192497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":192497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:19:36] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:19:36] local.INFO: IMEI packet received {"connection_id":192497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":192497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:19:37] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8658518012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8658518012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:19:37] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8658518012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:19:37] local.INFO: Packet analysis {"connection_id":192497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d865"} 
[2026-09-25 17:19:37] local.INFO: Extracted packet for processing {"connection_id":192497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d865"} 
[2026-09-25 17:19:37] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326247936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790336927000,"timestamp_ms":1790336927000,"timestamp_seconds":1790336927,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8658518"} 
[2026-09-25 17:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:19:37] 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-25 17:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326247936001,"66":12298,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326247936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:19:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326247936001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:19:37] 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":896213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:19:37] local.INFO: GPS data processed {"connection_id":192497,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:19:37] local.INFO: Acknowledgment sent {"connection_id":192497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:38] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d865d720012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d865d720012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:19:38] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d865d720012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:19:38] local.INFO: Packet analysis {"connection_id":192497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d865"} 
[2026-09-25 17:19:38] local.INFO: Extracted packet for processing {"connection_id":192497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d865"} 
[2026-09-25 17:19:38] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326253312001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336948000,"timestamp_ms":1790336948000,"timestamp_seconds":1790336948,"priority":1,"record_length":96,"hex_timestamp":"000001a0d865d720"} 
[2026-09-25 17:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:19:38] 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-25 17:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2738188573441261569,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2854359810916386255,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":128,"raw_value":424567412815954003,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":26,"raw_value":23415199625117696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832606,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587345146085582,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147869789,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3223715840,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831353344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:19:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,87,24,241,157,16,192,160,51,45,128,93,26,10,66,225,48,143,1,240,227,216,228,4,113,205,234,49,208,239,2,226,5,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:19:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873588902019727360,"timestamp_seconds":1873588902019727.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326253312001,"66":12330,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326253312001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:19:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:19:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326253312001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:19:38] 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":896214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:19:38] local.INFO: GPS data processed {"connection_id":192497,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:19:38] local.INFO: Acknowledgment sent {"connection_id":192497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:19:53] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:53] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:53] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:19:54] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:19:54] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:54] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:19:57] local.INFO: TCP Data received {"connection_id":193875,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:57] local.INFO: Processing buffer {"connection_id":193875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:19:57] local.INFO: IMEI packet received {"connection_id":193875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":193875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:20:03] local.INFO: TCP Data received {"connection_id":192320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:03] local.INFO: Processing buffer {"connection_id":192320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:03] local.INFO: Packet analysis {"connection_id":192320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:20:03] local.INFO: Extracted packet for processing {"connection_id":192320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20: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-25 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:20: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-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":192320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:20:03] local.INFO: GPS data processed {"connection_id":192320,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:20:03] local.INFO: Acknowledgment sent {"connection_id":192320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:20:09] local.INFO: TCP Data received {"connection_id":192497,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8662928012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8662928012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:20:09] local.INFO: Processing buffer {"connection_id":192497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8662928012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:20:09] local.INFO: Packet analysis {"connection_id":192497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:20:09] local.INFO: Extracted packet for processing {"connection_id":192497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326258688001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790336969000,"timestamp_ms":1790336969000,"timestamp_seconds":1790336969,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8662928"} 
[2026-09-25 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:20: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-25 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:20:09] 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-25 17:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326258688001,"66":12330,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326258688001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:20:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:20:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326258688001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:20:09] 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":896216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:20:09] local.INFO: GPS data processed {"connection_id":192497,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:20:09] local.INFO: Acknowledgment sent {"connection_id":192497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:20:24] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:24] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:24] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:20:31] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:31] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:20:31] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:20:32] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:32] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:20:32] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:20:32] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:20: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-25 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:20:32] 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":896217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:20:32] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:20:32] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:20:32] local.INFO: TCP Data received {"connection_id":193876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:32] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:32] local.INFO: IMEI packet received {"connection_id":193876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":193876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:20:33] local.INFO: TCP Data received {"connection_id":193876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:33] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:33] local.INFO: IMEI packet received {"connection_id":193876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":193876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:20:37] local.INFO: TCP Data received {"connection_id":193876,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:37] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:20:37] local.INFO: IMEI packet received {"connection_id":193876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":193876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:20:38] local.INFO: TCP Data received {"connection_id":193876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8667b30012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8667b30012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:20:38] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8667b30012d7a318005e45dd0001a00532f..."} 
[2026-09-25 17:20:38] local.INFO: Packet analysis {"connection_id":193876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:20:38] local.INFO: Extracted packet for processing {"connection_id":193876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326264064001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790336990000,"timestamp_ms":1790336990000,"timestamp_seconds":1790336990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8667b30"} 
[2026-09-25 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:20:38] 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-25 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:20:38] 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-25 17:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326264064001,"66":12341,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326264064001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:20:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326264064001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:20:38] 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":896218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:20:38] local.INFO: GPS data processed {"connection_id":193876,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:20:38] local.INFO: Acknowledgment sent {"connection_id":193876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:21:03] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:21:03] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8628390012d34c14006aa49080009006e2f..."} 
[2026-09-25 17:21:03] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:21:03] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d862"} 
[2026-09-25 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326125824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21: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-25 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790336730000,"timestamp_ms":1790336730000,"timestamp_seconds":1790336730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8628390"} 
[2026-09-25 17:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326125824001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326125824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:21: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-25 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326125824001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:21:03] 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":896219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:21:03] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:21:03] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:21:10] local.INFO: TCP Data received {"connection_id":193876,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d866cd38012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d866cd38012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:21:10] local.INFO: Processing buffer {"connection_id":193876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d866cd38012d7a318005e45dd0001a005330..."} 
[2026-09-25 17:21:10] local.INFO: Packet analysis {"connection_id":193876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:21:10] local.INFO: Extracted packet for processing {"connection_id":193876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":48,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 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-25 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326269440001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790337011000,"timestamp_ms":1790337011000,"timestamp_seconds":1790337011,"priority":1,"record_length":96,"hex_timestamp":"000001a0d866cd38"} 
[2026-09-25 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-25 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":193876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":193876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":193876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326269440001,"66":12156,"95":206,"87":13824,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-25 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326269440001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:21:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-25 17:21:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-25 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326269440001,"power":12156,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:21:10] 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":896220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:21:10] local.INFO: GPS data processed {"connection_id":193876,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:21:10] local.INFO: Acknowledgment sent {"connection_id":193876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:21:27] local.INFO: TCP Data received {"connection_id":195191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:27] local.INFO: Processing buffer {"connection_id":195191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:27] local.INFO: IMEI packet received {"connection_id":195191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":195191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:21:30] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:30] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:30] local.INFO: IMEI packet received {"connection_id":192322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":192322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:21:33] local.INFO: TCP Data received {"connection_id":195191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:33] local.INFO: Processing buffer {"connection_id":195191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:21:33] local.INFO: IMEI packet received {"connection_id":195191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":195191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:21:33] local.INFO: TCP Data received {"connection_id":195191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671f40012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671f40012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:21:33] local.INFO: Processing buffer {"connection_id":195191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671f40012d7a318005e45dd0001a00532e..."} 
[2026-09-25 17:21:33] local.INFO: Packet analysis {"connection_id":195191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:21:33] local.INFO: Extracted packet for processing {"connection_id":195191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326274816001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790337032000,"timestamp_ms":1790337032000,"timestamp_seconds":1790337032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671f40"} 
[2026-09-25 17: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-25 17:21:33] 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-25 17: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-25 17:21:33] 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-25 17: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-25 17: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-25 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326274816001,"66":12319,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326274816001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:21:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326274816001,"power":12319,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":195191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:21:33] local.INFO: GPS data processed {"connection_id":195191,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:21:33] local.INFO: Acknowledgment sent {"connection_id":195191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:21:35] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:35] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:21:35] local.INFO: IMEI packet received {"connection_id":192322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":192322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:21:36] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:21:36] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:21:36] local.INFO: Packet analysis {"connection_id":192322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:21:36] local.INFO: Extracted packet for processing {"connection_id":192322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17: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-25 17:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:21: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-25 17:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":192322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:21:36] local.INFO: GPS data processed {"connection_id":192322,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:21:36] local.INFO: Acknowledgment sent {"connection_id":192322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:22:05] local.INFO: TCP Data received {"connection_id":195191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8677148012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8677148012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:22:05] local.INFO: Processing buffer {"connection_id":195191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8677148012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:22:05] local.INFO: Packet analysis {"connection_id":195191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:05] local.INFO: Extracted packet for processing {"connection_id":195191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326280192001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790337053000,"timestamp_ms":1790337053000,"timestamp_seconds":1790337053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8677148"} 
[2026-09-25 17: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-25 17:22:05] 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-25 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 17:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326280192001,"66":12319,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326280192001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:22:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326280192001,"power":12319,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":195191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:22:05] local.INFO: GPS data processed {"connection_id":195191,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:22:05] local.INFO: Acknowledgment sent {"connection_id":195191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:22:07] local.INFO: TCP Data received {"connection_id":192322,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:07] local.INFO: Processing buffer {"connection_id":192322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:07] local.INFO: Packet analysis {"connection_id":192322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:07] local.INFO: Extracted packet for processing {"connection_id":192322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:22: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-25 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:22:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":192322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:22:07] local.INFO: GPS data processed {"connection_id":192322,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:22:07] local.INFO: Acknowledgment sent {"connection_id":192322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:22:25] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:25] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:25] local.INFO: IMEI packet received {"connection_id":192503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":192503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:22:27] local.INFO: TCP Data received {"connection_id":195192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:27] local.INFO: Processing buffer {"connection_id":195192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:27] local.INFO: IMEI packet received {"connection_id":195192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":195192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:22:30] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:30] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:22:30] local.INFO: IMEI packet received {"connection_id":192503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:22:31] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:31] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:22:31] local.INFO: Packet analysis {"connection_id":192503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:31] local.INFO: Extracted packet for processing {"connection_id":192503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22: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-25 17:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:22: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-25 17:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:22:31] 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":896225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:22:31] local.INFO: GPS data processed {"connection_id":192503,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:22:31] local.INFO: Acknowledgment sent {"connection_id":192503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:22:33] local.INFO: TCP Data received {"connection_id":195192,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:33] local.INFO: Processing buffer {"connection_id":195192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:22:33] local.INFO: IMEI packet received {"connection_id":195192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":195192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:22:33] local.INFO: TCP Data received {"connection_id":195192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d867c350012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d867c350012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:22:33] local.INFO: Processing buffer {"connection_id":195192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d867c350012d7a318005e45dd0001a00532d..."} 
[2026-09-25 17:22:33] local.INFO: Packet analysis {"connection_id":195192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:33] local.INFO: Extracted packet for processing {"connection_id":195192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326285568001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790337074000,"timestamp_ms":1790337074000,"timestamp_seconds":1790337074,"priority":1,"record_length":96,"hex_timestamp":"000001a0d867c350"} 
[2026-09-25 17:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 17:22:33] 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-25 17:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326285568001,"66":12330,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326285568001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326285568001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":195192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:22:33] local.INFO: GPS data processed {"connection_id":195192,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:22:33] local.INFO: Acknowledgment sent {"connection_id":195192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:23:03] local.INFO: TCP Data received {"connection_id":192503,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:03] local.INFO: Processing buffer {"connection_id":192503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:03] local.INFO: Packet analysis {"connection_id":192503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:23:03] local.INFO: Extracted packet for processing {"connection_id":192503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23: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-25 17:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:23: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-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:23:03] 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":896227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:23:03] local.INFO: GPS data processed {"connection_id":192503,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:23:03] local.INFO: Acknowledgment sent {"connection_id":192503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:23:06] local.INFO: TCP Data received {"connection_id":195192,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8681558012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8681558012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:06] local.INFO: Processing buffer {"connection_id":195192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8681558012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:06] local.INFO: Packet analysis {"connection_id":195192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:23:06] local.INFO: Extracted packet for processing {"connection_id":195192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326290944001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790337095000,"timestamp_ms":1790337095000,"timestamp_seconds":1790337095,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8681558"} 
[2026-09-25 17: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-25 17:23:06] 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-25 17: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:23:06] 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-25 17: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-25 17: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-25 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326290944001,"66":12287,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326290944001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326290944001,"power":12287,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":195192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:23:06] local.INFO: GPS data processed {"connection_id":195192,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:23:06] local.INFO: Acknowledgment sent {"connection_id":195192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:23:19] local.INFO: TCP Data received {"connection_id":195193,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:23:19] local.INFO: Processing buffer {"connection_id":195193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:23:19] local.INFO: IMEI packet received {"connection_id":195193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":195193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:23:25] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:25] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:25] local.INFO: IMEI packet received {"connection_id":193877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":193877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:23:30] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:30] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:23:30] local.INFO: IMEI packet received {"connection_id":193877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":193877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:23:31] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:31] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:23:31] local.INFO: Packet analysis {"connection_id":193877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:23:31] local.INFO: Extracted packet for processing {"connection_id":193877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23: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-25 17:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:23: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-25 17:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:23:31] 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":896229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:23:31] local.INFO: GPS data processed {"connection_id":193877,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:23:31] local.INFO: Acknowledgment sent {"connection_id":193877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:23:37] local.INFO: TCP Data received {"connection_id":195194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:37] local.INFO: Processing buffer {"connection_id":195194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:37] local.INFO: IMEI packet received {"connection_id":195194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":195194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:23:43] local.INFO: TCP Data received {"connection_id":195194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:43] local.INFO: Processing buffer {"connection_id":195194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:23:43] local.INFO: IMEI packet received {"connection_id":195194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":195194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:23:43] local.INFO: TCP Data received {"connection_id":195194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8686760012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8686760012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:43] local.INFO: Processing buffer {"connection_id":195194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8686760012d7a318005e45dd0001a00532c..."} 
[2026-09-25 17:23:43] local.INFO: Packet analysis {"connection_id":195194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:23:43] local.INFO: Extracted packet for processing {"connection_id":195194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:23:43] local.INFO: GPS Element Parsed {"raw_longitude":762982784,"raw_latitude":98852304,"longitude_deg":76.2982784,"latitude_deg":9.8852304,"altitude":26,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3180","hex_latitude":"05e45dd0","is_valid_coordinates":true} 
[2026-09-25 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-25 17:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326296320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882208215826432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790337116000,"timestamp_ms":1790337116000,"timestamp_seconds":1790337116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8686760"} 
[2026-09-25 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-25 17:23:43] 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-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 17:23:43] 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-25 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-25 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-25 17:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":195194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":195194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":195194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326296320001,"66":12330,"102":206,"87":12288,"24":0,"16":135882208215826432,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326296320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:23:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:23:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882208215826432,"km_value":135882208215826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326296320001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":195194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:23:44] local.INFO: GPS data processed {"connection_id":195194,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:23:44] local.INFO: Acknowledgment sent {"connection_id":195194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:24:03] local.INFO: TCP Data received {"connection_id":193877,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:03] local.INFO: Processing buffer {"connection_id":193877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:03] local.INFO: Packet analysis {"connection_id":193877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:24:03] local.INFO: Extracted packet for processing {"connection_id":193877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24: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-25 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:24: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-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:24:03] 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":896231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:24:03] local.INFO: GPS data processed {"connection_id":193877,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:24:03] local.INFO: Acknowledgment sent {"connection_id":193877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:24:04] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:24:04] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:24:04] local.INFO: IMEI packet received {"connection_id":192504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":192504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:24:25] local.INFO: TCP Data received {"connection_id":195196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:25] local.INFO: Processing buffer {"connection_id":195196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:25] local.INFO: IMEI packet received {"connection_id":195196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":195196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:24:27] local.INFO: TCP Data received {"connection_id":195197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:27] local.INFO: Processing buffer {"connection_id":195197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:27] local.INFO: IMEI packet received {"connection_id":195197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":195197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:24:30] local.INFO: TCP Data received {"connection_id":195196,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:30] local.INFO: Processing buffer {"connection_id":195196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:24:30] local.INFO: IMEI packet received {"connection_id":195196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":195196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:24:31] local.INFO: TCP Data received {"connection_id":195196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:31] local.INFO: Processing buffer {"connection_id":195196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:24:31] local.INFO: Packet analysis {"connection_id":195196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:24:31] local.INFO: Extracted packet for processing {"connection_id":195196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24: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-25 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:24: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-25 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":195196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:24:31] local.INFO: GPS data processed {"connection_id":195196,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:24:31] local.INFO: Acknowledgment sent {"connection_id":195196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:24:33] local.INFO: TCP Data received {"connection_id":195197,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:33] local.INFO: Processing buffer {"connection_id":195197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:24:33] local.INFO: IMEI packet received {"connection_id":195197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":195197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:24:34] local.INFO: TCP Data received {"connection_id":195197,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868b968012d7a338005e460f8001600532d..."} 
[2026-09-25 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868b968012d7a338005e460f8001600532d..."} 
[2026-09-25 17:24:34] local.INFO: Processing buffer {"connection_id":195197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868b968012d7a338005e460f8001600532d..."} 
[2026-09-25 17:24:34] local.INFO: Packet analysis {"connection_id":195197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:24:34] local.INFO: Extracted packet for processing {"connection_id":195197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326301696001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804959509280575488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790337137000,"timestamp_ms":1790337137000,"timestamp_seconds":1790337137,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868b968"} 
[2026-09-25 17: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-25 17:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:24:34] 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-25 17: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-25 17: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-25 17:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326301696001,"66":12330,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8804959509280575488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326301696001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804959509280575488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326301696001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804959509280575488}} 
[2026-09-25 17:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":195197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:24:34] local.INFO: GPS data processed {"connection_id":195197,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:24:34] local.INFO: Acknowledgment sent {"connection_id":195197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:24:59] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:24:59] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:24:59] local.INFO: IMEI packet received {"connection_id":192505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":192505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:25:00] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868d4c0012d1824800721b818004a01512a..."} 
[2026-09-25 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868d4c0012d1824800721b818004a01512a..."} 
[2026-09-25 17:25:00] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868d4c0012d1824800721b818004a01512a..."} 
[2026-09-25 17:25:00] local.INFO: Packet analysis {"connection_id":192505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:00] local.INFO: Extracted packet for processing {"connection_id":192505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650328,"longitude_deg":75.6556928,"latitude_deg":11.9650328,"altitude":74,"angle":337,"satellites":42,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-09-25 17:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326308608001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009406820024320,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190638080,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25: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-25 17:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337144000,"timestamp_ms":1790337144000,"timestamp_seconds":1790337144,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868d4c0"} 
[2026-09-25 17:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:25:00] 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-25 17:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:00] 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-25 17:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326308608001,"66":13167,"105":206,"83":41984,"24":7,"16":23009406820024320,"45":1739656124190638080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326308608001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009406820024320,"km_value":23009406820024.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190638080,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326308608001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739656124190638080}} 
[2026-09-25 17:25:00] 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":896234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:00] local.INFO: GPS data processed {"connection_id":192505,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:00] local.INFO: Acknowledgment sent {"connection_id":192505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:02] local.INFO: TCP Data received {"connection_id":195196,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:02] local.INFO: Processing buffer {"connection_id":195196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:02] local.INFO: Packet analysis {"connection_id":195196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:02] local.INFO: Extracted packet for processing {"connection_id":195196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25: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-25 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:25: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-25 17:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":195196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:02] local.INFO: GPS data processed {"connection_id":195196,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:02] local.INFO: Acknowledgment sent {"connection_id":195196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:05] local.INFO: TCP Data received {"connection_id":195197,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8690b70012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8690b70012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:05] local.INFO: Processing buffer {"connection_id":195197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8690b70012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:05] local.INFO: Packet analysis {"connection_id":195197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:05] local.INFO: Extracted packet for processing {"connection_id":195197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326307072001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790337158000,"timestamp_ms":1790337158000,"timestamp_seconds":1790337158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8690b70"} 
[2026-09-25 17: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-25 17:25:05] 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-25 17: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:05] 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-25 17: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-25 17: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-25 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326307072001,"66":12069,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326307072001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326307072001,"power":12069,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":195197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:05] local.INFO: GPS data processed {"connection_id":195197,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:05] local.INFO: Acknowledgment sent {"connection_id":195197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:22] local.INFO: TCP Data received {"connection_id":192324,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:22] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:22] local.INFO: IMEI packet received {"connection_id":192324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":192324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:25:28] local.INFO: TCP Data received {"connection_id":192324,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:28] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:25:28] local.INFO: IMEI packet received {"connection_id":192324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":192324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:25:29] local.INFO: TCP Data received {"connection_id":192324,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8538b88012d0b0cc007029e10001600fd19..."} 
[2026-09-25 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8538b88012d0b0cc007029e10001600fd19..."} 
[2026-09-25 17:25:29] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8538b88012d0b0cc007029e10001600fd19..."} 
[2026-09-25 17:25:29] local.INFO: Packet analysis {"connection_id":192324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:25:29] local.INFO: Extracted packet for processing {"connection_id":192324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117612048,"longitude_deg":75.569888,"latitude_deg":11.7612048,"altitude":22,"angle":253,"satellites":25,"speed":1,"hex_longitude":"2d0b0cc0","hex_latitude":"07029e10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325947392001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911232113147904,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432414720,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790335749000,"timestamp_ms":1790335749000,"timestamp_seconds":1790335749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8538b88"} 
[2026-09-25 17: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-25 17:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:29] 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-25 17: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-25 17: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-25 17:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325947392001,"66":14515,"17":206,"94":11008,"24":1,"16":33911232113147904,"45":796785320432414720},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325947392001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911232113147904,"km_value":33911232113147.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432414720,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325947392001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":796785320432414720}} 
[2026-09-25 17:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":192324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:29] local.INFO: GPS data processed {"connection_id":192324,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:29] local.INFO: Acknowledgment sent {"connection_id":192324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:30] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:30] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:30] local.INFO: IMEI packet received {"connection_id":192325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:25:31] local.INFO: TCP Data received {"connection_id":192505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868d8a8012d1824400721b888004a01302a..."} 
[2026-09-25 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868d8a8012d1824400721b888004a01302a..."} 
[2026-09-25 17:25:31] local.INFO: Processing buffer {"connection_id":192505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868d8a8012d1824400721b888004a01302a..."} 
[2026-09-25 17:25:31] local.INFO: Packet analysis {"connection_id":192505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:31] local.INFO: Extracted packet for processing {"connection_id":192505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650440,"longitude_deg":75.6556864,"latitude_deg":11.965044,"altitude":74,"angle":304,"satellites":42,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b888","is_valid_coordinates":true} 
[2026-09-25 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326308864001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009411114991616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190693376,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337145000,"timestamp_ms":1790337145000,"timestamp_seconds":1790337145,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868d8a8"} 
[2026-09-25 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:31] 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-25 17:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326308864001,"66":13135,"105":206,"83":41984,"24":5,"16":23009411114991616,"45":1739656124190693376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326308864001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009411114991616,"km_value":23009411114991.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190693376,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326308864001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739656124190693376}} 
[2026-09-25 17:25:31] 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":896238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:31] local.INFO: GPS data processed {"connection_id":192505,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:31] local.INFO: Acknowledgment sent {"connection_id":192505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:33] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:33] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:33] local.INFO: IMEI packet received {"connection_id":193879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":193879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:25:35] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:35] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:25:35] local.INFO: IMEI packet received {"connection_id":192325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":192325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:25:36] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:36] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:36] local.INFO: Packet analysis {"connection_id":192325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:36] local.INFO: Extracted packet for processing {"connection_id":192325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17: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-25 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25: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-25 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:25:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":192325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:36] local.INFO: GPS data processed {"connection_id":192325,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:36] local.INFO: Acknowledgment sent {"connection_id":192325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:38] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:38] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:25:38] local.INFO: IMEI packet received {"connection_id":193879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":193879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:25:39] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8695d78012d7a338005e460f8001600532b..."} 
[2026-09-25 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8695d78012d7a338005e460f8001600532b..."} 
[2026-09-25 17:25:39] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8695d78012d7a338005e460f8001600532b..."} 
[2026-09-25 17:25:39] local.INFO: Packet analysis {"connection_id":193879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:39] local.INFO: Extracted packet for processing {"connection_id":193879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326312448001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790337179000,"timestamp_ms":1790337179000,"timestamp_seconds":1790337179,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8695d78"} 
[2026-09-25 17: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-25 17:25:39] 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-25 17: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":193879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":193879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":193879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326312448001,"66":12298,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326312448001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326312448001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:25:39] 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":896240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:39] local.INFO: GPS data processed {"connection_id":193879,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:39] local.INFO: Acknowledgment sent {"connection_id":193879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:40] local.INFO: TCP Data received {"connection_id":192325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:40] local.INFO: Processing buffer {"connection_id":192325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8671b58012d34c14006aa49080009006e2e..."} 
[2026-09-25 17:25:40] local.INFO: Packet analysis {"connection_id":192325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:40] local.INFO: Extracted packet for processing {"connection_id":192325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d867"} 
[2026-09-25 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326202880001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25: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-25 17:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790337031000,"timestamp_ms":1790337031000,"timestamp_seconds":1790337031,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8671b58"} 
[2026-09-25 17:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:25: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-25 17:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326202880001,"66":25549,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326202880001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:25: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-25 17:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326202880001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":192325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:40] local.INFO: GPS data processed {"connection_id":192325,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:40] local.INFO: Acknowledgment sent {"connection_id":192325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:43] local.INFO: TCP Data received {"connection_id":193879,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d869af80012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d869af80012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:43] local.INFO: Processing buffer {"connection_id":193879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d869af80012d7a338005e460f8001600532e..."} 
[2026-09-25 17:25:43] local.INFO: Packet analysis {"connection_id":193879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:43] local.INFO: Extracted packet for processing {"connection_id":193879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:25:43] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326317824001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790337200000,"timestamp_ms":1790337200000,"timestamp_seconds":1790337200,"priority":1,"record_length":96,"hex_timestamp":"000001a0d869af80"} 
[2026-09-25 17: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-25 17:25:43] 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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2738188573441261569,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2853277479157794255,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":128,"raw_value":424567412815954003,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120402268366,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147869789,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3223715840,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831353344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.WARNING: Large IO value detected {"io_id":26,"raw_value":23410801578606592,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,87,24,241,157,16,192,160,11,45,128,96,22,46,10,66,185,103,1,240,42,227,216,228,4,113,205,195,49,208,239,48,2,226,5,26],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:25:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585358512983113728,"timestamp_seconds":1585358512983113.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326317824001,"66":12330,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326317824001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:25:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326317824001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:25:43] 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":896242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:43] local.INFO: GPS data processed {"connection_id":193879,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:43] local.INFO: Acknowledgment sent {"connection_id":193879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:25:54] local.INFO: TCP Data received {"connection_id":195199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:54] local.INFO: Processing buffer {"connection_id":195199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:54] local.INFO: IMEI packet received {"connection_id":195199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":195199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:25:58] local.INFO: TCP Data received {"connection_id":195199,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:58] local.INFO: Processing buffer {"connection_id":195199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:25:58] local.INFO: IMEI packet received {"connection_id":195199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":195199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:25:59] local.INFO: TCP Data received {"connection_id":195199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868e848012d1823400721b728004a00a42d..."} 
[2026-09-25 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868e848012d1823400721b728004a00a42d..."} 
[2026-09-25 17:25:59] local.INFO: Processing buffer {"connection_id":195199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868e848012d1823400721b728004a00a42d..."} 
[2026-09-25 17:25:59] local.INFO: Packet analysis {"connection_id":195199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:59] local.INFO: Extracted packet for processing {"connection_id":195199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650088,"longitude_deg":75.6556608,"latitude_deg":11.9650088,"altitude":74,"angle":164,"satellites":45,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-09-25 17:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326309120001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009436884795392,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446544384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:25:59] local.INFO: IO Element Parsed {"io_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-25 17:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790337149000,"timestamp_ms":1790337149000,"timestamp_seconds":1790337149,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868e848"} 
[2026-09-25 17:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 17:25:59] 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-25 17:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326309120001,"66":13135,"105":206,"83":41984,"24":6,"16":23009436884795392,"45":1739585755446544384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326309120001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:25:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009436884795392,"km_value":23009436884795.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446544384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326309120001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446544384}} 
[2026-09-25 17:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":195199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:25:59] local.INFO: GPS data processed {"connection_id":195199,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:25:59] local.INFO: Acknowledgment sent {"connection_id":195199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:01] local.INFO: TCP Data received {"connection_id":192324,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:01] local.INFO: Processing buffer {"connection_id":192324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:01] local.INFO: Packet analysis {"connection_id":192324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:26:01] local.INFO: Extracted packet for processing {"connection_id":192324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612032,"longitude_deg":75.5698752,"latitude_deg":11.7612032,"altitude":22,"angle":244,"satellites":26,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"07029e00","is_valid_coordinates":true} 
[2026-09-25 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325951744001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370478952448,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790335751000,"timestamp_ms":1790335751000,"timestamp_seconds":1790335751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8539358"} 
[2026-09-25 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:01] 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-25 17:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325951744001,"66":13754,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":796222370478952448},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325951744001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370478952448,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325951744001,"power":13754,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370478952448}} 
[2026-09-25 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":192324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:01] local.INFO: GPS data processed {"connection_id":192324,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:01] local.INFO: Acknowledgment sent {"connection_id":192324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:17] local.INFO: TCP Data received {"connection_id":192327,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:17] local.INFO: Processing buffer {"connection_id":192327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:17] local.INFO: IMEI packet received {"connection_id":192327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":192327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:26:23] local.INFO: TCP Data received {"connection_id":192327,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:23] local.INFO: Processing buffer {"connection_id":192327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:26:23] local.INFO: IMEI packet received {"connection_id":192327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":192327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:26:24] local.INFO: TCP Data received {"connection_id":192327,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:24] local.INFO: Processing buffer {"connection_id":192327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8539358012d0b0c4007029e00001600f41a..."} 
[2026-09-25 17:26:24] local.INFO: Packet analysis {"connection_id":192327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:26:24] local.INFO: Extracted packet for processing {"connection_id":192327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d853"} 
[2026-09-25 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612032,"longitude_deg":75.5698752,"latitude_deg":11.7612032,"altitude":22,"angle":244,"satellites":26,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"07029e00","is_valid_coordinates":true} 
[2026-09-25 17:26:24] 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-25 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325952256001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990593024,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:24] 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-25 17:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790335751000,"timestamp_ms":1790335751000,"timestamp_seconds":1790335751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8539358"} 
[2026-09-25 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-25 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:26: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-25 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-25 17:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325952256001,"66":13754,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":796081632990593024},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325952256001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990593024,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325952256001,"power":13754,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990593024}} 
[2026-09-25 17:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":192327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:24] local.INFO: GPS data processed {"connection_id":192327,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:24] local.INFO: Acknowledgment sent {"connection_id":192327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:25] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:25] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:25] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:26:27] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:27] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:27] local.INFO: IMEI packet received {"connection_id":195200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":195200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:26:30] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:30] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:26:30] local.INFO: IMEI packet received {"connection_id":192328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":192328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:26:30] local.INFO: TCP Data received {"connection_id":195199,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868f018012d1823800721b5c8004a00bf2d..."} 
[2026-09-25 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868f018012d1823800721b5c8004a00bf2d..."} 
[2026-09-25 17:26:30] local.INFO: Processing buffer {"connection_id":195199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868f018012d1823800721b5c8004a00bf2d..."} 
[2026-09-25 17:26:30] local.INFO: Packet analysis {"connection_id":195199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:26:30] local.INFO: Extracted packet for processing {"connection_id":195199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649736,"longitude_deg":75.6556672,"latitude_deg":11.9649736,"altitude":74,"angle":191,"satellites":45,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-09-25 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326310144001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009454064664576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469743616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26: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-25 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790337151000,"timestamp_ms":1790337151000,"timestamp_seconds":1790337151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868f018"} 
[2026-09-25 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:30] 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-25 17:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:30] 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-25 17:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326310144001,"66":13124,"105":206,"83":41984,"24":7,"16":23009454064664576,"45":1739304280469743616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326310144001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009454064664576,"km_value":23009454064664.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469743616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326310144001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739304280469743616}} 
[2026-09-25 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":195199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:30] local.INFO: GPS data processed {"connection_id":195199,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:30] local.INFO: Acknowledgment sent {"connection_id":195199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:31] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:26:31] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:26:31] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:26:31] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26: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-25 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:26: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-25 17:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:26: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-25 17:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:31] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:31] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:35] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: IMEI packet received {"connection_id":195200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":195200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:26:35] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:26:35] local.INFO: IMEI packet received {"connection_id":195200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":195200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:26:36] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86a0188012d7a338005e460f8001600532c..."} 
[2026-09-25 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86a0188012d7a338005e460f8001600532c..."} 
[2026-09-25 17:26:36] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86a0188012d7a338005e460f8001600532c..."} 
[2026-09-25 17:26:36] local.INFO: Packet analysis {"connection_id":195200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:26:36] local.INFO: Extracted packet for processing {"connection_id":195200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326323200001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790337221000,"timestamp_ms":1790337221000,"timestamp_seconds":1790337221,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86a0188"} 
[2026-09-25 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:36] 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-25 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:36] 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-25 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326323200001,"66":12341,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326323200001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:26:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326323200001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":195200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:36] local.INFO: GPS data processed {"connection_id":195200,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:36] local.INFO: Acknowledgment sent {"connection_id":195200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:38] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86a5390012d7a338005e460f8001600532e..."} 
[2026-09-25 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86a5390012d7a338005e460f8001600532e..."} 
[2026-09-25 17:26:38] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86a5390012d7a338005e460f8001600532e..."} 
[2026-09-25 17:26:38] local.INFO: Packet analysis {"connection_id":195200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:26:38] local.INFO: Extracted packet for processing {"connection_id":195200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326328576001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790337242000,"timestamp_ms":1790337242000,"timestamp_seconds":1790337242,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86a5390"} 
[2026-09-25 17:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:38] 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-25 17:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326328576001,"66":12298,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326328576001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326328576001,"power":12298,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":195200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:38] local.INFO: GPS data processed {"connection_id":195200,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:38] local.INFO: Acknowledgment sent {"connection_id":195200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:54] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:54] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:54] local.INFO: IMEI packet received {"connection_id":193880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":193880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:26:56] local.INFO: TCP Data received {"connection_id":192327,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8583ac0012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8583ac0012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:26:56] local.INFO: Processing buffer {"connection_id":192327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8583ac0012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:26:56] local.INFO: Packet analysis {"connection_id":192327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d858"} 
[2026-09-25 17:26:56] local.INFO: Extracted packet for processing {"connection_id":192327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d858"} 
[2026-09-25 17:26:56] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":21,"angle":244,"satellites":29,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458325952256001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990593024,"note":"Value kept but may cause issues"} 
[2026-09-25 17:26:56] 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-25 17:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790336056000,"timestamp_ms":1790336056000,"timestamp_seconds":1790336056,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8583ac0"} 
[2026-09-25 17:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-25 17:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458325952256001,"66":12885,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":796081632990593024},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458325952256001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990593024,"description":"Unknown IO ID 45"} 
[2026-09-25 17:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458325952256001,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990593024}} 
[2026-09-25 17:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":192327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:26:56] local.INFO: GPS data processed {"connection_id":192327,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:26:56] local.INFO: Acknowledgment sent {"connection_id":192327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:26:59] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:59] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:26:59] local.INFO: IMEI packet received {"connection_id":193880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":193880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:27:00] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d868f400012d1823400721b530004a00d62d..."} 
[2026-09-25 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d868f400012d1823400721b530004a00d62d..."} 
[2026-09-25 17:27:00] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d868f400012d1823400721b530004a00d62d..."} 
[2026-09-25 17:27:00] local.INFO: Packet analysis {"connection_id":193880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:27:00] local.INFO: Extracted packet for processing {"connection_id":193880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d868"} 
[2026-09-25 17:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649584,"longitude_deg":75.6556608,"latitude_deg":11.9649584,"altitude":74,"angle":214,"satellites":45,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-09-25 17:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326310656001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009462654599168,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213831168,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27: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-25 17:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337152000,"timestamp_ms":1790337152000,"timestamp_seconds":1790337152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d868f400"} 
[2026-09-25 17:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27:00] 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-25 17:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:00] 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-25 17:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326310656001,"66":13124,"105":206,"83":41984,"24":5,"16":23009462654599168,"45":1739374649213831168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326310656001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009462654599168,"km_value":23009462654599.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213831168,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326310656001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213831168}} 
[2026-09-25 17:27:00] 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":896251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:00] local.INFO: GPS data processed {"connection_id":193880,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:00] local.INFO: Acknowledgment sent {"connection_id":193880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:02] local.INFO: TCP Data received {"connection_id":192328,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:02] local.INFO: Processing buffer {"connection_id":192328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:02] local.INFO: Packet analysis {"connection_id":192328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:27:02] local.INFO: Extracted packet for processing {"connection_id":192328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27: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-25 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:27: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-25 17:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":192328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:02] local.INFO: GPS data processed {"connection_id":192328,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:02] local.INFO: Acknowledgment sent {"connection_id":192328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:09] local.INFO: TCP Data received {"connection_id":195200,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86aa598012d7a338005e460f8001600532e..."} 
[2026-09-25 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86aa598012d7a338005e460f8001600532e..."} 
[2026-09-25 17:27:09] local.INFO: Processing buffer {"connection_id":195200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86aa598012d7a338005e460f8001600532e..."} 
[2026-09-25 17:27:09] local.INFO: Packet analysis {"connection_id":195200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:27:09] local.INFO: Extracted packet for processing {"connection_id":195200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326333952001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790337263000,"timestamp_ms":1790337263000,"timestamp_seconds":1790337263,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86aa598"} 
[2026-09-25 17: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-25 17:27: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-25 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3458790902099608064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186082,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2738188573441261569,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2853006896218146255,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":424567412815954003,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587345146085582,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147869792,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3224436736,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831353344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.WARNING: Large IO value detected {"io_id":26,"raw_value":23410801578606592,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:09] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,87,24,241,157,16,192,160,1,45,128,96,22,44,10,66,175,46,93,240,227,216,228,4,113,205,185,51,248,239,48,2,226,5,26],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:27:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585358525868015616,"timestamp_seconds":1585358525868015.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326333952001,"66":12330,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326333952001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:27:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326333952001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":195200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:09] local.INFO: GPS data processed {"connection_id":195200,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:09] local.INFO: Acknowledgment sent {"connection_id":195200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:17] local.INFO: TCP Data received {"connection_id":193881,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:17] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:17] local.INFO: IMEI packet received {"connection_id":193881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":193881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:27:23] local.INFO: TCP Data received {"connection_id":193881,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:23] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:27:23] local.INFO: IMEI packet received {"connection_id":193881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":193881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:27:24] local.INFO: TCP Data received {"connection_id":193881,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d85cd288012d0b0ac007029e40001500f41e..."} 
[2026-09-25 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d85cd288012d0b0ac007029e40001500f41e..."} 
[2026-09-25 17:27:24] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d85cd288012d0b0ac007029e40001500f41e..."} 
[2026-09-25 17:27:24] local.INFO: Packet analysis {"connection_id":193881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:27:24] local.INFO: Extracted packet for processing {"connection_id":193881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d85c"} 
[2026-09-25 17:27:24] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":21,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:27: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-25 17:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326030336001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:24] 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-25 17:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790336357000,"timestamp_ms":1790336357000,"timestamp_seconds":1790336357,"priority":1,"record_length":96,"hex_timestamp":"000001a0d85cd288"} 
[2026-09-25 17:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:27: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-25 17:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326030336001,"66":12776,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326030336001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326030336001,"power":12776,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:27:24] 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":896254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:24] local.INFO: GPS data processed {"connection_id":193881,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:24] local.INFO: Acknowledgment sent {"connection_id":193881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:24] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:24] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:24] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:27:27] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:27] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:27] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:27:30] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:30] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:27:30] local.INFO: IMEI packet received {"connection_id":192330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":192330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:27:31] local.INFO: TCP Data received {"connection_id":193880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8694608012d1822c00721b4b0004a00d62c..."} 
[2026-09-25 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8694608012d1822c00721b4b0004a00d62c..."} 
[2026-09-25 17:27:31] local.INFO: Processing buffer {"connection_id":193880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8694608012d1822c00721b4b0004a00d62c..."} 
[2026-09-25 17:27:31] local.INFO: Packet analysis {"connection_id":193880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:27:31] local.INFO: Extracted packet for processing {"connection_id":193880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649456,"longitude_deg":75.655648,"latitude_deg":11.9649456,"altitude":74,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326310912001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009475539501056,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469614592,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337173000,"timestamp_ms":1790337173000,"timestamp_seconds":1790337173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8694608"} 
[2026-09-25 17: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-25 17:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:31] 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-25 17: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-25 17: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-25 17:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326310912001,"66":13091,"105":206,"83":41984,"24":0,"16":23009475539501056,"45":1739304280469614592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326310912001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009475539501056,"km_value":23009475539501.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469614592,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326310912001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469614592}} 
[2026-09-25 17:27:31] 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":896255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:31] local.INFO: GPS data processed {"connection_id":193880,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:31] local.INFO: Acknowledgment sent {"connection_id":193880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:32] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:32] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:27:32] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:27:32] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27: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-25 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:32] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:32] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:33] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:33] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:27:33] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:27:35] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86af7a0012d7a338005e460f8001600532d..."} 
[2026-09-25 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86af7a0012d7a338005e460f8001600532d..."} 
[2026-09-25 17:27:35] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86af7a0012d7a338005e460f8001600532d..."} 
[2026-09-25 17:27:35] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:27:35] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86a"} 
[2026-09-25 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326339328001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790337284000,"timestamp_ms":1790337284000,"timestamp_seconds":1790337284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86af7a0"} 
[2026-09-25 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27:35] 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-25 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:35] 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-25 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326339328001,"66":12341,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326339328001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326339328001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:35] local.INFO: GPS data processed {"connection_id":192506,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:35] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:27:54] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:54] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:54] local.INFO: IMEI packet received {"connection_id":192507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:27:59] local.INFO: TCP Data received {"connection_id":193881,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8616a50012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8616a50012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:27:59] local.INFO: Processing buffer {"connection_id":193881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8616a50012d0b0ac007029e40001500f41d..."} 
[2026-09-25 17:27:59] local.INFO: Packet analysis {"connection_id":193881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:27:59] local.INFO: Extracted packet for processing {"connection_id":193881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d861"} 
[2026-09-25 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":21,"angle":244,"satellites":29,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326107392001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:27:59] 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-25 17:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790336658000,"timestamp_ms":1790336658000,"timestamp_seconds":1790336658,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8616a50"} 
[2026-09-25 17:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:27:59] 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-25 17:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-25 17:27:59] 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-25 17:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326107392001,"66":12722,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326107392001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:27:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326107392001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:27:59] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:59] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:27:59] local.INFO: IMEI packet received {"connection_id":192507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:27:59] 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":896258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:27:59] local.INFO: GPS data processed {"connection_id":193881,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:27:59] local.INFO: Acknowledgment sent {"connection_id":193881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:00] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8699810012d1822c00721b4b0004a00d62d..."} 
[2026-09-25 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8699810012d1822c00721b4b0004a00d62d..."} 
[2026-09-25 17:28:00] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8699810012d1822c00721b4b0004a00d62d..."} 
[2026-09-25 17:28:00] local.INFO: Packet analysis {"connection_id":192507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:28:00] local.INFO: Extracted packet for processing {"connection_id":192507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d869"} 
[2026-09-25 17:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649456,"longitude_deg":75.655648,"latitude_deg":11.9649456,"altitude":74,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4b0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326316288001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009475539501056,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981226496,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337194000,"timestamp_ms":1790337194000,"timestamp_seconds":1790337194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8699810"} 
[2026-09-25 17: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-25 17:28:00] 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-25 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:00] 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-25 17: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-25 17: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-25 17:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326316288001,"66":13048,"105":206,"83":41984,"24":0,"16":23009475539501056,"45":1739163542981226496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326316288001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009475539501056,"km_value":23009475539501.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981226496,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326316288001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981226496}} 
[2026-09-25 17:28:00] 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":896259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:00] local.INFO: GPS data processed {"connection_id":192507,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:00] local.INFO: Acknowledgment sent {"connection_id":192507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:03] local.INFO: TCP Data received {"connection_id":192330,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:03] local.INFO: Processing buffer {"connection_id":192330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:03] local.INFO: Packet analysis {"connection_id":192330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:03] local.INFO: Extracted packet for processing {"connection_id":192330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28: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-25 17:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:28: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-25 17:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:28: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-25 17:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":192330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:03] local.INFO: GPS data processed {"connection_id":192330,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:03] local.INFO: Acknowledgment sent {"connection_id":192330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:06] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86b49a8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86b49a8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:06] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86b49a8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:06] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:06] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326344704001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790337305000,"timestamp_ms":1790337305000,"timestamp_seconds":1790337305,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86b49a8"} 
[2026-09-25 17: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-25 17:28:06] 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-25 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326344704001,"66":12341,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326344704001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326344704001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:06] local.INFO: GPS data processed {"connection_id":192506,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:06] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:23] local.INFO: TCP Data received {"connection_id":193883,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:23] local.INFO: Processing buffer {"connection_id":193883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:23] local.INFO: IMEI packet received {"connection_id":193883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":193883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:28:24] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:24] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:24] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:28:28] local.INFO: TCP Data received {"connection_id":193883,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:28] local.INFO: Processing buffer {"connection_id":193883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:28:28] local.INFO: IMEI packet received {"connection_id":193883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":193883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:28:29] local.INFO: TCP Data received {"connection_id":193883,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:28:29] local.INFO: Processing buffer {"connection_id":193883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:28:29] local.INFO: Packet analysis {"connection_id":193883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:28:29] local.INFO: Extracted packet for processing {"connection_id":193883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326184448001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790336959000,"timestamp_ms":1790336959000,"timestamp_seconds":1790336959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8660218"} 
[2026-09-25 17:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:28:29] 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-25 17:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326184448001,"66":12765,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326184448001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326184448001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":193883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:29] local.INFO: GPS data processed {"connection_id":193883,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:29] local.INFO: Acknowledgment sent {"connection_id":193883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:30] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:30] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:28:30] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:28:31] local.INFO: TCP Data received {"connection_id":192507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86d1e68012d1820000721b228004d00d62d..."} 
[2026-09-25 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86d1e68012d1820000721b228004d00d62d..."} 
[2026-09-25 17:28:31] local.INFO: Processing buffer {"connection_id":192507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86d1e68012d1820000721b228004d00d62d..."} 
[2026-09-25 17:28:31] local.INFO: Packet analysis {"connection_id":192507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:28:31] local.INFO: Extracted packet for processing {"connection_id":192507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326375424001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337425000,"timestamp_ms":1790337425000,"timestamp_seconds":1790337425,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86d1e68"} 
[2026-09-25 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:31] 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-25 17:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326375424001,"66":12841,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326375424001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326375424001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:28:31] 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":896263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:31] local.INFO: GPS data processed {"connection_id":192507,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:31] local.INFO: Acknowledgment sent {"connection_id":192507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:31] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:31] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:28:31] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:31] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28: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-25 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:28: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-25 17:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:28: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-25 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:28:31] 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":896264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:31] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:31] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:33] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:33] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:33] local.INFO: IMEI packet received {"connection_id":192331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":192331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:28:38] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:38] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:28:38] local.INFO: IMEI packet received {"connection_id":192331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":192331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:28:38] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86b9bb0012d7a338005e460f8001600532e..."} 
[2026-09-25 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86b9bb0012d7a338005e460f8001600532e..."} 
[2026-09-25 17:28:38] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86b9bb0012d7a338005e460f8001600532e..."} 
[2026-09-25 17:28:38] local.INFO: Packet analysis {"connection_id":192331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:38] local.INFO: Extracted packet for processing {"connection_id":192331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":46,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326350080001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790337326000,"timestamp_ms":1790337326000,"timestamp_seconds":1790337326,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86b9bb0"} 
[2026-09-25 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-25 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:38] 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-25 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-25 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-25 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326350080001,"66":12341,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326350080001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:28:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326350080001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":192331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:38] local.INFO: GPS data processed {"connection_id":192331,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:38] local.INFO: Acknowledgment sent {"connection_id":192331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:39] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bedb8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bedb8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:39] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bedb8012d7a338005e460f8001600532d..."} 
[2026-09-25 17:28:39] local.INFO: Packet analysis {"connection_id":192331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:39] local.INFO: Extracted packet for processing {"connection_id":192331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":45,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326355456001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790337347000,"timestamp_ms":1790337347000,"timestamp_seconds":1790337347,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bedb8"} 
[2026-09-25 17: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-25 17:28:39] 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-25 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:28:39] 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-25 17: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-25 17: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-25 17:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326355456001,"66":12319,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326355456001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:28:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326355456001,"power":12319,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":192331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:28:39] local.INFO: GPS data processed {"connection_id":192331,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:28:39] local.INFO: Acknowledgment sent {"connection_id":192331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:28:54] local.INFO: TCP Data received {"connection_id":195201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:54] local.INFO: Processing buffer {"connection_id":195201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:54] local.INFO: IMEI packet received {"connection_id":195201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":195201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:28:59] local.INFO: TCP Data received {"connection_id":195201,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:59] local.INFO: Processing buffer {"connection_id":195201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:28:59] local.INFO: IMEI packet received {"connection_id":195201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":195201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:29:00] local.INFO: TCP Data received {"connection_id":195201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86d7070012d1820000721b228004d00d62c..."} 
[2026-09-25 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86d7070012d1820000721b228004d00d62c..."} 
[2026-09-25 17:29:00] local.INFO: Processing buffer {"connection_id":195201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86d7070012d1820000721b228004d00d62c..."} 
[2026-09-25 17:29:00] local.INFO: Packet analysis {"connection_id":195201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:29:00] local.INFO: Extracted packet for processing {"connection_id":195201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326380800001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29: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-25 17:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337446000,"timestamp_ms":1790337446000,"timestamp_seconds":1790337446,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86d7070"} 
[2026-09-25 17:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:00] 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-25 17:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:00] 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-25 17:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326380800001,"66":12819,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326380800001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326380800001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":195201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:00] local.INFO: GPS data processed {"connection_id":195201,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:00] local.INFO: Acknowledgment sent {"connection_id":195201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:02] local.INFO: TCP Data received {"connection_id":193883,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:02] local.INFO: Processing buffer {"connection_id":193883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:02] local.INFO: Packet analysis {"connection_id":193883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:29:02] local.INFO: Extracted packet for processing {"connection_id":193883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326184448001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:02] 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-25 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790336959000,"timestamp_ms":1790336959000,"timestamp_seconds":1790336959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8660218"} 
[2026-09-25 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:02] 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-25 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:02] 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-25 17:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326184448001,"66":12765,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326184448001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326184448001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":193883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:02] local.INFO: GPS data processed {"connection_id":193883,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:02] local.INFO: Acknowledgment sent {"connection_id":193883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:03] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:03] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:03] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:29:03] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29: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-25 17:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:29: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-25 17:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:29: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-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:29:03] 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":896269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:03] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:03] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:11] local.INFO: TCP Data received {"connection_id":192331,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86c3fc0012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86c3fc0012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:11] local.INFO: Processing buffer {"connection_id":192331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86c3fc0012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:11] local.INFO: Packet analysis {"connection_id":192331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:29:11] local.INFO: Extracted packet for processing {"connection_id":192331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326360832001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790337368000,"timestamp_ms":1790337368000,"timestamp_seconds":1790337368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86c3fc0"} 
[2026-09-25 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:11] 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-25 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:11] 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-25 17:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326360832001,"66":12330,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326360832001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326360832001,"power":12330,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":192331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:11] local.INFO: GPS data processed {"connection_id":192331,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:11] local.INFO: Acknowledgment sent {"connection_id":192331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:17] local.INFO: TCP Data received {"connection_id":195202,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:17] local.INFO: Processing buffer {"connection_id":195202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:17] local.INFO: IMEI packet received {"connection_id":195202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":195202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:29:23] local.INFO: TCP Data received {"connection_id":195202,"ip":"117.225.199.78","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:23] local.INFO: Processing buffer {"connection_id":195202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:29:23] local.INFO: IMEI packet received {"connection_id":195202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":195202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:29:24] local.INFO: TCP Data received {"connection_id":195202,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:24] local.INFO: Processing buffer {"connection_id":195202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8660218012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:29:24] local.INFO: Packet analysis {"connection_id":195202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:29:24] local.INFO: Extracted packet for processing {"connection_id":195202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d866"} 
[2026-09-25 17:29:24] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:29: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-25 17:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326184448001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:24] 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-25 17:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790336959000,"timestamp_ms":1790336959000,"timestamp_seconds":1790336959,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8660218"} 
[2026-09-25 17:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:24] 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-25 17:29: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-25 17:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326184448001,"66":12765,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326184448001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326184448001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":195202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:24] local.INFO: GPS data processed {"connection_id":195202,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:24] local.INFO: Acknowledgment sent {"connection_id":195202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:24] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:24] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:24] local.INFO: IMEI packet received {"connection_id":192332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":192332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:29:27] local.INFO: TCP Data received {"connection_id":193884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:27] local.INFO: Processing buffer {"connection_id":193884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:27] local.INFO: IMEI packet received {"connection_id":193884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":193884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:29:29] local.INFO: TCP Data received {"connection_id":192509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:29:29] local.INFO: Processing buffer {"connection_id":192509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:29:29] local.INFO: IMEI packet received {"connection_id":192509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:29:30] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:30] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:29:30] local.INFO: IMEI packet received {"connection_id":192332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:29:31] local.INFO: TCP Data received {"connection_id":195201,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86dc278012d1820000721b228004d00d62e..."} 
[2026-09-25 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86dc278012d1820000721b228004d00d62e..."} 
[2026-09-25 17:29:31] local.INFO: Processing buffer {"connection_id":195201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86dc278012d1820000721b228004d00d62e..."} 
[2026-09-25 17:29:31] local.INFO: Packet analysis {"connection_id":195201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:29:31] local.INFO: Extracted packet for processing {"connection_id":195201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326386176001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337467000,"timestamp_ms":1790337467000,"timestamp_seconds":1790337467,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86dc278"} 
[2026-09-25 17:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3630924864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950724825088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7724297888596500480,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965965,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":40,"raw_value":21674493067919360,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3205103616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428047130863130157,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84750493708394930,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,191,160,30,45,178,77,10,66,204,46,122,1,240,41,227,216,33,4,113,205,214,32,40,47,239,50,2,81,7,164,69,48],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-25 17:29:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548670225387356160,"timestamp_seconds":5548670225387356.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326386176001,"66":12819,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326386176001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326386176001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:29:31] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":195201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:31] local.INFO: GPS data processed {"connection_id":195201,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:31] local.INFO: Acknowledgment sent {"connection_id":195201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:31] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:29:31] local.INFO: Packet analysis {"connection_id":192332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:29:31] local.INFO: Extracted packet for processing {"connection_id":192332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29: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-25 17:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:29: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-25 17:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:29: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-25 17:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":192332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:31] local.INFO: GPS data processed {"connection_id":192332,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:31] local.INFO: Acknowledgment sent {"connection_id":192332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:32] local.INFO: TCP Data received {"connection_id":193884,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:33] local.INFO: Processing buffer {"connection_id":193884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:29:33] local.INFO: IMEI packet received {"connection_id":193884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":193884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:29:33] local.INFO: TCP Data received {"connection_id":193884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86c91c8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86c91c8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:33] local.INFO: Processing buffer {"connection_id":193884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86c91c8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:29:33] local.INFO: Packet analysis {"connection_id":193884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:29:33] local.INFO: Extracted packet for processing {"connection_id":193884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326366208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790337389000,"timestamp_ms":1790337389000,"timestamp_seconds":1790337389,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86c91c8"} 
[2026-09-25 17: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-25 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:33] 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-25 17: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-25 17: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-25 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326366208001,"66":12341,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326366208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326366208001,"power":12341,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":193884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:33] local.INFO: GPS data processed {"connection_id":193884,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:33] local.INFO: Acknowledgment sent {"connection_id":193884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:54] local.INFO: TCP Data received {"connection_id":195203,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:54] local.INFO: Processing buffer {"connection_id":195203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:54] local.INFO: IMEI packet received {"connection_id":195203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":195203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:29:56] local.INFO: TCP Data received {"connection_id":195202,"ip":"117.225.199.78","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86f9350012d0b0ac007029e40000200f421..."} 
[2026-09-25 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86f9350012d0b0ac007029e40000200f421..."} 
[2026-09-25 17:29:56] local.INFO: Processing buffer {"connection_id":195202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86f9350012d0b0ac007029e40000200f421..."} 
[2026-09-25 17:29:56] local.INFO: Packet analysis {"connection_id":195202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:29:56] local.INFO: Extracted packet for processing {"connection_id":195202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":33,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326261504001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790337586000,"timestamp_ms":1790337586000,"timestamp_seconds":1790337586,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86f9350"} 
[2026-09-25 17: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-25 17:29: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-25 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 17:29:56] 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-25 17: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-25 17: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-25 17:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":195202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":195202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":195202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.199.78","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326261504001,"66":12798,"21":206,"28":32256,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"117.225.199.78","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-09-25 17:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326261504001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:29:56] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-09-25 17:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-25 17:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326261504001,"power":12798,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":195202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896275,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:29:56] local.INFO: GPS data processed {"connection_id":195202,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:29:56] local.INFO: Acknowledgment sent {"connection_id":195202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:29:59] local.INFO: TCP Data received {"connection_id":195203,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:59] local.INFO: Processing buffer {"connection_id":195203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:29:59] local.INFO: IMEI packet received {"connection_id":195203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":195203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:30:00] local.INFO: TCP Data received {"connection_id":195203,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86e1480012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86e1480012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:00] local.INFO: Processing buffer {"connection_id":195203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86e1480012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:00] local.INFO: Packet analysis {"connection_id":195203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:30:00] local.INFO: Extracted packet for processing {"connection_id":195203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326391552001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30: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-25 17:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337488000,"timestamp_ms":1790337488000,"timestamp_seconds":1790337488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86e1480"} 
[2026-09-25 17:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:30:00] 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-25 17:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3630945864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950724825088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7747387632779796480,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965965,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":21674493084696576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3205103616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428047130863130159,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84750493708394930,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,191,160,112,45,178,77,44,10,66,30,204,1,240,52,227,216,33,4,113,205,40,32,46,239,50,2,81,7,164,69,56],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-25 17:30:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548670233977290752,"timestamp_seconds":5548670233977291.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326391552001,"66":12798,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326391552001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326391552001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":195203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:00] local.INFO: GPS data processed {"connection_id":195203,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:00] local.INFO: Acknowledgment sent {"connection_id":195203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:04] local.INFO: TCP Data received {"connection_id":192332,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:04] local.INFO: Processing buffer {"connection_id":192332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:04] local.INFO: Packet analysis {"connection_id":192332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:30:04] local.INFO: Extracted packet for processing {"connection_id":192332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17: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-25 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:30: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-25 17:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:30: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-25 17:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":192332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:04] local.INFO: GPS data processed {"connection_id":192332,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:04] local.INFO: Acknowledgment sent {"connection_id":192332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:04] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:30:04] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:30:04] local.INFO: IMEI packet received {"connection_id":192510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":192510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:30:04] local.INFO: TCP Data received {"connection_id":193884,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86ce3d0012d7a338005e460f8001600532c..."} 
[2026-09-25 17:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86ce3d0012d7a338005e460f8001600532c..."} 
[2026-09-25 17:30:04] local.INFO: Processing buffer {"connection_id":193884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86ce3d0012d7a338005e460f8001600532c..."} 
[2026-09-25 17:30:04] local.INFO: Packet analysis {"connection_id":193884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:30:04] local.INFO: Extracted packet for processing {"connection_id":193884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86c"} 
[2026-09-25 17:30:04] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":44,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326371584001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790337410000,"timestamp_ms":1790337410000,"timestamp_seconds":1790337410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86ce3d0"} 
[2026-09-25 17:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 17:30:04] 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-25 17:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326371584001,"66":12102,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326371584001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326371584001,"power":12102,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":193884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:05] local.INFO: GPS data processed {"connection_id":193884,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:05] local.INFO: Acknowledgment sent {"connection_id":193884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:24] local.INFO: TCP Data received {"connection_id":195204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:24] local.INFO: Processing buffer {"connection_id":195204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:24] local.INFO: IMEI packet received {"connection_id":195204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":195204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:30:28] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:28] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:28] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:30:30] local.INFO: TCP Data received {"connection_id":195204,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:30] local.INFO: Processing buffer {"connection_id":195204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:30:30] local.INFO: IMEI packet received {"connection_id":195204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":195204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:30:31] local.INFO: TCP Data received {"connection_id":195203,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86e6688012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86e6688012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:31] local.INFO: Processing buffer {"connection_id":195203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86e6688012d1820000721b228004d00d62d..."} 
[2026-09-25 17:30:31] local.INFO: Packet analysis {"connection_id":195203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:30:31] local.INFO: Extracted packet for processing {"connection_id":195203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326396928001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337509000,"timestamp_ms":1790337509000,"timestamp_seconds":1790337509,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86e6688"} 
[2026-09-25 17: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-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 17:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326396928001,"66":12776,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326396928001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326396928001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":195203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:31] local.INFO: GPS data processed {"connection_id":195203,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:31] local.INFO: Acknowledgment sent {"connection_id":195203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:31] local.INFO: TCP Data received {"connection_id":195204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:31] local.INFO: Processing buffer {"connection_id":195204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:30:31] local.INFO: Packet analysis {"connection_id":195204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:30:31] local.INFO: Extracted packet for processing {"connection_id":195204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30: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-25 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17: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-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:30: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-25 17: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-25 17: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-25 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:30: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-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":195204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:31] local.INFO: GPS data processed {"connection_id":195204,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:31] local.INFO: Acknowledgment sent {"connection_id":195204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:33] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:33] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:30:33] local.INFO: IMEI packet received {"connection_id":192333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":192333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:30:34] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86d35d8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86d35d8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:30:34] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86d35d8012d7a338005e460f8001600532b..."} 
[2026-09-25 17:30:34] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:30:34] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":43,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326376960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790337431000,"timestamp_ms":1790337431000,"timestamp_seconds":1790337431,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86d35d8"} 
[2026-09-25 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-25 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-25 17:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326376960001,"66":12069,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326376960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:30:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326376960001,"power":12069,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:30:34] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:30:34] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:30:59] local.INFO: TCP Data received {"connection_id":193885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:30:59] local.INFO: Processing buffer {"connection_id":193885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:30:59] local.INFO: IMEI packet received {"connection_id":193885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":193885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:31:03] local.INFO: TCP Data received {"connection_id":195204,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:31:03] local.INFO: Processing buffer {"connection_id":195204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86bb320012d34c14006aa4908000a006e2e..."} 
[2026-09-25 17:31:03] local.INFO: Packet analysis {"connection_id":195204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:31:03] local.INFO: Extracted packet for processing {"connection_id":195204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86b"} 
[2026-09-25 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326279936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31: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-25 17:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337332000,"timestamp_ms":1790337332000,"timestamp_seconds":1790337332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86bb320"} 
[2026-09-25 17:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 17:31: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-25 17:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326279936001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326279936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:31: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-25 17:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326279936001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":195204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:03] local.INFO: GPS data processed {"connection_id":195204,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:03] local.INFO: Acknowledgment sent {"connection_id":195204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:04] local.INFO: TCP Data received {"connection_id":193885,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:04] local.INFO: Processing buffer {"connection_id":193885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:04] local.INFO: IMEI packet received {"connection_id":193885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":193885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:31:05] local.INFO: TCP Data received {"connection_id":193885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86eb890012d1820000721b228004d00d62f..."} 
[2026-09-25 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86eb890012d1820000721b228004d00d62f..."} 
[2026-09-25 17:31:05] local.INFO: Processing buffer {"connection_id":193885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86eb890012d1820000721b228004d00d62f..."} 
[2026-09-25 17:31:05] local.INFO: Packet analysis {"connection_id":193885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:31:05] local.INFO: Extracted packet for processing {"connection_id":193885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86e"} 
[2026-09-25 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":47,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 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-25 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326402304001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.INFO: IO Element Parsed {"io_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-25 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790337530000,"timestamp_ms":1790337530000,"timestamp_seconds":1790337530,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86eb890"} 
[2026-09-25 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-25 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:05] 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-25 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-25 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-25 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326402304001,"66":12743,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326402304001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326402304001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":193885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:05] local.INFO: GPS data processed {"connection_id":193885,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:05] local.INFO: Acknowledgment sent {"connection_id":193885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:05] local.INFO: TCP Data received {"connection_id":192333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86d87e0012d7a338005e460f8001600532a..."} 
[2026-09-25 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86d87e0012d7a338005e460f8001600532a..."} 
[2026-09-25 17:31:05] local.INFO: Processing buffer {"connection_id":192333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86d87e0012d7a338005e460f8001600532a..."} 
[2026-09-25 17:31:05] local.INFO: Packet analysis {"connection_id":192333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:31:05] local.INFO: Extracted packet for processing {"connection_id":192333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86d"} 
[2026-09-25 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762983296,"raw_latitude":98853112,"longitude_deg":76.2983296,"latitude_deg":9.8853112,"altitude":22,"angle":83,"satellites":42,"speed":0,"hex_longitude":"2d7a3380","hex_latitude":"05e460f8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326382336001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882255460466688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805522459234203648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790337452000,"timestamp_ms":1790337452000,"timestamp_seconds":1790337452,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86d87e0"} 
[2026-09-25 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-25 17:31:05] 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-25 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326382336001,"66":12037,"102":206,"87":12288,"24":0,"16":135882255460466688,"45":8805522459234203648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326382336001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882255460466688,"km_value":135882255460466.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805522459234203648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326382336001,"power":12037,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805522459234203648}} 
[2026-09-25 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":192333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:05] local.INFO: GPS data processed {"connection_id":192333,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:05] local.INFO: Acknowledgment sent {"connection_id":192333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:09] local.INFO: TCP Data received {"connection_id":193885,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86f0a98012d1820000721b228004d00d62c..."} 
[2026-09-25 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86f0a98012d1820000721b228004d00d62c..."} 
[2026-09-25 17:31:09] local.INFO: Processing buffer {"connection_id":193885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86f0a98012d1820000721b228004d00d62c..."} 
[2026-09-25 17:31:09] local.INFO: Packet analysis {"connection_id":193885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:31:09] local.INFO: Extracted packet for processing {"connection_id":193885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326407680001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790337551000,"timestamp_ms":1790337551000,"timestamp_seconds":1790337551,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86f0a98"} 
[2026-09-25 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:09] 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-25 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:09] 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-25 17:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326407680001,"66":12722,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326407680001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326407680001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":193885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:09] local.INFO: GPS data processed {"connection_id":193885,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:09] local.INFO: Acknowledgment sent {"connection_id":193885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:29] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:29] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:29] local.INFO: IMEI packet received {"connection_id":192334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":192334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:31:30] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:30] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:30] local.INFO: IMEI packet received {"connection_id":192334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:31:30] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:30] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:30] local.INFO: IMEI packet received {"connection_id":192335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:31:35] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:35] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:31:35] local.INFO: IMEI packet received {"connection_id":192335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:31:36] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:36] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:31:36] local.INFO: IMEI packet received {"connection_id":192334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":192334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:31:37] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870c018012d7a3ac005e45e70000c005729..."} 
[2026-09-25 17:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870c018012d7a3ac005e45e70000c005729..."} 
[2026-09-25 17:31:37] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870c018012d7a3ac005e45e70000c005729..."} 
[2026-09-25 17:31:37] local.INFO: Packet analysis {"connection_id":192334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:37] local.INFO: Extracted packet for processing {"connection_id":192334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":762985152,"raw_latitude":98852464,"longitude_deg":76.2985152,"latitude_deg":9.8852464,"altitude":12,"angle":87,"satellites":41,"speed":4,"hex_longitude":"2d7a3ac0","hex_latitude":"05e45e70","is_valid_coordinates":true} 
[2026-09-25 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882358539681792,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806859465373411328,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790337663000,"timestamp_ms":1790337663000,"timestamp_seconds":1790337663,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870c018"} 
[2026-09-25 17:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:37] 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-25 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326440704001,"66":13189,"102":206,"87":12288,"24":4,"16":135882358539681792,"45":8806859465373411328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:31:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882358539681792,"km_value":135882358539681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806859465373411328,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326440704001,"power":13189,"unknown_102":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8806859465373411328}} 
[2026-09-25 17:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":192334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:37] local.INFO: GPS data processed {"connection_id":192334,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:37] local.INFO: Acknowledgment sent {"connection_id":192334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:38] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:38] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:38] local.INFO: Packet analysis {"connection_id":192335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:38] local.INFO: Extracted packet for processing {"connection_id":192335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:31: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-25 17:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31: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-25 17:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:31: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-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":192335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:38] local.INFO: GPS data processed {"connection_id":192335,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:38] local.INFO: Acknowledgment sent {"connection_id":192335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:38] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870c400012d7a3b0005e45e58000c004529..."} 
[2026-09-25 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870c400012d7a3b0005e45e58000c004529..."} 
[2026-09-25 17:31:38] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870c400012d7a3b0005e45e58000c004529..."} 
[2026-09-25 17:31:38] local.INFO: Packet analysis {"connection_id":192334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:38] local.INFO: Extracted packet for processing {"connection_id":192334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98852440,"longitude_deg":76.2985216,"latitude_deg":9.885244,"altitude":12,"angle":69,"satellites":41,"speed":3,"hex_longitude":"2d7a3b00","hex_latitude":"05e45e58","is_valid_coordinates":true} 
[2026-09-25 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326441728001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882362834649088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807563152815190016,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790337664000,"timestamp_ms":1790337664000,"timestamp_seconds":1790337664,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870c400"} 
[2026-09-25 17:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326441728001,"66":13428,"102":206,"87":12288,"24":3,"16":135882362834649088,"45":8807563152815190016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326441728001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882362834649088,"km_value":135882362834649.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807563152815190016,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326441728001,"power":13428,"unknown_102":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8807563152815190016}} 
[2026-09-25 17:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":192334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:38] local.INFO: GPS data processed {"connection_id":192334,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:38] local.INFO: Acknowledgment sent {"connection_id":192334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:41] local.INFO: TCP Data received {"connection_id":192335,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:41] local.INFO: Processing buffer {"connection_id":192335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:31:41] local.INFO: Packet analysis {"connection_id":192335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:41] local.INFO: Extracted packet for processing {"connection_id":192335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:31: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-25 17:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":192335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:41] local.INFO: GPS data processed {"connection_id":192335,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:41] local.INFO: Acknowledgment sent {"connection_id":192335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:43] local.INFO: TCP Data received {"connection_id":192334,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870cfb8012d7a3c8005e45e58000d00512a..."} 
[2026-09-25 17:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870cfb8012d7a3c8005e45e58000d00512a..."} 
[2026-09-25 17:31:43] local.INFO: Processing buffer {"connection_id":192334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870cfb8012d7a3c8005e45e58000d00512a..."} 
[2026-09-25 17:31:43] local.INFO: Packet analysis {"connection_id":192334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:43] local.INFO: Extracted packet for processing {"connection_id":192334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:31:43] local.INFO: GPS Element Parsed {"raw_longitude":762985600,"raw_latitude":98852440,"longitude_deg":76.29856,"latitude_deg":9.885244,"altitude":13,"angle":81,"satellites":42,"speed":8,"hex_longitude":"2d7a3c80","hex_latitude":"05e45e58","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326441984001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882380014518272,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807633521559361536,"note":"Value kept but may cause issues"} 
[2026-09-25 17:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790337667000,"timestamp_ms":1790337667000,"timestamp_seconds":1790337667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870cfb8"} 
[2026-09-25 17: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-25 17:31: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-25 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326441984001,"66":13515,"102":206,"87":12288,"24":8,"16":135882380014518272,"45":8807633521559361536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326441984001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:31:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:31:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882380014518272,"km_value":135882380014518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807633521559361536,"description":"Unknown IO ID 45"} 
[2026-09-25 17:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326441984001,"power":13515,"unknown_102":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8807633521559361536}} 
[2026-09-25 17:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":192334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:31:43] local.INFO: GPS data processed {"connection_id":192334,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:31:43] local.INFO: Acknowledgment sent {"connection_id":192334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:31:54] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:54] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:54] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:31:55] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:55] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:55] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:31:59] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:59] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:31:59] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:32:00] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86f5ca0012d1820000721b228004d00d62c..."} 
[2026-09-25 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86f5ca0012d1820000721b228004d00d62c..."} 
[2026-09-25 17:32:00] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86f5ca0012d1820000721b228004d00d62c..."} 
[2026-09-25 17:32:00] local.INFO: Packet analysis {"connection_id":192512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:32:00] local.INFO: Extracted packet for processing {"connection_id":192512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326413056001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32: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-25 17:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337572000,"timestamp_ms":1790337572000,"timestamp_seconds":1790337572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86f5ca0"} 
[2026-09-25 17: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-25 17:32:00] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:32: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-25 17: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-25 17: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-25 17:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326413056001,"66":12722,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326413056001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326413056001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:32:00] 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":896291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:00] local.INFO: GPS data processed {"connection_id":192512,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:00] local.INFO: Acknowledgment sent {"connection_id":192512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:32:24] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:24] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:24] local.INFO: IMEI packet received {"connection_id":192513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":192513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:32:30] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:30] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:32:30] local.INFO: IMEI packet received {"connection_id":192513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":192513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:32:31] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d86faea8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d86faea8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:32:31] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d86faea8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:32:31] local.INFO: Packet analysis {"connection_id":192512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:32:31] local.INFO: Extracted packet for processing {"connection_id":192512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d86f"} 
[2026-09-25 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326418432001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337593000,"timestamp_ms":1790337593000,"timestamp_seconds":1790337593,"priority":1,"record_length":96,"hex_timestamp":"000001a0d86faea8"} 
[2026-09-25 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:32:31] 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-25 17:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326418432001,"66":12689,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326418432001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326418432001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:32:31] 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":896292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:31] local.INFO: GPS data processed {"connection_id":192512,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:31] local.INFO: Acknowledgment sent {"connection_id":192512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:32:31] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:32:31] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:32:31] local.INFO: Packet analysis {"connection_id":192513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:31] local.INFO: Extracted packet for processing {"connection_id":192513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32: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-25 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:32:31] local.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-25 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:32: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-25 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:32:31] 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":896293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:31] local.INFO: GPS data processed {"connection_id":192513,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:31] local.INFO: Acknowledgment sent {"connection_id":192513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:32:32] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:32] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:32] local.INFO: IMEI packet received {"connection_id":193886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":193886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:32:33] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:33] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:32:33] local.INFO: IMEI packet received {"connection_id":193886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":193886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:32:34] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870eb10012d7a440005e45fa8000d00402a..."} 
[2026-09-25 17:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870eb10012d7a440005e45fa8000d00402a..."} 
[2026-09-25 17:32:34] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870eb10012d7a440005e45fa8000d00402a..."} 
[2026-09-25 17:32:34] local.INFO: Packet analysis {"connection_id":193886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:34] local.INFO: Extracted packet for processing {"connection_id":193886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762987520,"raw_latitude":98852776,"longitude_deg":76.298752,"latitude_deg":9.8852776,"altitude":13,"angle":64,"satellites":42,"speed":6,"hex_longitude":"2d7a4400","hex_latitude":"05e45fa8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326442752001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882474503798784,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808055734024427520,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790337674000,"timestamp_ms":1790337674000,"timestamp_seconds":1790337674,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870eb10"} 
[2026-09-25 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-25 17:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 17:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":193886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326442752001,"66":13461,"102":206,"87":12288,"24":6,"16":135882474503798784,"45":8808055734024427520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326442752001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882474503798784,"km_value":135882474503798.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808055734024427520,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326442752001,"power":13461,"unknown_102":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8808055734024427520}} 
[2026-09-25 17:32:34] 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":896294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:34] local.INFO: GPS data processed {"connection_id":193886,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:34] local.INFO: Acknowledgment sent {"connection_id":193886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:32:35] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870f6c8012d7a46c005e46070000e004e2a..."} 
[2026-09-25 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870f6c8012d7a46c005e46070000e004e2a..."} 
[2026-09-25 17:32:35] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870f6c8012d7a46c005e46070000e004e2a..."} 
[2026-09-25 17:32:35] local.INFO: Packet analysis {"connection_id":193886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:35] local.INFO: Extracted packet for processing {"connection_id":193886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762988224,"raw_latitude":98852976,"longitude_deg":76.2988224,"latitude_deg":9.8852976,"altitude":14,"angle":78,"satellites":42,"speed":11,"hex_longitude":"2d7a46c0","hex_latitude":"05e46070","is_valid_coordinates":true} 
[2026-09-25 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326444544001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882508863537152,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810166796349843456,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790337677000,"timestamp_ms":1790337677000,"timestamp_seconds":1790337677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870f6c8"} 
[2026-09-25 17:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:32:35] 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-25 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 17:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326444544001,"66":13559,"102":206,"87":12288,"24":11,"16":135882508863537152,"45":8810166796349843456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326444544001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882508863537152,"km_value":135882508863537.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810166796349843456,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326444544001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8810166796349843456}} 
[2026-09-25 17:32:35] 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":896295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:35] local.INFO: GPS data processed {"connection_id":193886,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:35] local.INFO: Acknowledgment sent {"connection_id":193886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:32:54] local.INFO: TCP Data received {"connection_id":193887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:54] local.INFO: Processing buffer {"connection_id":193887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:54] local.INFO: IMEI packet received {"connection_id":193887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":193887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:32:58] local.INFO: TCP Data received {"connection_id":193887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:58] local.INFO: Processing buffer {"connection_id":193887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:32:58] local.INFO: IMEI packet received {"connection_id":193887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":193887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:32:59] local.INFO: TCP Data received {"connection_id":193887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87000b0012d1820000721b228004d00d62d..."} 
[2026-09-25 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87000b0012d1820000721b228004d00d62d..."} 
[2026-09-25 17:32:59] local.INFO: Processing buffer {"connection_id":193887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87000b0012d1820000721b228004d00d62d..."} 
[2026-09-25 17:32:59] local.INFO: Packet analysis {"connection_id":193887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:59] local.INFO: Extracted packet for processing {"connection_id":193887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326423808001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:32:59] local.INFO: IO Element Parsed {"io_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-25 17:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790337614000,"timestamp_ms":1790337614000,"timestamp_seconds":1790337614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87000b0"} 
[2026-09-25 17:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:32:59] 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-25 17:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326423808001,"66":12645,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326423808001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:32:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326423808001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":193887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:32:59] local.INFO: GPS data processed {"connection_id":193887,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:32:59] local.INFO: Acknowledgment sent {"connection_id":193887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:04] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:04] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:04] local.INFO: Packet analysis {"connection_id":192513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:04] local.INFO: Extracted packet for processing {"connection_id":192513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33: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-25 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:33: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-25 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:33: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-25 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:33:04] 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":896297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:33:04] local.INFO: GPS data processed {"connection_id":192513,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:33:04] local.INFO: Acknowledgment sent {"connection_id":192513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:07] local.INFO: TCP Data received {"connection_id":193886,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8710280012d7a49c005e461b8000e00412c..."} 
[2026-09-25 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8710280012d7a49c005e461b8000e00412c..."} 
[2026-09-25 17:33:07] local.INFO: Processing buffer {"connection_id":193886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8710280012d7a49c005e461b8000e00412c..."} 
[2026-09-25 17:33:07] local.INFO: Packet analysis {"connection_id":193886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:33:07] local.INFO: Extracted packet for processing {"connection_id":193886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":762988992,"raw_latitude":98853304,"longitude_deg":76.2988992,"latitude_deg":9.8853304,"altitude":14,"angle":65,"satellites":44,"speed":10,"hex_longitude":"2d7a49c0","hex_latitude":"05e461b8","is_valid_coordinates":true} 
[2026-09-25 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326445312001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135882547518242816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810940852535848960,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790337680000,"timestamp_ms":1790337680000,"timestamp_seconds":1790337680,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8710280"} 
[2026-09-25 17:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:33:07] 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-25 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 17:33:07] 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-25 17:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326445312001,"66":13450,"102":206,"87":12288,"24":10,"16":135882547518242816,"45":8810940852535848960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-25 17:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326445312001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 17:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-25 17:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135882547518242816,"km_value":135882547518242.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810940852535848960,"description":"Unknown IO ID 45"} 
[2026-09-25 17:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326445312001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8810940852535848960}} 
[2026-09-25 17:33:07] 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":896298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:33:07] local.INFO: GPS data processed {"connection_id":193886,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:33:07] local.INFO: Acknowledgment sent {"connection_id":193886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:24] local.INFO: TCP Data received {"connection_id":195206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:24] local.INFO: Processing buffer {"connection_id":195206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:24] local.INFO: IMEI packet received {"connection_id":195206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":195206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:33:27] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:27] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:27] local.INFO: IMEI packet received {"connection_id":193888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":193888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:33:30] local.INFO: TCP Data received {"connection_id":195206,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:30] local.INFO: Processing buffer {"connection_id":195206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:33:30] local.INFO: IMEI packet received {"connection_id":195206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":195206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:33:30] local.INFO: TCP Data received {"connection_id":193887,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87052b8012d1820000721b228004d00d62c..."} 
[2026-09-25 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87052b8012d1820000721b228004d00d62c..."} 
[2026-09-25 17:33:30] local.INFO: Processing buffer {"connection_id":193887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87052b8012d1820000721b228004d00d62c..."} 
[2026-09-25 17:33:30] local.INFO: Packet analysis {"connection_id":193887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:30] local.INFO: Extracted packet for processing {"connection_id":193887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326429184001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33: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-25 17:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790337635000,"timestamp_ms":1790337635000,"timestamp_seconds":1790337635,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87052b8"} 
[2026-09-25 17: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-25 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 17:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326429184001,"66":12689,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326429184001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:33:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326429184001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":193887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:33:30] local.INFO: GPS data processed {"connection_id":193887,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:33:30] local.INFO: Acknowledgment sent {"connection_id":193887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:32] local.INFO: TCP Data received {"connection_id":195206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:32] local.INFO: Processing buffer {"connection_id":195206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:33:32] local.INFO: Packet analysis {"connection_id":195206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:32] local.INFO: Extracted packet for processing {"connection_id":195206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:33: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-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":195206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:33:32] local.INFO: GPS data processed {"connection_id":195206,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:33:32] local.INFO: Acknowledgment sent {"connection_id":195206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:33] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:33] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:33:33] local.INFO: IMEI packet received {"connection_id":193888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":193888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:33:35] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8727980012d7adfc005e3c710000b00a62b..."} 
[2026-09-25 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8727980012d7adfc005e3c710000b00a62b..."} 
[2026-09-25 17:33:35] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8727980012d7adfc005e3c710000b00a62b..."} 
[2026-09-25 17:33:35] local.INFO: Packet analysis {"connection_id":193888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:33:35] local.INFO: Extracted packet for processing {"connection_id":193888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763027392,"raw_latitude":98813712,"longitude_deg":76.3027392,"latitude_deg":9.8813712,"altitude":11,"angle":166,"satellites":43,"speed":31,"hex_longitude":"2d7adfc0","hex_latitude":"05e3c710","is_valid_coordinates":true} 
[2026-09-25 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467328001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135885558290317312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851543617918519296,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790337776000,"timestamp_ms":1790337776000,"timestamp_seconds":1790337776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8727980"} 
[2026-09-25 17:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:33:35] 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-25 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303172122889581,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3631310864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1835401422,"corrected_to":0} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3221302650,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58079708874014728,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3241148416,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832244224,"note":"Value kept but may cause issues"} 
[2026-09-25 17:33:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,95,87,24,241,157,16,194,160,27,45,128,12,10,40,66,17,39,229,64,1,240,220,227,216,228,4,113,205,46,158,129,41,239,53,102,2,226,5,8],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1835401422,"validated":0}]} 
[2026-09-25 17:33:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792817337544998912,"timestamp_seconds":792817337544998.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467328001,"66":13189,"208":206,"85":15104,"24":31,"16":135885558290317312,"45":8851543617918519296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467328001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:33:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135885558290317312,"km_value":135885558290317.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851543617918519296,"description":"Unknown IO ID 45"} 
[2026-09-25 17:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467328001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8851543617918519296}} 
[2026-09-25 17:33: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":896301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:33:35] local.INFO: GPS data processed {"connection_id":193888,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:33:35] local.INFO: Acknowledgment sent {"connection_id":193888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:33:54] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:54] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:54] local.INFO: IMEI packet received {"connection_id":193889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":193889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:33:59] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:59] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:33:59] local.INFO: IMEI packet received {"connection_id":193889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":193889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:34:00] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870a4c0012d1820000721b228004d00d629..."} 
[2026-09-25 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870a4c0012d1820000721b228004d00d629..."} 
[2026-09-25 17:34:00] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870a4c0012d1820000721b228004d00d629..."} 
[2026-09-25 17:34:00] local.INFO: Packet analysis {"connection_id":193889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:00] local.INFO: Extracted packet for processing {"connection_id":193889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434560001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34: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-25 17:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337656000,"timestamp_ms":1790337656000,"timestamp_seconds":1790337656,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870a4c0"} 
[2026-09-25 17:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:34:00] 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-25 17:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434560001,"66":12689,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434560001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434560001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:34:00] 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":896302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:00] local.INFO: GPS data processed {"connection_id":193889,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:00] local.INFO: Acknowledgment sent {"connection_id":193889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:03] local.INFO: TCP Data received {"connection_id":195206,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:03] local.INFO: Processing buffer {"connection_id":195206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:03] local.INFO: Packet analysis {"connection_id":195206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:03] local.INFO: Extracted packet for processing {"connection_id":195206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34: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-25 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:34: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-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":195206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:04] local.INFO: GPS data processed {"connection_id":195206,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:04] local.INFO: Acknowledgment sent {"connection_id":195206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:07] local.INFO: TCP Data received {"connection_id":193888,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d872a090012d7aea0005e3a5d8000c00a02b..."} 
[2026-09-25 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d872a090012d7aea0005e3a5d8000c00a02b..."} 
[2026-09-25 17:34:07] local.INFO: Processing buffer {"connection_id":193888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d872a090012d7aea0005e3a5d8000c00a02b..."} 
[2026-09-25 17:34:07] local.INFO: Packet analysis {"connection_id":193888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:34:07] local.INFO: Extracted packet for processing {"connection_id":193888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763030016,"raw_latitude":98805208,"longitude_deg":76.3030016,"latitude_deg":9.8805208,"altitude":12,"angle":160,"satellites":43,"speed":31,"hex_longitude":"2d7aea00","hex_latitude":"05e3a5d8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326470656001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135885992082014208,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854006523962527744,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790337786000,"timestamp_ms":1790337786000,"timestamp_seconds":1790337786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d872a090"} 
[2026-09-25 17: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-25 17:34:07] 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-25 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 17:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326470656001,"66":13450,"208":206,"85":15104,"24":31,"16":135885992082014208,"45":8854006523962527744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326470656001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135885992082014208,"km_value":135885992082014.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854006523962527744,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326470656001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8854006523962527744}} 
[2026-09-25 17:34: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":896304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:07] local.INFO: GPS data processed {"connection_id":193888,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:07] local.INFO: Acknowledgment sent {"connection_id":193888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:25] local.INFO: TCP Data received {"connection_id":193890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:25] local.INFO: Processing buffer {"connection_id":193890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:25] local.INFO: IMEI packet received {"connection_id":193890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":193890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:34:27] local.INFO: TCP Data received {"connection_id":195207,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:27] local.INFO: Processing buffer {"connection_id":195207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:27] local.INFO: IMEI packet received {"connection_id":195207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":195207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:34:28] local.INFO: TCP Data received {"connection_id":195207,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:28] local.INFO: Processing buffer {"connection_id":195207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:28] local.INFO: IMEI packet received {"connection_id":195207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":195207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:34:30] local.INFO: TCP Data received {"connection_id":193890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:30] local.INFO: Processing buffer {"connection_id":193890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:34:30] local.INFO: IMEI packet received {"connection_id":193890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":193890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:34:31] local.INFO: TCP Data received {"connection_id":193889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d870f6c8012d1820000721b228004d00d62b..."} 
[2026-09-25 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d870f6c8012d1820000721b228004d00d62b..."} 
[2026-09-25 17:34:31] local.INFO: Processing buffer {"connection_id":193889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d870f6c8012d1820000721b228004d00d62b..."} 
[2026-09-25 17:34:31] local.INFO: Packet analysis {"connection_id":193889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:31] local.INFO: Extracted packet for processing {"connection_id":193889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326439936001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337677000,"timestamp_ms":1790337677000,"timestamp_seconds":1790337677,"priority":1,"record_length":96,"hex_timestamp":"000001a0d870f6c8"} 
[2026-09-25 17: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-25 17:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:34: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-25 17: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-25 17: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-25 17:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326439936001,"66":12667,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326439936001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326439936001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:34:31] 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":896305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:31] local.INFO: GPS data processed {"connection_id":193889,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:31] local.INFO: Acknowledgment sent {"connection_id":193889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:32] local.INFO: TCP Data received {"connection_id":193890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:32] local.INFO: Processing buffer {"connection_id":193890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:34:32] local.INFO: Packet analysis {"connection_id":193890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:32] local.INFO: Extracted packet for processing {"connection_id":193890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:34: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-25 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":193890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:32] local.INFO: GPS data processed {"connection_id":193890,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:32] local.INFO: Acknowledgment sent {"connection_id":193890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:33] local.INFO: TCP Data received {"connection_id":195207,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:33] local.INFO: Processing buffer {"connection_id":195207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:34:33] local.INFO: IMEI packet received {"connection_id":195207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":195207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:34:34] local.INFO: TCP Data received {"connection_id":195207,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d872d740012d7af60005e383d8000a009f2b..."} 
[2026-09-25 17:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d872d740012d7af60005e383d8000a009f2b..."} 
[2026-09-25 17:34:34] local.INFO: Processing buffer {"connection_id":195207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d872d740012d7af60005e383d8000a009f2b..."} 
[2026-09-25 17:34:34] local.INFO: Packet analysis {"connection_id":195207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:34:34] local.INFO: Extracted packet for processing {"connection_id":195207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763033088,"raw_latitude":98796504,"longitude_deg":76.3033088,"latitude_deg":9.8796504,"altitude":10,"angle":159,"satellites":43,"speed":20,"hex_longitude":"2d7af600","hex_latitude":"05e383d8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326473216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135886438758612992,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856891642471634944,"note":"Value kept but may cause issues"} 
[2026-09-25 17:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790337800000,"timestamp_ms":1790337800000,"timestamp_seconds":1790337800,"priority":1,"record_length":96,"hex_timestamp":"000001a0d872d740"} 
[2026-09-25 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-25 17:34:34] 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-25 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 17:34:34] 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-25 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-25 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-25 17:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326473216001,"66":13319,"208":206,"85":15104,"24":20,"16":135886438758612992,"45":8856891642471634944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326473216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:34:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135886438758612992,"km_value":135886438758612.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856891642471634944,"description":"Unknown IO ID 45"} 
[2026-09-25 17:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326473216001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8856891642471634944}} 
[2026-09-25 17:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":195207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:34:34] local.INFO: GPS data processed {"connection_id":195207,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:34:34] local.INFO: Acknowledgment sent {"connection_id":195207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:34:54] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:54] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:54] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:34:59] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:59] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:34:59] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:35:00] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87148d0012d1820000721b228004d00d62b..."} 
[2026-09-25 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87148d0012d1820000721b228004d00d62b..."} 
[2026-09-25 17:35:00] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87148d0012d1820000721b228004d00d62b..."} 
[2026-09-25 17:35:00] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:35:00] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326445312001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35: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-25 17:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337698000,"timestamp_ms":1790337698000,"timestamp_seconds":1790337698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87148d0"} 
[2026-09-25 17:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:35:00] 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-25 17:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 17:35:00] 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-25 17:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326445312001,"66":12678,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326445312001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326445312001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:35:00] 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":896308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:00] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:00] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:06] local.INFO: TCP Data received {"connection_id":193890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:06] local.INFO: Processing buffer {"connection_id":193890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:06] local.INFO: Packet analysis {"connection_id":193890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:35:06] local.INFO: Extracted packet for processing {"connection_id":193890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17: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-25 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:35: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-25 17: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-25 17: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-25 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":193890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:06] local.INFO: GPS data processed {"connection_id":193890,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:06] local.INFO: Acknowledgment sent {"connection_id":193890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:06] local.INFO: TCP Data received {"connection_id":195207,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8745de0012d7b0e0005e32f58000f005424..."} 
[2026-09-25 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8745de0012d7b0e0005e32f58000f005424..."} 
[2026-09-25 17:35:06] local.INFO: Processing buffer {"connection_id":195207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8745de0012d7b0e0005e32f58000f005424..."} 
[2026-09-25 17:35:06] local.INFO: Packet analysis {"connection_id":195207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:35:06] local.INFO: Extracted packet for processing {"connection_id":195207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98774872,"longitude_deg":76.3039232,"latitude_deg":9.8774872,"altitude":15,"angle":84,"satellites":36,"speed":1,"hex_longitude":"2d7b0e00","hex_latitude":"05e32f58","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326501888001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135887559745077248,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372881266688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790337900000,"timestamp_ms":1790337900000,"timestamp_seconds":1790337900,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8745de0"} 
[2026-09-25 17: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-25 17:35:06] 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-25 17: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 17:35:06] 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-25 17: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-25 17: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-25 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326501888001,"66":13374,"208":206,"85":15104,"24":1,"16":135887559745077248,"45":8866954372881266688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326501888001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135887559745077248,"km_value":135887559745077.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372881266688,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326501888001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8866954372881266688}} 
[2026-09-25 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":195207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:06] local.INFO: GPS data processed {"connection_id":195207,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:06] local.INFO: Acknowledgment sent {"connection_id":195207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:27] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:27] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:27] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:35:30] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:30] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:30] local.INFO: IMEI packet received {"connection_id":192337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:35:31] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8719ad8012d1820000721b228004d00d629..."} 
[2026-09-25 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8719ad8012d1820000721b228004d00d629..."} 
[2026-09-25 17:35:31] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8719ad8012d1820000721b228004d00d629..."} 
[2026-09-25 17:35:31] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:35:31] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326450688001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337719000,"timestamp_ms":1790337719000,"timestamp_seconds":1790337719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8719ad8"} 
[2026-09-25 17:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:35:31] 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-25 17:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 17:35:31] 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-25 17:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326450688001,"66":12667,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326450688001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326450688001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:35:31] 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":896311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:31] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:31] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:33] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:33] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:35:33] local.INFO: IMEI packet received {"connection_id":192338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":192338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:35:34] local.INFO: TCP Data received {"connection_id":192336,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:35:34] local.INFO: Processing buffer {"connection_id":192336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:35:34] local.INFO: IMEI packet received {"connection_id":192336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":192336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:35:35] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87465b0012d7b0ec005e32f48000f006727..."} 
[2026-09-25 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87465b0012d7b0ec005e32f48000f006727..."} 
[2026-09-25 17:35:35] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87465b0012d7b0ec005e32f48000f006727..."} 
[2026-09-25 17:35:35] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:35:35] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98774856,"longitude_deg":76.3039424,"latitude_deg":9.8774856,"altitude":15,"angle":103,"satellites":39,"speed":2,"hex_longitude":"2d7b0ec0","hex_latitude":"05e32f48","is_valid_coordinates":true} 
[2026-09-25 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326502400001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135887568335011840,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741625452544,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790337902000,"timestamp_ms":1790337902000,"timestamp_seconds":1790337902,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87465b0"} 
[2026-09-25 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:35:35] 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-25 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326502400001,"66":13787,"208":206,"85":15104,"24":2,"16":135887568335011840,"45":8867024741625452544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326502400001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135887568335011840,"km_value":135887568335011.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741625452544,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326502400001,"power":13787,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8867024741625452544}} 
[2026-09-25 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:35] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:35] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:35] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:35] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:35:35] local.INFO: IMEI packet received {"connection_id":192337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":192337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:35:36] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:36] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:35:36] local.INFO: Packet analysis {"connection_id":192337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:35:36] local.INFO: Extracted packet for processing {"connection_id":192337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 17:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 17:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 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-25 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 17:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":192337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:35:36] local.INFO: GPS data processed {"connection_id":192337,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:35:36] local.INFO: Acknowledgment sent {"connection_id":192337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:35:54] local.INFO: TCP Data received {"connection_id":195208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:54] local.INFO: Processing buffer {"connection_id":195208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:54] local.INFO: IMEI packet received {"connection_id":195208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":195208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:35:59] local.INFO: TCP Data received {"connection_id":195208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:59] local.INFO: Processing buffer {"connection_id":195208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:35:59] local.INFO: IMEI packet received {"connection_id":195208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":195208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:36:00] local.INFO: TCP Data received {"connection_id":195208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d871ece0012d1820000721b228004d00d628..."} 
[2026-09-25 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d871ece0012d1820000721b228004d00d628..."} 
[2026-09-25 17:36:00] local.INFO: Processing buffer {"connection_id":195208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d871ece0012d1820000721b228004d00d628..."} 
[2026-09-25 17:36:00] local.INFO: Packet analysis {"connection_id":195208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:36:00] local.INFO: Extracted packet for processing {"connection_id":195208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326456064001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36: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-25 17:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337740000,"timestamp_ms":1790337740000,"timestamp_seconds":1790337740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d871ece0"} 
[2026-09-25 17:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:00] 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-25 17:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326456064001,"66":12645,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326456064001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326456064001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":195208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:00] local.INFO: GPS data processed {"connection_id":195208,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:00] local.INFO: Acknowledgment sent {"connection_id":195208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:04] local.INFO: TCP Data received {"connection_id":192339,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:36:04] local.INFO: Processing buffer {"connection_id":192339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:36:04] local.INFO: IMEI packet received {"connection_id":192339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":192339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:36:07] local.INFO: TCP Data received {"connection_id":192338,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8746998012d7b0e4005e32f00000f008c27..."} 
[2026-09-25 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8746998012d7b0e4005e32f00000f008c27..."} 
[2026-09-25 17:36:07] local.INFO: Processing buffer {"connection_id":192338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8746998012d7b0e4005e32f00000f008c27..."} 
[2026-09-25 17:36:07] local.INFO: Packet analysis {"connection_id":192338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:36:07] local.INFO: Extracted packet for processing {"connection_id":192338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98774784,"longitude_deg":76.3039296,"latitude_deg":9.8774784,"altitude":15,"angle":140,"satellites":39,"speed":3,"hex_longitude":"2d7b0e40","hex_latitude":"05e32f00","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326502912001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135887572629979136,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847857981440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790337903000,"timestamp_ms":1790337903000,"timestamp_seconds":1790337903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8746998"} 
[2026-09-25 17: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-25 17:36:07] 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-25 17: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326502912001,"66":13656,"208":206,"85":15104,"24":3,"16":135887572629979136,"45":8867235847857981440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326502912001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135887572629979136,"km_value":135887572629979.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847857981440,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326502912001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867235847857981440}} 
[2026-09-25 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":192338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:07] local.INFO: GPS data processed {"connection_id":192338,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:07] local.INFO: Acknowledgment sent {"connection_id":192338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:08] local.INFO: TCP Data received {"connection_id":192337,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:36:08] local.INFO: Processing buffer {"connection_id":192337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8704ae8012d34c14006aa4908000f006e2e..."} 
[2026-09-25 17:36:08] local.INFO: Packet analysis {"connection_id":192337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:36:08] local.INFO: Extracted packet for processing {"connection_id":192337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d870"} 
[2026-09-25 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326356992001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790337633000,"timestamp_ms":1790337633000,"timestamp_seconds":1790337633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8704ae8"} 
[2026-09-25 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:36: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-25 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326356992001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326356992001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326356992001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":192337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:08] local.INFO: GPS data processed {"connection_id":192337,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:08] local.INFO: Acknowledgment sent {"connection_id":192337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:25] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:25] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:25] local.INFO: IMEI packet received {"connection_id":192517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":192517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:36:30] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:30] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:36:30] local.INFO: IMEI packet received {"connection_id":192517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:36:31] local.INFO: TCP Data received {"connection_id":195208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8723ee8012d1820000721b228004d00d626..."} 
[2026-09-25 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8723ee8012d1820000721b228004d00d626..."} 
[2026-09-25 17:36:31] local.INFO: Processing buffer {"connection_id":195208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8723ee8012d1820000721b228004d00d626..."} 
[2026-09-25 17:36:31] local.INFO: Packet analysis {"connection_id":195208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:36:31] local.INFO: Extracted packet for processing {"connection_id":195208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326461440001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337761000,"timestamp_ms":1790337761000,"timestamp_seconds":1790337761,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8723ee8"} 
[2026-09-25 17:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:31] 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-25 17:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326461440001,"66":12613,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326461440001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326461440001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":195208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:31] local.INFO: GPS data processed {"connection_id":195208,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:31] local.INFO: Acknowledgment sent {"connection_id":195208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:32] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:36:32] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:36:32] local.INFO: Packet analysis {"connection_id":192517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:36:32] local.INFO: Extracted packet for processing {"connection_id":192517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36: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-25 17:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:32] 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-25 17:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":192517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:32] local.INFO: GPS data processed {"connection_id":192517,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:32] local.INFO: Acknowledgment sent {"connection_id":192517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:33] local.INFO: TCP Data received {"connection_id":195209,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:33] local.INFO: Processing buffer {"connection_id":195209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:33] local.INFO: IMEI packet received {"connection_id":195209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":195209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:36:38] local.INFO: TCP Data received {"connection_id":195209,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:38] local.INFO: Processing buffer {"connection_id":195209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:36:38] local.INFO: IMEI packet received {"connection_id":195209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":195209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:36:40] local.INFO: TCP Data received {"connection_id":195209,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87586c0012d7b128005e316f80010003322..."} 
[2026-09-25 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87586c0012d7b128005e316f80010003322..."} 
[2026-09-25 17:36:40] local.INFO: Processing buffer {"connection_id":195209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87586c0012d7b128005e316f80010003322..."} 
[2026-09-25 17:36:40] local.INFO: Packet analysis {"connection_id":195209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d875"} 
[2026-09-25 17:36:40] local.INFO: Extracted packet for processing {"connection_id":195209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d875"} 
[2026-09-25 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98768632,"longitude_deg":76.3040384,"latitude_deg":9.8768632,"altitude":16,"angle":51,"satellites":34,"speed":1,"hex_longitude":"2d7b1280","hex_latitude":"05e316f8","is_valid_coordinates":true} 
[2026-09-25 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326521600001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135887899047493632,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868291379019048960,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790337976000,"timestamp_ms":1790337976000,"timestamp_seconds":1790337976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87586c0"} 
[2026-09-25 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36: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-25 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326521600001,"66":13798,"208":206,"85":15104,"24":1,"16":135887899047493632,"45":8868291379019048960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326521600001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135887899047493632,"km_value":135887899047493.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868291379019048960,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326521600001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8868291379019048960}} 
[2026-09-25 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":195209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:40] local.INFO: GPS data processed {"connection_id":195209,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:40] local.INFO: Acknowledgment sent {"connection_id":195209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:42] local.INFO: TCP Data received {"connection_id":195209,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8758e90012d7b128005e316f00010004821..."} 
[2026-09-25 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8758e90012d7b128005e316f00010004821..."} 
[2026-09-25 17:36:42] local.INFO: Processing buffer {"connection_id":195209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8758e90012d7b128005e316f00010004821..."} 
[2026-09-25 17:36:42] local.INFO: Packet analysis {"connection_id":195209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d875"} 
[2026-09-25 17:36:42] local.INFO: Extracted packet for processing {"connection_id":195209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d875"} 
[2026-09-25 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763040384,"raw_latitude":98768624,"longitude_deg":76.3040384,"latitude_deg":9.8768624,"altitude":16,"angle":72,"satellites":33,"speed":0,"hex_longitude":"2d7b1280","hex_latitude":"05e316f0","is_valid_coordinates":true} 
[2026-09-25 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326521856001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135887899047493632,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868291379019053056,"note":"Value kept but may cause issues"} 
[2026-09-25 17:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790337978000,"timestamp_ms":1790337978000,"timestamp_seconds":1790337978,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8758e90"} 
[2026-09-25 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:36:42] 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-25 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 17:36:42] 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-25 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326521856001,"66":13602,"208":206,"85":15104,"24":0,"16":135887899047493632,"45":8868291379019053056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326521856001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:36:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 17:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135887899047493632,"km_value":135887899047493.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868291379019053056,"description":"Unknown IO ID 45"} 
[2026-09-25 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326521856001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868291379019053056}} 
[2026-09-25 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":195209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:36:42] local.INFO: GPS data processed {"connection_id":195209,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:36:42] local.INFO: Acknowledgment sent {"connection_id":195209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:36:54] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:54] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:54] local.INFO: IMEI packet received {"connection_id":193891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":193891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:36:59] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:59] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:36:59] local.INFO: IMEI packet received {"connection_id":193891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":193891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:37:00] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87290f0012d1820000721b228004d00d62a..."} 
[2026-09-25 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87290f0012d1820000721b228004d00d62a..."} 
[2026-09-25 17:37:00] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87290f0012d1820000721b228004d00d62a..."} 
[2026-09-25 17:37:00] local.INFO: Packet analysis {"connection_id":193891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:37:00] local.INFO: Extracted packet for processing {"connection_id":193891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326466816001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37: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-25 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337782000,"timestamp_ms":1790337782000,"timestamp_seconds":1790337782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87290f0"} 
[2026-09-25 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:37:00] 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-25 17:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 17:37:00] 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-25 17:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326466816001,"66":12613,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326466816001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:37:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326466816001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:37:00] 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":896321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:37:00] local.INFO: GPS data processed {"connection_id":193891,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:37:00] local.INFO: Acknowledgment sent {"connection_id":193891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:37:04] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:04] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:04] local.INFO: Packet analysis {"connection_id":192517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:37:04] local.INFO: Extracted packet for processing {"connection_id":192517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37: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-25 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:37: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-25 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:37:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:37:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:37: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-25 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":192517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:37:04] local.INFO: GPS data processed {"connection_id":192517,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:37:04] local.INFO: Acknowledgment sent {"connection_id":192517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:37:24] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:24] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:24] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:37:25] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:37:25] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:25] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:37:27] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:27] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:27] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:37:28] local.INFO: TCP Data received {"connection_id":192341,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:28] local.INFO: Processing buffer {"connection_id":192341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:37:28] local.INFO: IMEI packet received {"connection_id":192341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":192341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:37:30] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:30] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:37:30] local.INFO: IMEI packet received {"connection_id":192340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:37:31] local.INFO: TCP Data received {"connection_id":193891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d872e2f8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d872e2f8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:37:31] local.INFO: Processing buffer {"connection_id":193891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d872e2f8012d1820000721b228004d00d62e..."} 
[2026-09-25 17:37:31] local.INFO: Packet analysis {"connection_id":193891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:37:31] local.INFO: Extracted packet for processing {"connection_id":193891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":46,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326472192001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337803000,"timestamp_ms":1790337803000,"timestamp_seconds":1790337803,"priority":1,"record_length":96,"hex_timestamp":"000001a0d872e2f8"} 
[2026-09-25 17:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 17:37:31] 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-25 17:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326472192001,"66":12558,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326472192001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326472192001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:37:31] 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":896323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:37:31] local.INFO: GPS data processed {"connection_id":193891,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:37:31] local.INFO: Acknowledgment sent {"connection_id":193891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:37:31] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:31] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:37:31] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:37:31] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:37: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-25 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:37:31] 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-25 17:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:37: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-25 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:37:31] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:37:31] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:37:59] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:37:59] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:37:59] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:38:03] local.INFO: TCP Data received {"connection_id":192340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:03] local.INFO: Processing buffer {"connection_id":192340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:03] local.INFO: Packet analysis {"connection_id":192340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:38:03] local.INFO: Extracted packet for processing {"connection_id":192340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38: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-25 17:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:38:03] 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-25 17:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:38: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-25 17:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":192340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:38:03] local.INFO: GPS data processed {"connection_id":192340,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:38:03] local.INFO: Acknowledgment sent {"connection_id":192340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:38:04] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:04] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:04] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:05] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8733500012d1820000721b228004d00d62b..."} 
[2026-09-25 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8733500012d1820000721b228004d00d62b..."} 
[2026-09-25 17:38:05] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8733500012d1820000721b228004d00d62b..."} 
[2026-09-25 17:38:05] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:38:05] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326477568001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.INFO: IO Element Parsed {"io_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-25 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790337824000,"timestamp_ms":1790337824000,"timestamp_seconds":1790337824,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8733500"} 
[2026-09-25 17: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-25 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3631281864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965965,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3205103616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,191,160,144,45,178,77,42,10,66,62,38,236,1,240,101,227,216,33,4,113,205,72,32,40,43,239,49,2,81,7,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:38:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548670233977290752,"timestamp_seconds":5548670233977291.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326477568001,"66":12613,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326477568001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:38:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326477568001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:38:05] 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":896326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:38:05] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:38:05] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:38:24] local.INFO: TCP Data received {"connection_id":195211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:24] local.INFO: Processing buffer {"connection_id":195211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:24] local.INFO: IMEI packet received {"connection_id":195211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":195211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:38:30] local.INFO: TCP Data received {"connection_id":195211,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:30] local.INFO: Processing buffer {"connection_id":195211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:38:30] local.INFO: IMEI packet received {"connection_id":195211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":195211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:32] local.INFO: TCP Data received {"connection_id":195210,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:32] local.INFO: Processing buffer {"connection_id":195210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:32] local.INFO: IMEI packet received {"connection_id":195210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":195210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:38:32] local.INFO: TCP Data received {"connection_id":195211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:32] local.INFO: Processing buffer {"connection_id":195211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:38:32] local.INFO: Packet analysis {"connection_id":195211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:38:32] local.INFO: Extracted packet for processing {"connection_id":195211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:38: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-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:38:32] 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-25 17:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":195211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:38:32] local.INFO: GPS data processed {"connection_id":195211,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:38:32] local.INFO: Acknowledgment sent {"connection_id":195211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:38:35] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8738708012d1820000721b228004d00d62c..."} 
[2026-09-25 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8738708012d1820000721b228004d00d62c..."} 
[2026-09-25 17:38:35] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8738708012d1820000721b228004d00d62c..."} 
[2026-09-25 17:38:35] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:38:35] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326482944001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790337845000,"timestamp_ms":1790337845000,"timestamp_seconds":1790337845,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8738708"} 
[2026-09-25 17: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-25 17:38:35] 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-25 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 17:38:35] 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-25 17: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-25 17: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-25 17:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326482944001,"66":12558,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326482944001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326482944001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:38:36] 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":896328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:38:36] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:38:36] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:38:36] local.INFO: TCP Data received {"connection_id":195210,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:36] local.INFO: Processing buffer {"connection_id":195210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:36] local.INFO: IMEI packet received {"connection_id":195210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":195210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:38] local.INFO: TCP Data received {"connection_id":195210,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:38] local.INFO: Processing buffer {"connection_id":195210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:38] local.INFO: IMEI packet received {"connection_id":195210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":195210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:42] local.INFO: TCP Data received {"connection_id":195210,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:42] local.INFO: Processing buffer {"connection_id":195210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:38:42] local.INFO: IMEI packet received {"connection_id":195210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":195210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:43] local.INFO: TCP Data received {"connection_id":195210,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:38:43] local.INFO: Processing buffer {"connection_id":195210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:38:43] local.INFO: Packet analysis {"connection_id":195210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:38:43] local.INFO: Extracted packet for processing {"connection_id":195210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:38:43] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:38:43] 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-25 17:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326422016001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:38: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-25 17:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790337738000,"timestamp_ms":1790337738000,"timestamp_seconds":1790337738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d871e510"} 
[2026-09-25 17: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-25 17:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 17:38:43] 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-25 17: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-25 17: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-25 17:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":195210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":195210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":195210,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326422016001,"66":12765,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326422016001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:38:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326422016001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":195210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:38:43] local.INFO: GPS data processed {"connection_id":195210,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:38:43] local.INFO: Acknowledgment sent {"connection_id":195210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:38:54] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:54] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:54] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:38:55] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:55] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:55] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:38:59] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:59] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:38:59] local.INFO: IMEI packet received {"connection_id":192343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":192343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:39:00] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d873d910012d1820000721b228004d00d62d..."} 
[2026-09-25 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d873d910012d1820000721b228004d00d62d..."} 
[2026-09-25 17:39:00] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d873d910012d1820000721b228004d00d62d..."} 
[2026-09-25 17:39:00] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:39:00] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d873"} 
[2026-09-25 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":45,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326488320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39: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-25 17:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337866000,"timestamp_ms":1790337866000,"timestamp_seconds":1790337866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d873d910"} 
[2026-09-25 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-25 17:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":14,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3631323864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2988965965,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3205103616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,191,160,53,45,178,77,43,10,66,226,46,144,1,240,69,227,216,33,4,113,205,236,32,40,239,49,2,81,7,106,73,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:39:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548670225387356160,"timestamp_seconds":5548670225387356.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 17:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326488320001,"66":12591,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326488320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326488320001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:00] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:00] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:04] local.INFO: TCP Data received {"connection_id":195211,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:04] local.INFO: Processing buffer {"connection_id":195211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:04] local.INFO: Packet analysis {"connection_id":195211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:04] local.INFO: Extracted packet for processing {"connection_id":195211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39: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-25 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39: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-25 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:39: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-25 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":195211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:04] local.INFO: GPS data processed {"connection_id":195211,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:04] local.INFO: Acknowledgment sent {"connection_id":195211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:17] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:17] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:17] local.INFO: IMEI packet received {"connection_id":192521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":192521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:39:23] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:23] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:39:23] local.INFO: IMEI packet received {"connection_id":192521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":192521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:39:24] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:39:24] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d871e510012d0b0ac007029e40000200f41e..."} 
[2026-09-25 17:39:24] local.INFO: Packet analysis {"connection_id":192521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:39:24] local.INFO: Extracted packet for processing {"connection_id":192521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117612096,"longitude_deg":75.5698368,"latitude_deg":11.7612096,"altitude":2,"angle":244,"satellites":30,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17:39:24] 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-25 17:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326460928001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:24] 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-25 17:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790337738000,"timestamp_ms":1790337738000,"timestamp_seconds":1790337738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d871e510"} 
[2026-09-25 17:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:24] 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-25 17:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:24] 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-25 17:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326460928001,"66":12765,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326460928001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326460928001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:39:25] 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":896332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:25] local.INFO: GPS data processed {"connection_id":192521,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:25] local.INFO: Acknowledgment sent {"connection_id":192521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:30] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:30] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:30] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:39:31] local.INFO: TCP Data received {"connection_id":192343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8742b18012d1820000721b228004d00d62b..."} 
[2026-09-25 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8742b18012d1820000721b228004d00d62b..."} 
[2026-09-25 17:39:31] local.INFO: Processing buffer {"connection_id":192343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8742b18012d1820000721b228004d00d62b..."} 
[2026-09-25 17:39:31] local.INFO: Packet analysis {"connection_id":192343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:31] local.INFO: Extracted packet for processing {"connection_id":192343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648808,"longitude_deg":75.6555776,"latitude_deg":11.9648808,"altitude":77,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-09-25 17:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326493696001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009522784141312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795106304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337887000,"timestamp_ms":1790337887000,"timestamp_seconds":1790337887,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8742b18"} 
[2026-09-25 17:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:31] 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-25 17:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 17:39: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-25 17:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326493696001,"66":12558,"105":206,"83":41984,"24":0,"16":23009522784141312,"45":1738389486795106304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326493696001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009522784141312,"km_value":23009522784141.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795106304,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326493696001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795106304}} 
[2026-09-25 17:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":192343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:31] local.INFO: GPS data processed {"connection_id":192343,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:31] local.INFO: Acknowledgment sent {"connection_id":192343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:35] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:35] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:39:35] local.INFO: IMEI packet received {"connection_id":192345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":192345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:39:37] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:37] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:37] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:37] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39: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-25 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:37] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:37] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:40] local.INFO: TCP Data received {"connection_id":192345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:40] local.INFO: Processing buffer {"connection_id":192345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:39:40] local.INFO: Packet analysis {"connection_id":192345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:40] local.INFO: Extracted packet for processing {"connection_id":192345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39: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-25 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:39: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-25 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:39: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-25 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":192345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:40] local.INFO: GPS data processed {"connection_id":192345,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:40] local.INFO: Acknowledgment sent {"connection_id":192345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:54] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:54] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:54] local.INFO: IMEI packet received {"connection_id":193893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":193893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:39:57] local.INFO: TCP Data received {"connection_id":192521,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d871f4b0012d0b0f4007029e98000201131e..."} 
[2026-09-25 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d871f4b0012d0b0f4007029e98000201131e..."} 
[2026-09-25 17:39:57] local.INFO: Processing buffer {"connection_id":192521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d871f4b0012d0b0f4007029e98000201131e..."} 
[2026-09-25 17:39:57] local.INFO: Packet analysis {"connection_id":192521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:39:57] local.INFO: Extracted packet for processing {"connection_id":192521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d871"} 
[2026-09-25 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612184,"longitude_deg":75.569952,"latitude_deg":11.7612184,"altitude":2,"angle":275,"satellites":30,"speed":0,"hex_longitude":"2d0b0f40","hex_latitude":"07029e98","is_valid_coordinates":true} 
[2026-09-25 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326460928001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525543424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:57] 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-25 17:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790337742000,"timestamp_ms":1790337742000,"timestamp_seconds":1790337742,"priority":1,"record_length":96,"hex_timestamp":"000001a0d871f4b0"} 
[2026-09-25 17:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39: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-25 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:57] 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-25 17:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326460928001,"66":11917,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":795659420525543424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326460928001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525543424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326460928001,"power":11917,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525543424}} 
[2026-09-25 17:39:57] 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":896336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:39:57] local.INFO: GPS data processed {"connection_id":192521,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:39:57] local.INFO: Acknowledgment sent {"connection_id":192521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:39:58] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:58] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:39:58] local.INFO: IMEI packet received {"connection_id":193893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":193893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:39:59] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d877b170012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d877b170012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:39:59] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d877b170012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:39:59] local.INFO: Packet analysis {"connection_id":193893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d877"} 
[2026-09-25 17:39:59] local.INFO: Extracted packet for processing {"connection_id":193893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d877"} 
[2026-09-25 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647520,"longitude_deg":75.65552,"latitude_deg":11.964752,"altitude":73,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-09-25 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326552832001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009595798585344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097177600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790338118000,"timestamp_ms":1790338118000,"timestamp_seconds":1790338118,"priority":1,"record_length":96,"hex_timestamp":"000001a0d877b170"} 
[2026-09-25 17:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:39:59] 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-25 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513887717370429654,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185681,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":191,"raw_value":720575940379279361,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2849334699180091360,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3531948890018873550,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2904555593,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3205758976,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.WARNING: Large IO value detected {"io_id":77,"raw_value":60286222550958080,"note":"Value kept but may cause issues"} 
[2026-09-25 17:39:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,191,160,13,45,192,173,73,46,10,66,105,187,1,240,238,227,216,33,4,113,205,197,31,208,43,239,49,2,81,7,77],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:39:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260440948747272192,"timestamp_seconds":5260440948747272.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326552832001,"66":12537,"107":206,"83":41984,"24":0,"16":23009595798585344,"45":1737756168097177600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326552832001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:39:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009595798585344,"km_value":23009595798585.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097177600,"description":"Unknown IO ID 45"} 
[2026-09-25 17:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326552832001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097177600}} 
[2026-09-25 17:40:00] 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":896337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:40:00] local.INFO: GPS data processed {"connection_id":193893,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:40:00] local.INFO: Acknowledgment sent {"connection_id":193893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:40:24] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:24] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:24] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:40:30] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:30] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:40:30] local.INFO: IMEI packet received {"connection_id":192522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:40:31] local.INFO: TCP Data received {"connection_id":193893,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8780378012d181dc00721ad20004900d72b..."} 
[2026-09-25 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8780378012d181dc00721ad20004900d72b..."} 
[2026-09-25 17:40:31] local.INFO: Processing buffer {"connection_id":193893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8780378012d181dc00721ad20004900d72b..."} 
[2026-09-25 17:40:31] local.INFO: Packet analysis {"connection_id":193893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:40:31] local.INFO: Extracted packet for processing {"connection_id":193893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647520,"longitude_deg":75.65552,"latitude_deg":11.964752,"altitude":73,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-09-25 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326558208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009595798585344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097177600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338139000,"timestamp_ms":1790338139000,"timestamp_seconds":1790338139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8780378"} 
[2026-09-25 17:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:40:31] 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-25 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 17:40:31] 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-25 17:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326558208001,"66":13820,"107":206,"83":41984,"24":0,"16":23009595798585344,"45":1737756168097177600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326558208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009595798585344,"km_value":23009595798585.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097177600,"description":"Unknown IO ID 45"} 
[2026-09-25 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326558208001,"power":13820,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097177600}} 
[2026-09-25 17:40:31] 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":896338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:40:31] local.INFO: GPS data processed {"connection_id":193893,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:40:31] local.INFO: Acknowledgment sent {"connection_id":193893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:40:31] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:40:31] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:40:31] local.INFO: Packet analysis {"connection_id":192522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:40:31] local.INFO: Extracted packet for processing {"connection_id":192522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40: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-25 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:40:31] 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-25 17:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:40:31] local.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-25 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:40: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-25 17:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:40:31] 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":896339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:40:31] local.INFO: GPS data processed {"connection_id":192522,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:40:31] local.INFO: Acknowledgment sent {"connection_id":192522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:40:47] local.INFO: TCP Data received {"connection_id":195213,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:47] local.INFO: Processing buffer {"connection_id":195213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:47] local.INFO: IMEI packet received {"connection_id":195213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":195213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:40:52] local.INFO: TCP Data received {"connection_id":195213,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:52] local.INFO: Processing buffer {"connection_id":195213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:40:52] local.INFO: IMEI packet received {"connection_id":195213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":195213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:40:53] local.INFO: TCP Data received {"connection_id":195213,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87242d0012d0b0f4007029e980002011320..."} 
[2026-09-25 17:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87242d0012d0b0f4007029e980002011320..."} 
[2026-09-25 17:40:53] local.INFO: Processing buffer {"connection_id":195213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87242d0012d0b0f4007029e980002011320..."} 
[2026-09-25 17:40:53] local.INFO: Packet analysis {"connection_id":195213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:40:53] local.INFO: Extracted packet for processing {"connection_id":195213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612184,"longitude_deg":75.569952,"latitude_deg":11.7612184,"altitude":2,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d0b0f40","hex_latitude":"07029e98","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326461952001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911236408115200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057920763904,"note":"Value kept but may cause issues"} 
[2026-09-25 17:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790337762000,"timestamp_ms":1790337762000,"timestamp_seconds":1790337762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87242d0"} 
[2026-09-25 17: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-25 17:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 17:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":195213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":195213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":195213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326461952001,"66":14559,"17":206,"94":11008,"24":0,"16":33911236408115200,"45":796926057920763904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326461952001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:40:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911236408115200,"km_value":33911236408115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057920763904,"description":"Unknown IO ID 45"} 
[2026-09-25 17:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326461952001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796926057920763904}} 
[2026-09-25 17:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":195213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:40:53] local.INFO: GPS data processed {"connection_id":195213,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:40:53] local.INFO: Acknowledgment sent {"connection_id":195213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:40:54] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:54] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:54] local.INFO: IMEI packet received {"connection_id":192346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":192346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:40:59] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:59] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:40:59] local.INFO: IMEI packet received {"connection_id":192346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":192346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:41:00] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8785580012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8785580012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:41:00] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8785580012d181dc00721ad20004900d72c..."} 
[2026-09-25 17:41:00] local.INFO: Packet analysis {"connection_id":192346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:41:00] local.INFO: Extracted packet for processing {"connection_id":192346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647520,"longitude_deg":75.65552,"latitude_deg":11.964752,"altitude":73,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-09-25 17:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326563584001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009595798585344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097177600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41: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-25 17:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790338160000,"timestamp_ms":1790338160000,"timestamp_seconds":1790338160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8785580"} 
[2026-09-25 17:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 17:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326563584001,"66":13993,"105":206,"83":41984,"24":0,"16":23009595798585344,"45":1737756168097177600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326563584001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009595798585344,"km_value":23009595798585.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097177600,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326563584001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097177600}} 
[2026-09-25 17:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":192346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:00] local.INFO: GPS data processed {"connection_id":192346,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:00] local.INFO: Acknowledgment sent {"connection_id":192346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:02] local.INFO: TCP Data received {"connection_id":192522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:41:02] local.INFO: Processing buffer {"connection_id":192522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d874e2b0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:41:02] local.INFO: Packet analysis {"connection_id":192522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:41:02] local.INFO: Extracted packet for processing {"connection_id":192522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d874"} 
[2026-09-25 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326434048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41: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-25 17:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790337934000,"timestamp_ms":1790337934000,"timestamp_seconds":1790337934,"priority":1,"record_length":96,"hex_timestamp":"000001a0d874e2b0"} 
[2026-09-25 17:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:41:02] 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-25 17:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:41:02] local.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-25 17:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326434048001,"66":25517,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326434048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:41: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-25 17:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326434048001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:41:02] 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":896342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:02] local.INFO: GPS data processed {"connection_id":192522,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:02] local.INFO: Acknowledgment sent {"connection_id":192522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:17] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:17] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:17] local.INFO: IMEI packet received {"connection_id":193895,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":193895,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:41:22] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:22] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:41:22] local.INFO: IMEI packet received {"connection_id":193895,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":193895,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:41:23] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87246b8012d0b0f0007029e40000f003f1f..."} 
[2026-09-25 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87246b8012d0b0f0007029e40000f003f1f..."} 
[2026-09-25 17:41:23] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87246b8012d0b0f0007029e40000f003f1f..."} 
[2026-09-25 17:41:23] local.INFO: Packet analysis {"connection_id":193895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:41:23] local.INFO: Extracted packet for processing {"connection_id":193895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117612096,"longitude_deg":75.5699456,"latitude_deg":11.7612096,"altitude":15,"angle":63,"satellites":31,"speed":4,"hex_longitude":"2d0b0f00","hex_latitude":"07029e40","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467072001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911244998049792,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057920763904,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790337763000,"timestamp_ms":1790337763000,"timestamp_seconds":1790337763,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87246b8"} 
[2026-09-25 17: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-25 17:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 17:41: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-25 17: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-25 17: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-25 17:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193895,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193895,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467072001,"66":14580,"17":206,"94":11008,"24":4,"16":33911244998049792,"45":796926057920763904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467072001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911244998049792,"km_value":33911244998049.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057920763904,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467072001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":796926057920763904}} 
[2026-09-25 17:41:23] 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":896343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:23] local.INFO: GPS data processed {"connection_id":193895,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:23] local.INFO: Acknowledgment sent {"connection_id":193895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:24] local.INFO: TCP Data received {"connection_id":195215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:24] local.INFO: Processing buffer {"connection_id":195215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:24] local.INFO: IMEI packet received {"connection_id":195215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":195215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:41:29] local.INFO: TCP Data received {"connection_id":195214,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:41:29] local.INFO: Processing buffer {"connection_id":195214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:41:29] local.INFO: IMEI packet received {"connection_id":195214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":195214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:41:30] local.INFO: TCP Data received {"connection_id":195215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:30] local.INFO: Processing buffer {"connection_id":195215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:41:30] local.INFO: IMEI packet received {"connection_id":195215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":195215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:41:31] local.INFO: TCP Data received {"connection_id":192346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87870d8012d181d000721ac30004c00b32a..."} 
[2026-09-25 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87870d8012d181d000721ac30004c00b32a..."} 
[2026-09-25 17:41:31] local.INFO: Processing buffer {"connection_id":192346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87870d8012d181d000721ac30004c00b32a..."} 
[2026-09-25 17:41:31] local.INFO: Packet analysis {"connection_id":192346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:41:31] local.INFO: Extracted packet for processing {"connection_id":192346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d878"} 
[2026-09-25 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647280,"longitude_deg":75.6555008,"latitude_deg":11.964728,"altitude":76,"angle":179,"satellites":42,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721ac30","is_valid_coordinates":true} 
[2026-09-25 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326568960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23009608683487232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097177600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338167000,"timestamp_ms":1790338167000,"timestamp_seconds":1790338167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87870d8"} 
[2026-09-25 17:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:41:31] 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-25 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 17:41:31] 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-25 17:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326568960001,"66":14157,"105":206,"83":41984,"24":3,"16":23009608683487232,"45":1737756168097177600},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326568960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23009608683487232,"km_value":23009608683487.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097177600,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326568960001,"power":14157,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737756168097177600}} 
[2026-09-25 17:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":192346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:31] local.INFO: GPS data processed {"connection_id":192346,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:31] local.INFO: Acknowledgment sent {"connection_id":192346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:32] local.INFO: TCP Data received {"connection_id":195215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:41:32] local.INFO: Processing buffer {"connection_id":195215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:41:32] local.INFO: Packet analysis {"connection_id":195215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:41:32] local.INFO: Extracted packet for processing {"connection_id":195215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:41:32] 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-25 17:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":195215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:32] local.INFO: GPS data processed {"connection_id":195215,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:32] local.INFO: Acknowledgment sent {"connection_id":195215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:54] local.INFO: TCP Data received {"connection_id":193895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8724aa0012d0b0f8007029e78001000331f..."} 
[2026-09-25 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8724aa0012d0b0f8007029e78001000331f..."} 
[2026-09-25 17:41:54] local.INFO: Processing buffer {"connection_id":193895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8724aa0012d0b0f8007029e78001000331f..."} 
[2026-09-25 17:41:54] local.INFO: Packet analysis {"connection_id":193895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:41:54] local.INFO: Extracted packet for processing {"connection_id":193895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:41:54] local.INFO: GPS Element Parsed {"raw_longitude":755699584,"raw_latitude":117612152,"longitude_deg":75.5699584,"latitude_deg":11.7612152,"altitude":16,"angle":51,"satellites":31,"speed":3,"hex_longitude":"2d0b0f80","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467328001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911249293017088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796855689176563712,"note":"Value kept but may cause issues"} 
[2026-09-25 17:41: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-25 17:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790337764000,"timestamp_ms":1790337764000,"timestamp_seconds":1790337764,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8724aa0"} 
[2026-09-25 17: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-25 17:41: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-25 17: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 17:41:54] 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-25 17: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-25 17: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-25 17:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":193895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":193895,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":193895,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467328001,"66":14580,"17":206,"94":11008,"24":3,"16":33911249293017088,"45":796855689176563712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467328001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:41:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911249293017088,"km_value":33911249293017.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":796855689176563712,"description":"Unknown IO ID 45"} 
[2026-09-25 17:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467328001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":796855689176563712}} 
[2026-09-25 17:41:55] 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":896346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:41:55] local.INFO: GPS data processed {"connection_id":193895,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:41:55] local.INFO: Acknowledgment sent {"connection_id":193895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:41:59] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:41:59] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:41:59] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:00] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:00] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:00] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:01] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:01] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:01] local.INFO: IMEI packet received {"connection_id":192347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":192347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:03] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d879dc20012d188cc007217f50004a007128..."} 
[2026-09-25 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d879dc20012d188cc007217f50004a007128..."} 
[2026-09-25 17:42:03] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d879dc20012d188cc007217f50004a007128..."} 
[2026-09-25 17:42:03] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:03] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756583616,"raw_latitude":119635792,"longitude_deg":75.6583616,"latitude_deg":11.9635792,"altitude":74,"angle":113,"satellites":40,"speed":39,"hex_longitude":"2d188cc0","hex_latitude":"07217f50","is_valid_coordinates":true} 
[2026-09-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326594048001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23011146281779200,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828183889920,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] 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-25 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338260000,"timestamp_ms":1790338260000,"timestamp_seconds":1790338260,"priority":1,"record_length":96,"hex_timestamp":"000001a0d879dc20"} 
[2026-09-25 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2215778857796501581,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3631807864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950728232960,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2581594189,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514784873,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743850,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3209953280,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750492634653095,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,106,83,24,241,157,16,192,160,188,45,128,129,74,39,10,66,177,130,153,64,1,240,185,227,191,216,33,4,113,205,17,79,41,168,42,239,53,105,2,81,7,77,8,206,112],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-25 17:42:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332373189872123904,"timestamp_seconds":5332373189872124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326594048001,"66":14363,"106":206,"83":41984,"24":39,"16":23011146281779200,"45":1766888828183889920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326594048001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23011146281779200,"km_value":23011146281779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828183889920,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326594048001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1766888828183889920}} 
[2026-09-25 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:03] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:03] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:03] local.INFO: TCP Data received {"connection_id":195215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:03] local.INFO: Processing buffer {"connection_id":195215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:03] local.INFO: Packet analysis {"connection_id":195215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:03] local.INFO: Extracted packet for processing {"connection_id":195215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42: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-25 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:03] 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-25 17:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:42: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-25 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":195215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:03] local.INFO: GPS data processed {"connection_id":195215,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:03] local.INFO: Acknowledgment sent {"connection_id":195215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:04] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:04] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:04] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:04] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632256,"longitude_deg":75.6591936,"latitude_deg":11.9632256,"altitude":74,"angle":126,"satellites":41,"speed":29,"hex_longitude":"2d18ad40","hex_latitude":"07217180","is_valid_coordinates":true} 
[2026-09-25 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326594560001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23011575778508800,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890509058048,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338270000,"timestamp_ms":1790338270000,"timestamp_seconds":1790338270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87a0330"} 
[2026-09-25 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326594560001,"66":14352,"106":206,"83":41984,"24":29,"16":23011575778508800,"45":1768999890509058048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326594560001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23011575778508800,"km_value":23011575778508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890509058048,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326594560001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1768999890509058048}} 
[2026-09-25 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:04] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:04] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:09] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:42:09] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:42:09] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:17] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:17] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:17] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:24] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:24] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:42:24] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:24] local.INFO: TCP Data received {"connection_id":193896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:24] local.INFO: Processing buffer {"connection_id":193896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:24] local.INFO: IMEI packet received {"connection_id":193896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":193896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:25] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:42:25] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:42:25] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:42:25] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:42:25] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612200,"longitude_deg":75.5699712,"latitude_deg":11.76122,"altitude":16,"angle":17,"satellites":31,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"07029ea8","is_valid_coordinates":true} 
[2026-09-25 17:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467584001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426664933376,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42: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-25 17:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790337765000,"timestamp_ms":1790337765000,"timestamp_seconds":1790337765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8724e88"} 
[2026-09-25 17:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:25] 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-25 17:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467584001,"66":14580,"17":206,"94":11008,"24":1,"16":33911253587984384,"45":796996426664933376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467584001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426664933376,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467584001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":796996426664933376}} 
[2026-09-25 17:42:26] 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":896350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:26] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:26] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:30] local.INFO: TCP Data received {"connection_id":193896,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:30] local.INFO: Processing buffer {"connection_id":193896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:42:30] local.INFO: IMEI packet received {"connection_id":193896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":193896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:31] local.INFO: TCP Data received {"connection_id":193896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:31] local.INFO: Processing buffer {"connection_id":193896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:42:31] local.INFO: Packet analysis {"connection_id":193896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:31] local.INFO: Extracted packet for processing {"connection_id":193896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17: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-25 17:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:31] 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-25 17: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-25 17: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-25 17:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:42:31] local.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-25 17:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":193896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:31] local.INFO: GPS data processed {"connection_id":193896,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:31] local.INFO: Acknowledgment sent {"connection_id":193896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:32] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:42:32] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:42:32] local.INFO: IMEI packet received {"connection_id":193897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":193897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:33] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87ace50012d7b2ac005e27bb0000b009d23..."} 
[2026-09-25 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87ace50012d7b2ac005e27bb0000b009d23..."} 
[2026-09-25 17:42:33] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87ace50012d7b2ac005e27bb0000b009d23..."} 
[2026-09-25 17:42:33] local.INFO: Packet analysis {"connection_id":193897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:33] local.INFO: Extracted packet for processing {"connection_id":193897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763046592,"raw_latitude":98728880,"longitude_deg":76.3046592,"latitude_deg":9.872888,"altitude":11,"angle":157,"satellites":35,"speed":1,"hex_longitude":"2d7b2ac0","hex_latitude":"05e27bb0","is_valid_coordinates":true} 
[2026-09-25 17:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326606848001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135890033646239744,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147194447872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338322000,"timestamp_ms":1790338322000,"timestamp_seconds":1790338322,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87ace50"} 
[2026-09-25 17:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:33] 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-25 17:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326606848001,"66":13428,"207":206,"85":15104,"24":1,"16":135890033646239744,"45":8875117147194447872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326606848001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135890033646239744,"km_value":135890033646239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147194447872,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326606848001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8875117147194447872}} 
[2026-09-25 17:42:33] 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":896352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:33] local.INFO: GPS data processed {"connection_id":193897,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:33] local.INFO: Acknowledgment sent {"connection_id":193897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:35] local.INFO: TCP Data received {"connection_id":192347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:35] local.INFO: Processing buffer {"connection_id":192347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87a0330012d18ad4007217180004a007e29..."} 
[2026-09-25 17:42:35] local.INFO: Packet analysis {"connection_id":192347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:35] local.INFO: Extracted packet for processing {"connection_id":192347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632256,"longitude_deg":75.6591936,"latitude_deg":11.9632256,"altitude":74,"angle":126,"satellites":41,"speed":29,"hex_longitude":"2d18ad40","hex_latitude":"07217180","is_valid_coordinates":true} 
[2026-09-25 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-25 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326597120001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23011575778508800,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251249152,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] 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-25 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790338270000,"timestamp_ms":1790338270000,"timestamp_seconds":1790338270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87a0330"} 
[2026-09-25 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-25 17:42:35] 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-25 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2540038030900592717,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3631834864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84750532363100574,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503950731116544,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2187853898,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636284017601129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3218210816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.WARNING: Large IO value detected {"io_id":168,"raw_value":21955615823757312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,192,160,220,45,127,74,40,10,66,212,64,129,42,188,128,1,240,27,227,216,33,4,113,205,37,153,80,38,239,55,2,81,7,77,17,206,168],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-25 17:42:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332400673367326720,"timestamp_seconds":5332400673367327.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326597120001,"66":14352,"106":206,"83":41984,"24":29,"16":23011575778508800,"45":1778147827251249152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326597120001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23011575778508800,"km_value":23011575778508.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251249152,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326597120001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778147827251249152}} 
[2026-09-25 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":192347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:35] local.INFO: GPS data processed {"connection_id":192347,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:35] local.INFO: Acknowledgment sent {"connection_id":192347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:51] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:51] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:51] local.INFO: IMEI packet received {"connection_id":195217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":195217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:42:54] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:54] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:54] local.INFO: IMEI packet received {"connection_id":195217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":195217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:55] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:55] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:55] local.INFO: IMEI packet received {"connection_id":195217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":195217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:58] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:58] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:42:58] local.INFO: IMEI packet received {"connection_id":195217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":195217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:42:59] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87ab2f8012d18f1000720de900038009028..."} 
[2026-09-25 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87ab2f8012d18f1000720de900038009028..."} 
[2026-09-25 17:42:59] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87ab2f8012d18f1000720de900038009028..."} 
[2026-09-25 17:42:59] local.INFO: Packet analysis {"connection_id":195217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:59] local.INFO: Extracted packet for processing {"connection_id":195217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119594640,"longitude_deg":75.660928,"latitude_deg":11.959464,"altitude":56,"angle":144,"satellites":40,"speed":41,"hex_longitude":"2d18f100","hex_latitude":"0720de90","is_valid_coordinates":true} 
[2026-09-25 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326606080001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23013641657778176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790743832451407872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42: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-25 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790338315000,"timestamp_ms":1790338315000,"timestamp_seconds":1790338315,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87ab2f8"} 
[2026-09-25 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:59] 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-25 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:59] 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-25 17:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326606080001,"66":14265,"103":206,"83":41984,"24":41,"16":23013641657778176,"45":1790743832451407872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326606080001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23013641657778176,"km_value":23013641657778.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790743832451407872,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326606080001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1790743832451407872}} 
[2026-09-25 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":195217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:42:59] local.INFO: GPS data processed {"connection_id":195217,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:42:59] local.INFO: Acknowledgment sent {"connection_id":195217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:42:59] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87abeb0012d18f9000720d5a80036008429..."} 
[2026-09-25 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87abeb0012d18f9000720d5a80036008429..."} 
[2026-09-25 17:42:59] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87abeb0012d18f9000720d5a80036008429..."} 
[2026-09-25 17:42:59] local.INFO: Packet analysis {"connection_id":195217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:59] local.INFO: Extracted packet for processing {"connection_id":195217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756611328,"raw_latitude":119592360,"longitude_deg":75.6611328,"latitude_deg":11.959236,"altitude":54,"angle":132,"satellites":41,"speed":39,"hex_longitude":"2d18f900","hex_latitude":"0720d5a8","is_valid_coordinates":true} 
[2026-09-25 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326608640001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23013787686666240,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756913766400,"note":"Value kept but may cause issues"} 
[2026-09-25 17:42: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-25 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790338318000,"timestamp_ms":1790338318000,"timestamp_seconds":1790338318,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87abeb0"} 
[2026-09-25 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:42:59] 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-25 17:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-25 17:42:59] 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-25 17:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326608640001,"66":14243,"103":206,"83":41984,"24":39,"16":23013787686666240,"45":1797217756913766400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326608640001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23013787686666240,"km_value":23013787686666.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756913766400,"description":"Unknown IO ID 45"} 
[2026-09-25 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326608640001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1797217756913766400}} 
[2026-09-25 17:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":195217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:00] local.INFO: GPS data processed {"connection_id":195217,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:00] local.INFO: Acknowledgment sent {"connection_id":195217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:02] local.INFO: TCP Data received {"connection_id":193896,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:02] local.INFO: Processing buffer {"connection_id":193896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:02] local.INFO: Packet analysis {"connection_id":193896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:02] local.INFO: Extracted packet for processing {"connection_id":193896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43: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-25 17:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:02] 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-25 17:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:43:02] local.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-25 17:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:43: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-25 17:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":193896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:02] local.INFO: GPS data processed {"connection_id":193896,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:02] local.INFO: Acknowledgment sent {"connection_id":193896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:04] local.INFO: TCP Data received {"connection_id":193897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87ad620012d7b2ac005e27b70000b00aa21..."} 
[2026-09-25 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87ad620012d7b2ac005e27b70000b00aa21..."} 
[2026-09-25 17:43:04] local.INFO: Processing buffer {"connection_id":193897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87ad620012d7b2ac005e27b70000b00aa21..."} 
[2026-09-25 17:43:04] local.INFO: Packet analysis {"connection_id":193897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:43:04] local.INFO: Extracted packet for processing {"connection_id":193897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87a"} 
[2026-09-25 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763046592,"raw_latitude":98728816,"longitude_deg":76.3046592,"latitude_deg":9.8728816,"altitude":11,"angle":170,"satellites":33,"speed":0,"hex_longitude":"2d7b2ac0","hex_latitude":"05e27b70","is_valid_coordinates":true} 
[2026-09-25 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326610432001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135890033646239744,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147194109952,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338324000,"timestamp_ms":1790338324000,"timestamp_seconds":1790338324,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87ad620"} 
[2026-09-25 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326610432001,"66":13450,"207":206,"85":15104,"24":0,"16":135890033646239744,"45":8875117147194109952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326610432001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135890033646239744,"km_value":135890033646239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147194109952,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326610432001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875117147194109952}} 
[2026-09-25 17:43:05] 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":896357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:05] local.INFO: GPS data processed {"connection_id":193897,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:05] local.INFO: Acknowledgment sent {"connection_id":193897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:30] local.INFO: TCP Data received {"connection_id":192348,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:30] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:30] local.INFO: IMEI packet received {"connection_id":192348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:43:31] local.INFO: TCP Data received {"connection_id":195217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b89d0012d19bcc00720a6b8002f009e28..."} 
[2026-09-25 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b89d0012d19bcc00720a6b8002f009e28..."} 
[2026-09-25 17:43:31] local.INFO: Processing buffer {"connection_id":195217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b89d0012d19bcc00720a6b8002f009e28..."} 
[2026-09-25 17:43:31] local.INFO: Packet analysis {"connection_id":195217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:31] local.INFO: Extracted packet for processing {"connection_id":195217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580344,"longitude_deg":75.666144,"latitude_deg":11.9580344,"altitude":47,"angle":158,"satellites":40,"speed":23,"hex_longitude":"2d19bcc0","hex_latitude":"0720a6b8","is_valid_coordinates":true} 
[2026-09-25 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622464001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23016351782141952,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182507008,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43: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-25 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338370000,"timestamp_ms":1790338370000,"timestamp_seconds":1790338370,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b89d0"} 
[2026-09-25 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:31] 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-25 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:31] 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-25 17:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622464001,"66":14233,"103":206,"83":41984,"24":23,"16":23016351782141952,"45":1854357177182507008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622464001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23016351782141952,"km_value":23016351782141.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182507008,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622464001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854357177182507008}} 
[2026-09-25 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":195217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:31] local.INFO: GPS data processed {"connection_id":195217,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:31] local.INFO: Acknowledgment sent {"connection_id":195217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:33] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: IMEI packet received {"connection_id":193898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":193898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:43:33] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:33] local.INFO: IMEI packet received {"connection_id":193898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":193898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:43:34] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:43:34] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:43:34] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:43:34] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612200,"longitude_deg":75.5699712,"latitude_deg":11.76122,"altitude":16,"angle":17,"satellites":31,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"07029ea8","is_valid_coordinates":true} 
[2026-09-25 17:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467840001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153300992,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:34] 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-25 17:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790337765000,"timestamp_ms":1790337765000,"timestamp_seconds":1790337765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8724e88"} 
[2026-09-25 17: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-25 17:43:34] 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-25 17: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:34] 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-25 17: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-25 17: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-25 17:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467840001,"66":14548,"17":206,"94":11008,"24":1,"16":33911253587984384,"45":797137164153300992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467840001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153300992,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467840001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153300992}} 
[2026-09-25 17:43:34] 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":896359,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:34] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:34] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:35] local.INFO: TCP Data received {"connection_id":192348,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:35] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:43:35] local.INFO: IMEI packet received {"connection_id":192348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":192348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:43:36] local.INFO: TCP Data received {"connection_id":192348,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:36] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:36] local.INFO: Packet analysis {"connection_id":192348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:36] local.INFO: Extracted packet for processing {"connection_id":192348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17: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-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:43: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-25 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":192348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:36] local.INFO: GPS data processed {"connection_id":192348,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:36] local.INFO: Acknowledgment sent {"connection_id":192348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:37] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:37] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:43:37] local.INFO: IMEI packet received {"connection_id":193898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":193898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:43:38] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b2828012d7b2b4005e27850000c00a824..."} 
[2026-09-25 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b2828012d7b2b4005e27850000c00a824..."} 
[2026-09-25 17:43:38] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b2828012d7b2b4005e27850000c00a824..."} 
[2026-09-25 17:43:38] local.INFO: Packet analysis {"connection_id":193898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:38] local.INFO: Extracted packet for processing {"connection_id":193898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763046720,"raw_latitude":98728016,"longitude_deg":76.304672,"latitude_deg":9.8728016,"altitude":12,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d7b2b40","hex_latitude":"05e27850","is_valid_coordinates":true} 
[2026-09-25 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326610944001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135890076595912704,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147194093568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790338345000,"timestamp_ms":1790338345000,"timestamp_seconds":1790338345,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b2828"} 
[2026-09-25 17:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:38] 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-25 17:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326610944001,"66":13765,"207":206,"85":15104,"24":0,"16":135890076595912704,"45":8875117147194093568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326610944001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135890076595912704,"km_value":135890076595912.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147194093568,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326610944001,"power":13765,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875117147194093568}} 
[2026-09-25 17:43:38] 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":896361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:38] local.INFO: GPS data processed {"connection_id":193898,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:38] local.INFO: Acknowledgment sent {"connection_id":193898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:40] local.INFO: TCP Data received {"connection_id":192348,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:40] local.INFO: Processing buffer {"connection_id":192348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:43:40] local.INFO: Packet analysis {"connection_id":192348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:40] local.INFO: Extracted packet for processing {"connection_id":192348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":192348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:40] local.INFO: GPS data processed {"connection_id":192348,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:40] local.INFO: Acknowledgment sent {"connection_id":192348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:43] local.INFO: TCP Data received {"connection_id":193898,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b62c0012d7b2c8005e271a0000c00b722..."} 
[2026-09-25 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b62c0012d7b2c8005e271a0000c00b722..."} 
[2026-09-25 17:43:43] local.INFO: Processing buffer {"connection_id":193898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b62c0012d7b2c8005e271a0000c00b722..."} 
[2026-09-25 17:43:43] local.INFO: Packet analysis {"connection_id":193898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:43] local.INFO: Extracted packet for processing {"connection_id":193898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763047040,"raw_latitude":98726304,"longitude_deg":76.304704,"latitude_deg":9.8726304,"altitude":12,"angle":183,"satellites":34,"speed":3,"hex_longitude":"2d7b2c80","hex_latitude":"05e271a0","is_valid_coordinates":true} 
[2026-09-25 17:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326616320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135890162495258624,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875257884682244096,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790338360000,"timestamp_ms":1790338360000,"timestamp_seconds":1790338360,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b62c0"} 
[2026-09-25 17:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 17:43:43] 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-25 17:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":193898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":193898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":193898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326616320001,"66":13472,"207":206,"85":15104,"24":3,"16":135890162495258624,"45":8875257884682244096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326616320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135890162495258624,"km_value":135890162495258.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875257884682244096,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326616320001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8875257884682244096}} 
[2026-09-25 17:43:43] 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":896363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:43] local.INFO: GPS data processed {"connection_id":193898,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:43] local.INFO: Acknowledgment sent {"connection_id":193898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:43:54] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:54] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:54] local.INFO: IMEI packet received {"connection_id":193899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":193899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:43:57] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:57] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:43:57] local.INFO: IMEI packet received {"connection_id":193899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":193899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:43:58] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b8db8012d19bd000720a470002f00b028..."} 
[2026-09-25 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b8db8012d19bd000720a470002f00b028..."} 
[2026-09-25 17:43:58] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b8db8012d19bd000720a470002f00b028..."} 
[2026-09-25 17:43:58] local.INFO: Packet analysis {"connection_id":193899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:58] local.INFO: Extracted packet for processing {"connection_id":193899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119579760,"longitude_deg":75.6661504,"latitude_deg":11.957976,"altitude":47,"angle":176,"satellites":40,"speed":22,"hex_longitude":"2d19bd00","hex_latitude":"0720a470","is_valid_coordinates":true} 
[2026-09-25 17:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622720001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23016377551945728,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414902784,"note":"Value kept but may cause issues"} 
[2026-09-25 17:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790338371000,"timestamp_ms":1790338371000,"timestamp_seconds":1790338371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b8db8"} 
[2026-09-25 17:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-25 17:43: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-25 17:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":193899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":193899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":193899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622720001,"66":13493,"103":206,"83":41984,"24":22,"16":23016377551945728,"45":1854568283414902784},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622720001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:43:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23016377551945728,"km_value":23016377551945.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414902784,"description":"Unknown IO ID 45"} 
[2026-09-25 17:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622720001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854568283414902784}} 
[2026-09-25 17:43:58] 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":896364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:43:58] local.INFO: GPS data processed {"connection_id":193899,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:43:58] local.INFO: Acknowledgment sent {"connection_id":193899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:12] local.INFO: TCP Data received {"connection_id":195220,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:12] local.INFO: Processing buffer {"connection_id":195220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:12] local.INFO: IMEI packet received {"connection_id":195220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":195220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:44:17] local.INFO: TCP Data received {"connection_id":195220,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:17] local.INFO: Processing buffer {"connection_id":195220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:44:17] local.INFO: IMEI packet received {"connection_id":195220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":195220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:44:19] local.INFO: TCP Data received {"connection_id":195220,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:44:19] local.INFO: Processing buffer {"connection_id":195220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8724e88012d0b100007029ea8001000111f..."} 
[2026-09-25 17:44:19] local.INFO: Packet analysis {"connection_id":195220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:44:19] local.INFO: Extracted packet for processing {"connection_id":195220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:44:19] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612200,"longitude_deg":75.5699712,"latitude_deg":11.76122,"altitude":16,"angle":17,"satellites":31,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"07029ea8","is_valid_coordinates":true} 
[2026-09-25 17:44: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":795,"current_offset":40} 
[2026-09-25 17:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467840001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153300992,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:19] 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-25 17:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790337765000,"timestamp_ms":1790337765000,"timestamp_seconds":1790337765,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8724e88"} 
[2026-09-25 17:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:44:19] 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-25 17:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 17:44: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-25 17:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":195220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":195220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":195220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467840001,"66":14548,"17":206,"94":11008,"24":1,"16":33911253587984384,"45":797137164153300992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467840001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153300992,"description":"Unknown IO ID 45"} 
[2026-09-25 17:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467840001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153300992}} 
[2026-09-25 17:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":195220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:44:19] local.INFO: GPS data processed {"connection_id":195220,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:44:19] local.INFO: Acknowledgment sent {"connection_id":195220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:26] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:26] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:26] local.INFO: IMEI packet received {"connection_id":192525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":192525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:44:28] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:28] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:28] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:44:29] local.INFO: TCP Data received {"connection_id":193899,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87c6878012d19d380071ffc58002a00f129..."} 
[2026-09-25 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87c6878012d19d380071ffc58002a00f129..."} 
[2026-09-25 17:44:29] local.INFO: Processing buffer {"connection_id":193899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87c6878012d19d380071ffc58002a00f129..."} 
[2026-09-25 17:44:29] local.INFO: Packet analysis {"connection_id":193899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:44:29] local.INFO: Extracted packet for processing {"connection_id":193899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119536728,"longitude_deg":75.6667264,"latitude_deg":11.9536728,"altitude":42,"angle":241,"satellites":41,"speed":21,"hex_longitude":"2d19d380","hex_latitude":"071ffc58","is_valid_coordinates":true} 
[2026-09-25 17:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326636800001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23018744078925824,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370286712832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:29] 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-25 17:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790338427000,"timestamp_ms":1790338427000,"timestamp_seconds":1790338427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87c6878"} 
[2026-09-25 17:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:44:29] 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-25 17:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-25 17:44:29] 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-25 17:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326636800001,"66":14004,"101":206,"83":41984,"24":21,"16":23018744078925824,"45":1862027370286712832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 17:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326636800001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:44:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 17:44:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23018744078925824,"km_value":23018744078925.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370286712832,"description":"Unknown IO ID 45"} 
[2026-09-25 17:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326636800001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1862027370286712832}} 
[2026-09-25 17:44:29] 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":896366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:44:30] local.INFO: GPS data processed {"connection_id":193899,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:44:30] local.INFO: Acknowledgment sent {"connection_id":193899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:30] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:30] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:44:30] local.INFO: IMEI packet received {"connection_id":192525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":192525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:44:32] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:32] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:44:32] local.INFO: IMEI packet received {"connection_id":192349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":192349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:44:32] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:32] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:32] local.INFO: Packet analysis {"connection_id":192525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:44:32] local.INFO: Extracted packet for processing {"connection_id":192525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:44: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-25 17:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:44:32] 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-25 17:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:44:32] 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":896367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:44:32] local.INFO: GPS data processed {"connection_id":192525,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:44:32] local.INFO: Acknowledgment sent {"connection_id":192525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:33] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87cb698012d7b318005e243b0000d00ac23..."} 
[2026-09-25 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87cb698012d7b318005e243b0000d00ac23..."} 
[2026-09-25 17:44:33] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87cb698012d7b318005e243b0000d00ac23..."} 
[2026-09-25 17:44:33] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:44:33] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":98714544,"longitude_deg":76.304832,"latitude_deg":9.8714544,"altitude":13,"angle":172,"satellites":35,"speed":26,"hex_longitude":"2d7b3180","hex_latitude":"05e243b0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326637312001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135890750905778176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875961572122812416,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338447000,"timestamp_ms":1790338447000,"timestamp_seconds":1790338447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87cb698"} 
[2026-09-25 17: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-25 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 17:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326637312001,"66":13678,"207":206,"85":15104,"24":26,"16":135890750905778176,"45":8875961572122812416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326637312001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:44:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135890750905778176,"km_value":135890750905778.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875961572122812416,"description":"Unknown IO ID 45"} 
[2026-09-25 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326637312001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8875961572122812416}} 
[2026-09-25 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:44:33] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:44:33] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:37] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:37] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:44:37] local.INFO: Packet analysis {"connection_id":192525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:44:37] local.INFO: Extracted packet for processing {"connection_id":192525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:44: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-25 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:44: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-25 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:44:37] 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":896369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:44:37] local.INFO: GPS data processed {"connection_id":192525,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:44:37] local.INFO: Acknowledgment sent {"connection_id":192525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:44:52] local.INFO: TCP Data received {"connection_id":193900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:52] local.INFO: Processing buffer {"connection_id":193900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:52] local.INFO: IMEI packet received {"connection_id":193900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":193900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:44:53] local.INFO: TCP Data received {"connection_id":193900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:53] local.INFO: Processing buffer {"connection_id":193900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:53] local.INFO: IMEI packet received {"connection_id":193900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":193900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:44:54] local.INFO: TCP Data received {"connection_id":193900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: Processing buffer {"connection_id":193900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: IMEI packet received {"connection_id":193900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":193900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:44:54] local.INFO: TCP Data received {"connection_id":193900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: Processing buffer {"connection_id":193900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:44:54] local.INFO: IMEI packet received {"connection_id":193900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":193900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:00] local.INFO: TCP Data received {"connection_id":195220,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8725270012d0b100007029ec8001001531f..."} 
[2026-09-25 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8725270012d0b100007029ec8001001531f..."} 
[2026-09-25 17:45:00] local.INFO: Processing buffer {"connection_id":195220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8725270012d0b100007029ec8001001531f..."} 
[2026-09-25 17:45:00] local.INFO: Packet analysis {"connection_id":195220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:45:00] local.INFO: Extracted packet for processing {"connection_id":195220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:45:00] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612232,"longitude_deg":75.5699712,"latitude_deg":11.7612232,"altitude":16,"angle":339,"satellites":31,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"07029ec8","is_valid_coordinates":true} 
[2026-09-25 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326467840001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153300992,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:00] 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-25 17:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790337766000,"timestamp_ms":1790337766000,"timestamp_seconds":1790337766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8725270"} 
[2026-09-25 17:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:45:00] 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-25 17:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326467840001,"66":14548,"17":206,"94":11008,"24":1,"16":33911253587984384,"45":797137164153300992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326467840001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153300992,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326467840001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153300992}} 
[2026-09-25 17:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":195220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:00] local.INFO: GPS data processed {"connection_id":195220,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:00] local.INFO: Acknowledgment sent {"connection_id":195220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:45:03] local.INFO: TCP Data received {"connection_id":192349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87ce190012d7b35c005e21e28000c00ac22..."} 
[2026-09-25 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87ce190012d7b35c005e21e28000c00ac22..."} 
[2026-09-25 17:45:03] local.INFO: Processing buffer {"connection_id":192349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87ce190012d7b35c005e21e28000c00ac22..."} 
[2026-09-25 17:45:03] local.INFO: Packet analysis {"connection_id":192349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:45:03] local.INFO: Extracted packet for processing {"connection_id":192349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87c"} 
[2026-09-25 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":98704936,"longitude_deg":76.3049408,"latitude_deg":9.8704936,"altitude":12,"angle":172,"satellites":34,"speed":35,"hex_longitude":"2d7b35c0","hex_latitude":"05e21e28","is_valid_coordinates":true} 
[2026-09-25 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326642432001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135891219057213440,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103283236864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338458000,"timestamp_ms":1790338458000,"timestamp_seconds":1790338458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87ce190"} 
[2026-09-25 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:45:03] 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-25 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:03] 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-25 17:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326642432001,"66":13428,"207":206,"85":15104,"24":35,"16":135891219057213440,"45":8877017103283236864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326642432001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135891219057213440,"km_value":135891219057213.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103283236864,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326642432001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8877017103283236864}} 
[2026-09-25 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":192349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:03] local.INFO: GPS data processed {"connection_id":192349,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:03] local.INFO: Acknowledgment sent {"connection_id":192349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:45:08] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:08] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:08] local.INFO: Packet analysis {"connection_id":192525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:45:08] local.INFO: Extracted packet for processing {"connection_id":192525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17: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-25 17:45: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-25 17: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:08] 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-25 17: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-25 17: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-25 17:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17: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-25 17:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:45:08] 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":896372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:08] local.INFO: GPS data processed {"connection_id":192525,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:08] local.INFO: Acknowledgment sent {"connection_id":192525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:45:25] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:25] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:25] local.INFO: IMEI packet received {"connection_id":193901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":193901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:45:26] local.INFO: TCP Data received {"connection_id":192350,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:26] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:26] local.INFO: IMEI packet received {"connection_id":192350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":192350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:45:28] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: IMEI packet received {"connection_id":193901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":193901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:28] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:28] local.INFO: IMEI packet received {"connection_id":193901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":193901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:30] local.INFO: TCP Data received {"connection_id":192350,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:30] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:45:30] local.INFO: IMEI packet received {"connection_id":192350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":192350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:31] local.INFO: TCP Data received {"connection_id":192350,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:31] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:45:31] local.INFO: Packet analysis {"connection_id":192350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:45:31] local.INFO: Extracted packet for processing {"connection_id":192350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45: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-25 17:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:31] 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-25 17:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:45: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-25 17:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":192350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:31] local.INFO: GPS data processed {"connection_id":192350,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:31] local.INFO: Acknowledgment sent {"connection_id":192350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:45:32] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:32] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:32] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:45:33] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:33] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:45:33] local.INFO: IMEI packet received {"connection_id":193901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":193901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:33] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87d1070012d7b398005e1f948000b00af24..."} 
[2026-09-25 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87d1070012d7b398005e1f948000b00af24..."} 
[2026-09-25 17:45:33] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87d1070012d7b398005e1f948000b00af24..."} 
[2026-09-25 17:45:33] local.INFO: Packet analysis {"connection_id":193901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87d"} 
[2026-09-25 17:45:33] local.INFO: Extracted packet for processing {"connection_id":193901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87d"} 
[2026-09-25 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763050368,"raw_latitude":98695496,"longitude_deg":76.3050368,"latitude_deg":9.8695496,"altitude":11,"angle":175,"satellites":36,"speed":32,"hex_longitude":"2d7b3980","hex_latitude":"05e1f948","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326645248001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135891678618714112,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371931797504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338470000,"timestamp_ms":1790338470000,"timestamp_seconds":1790338470,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87d1070"} 
[2026-09-25 17: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-25 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326645248001,"66":13624,"207":206,"85":15104,"24":32,"16":135891678618714112,"45":8878213371931797504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326645248001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135891678618714112,"km_value":135891678618714.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371931797504,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326645248001,"power":13624,"unknown_207":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8878213371931797504}} 
[2026-09-25 17:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":193901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:33] local.INFO: GPS data processed {"connection_id":193901,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:33] local.INFO: Acknowledgment sent {"connection_id":193901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:45:48] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:48] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:45:48] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:45:50] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8725658012d0b100007029ee00010013d1f..."} 
[2026-09-25 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8725658012d0b100007029ee00010013d1f..."} 
[2026-09-25 17:45:50] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8725658012d0b100007029ee00010013d1f..."} 
[2026-09-25 17:45:50] local.INFO: Packet analysis {"connection_id":192527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:45:50] local.INFO: Extracted packet for processing {"connection_id":192527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d872"} 
[2026-09-25 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612256,"longitude_deg":75.5699712,"latitude_deg":11.7612256,"altitude":16,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b1000","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326468096001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153309184,"note":"Value kept but may cause issues"} 
[2026-09-25 17:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790337767000,"timestamp_ms":1790337767000,"timestamp_seconds":1790337767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8725658"} 
[2026-09-25 17: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-25 17:45:50] 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-25 17: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 17:45:50] 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-25 17: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-25 17: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-25 17:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326468096001,"66":14548,"17":206,"94":11008,"24":0,"16":33911253587984384,"45":797137164153309184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326468096001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153309184,"description":"Unknown IO ID 45"} 
[2026-09-25 17:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326468096001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797137164153309184}} 
[2026-09-25 17:45:50] 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":896375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:45:50] local.INFO: GPS data processed {"connection_id":192527,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:45:50] local.INFO: Acknowledgment sent {"connection_id":192527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:46:02] local.INFO: TCP Data received {"connection_id":192350,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:46:02] local.INFO: Processing buffer {"connection_id":192350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8797a78012d34c14006aa49080002006e2d..."} 
[2026-09-25 17:46:02] local.INFO: Packet analysis {"connection_id":192350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:46:02] local.INFO: Extracted packet for processing {"connection_id":192350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d879"} 
[2026-09-25 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326511104001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46: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-25 17:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790338235000,"timestamp_ms":1790338235000,"timestamp_seconds":1790338235,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8797a78"} 
[2026-09-25 17:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 17:46:02] 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-25 17:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326511104001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326511104001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:46: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-25 17:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326511104001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":192350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:46:02] local.INFO: GPS data processed {"connection_id":192350,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:46:02] local.INFO: Acknowledgment sent {"connection_id":192350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:46:04] local.INFO: TCP Data received {"connection_id":193901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:04] local.INFO: Processing buffer {"connection_id":193901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:04] local.INFO: Packet analysis {"connection_id":193901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:04] local.INFO: Extracted packet for processing {"connection_id":193901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98681432,"longitude_deg":76.3080768,"latitude_deg":9.8681432,"altitude":6,"angle":64,"satellites":39,"speed":24,"hex_longitude":"2d7bb040","hex_latitude":"05e1c258","is_valid_coordinates":true} 
[2026-09-25 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326664960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902701694899249152,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135893985016152064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338549000,"timestamp_ms":1790338549000,"timestamp_seconds":1790338549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e4508"} 
[2026-09-25 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637193,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":335544320,"corrected_to":0} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3632102864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2104972130423668736,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2929197066,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937929167,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221610926,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292534962827691,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3383492608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786319872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4863894064421928971,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,202,160,235,183,8,39,10,66,227,128,182,188,1,240,84,216,225,4,113,205,17,133,71,64,38,239,52,207,2,226,5,13,123,59],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":202,"original":335544320,"validated":0},{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-09-25 17:46:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504489074792660992,"timestamp_seconds":504489074792661.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326664960001,"66":13646,"45":8902701694899249152,"85":15104,"24":24,"16":135893985016152064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326664960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902701694899249152,"description":"Unknown IO ID 45"} 
[2026-09-25 17:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135893985016152064,"km_value":135893985016152.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458326664960001,"power":13646,"unknown_45":8902701694899249152,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-09-25 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":193901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:46:05] local.INFO: GPS data processed {"connection_id":193901,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:46:05] local.INFO: Acknowledgment sent {"connection_id":193901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:46:17] local.INFO: TCP Data received {"connection_id":195221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:17] local.INFO: Processing buffer {"connection_id":195221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:17] local.INFO: IMEI packet received {"connection_id":195221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":195221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:46:22] local.INFO: TCP Data received {"connection_id":195221,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195221,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:22] local.INFO: Processing buffer {"connection_id":195221,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:46:22] local.INFO: IMEI packet received {"connection_id":195221,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":195221,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:46:25] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:25] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:25] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:46:28] local.INFO: TCP Data received {"connection_id":195222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:28] local.INFO: Processing buffer {"connection_id":195222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:28] local.INFO: IMEI packet received {"connection_id":195222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":195222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:46:29] local.INFO: TCP Data received {"connection_id":195222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:29] local.INFO: Processing buffer {"connection_id":195222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:29] local.INFO: IMEI packet received {"connection_id":195222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":195222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:46:30] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:30] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:46:30] local.INFO: IMEI packet received {"connection_id":192352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":192352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:46:30] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:46:30] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:46:30] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:30] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17: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-25 17:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:46:30] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:46:30] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:46:32] local.INFO: TCP Data received {"connection_id":195222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:32] local.INFO: Processing buffer {"connection_id":195222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:46:32] local.INFO: IMEI packet received {"connection_id":195222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":195222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:46:33] local.INFO: TCP Data received {"connection_id":195222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:33] local.INFO: Processing buffer {"connection_id":195222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e4508012d7bb04005e1c2580006004027..."} 
[2026-09-25 17:46:33] local.INFO: Packet analysis {"connection_id":195222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:33] local.INFO: Extracted packet for processing {"connection_id":195222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":98681432,"longitude_deg":76.3080768,"latitude_deg":9.8681432,"altitude":6,"angle":64,"satellites":39,"speed":24,"hex_longitude":"2d7bb040","hex_latitude":"05e1c258","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326668544001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056572835840,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135893985016152064,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338549000,"timestamp_ms":1790338549000,"timestamp_seconds":1790338549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e4508"} 
[2026-09-25 17: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-25 17:46:33] 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-25 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 17:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326668544001,"66":13646,"45":8912694056572835840,"85":15104,"24":24,"16":135893985016152064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-25 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326668544001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056572835840,"description":"Unknown IO ID 45"} 
[2026-09-25 17:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135893985016152064,"km_value":135893985016152.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":458326668544001,"power":13646,"unknown_45":8912694056572835840,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-09-25 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":195222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:46:33] local.INFO: GPS data processed {"connection_id":195222,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:46:33] local.INFO: Acknowledgment sent {"connection_id":195222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:46:37] local.INFO: TCP Data received {"connection_id":195221,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d876ea38012d0b10c007029f100011013d1b..."} 
[2026-09-25 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d876ea38012d0b10c007029f100011013d1b..."} 
[2026-09-25 17:46:37] local.INFO: Processing buffer {"connection_id":195221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d876ea38012d0b10c007029f100011013d1b..."} 
[2026-09-25 17:46:37] local.INFO: Packet analysis {"connection_id":195221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d876"} 
[2026-09-25 17:46:37] local.INFO: Extracted packet for processing {"connection_id":195221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d876"} 
[2026-09-25 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326468352001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153315328,"note":"Value kept but may cause issues"} 
[2026-09-25 17:46:37] 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-25 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790338067000,"timestamp_ms":1790338067000,"timestamp_seconds":1790338067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d876ea38"} 
[2026-09-25 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:46:37] 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-25 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-25 17:46:37] 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-25 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195221,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326468352001,"66":12765,"17":206,"94":11008,"24":0,"16":33911253587984384,"45":797137164153315328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-25 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326468352001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:46:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153315328,"description":"Unknown IO ID 45"} 
[2026-09-25 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326468352001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797137164153315328}} 
[2026-09-25 17:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":195221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:46:38] local.INFO: GPS data processed {"connection_id":195221,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:46:38] local.INFO: Acknowledgment sent {"connection_id":195221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:03] local.INFO: TCP Data received {"connection_id":192352,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:03] local.INFO: Processing buffer {"connection_id":192352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:03] local.INFO: Packet analysis {"connection_id":192352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:03] local.INFO: Extracted packet for processing {"connection_id":192352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47: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-25 17:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:47: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-25 17:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":192352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:03] local.INFO: GPS data processed {"connection_id":192352,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:03] local.INFO: Acknowledgment sent {"connection_id":192352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:04] local.INFO: TCP Data received {"connection_id":195222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f42f0012d7c54c005e1fd880006002324..."} 
[2026-09-25 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f42f0012d7c54c005e1fd880006002324..."} 
[2026-09-25 17:47:04] local.INFO: Processing buffer {"connection_id":195222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f42f0012d7c54c005e1fd880006002324..."} 
[2026-09-25 17:47:04] local.INFO: Packet analysis {"connection_id":195222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:04] local.INFO: Extracted packet for processing {"connection_id":195222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763122880,"raw_latitude":98696584,"longitude_deg":76.312288,"latitude_deg":9.8696584,"altitude":6,"angle":35,"satellites":36,"speed":27,"hex_longitude":"2d7c54c0","hex_latitude":"05e1fd88","is_valid_coordinates":true} 
[2026-09-25 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326684416001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896304298491904,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957378209129177088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338614000,"timestamp_ms":1790338614000,"timestamp_seconds":1790338614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f42f0"} 
[2026-09-25 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:47:04] 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-25 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326684416001,"66":13537,"43":206,"85":15104,"24":27,"16":135896304298491904,"45":8957378209129177088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326684416001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896304298491904,"km_value":135896304298491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957378209129177088,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326684416001,"power":13537,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8957378209129177088}} 
[2026-09-25 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":195222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:04] local.INFO: GPS data processed {"connection_id":195222,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:04] local.INFO: Acknowledgment sent {"connection_id":195222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:27] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:27] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:27] local.INFO: IMEI packet received {"connection_id":195225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":195225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:47:29] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:47:29] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:47:29] local.INFO: IMEI packet received {"connection_id":192528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":192528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:47:30] local.INFO: TCP Data received {"connection_id":195224,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:30] local.INFO: Processing buffer {"connection_id":195224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:30] local.INFO: IMEI packet received {"connection_id":195224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":195224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:47:31] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:31] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:31] local.INFO: IMEI packet received {"connection_id":195225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":195225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:47:33] local.INFO: TCP Data received {"connection_id":195223,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:33] local.INFO: Processing buffer {"connection_id":195223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:33] local.INFO: IMEI packet received {"connection_id":195223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":195223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:47:33] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:33] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:47:33] local.INFO: IMEI packet received {"connection_id":195225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":195225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:47:33] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f4ea8012d7c58c005e205700006001724..."} 
[2026-09-25 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f4ea8012d7c58c005e205700006001724..."} 
[2026-09-25 17:47:33] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f4ea8012d7c58c005e205700006001724..."} 
[2026-09-25 17:47:33] local.INFO: Packet analysis {"connection_id":195225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:33] local.INFO: Extracted packet for processing {"connection_id":195225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763123904,"raw_latitude":98698608,"longitude_deg":76.3123904,"latitude_deg":9.8698608,"altitude":6,"angle":23,"satellites":36,"speed":29,"hex_longitude":"2d7c58c0","hex_latitude":"05e20570","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326685184001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896415967641600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958996690245617664,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338617000,"timestamp_ms":1790338617000,"timestamp_seconds":1790338617,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f4ea8"} 
[2026-09-25 17: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-25 17:47:34] 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-25 17: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326685184001,"66":13374,"43":206,"85":15104,"24":29,"16":135896415967641600,"45":8958996690245617664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326685184001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896415967641600,"km_value":135896415967641.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958996690245617664,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326685184001,"power":13374,"unknown_43":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8958996690245617664}} 
[2026-09-25 17:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":195225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:34] local.INFO: GPS data processed {"connection_id":195225,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:34] local.INFO: Acknowledgment sent {"connection_id":195225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:34] local.INFO: TCP Data received {"connection_id":195223,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:34] local.INFO: Processing buffer {"connection_id":195223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:47:34] local.INFO: IMEI packet received {"connection_id":195223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":195223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:47:35] local.INFO: TCP Data received {"connection_id":195224,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:35] local.INFO: Processing buffer {"connection_id":195224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:47:35] local.INFO: IMEI packet received {"connection_id":195224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":195224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:47:35] local.INFO: TCP Data received {"connection_id":195223,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:35] local.INFO: Processing buffer {"connection_id":195223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:35] local.INFO: Packet analysis {"connection_id":195223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:47:35] local.INFO: Extracted packet for processing {"connection_id":195223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 17:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326545152001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:35] 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-25 17:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790338368000,"timestamp_ms":1790338368000,"timestamp_seconds":1790338368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b8200"} 
[2026-09-25 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-25 17:47:35] 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-25 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:35] 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-25 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-25 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-25 17:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326545152001,"66":12711,"104":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-25 17:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326545152001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:35] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-25 17:47:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326545152001,"power":12711,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":195223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:35] local.INFO: GPS data processed {"connection_id":195223,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:35] local.INFO: Acknowledgment sent {"connection_id":195223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:37] local.INFO: TCP Data received {"connection_id":195224,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:37] local.INFO: Processing buffer {"connection_id":195224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:37] local.INFO: Packet analysis {"connection_id":195224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:37] local.INFO: Extracted packet for processing {"connection_id":195224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:47: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-25 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47: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-25 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:47: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-25 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":195224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:37] local.INFO: GPS data processed {"connection_id":195224,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:37] local.INFO: Acknowledgment sent {"connection_id":195224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:38] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f5e48012d7c5dc005e20ef80006002525..."} 
[2026-09-25 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f5e48012d7c5dc005e20ef80006002525..."} 
[2026-09-25 17:47:38] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f5e48012d7c5dc005e20ef80006002525..."} 
[2026-09-25 17:47:38] local.INFO: Packet analysis {"connection_id":195225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:38] local.INFO: Extracted packet for processing {"connection_id":195225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763125184,"raw_latitude":98701048,"longitude_deg":76.3125184,"latitude_deg":9.8701048,"altitude":6,"angle":37,"satellites":37,"speed":24,"hex_longitude":"2d7c5dc0","hex_latitude":"05e20ef8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326685952001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896549111627776,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960122590152978432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790338621000,"timestamp_ms":1790338621000,"timestamp_seconds":1790338621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f5e48"} 
[2026-09-25 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-25 17:47:38] 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-25 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326685952001,"66":13406,"43":206,"85":15104,"24":24,"16":135896549111627776,"45":8960122590152978432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326685952001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:47:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896549111627776,"km_value":135896549111627.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960122590152978432,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326685952001,"power":13406,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8960122590152978432}} 
[2026-09-25 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":195225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:38] local.INFO: GPS data processed {"connection_id":195225,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:38] local.INFO: Acknowledgment sent {"connection_id":195225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:39] local.INFO: TCP Data received {"connection_id":195223,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:39] local.INFO: Processing buffer {"connection_id":195223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87b8200012d0b10c007029f100012013d1e..."} 
[2026-09-25 17:47:39] local.INFO: Packet analysis {"connection_id":195223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:47:39] local.INFO: Extracted packet for processing {"connection_id":195223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87b"} 
[2026-09-25 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326545152001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:39] 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-25 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790338368000,"timestamp_ms":1790338368000,"timestamp_seconds":1790338368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87b8200"} 
[2026-09-25 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:47:39] 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-25 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 17:47:39] 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-25 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":195223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":195223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":195223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326545152001,"66":12711,"104":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-09-25 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326545152001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-25 17:47:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326545152001,"power":12711,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":195223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:39] local.INFO: GPS data processed {"connection_id":195223,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:39] local.INFO: Acknowledgment sent {"connection_id":195223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:47:40] local.INFO: TCP Data received {"connection_id":195224,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:40] local.INFO: Processing buffer {"connection_id":195224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:47:40] local.INFO: Packet analysis {"connection_id":195224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:40] local.INFO: Extracted packet for processing {"connection_id":195224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17: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-25 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:47: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-25 17: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-25 17: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-25 17:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:47: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-25 17:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":195224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:47:40] local.INFO: GPS data processed {"connection_id":195224,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:47:40] local.INFO: Acknowledgment sent {"connection_id":195224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:48:04] local.INFO: TCP Data received {"connection_id":192353,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:48:04] local.INFO: Processing buffer {"connection_id":192353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:48:04] local.INFO: IMEI packet received {"connection_id":192353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":192353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:48:09] local.INFO: TCP Data received {"connection_id":195225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f6618012d7c610005e211d80005003a24..."} 
[2026-09-25 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f6618012d7c610005e211d80005003a24..."} 
[2026-09-25 17:48:09] local.INFO: Processing buffer {"connection_id":195225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f6618012d7c610005e211d80005003a24..."} 
[2026-09-25 17:48:09] local.INFO: Packet analysis {"connection_id":195225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:09] local.INFO: Extracted packet for processing {"connection_id":195225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763126016,"raw_latitude":98701784,"longitude_deg":76.3126016,"latitude_deg":9.8701784,"altitude":5,"angle":58,"satellites":36,"speed":22,"hex_longitude":"2d7c6100","hex_latitude":"05e211d8","is_valid_coordinates":true} 
[2026-09-25 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326686976001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896600651235328,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961529965037156352,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790338623000,"timestamp_ms":1790338623000,"timestamp_seconds":1790338623,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f6618"} 
[2026-09-25 17:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 17:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326686976001,"66":13580,"43":206,"85":15104,"24":22,"16":135896600651235328,"45":8961529965037156352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326686976001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:48:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896600651235328,"km_value":135896600651235.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961529965037156352,"description":"Unknown IO ID 45"} 
[2026-09-25 17:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326686976001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8961529965037156352}} 
[2026-09-25 17:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":195225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:48:09] local.INFO: GPS data processed {"connection_id":195225,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:48:09] local.INFO: Acknowledgment sent {"connection_id":195225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:48:22] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:22] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:22] local.INFO: IMEI packet received {"connection_id":192354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":192354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:48:24] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:24] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:24] local.INFO: IMEI packet received {"connection_id":193904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":193904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:48:27] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:27] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:27] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:48:27] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:27] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:48:27] local.INFO: IMEI packet received {"connection_id":192354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":192354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:48:29] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:48:29] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:48:29] local.INFO: Packet analysis {"connection_id":192354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:48:29] local.INFO: Extracted packet for processing {"connection_id":192354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48: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-25 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17: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-25 17:48:29] 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-25 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:48:29] 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-25 17: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-25 17: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-25 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":192354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:48:29] local.INFO: GPS data processed {"connection_id":192354,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:48:29] local.INFO: Acknowledgment sent {"connection_id":192354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:48:30] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:30] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:48:30] local.INFO: IMEI packet received {"connection_id":193904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":193904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:48:31] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:48:31] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:48:31] local.INFO: Packet analysis {"connection_id":193904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:48:31] local.INFO: Extracted packet for processing {"connection_id":193904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48: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-25 17:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:48:31] local.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-25 17:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:48: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-25 17:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:48:31] 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":896391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:48:31] local.INFO: GPS data processed {"connection_id":193904,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:48:31] local.INFO: Acknowledgment sent {"connection_id":193904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:48:32] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:48:32] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:48:32] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:48:33] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f6a00012d7c630005e212b00005004523..."} 
[2026-09-25 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f6a00012d7c630005e212b00005004523..."} 
[2026-09-25 17:48:33] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f6a00012d7c630005e212b00005004523..."} 
[2026-09-25 17:48:33] local.INFO: Packet analysis {"connection_id":192530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:33] local.INFO: Extracted packet for processing {"connection_id":192530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763126528,"raw_latitude":98702000,"longitude_deg":76.3126528,"latitude_deg":9.8702,"altitude":5,"angle":69,"satellites":35,"speed":23,"hex_longitude":"2d7c6300","hex_latitude":"05e212b0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326687488001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896630716006400,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962444758711654400,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338624000,"timestamp_ms":1790338624000,"timestamp_seconds":1790338624,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f6a00"} 
[2026-09-25 17: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-25 17:48:33] 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-25 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637196,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3632204864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789821952,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2104146397191208960,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4162846726,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4160749568,"corrected_to":0} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959363629,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294010983829077,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3434741760,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4215375718917341190,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:33] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,43,85,24,241,157,16,205,160,94,45,192,14,6,37,10,66,78,5,36,1,240,225,227,204,216,4,113,27,35,68,239,53,2,226,7,20,124,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0},{"io_id":204,"original":4160749568,"validated":0}]} 
[2026-09-25 17:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360351896484315136,"timestamp_seconds":360351896484315.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326687488001,"66":13254,"43":206,"85":15104,"24":23,"16":135896630716006400,"45":8962444758711654400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326687488001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:48:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896630716006400,"km_value":135896630716006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962444758711654400,"description":"Unknown IO ID 45"} 
[2026-09-25 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326687488001,"power":13254,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8962444758711654400}} 
[2026-09-25 17:48:33] 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":896392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:48:33] local.INFO: GPS data processed {"connection_id":192530,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:48:33] local.INFO: Acknowledgment sent {"connection_id":192530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:48:38] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f6de8012d7c658005e213100006005423..."} 
[2026-09-25 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f6de8012d7c658005e213100006005423..."} 
[2026-09-25 17:48:38] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f6de8012d7c658005e213100006005423..."} 
[2026-09-25 17:48:38] local.INFO: Packet analysis {"connection_id":192530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:38] local.INFO: Extracted packet for processing {"connection_id":192530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":763127168,"raw_latitude":98702096,"longitude_deg":76.3127168,"latitude_deg":9.8702096,"altitude":6,"angle":84,"satellites":35,"speed":23,"hex_longitude":"2d7c6580","hex_latitude":"05e21310","is_valid_coordinates":true} 
[2026-09-25 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326687744001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896656485810176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963007708665131008,"note":"Value kept but may cause issues"} 
[2026-09-25 17:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790338625000,"timestamp_ms":1790338625000,"timestamp_seconds":1790338625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f6de8"} 
[2026-09-25 17:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:48:38] 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-25 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 17:48:38] 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-25 17:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326687744001,"66":13254,"43":206,"85":15104,"24":23,"16":135896656485810176,"45":8963007708665131008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326687744001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:48:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:48:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896656485810176,"km_value":135896656485810.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963007708665131008,"description":"Unknown IO ID 45"} 
[2026-09-25 17:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326687744001,"power":13254,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8963007708665131008}} 
[2026-09-25 17:48:38] 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":896393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:48:38] local.INFO: GPS data processed {"connection_id":192530,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:48:38] local.INFO: Acknowledgment sent {"connection_id":192530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:03] local.INFO: TCP Data received {"connection_id":192354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:03] local.INFO: Processing buffer {"connection_id":192354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:03] local.INFO: Packet analysis {"connection_id":192354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:03] local.INFO: Extracted packet for processing {"connection_id":192354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:03] 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-25 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:49:03] 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-25 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:03] 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-25 17:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:49:03] local.INFO: TCP Data received {"connection_id":193904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:03] local.INFO: Processing buffer {"connection_id":193904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:03] local.INFO: Packet analysis {"connection_id":193904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:49:03] local.INFO: Extracted packet for processing {"connection_id":193904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49: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-25 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:49:03] local.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-25 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:49: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-25 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:49:03] 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":896394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:03] local.INFO: GPS data processed {"connection_id":193904,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:03] local.INFO: Acknowledgment sent {"connection_id":193904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":192354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:03] local.INFO: GPS data processed {"connection_id":192354,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:03] local.INFO: Acknowledgment sent {"connection_id":192354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:09] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87f75b8012d7c6a8005e212d80006005f24..."} 
[2026-09-25 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87f75b8012d7c6a8005e212d80006005f24..."} 
[2026-09-25 17:49:09] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87f75b8012d7c6a8005e212d80006005f24..."} 
[2026-09-25 17:49:09] local.INFO: Packet analysis {"connection_id":192530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:49:09] local.INFO: Extracted packet for processing {"connection_id":192530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87f"} 
[2026-09-25 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":763128448,"raw_latitude":98702040,"longitude_deg":76.3128448,"latitude_deg":9.870204,"altitude":6,"angle":95,"satellites":36,"speed":28,"hex_longitude":"2d7c6a80","hex_latitude":"05e212d8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326688000001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135896720910319616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963711396106932224,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790338627000,"timestamp_ms":1790338627000,"timestamp_seconds":1790338627,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87f75b8"} 
[2026-09-25 17: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-25 17:49:09] 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-25 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:09] 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-25 17: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-25 17: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-25 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326688000001,"66":13559,"43":206,"85":15104,"24":28,"16":135896720910319616,"45":8963711396106932224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326688000001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135896720910319616,"km_value":135896720910319.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963711396106932224,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326688000001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8963711396106932224}} 
[2026-09-25 17:49:09] 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":896396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:09] local.INFO: GPS data processed {"connection_id":192530,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:09] local.INFO: Acknowledgment sent {"connection_id":192530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:17] local.INFO: TCP Data received {"connection_id":195226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:17] local.INFO: Processing buffer {"connection_id":195226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:17] local.INFO: IMEI packet received {"connection_id":195226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":195226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:49:24] local.INFO: TCP Data received {"connection_id":195226,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:24] local.INFO: Processing buffer {"connection_id":195226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:49:24] local.INFO: IMEI packet received {"connection_id":195226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":195226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:49:25] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:25] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:25] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:49:26] local.INFO: TCP Data received {"connection_id":195226,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:26] local.INFO: Processing buffer {"connection_id":195226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:26] local.INFO: Packet analysis {"connection_id":195226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:26] local.INFO: Extracted packet for processing {"connection_id":195226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:26] 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-25 17:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17: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-25 17:49:26] 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-25 17:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:26] 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-25 17: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-25 17: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-25 17:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:49:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":195226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:26] local.INFO: GPS data processed {"connection_id":195226,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:26] local.INFO: Acknowledgment sent {"connection_id":195226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:27] local.INFO: TCP Data received {"connection_id":195226,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:27] local.INFO: Processing buffer {"connection_id":195226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:27] local.INFO: Packet analysis {"connection_id":195226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:27] local.INFO: Extracted packet for processing {"connection_id":195226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:27] 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-25 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17: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-25 17:49: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-25 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:27] 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-25 17: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-25 17: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-25 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":195226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:28] local.INFO: GPS data processed {"connection_id":195226,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:28] local.INFO: Acknowledgment sent {"connection_id":195226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:30] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:30] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:49:30] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:49:31] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:31] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:49:31] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:49:31] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49: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-25 17:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17: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-25 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:49: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-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:49:31] 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":896399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:31] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:31] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:32] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:32] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:32] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:49:37] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:37] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:49:37] local.INFO: IMEI packet received {"connection_id":192355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":192355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:49:38] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8813ec0012d7dce0005e1ffb00008004628..."} 
[2026-09-25 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8813ec0012d7dce0005e1ffb00008004628..."} 
[2026-09-25 17:49:38] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8813ec0012d7dce0005e1ffb00008004628..."} 
[2026-09-25 17:49:38] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:49:38] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763219456,"raw_latitude":98697136,"longitude_deg":76.3219456,"latitude_deg":9.8697136,"altitude":8,"angle":70,"satellites":40,"speed":35,"hex_longitude":"2d7dce00","hex_latitude":"05e1ffb0","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326717696001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135901101776961536,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062438744186767360,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790338744000,"timestamp_ms":1790338744000,"timestamp_seconds":1790338744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8813ec0"} 
[2026-09-25 17: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-25 17:49:38] 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-25 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326717696001,"66":13493,"43":206,"85":15104,"24":35,"16":135901101776961536,"45":9062438744186767360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-25 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326717696001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:38] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-25 17:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135901101776961536,"km_value":135901101776961.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062438744186767360,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326717696001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9062438744186767360}} 
[2026-09-25 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:38] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:38] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:39] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88169b8012d7dee8005e20e580007004628..."} 
[2026-09-25 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88169b8012d7dee8005e20e580007004628..."} 
[2026-09-25 17:49:39] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88169b8012d7dee8005e20e580007004628..."} 
[2026-09-25 17:49:39] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:49:39] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763227776,"raw_latitude":98700888,"longitude_deg":76.3227776,"latitude_deg":9.8700888,"altitude":7,"angle":70,"satellites":40,"speed":31,"hex_longitude":"2d7dee80","hex_latitude":"05e20e58","is_valid_coordinates":true} 
[2026-09-25 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326718464001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135901539863625728,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065183125209853952,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790338755000,"timestamp_ms":1790338755000,"timestamp_seconds":1790338755,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88169b8"} 
[2026-09-25 17:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:49:39] 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-25 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:39] 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-25 17:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326718464001,"66":13374,"198":206,"85":15104,"24":31,"16":135901539863625728,"45":9065183125209853952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-25 17:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326718464001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:39] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 17:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135901539863625728,"km_value":135901539863625.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065183125209853952,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326718464001,"power":13374,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9065183125209853952}} 
[2026-09-25 17:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:39] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:39] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:56] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:49:56] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:49:56] local.INFO: IMEI packet received {"connection_id":192532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":192532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:49:57] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8808ef8012d19b800071f46100046014c2a..."} 
[2026-09-25 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8808ef8012d19b800071f46100046014c2a..."} 
[2026-09-25 17:49:57] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8808ef8012d19b800071f46100046014c2a..."} 
[2026-09-25 17:49:57] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:57] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119490064,"longitude_deg":75.6660224,"latitude_deg":11.9490064,"altitude":70,"angle":332,"satellites":42,"speed":6,"hex_longitude":"2d19b800","hex_latitude":"071f4610","is_valid_coordinates":true} 
[2026-09-25 17:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326703872001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23022098448384000,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383484887040,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49: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-25 17:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790338699000,"timestamp_ms":1790338699000,"timestamp_seconds":1790338699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8808ef8"} 
[2026-09-25 17:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326703872001,"66":13863,"101":206,"83":41984,"24":6,"16":23022098448384000,"45":1853442383484887040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 17:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326703872001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 17:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23022098448384000,"km_value":23022098448384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383484887040,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326703872001,"power":13863,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1853442383484887040}} 
[2026-09-25 17:49:57] 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":896402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:57] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:57] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:49:59] local.INFO: TCP Data received {"connection_id":195226,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:59] local.INFO: Processing buffer {"connection_id":195226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:49:59] local.INFO: Packet analysis {"connection_id":195226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:59] local.INFO: Extracted packet for processing {"connection_id":195226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:49:59] 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-25 17:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:49:59] 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-25 17:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:49:59] 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-25 17:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:49:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":195226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:49:59] local.INFO: GPS data processed {"connection_id":195226,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:49:59] local.INFO: Acknowledgment sent {"connection_id":195226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:04] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:04] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:04] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:50:04] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50: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-25 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:50: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-25 17:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:50: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-25 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:50: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-25 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:50:04] 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":896404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:04] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:04] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:10] local.INFO: TCP Data received {"connection_id":192355,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88188f8012d7e004005e214700006005227..."} 
[2026-09-25 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88188f8012d7e004005e214700006005227..."} 
[2026-09-25 17:50:10] local.INFO: Processing buffer {"connection_id":192355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88188f8012d7e004005e214700006005227..."} 
[2026-09-25 17:50:10] local.INFO: Packet analysis {"connection_id":192355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:50:10] local.INFO: Extracted packet for processing {"connection_id":192355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d881"} 
[2026-09-25 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763232320,"raw_latitude":98702448,"longitude_deg":76.323232,"latitude_deg":9.8702448,"altitude":6,"angle":82,"satellites":39,"speed":14,"hex_longitude":"2d7e0040","hex_latitude":"05e21470","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326721280001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135901771791859712,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074331061953910784,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790338763000,"timestamp_ms":1790338763000,"timestamp_seconds":1790338763,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88188f8"} 
[2026-09-25 17: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-25 17:50:10] 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-25 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326721280001,"66":13450,"198":206,"85":15104,"24":14,"16":135901771791859712,"45":9074331061953910784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-25 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326721280001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:10] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 17:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135901771791859712,"km_value":135901771791859.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074331061953910784,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326721280001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9074331061953910784}} 
[2026-09-25 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":192355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:10] local.INFO: GPS data processed {"connection_id":192355,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:10] local.INFO: Acknowledgment sent {"connection_id":192355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:23] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:23] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:23] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:50:24] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:24] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:24] local.INFO: IMEI packet received {"connection_id":193907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":193907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:50:27] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:27] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:27] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:28] local.INFO: TCP Data received {"connection_id":195227,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:28] local.INFO: Processing buffer {"connection_id":195227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:28] local.INFO: IMEI packet received {"connection_id":195227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":195227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:50:28] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:28] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:50:28] local.INFO: IMEI packet received {"connection_id":192357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":192357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:29] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88096c8012d19b780071f48000046015c2a..."} 
[2026-09-25 17:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88096c8012d19b780071f48000046015c2a..."} 
[2026-09-25 17:50:29] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88096c8012d19b780071f48000046015c2a..."} 
[2026-09-25 17:50:29] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:29] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119490560,"longitude_deg":75.6660096,"latitude_deg":11.949056,"altitude":70,"angle":348,"satellites":42,"speed":14,"hex_longitude":"2d19b780","hex_latitude":"071f4800","is_valid_coordinates":true} 
[2026-09-25 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326706944001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23022124218187776,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277252415488,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:29] 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-25 17:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790338701000,"timestamp_ms":1790338701000,"timestamp_seconds":1790338701,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88096c8"} 
[2026-09-25 17:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:50:29] 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-25 17:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:29] 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-25 17:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326706944001,"66":13656,"101":206,"83":41984,"24":14,"16":23022124218187776,"45":1853231277252415488},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-25 17:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326706944001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23022124218187776,"km_value":23022124218187.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277252415488,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326706944001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1853231277252415488}} 
[2026-09-25 17:50:29] 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":896406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:29] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:29] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:30] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88263b8012d7e290005e1bed8000600c428..."} 
[2026-09-25 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88263b8012d7e290005e1bed8000600c428..."} 
[2026-09-25 17:50:30] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88263b8012d7e290005e1bed8000600c428..."} 
[2026-09-25 17:50:30] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:50:30] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763242752,"raw_latitude":98680536,"longitude_deg":76.3242752,"latitude_deg":9.8680536,"altitude":6,"angle":196,"satellites":40,"speed":33,"hex_longitude":"2d7e2900","hex_latitude":"05e1bed8","is_valid_coordinates":true} 
[2026-09-25 17:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326736384001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135903275030413312,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091360298040725504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790338819000,"timestamp_ms":1790338819000,"timestamp_seconds":1790338819,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88263b8"} 
[2026-09-25 17:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:30] 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-25 17:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326736384001,"66":13428,"198":206,"85":15104,"24":33,"16":135903275030413312,"45":9091360298040725504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-25 17:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326736384001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 17:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135903275030413312,"km_value":135903275030413.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091360298040725504,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326736384001,"power":13428,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9091360298040725504}} 
[2026-09-25 17:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:30] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:30] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:30] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:30] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:50:30] local.INFO: IMEI packet received {"connection_id":193907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:31] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:31] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:50:31] local.INFO: Packet analysis {"connection_id":193907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:50:31] local.INFO: Extracted packet for processing {"connection_id":193907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50: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-25 17:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:50: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-25 17:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:50:31] 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":896408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:31] local.INFO: GPS data processed {"connection_id":193907,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:31] local.INFO: Acknowledgment sent {"connection_id":193907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:34] local.INFO: TCP Data received {"connection_id":195227,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:34] local.INFO: Processing buffer {"connection_id":195227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:50:34] local.INFO: IMEI packet received {"connection_id":195227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":195227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:41] local.INFO: TCP Data received {"connection_id":195227,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:41] local.INFO: Processing buffer {"connection_id":195227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:41] local.INFO: Packet analysis {"connection_id":195227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:41] local.INFO: Extracted packet for processing {"connection_id":195227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:41] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 17:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:41] 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-25 17:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 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-25 17:50: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-25 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:41] 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-25 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-25 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-25 17:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:50:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":195227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:41] local.INFO: GPS data processed {"connection_id":195227,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:41] local.INFO: Acknowledgment sent {"connection_id":195227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:42] local.INFO: TCP Data received {"connection_id":195227,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:42] local.INFO: Processing buffer {"connection_id":195227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:50:42] local.INFO: Packet analysis {"connection_id":195227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:42] local.INFO: Extracted packet for processing {"connection_id":195227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:50: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-25 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17: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-25 17:50:42] 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-25 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:50:42] 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-25 17: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-25 17: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-25 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:50:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:50:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":195227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896410,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:50:42] local.INFO: GPS data processed {"connection_id":195227,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:50:42] local.INFO: Acknowledgment sent {"connection_id":195227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:50:51] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:51] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:51] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:50:52] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:52] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:52] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:54] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:50:54] local.INFO: TCP Data received {"connection_id":192533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: Processing buffer {"connection_id":192533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:50:54] local.INFO: IMEI packet received {"connection_id":192533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":192533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:51:01] local.INFO: TCP Data received {"connection_id":192357,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8826f70012d7e250005e1b638000700d328..."} 
[2026-09-25 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8826f70012d7e250005e1b638000700d328..."} 
[2026-09-25 17:51:01] local.INFO: Processing buffer {"connection_id":192357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8826f70012d7e250005e1b638000700d328..."} 
[2026-09-25 17:51:01] local.INFO: Packet analysis {"connection_id":192357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:01] local.INFO: Extracted packet for processing {"connection_id":192357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763241728,"raw_latitude":98678328,"longitude_deg":76.3241728,"latitude_deg":9.8678328,"altitude":7,"angle":211,"satellites":40,"speed":31,"hex_longitude":"2d7e2500","hex_latitude":"05e1b638","is_valid_coordinates":true} 
[2026-09-25 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326737664001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135903390994530304,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090797348086274048,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790338822000,"timestamp_ms":1790338822000,"timestamp_seconds":1790338822,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8826f70"} 
[2026-09-25 17:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326737664001,"66":13374,"198":206,"85":15104,"24":31,"16":135903390994530304,"45":9090797348086274048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-25 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326737664001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135903390994530304,"km_value":135903390994530.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090797348086274048,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326737664001,"power":13374,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9090797348086274048}} 
[2026-09-25 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":192357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:01] local.INFO: GPS data processed {"connection_id":192357,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:01] local.INFO: Acknowledgment sent {"connection_id":192357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:03] local.INFO: TCP Data received {"connection_id":193907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:51:03] local.INFO: Processing buffer {"connection_id":193907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d87e1240012d34c14006aa4908000a006e2c..."} 
[2026-09-25 17:51:03] local.INFO: Packet analysis {"connection_id":193907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:51:03] local.INFO: Extracted packet for processing {"connection_id":193907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d87e"} 
[2026-09-25 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326588160001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51: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-25 17:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338536000,"timestamp_ms":1790338536000,"timestamp_seconds":1790338536,"priority":1,"record_length":96,"hex_timestamp":"000001a0d87e1240"} 
[2026-09-25 17:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326588160001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326588160001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:51: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-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326588160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:51:03] 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":896412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:03] local.INFO: GPS data processed {"connection_id":193907,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:03] local.INFO: Acknowledgment sent {"connection_id":193907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:17] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:17] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:17] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:51:22] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:22] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:51:22] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:51:23] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:23] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:23] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:23] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 17:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:23] 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-25 17:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 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-25 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:23] 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-25 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-25 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-25 17:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:51:24] 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":896413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:24] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:24] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:25] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:25] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:25] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:51:27] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:27] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:27] local.INFO: IMEI packet received {"connection_id":192360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":192360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:51:28] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:28] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:28] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:28] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:28] 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-25 17:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17: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-25 17:51:28] 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-25 17: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:28] 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-25 17: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-25 17: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-25 17:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:51:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:51:28] 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":896414,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:28] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:28] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:30] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:30] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:51:30] local.INFO: IMEI packet received {"connection_id":192359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":192359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:51:31] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:51:31] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:51:31] local.INFO: Packet analysis {"connection_id":192359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:31] local.INFO: Extracted packet for processing {"connection_id":192359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51: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-25 17:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:51:31] local.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-25 17:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:51: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-25 17:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:51:31] 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":896415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:31] local.INFO: GPS data processed {"connection_id":192359,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:31] local.INFO: Acknowledgment sent {"connection_id":192359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:32] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:32] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:51:32] local.INFO: IMEI packet received {"connection_id":192360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":192360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:51:33] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88282f8012d7e1d0005e1a8b8000700c729..."} 
[2026-09-25 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88282f8012d7e1d0005e1a8b8000700c729..."} 
[2026-09-25 17:51:33] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88282f8012d7e1d0005e1a8b8000700c729..."} 
[2026-09-25 17:51:33] local.INFO: Packet analysis {"connection_id":192360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:33] local.INFO: Extracted packet for processing {"connection_id":192360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:51:33] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":98674872,"longitude_deg":76.323968,"latitude_deg":9.8674872,"altitude":7,"angle":199,"satellites":41,"speed":33,"hex_longitude":"2d7e1d00","hex_latitude":"05e1a8b8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326738432001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135903588563025920,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089671448178866176,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338827000,"timestamp_ms":1790338827000,"timestamp_seconds":1790338827,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88282f8"} 
[2026-09-25 17: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-25 17:51:33] 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-25 17: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326738432001,"66":13602,"198":206,"85":15104,"24":33,"16":135903588563025920,"45":9089671448178866176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-25 17:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326738432001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-25 17:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135903588563025920,"km_value":135903588563025.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089671448178866176,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326738432001,"power":13602,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9089671448178866176}} 
[2026-09-25 17:51:33] 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":896416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:33] local.INFO: GPS data processed {"connection_id":192360,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:33] local.INFO: Acknowledgment sent {"connection_id":192360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:51:59] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:59] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:51:59] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:59] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:51:59] 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-25 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:51:59] 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-25 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:51:59] 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-25 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:51:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:51:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:51:59] 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":896417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:51:59] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:51:59] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:52:04] local.INFO: TCP Data received {"connection_id":192359,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:04] local.INFO: Processing buffer {"connection_id":192359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:04] local.INFO: Packet analysis {"connection_id":192359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:52:04] local.INFO: Extracted packet for processing {"connection_id":192359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17: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-25 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17: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-25 17: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-25 17: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-25 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:52: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-25 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:52:04] 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":896418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:52:04] local.INFO: GPS data processed {"connection_id":192359,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:52:04] local.INFO: Acknowledgment sent {"connection_id":192359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:52:04] local.INFO: TCP Data received {"connection_id":192360,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d883d2e8012d7e2f4005e0ae580003008b28..."} 
[2026-09-25 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d883d2e8012d7e2f4005e0ae580003008b28..."} 
[2026-09-25 17:52:04] local.INFO: Processing buffer {"connection_id":192360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d883d2e8012d7e2f4005e0ae580003008b28..."} 
[2026-09-25 17:52:04] local.INFO: Packet analysis {"connection_id":192360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:52:04] local.INFO: Extracted packet for processing {"connection_id":192360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763244352,"raw_latitude":98610776,"longitude_deg":76.3244352,"latitude_deg":9.8610776,"altitude":3,"angle":139,"satellites":40,"speed":30,"hex_longitude":"2d7e2f40","hex_latitude":"05e0ae58","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326759424001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135906942932484096,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086153010953658368,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338913000,"timestamp_ms":1790338913000,"timestamp_seconds":1790338913,"priority":1,"record_length":96,"hex_timestamp":"000001a0d883d2e8"} 
[2026-09-25 17: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-25 17:52:04] 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-25 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 17:52:04] 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-25 17: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-25 17: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-25 17:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326759424001,"66":13656,"105":206,"85":15104,"24":30,"16":135906942932484096,"45":9086153010953658368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 17:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326759424001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135906942932484096,"km_value":135906942932484.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086153010953658368,"description":"Unknown IO ID 45"} 
[2026-09-25 17:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326759424001,"power":13656,"unknown_105":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9086153010953658368}} 
[2026-09-25 17:52:04] 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":896419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:52:04] local.INFO: GPS data processed {"connection_id":192360,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:52:04] local.INFO: Acknowledgment sent {"connection_id":192360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:52:22] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:22] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:22] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:52:25] local.INFO: TCP Data received {"connection_id":193909,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:25] local.INFO: Processing buffer {"connection_id":193909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:25] local.INFO: IMEI packet received {"connection_id":193909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":193909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:52:27] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:27] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:52:27] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:52:27] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:27] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:27] local.INFO: IMEI packet received {"connection_id":193910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":193910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:52:28] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:52:28] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88019c8012d0b10c007029f100014013d20..."} 
[2026-09-25 17:52:28] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:52:28] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d880"} 
[2026-09-25 17:52:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:52: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-25 17:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326622208001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:28] 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-25 17:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790338669000,"timestamp_ms":1790338669000,"timestamp_seconds":1790338669,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88019c8"} 
[2026-09-25 17:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:52:28] 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-25 17:52: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":167,"data_length":795,"current_offset":136} 
[2026-09-25 17:52:28] 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-25 17:52: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-25 17:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326622208001,"66":12722,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326622208001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:52:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:52:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326622208001,"power":12722,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:52:28] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:28] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:28] local.INFO: IMEI packet received {"connection_id":193910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":193910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:52:28] 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":896420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:52:28] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:52:28] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:52:30] local.INFO: TCP Data received {"connection_id":193909,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:30] local.INFO: Processing buffer {"connection_id":193909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:52:30] local.INFO: IMEI packet received {"connection_id":193909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":193909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:52:31] local.INFO: TCP Data received {"connection_id":193909,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:31] local.INFO: Processing buffer {"connection_id":193909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:52:31] local.INFO: Packet analysis {"connection_id":193909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:52:31] local.INFO: Extracted packet for processing {"connection_id":193909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52: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-25 17:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:52: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-25 17:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":193909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:52:31] local.INFO: GPS data processed {"connection_id":193909,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:52:31] local.INFO: Acknowledgment sent {"connection_id":193909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:52:32] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:32] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:52:32] local.INFO: IMEI packet received {"connection_id":193910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":193910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:52:33] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d883dab8012d7e320005e0a9500003009e28..."} 
[2026-09-25 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d883dab8012d7e320005e0a9500003009e28..."} 
[2026-09-25 17:52:33] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d883dab8012d7e320005e0a9500003009e28..."} 
[2026-09-25 17:52:33] local.INFO: Packet analysis {"connection_id":193910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:52:33] local.INFO: Extracted packet for processing {"connection_id":193910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763245056,"raw_latitude":98609488,"longitude_deg":76.3245056,"latitude_deg":9.8609488,"altitude":3,"angle":158,"satellites":40,"speed":29,"hex_longitude":"2d7e3200","hex_latitude":"05e0a950","is_valid_coordinates":true} 
[2026-09-25 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-25 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326761728001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135907015946928128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566672857088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338915000,"timestamp_ms":1790338915000,"timestamp_seconds":1790338915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d883dab8"} 
[2026-09-25 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-25 17:52:33] 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-25 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 17:52:33] 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-25 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-25 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-25 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326761728001,"66":12982,"105":206,"85":15104,"24":29,"16":135907015946928128,"45":9092556566672857088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326761728001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:52:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135907015946928128,"km_value":135907015946928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566672857088,"description":"Unknown IO ID 45"} 
[2026-09-25 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326761728001,"power":12982,"unknown_105":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9092556566672857088}} 
[2026-09-25 17:52:33] 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":896422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:52:33] local.INFO: GPS data processed {"connection_id":193910,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:52:33] local.INFO: Acknowledgment sent {"connection_id":193910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:00] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:00] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:00] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:00] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:00] 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-25 17:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17: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-25 17:53:00] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:53: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-25 17: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-25 17: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-25 17:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:53:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:53:00] 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":896423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:00] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:00] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:04] local.INFO: TCP Data received {"connection_id":193910,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d883e288012d7e334005e0a388000300ac28..."} 
[2026-09-25 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d883e288012d7e334005e0a388000300ac28..."} 
[2026-09-25 17:53:04] local.INFO: Processing buffer {"connection_id":193910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d883e288012d7e334005e0a388000300ac28..."} 
[2026-09-25 17:53:04] local.INFO: Packet analysis {"connection_id":193910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:53:04] local.INFO: Extracted packet for processing {"connection_id":193910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d883"} 
[2026-09-25 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763245376,"raw_latitude":98608008,"longitude_deg":76.3245376,"latitude_deg":9.8608008,"altitude":3,"angle":172,"satellites":40,"speed":29,"hex_longitude":"2d7e3340","hex_latitude":"05e0a388","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326762240001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135907088961372160,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093330622858481664,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338917000,"timestamp_ms":1790338917000,"timestamp_seconds":1790338917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d883e288"} 
[2026-09-25 17: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-25 17:53:04] 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-25 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-25 17:53:04] 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-25 17: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-25 17: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-25 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326762240001,"66":12982,"105":206,"85":15104,"24":29,"16":135907088961372160,"45":9093330622858481664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326762240001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135907088961372160,"km_value":135907088961372.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093330622858481664,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326762240001,"power":12982,"unknown_105":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9093330622858481664}} 
[2026-09-25 17:53:04] 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":896424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:04] local.INFO: GPS data processed {"connection_id":193910,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:04] local.INFO: Acknowledgment sent {"connection_id":193910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:04] local.INFO: TCP Data received {"connection_id":193909,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:04] local.INFO: Processing buffer {"connection_id":193909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:04] local.INFO: Packet analysis {"connection_id":193909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:53:04] local.INFO: Extracted packet for processing {"connection_id":193909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17: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-25 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:53: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-25 17: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-25 17: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-25 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:53: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-25 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":193909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:04] local.INFO: GPS data processed {"connection_id":193909,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:04] local.INFO: Acknowledgment sent {"connection_id":193909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:17] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:17] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:17] local.INFO: IMEI packet received {"connection_id":192361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":192361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:53:22] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:22] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:53:22] local.INFO: IMEI packet received {"connection_id":192361,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":192361,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:53:23] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:23] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:53:23] local.INFO: Packet analysis {"connection_id":192361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:23] local.INFO: Extracted packet for processing {"connection_id":192361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:23] 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-25 17:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:53: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-25 17:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:53:23] 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":896426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:23] local.INFO: GPS data processed {"connection_id":192361,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:23] local.INFO: Acknowledgment sent {"connection_id":192361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:24] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:24] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:24] local.INFO: IMEI packet received {"connection_id":192362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":192362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:53:28] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:28] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:28] local.INFO: IMEI packet received {"connection_id":193912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":193912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:53:29] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:29] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:29] local.INFO: IMEI packet received {"connection_id":193912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":193912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:53:30] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:30] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:53:30] local.INFO: IMEI packet received {"connection_id":192362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":192362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:53:31] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:31] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:53:31] local.INFO: Packet analysis {"connection_id":192362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:53:31] local.INFO: Extracted packet for processing {"connection_id":192362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53: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-25 17:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:53:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:53: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-25 17:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:53:31] 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":896427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:31] local.INFO: GPS data processed {"connection_id":192362,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:31] local.INFO: Acknowledgment sent {"connection_id":192362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:32] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:32] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:53:32] local.INFO: IMEI packet received {"connection_id":193912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":193912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:53:33] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8840998012d7e3a8005e08090000400a229..."} 
[2026-09-25 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8840998012d7e3a8005e08090000400a229..."} 
[2026-09-25 17:53:33] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8840998012d7e3a8005e08090000400a229..."} 
[2026-09-25 17:53:33] local.INFO: Packet analysis {"connection_id":193912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:33] local.INFO: Extracted packet for processing {"connection_id":193912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":98599056,"longitude_deg":76.3247232,"latitude_deg":9.8599056,"altitude":4,"angle":162,"satellites":41,"speed":36,"hex_longitude":"2d7e3a80","hex_latitude":"05e08090","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326762752001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135907531343003648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093682466578991104,"note":"Value kept but may cause issues"} 
[2026-09-25 17:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338927000,"timestamp_ms":1790338927000,"timestamp_seconds":1790338927,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8840998"} 
[2026-09-25 17: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-25 17:53:33] 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-25 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-25 17:53:33] 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-25 17: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-25 17: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-25 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326762752001,"66":13602,"105":206,"85":15104,"24":36,"16":135907531343003648,"45":9093682466578991104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326762752001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:53:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135907531343003648,"km_value":135907531343003.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093682466578991104,"description":"Unknown IO ID 45"} 
[2026-09-25 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326762752001,"power":13602,"unknown_105":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9093682466578991104}} 
[2026-09-25 17:53:33] 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":896428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:53:33] local.INFO: GPS data processed {"connection_id":193912,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:53:33] local.INFO: Acknowledgment sent {"connection_id":193912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:53:34] local.INFO: TCP Data received {"connection_id":193911,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:53:34] local.INFO: Processing buffer {"connection_id":193911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:53:34] local.INFO: IMEI packet received {"connection_id":193911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":193911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:54:02] local.INFO: TCP Data received {"connection_id":192362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:02] local.INFO: Processing buffer {"connection_id":192362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:02] local.INFO: Packet analysis {"connection_id":192362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:54:02] local.INFO: Extracted packet for processing {"connection_id":192362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54: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-25 17:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:54: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-25 17:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:54:02] 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":896429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:02] local.INFO: GPS data processed {"connection_id":192362,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:02] local.INFO: Acknowledgment sent {"connection_id":192362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:54:03] local.INFO: TCP Data received {"connection_id":192363,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:54:03] local.INFO: Processing buffer {"connection_id":192363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:54:03] local.INFO: IMEI packet received {"connection_id":192363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":192363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:54:04] local.INFO: TCP Data received {"connection_id":193912,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8841d20012d7e3e0005e06d00000500ae27..."} 
[2026-09-25 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8841d20012d7e3e0005e06d00000500ae27..."} 
[2026-09-25 17:54:04] local.INFO: Processing buffer {"connection_id":193912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8841d20012d7e3e0005e06d00000500ae27..."} 
[2026-09-25 17:54:04] local.INFO: Packet analysis {"connection_id":193912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:54:04] local.INFO: Extracted packet for processing {"connection_id":193912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763248128,"raw_latitude":98594048,"longitude_deg":76.3248128,"latitude_deg":9.8594048,"altitude":5,"angle":174,"satellites":39,"speed":44,"hex_longitude":"2d7e3e00","hex_latitude":"05e06d00","is_valid_coordinates":true} 
[2026-09-25 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326765312001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135907780451106816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723160157851648,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790338932000,"timestamp_ms":1790338932000,"timestamp_seconds":1790338932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8841d20"} 
[2026-09-25 17:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:54:04] 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-25 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:04] 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-25 17:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326765312001,"66":13222,"105":206,"85":15104,"24":44,"16":135907780451106816,"45":9095723160157851648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-25 17:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326765312001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135907780451106816,"km_value":135907780451106.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723160157851648,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326765312001,"power":13222,"unknown_105":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9095723160157851648}} 
[2026-09-25 17:54:04] 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":896430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:04] local.INFO: GPS data processed {"connection_id":193912,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:04] local.INFO: Acknowledgment sent {"connection_id":193912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:54:24] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:24] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:24] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:54:28] local.INFO: TCP Data received {"connection_id":192361,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:54:28] local.INFO: Processing buffer {"connection_id":192361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:54:28] local.INFO: Packet analysis {"connection_id":192361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:54:28] local.INFO: Extracted packet for processing {"connection_id":192361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:54:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:28] 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-25 17:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:54:28] 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-25 17:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:28] 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-25 17:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192361,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:54:28] 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":896431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:28] local.INFO: GPS data processed {"connection_id":192361,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:28] local.INFO: Acknowledgment sent {"connection_id":192361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:54:30] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:30] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:54:30] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:54:31] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:31] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:54:31] local.INFO: Packet analysis {"connection_id":192538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:54:31] local.INFO: Extracted packet for processing {"connection_id":192538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54: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-25 17:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:54: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-25 17:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":192538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:31] local.INFO: GPS data processed {"connection_id":192538,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:31] local.INFO: Acknowledgment sent {"connection_id":192538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:54:32] local.INFO: TCP Data received {"connection_id":195229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:32] local.INFO: Processing buffer {"connection_id":195229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:32] local.INFO: IMEI packet received {"connection_id":195229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":195229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:54:37] local.INFO: TCP Data received {"connection_id":195229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:37] local.INFO: Processing buffer {"connection_id":195229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:54:37] local.INFO: IMEI packet received {"connection_id":195229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":195229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:54:38] local.INFO: TCP Data received {"connection_id":195229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d885ceb8012d7ea40005df1f480006009629..."} 
[2026-09-25 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d885ceb8012d7ea40005df1f480006009629..."} 
[2026-09-25 17:54:38] local.INFO: Processing buffer {"connection_id":195229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d885ceb8012d7ea40005df1f480006009629..."} 
[2026-09-25 17:54:38] local.INFO: Packet analysis {"connection_id":195229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d885"} 
[2026-09-25 17:54:38] local.INFO: Extracted packet for processing {"connection_id":195229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d885"} 
[2026-09-25 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763274240,"raw_latitude":98508616,"longitude_deg":76.327424,"latitude_deg":9.8508616,"altitude":6,"angle":150,"satellites":41,"speed":15,"hex_longitude":"2d7ea400","hex_latitude":"05df1f48","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326791168001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135912126958010368,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121196645529102336,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790339043000,"timestamp_ms":1790339043000,"timestamp_seconds":1790339043,"priority":1,"record_length":96,"hex_timestamp":"000001a0d885ceb8"} 
[2026-09-25 17: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-25 17:54:38] 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-25 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326791168001,"66":13363,"207":206,"85":15104,"24":15,"16":135912126958010368,"45":9121196645529102336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326791168001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135912126958010368,"km_value":135912126958010.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121196645529102336,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326791168001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9121196645529102336}} 
[2026-09-25 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":195229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:38] local.INFO: GPS data processed {"connection_id":195229,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:38] local.INFO: Acknowledgment sent {"connection_id":195229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:54:38] local.INFO: TCP Data received {"connection_id":195229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d885fd98012d7eaf4005df0f380007008a27..."} 
[2026-09-25 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d885fd98012d7eaf4005df0f380007008a27..."} 
[2026-09-25 17:54:38] local.INFO: Processing buffer {"connection_id":195229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d885fd98012d7eaf4005df0f380007008a27..."} 
[2026-09-25 17:54:38] local.INFO: Packet analysis {"connection_id":195229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d885"} 
[2026-09-25 17:54:38] local.INFO: Extracted packet for processing {"connection_id":195229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d885"} 
[2026-09-25 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763277120,"raw_latitude":98504504,"longitude_deg":76.327712,"latitude_deg":9.8504504,"altitude":7,"angle":138,"satellites":39,"speed":21,"hex_longitude":"2d7eaf40","hex_latitude":"05df0f38","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326795008001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135912371771146240,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418770177673216,"note":"Value kept but may cause issues"} 
[2026-09-25 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790339055000,"timestamp_ms":1790339055000,"timestamp_seconds":1790339055,"priority":1,"record_length":96,"hex_timestamp":"000001a0d885fd98"} 
[2026-09-25 17: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-25 17:54:38] 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-25 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 17:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326795008001,"66":13450,"207":206,"85":15104,"24":21,"16":135912371771146240,"45":9125418770177673216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326795008001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135912371771146240,"km_value":135912371771146.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418770177673216,"description":"Unknown IO ID 45"} 
[2026-09-25 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326795008001,"power":13450,"unknown_207":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9125418770177673216}} 
[2026-09-25 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":195229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:54:38] local.INFO: GPS data processed {"connection_id":195229,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:54:38] local.INFO: Acknowledgment sent {"connection_id":195229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:03] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:03] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:03] local.INFO: Packet analysis {"connection_id":192538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:55:03] local.INFO: Extracted packet for processing {"connection_id":192538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55: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-25 17:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:55: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-25 17:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":192538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:03] local.INFO: GPS data processed {"connection_id":192538,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:03] local.INFO: Acknowledgment sent {"connection_id":192538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:09] local.INFO: TCP Data received {"connection_id":195229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8864bb8012d7ec54005def6380006008d28..."} 
[2026-09-25 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8864bb8012d7ec54005def6380006008d28..."} 
[2026-09-25 17:55:09] local.INFO: Processing buffer {"connection_id":195229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8864bb8012d7ec54005def6380006008d28..."} 
[2026-09-25 17:55:09] local.INFO: Packet analysis {"connection_id":195229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:09] local.INFO: Extracted packet for processing {"connection_id":195229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763282752,"raw_latitude":98498104,"longitude_deg":76.3282752,"latitude_deg":9.8498104,"altitude":6,"angle":141,"satellites":40,"speed":28,"hex_longitude":"2d7ec540","hex_latitude":"05def638","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326798080001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135912784088006656,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128585363664615424,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790339075000,"timestamp_ms":1790339075000,"timestamp_seconds":1790339075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8864bb8"} 
[2026-09-25 17: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-25 17:55:09] 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-25 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:09] 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-25 17: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-25 17: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-25 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326798080001,"66":13559,"207":206,"85":15104,"24":28,"16":135912784088006656,"45":9128585363664615424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-25 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326798080001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-25 17:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135912784088006656,"km_value":135912784088006.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128585363664615424,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326798080001,"power":13559,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9128585363664615424}} 
[2026-09-25 17:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":195229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:10] local.INFO: GPS data processed {"connection_id":195229,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:10] local.INFO: Acknowledgment sent {"connection_id":195229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:24] local.INFO: TCP Data received {"connection_id":195232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:24] local.INFO: Processing buffer {"connection_id":195232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:24] local.INFO: IMEI packet received {"connection_id":195232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":195232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:55:27] local.INFO: TCP Data received {"connection_id":195230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: Processing buffer {"connection_id":195230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: IMEI packet received {"connection_id":195230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":195230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:55:27] local.INFO: TCP Data received {"connection_id":195230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: Processing buffer {"connection_id":195230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:27] local.INFO: IMEI packet received {"connection_id":195230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":195230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:55:27] local.INFO: TCP Data received {"connection_id":195231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:27] local.INFO: Processing buffer {"connection_id":195231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:27] local.INFO: IMEI packet received {"connection_id":195231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":195231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:55:30] local.INFO: TCP Data received {"connection_id":195232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:30] local.INFO: Processing buffer {"connection_id":195232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:55:30] local.INFO: IMEI packet received {"connection_id":195232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":195232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:55:31] local.INFO: TCP Data received {"connection_id":195232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:31] local.INFO: Processing buffer {"connection_id":195232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:55:31] local.INFO: Packet analysis {"connection_id":195232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:55:31] local.INFO: Extracted packet for processing {"connection_id":195232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55: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-25 17:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17: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-25 17:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:55: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-25 17:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":195232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:31] local.INFO: GPS data processed {"connection_id":195232,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:31] local.INFO: Acknowledgment sent {"connection_id":195232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:32] local.INFO: TCP Data received {"connection_id":195231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:32] local.INFO: Processing buffer {"connection_id":195231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:55:32] local.INFO: IMEI packet received {"connection_id":195231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":195231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:55:32] local.INFO: TCP Data received {"connection_id":195230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:32] local.INFO: Processing buffer {"connection_id":195230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:55:32] local.INFO: IMEI packet received {"connection_id":195230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":195230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:55:33] local.INFO: TCP Data received {"connection_id":195231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:55:33] local.INFO: Processing buffer {"connection_id":195231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:55:33] local.INFO: Packet analysis {"connection_id":195231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:55:33] local.INFO: Extracted packet for processing {"connection_id":195231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:55:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:33] 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-25 17:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17: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-25 17:55:33] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:33] 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-25 17: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-25 17: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-25 17:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:55:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":195231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896438,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:33] local.INFO: GPS data processed {"connection_id":195231,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:33] local.INFO: Acknowledgment sent {"connection_id":195231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:34] local.INFO: TCP Data received {"connection_id":195230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8865770012d7ec98005def0000006009829..."} 
[2026-09-25 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8865770012d7ec98005def0000006009829..."} 
[2026-09-25 17:55:34] local.INFO: Processing buffer {"connection_id":195230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8865770012d7ec98005def0000006009829..."} 
[2026-09-25 17:55:34] local.INFO: Packet analysis {"connection_id":195230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:34] local.INFO: Extracted packet for processing {"connection_id":195230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763283840,"raw_latitude":98496512,"longitude_deg":76.328384,"latitude_deg":9.8496512,"altitude":6,"angle":152,"satellites":41,"speed":25,"hex_longitude":"2d7ec980","hex_latitude":"05def000","is_valid_coordinates":true} 
[2026-09-25 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326803200001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135912874282319872,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134777813150611456,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790339078000,"timestamp_ms":1790339078000,"timestamp_seconds":1790339078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8865770"} 
[2026-09-25 17:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:55:34] 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-25 17:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:34] 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-25 17:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326803200001,"66":13580,"206":206,"85":15104,"24":25,"16":135912874282319872,"45":9134777813150611456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-25 17:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326803200001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135912874282319872,"km_value":135912874282319.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134777813150611456,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326803200001,"power":13580,"unknown_206":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9134777813150611456}} 
[2026-09-25 17:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":195230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:34] local.INFO: GPS data processed {"connection_id":195230,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:34] local.INFO: Acknowledgment sent {"connection_id":195230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:55:58] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:55:58] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:55:58] local.INFO: IMEI packet received {"connection_id":192540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":192540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:55:59] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8867e80012d18d5c0072103c0003c015429..."} 
[2026-09-25 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8867e80012d18d5c0072103c0003c015429..."} 
[2026-09-25 17:55:59] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8867e80012d18d5c0072103c0003c015429..."} 
[2026-09-25 17:55:59] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:59] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756602304,"raw_latitude":119604160,"longitude_deg":75.6602304,"latitude_deg":11.960416,"altitude":60,"angle":340,"satellites":41,"speed":38,"hex_longitude":"2d18d5c0","hex_latitude":"072103c0","is_valid_coordinates":true} 
[2026-09-25 17:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326806016001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23031156534411264,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474709504,"note":"Value kept but may cause issues"} 
[2026-09-25 17:55: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-25 17:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790339088000,"timestamp_ms":1790339088000,"timestamp_seconds":1790339088,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8867e80"} 
[2026-09-25 17:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:55:59] 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-25 17:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 17:55:59] 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-25 17:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326806016001,"66":14004,"103":206,"83":41984,"24":38,"16":23031156534411264,"45":1790462357474709504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326806016001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23031156534411264,"km_value":23031156534411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474709504,"description":"Unknown IO ID 45"} 
[2026-09-25 17:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326806016001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1790462357474709504}} 
[2026-09-25 17:55:59] 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":896440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:55:59] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:55:59] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:03] local.INFO: TCP Data received {"connection_id":195232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:56:03] local.INFO: Processing buffer {"connection_id":195232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d882aa08012d34c14006aa4908000c006e2d..."} 
[2026-09-25 17:56:03] local.INFO: Packet analysis {"connection_id":195232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:56:03] local.INFO: Extracted packet for processing {"connection_id":195232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d882"} 
[2026-09-25 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326665216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56: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-25 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790338837000,"timestamp_ms":1790338837000,"timestamp_seconds":1790338837,"priority":1,"record_length":96,"hex_timestamp":"000001a0d882aa08"} 
[2026-09-25 17:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326665216001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326665216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:56: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-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326665216001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":195232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:03] local.INFO: GPS data processed {"connection_id":195232,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:03] local.INFO: Acknowledgment sent {"connection_id":195232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:05] local.INFO: TCP Data received {"connection_id":195230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8866710012d7ecd0005dee680000700a629..."} 
[2026-09-25 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8866710012d7ecd0005dee680000700a629..."} 
[2026-09-25 17:56:05] local.INFO: Processing buffer {"connection_id":195230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8866710012d7ecd0005dee680000700a629..."} 
[2026-09-25 17:56:05] local.INFO: Packet analysis {"connection_id":195230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:56:05] local.INFO: Extracted packet for processing {"connection_id":195230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:56:05] local.INFO: GPS Element Parsed {"raw_longitude":763284736,"raw_latitude":98494080,"longitude_deg":76.3284736,"latitude_deg":9.849408,"altitude":7,"angle":166,"satellites":41,"speed":23,"hex_longitude":"2d7ecd00","hex_latitude":"05dee680","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326803968001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135913003131338752,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081801224192,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339082000,"timestamp_ms":1790339082000,"timestamp_seconds":1790339082,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8866710"} 
[2026-09-25 17: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-25 17:56:05] 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-25 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751637209,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3632612864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":14336,"corrected_to":0} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2100329992331198464,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-2593847605779706283,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2241077249,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807930984,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3666608128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":126,"raw_value":8124500185936560132,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:05] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,206,85,24,241,157,16,220,160,75,45,64,246,6,40,10,66,207,219,253,15,7,39,1,240,51,227,216,223,4,113,205,28,109,136,224,41,239,53,2,226,5,31,126,59],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":246,"original":14336,"validated":0},{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-09-25 17:56:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432512866090287104,"timestamp_seconds":432512866090287.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17: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-25 17:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326803968001,"66":13363,"206":206,"85":15104,"24":23,"16":135913003131338752,"45":9135974081801224192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-25 17:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326803968001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-25 17:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135913003131338752,"km_value":135913003131338.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081801224192,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326803968001,"power":13363,"unknown_206":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9135974081801224192}} 
[2026-09-25 17:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":195230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:05] local.INFO: GPS data processed {"connection_id":195230,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:05] local.INFO: Acknowledgment sent {"connection_id":195230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:17] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:17] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:17] local.INFO: IMEI packet received {"connection_id":193913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":193913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:56:23] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:23] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:56:23] local.INFO: IMEI packet received {"connection_id":193913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":193913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:56:24] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:24] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:24] local.INFO: Packet analysis {"connection_id":193913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:56:24] local.INFO: Extracted packet for processing {"connection_id":193913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:24] 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-25 17:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:24] 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-25 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:24] 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-25 17:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:56:24] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:24] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:24] local.INFO: IMEI packet received {"connection_id":192366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":192366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:56:24] 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":896443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:24] local.INFO: GPS data processed {"connection_id":193913,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:24] local.INFO: Acknowledgment sent {"connection_id":193913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:30] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8868e20012d18d240072112c0003e016329..."} 
[2026-09-25 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8868e20012d18d240072112c0003e016329..."} 
[2026-09-25 17:56:30] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8868e20012d18d240072112c0003e016329..."} 
[2026-09-25 17:56:30] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:56:30] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d886"} 
[2026-09-25 17:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119608000,"longitude_deg":75.6601408,"latitude_deg":11.9608,"altitude":62,"angle":355,"satellites":41,"speed":40,"hex_longitude":"2d18d240","hex_latitude":"072112c0","is_valid_coordinates":true} 
[2026-09-25 17:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326806528001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23031349807939584,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563800838144,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339092000,"timestamp_ms":1790339092000,"timestamp_seconds":1790339092,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8868e20"} 
[2026-09-25 17:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:30] 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-25 17:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:56:30] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326806528001,"66":13167,"103":206,"83":41984,"24":40,"16":23031349807939584,"45":1789547563800838144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 17:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:30] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326806528001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:30] local.INFO: IMEI packet received {"connection_id":192366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:56:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 17:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":192366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23031349807939584,"km_value":23031349807939.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563800838144,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326806528001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1789547563800838144}} 
[2026-09-25 17:56:30] 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":896444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:30] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:30] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:31] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:56:31] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:56:31] local.INFO: Packet analysis {"connection_id":192366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:56:31] local.INFO: Extracted packet for processing {"connection_id":192366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56: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-25 17:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:56:31] local.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-25 17:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:56: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-25 17:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:56:31] 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":896445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:31] local.INFO: GPS data processed {"connection_id":192366,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:31] local.INFO: Acknowledgment sent {"connection_id":192366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:37] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:37] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:37] local.INFO: IMEI packet received {"connection_id":192541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":192541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:56:42] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:42] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:56:42] local.INFO: IMEI packet received {"connection_id":192541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":192541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:56:43] local.INFO: TCP Data received {"connection_id":192541,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d887a760012d7f3e0005dd9500000400b429..."} 
[2026-09-25 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d887a760012d7f3e0005dd9500000400b429..."} 
[2026-09-25 17:56:43] local.INFO: Processing buffer {"connection_id":192541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d887a760012d7f3e0005dd9500000400b429..."} 
[2026-09-25 17:56:43] local.INFO: Packet analysis {"connection_id":192541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:56:43] local.INFO: Extracted packet for processing {"connection_id":192541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":98407680,"longitude_deg":76.3313664,"latitude_deg":9.840768,"altitude":4,"angle":180,"satellites":41,"speed":36,"hex_longitude":"2d7f3e00","hex_latitude":"05dd9500","is_valid_coordinates":true} 
[2026-09-25 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326825216001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135917457012424704,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554810333456384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790339164000,"timestamp_ms":1790339164000,"timestamp_seconds":1790339164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d887a760"} 
[2026-09-25 17:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:43] 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-25 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798452942,"corrected_to":0} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3632721864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-8520810477794809600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278289300946333344,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2267957249,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":384579,"corrected_to":0} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":41,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3725721600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3731374080,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":134,"raw_value":-3420482622074355707,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-3602652836438992896,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,205,85,24,241,157,16,224,160,128,45,192,191,4,38,10,66,223,100,222,40,73,1,240,88,227,216,113,46,15,247,41,239,52,206,2,226,5,49,134,166],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2798452942,"validated":0},{"io_id":247,"original":384579,"validated":0}]} 
[2026-09-25 17:56:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288415270201524224,"timestamp_seconds":288415270201524.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326825216001,"66":13646,"205":206,"85":15104,"24":36,"16":135917457012424704,"45":9168554810333456384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-25 17:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326825216001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135917457012424704,"km_value":135917457012424.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554810333456384,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326825216001,"power":13646,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9168554810333456384}} 
[2026-09-25 17:56:43] 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":896446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:43] local.INFO: GPS data processed {"connection_id":192541,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:43] local.INFO: Acknowledgment sent {"connection_id":192541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:54] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:54] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:54] local.INFO: IMEI packet received {"connection_id":192367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":192367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:56:56] local.INFO: TCP Data received {"connection_id":193913,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:56] local.INFO: Processing buffer {"connection_id":193913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:56:56] local.INFO: Packet analysis {"connection_id":193913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:56:56] local.INFO: Extracted packet for processing {"connection_id":193913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:56:56] 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-25 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:56:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:56:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:56:56] 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":896447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:56:56] local.INFO: GPS data processed {"connection_id":193913,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:56:56] local.INFO: Acknowledgment sent {"connection_id":193913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:56:59] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:59] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:56:59] local.INFO: IMEI packet received {"connection_id":192367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":192367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:57:00] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88770b0012d185b4007218560004e01292a..."} 
[2026-09-25 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88770b0012d185b4007218560004e01292a..."} 
[2026-09-25 17:57:00] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88770b0012d185b4007218560004e01292a..."} 
[2026-09-25 17:57:00] local.INFO: Packet analysis {"connection_id":192367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:00] local.INFO: Extracted packet for processing {"connection_id":192367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119637344,"longitude_deg":75.6570944,"latitude_deg":11.9637344,"altitude":78,"angle":297,"satellites":42,"speed":41,"hex_longitude":"2d185b40","hex_latitude":"07218560","is_valid_coordinates":true} 
[2026-09-25 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326821888001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23033686270148608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310231576576,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57: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-25 17:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339150000,"timestamp_ms":1790339150000,"timestamp_seconds":1790339150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88770b0"} 
[2026-09-25 17:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:57:00] 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-25 17:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:00] 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-25 17:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326821888001,"66":14048,"105":206,"83":41984,"24":41,"16":23033686270148608,"45":1757248310231576576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326821888001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23033686270148608,"km_value":23033686270148.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310231576576,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326821888001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1757248310231576576}} 
[2026-09-25 17:57:00] 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":896448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:00] local.INFO: GPS data processed {"connection_id":192367,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:00] local.INFO: Acknowledgment sent {"connection_id":192367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:03] local.INFO: TCP Data received {"connection_id":192366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:03] local.INFO: Processing buffer {"connection_id":192366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:03] local.INFO: Packet analysis {"connection_id":192366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:03] local.INFO: Extracted packet for processing {"connection_id":192366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57: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-25 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:57:03] local.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-25 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:57: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-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:57:03] 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":896449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:03] local.INFO: GPS data processed {"connection_id":192366,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:03] local.INFO: Acknowledgment sent {"connection_id":192366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:17] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:17] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:17] local.INFO: IMEI packet received {"connection_id":193914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":193914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:57:23] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:23] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:57:23] local.INFO: IMEI packet received {"connection_id":193914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":193914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:57:24] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:57:24] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d884b190012d0b10c007029f100014013d20..."} 
[2026-09-25 17:57:24] local.INFO: Packet analysis {"connection_id":193914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:57:24] local.INFO: Extracted packet for processing {"connection_id":193914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d884"} 
[2026-09-25 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326699264001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:24] 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-25 17:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790338970000,"timestamp_ms":1790338970000,"timestamp_seconds":1790338970,"priority":1,"record_length":96,"hex_timestamp":"000001a0d884b190"} 
[2026-09-25 17: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-25 17:57:24] 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-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:24] 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-25 17: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-25 17: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-25 17:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326699264001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 17:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326699264001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 17:57:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 17:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326699264001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:57:24] 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":896450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:24] local.INFO: GPS data processed {"connection_id":193914,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:24] local.INFO: Acknowledgment sent {"connection_id":193914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:25] local.INFO: TCP Data received {"connection_id":195234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:25] local.INFO: Processing buffer {"connection_id":195234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:25] local.INFO: IMEI packet received {"connection_id":195234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":195234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:57:30] local.INFO: TCP Data received {"connection_id":195234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:30] local.INFO: Processing buffer {"connection_id":195234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:57:30] local.INFO: IMEI packet received {"connection_id":195234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":195234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:57:30] local.INFO: TCP Data received {"connection_id":192367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88797c0012d18394007219480004e012227..."} 
[2026-09-25 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88797c0012d18394007219480004e012227..."} 
[2026-09-25 17:57:30] local.INFO: Processing buffer {"connection_id":192367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88797c0012d18394007219480004e012227..."} 
[2026-09-25 17:57:30] local.INFO: Packet analysis {"connection_id":192367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:30] local.INFO: Extracted packet for processing {"connection_id":192367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119641216,"longitude_deg":75.656224,"latitude_deg":11.9641216,"altitude":78,"angle":290,"satellites":39,"speed":33,"hex_longitude":"2d183940","hex_latitude":"07219480","is_valid_coordinates":true} 
[2026-09-25 17:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326822400001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23034137241714688,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879162277888,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57: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-25 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339160000,"timestamp_ms":1790339160000,"timestamp_seconds":1790339160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88797c0"} 
[2026-09-25 17:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:30] 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-25 17:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326822400001,"66":14026,"105":206,"83":41984,"24":33,"16":23034137241714688,"45":1755066879162277888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326822400001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23034137241714688,"km_value":23034137241714.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879162277888,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326822400001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1755066879162277888}} 
[2026-09-25 17:57:31] 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":896451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:31] local.INFO: GPS data processed {"connection_id":192367,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:31] local.INFO: Acknowledgment sent {"connection_id":192367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:31] local.INFO: TCP Data received {"connection_id":195234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:31] local.INFO: Processing buffer {"connection_id":195234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:57:31] local.INFO: Packet analysis {"connection_id":195234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:31] local.INFO: Extracted packet for processing {"connection_id":195234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57: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-25 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:57: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-25 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":195234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:31] local.INFO: GPS data processed {"connection_id":195234,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:31] local.INFO: Acknowledgment sent {"connection_id":195234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:39] local.INFO: TCP Data received {"connection_id":195235,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:39] local.INFO: Processing buffer {"connection_id":195235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:39] local.INFO: IMEI packet received {"connection_id":195235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":195235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:57:42] local.INFO: TCP Data received {"connection_id":195235,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:42] local.INFO: Processing buffer {"connection_id":195235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:57:42] local.INFO: IMEI packet received {"connection_id":195235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":195235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:57:44] local.INFO: TCP Data received {"connection_id":195235,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d888eb98012d7f9fc005dc82700004009127..."} 
[2026-09-25 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d888eb98012d7f9fc005dc82700004009127..."} 
[2026-09-25 17:57:44] local.INFO: Processing buffer {"connection_id":195235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d888eb98012d7f9fc005dc82700004009127..."} 
[2026-09-25 17:57:44] local.INFO: Packet analysis {"connection_id":195235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:57:44] local.INFO: Extracted packet for processing {"connection_id":195235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763338688,"raw_latitude":98337392,"longitude_deg":76.3338688,"latitude_deg":9.8337392,"altitude":4,"angle":145,"satellites":39,"speed":25,"hex_longitude":"2d7f9fc0","hex_latitude":"05dc8270","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326845440001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135921142094364672,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194028295708481536,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:44] 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-25 17:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790339247000,"timestamp_ms":1790339247000,"timestamp_seconds":1790339247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d888eb98"} 
[2026-09-25 17: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-25 17:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17: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-25 17: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-25 17:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":195235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":195235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":195235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326845440001,"66":13406,"111":206,"85":15104,"24":25,"16":135921142094364672,"45":9194028295708481536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 17:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326845440001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 17:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135921142094364672,"km_value":135921142094364.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194028295708481536,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326845440001,"power":13406,"unknown_111":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9194028295708481536}} 
[2026-09-25 17:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":195235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:44] local.INFO: GPS data processed {"connection_id":195235,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:44] local.INFO: Acknowledgment sent {"connection_id":195235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:54] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:54] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:54] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:57:57] local.INFO: TCP Data received {"connection_id":193914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:57:57] local.INFO: Processing buffer {"connection_id":193914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:57:57] local.INFO: Packet analysis {"connection_id":193914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:57:57] local.INFO: Extracted packet for processing {"connection_id":193914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:57:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 17: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-25 17:57:57] 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-25 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:57] 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-25 17: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-25 17: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-25 17:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 17:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:57] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 17:57:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:57:57] 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":896454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:57] local.INFO: GPS data processed {"connection_id":193914,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:57] local.INFO: Acknowledgment sent {"connection_id":193914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:57:57] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:57] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:57:57] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:57:58] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d887a760012d182d8007219a10004d01302a..."} 
[2026-09-25 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d887a760012d182d8007219a10004d01302a..."} 
[2026-09-25 17:57:58] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d887a760012d182d8007219a10004d01302a..."} 
[2026-09-25 17:57:58] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:58] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642640,"longitude_deg":75.6559232,"latitude_deg":11.964264,"altitude":77,"angle":304,"satellites":42,"speed":32,"hex_longitude":"2d182d80","hex_latitude":"07219a10","is_valid_coordinates":true} 
[2026-09-25 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326824960001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23034300450471936,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745496729955106816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:57: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-25 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790339164000,"timestamp_ms":1790339164000,"timestamp_seconds":1790339164,"priority":1,"record_length":96,"hex_timestamp":"000001a0d887a760"} 
[2026-09-25 17:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-25 17:57:58] 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-25 17:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326824960001,"66":14048,"105":206,"83":41984,"24":32,"16":23034300450471936,"45":1745496729955106816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326824960001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:57:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 17:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23034300450471936,"km_value":23034300450471.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745496729955106816,"description":"Unknown IO ID 45"} 
[2026-09-25 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326824960001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1745496729955106816}} 
[2026-09-25 17:57:58] 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":896455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:57:58] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:57:58] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:02] local.INFO: TCP Data received {"connection_id":195234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:02] local.INFO: Processing buffer {"connection_id":195234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:02] local.INFO: Packet analysis {"connection_id":195234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:58:02] local.INFO: Extracted packet for processing {"connection_id":195234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58: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-25 17:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 17:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:58:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:58: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-25 17:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":195234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:02] local.INFO: GPS data processed {"connection_id":195234,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:02] local.INFO: Acknowledgment sent {"connection_id":195234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:25] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:25] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:25] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:58:27] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:27] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:27] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:58:30] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88906f0012d188d8007217e88004c007327..."} 
[2026-09-25 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88906f0012d188d8007217e88004c007327..."} 
[2026-09-25 17:58:30] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88906f0012d188d8007217e88004c007327..."} 
[2026-09-25 17:58:30] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:58:30] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756583808,"raw_latitude":119635592,"longitude_deg":75.6583808,"latitude_deg":11.9635592,"altitude":76,"angle":115,"satellites":39,"speed":32,"hex_longitude":"2d188d80","hex_latitude":"07217e88","is_valid_coordinates":true} 
[2026-09-25 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326848256001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23036057092096000,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207160832,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:30] 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-25 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339254000,"timestamp_ms":1790339254000,"timestamp_seconds":1790339254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88906f0"} 
[2026-09-25 17:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326848256001,"66":14428,"106":206,"83":41984,"24":32,"16":23036057092096000,"45":1766607353207160832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326848256001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23036057092096000,"km_value":23036057092096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207160832,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326848256001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1766607353207160832}} 
[2026-09-25 17:58:30] 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":896457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:30] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:30] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:31] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:31] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:58:31] local.INFO: IMEI packet received {"connection_id":192368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":192368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:58:32] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:32] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:58:32] local.INFO: IMEI packet received {"connection_id":192369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":192369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:58:33] local.INFO: TCP Data received {"connection_id":195236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:33] local.INFO: Processing buffer {"connection_id":195236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:33] local.INFO: IMEI packet received {"connection_id":195236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":195236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:58:33] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:33] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:58:33] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:58:33] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 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-25 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17: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-25 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-25 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-25 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:58: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-25 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:58:33] 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":896458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:33] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:33] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:33] local.INFO: TCP Data received {"connection_id":192369,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:58:33] local.INFO: Processing buffer {"connection_id":192369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:58:33] local.INFO: Packet analysis {"connection_id":192369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:58:33] local.INFO: Extracted packet for processing {"connection_id":192369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 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-25 17:58:33] 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-25 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:58:33] 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-25 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-25 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-25 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:58:33] 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":896459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:33] local.INFO: GPS data processed {"connection_id":192369,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:33] local.INFO: Acknowledgment sent {"connection_id":192369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:34] local.INFO: TCP Data received {"connection_id":195236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:34] local.INFO: Processing buffer {"connection_id":195236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:58:34] local.INFO: IMEI packet received {"connection_id":195236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":195236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:58:35] local.INFO: TCP Data received {"connection_id":195236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d888ef80012d7fa18005dc80a80004008527..."} 
[2026-09-25 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d888ef80012d7fa18005dc80a80004008527..."} 
[2026-09-25 17:58:35] local.INFO: Processing buffer {"connection_id":195236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d888ef80012d7fa18005dc80a80004008527..."} 
[2026-09-25 17:58:35] local.INFO: Packet analysis {"connection_id":195236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:58:35] local.INFO: Extracted packet for processing {"connection_id":195236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":98336936,"longitude_deg":76.3339136,"latitude_deg":9.8336936,"altitude":4,"angle":133,"satellites":39,"speed":24,"hex_longitude":"2d7fa180","hex_latitude":"05dc80a8","is_valid_coordinates":true} 
[2026-09-25 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-25 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326847232001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135921176454103040,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196280095520747520,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:35] 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-25 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790339248000,"timestamp_ms":1790339248000,"timestamp_seconds":1790339248,"priority":1,"record_length":96,"hex_timestamp":"000001a0d888ef80"} 
[2026-09-25 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-25 17:58:35] 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-25 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 17:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326847232001,"66":13222,"111":206,"85":15104,"24":24,"16":135921176454103040,"45":9196280095520747520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326847232001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 17:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135921176454103040,"km_value":135921176454103.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196280095520747520,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326847232001,"power":13222,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9196280095520747520}} 
[2026-09-25 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":195236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:35] local.INFO: GPS data processed {"connection_id":195236,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:35] local.INFO: Acknowledgment sent {"connection_id":195236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:38] local.INFO: TCP Data received {"connection_id":195236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d888f368012d7fa34005dc7f500004007a28..."} 
[2026-09-25 17:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d888f368012d7fa34005dc7f500004007a28..."} 
[2026-09-25 17:58:38] local.INFO: Processing buffer {"connection_id":195236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d888f368012d7fa34005dc7f500004007a28..."} 
[2026-09-25 17:58:38] local.INFO: Packet analysis {"connection_id":195236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:58:38] local.INFO: Extracted packet for processing {"connection_id":195236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d888"} 
[2026-09-25 17:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763339584,"raw_latitude":98336592,"longitude_deg":76.3339584,"latitude_deg":9.8336592,"altitude":4,"angle":122,"satellites":40,"speed":24,"hex_longitude":"2d7fa340","hex_latitude":"05dc7f50","is_valid_coordinates":true} 
[2026-09-25 17:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326847488001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135921202223906816,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772676729874432,"note":"Value kept but may cause issues"} 
[2026-09-25 17:58:38] 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-25 17:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790339249000,"timestamp_ms":1790339249000,"timestamp_seconds":1790339249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d888f368"} 
[2026-09-25 17:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:58:38] 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-25 17:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 17:58:38] 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-25 17:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326847488001,"66":13363,"111":206,"85":15104,"24":24,"16":135921202223906816,"45":9196772676729874432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-25 17:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326847488001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:58:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-25 17:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135921202223906816,"km_value":135921202223906.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772676729874432,"description":"Unknown IO ID 45"} 
[2026-09-25 17:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326847488001,"power":13363,"unknown_111":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9196772676729874432}} 
[2026-09-25 17:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":195236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:58:38] local.INFO: GPS data processed {"connection_id":195236,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:58:38] local.INFO: Acknowledgment sent {"connection_id":195236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:58:54] local.INFO: TCP Data received {"connection_id":195237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:54] local.INFO: Processing buffer {"connection_id":195237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:54] local.INFO: IMEI packet received {"connection_id":195237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":195237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:58:55] local.INFO: TCP Data received {"connection_id":195237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:55] local.INFO: Processing buffer {"connection_id":195237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:55] local.INFO: IMEI packet received {"connection_id":195237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":195237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:58:59] local.INFO: TCP Data received {"connection_id":195237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:59] local.INFO: Processing buffer {"connection_id":195237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:58:59] local.INFO: IMEI packet received {"connection_id":195237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":195237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:59:00] local.INFO: TCP Data received {"connection_id":195237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88939b8012d18ad00072171b8004c008429..."} 
[2026-09-25 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88939b8012d18ad00072171b8004c008429..."} 
[2026-09-25 17:59:00] local.INFO: Processing buffer {"connection_id":195237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88939b8012d18ad00072171b8004c008429..."} 
[2026-09-25 17:59:00] local.INFO: Packet analysis {"connection_id":195237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:00] local.INFO: Extracted packet for processing {"connection_id":195237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632312,"longitude_deg":75.6591872,"latitude_deg":11.9632312,"altitude":76,"angle":132,"satellites":41,"speed":23,"hex_longitude":"2d18ad00","hex_latitude":"072171b8","is_valid_coordinates":true} 
[2026-09-25 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326849024001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23036473703923712,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769210996741539840,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:00] 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-25 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339267000,"timestamp_ms":1790339267000,"timestamp_seconds":1790339267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88939b8"} 
[2026-09-25 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:59:00] 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-25 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 17:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326849024001,"66":14080,"106":206,"83":41984,"24":23,"16":23036473703923712,"45":1769210996741539840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326849024001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23036473703923712,"km_value":23036473703923.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769210996741539840,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326849024001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1769210996741539840}} 
[2026-09-25 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":195237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:01] local.INFO: GPS data processed {"connection_id":195237,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:01] local.INFO: Acknowledgment sent {"connection_id":195237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:05] local.INFO: TCP Data received {"connection_id":192368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:05] local.INFO: Processing buffer {"connection_id":192368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:05] local.INFO: Packet analysis {"connection_id":192368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:59:05] local.INFO: Extracted packet for processing {"connection_id":192368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17: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-25 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17: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-25 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17: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-25 17: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-25 17: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-25 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:59: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-25 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:59:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17: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-25 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:59:05] 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":896463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:05] local.INFO: GPS data processed {"connection_id":192368,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:05] local.INFO: Acknowledgment sent {"connection_id":192368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:09] local.INFO: TCP Data received {"connection_id":195236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88a2418012d80698005dca7f80005008b27..."} 
[2026-09-25 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88a2418012d80698005dca7f80005008b27..."} 
[2026-09-25 17:59:09] local.INFO: Processing buffer {"connection_id":195236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88a2418012d80698005dca7f80005008b27..."} 
[2026-09-25 17:59:09] local.INFO: Packet analysis {"connection_id":195236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 17:59:09] local.INFO: Extracted packet for processing {"connection_id":195236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763390336,"raw_latitude":98347000,"longitude_deg":76.3390336,"latitude_deg":9.8347,"altitude":5,"angle":139,"satellites":39,"speed":12,"hex_longitude":"2d806980","hex_latitude":"05dca7f8","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326867456001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135923701894873088,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193887507867451392,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790339327000,"timestamp_ms":1790339327000,"timestamp_seconds":1790339327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88a2418"} 
[2026-09-25 17: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-25 17:59:09] 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-25 17: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":88,"data_length":795,"current_offset":136} 
[2026-09-25 17:59: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-25 17: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-25 17: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-25 17:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326867456001,"66":13656,"251":206,"85":15104,"24":12,"16":135923701894873088,"45":-9193887507867451392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 17:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326867456001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 17:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135923701894873088,"km_value":135923701894873.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193887507867451392,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326867456001,"power":13656,"unknown_251":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9193887507867451392}} 
[2026-09-25 17:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":195236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:09] local.INFO: GPS data processed {"connection_id":195236,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:09] local.INFO: Acknowledgment sent {"connection_id":195236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:18] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:18] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:18] local.INFO: IMEI packet received {"connection_id":192543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 17:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":192543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:59:19] local.INFO: TCP Data received {"connection_id":192370,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:59:19] local.INFO: Processing buffer {"connection_id":192370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 17:59:19] local.INFO: IMEI packet received {"connection_id":192370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":192370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:59:22] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:22] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 17:59:22] local.INFO: IMEI packet received {"connection_id":192543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 17:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":192543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:59:23] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:23] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:23] local.INFO: Packet analysis {"connection_id":192543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:23] local.INFO: Extracted packet for processing {"connection_id":192543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 17:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 17:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:23] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 17:59:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":192543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:24] local.INFO: GPS data processed {"connection_id":192543,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:24] local.INFO: Acknowledgment sent {"connection_id":192543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:25] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:25] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:25] local.INFO: IMEI packet received {"connection_id":192371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 17:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:59:27] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:27] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:27] local.INFO: IMEI packet received {"connection_id":192372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":192372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:59:29] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:29] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 17:59:29] local.INFO: IMEI packet received {"connection_id":192372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:59:30] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:30] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 17:59:30] local.INFO: IMEI packet received {"connection_id":192371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 17:59:30] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88a37a0012d806f4005dc9fb80006009729..."} 
[2026-09-25 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88a37a0012d806f4005dc9fb80006009729..."} 
[2026-09-25 17:59:30] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88a37a0012d806f4005dc9fb80006009729..."} 
[2026-09-25 17:59:30] local.INFO: Packet analysis {"connection_id":192372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 17:59:30] local.INFO: Extracted packet for processing {"connection_id":192372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763391808,"raw_latitude":98344888,"longitude_deg":76.3391808,"latitude_deg":9.8344888,"altitude":6,"angle":151,"satellites":41,"speed":26,"hex_longitude":"2d806f40","hex_latitude":"05dc9fb8","is_valid_coordinates":true} 
[2026-09-25 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326867712001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135923826448924672,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193676401634969600,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339332000,"timestamp_ms":1790339332000,"timestamp_seconds":1790339332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88a37a0"} 
[2026-09-25 17:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 17:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 17:59: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-25 17:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 17:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 17:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 17:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326867712001,"66":13678,"251":206,"85":15104,"24":26,"16":135923826448924672,"45":-9193676401634969600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 17:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 17:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 17:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326867712001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 17:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 17:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135923826448924672,"km_value":135923826448924.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193676401634969600,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326867712001,"power":13678,"unknown_251":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9193676401634969600}} 
[2026-09-25 17:59:30] 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":896466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:30] local.INFO: GPS data processed {"connection_id":192372,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:30] local.INFO: Acknowledgment sent {"connection_id":192372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:31] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:31] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 17:59:31] local.INFO: Packet analysis {"connection_id":192371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:59:31] local.INFO: Extracted packet for processing {"connection_id":192371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59: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-25 17:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 17:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 17:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 17:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 17:59:31] 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-25 17:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 17:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 17:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 17:59: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-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 17:59:31] 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":896467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:31] local.INFO: GPS data processed {"connection_id":192371,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:31] local.INFO: Acknowledgment sent {"connection_id":192371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:31] local.INFO: TCP Data received {"connection_id":195237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894570012d18b1c007216c18004b009029..."} 
[2026-09-25 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894570012d18b1c007216c18004b009029..."} 
[2026-09-25 17:59:31] local.INFO: Processing buffer {"connection_id":195237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894570012d18b1c007216c18004b009029..."} 
[2026-09-25 17:59:31] local.INFO: Packet analysis {"connection_id":195237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:31] local.INFO: Extracted packet for processing {"connection_id":195237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756593088,"raw_latitude":119630872,"longitude_deg":75.6593088,"latitude_deg":11.9630872,"altitude":75,"angle":144,"satellites":41,"speed":27,"hex_longitude":"2d18b1c0","hex_latitude":"07216c18","is_valid_coordinates":true} 
[2026-09-25 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326852352001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23036563898236928,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507085824,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] 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-25 17:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339270000,"timestamp_ms":1790339270000,"timestamp_seconds":1790339270,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894570"} 
[2026-09-25 17:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 17:59:31] 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-25 17:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3632832864,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2296117249,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2185232461,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 17:59:31] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1476472088,"corrected_to":0} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147950984,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3599499264,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,215,160,6,45,128,126,76,39,10,66,251,64,129,40,227,1,240,27,214,216,33,4,113,205,204,86,239,54,2,81,7,79],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":204,"original":1476472088,"validated":0}]} 
[2026-09-25 17:59:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476522458512556032,"timestamp_seconds":5476522458512556.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 17:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 17:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 17:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326852352001,"66":14004,"106":206,"83":41984,"24":27,"16":23036563898236928,"45":1778077458507085824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 17:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 17:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326852352001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 17:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23036563898236928,"km_value":23036563898236.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507085824,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326852352001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1778077458507085824}} 
[2026-09-25 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":195237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:32] local.INFO: GPS data processed {"connection_id":195237,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:32] local.INFO: Acknowledgment sent {"connection_id":195237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:54] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:54] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:54] local.INFO: IMEI packet received {"connection_id":193916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 17:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":193916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 17:59:55] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:55] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 17:59:55] local.INFO: Packet analysis {"connection_id":192543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:55] local.INFO: Extracted packet for processing {"connection_id":192543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 17:59:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 17: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-25 17:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 17:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 17:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 17: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-25 17:59:55] 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-25 17: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 17:59: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-25 17:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 17: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-25 17:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 17:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 17:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192543,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 17:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 17:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 17:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 17:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 17:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 17:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 17:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 17:59:55] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 17:59:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 17:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 17:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 17:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 17:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":192543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 17:59:55] local.INFO: GPS data processed {"connection_id":192543,"processed":1,"errors":0,"total":1} 
[2026-09-25 17:59:55] local.INFO: Acknowledgment sent {"connection_id":192543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 17:59:59] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:59] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 17:59:59] local.INFO: IMEI packet received {"connection_id":193916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":193916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:00] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8897450012d18c300072153e00046007929..."} 
[2026-09-25 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8897450012d18c300072153e00046007929..."} 
[2026-09-25 18:00:00] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8897450012d18c300072153e00046007929..."} 
[2026-09-25 18:00:00] local.INFO: Packet analysis {"connection_id":193916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:00] local.INFO: Extracted packet for processing {"connection_id":193916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624672,"longitude_deg":75.6597504,"latitude_deg":11.9624672,"altitude":70,"angle":121,"satellites":41,"speed":10,"hex_longitude":"2d18c300","hex_latitude":"072153e0","is_valid_coordinates":true} 
[2026-09-25 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853120001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23036933265424384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779414464646092800,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:00] 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-25 18:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339282000,"timestamp_ms":1790339282000,"timestamp_seconds":1790339282,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8897450"} 
[2026-09-25 18:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:00:00] 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-25 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:00] 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-25 18:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853120001,"66":13156,"106":206,"83":41984,"24":10,"16":23036933265424384,"45":1779414464646092800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 18:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853120001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 18:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23036933265424384,"km_value":23036933265424.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779414464646092800,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853120001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1779414464646092800}} 
[2026-09-25 18:00:00] 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":896470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:00] local.INFO: GPS data processed {"connection_id":193916,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:00] local.INFO: Acknowledgment sent {"connection_id":193916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:02] local.INFO: TCP Data received {"connection_id":192372,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88a4f10012d80764005dc8e70000700a529..."} 
[2026-09-25 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88a4f10012d80764005dc8e70000700a529..."} 
[2026-09-25 18:00:02] local.INFO: Processing buffer {"connection_id":192372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88a4f10012d80764005dc8e70000700a529..."} 
[2026-09-25 18:00:02] local.INFO: Packet analysis {"connection_id":192372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 18:00:02] local.INFO: Extracted packet for processing {"connection_id":192372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763393600,"raw_latitude":98340464,"longitude_deg":76.33936,"latitude_deg":9.8340464,"altitude":7,"angle":165,"satellites":41,"speed":29,"hex_longitude":"2d807640","hex_latitude":"05dc8e70","is_valid_coordinates":true} 
[2026-09-25 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326868992001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135924058377158656,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192057920519424000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790339338000,"timestamp_ms":1790339338000,"timestamp_seconds":1790339338,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88a4f10"} 
[2026-09-25 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:00:02] 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-25 18:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:02] 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-25 18:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326868992001,"66":13646,"251":206,"85":15104,"24":29,"16":135924058377158656,"45":-9192057920519424000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326868992001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135924058377158656,"km_value":135924058377158.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192057920519424000,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326868992001,"power":13646,"unknown_251":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9192057920519424000}} 
[2026-09-25 18:00:02] 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":896471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:02] local.INFO: GPS data processed {"connection_id":192372,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:02] local.INFO: Acknowledgment sent {"connection_id":192372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:03] local.INFO: TCP Data received {"connection_id":192371,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:03] local.INFO: Processing buffer {"connection_id":192371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:03] local.INFO: Packet analysis {"connection_id":192371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:00:03] local.INFO: Extracted packet for processing {"connection_id":192371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00: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-25 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:00:03] 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-25 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:00: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-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:00:03] 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":896472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:03] local.INFO: GPS data processed {"connection_id":192371,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:03] local.INFO: Acknowledgment sent {"connection_id":192371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:09] local.INFO: TCP Data received {"connection_id":193917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:00:09] local.INFO: Processing buffer {"connection_id":193917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:00:09] local.INFO: IMEI packet received {"connection_id":193917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":193917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:00:24] local.INFO: TCP Data received {"connection_id":195238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:24] local.INFO: Processing buffer {"connection_id":195238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:24] local.INFO: IMEI packet received {"connection_id":195238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":195238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:00:25] local.INFO: TCP Data received {"connection_id":195239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:25] local.INFO: Processing buffer {"connection_id":195239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:25] local.INFO: IMEI packet received {"connection_id":195239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":195239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:00:25] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:25] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:25] local.INFO: IMEI packet received {"connection_id":192544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":192544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:00:27] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:27] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:27] local.INFO: IMEI packet received {"connection_id":192544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":192544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:30] local.INFO: TCP Data received {"connection_id":195239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:30] local.INFO: Processing buffer {"connection_id":195239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:00:30] local.INFO: IMEI packet received {"connection_id":195239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":195239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:31] local.INFO: TCP Data received {"connection_id":195239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:31] local.INFO: Processing buffer {"connection_id":195239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:00:31] local.INFO: Packet analysis {"connection_id":195239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:00:31] local.INFO: Extracted packet for processing {"connection_id":195239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00: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-25 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 18:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:00:31] local.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-25 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:00: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-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":195239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:31] local.INFO: GPS data processed {"connection_id":195239,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:31] local.INFO: Acknowledgment sent {"connection_id":195239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:31] local.INFO: TCP Data received {"connection_id":193916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8897838012d18c400072153880046006329..."} 
[2026-09-25 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8897838012d18c400072153880046006329..."} 
[2026-09-25 18:00:31] local.INFO: Processing buffer {"connection_id":193916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8897838012d18c400072153880046006329..."} 
[2026-09-25 18:00:31] local.INFO: Packet analysis {"connection_id":193916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:31] local.INFO: Extracted packet for processing {"connection_id":193916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624584,"longitude_deg":75.659776,"latitude_deg":11.9624584,"altitude":70,"angle":99,"satellites":41,"speed":10,"hex_longitude":"2d18c400","hex_latitude":"07215388","is_valid_coordinates":true} 
[2026-09-25 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326856192001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23036946150326272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992764416,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:31] 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-25 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339283000,"timestamp_ms":1790339283000,"timestamp_seconds":1790339283,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8897838"} 
[2026-09-25 18:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:31] 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-25 18:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326856192001,"66":13091,"106":206,"83":41984,"24":10,"16":23036946150326272,"45":1784269907992764416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326856192001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23036946150326272,"km_value":23036946150326.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992764416,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326856192001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1784269907992764416}} 
[2026-09-25 18:00:31] 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":896474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:31] local.INFO: GPS data processed {"connection_id":193916,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:31] local.INFO: Acknowledgment sent {"connection_id":193916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:33] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:33] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:00:33] local.INFO: IMEI packet received {"connection_id":192544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":192544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:33] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88a7620012d80828005dc6c48000700a028..."} 
[2026-09-25 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88a7620012d80828005dc6c48000700a028..."} 
[2026-09-25 18:00:33] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88a7620012d80828005dc6c48000700a028..."} 
[2026-09-25 18:00:33] local.INFO: Packet analysis {"connection_id":192544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 18:00:33] local.INFO: Extracted packet for processing {"connection_id":192544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88a"} 
[2026-09-25 18:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763396736,"raw_latitude":98331720,"longitude_deg":76.3396736,"latitude_deg":9.833172,"altitude":7,"angle":160,"satellites":40,"speed":42,"hex_longitude":"2d808280","hex_latitude":"05dc6c48","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326870528001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135924509348724736,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190087595683581952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339348000,"timestamp_ms":1790339348000,"timestamp_seconds":1790339348,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88a7620"} 
[2026-09-25 18: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-25 18:00:33] 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-25 18: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326870528001,"66":13504,"251":206,"85":15104,"24":42,"16":135924509348724736,"45":-9190087595683581952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-25 18:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326870528001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135924509348724736,"km_value":135924509348724.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190087595683581952,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326870528001,"power":13504,"unknown_251":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9190087595683581952}} 
[2026-09-25 18:00:33] 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":896475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:33] local.INFO: GPS data processed {"connection_id":192544,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:33] local.INFO: Acknowledgment sent {"connection_id":192544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:42] local.INFO: TCP Data received {"connection_id":195238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:42] local.INFO: Processing buffer {"connection_id":195238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:00:42] local.INFO: IMEI packet received {"connection_id":195238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":195238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:43] local.INFO: TCP Data received {"connection_id":195238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:43] local.INFO: Processing buffer {"connection_id":195238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:43] local.INFO: Packet analysis {"connection_id":195238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:43] local.INFO: Extracted packet for processing {"connection_id":195238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 18:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 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-25 18:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:43] 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-25 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-25 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-25 18:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":195238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":195238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":195238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:43] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:00:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":195238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:43] local.INFO: GPS data processed {"connection_id":195238,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:43] local.INFO: Acknowledgment sent {"connection_id":195238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:44] local.INFO: TCP Data received {"connection_id":195238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:44] local.INFO: Processing buffer {"connection_id":195238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:00:44] local.INFO: Packet analysis {"connection_id":195238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:44] local.INFO: Extracted packet for processing {"connection_id":195238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:00:44] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 18: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-25 18:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:00:44] 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-25 18: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-25 18: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-25 18:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":195238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":195238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":195238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:00:44] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:00:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":195238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:00:44] local.INFO: GPS data processed {"connection_id":195238,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:00:44] local.INFO: Acknowledgment sent {"connection_id":195238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:00:54] local.INFO: TCP Data received {"connection_id":195240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:54] local.INFO: Processing buffer {"connection_id":195240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:54] local.INFO: IMEI packet received {"connection_id":195240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":195240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:00:55] local.INFO: TCP Data received {"connection_id":195240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:55] local.INFO: Processing buffer {"connection_id":195240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:55] local.INFO: IMEI packet received {"connection_id":195240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":195240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:00:59] local.INFO: TCP Data received {"connection_id":195240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:59] local.INFO: Processing buffer {"connection_id":195240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:00:59] local.INFO: IMEI packet received {"connection_id":195240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":195240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:01:00] local.INFO: TCP Data received {"connection_id":195240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d889aee8012d18d380072152400045005728..."} 
[2026-09-25 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d889aee8012d18d380072152400045005728..."} 
[2026-09-25 18:01:00] local.INFO: Processing buffer {"connection_id":195240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d889aee8012d18d380072152400045005728..."} 
[2026-09-25 18:01:00] local.INFO: Packet analysis {"connection_id":195240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:00] local.INFO: Extracted packet for processing {"connection_id":195240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119624256,"longitude_deg":75.6601728,"latitude_deg":11.9624256,"altitude":69,"angle":87,"satellites":40,"speed":13,"hex_longitude":"2d18d380","hex_latitude":"07215240","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326856448001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037135128887296,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969452544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:00] 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-25 18:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339297000,"timestamp_ms":1790339297000,"timestamp_seconds":1790339297,"priority":1,"record_length":96,"hex_timestamp":"000001a0d889aee8"} 
[2026-09-25 18: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-25 18:01:00] 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-25 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:00] 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-25 18: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-25 18: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-25 18:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326856448001,"66":13091,"106":206,"83":41984,"24":13,"16":23037135128887296,"45":1784551382969452544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-25 18:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326856448001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037135128887296,"km_value":23037135128887.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969452544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326856448001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1784551382969452544}} 
[2026-09-25 18:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":195240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:00] local.INFO: GPS data processed {"connection_id":195240,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:00] local.INFO: Acknowledgment sent {"connection_id":195240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:02] local.INFO: TCP Data received {"connection_id":195239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:01:02] local.INFO: Processing buffer {"connection_id":195239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88741d0012d34c14006aa49080008006e2d..."} 
[2026-09-25 18:01:02] local.INFO: Packet analysis {"connection_id":195239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:01:02] local.INFO: Extracted packet for processing {"connection_id":195239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d887"} 
[2026-09-25 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326742272001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01: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-25 18:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790339138000,"timestamp_ms":1790339138000,"timestamp_seconds":1790339138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88741d0"} 
[2026-09-25 18: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-25 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18: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-25 18: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-25 18:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01:02] local.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-25 18:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326742272001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326742272001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:01: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-25 18:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326742272001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":195239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:02] local.INFO: GPS data processed {"connection_id":195239,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:02] local.INFO: Acknowledgment sent {"connection_id":195239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:06] local.INFO: TCP Data received {"connection_id":192544,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bf8d8012d81488005daee500001009e28..."} 
[2026-09-25 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bf8d8012d81488005daee500001009e28..."} 
[2026-09-25 18:01:06] local.INFO: Processing buffer {"connection_id":192544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bf8d8012d81488005daee500001009e28..."} 
[2026-09-25 18:01:06] local.INFO: Packet analysis {"connection_id":192544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:06] local.INFO: Extracted packet for processing {"connection_id":192544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763447424,"raw_latitude":98233936,"longitude_deg":76.3447424,"latitude_deg":9.8233936,"altitude":1,"angle":158,"satellites":40,"speed":35,"hex_longitude":"2d814880","hex_latitude":"05daee50","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326897920001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135929873762877440,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131822275531372544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790339447000,"timestamp_ms":1790339447000,"timestamp_seconds":1790339447,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bf8d8"} 
[2026-09-25 18: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-25 18:01:06] 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-25 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:06] 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-25 18: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-25 18: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-25 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326897920001,"66":13656,"154":206,"85":15104,"24":35,"16":135929873762877440,"45":-9131822275531372544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-25 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326897920001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 18:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135929873762877440,"km_value":135929873762877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131822275531372544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326897920001,"power":13656,"unknown_154":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9131822275531372544}} 
[2026-09-25 18:01: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":896480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:06] local.INFO: GPS data processed {"connection_id":192544,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:06] local.INFO: Acknowledgment sent {"connection_id":192544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:18] local.INFO: TCP Data received {"connection_id":193918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193918,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:18] local.INFO: Processing buffer {"connection_id":193918,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:18] local.INFO: IMEI packet received {"connection_id":193918,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":193918,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:01:22] local.INFO: TCP Data received {"connection_id":193918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193918,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:22] local.INFO: Processing buffer {"connection_id":193918,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:01:22] local.INFO: IMEI packet received {"connection_id":193918,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":193918,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:01:24] local.INFO: TCP Data received {"connection_id":193918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:24] local.INFO: Processing buffer {"connection_id":193918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:24] local.INFO: Packet analysis {"connection_id":193918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:24] local.INFO: Extracted packet for processing {"connection_id":193918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 18:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:01:24] 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-25 18:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:24] 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-25 18:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:24] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:01:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":193918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896481,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:25] local.INFO: GPS data processed {"connection_id":193918,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:25] local.INFO: Acknowledgment sent {"connection_id":193918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:27] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:27] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:27] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:01:30] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:30] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:30] local.INFO: IMEI packet received {"connection_id":192546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":192546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:01:31] local.INFO: TCP Data received {"connection_id":195240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d889d210012d18de00072151b00044007f28..."} 
[2026-09-25 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d889d210012d18de00072151b00044007f28..."} 
[2026-09-25 18:01:31] local.INFO: Processing buffer {"connection_id":195240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d889d210012d18de00072151b00044007f28..."} 
[2026-09-25 18:01:31] local.INFO: Packet analysis {"connection_id":195240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:31] local.INFO: Extracted packet for processing {"connection_id":195240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119624112,"longitude_deg":75.6604416,"latitude_deg":11.9624112,"altitude":68,"angle":127,"satellites":40,"speed":8,"hex_longitude":"2d18de00","hex_latitude":"072151b0","is_valid_coordinates":true} 
[2026-09-25 18:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037259682938880,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245108383744,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339306000,"timestamp_ms":1790339306000,"timestamp_seconds":1790339306,"priority":1,"record_length":96,"hex_timestamp":"000001a0d889d210"} 
[2026-09-25 18:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:31] 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-25 18:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326860032001,"66":13048,"103":206,"83":41984,"24":8,"16":23037259682938880,"45":1788914245108383744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037259682938880,"km_value":23037259682938.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245108383744,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326860032001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1788914245108383744}} 
[2026-09-25 18:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":195240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:31] local.INFO: GPS data processed {"connection_id":195240,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:31] local.INFO: Acknowledgment sent {"connection_id":195240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:32] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:32] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:01:32] local.INFO: IMEI packet received {"connection_id":192373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":192373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:01:33] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88c00a8012d814a4005dae6b0000100a927..."} 
[2026-09-25 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88c00a8012d814a4005dae6b0000100a927..."} 
[2026-09-25 18:01:33] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88c00a8012d814a4005dae6b0000100a927..."} 
[2026-09-25 18:01:33] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:01:33] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763447872,"raw_latitude":98231984,"longitude_deg":76.3447872,"latitude_deg":9.8231984,"altitude":1,"angle":169,"satellites":39,"speed":41,"hex_longitude":"2d814a40","hex_latitude":"05dae6b0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326898432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135929968252157952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130907481857437696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339449000,"timestamp_ms":1790339449000,"timestamp_seconds":1790339449,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88c00a8"} 
[2026-09-25 18: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-25 18:01:33] 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-25 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:33] 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-25 18: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-25 18: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-25 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326898432001,"66":13559,"154":206,"85":15104,"24":41,"16":135929968252157952,"45":-9130907481857437696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-25 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326898432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 18:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135929968252157952,"km_value":135929968252157.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130907481857437696,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326898432001,"power":13559,"unknown_154":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9130907481857437696}} 
[2026-09-25 18:01:33] 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":896483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:33] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:33] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:37] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:37] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:01:37] local.INFO: IMEI packet received {"connection_id":192546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":192546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:01:38] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:38] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:38] local.INFO: Packet analysis {"connection_id":192546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:38] local.INFO: Extracted packet for processing {"connection_id":192546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01: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-25 18:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:01: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-25 18:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:01:38] 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":896484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:38] local.INFO: GPS data processed {"connection_id":192546,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:38] local.INFO: Acknowledgment sent {"connection_id":192546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:40] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:40] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:01:40] local.INFO: Packet analysis {"connection_id":192546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:40] local.INFO: Extracted packet for processing {"connection_id":192546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18: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-25 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:01: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-25 18: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-25 18: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-25 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:01: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-25 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:01:40] 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":896485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:40] local.INFO: GPS data processed {"connection_id":192546,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:40] local.INFO: Acknowledgment sent {"connection_id":192546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:56] local.INFO: TCP Data received {"connection_id":193918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:56] local.INFO: Processing buffer {"connection_id":193918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:01:56] local.INFO: Packet analysis {"connection_id":193918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:56] local.INFO: Extracted packet for processing {"connection_id":193918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:01: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-25 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 18:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:01: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:01:56] 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-25 18:01: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-25 18:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":193918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":193918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":193918,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":193918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896486,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:01:57] local.INFO: GPS data processed {"connection_id":193918,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:01:57] local.INFO: Acknowledgment sent {"connection_id":193918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:01:58] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:58] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:58] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:01:59] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:59] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:01:59] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:00] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:00] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:00] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:04] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:04] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:04] local.INFO: IMEI packet received {"connection_id":192374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":192374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:05] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d889d5f8012d18de40072150d8004400a628..."} 
[2026-09-25 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d889d5f8012d18de40072150d8004400a628..."} 
[2026-09-25 18:02:05] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d889d5f8012d18de40072150d8004400a628..."} 
[2026-09-25 18:02:05] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:05] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119623896,"longitude_deg":75.660448,"latitude_deg":11.9623896,"altitude":68,"angle":166,"satellites":40,"speed":9,"hex_longitude":"2d18de40","hex_latitude":"072150d8","is_valid_coordinates":true} 
[2026-09-25 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-25 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326862336001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037272567840768,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732363808768,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339307000,"timestamp_ms":1790339307000,"timestamp_seconds":1790339307,"priority":1,"record_length":96,"hex_timestamp":"000001a0d889d5f8"} 
[2026-09-25 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-25 18:02:05] 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-25 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:05] 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-25 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-25 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-25 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326862336001,"66":13080,"103":206,"83":41984,"24":9,"16":23037272567840768,"45":1791869732363808768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326862336001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037272567840768,"km_value":23037272567840.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732363808768,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326862336001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1791869732363808768}} 
[2026-09-25 18:02:05] 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":896487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:05] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:05] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:05] local.INFO: TCP Data received {"connection_id":192373,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88c1fe8012d81510005dac460000200a027..."} 
[2026-09-25 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88c1fe8012d81510005dac460000200a027..."} 
[2026-09-25 18:02:05] local.INFO: Processing buffer {"connection_id":192373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88c1fe8012d81510005dac460000200a027..."} 
[2026-09-25 18:02:05] local.INFO: Packet analysis {"connection_id":192373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:02:05] local.INFO: Extracted packet for processing {"connection_id":192373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763449600,"raw_latitude":98223200,"longitude_deg":76.34496,"latitude_deg":9.82232,"altitude":2,"angle":160,"satellites":39,"speed":47,"hex_longitude":"2d815100","hex_latitude":"05dac460","is_valid_coordinates":true} 
[2026-09-25 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-25 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326898944001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135930402043854848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130414900648693760,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339457000,"timestamp_ms":1790339457000,"timestamp_seconds":1790339457,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88c1fe8"} 
[2026-09-25 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-25 18:02:05] 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-25 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:05] 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-25 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-25 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-25 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326898944001,"66":13559,"154":206,"85":15104,"24":47,"16":135930402043854848,"45":-9130414900648693760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-09-25 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326898944001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135930402043854848,"km_value":135930402043854.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130414900648693760,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326898944001,"power":13559,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9130414900648693760}} 
[2026-09-25 18:02:05] 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":896488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:05] local.INFO: GPS data processed {"connection_id":192373,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:05] local.INFO: Acknowledgment sent {"connection_id":192373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:06] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d889d9e0012d18de4007215000004400b529..."} 
[2026-09-25 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d889d9e0012d18de4007215000004400b529..."} 
[2026-09-25 18:02:06] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d889d9e0012d18de4007215000004400b529..."} 
[2026-09-25 18:02:06] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:06] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119623680,"longitude_deg":75.660448,"latitude_deg":11.962368,"altitude":68,"angle":181,"satellites":41,"speed":8,"hex_longitude":"2d18de40","hex_latitude":"07215000","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326862592001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037281157775360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101107931136,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790339308000,"timestamp_ms":1790339308000,"timestamp_seconds":1790339308,"priority":1,"record_length":96,"hex_timestamp":"000001a0d889d9e0"} 
[2026-09-25 18: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-25 18:02:06] 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-25 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:06] 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-25 18: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-25 18: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-25 18:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326862592001,"66":13080,"103":206,"83":41984,"24":8,"16":23037281157775360,"45":1791940101107931136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326862592001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037281157775360,"km_value":23037281157775.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101107931136,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326862592001,"power":13080,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1791940101107931136}} 
[2026-09-25 18:02:06] 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":896489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:06] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:06] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:19] local.INFO: TCP Data received {"connection_id":195242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:19] local.INFO: Processing buffer {"connection_id":195242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:19] local.INFO: IMEI packet received {"connection_id":195242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":195242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:02:24] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:24] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:24] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:02:25] local.INFO: TCP Data received {"connection_id":195242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:25] local.INFO: Processing buffer {"connection_id":195242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:02:25] local.INFO: IMEI packet received {"connection_id":195242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":195242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:26] local.INFO: TCP Data received {"connection_id":195242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:26] local.INFO: Processing buffer {"connection_id":195242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:26] local.INFO: Packet analysis {"connection_id":195242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:26] local.INFO: Extracted packet for processing {"connection_id":195242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:02: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-25 18:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 18:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:02: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:26] 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-25 18:02: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-25 18:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:26] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:02:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":195242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:26] local.INFO: GPS data processed {"connection_id":195242,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:26] local.INFO: Acknowledgment sent {"connection_id":195242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:26] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:26] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:26] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:02:27] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:27] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:27] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:27] local.INFO: TCP Data received {"connection_id":195242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:27] local.INFO: Processing buffer {"connection_id":195242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8894958012d0b10c007029f100014013d1f..."} 
[2026-09-25 18:02:27] local.INFO: Packet analysis {"connection_id":195242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:27] local.INFO: Extracted packet for processing {"connection_id":195242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d889"} 
[2026-09-25 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326776320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790339271000,"timestamp_ms":1790339271000,"timestamp_seconds":1790339271,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8894958"} 
[2026-09-25 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:02: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-25 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:02: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-25 18:02: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-25 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326776320001,"66":12711,"147":206,"94":11008,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-09-25 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326776320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-25 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326776320001,"power":12711,"unknown_147":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":195242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:28] local.INFO: GPS data processed {"connection_id":195242,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:28] local.INFO: Acknowledgment sent {"connection_id":195242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:30] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:30] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:02:30] local.INFO: IMEI packet received {"connection_id":192375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":192375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:32] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:02:32] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:02:32] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:02:32] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:02:32] 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":896492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:32] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:32] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:32] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:32] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:02:32] local.INFO: IMEI packet received {"connection_id":192376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":192376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:02:33] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88d44e0012d820a4005da8c800004004827..."} 
[2026-09-25 18:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88d44e0012d820a4005da8c800004004827..."} 
[2026-09-25 18:02:33] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88d44e0012d820a4005da8c800004004827..."} 
[2026-09-25 18:02:33] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:02:33] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763497024,"raw_latitude":98208896,"longitude_deg":76.3497024,"latitude_deg":9.8208896,"altitude":4,"angle":72,"satellites":39,"speed":25,"hex_longitude":"2d820a40","hex_latitude":"05da8c80","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326916864001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135933305441746944,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086152960567537664,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339532000,"timestamp_ms":1790339532000,"timestamp_seconds":1790339532,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88d44e0"} 
[2026-09-25 18: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-25 18:02:33] 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-25 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326916864001,"66":13656,"71":206,"85":15104,"24":25,"16":135933305441746944,"45":-9086152960567537664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 18:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326916864001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135933305441746944,"km_value":135933305441746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086152960567537664,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326916864001,"power":13656,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9086152960567537664}} 
[2026-09-25 18:02:33] 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":896493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:33] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:33] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:37] local.INFO: TCP Data received {"connection_id":192374,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88ccbc8012d18dcc0072151c00041013123..."} 
[2026-09-25 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88ccbc8012d18dcc0072151c00041013123..."} 
[2026-09-25 18:02:37] local.INFO: Processing buffer {"connection_id":192374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88ccbc8012d18dcc0072151c00041013123..."} 
[2026-09-25 18:02:37] local.INFO: Packet analysis {"connection_id":192374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:02:37] local.INFO: Extracted packet for processing {"connection_id":192374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119624128,"longitude_deg":75.6604096,"latitude_deg":11.9624128,"altitude":65,"angle":305,"satellites":35,"speed":11,"hex_longitude":"2d18dcc0","hex_latitude":"072151c0","is_valid_coordinates":true} 
[2026-09-25 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326910720001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037483021238272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838596102144,"note":"Value kept but may cause issues"} 
[2026-09-25 18:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790339501000,"timestamp_ms":1790339501000,"timestamp_seconds":1790339501,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88ccbc8"} 
[2026-09-25 18:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:02:37] 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-25 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326910720001,"66":14374,"103":206,"83":41984,"24":11,"16":23037483021238272,"45":1792080838596102144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326910720001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:02:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037483021238272,"km_value":23037483021238.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838596102144,"description":"Unknown IO ID 45"} 
[2026-09-25 18:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326910720001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1792080838596102144}} 
[2026-09-25 18:02:37] 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":896494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:02:37] local.INFO: GPS data processed {"connection_id":192374,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:02:37] local.INFO: Acknowledgment sent {"connection_id":192374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:02:54] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:54] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:54] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:02:59] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:59] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:02:59] local.INFO: IMEI packet received {"connection_id":192377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":192377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:03:00] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88ccfb0012d18db80072152280041011f23..."} 
[2026-09-25 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88ccfb0012d18db80072152280041011f23..."} 
[2026-09-25 18:03:00] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88ccfb0012d18db80072152280041011f23..."} 
[2026-09-25 18:03:00] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:03:00] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119624232,"longitude_deg":75.6603776,"latitude_deg":11.9624232,"altitude":65,"angle":287,"satellites":35,"speed":11,"hex_longitude":"2d18db80","hex_latitude":"07215228","is_valid_coordinates":true} 
[2026-09-25 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326912256001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037495906140160,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888642924544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339502000,"timestamp_ms":1790339502000,"timestamp_seconds":1790339502,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88ccfb0"} 
[2026-09-25 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03: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-25 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:00] 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-25 18:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326912256001,"66":14374,"103":206,"83":41984,"24":11,"16":23037495906140160,"45":1791517888642924544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326912256001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037495906140160,"km_value":23037495906140.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888642924544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326912256001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791517888642924544}} 
[2026-09-25 18:03:00] 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":896495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:00] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:00] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:00] local.INFO: TCP Data received {"connection_id":195242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:00] local.INFO: Processing buffer {"connection_id":195242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:00] local.INFO: Packet analysis {"connection_id":195242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:00] local.INFO: Extracted packet for processing {"connection_id":195242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:00] 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-25 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03:00] 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-25 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:00] 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-25 18:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":195242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896496,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:01] local.INFO: GPS data processed {"connection_id":195242,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:01] local.INFO: Acknowledgment sent {"connection_id":195242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:03] local.INFO: TCP Data received {"connection_id":192375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:03] local.INFO: Processing buffer {"connection_id":192375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:03] local.INFO: Packet analysis {"connection_id":192375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:03:03] local.INFO: Extracted packet for processing {"connection_id":192375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03: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-25 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:03: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-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:03:03] 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":896497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:03] local.INFO: GPS data processed {"connection_id":192375,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:03] local.INFO: Acknowledgment sent {"connection_id":192375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:04] local.INFO: TCP Data received {"connection_id":192376,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88d5c50012d82174005da8fa80004005427..."} 
[2026-09-25 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88d5c50012d82174005da8fa80004005427..."} 
[2026-09-25 18:03:04] local.INFO: Processing buffer {"connection_id":192376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88d5c50012d82174005da8fa80004005427..."} 
[2026-09-25 18:03:04] local.INFO: Packet analysis {"connection_id":192376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:04] local.INFO: Extracted packet for processing {"connection_id":192376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763500352,"raw_latitude":98209704,"longitude_deg":76.3500352,"latitude_deg":9.8209704,"altitude":4,"angle":84,"satellites":39,"speed":18,"hex_longitude":"2d821740","hex_latitude":"05da8fa8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326920192001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135933468650504192,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076371705126158336,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339538000,"timestamp_ms":1790339538000,"timestamp_seconds":1790339538,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88d5c50"} 
[2026-09-25 18: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-25 18:03: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-25 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:04] 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-25 18: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-25 18: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-25 18:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326920192001,"66":13374,"71":206,"85":15104,"24":18,"16":135933468650504192,"45":-9076371705126158336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 18:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326920192001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135933468650504192,"km_value":135933468650504.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076371705126158336,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326920192001,"power":13374,"unknown_71":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9076371705126158336}} 
[2026-09-25 18:03:04] 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":896498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:04] local.INFO: GPS data processed {"connection_id":192376,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:04] local.INFO: Acknowledgment sent {"connection_id":192376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:17] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:17] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:17] local.INFO: IMEI packet received {"connection_id":192549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":192549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:03:22] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:22] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:22] local.INFO: IMEI packet received {"connection_id":192549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":192549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:03:25] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:25] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:25] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:03:28] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:28] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:28] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:03:29] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:29] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:03:29] local.INFO: IMEI packet received {"connection_id":192549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":192549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:03:30] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:30] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:03:30] local.INFO: IMEI packet received {"connection_id":192378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":192378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:03:31] local.INFO: TCP Data received {"connection_id":192377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88cd780012d18d980072152580041010f23..."} 
[2026-09-25 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88cd780012d18d980072152580041010f23..."} 
[2026-09-25 18:03:31] local.INFO: Processing buffer {"connection_id":192377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88cd780012d18d980072152580041010f23..."} 
[2026-09-25 18:03:31] local.INFO: Packet analysis {"connection_id":192377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:03:31] local.INFO: Extracted packet for processing {"connection_id":192377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88c"} 
[2026-09-25 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756603264,"raw_latitude":119624280,"longitude_deg":75.6603264,"latitude_deg":11.962428,"altitude":65,"angle":271,"satellites":35,"speed":11,"hex_longitude":"2d18d980","hex_latitude":"07215258","is_valid_coordinates":true} 
[2026-09-25 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326912512001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037521675943936,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044922062848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03: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-25 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339504000,"timestamp_ms":1790339504000,"timestamp_seconds":1790339504,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88cd780"} 
[2026-09-25 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326912512001,"66":14341,"103":206,"83":41984,"24":11,"16":23037521675943936,"45":1791166044922062848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326912512001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037521675943936,"km_value":23037521675943.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044922062848,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326912512001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791166044922062848}} 
[2026-09-25 18:03:31] 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":896499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:31] local.INFO: GPS data processed {"connection_id":192377,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:31] local.INFO: Acknowledgment sent {"connection_id":192377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:31] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:31] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:03:31] local.INFO: Packet analysis {"connection_id":192549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:31] local.INFO: Extracted packet for processing {"connection_id":192549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:31] 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-25 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03: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-25 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":192549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:31] local.INFO: GPS data processed {"connection_id":192549,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:31] local.INFO: Acknowledgment sent {"connection_id":192549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:32] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:32] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:03:32] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:03:32] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:03: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-25 18:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:03:32] 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":896501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:32] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:32] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:32] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:32] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:03:32] local.INFO: IMEI packet received {"connection_id":192379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":192379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:03:33] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88d6420012d821b0005da8f700004006727..."} 
[2026-09-25 18:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88d6420012d821b0005da8f700004006727..."} 
[2026-09-25 18:03:33] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88d6420012d821b0005da8f700004006727..."} 
[2026-09-25 18:03:33] local.INFO: Packet analysis {"connection_id":192379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:33] local.INFO: Extracted packet for processing {"connection_id":192379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763501312,"raw_latitude":98209648,"longitude_deg":76.3501312,"latitude_deg":9.8209648,"altitude":4,"angle":103,"satellites":39,"speed":18,"hex_longitude":"2d821b00","hex_latitude":"05da8f70","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326921728001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135933511600177152,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072712530428712960,"note":"Value kept but may cause issues"} 
[2026-09-25 18:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339540000,"timestamp_ms":1790339540000,"timestamp_seconds":1790339540,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88d6420"} 
[2026-09-25 18: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-25 18:03:33] 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-25 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 18:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326921728001,"66":12374,"71":206,"85":15104,"24":18,"16":135933511600177152,"45":-9072712530428712960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-09-25 18:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326921728001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:03:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-25 18:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135933511600177152,"km_value":135933511600177.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072712530428712960,"description":"Unknown IO ID 45"} 
[2026-09-25 18:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326921728001,"power":12374,"unknown_71":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9072712530428712960}} 
[2026-09-25 18:03:33] 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":896502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:03:33] local.INFO: GPS data processed {"connection_id":192379,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:03:33] local.INFO: Acknowledgment sent {"connection_id":192379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:03:54] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:54] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:54] local.INFO: IMEI packet received {"connection_id":192550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":192550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:03:59] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:59] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:03:59] local.INFO: IMEI packet received {"connection_id":192550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":192550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:00] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88d2988012d18c480072153100043010827..."} 
[2026-09-25 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88d2988012d18c480072153100043010827..."} 
[2026-09-25 18:04:00] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88d2988012d18c480072153100043010827..."} 
[2026-09-25 18:04:00] local.INFO: Packet analysis {"connection_id":192550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:00] local.INFO: Extracted packet for processing {"connection_id":192550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119624464,"longitude_deg":75.6597888,"latitude_deg":11.9624464,"altitude":67,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2d18c480","hex_latitude":"07215310","is_valid_coordinates":true} 
[2026-09-25 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326913024001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23037775079014400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790603094968653824,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339525000,"timestamp_ms":1790339525000,"timestamp_seconds":1790339525,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88d2988"} 
[2026-09-25 18:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04: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-25 18:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6993513597,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2360117249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3633092864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":51201,"corrected_to":0} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3630759936,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503951150284800,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84751315120890189,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.WARNING: Large IO value detected {"io_id":80,"raw_value":18296269227164672,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,216,160,207,45,128,82,65,35,10,66,203,192,81,180,1,240,92,227,33,4,113,205,164,223,168,34,239,56,2,7,206,80],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":203,"original":51201,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 18:04:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684041730441019392,"timestamp_seconds":4684041730441019.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326913024001,"66":14374,"103":206,"83":41984,"24":0,"16":23037775079014400,"45":1790603094968653824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-25 18:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326913024001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 18:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23037775079014400,"km_value":23037775079014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790603094968653824,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326913024001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1790603094968653824}} 
[2026-09-25 18:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":192550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:00] local.INFO: GPS data processed {"connection_id":192550,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:00] local.INFO: Acknowledgment sent {"connection_id":192550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:04] local.INFO: TCP Data received {"connection_id":192378,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:04] local.INFO: Processing buffer {"connection_id":192378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:04] local.INFO: Packet analysis {"connection_id":192378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:04:04] local.INFO: Extracted packet for processing {"connection_id":192378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18: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-25 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:04: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-25 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:04:04] 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":896504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:04] local.INFO: GPS data processed {"connection_id":192378,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:04] local.INFO: Acknowledgment sent {"connection_id":192378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:05] local.INFO: TCP Data received {"connection_id":192379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88e8d00012d824a4005d9d138000500b228..."} 
[2026-09-25 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88e8d00012d824a4005d9d138000500b228..."} 
[2026-09-25 18:04:05] local.INFO: Processing buffer {"connection_id":192379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88e8d00012d824a4005d9d138000500b228..."} 
[2026-09-25 18:04:05] local.INFO: Packet analysis {"connection_id":192379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:05] local.INFO: Extracted packet for processing {"connection_id":192379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763513408,"raw_latitude":98160952,"longitude_deg":76.3513408,"latitude_deg":9.8160952,"altitude":5,"angle":178,"satellites":40,"speed":5,"hex_longitude":"2d824a40","hex_latitude":"05d9d138","is_valid_coordinates":true} 
[2026-09-25 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-25 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326938112001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135935972616437760,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058709150349535232,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339616000,"timestamp_ms":1790339616000,"timestamp_seconds":1790339616,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88e8d00"} 
[2026-09-25 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-25 18:04:05] 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-25 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326938112001,"66":13472,"69":206,"85":15104,"24":5,"16":135935972616437760,"45":-9058709150349535232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326938112001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135935972616437760,"km_value":135935972616437.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058709150349535232,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326938112001,"power":13472,"unknown_69":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9058709150349535232}} 
[2026-09-25 18:04:05] 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":896505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:05] local.INFO: GPS data processed {"connection_id":192379,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:05] local.INFO: Acknowledgment sent {"connection_id":192379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:05] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:05] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:05] local.INFO: Packet analysis {"connection_id":192549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:05] local.INFO: Extracted packet for processing {"connection_id":192549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:05] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 18:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:05] 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-25 18:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 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-25 18:04:05] 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-25 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:05] 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-25 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-25 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-25 18:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":192549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896506,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:06] local.INFO: GPS data processed {"connection_id":192549,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:06] local.INFO: Acknowledgment sent {"connection_id":192549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:17] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:17] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:17] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:04:22] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:22] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:04:22] local.INFO: IMEI packet received {"connection_id":192380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":192380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:23] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:23] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:23] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:23] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:23] 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-25 18:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18: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-25 18:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:23] 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-25 18: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-25 18: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-25 18:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:04:23] 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":896507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:23] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:23] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:24] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:24] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:24] local.INFO: IMEI packet received {"connection_id":192551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":192551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:04:27] local.INFO: TCP Data received {"connection_id":195244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:27] local.INFO: Processing buffer {"connection_id":195244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:27] local.INFO: IMEI packet received {"connection_id":195244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":195244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:04:29] local.INFO: TCP Data received {"connection_id":195244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:30] local.INFO: Processing buffer {"connection_id":195244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:30] local.INFO: IMEI packet received {"connection_id":195244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":195244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:30] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:30] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:04:30] local.INFO: IMEI packet received {"connection_id":192551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:31] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88e69d8012d1821400721a3280049012528..."} 
[2026-09-25 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88e69d8012d1821400721a3280049012528..."} 
[2026-09-25 18:04:31] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88e69d8012d1821400721a3280049012528..."} 
[2026-09-25 18:04:31] local.INFO: Packet analysis {"connection_id":192550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:31] local.INFO: Extracted packet for processing {"connection_id":192550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119644968,"longitude_deg":75.6556096,"latitude_deg":11.9644968,"altitude":73,"angle":293,"satellites":40,"speed":2,"hex_longitude":"2d182140","hex_latitude":"0721a328","is_valid_coordinates":true} 
[2026-09-25 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326935040001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23040098656321536,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630804992,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339607000,"timestamp_ms":1790339607000,"timestamp_seconds":1790339607,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88e69d8"} 
[2026-09-25 18:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326935040001,"66":13993,"105":206,"83":41984,"24":2,"16":23040098656321536,"45":1740359811630804992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326935040001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 18:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23040098656321536,"km_value":23040098656321.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630804992,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326935040001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740359811630804992}} 
[2026-09-25 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":192550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:31] local.INFO: GPS data processed {"connection_id":192550,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:31] local.INFO: Acknowledgment sent {"connection_id":192550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:32] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:32] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:04:32] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:04:32] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04: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-25 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:04:32] local.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-25 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:04:32] 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":896509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:32] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:32] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:32] local.INFO: TCP Data received {"connection_id":195244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:32] local.INFO: Processing buffer {"connection_id":195244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:04:32] local.INFO: IMEI packet received {"connection_id":195244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":195244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:33] local.INFO: TCP Data received {"connection_id":195244,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88e9ca0012d824ac005d9cde0000600a529..."} 
[2026-09-25 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88e9ca0012d824ac005d9cde0000600a529..."} 
[2026-09-25 18:04:33] local.INFO: Processing buffer {"connection_id":195244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88e9ca0012d824ac005d9cde0000600a529..."} 
[2026-09-25 18:04:33] local.INFO: Packet analysis {"connection_id":195244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:33] local.INFO: Extracted packet for processing {"connection_id":195244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763513536,"raw_latitude":98160096,"longitude_deg":76.3513536,"latitude_deg":9.8160096,"altitude":6,"angle":165,"satellites":41,"speed":8,"hex_longitude":"2d824ac0","hex_latitude":"05d9cde0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326941696001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936015566110720,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058357306628950016,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339620000,"timestamp_ms":1790339620000,"timestamp_seconds":1790339620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88e9ca0"} 
[2026-09-25 18: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-25 18:04:33] 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-25 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:33] 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-25 18: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-25 18: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-25 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326941696001,"66":13624,"69":206,"85":15104,"24":8,"16":135936015566110720,"45":-9058357306628950016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-25 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326941696001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:33] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-25 18:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936015566110720,"km_value":135936015566110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058357306628950016,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326941696001,"power":13624,"unknown_69":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9058357306628950016}} 
[2026-09-25 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":195244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:33] local.INFO: GPS data processed {"connection_id":195244,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:33] local.INFO: Acknowledgment sent {"connection_id":195244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:54] local.INFO: TCP Data received {"connection_id":192380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:54] local.INFO: Processing buffer {"connection_id":192380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:04:54] local.INFO: Packet analysis {"connection_id":192380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:54] local.INFO: Extracted packet for processing {"connection_id":192380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:04:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:54] 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-25 18:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:04: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-25 18:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:04:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:04:55] 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":896511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:55] local.INFO: GPS data processed {"connection_id":192380,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:55] local.INFO: Acknowledgment sent {"connection_id":192380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:04:55] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:55] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:55] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:04:58] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:58] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:04:58] local.INFO: IMEI packet received {"connection_id":192381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":192381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:04:59] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88e7978012d1820400721a3d80049013129..."} 
[2026-09-25 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88e7978012d1820400721a3d80049013129..."} 
[2026-09-25 18:04:59] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88e7978012d1820400721a3d80049013129..."} 
[2026-09-25 18:04:59] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:59] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645144,"longitude_deg":75.655584,"latitude_deg":11.9645144,"altitude":73,"angle":305,"satellites":41,"speed":2,"hex_longitude":"2d182040","hex_latitude":"0721a3d8","is_valid_coordinates":true} 
[2026-09-25 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326939392001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23040111541223424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515011584,"note":"Value kept but may cause issues"} 
[2026-09-25 18:04:59] local.INFO: IO Element Parsed {"io_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-25 18:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790339611000,"timestamp_ms":1790339611000,"timestamp_seconds":1790339611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88e7978"} 
[2026-09-25 18:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:04:59] 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-25 18:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 18:04:59] 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-25 18:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326939392001,"66":14374,"105":206,"83":41984,"24":2,"16":23040111541223424,"45":1738741330515011584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-25 18:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326939392001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:04:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-25 18:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23040111541223424,"km_value":23040111541223.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515011584,"description":"Unknown IO ID 45"} 
[2026-09-25 18:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326939392001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738741330515011584}} 
[2026-09-25 18:04:59] 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":896512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:04:59] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:04:59] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:04] local.INFO: TCP Data received {"connection_id":195244,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88ee2f0012d82528005d9aa00000800aa28..."} 
[2026-09-25 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88ee2f0012d82528005d9aa00000800aa28..."} 
[2026-09-25 18:05:04] local.INFO: Processing buffer {"connection_id":195244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88ee2f0012d82528005d9aa00000800aa28..."} 
[2026-09-25 18:05:04] local.INFO: Packet analysis {"connection_id":195244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:05:04] local.INFO: Extracted packet for processing {"connection_id":195244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88e"} 
[2026-09-25 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763515520,"raw_latitude":98150912,"longitude_deg":76.351552,"latitude_deg":9.8150912,"altitude":8,"angle":170,"satellites":40,"speed":36,"hex_longitude":"2d825280","hex_latitude":"05d9aa00","is_valid_coordinates":true} 
[2026-09-25 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326942720001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936470832644096,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058216569140813824,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339638000,"timestamp_ms":1790339638000,"timestamp_seconds":1790339638,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88ee2f0"} 
[2026-09-25 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:05: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-25 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 18:05:04] 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-25 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326942720001,"66":13656,"69":206,"85":15104,"24":36,"16":135936470832644096,"45":-9058216569140813824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326942720001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936470832644096,"km_value":135936470832644.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058216569140813824,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326942720001,"power":13656,"unknown_69":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9058216569140813824}} 
[2026-09-25 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":195244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:04] local.INFO: GPS data processed {"connection_id":195244,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:04] local.INFO: Acknowledgment sent {"connection_id":195244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:04] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:04] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:04] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:04] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18: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-25 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05: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-25 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:05:04] 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":896514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:04] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:04] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:19] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:19] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:19] local.INFO: IMEI packet received {"connection_id":192382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":192382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:05:22] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:22] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:05:22] local.INFO: IMEI packet received {"connection_id":192382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":192382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:05:23] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:23] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:23] local.INFO: Packet analysis {"connection_id":192382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:05:23] local.INFO: Extracted packet for processing {"connection_id":192382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:23] 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-25 18:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18: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-25 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:05:23] 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-25 18: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-25 18: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-25 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:05: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-25 18:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:05:23] 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":896515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:23] local.INFO: GPS data processed {"connection_id":192382,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:23] local.INFO: Acknowledgment sent {"connection_id":192382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:27] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:27] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:27] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:05:29] local.INFO: TCP Data received {"connection_id":195245,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:05:29] local.INFO: Processing buffer {"connection_id":195245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:05:29] local.INFO: IMEI packet received {"connection_id":195245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":195245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:05:30] local.INFO: TCP Data received {"connection_id":195246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:30] local.INFO: Processing buffer {"connection_id":195246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:30] local.INFO: IMEI packet received {"connection_id":195246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":195246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:05:30] local.INFO: TCP Data received {"connection_id":192381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88f7f30012d17dcc0072155f0004600cf2a..."} 
[2026-09-25 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88f7f30012d17dcc0072155f0004600cf2a..."} 
[2026-09-25 18:05:30] local.INFO: Processing buffer {"connection_id":192381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88f7f30012d17dcc0072155f0004600cf2a..."} 
[2026-09-25 18:05:30] local.INFO: Packet analysis {"connection_id":192381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:05:30] local.INFO: Extracted packet for processing {"connection_id":192381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756538560,"raw_latitude":119625200,"longitude_deg":75.653856,"latitude_deg":11.96252,"altitude":70,"angle":207,"satellites":42,"speed":46,"hex_longitude":"2d17dcc0","hex_latitude":"072155f0","is_valid_coordinates":true} 
[2026-09-25 18:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326955520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23041447276052480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724456475443867648,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339678000,"timestamp_ms":1790339678000,"timestamp_seconds":1790339678,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88f7f30"} 
[2026-09-25 18:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 18:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326955520001,"66":14428,"107":206,"83":41984,"24":46,"16":23041447276052480,"45":1724456475443867648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 18:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326955520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:30] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 18:05:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23041447276052480,"km_value":23041447276052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724456475443867648,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326955520001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1724456475443867648}} 
[2026-09-25 18:05:30] 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":896516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:30] local.INFO: GPS data processed {"connection_id":192381,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:30] local.INFO: Acknowledgment sent {"connection_id":192381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:32] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:32] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:05:32] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:05:33] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88f0a00012d825a4005d984d0000a00a727..."} 
[2026-09-25 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88f0a00012d825a4005d984d0000a00a727..."} 
[2026-09-25 18:05:33] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88f0a00012d825a4005d984d0000a00a727..."} 
[2026-09-25 18:05:33] local.INFO: Packet analysis {"connection_id":192552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:05:33] local.INFO: Extracted packet for processing {"connection_id":192552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763517504,"raw_latitude":98141392,"longitude_deg":76.3517504,"latitude_deg":9.8141392,"altitude":10,"angle":167,"satellites":39,"speed":37,"hex_longitude":"2d825a40","hex_latitude":"05d984d0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326947328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135936943279046656,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056035138073657344,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339648000,"timestamp_ms":1790339648000,"timestamp_seconds":1790339648,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88f0a00"} 
[2026-09-25 18: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-25 18:05:33] 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-25 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 18:05:33] 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-25 18: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-25 18: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-25 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326947328001,"66":13678,"69":206,"85":15104,"24":37,"16":135936943279046656,"45":-9056035138073657344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-25 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326947328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:33] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-25 18:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135936943279046656,"km_value":135936943279046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056035138073657344,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326947328001,"power":13678,"unknown_69":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9056035138073657344}} 
[2026-09-25 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":192552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:33] local.INFO: GPS data processed {"connection_id":192552,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:33] local.INFO: Acknowledgment sent {"connection_id":192552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:35] local.INFO: TCP Data received {"connection_id":195246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:35] local.INFO: Processing buffer {"connection_id":195246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:05:35] local.INFO: IMEI packet received {"connection_id":195246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":195246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:05:36] local.INFO: TCP Data received {"connection_id":195246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:36] local.INFO: Processing buffer {"connection_id":195246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:36] local.INFO: Packet analysis {"connection_id":195246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:36] local.INFO: Extracted packet for processing {"connection_id":195246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 18:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 18:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 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-25 18:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:05: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-25 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-25 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-25 18:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05: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-25 18:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 18:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":195246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:36] local.INFO: GPS data processed {"connection_id":195246,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:36] local.INFO: Acknowledgment sent {"connection_id":195246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:40] local.INFO: TCP Data received {"connection_id":195246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:40] local.INFO: Processing buffer {"connection_id":195246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88bd998012d34c14006aa49080013006e2f..."} 
[2026-09-25 18:05:40] local.INFO: Packet analysis {"connection_id":195246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:40] local.INFO: Extracted packet for processing {"connection_id":195246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88b"} 
[2026-09-25 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326819328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790339439000,"timestamp_ms":1790339439000,"timestamp_seconds":1790339439,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88bd998"} 
[2026-09-25 18: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-25 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:05: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-25 18: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-25 18: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-25 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:05:40] local.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-25 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326819328001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326819328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326819328001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":195246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:40] local.INFO: GPS data processed {"connection_id":195246,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:40] local.INFO: Acknowledgment sent {"connection_id":195246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:54] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:54] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:54] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:05:55] local.INFO: TCP Data received {"connection_id":192382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:55] local.INFO: Processing buffer {"connection_id":192382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:05:55] local.INFO: Packet analysis {"connection_id":192382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:05:55] local.INFO: Extracted packet for processing {"connection_id":192382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:05:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:05:55] 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-25 18:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18: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-25 18:05:55] 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-25 18: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-25 18: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-25 18: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-25 18: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-25 18:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:05:55] 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-25 18:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:05:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:05:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:05:55] 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":896520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:05:55] local.INFO: GPS data processed {"connection_id":192382,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:05:55] local.INFO: Acknowledgment sent {"connection_id":192382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:05:55] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:55] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:55] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:05:59] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:59] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:05:59] local.INFO: IMEI packet received {"connection_id":192383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:06:00] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88f9a88012d17c980072136d0004000d728..."} 
[2026-09-25 18:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88f9a88012d17c980072136d0004000d728..."} 
[2026-09-25 18:06:00] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88f9a88012d17c980072136d0004000d728..."} 
[2026-09-25 18:06:00] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:00] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756533632,"raw_latitude":119617232,"longitude_deg":75.6533632,"latitude_deg":11.9617232,"altitude":64,"angle":215,"satellites":40,"speed":55,"hex_longitude":"2d17c980","hex_latitude":"072136d0","is_valid_coordinates":true} 
[2026-09-25 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326957568001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23041898247618560,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719460294605271040,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339685000,"timestamp_ms":1790339685000,"timestamp_seconds":1790339685,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88f9a88"} 
[2026-09-25 18:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:06: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-25 18:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326957568001,"66":14483,"107":206,"83":41984,"24":55,"16":23041898247618560,"45":1719460294605271040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 18:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326957568001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23041898247618560,"km_value":23041898247618.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719460294605271040,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326957568001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1719460294605271040}} 
[2026-09-25 18:06:00] 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":896521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:00] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:00] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:03] local.INFO: TCP Data received {"connection_id":195247,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:06:03] local.INFO: Processing buffer {"connection_id":195247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:06:03] local.INFO: IMEI packet received {"connection_id":195247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":195247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:06:05] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88f3110012d82634005d961e00009009f2a..."} 
[2026-09-25 18:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88f3110012d82634005d961e00009009f2a..."} 
[2026-09-25 18:06:05] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88f3110012d82634005d961e00009009f2a..."} 
[2026-09-25 18:06:05] local.INFO: Packet analysis {"connection_id":192552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:05] local.INFO: Extracted packet for processing {"connection_id":192552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763519808,"raw_latitude":98132448,"longitude_deg":76.3519808,"latitude_deg":9.8132448,"altitude":9,"angle":159,"satellites":42,"speed":32,"hex_longitude":"2d826340","hex_latitude":"05d961e0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326949888001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135937389955645440,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053853707006586880,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339658000,"timestamp_ms":1790339658000,"timestamp_seconds":1790339658,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88f3110"} 
[2026-09-25 18: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-25 18:06:05] 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-25 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:05] 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-25 18: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-25 18: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-25 18:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326949888001,"66":13559,"69":206,"85":15104,"24":32,"16":135937389955645440,"45":-9053853707006586880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-25 18:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326949888001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-25 18:06:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135937389955645440,"km_value":135937389955645.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053853707006586880,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326949888001,"power":13559,"unknown_69":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9053853707006586880}} 
[2026-09-25 18:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":192552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:05] local.INFO: GPS data processed {"connection_id":192552,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:05] local.INFO: Acknowledgment sent {"connection_id":192552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:17] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:17] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:17] local.INFO: IMEI packet received {"connection_id":193919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":193919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:06:24] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:24] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:24] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:06:25] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:25] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:06:25] local.INFO: IMEI packet received {"connection_id":193919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":193919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:06:30] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:30] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:06:30] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:06:30] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:30] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:30] local.INFO: Packet analysis {"connection_id":193919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:06:30] local.INFO: Extracted packet for processing {"connection_id":193919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:30] 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-25 18:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18: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-25 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:30] 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-25 18: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-25 18: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-25 18:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":193919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:06:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:06:30] 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":896523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:30] local.INFO: GPS data processed {"connection_id":193919,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:30] local.INFO: Acknowledgment sent {"connection_id":193919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:31] local.INFO: TCP Data received {"connection_id":192383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88fae10012d17b7c007212150003c00e228..."} 
[2026-09-25 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88fae10012d17b7c007212150003c00e228..."} 
[2026-09-25 18:06:31] local.INFO: Processing buffer {"connection_id":192383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88fae10012d17b7c007212150003c00e228..."} 
[2026-09-25 18:06:31] local.INFO: Packet analysis {"connection_id":192383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:31] local.INFO: Extracted packet for processing {"connection_id":192383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756529088,"raw_latitude":119611728,"longitude_deg":75.6529088,"latitude_deg":11.9611728,"altitude":60,"angle":226,"satellites":40,"speed":54,"hex_longitude":"2d17b7c0","hex_latitude":"07212150","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326959360001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23042241845002240,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1714041901301551104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339690000,"timestamp_ms":1790339690000,"timestamp_seconds":1790339690,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88fae10"} 
[2026-09-25 18: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-25 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326959360001,"66":14483,"107":206,"83":41984,"24":54,"16":23042241845002240,"45":1714041901301551104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326959360001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23042241845002240,"km_value":23042241845002.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1714041901301551104,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326959360001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1714041901301551104}} 
[2026-09-25 18:06:31] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:06:31] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:06:31] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:31] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18: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-25 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:06:31] 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":896524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:31] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:31] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:31] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:31] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:06:31] local.INFO: Packet analysis {"connection_id":193919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:06:31] local.INFO: Extracted packet for processing {"connection_id":193919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:31] 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-25 18:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18: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-25 18:06: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-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:06:31] 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":896525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:31] local.INFO: GPS data processed {"connection_id":192383,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:31] local.INFO: Acknowledgment sent {"connection_id":192383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:31] 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":896526,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:31] local.INFO: GPS data processed {"connection_id":193919,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:31] local.INFO: Acknowledgment sent {"connection_id":193919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:33] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: IMEI packet received {"connection_id":192384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:06:33] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:33] local.INFO: IMEI packet received {"connection_id":192384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":192384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:06:37] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:37] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:06:37] local.INFO: IMEI packet received {"connection_id":192384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":192384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:06:38] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d890cb38012d829cc005d83e98000700b228..."} 
[2026-09-25 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d890cb38012d829cc005d83e98000700b228..."} 
[2026-09-25 18:06:38] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d890cb38012d829cc005d83e98000700b228..."} 
[2026-09-25 18:06:38] local.INFO: Packet analysis {"connection_id":192384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:38] local.INFO: Extracted packet for processing {"connection_id":192384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98057880,"longitude_deg":76.3534528,"latitude_deg":9.805788,"altitude":7,"angle":178,"satellites":40,"speed":21,"hex_longitude":"2d829cc0","hex_latitude":"05d83e98","is_valid_coordinates":true} 
[2026-09-25 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326979328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941113692291072,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621076707328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790339763000,"timestamp_ms":1790339763000,"timestamp_seconds":1790339763,"priority":1,"record_length":96,"hex_timestamp":"000001a0d890cb38"} 
[2026-09-25 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326979328001,"66":13352,"49":206,"85":15104,"24":21,"16":135941113692291072,"45":-9035135621076707328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-25 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326979328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-25 18:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941113692291072,"km_value":135941113692291.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621076707328,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326979328001,"power":13352,"unknown_49":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9035135621076707328}} 
[2026-09-25 18:06:38] 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":896527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:38] local.INFO: GPS data processed {"connection_id":192384,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:38] local.INFO: Acknowledgment sent {"connection_id":192384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:43] local.INFO: TCP Data received {"connection_id":192384,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d890dad8012d829dc005d837a0000700a228..."} 
[2026-09-25 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d890dad8012d829dc005d837a0000700a228..."} 
[2026-09-25 18:06:43] local.INFO: Processing buffer {"connection_id":192384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d890dad8012d829dc005d837a0000700a228..."} 
[2026-09-25 18:06:43] local.INFO: Packet analysis {"connection_id":192384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:43] local.INFO: Extracted packet for processing {"connection_id":192384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98056096,"longitude_deg":76.3534784,"latitude_deg":9.8056096,"altitude":7,"angle":162,"satellites":40,"speed":16,"hex_longitude":"2d829dc0","hex_latitude":"05d837a0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326979328001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941203886604288,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621076707328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790339767000,"timestamp_ms":1790339767000,"timestamp_seconds":1790339767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d890dad8"} 
[2026-09-25 18: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-25 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 18:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326979328001,"66":13450,"49":206,"85":15104,"24":16,"16":135941203886604288,"45":-9035135621076707328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-09-25 18:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326979328001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:06:43] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-25 18:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941203886604288,"km_value":135941203886604.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621076707328,"description":"Unknown IO ID 45"} 
[2026-09-25 18:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326979328001,"power":13450,"unknown_49":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9035135621076707328}} 
[2026-09-25 18:06:43] 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":896528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:06:43] local.INFO: GPS data processed {"connection_id":192384,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:06:43] local.INFO: Acknowledgment sent {"connection_id":192384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:06:54] local.INFO: TCP Data received {"connection_id":195248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:54] local.INFO: Processing buffer {"connection_id":195248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:54] local.INFO: IMEI packet received {"connection_id":195248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":195248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:06:59] local.INFO: TCP Data received {"connection_id":195248,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:59] local.INFO: Processing buffer {"connection_id":195248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:06:59] local.INFO: IMEI packet received {"connection_id":195248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":195248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:07:00] local.INFO: TCP Data received {"connection_id":195248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88fcd50012d1799c007210878003e00ea26..."} 
[2026-09-25 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88fcd50012d1799c007210878003e00ea26..."} 
[2026-09-25 18:07:00] local.INFO: Processing buffer {"connection_id":195248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88fcd50012d1799c007210878003e00ea26..."} 
[2026-09-25 18:07:00] local.INFO: Packet analysis {"connection_id":195248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:07:00] local.INFO: Extracted packet for processing {"connection_id":195248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88f"} 
[2026-09-25 18:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756521408,"raw_latitude":119605368,"longitude_deg":75.6521408,"latitude_deg":11.9605368,"altitude":62,"angle":234,"satellites":38,"speed":41,"hex_longitude":"2d1799c0","hex_latitude":"07210878","is_valid_coordinates":true} 
[2026-09-25 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326960640001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23042722881339392,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709045720463527936,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339698000,"timestamp_ms":1790339698000,"timestamp_seconds":1790339698,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88fcd50"} 
[2026-09-25 18:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07: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-25 18:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326960640001,"66":14461,"107":206,"83":41984,"24":41,"16":23042722881339392,"45":1709045720463527936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-25 18:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326960640001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-25 18:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23042722881339392,"km_value":23042722881339.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709045720463527936,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326960640001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1709045720463527936}} 
[2026-09-25 18:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":195248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:00] local.INFO: GPS data processed {"connection_id":195248,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:00] local.INFO: Acknowledgment sent {"connection_id":195248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:03] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:03] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:03] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:03] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07: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-25 18:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:07: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-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:07:03] 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":896530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:03] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:03] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:04] local.INFO: TCP Data received {"connection_id":193919,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:04] local.INFO: Processing buffer {"connection_id":193919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:04] local.INFO: Packet analysis {"connection_id":193919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:04] local.INFO: Extracted packet for processing {"connection_id":193919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:04] 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-25 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:04] 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-25 18:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:04] 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-25 18:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:07:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:07:04] 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":896531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:04] local.INFO: GPS data processed {"connection_id":193919,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:04] local.INFO: Acknowledgment sent {"connection_id":193919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:17] local.INFO: TCP Data received {"connection_id":195249,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:17] local.INFO: Processing buffer {"connection_id":195249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:17] local.INFO: IMEI packet received {"connection_id":195249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":195249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:07:24] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:24] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:24] local.INFO: IMEI packet received {"connection_id":193920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":193920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:07:25] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:25] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:25] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:07:27] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:27] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:27] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:07:30] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:30] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:07:30] local.INFO: IMEI packet received {"connection_id":193920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":193920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:07:30] local.INFO: TCP Data received {"connection_id":195249,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:30] local.INFO: Processing buffer {"connection_id":195249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:07:30] local.INFO: IMEI packet received {"connection_id":195249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":195249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:07:31] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:31] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:07:31] local.INFO: Packet analysis {"connection_id":193920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:31] local.INFO: Extracted packet for processing {"connection_id":193920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07: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-25 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:07: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-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:07:31] local.INFO: TCP Data received {"connection_id":195249,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:31] 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":896532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:31] local.INFO: GPS data processed {"connection_id":193920,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:31] local.INFO: Acknowledgment sent {"connection_id":193920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:31] local.INFO: Processing buffer {"connection_id":195249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:31] local.INFO: Packet analysis {"connection_id":195249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:31] local.INFO: Extracted packet for processing {"connection_id":195249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] 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-25 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:31] local.INFO: GPS data processed {"connection_id":195249,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:31] local.INFO: Acknowledgment sent {"connection_id":195249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:31] local.INFO: TCP Data received {"connection_id":195248,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8913898012d164200071ff0c8002800f526..."} 
[2026-09-25 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8913898012d164200071ff0c8002800f526..."} 
[2026-09-25 18:07:31] local.INFO: Processing buffer {"connection_id":195248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8913898012d164200071ff0c8002800f526..."} 
[2026-09-25 18:07:31] local.INFO: Packet analysis {"connection_id":195248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:07:31] local.INFO: Extracted packet for processing {"connection_id":195248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756433408,"raw_latitude":119533768,"longitude_deg":75.6433408,"latitude_deg":11.9533768,"altitude":40,"angle":245,"satellites":38,"speed":22,"hex_longitude":"2d164200","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-09-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326983936001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048216144510976,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613414597107128320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339791000,"timestamp_ms":1790339791000,"timestamp_seconds":1790339791,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8913898"} 
[2026-09-25 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:31] 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-25 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:31] 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-25 18:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326983936001,"66":14233,"87":206,"83":41984,"24":22,"16":23048216144510976,"45":1613414597107128320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326983936001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048216144510976,"km_value":23048216144510.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613414597107128320,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326983936001,"power":14233,"unknown_87":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1613414597107128320}} 
[2026-09-25 18:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:31] local.INFO: GPS data processed {"connection_id":195248,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:31] local.INFO: Acknowledgment sent {"connection_id":195248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:32] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:32] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:07:32] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:07:33] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d890ea78012d829f0005d832c0000700b228..."} 
[2026-09-25 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d890ea78012d829f0005d832c0000700b228..."} 
[2026-09-25 18:07:33] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d890ea78012d829f0005d832c0000700b228..."} 
[2026-09-25 18:07:33] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:33] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98054848,"longitude_deg":76.3535104,"latitude_deg":9.8054848,"altitude":7,"angle":178,"satellites":40,"speed":8,"hex_longitude":"2d829f00","hex_latitude":"05d832c0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326980352001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941264016146432,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146100453376,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339771000,"timestamp_ms":1790339771000,"timestamp_seconds":1790339771,"priority":1,"record_length":96,"hex_timestamp":"000001a0d890ea78"} 
[2026-09-25 18: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-25 18:07:33] 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-25 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:33] 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-25 18: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-25 18: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-25 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326980352001,"66":13363,"47":206,"85":15104,"24":8,"16":135941264016146432,"45":-9034854146100453376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-25 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326980352001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:33] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-25 18:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941264016146432,"km_value":135941264016146.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146100453376,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326980352001,"power":13363,"unknown_47":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9034854146100453376}} 
[2026-09-25 18:07:33] 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":896535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:33] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:33] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:37] local.INFO: TCP Data received {"connection_id":195249,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:37] local.INFO: Processing buffer {"connection_id":195249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d88de120012d0b10c007029f100014013d21..."} 
[2026-09-25 18:07:37] local.INFO: Packet analysis {"connection_id":195249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:37] local.INFO: Extracted packet for processing {"connection_id":195249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d88d"} 
[2026-09-25 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":20,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326853376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:07:37] 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-25 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790339572000,"timestamp_ms":1790339572000,"timestamp_seconds":1790339572,"priority":1,"record_length":96,"hex_timestamp":"000001a0d88de120"} 
[2026-09-25 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:07:37] 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-25 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:07:37] 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-25 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326853376001,"66":12711,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326853376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:07:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:07:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326853376001,"power":12711,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":195249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:07:38] local.INFO: GPS data processed {"connection_id":195249,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:07:38] local.INFO: Acknowledgment sent {"connection_id":195249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:07:54] local.INFO: TCP Data received {"connection_id":195250,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:54] local.INFO: Processing buffer {"connection_id":195250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:54] local.INFO: IMEI packet received {"connection_id":195250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":195250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:07:58] local.INFO: TCP Data received {"connection_id":195250,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:58] local.INFO: Processing buffer {"connection_id":195250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:07:58] local.INFO: IMEI packet received {"connection_id":195250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":195250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:03] local.INFO: TCP Data received {"connection_id":193920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:03] local.INFO: Processing buffer {"connection_id":193920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:03] local.INFO: Packet analysis {"connection_id":193920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:08:03] local.INFO: Extracted packet for processing {"connection_id":193920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08: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-25 18:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:08: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-25 18:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:08:03] 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":896537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:03] local.INFO: GPS data processed {"connection_id":193920,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:03] local.INFO: Acknowledgment sent {"connection_id":193920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:04] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8913898012d829f0005d83208000600b228..."} 
[2026-09-25 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8913898012d829f0005d83208000600b228..."} 
[2026-09-25 18:08:04] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8913898012d829f0005d83208000600b228..."} 
[2026-09-25 18:08:04] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:04] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98054664,"longitude_deg":76.3535104,"latitude_deg":9.8054664,"altitude":6,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d829f00","hex_latitude":"05d83208","is_valid_coordinates":true} 
[2026-09-25 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326981376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941276901048320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302379884544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339791000,"timestamp_ms":1790339791000,"timestamp_seconds":1790339791,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8913898"} 
[2026-09-25 18:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:08:04] 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-25 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326981376001,"66":13689,"155":206,"85":15104,"24":0,"16":135941276901048320,"45":-9034502302379884544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-25 18:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326981376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941276901048320,"km_value":135941276901048.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302379884544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326981376001,"power":13689,"unknown_155":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034502302379884544}} 
[2026-09-25 18:08:04] 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":896538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:04] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:04] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:05] local.INFO: TCP Data received {"connection_id":195250,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:05] local.INFO: Processing buffer {"connection_id":195250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:05] local.INFO: IMEI packet received {"connection_id":195250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":195250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:08] local.INFO: TCP Data received {"connection_id":195250,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89153f0012d163a00071fecb0002800e927..."} 
[2026-09-25 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89153f0012d163a00071fecb0002800e927..."} 
[2026-09-25 18:08:08] local.INFO: Processing buffer {"connection_id":195250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89153f0012d163a00071fecb0002800e927..."} 
[2026-09-25 18:08:08] local.INFO: Packet analysis {"connection_id":195250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:08] local.INFO: Extracted packet for processing {"connection_id":195250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756431360,"raw_latitude":119532720,"longitude_deg":75.643136,"latitude_deg":11.953272,"altitude":40,"angle":233,"satellites":39,"speed":7,"hex_longitude":"2d163a00","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326986496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048327813660672,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1603844447897962496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790339798000,"timestamp_ms":1790339798000,"timestamp_seconds":1790339798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89153f0"} 
[2026-09-25 18: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-25 18:08:08] 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-25 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:08] 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-25 18: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-25 18: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-25 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326986496001,"66":14428,"87":206,"83":41984,"24":7,"16":23048327813660672,"45":1603844447897962496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326986496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048327813660672,"km_value":23048327813660.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1603844447897962496,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326986496001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1603844447897962496}} 
[2026-09-25 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":195250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:08] local.INFO: GPS data processed {"connection_id":195250,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:08] local.INFO: Acknowledgment sent {"connection_id":195250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:09] local.INFO: TCP Data received {"connection_id":195250,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8916390012d163800071feb38002700f527..."} 
[2026-09-25 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8916390012d163800071feb38002700f527..."} 
[2026-09-25 18:08:09] local.INFO: Processing buffer {"connection_id":195250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8916390012d163800071feb38002700f527..."} 
[2026-09-25 18:08:09] local.INFO: Packet analysis {"connection_id":195250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:09] local.INFO: Extracted packet for processing {"connection_id":195250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":119532344,"longitude_deg":75.6430848,"latitude_deg":11.9532344,"altitude":39,"angle":245,"satellites":39,"speed":7,"hex_longitude":"2d163800","hex_latitude":"071feb38","is_valid_coordinates":true} 
[2026-09-25 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326988288001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048357878431744,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601592648084008960,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790339802000,"timestamp_ms":1790339802000,"timestamp_seconds":1790339802,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8916390"} 
[2026-09-25 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:08: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-25 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:08: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-25 18:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326988288001,"66":14374,"87":206,"83":41984,"24":7,"16":23048357878431744,"45":1601592648084008960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326988288001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 18:08:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048357878431744,"km_value":23048357878431.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601592648084008960,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326988288001,"power":14374,"unknown_87":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1601592648084008960}} 
[2026-09-25 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":195250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:09] local.INFO: GPS data processed {"connection_id":195250,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:09] local.INFO: Acknowledgment sent {"connection_id":195250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:24] local.INFO: TCP Data received {"connection_id":193921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193921,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:24] local.INFO: Processing buffer {"connection_id":193921,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:24] local.INFO: IMEI packet received {"connection_id":193921,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":193921,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:08:24] local.INFO: TCP Data received {"connection_id":193922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:24] local.INFO: Processing buffer {"connection_id":193922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:24] local.INFO: IMEI packet received {"connection_id":193922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":193922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:08:25] local.INFO: TCP Data received {"connection_id":195252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:25] local.INFO: Processing buffer {"connection_id":195252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:25] local.INFO: IMEI packet received {"connection_id":195252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":195252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:08:27] local.INFO: TCP Data received {"connection_id":195252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:27] local.INFO: Processing buffer {"connection_id":195252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:27] local.INFO: IMEI packet received {"connection_id":195252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":195252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:28] local.INFO: TCP Data received {"connection_id":193921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193921,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:28] local.INFO: Processing buffer {"connection_id":193921,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:08:28] local.INFO: IMEI packet received {"connection_id":193921,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":193921,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:28] local.INFO: TCP Data received {"connection_id":193921,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:28] local.INFO: Processing buffer {"connection_id":193921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:28] local.INFO: Packet analysis {"connection_id":193921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:08:28] local.INFO: Extracted packet for processing {"connection_id":193921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:28] 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-25 18:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18: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-25 18:08:28] 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-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:28] 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-25 18: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-25 18: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-25 18:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:08:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":193921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:29] local.INFO: GPS data processed {"connection_id":193921,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:29] local.INFO: Acknowledgment sent {"connection_id":193921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:30] local.INFO: TCP Data received {"connection_id":193922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:30] local.INFO: Processing buffer {"connection_id":193922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:08:30] local.INFO: IMEI packet received {"connection_id":193922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":193922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:31] local.INFO: TCP Data received {"connection_id":193922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:31] local.INFO: Processing buffer {"connection_id":193922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:08:31] local.INFO: Packet analysis {"connection_id":193922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:08:31] local.INFO: Extracted packet for processing {"connection_id":193922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08: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-25 18:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:08: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-25 18:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":193922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:31] local.INFO: GPS data processed {"connection_id":193922,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:31] local.INFO: Acknowledgment sent {"connection_id":193922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:32] local.INFO: TCP Data received {"connection_id":195252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:32] local.INFO: Processing buffer {"connection_id":195252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:08:32] local.INFO: IMEI packet received {"connection_id":195252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":195252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:33] local.INFO: TCP Data received {"connection_id":193921,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:33] local.INFO: Processing buffer {"connection_id":193921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:08:33] local.INFO: Packet analysis {"connection_id":193921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:08:33] local.INFO: Extracted packet for processing {"connection_id":193921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:33] 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-25 18:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18: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-25 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:33] 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-25 18: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-25 18: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-25 18:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193921,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:08:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":193921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:33] local.INFO: GPS data processed {"connection_id":193921,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:33] local.INFO: Acknowledgment sent {"connection_id":193921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:34] local.INFO: TCP Data received {"connection_id":195252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89182d0012d829f0005d80e40000800ae29..."} 
[2026-09-25 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89182d0012d829f0005d80e40000800ae29..."} 
[2026-09-25 18:08:34] local.INFO: Processing buffer {"connection_id":195252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89182d0012d829f0005d80e40000800ae29..."} 
[2026-09-25 18:08:34] local.INFO: Packet analysis {"connection_id":195252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:34] local.INFO: Extracted packet for processing {"connection_id":195252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98045504,"longitude_deg":76.3535104,"latitude_deg":9.8045504,"altitude":8,"angle":174,"satellites":41,"speed":31,"hex_longitude":"2d829f00","hex_latitude":"05d80e40","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326986496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135941723577647104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302379931648,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790339810000,"timestamp_ms":1790339810000,"timestamp_seconds":1790339810,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89182d0"} 
[2026-09-25 18: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-25 18:08:34] 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-25 18: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326986496001,"66":13646,"155":206,"85":15104,"24":31,"16":135941723577647104,"45":-9034502302379931648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-25 18:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326986496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135941723577647104,"km_value":135941723577647.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302379931648,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326986496001,"power":13646,"unknown_155":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9034502302379931648}} 
[2026-09-25 18:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":195252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:34] local.INFO: GPS data processed {"connection_id":195252,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:34] local.INFO: Acknowledgment sent {"connection_id":195252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:08:54] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:54] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:54] local.INFO: IMEI packet received {"connection_id":192556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":192556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:08:57] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:57] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:57] local.INFO: IMEI packet received {"connection_id":192556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":192556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:59] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:59] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:08:59] local.INFO: IMEI packet received {"connection_id":192556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":192556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:08:59] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8918e88012d162000071fe2780025010228..."} 
[2026-09-25 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8918e88012d162000071fe2780025010228..."} 
[2026-09-25 18:08:59] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8918e88012d162000071fe2780025010228..."} 
[2026-09-25 18:08:59] local.INFO: Packet analysis {"connection_id":192556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:59] local.INFO: Extracted packet for processing {"connection_id":192556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d891"} 
[2026-09-25 18:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756424704,"raw_latitude":119530104,"longitude_deg":75.6424704,"latitude_deg":11.9530104,"altitude":37,"angle":258,"satellites":40,"speed":28,"hex_longitude":"2d162000","hex_latitude":"071fe278","is_valid_coordinates":true} 
[2026-09-25 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326989312001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23048667116077056,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029698130491392,"note":"Value kept but may cause issues"} 
[2026-09-25 18:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790339813000,"timestamp_ms":1790339813000,"timestamp_seconds":1790339813,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8918e88"} 
[2026-09-25 18:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:08:59] 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-25 18:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:08:59] 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-25 18:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326989312001,"66":14396,"87":206,"83":41984,"24":28,"16":23048667116077056,"45":1601029698130491392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 18:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326989312001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 18:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23048667116077056,"km_value":23048667116077.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029698130491392,"description":"Unknown IO ID 45"} 
[2026-09-25 18:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326989312001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1601029698130491392}} 
[2026-09-25 18:08:59] 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":896545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:08:59] local.INFO: GPS data processed {"connection_id":192556,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:08:59] local.INFO: Acknowledgment sent {"connection_id":192556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:04] local.INFO: TCP Data received {"connection_id":193922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:04] local.INFO: Processing buffer {"connection_id":193922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:04] local.INFO: Packet analysis {"connection_id":193922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:04] local.INFO: Extracted packet for processing {"connection_id":193922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09: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-25 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:09: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-25 18:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09: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-25 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:09: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-25 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":193922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:04] local.INFO: GPS data processed {"connection_id":193922,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:04] local.INFO: Acknowledgment sent {"connection_id":193922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:05] local.INFO: TCP Data received {"connection_id":195252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:05] local.INFO: Processing buffer {"connection_id":195252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:05] local.INFO: Packet analysis {"connection_id":195252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:05] local.INFO: Extracted packet for processing {"connection_id":195252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97956384,"longitude_deg":76.3541952,"latitude_deg":9.7956384,"altitude":9,"angle":186,"satellites":39,"speed":37,"hex_longitude":"2d82b9c0","hex_latitude":"05d6b220","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327021568001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135946065789583360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026832109287270400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790339938000,"timestamp_ms":1790339938000,"timestamp_seconds":1790339938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89376d0"} 
[2026-09-25 18: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-25 18:09:05] 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-25 18: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 18:09:05] 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-25 18: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-25 18: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-25 18:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327021568001,"66":13374,"156":206,"85":15104,"24":37,"16":135946065789583360,"45":-9026832109287270400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 18:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327021568001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135946065789583360,"km_value":135946065789583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026832109287270400,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327021568001,"power":13374,"unknown_156":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9026832109287270400}} 
[2026-09-25 18:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":195252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:05] local.INFO: GPS data processed {"connection_id":195252,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:05] local.INFO: Acknowledgment sent {"connection_id":195252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:19] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:19] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:19] local.INFO: IMEI packet received {"connection_id":192558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":192558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:09:23] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:23] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:09:23] local.INFO: IMEI packet received {"connection_id":192558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":192558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:09:24] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:24] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:24] local.INFO: Packet analysis {"connection_id":192558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:09:24] local.INFO: Extracted packet for processing {"connection_id":192558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:24] 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-25 18:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:09:24] 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-25 18:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:09:24] 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-25 18:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:09:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":192558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:24] local.INFO: GPS data processed {"connection_id":192558,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:24] local.INFO: Acknowledgment sent {"connection_id":192558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:27] local.INFO: TCP Data received {"connection_id":195253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:27] local.INFO: Processing buffer {"connection_id":195253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:27] local.INFO: IMEI packet received {"connection_id":195253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":195253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:09:30] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:30] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:30] local.INFO: IMEI packet received {"connection_id":193923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":193923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:09:30] local.INFO: TCP Data received {"connection_id":192556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8934020012d14ac00071f7c40003600f223..."} 
[2026-09-25 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8934020012d14ac00071f7c40003600f223..."} 
[2026-09-25 18:09:30] local.INFO: Processing buffer {"connection_id":192556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8934020012d14ac00071f7c40003600f223..."} 
[2026-09-25 18:09:30] local.INFO: Packet analysis {"connection_id":192556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:30] local.INFO: Extracted packet for processing {"connection_id":192556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756329472,"raw_latitude":119503936,"longitude_deg":75.6329472,"latitude_deg":11.9503936,"altitude":54,"angle":242,"satellites":35,"speed":45,"hex_longitude":"2d14ac00","hex_latitude":"071f7c40","is_valid_coordinates":true} 
[2026-09-25 18:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327018240001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23053473184481280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498854281578113024,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790339924000,"timestamp_ms":1790339924000,"timestamp_seconds":1790339924,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8934020"} 
[2026-09-25 18:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:09: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-25 18:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 18:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327018240001,"66":14004,"11":206,"83":41984,"24":45,"16":23053473184481280,"45":1498854281578113024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327018240001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23053473184481280,"km_value":23053473184481.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498854281578113024,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327018240001,"power":14004,"unknown_11":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1498854281578113024}} 
[2026-09-25 18:09:30] 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":896549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:30] local.INFO: GPS data processed {"connection_id":192556,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:30] local.INFO: Acknowledgment sent {"connection_id":192556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:32] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:32] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:09:32] local.INFO: Packet analysis {"connection_id":192558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:09:32] local.INFO: Extracted packet for processing {"connection_id":192558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:09:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:32] 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-25 18:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:09:32] 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-25 18:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:09:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":192558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:32] local.INFO: GPS data processed {"connection_id":192558,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:32] local.INFO: Acknowledgment sent {"connection_id":192558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:32] local.INFO: TCP Data received {"connection_id":195253,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:32] local.INFO: Processing buffer {"connection_id":195253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:09:32] local.INFO: IMEI packet received {"connection_id":195253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":195253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:09:33] local.INFO: TCP Data received {"connection_id":195253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:33] local.INFO: Processing buffer {"connection_id":195253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89376d0012d82b9c005d6b220000900ba27..."} 
[2026-09-25 18:09:33] local.INFO: Packet analysis {"connection_id":195253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:33] local.INFO: Extracted packet for processing {"connection_id":195253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97956384,"longitude_deg":76.3541952,"latitude_deg":9.7956384,"altitude":9,"angle":186,"satellites":39,"speed":37,"hex_longitude":"2d82b9c0","hex_latitude":"05d6b220","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327024128001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135946065789583360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846778081280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339938000,"timestamp_ms":1790339938000,"timestamp_seconds":1790339938,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89376d0"} 
[2026-09-25 18: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-25 18:09:33] 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-25 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 18:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327024128001,"66":13374,"156":206,"85":15104,"24":37,"16":135946065789583360,"45":-9026972846778081280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327024128001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135946065789583360,"km_value":135946065789583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846778081280,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327024128001,"power":13374,"unknown_156":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9026972846778081280}} 
[2026-09-25 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":195253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:33] local.INFO: GPS data processed {"connection_id":195253,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:33] local.INFO: Acknowledgment sent {"connection_id":195253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:35] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:35] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:09:35] local.INFO: IMEI packet received {"connection_id":193923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":193923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:09:37] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:37] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:37] local.INFO: Packet analysis {"connection_id":193923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:37] local.INFO: Extracted packet for processing {"connection_id":193923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:09: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-25 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":193923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:09: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-25 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:09:37] 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":896552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:37] local.INFO: GPS data processed {"connection_id":193923,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:37] local.INFO: Acknowledgment sent {"connection_id":193923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:40] local.INFO: TCP Data received {"connection_id":193923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:40] local.INFO: Processing buffer {"connection_id":193923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:09:40] local.INFO: Packet analysis {"connection_id":193923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:40] local.INFO: Extracted packet for processing {"connection_id":193923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18: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-25 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:09: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-25 18: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-25 18: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-25 18:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:09:40] local.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-25 18:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:09:40] 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":896553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:09:40] local.INFO: GPS data processed {"connection_id":193923,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:09:40] local.INFO: Acknowledgment sent {"connection_id":193923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:09:59] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:09:59] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:09:59] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:10:03] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:03] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:03] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:03] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:03] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:03] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:03] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756321408,"raw_latitude":119498664,"longitude_deg":75.6321408,"latitude_deg":11.9498664,"altitude":50,"angle":230,"satellites":36,"speed":46,"hex_longitude":"2d148c80","hex_latitude":"071f67a8","is_valid_coordinates":true} 
[2026-09-25 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327020544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23053932745981952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1489565607345799168,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790339932000,"timestamp_ms":1790339932000,"timestamp_seconds":1790339932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8935f60"} 
[2026-09-25 18:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:10:03] 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-25 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:03] 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-25 18:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327020544001,"66":14515,"11":206,"83":41984,"24":46,"16":23053932745981952,"45":1489565607345799168},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327020544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:03] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23053932745981952,"km_value":23053932745981.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1489565607345799168,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327020544001,"power":14515,"unknown_11":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1489565607345799168}} 
[2026-09-25 18:10:04] 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":896554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:04] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:04] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:04] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:04] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8935f60012d148c80071f67a8003200e624..."} 
[2026-09-25 18:10:04] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:04] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756321408,"raw_latitude":119498664,"longitude_deg":75.6321408,"latitude_deg":11.9498664,"altitude":50,"angle":230,"satellites":36,"speed":46,"hex_longitude":"2d148c80","hex_latitude":"071f67a8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327022592001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23053932745981952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480699145578063872,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339932000,"timestamp_ms":1790339932000,"timestamp_seconds":1790339932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8935f60"} 
[2026-09-25 18: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-25 18:10:04] 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-25 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:04] 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-25 18: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-25 18: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-25 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327022592001,"66":14515,"11":206,"83":41984,"24":46,"16":23053932745981952,"45":1480699145578063872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327022592001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23053932745981952,"km_value":23053932745981.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480699145578063872,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327022592001,"power":14515,"unknown_11":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1480699145578063872}} 
[2026-09-25 18:10:04] 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":896555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:04] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:04] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:04] local.INFO: TCP Data received {"connection_id":195253,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8938a58012d82b94005d6a0d0000800ad28..."} 
[2026-09-25 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8938a58012d82b94005d6a0d0000800ad28..."} 
[2026-09-25 18:10:04] local.INFO: Processing buffer {"connection_id":195253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8938a58012d82b94005d6a0d0000800ad28..."} 
[2026-09-25 18:10:04] local.INFO: Packet analysis {"connection_id":195253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:04] local.INFO: Extracted packet for processing {"connection_id":195253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763541824,"raw_latitude":97951952,"longitude_deg":76.3541824,"latitude_deg":9.7951952,"altitude":8,"angle":173,"satellites":40,"speed":34,"hex_longitude":"2d82b940","hex_latitude":"05d6a0d0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327024128001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135946280537948160,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846778081280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790339943000,"timestamp_ms":1790339943000,"timestamp_seconds":1790339943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8938a58"} 
[2026-09-25 18: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-25 18:10: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-25 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327024128001,"66":13135,"156":206,"85":15104,"24":34,"16":135946280537948160,"45":-9026972846778081280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-09-25 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327024128001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135946280537948160,"km_value":135946280537948.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846778081280,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327024128001,"power":13135,"unknown_156":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9026972846778081280}} 
[2026-09-25 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":195253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:04] local.INFO: GPS data processed {"connection_id":195253,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:04] local.INFO: Acknowledgment sent {"connection_id":195253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:17] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:17] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:17] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:10:25] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:25] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:10:25] local.INFO: IMEI packet received {"connection_id":192386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":192386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:26] local.INFO: TCP Data received {"connection_id":195254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:26] local.INFO: Processing buffer {"connection_id":195254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:26] local.INFO: IMEI packet received {"connection_id":195254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":195254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:10:26] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:10:26] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:10:26] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:10:26] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:10:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:26] 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-25 18:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:10:26] 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-25 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:26] 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-25 18:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:10:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:10:27] 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":896557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:27] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:27] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:27] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:27] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:27] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:10:28] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:28] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:28] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:30] local.INFO: TCP Data received {"connection_id":192387,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:30] local.INFO: Processing buffer {"connection_id":192387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:10:30] local.INFO: IMEI packet received {"connection_id":192387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":192387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:31] local.INFO: TCP Data received {"connection_id":195254,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:31] local.INFO: Processing buffer {"connection_id":195254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:10:31] local.INFO: IMEI packet received {"connection_id":195254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":195254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:32] local.INFO: TCP Data received {"connection_id":195254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:32] local.INFO: Processing buffer {"connection_id":195254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:32] local.INFO: Packet analysis {"connection_id":195254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:10:32] local.INFO: Extracted packet for processing {"connection_id":195254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":195254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:32] local.INFO: GPS data processed {"connection_id":195254,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:32] local.INFO: Acknowledgment sent {"connection_id":195254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:36] local.INFO: TCP Data received {"connection_id":195254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:36] local.INFO: Processing buffer {"connection_id":195254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:10:36] local.INFO: Packet analysis {"connection_id":195254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:10:36] local.INFO: Extracted packet for processing {"connection_id":195254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:10: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-25 18:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18: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-25 18:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":195254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:36] local.INFO: GPS data processed {"connection_id":195254,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:36] local.INFO: Acknowledgment sent {"connection_id":195254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:45] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8938288012d146dc0071f5128002e00f025..."} 
[2026-09-25 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8938288012d146dc0071f5128002e00f025..."} 
[2026-09-25 18:10:45] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8938288012d146dc0071f5128002e00f025..."} 
[2026-09-25 18:10:45] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:45] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756313536,"raw_latitude":119492904,"longitude_deg":75.6313536,"latitude_deg":11.9492904,"altitude":46,"angle":240,"satellites":37,"speed":43,"hex_longitude":"2d146dc0","hex_latitude":"071f5128","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327022592001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23054400897417216,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480699145578063872,"note":"Value kept but may cause issues"} 
[2026-09-25 18:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790339941000,"timestamp_ms":1790339941000,"timestamp_seconds":1790339941,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8938288"} 
[2026-09-25 18: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-25 18:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-25 18:10:45] 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-25 18: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-25 18: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-25 18:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327022592001,"66":14157,"11":206,"83":41984,"24":43,"16":23054400897417216,"45":1480699145578063872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327022592001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:10:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23054400897417216,"km_value":23054400897417.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480699145578063872,"description":"Unknown IO ID 45"} 
[2026-09-25 18:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327022592001,"power":14157,"unknown_11":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1480699145578063872}} 
[2026-09-25 18:10:45] 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":896560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:10:45] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:10:45] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:10:54] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:10:54] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:54] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:10:58] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:58] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:10:58] local.INFO: IMEI packet received {"connection_id":192388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":192388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:11:00] local.INFO: TCP Data received {"connection_id":192386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:00] local.INFO: Processing buffer {"connection_id":192386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:00] local.INFO: Packet analysis {"connection_id":192386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:00] local.INFO: Extracted packet for processing {"connection_id":192386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] 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-25 18:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11: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-25 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:00] 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-25 18:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:11:00] 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":896561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:00] local.INFO: GPS data processed {"connection_id":192386,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:00] local.INFO: Acknowledgment sent {"connection_id":192386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:00] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89399f8012d1455c0071f4640002c00fc26..."} 
[2026-09-25 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89399f8012d1455c0071f4640002c00fc26..."} 
[2026-09-25 18:11:00] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89399f8012d1455c0071f4640002c00fc26..."} 
[2026-09-25 18:11:00] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:11:00] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756307392,"raw_latitude":119490112,"longitude_deg":75.6307392,"latitude_deg":11.9490112,"altitude":44,"angle":252,"satellites":38,"speed":47,"hex_longitude":"2d1455c0","hex_latitude":"071f4640","is_valid_coordinates":true} 
[2026-09-25 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327024896001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23054723019964416,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1472043790042736640,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790339947000,"timestamp_ms":1790339947000,"timestamp_seconds":1790339947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89399f8"} 
[2026-09-25 18:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11: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-25 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:00] 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-25 18:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327024896001,"66":14135,"11":206,"83":41984,"24":47,"16":23054723019964416,"45":1472043790042736640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327024896001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23054723019964416,"km_value":23054723019964.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1472043790042736640,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327024896001,"power":14135,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1472043790042736640}} 
[2026-09-25 18:11:00] 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":896562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:00] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:00] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:08] local.INFO: TCP Data received {"connection_id":195254,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:11:08] local.INFO: Processing buffer {"connection_id":195254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8907160012d34c14006aa4908000f006e2f..."} 
[2026-09-25 18:11:08] local.INFO: Packet analysis {"connection_id":195254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:11:08] local.INFO: Extracted packet for processing {"connection_id":195254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d890"} 
[2026-09-25 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326896384001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790339740000,"timestamp_ms":1790339740000,"timestamp_seconds":1790339740,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8907160"} 
[2026-09-25 18: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-25 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:11: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-25 18: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-25 18: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-25 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:11: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-25 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326896384001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326896384001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326896384001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":195254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:08] local.INFO: GPS data processed {"connection_id":195254,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:08] local.INFO: Acknowledgment sent {"connection_id":195254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:22] local.INFO: TCP Data received {"connection_id":195255,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:22] local.INFO: Processing buffer {"connection_id":195255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:22] local.INFO: IMEI packet received {"connection_id":195255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":195255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:11:25] local.INFO: TCP Data received {"connection_id":193925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:25] local.INFO: Processing buffer {"connection_id":193925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:25] local.INFO: IMEI packet received {"connection_id":193925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":193925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:11:27] local.INFO: TCP Data received {"connection_id":195255,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:27] local.INFO: Processing buffer {"connection_id":195255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:11:27] local.INFO: IMEI packet received {"connection_id":195255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":195255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:11:28] local.INFO: TCP Data received {"connection_id":195255,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:28] local.INFO: Processing buffer {"connection_id":195255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:28] local.INFO: Packet analysis {"connection_id":195255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:28] local.INFO: Extracted packet for processing {"connection_id":195255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:11: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-25 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:28] 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-25 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11:28] 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-25 18:11: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":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:28] 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-25 18:11: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-25 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:11:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":195255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:28] local.INFO: GPS data processed {"connection_id":195255,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:28] local.INFO: Acknowledgment sent {"connection_id":195255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:29] local.INFO: TCP Data received {"connection_id":193924,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:11:29] local.INFO: Processing buffer {"connection_id":193924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:11:29] local.INFO: IMEI packet received {"connection_id":193924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":193924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:11:30] local.INFO: TCP Data received {"connection_id":193925,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:30] local.INFO: Processing buffer {"connection_id":193925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:11:30] local.INFO: IMEI packet received {"connection_id":193925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":193925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:11:31] local.INFO: TCP Data received {"connection_id":193925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:11:31] local.INFO: Processing buffer {"connection_id":193925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:11:31] local.INFO: Packet analysis {"connection_id":193925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:11:31] local.INFO: Extracted packet for processing {"connection_id":193925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11: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-25 18:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:11: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-25 18:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":193925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:31] local.INFO: GPS data processed {"connection_id":193925,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:31] local.INFO: Acknowledgment sent {"connection_id":193925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:31] local.INFO: TCP Data received {"connection_id":192388,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d893b938012d1430c0071f3ad0002b00fc26..."} 
[2026-09-25 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d893b938012d1430c0071f3ad0002b00fc26..."} 
[2026-09-25 18:11:32] local.INFO: Processing buffer {"connection_id":192388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d893b938012d1430c0071f3ad0002b00fc26..."} 
[2026-09-25 18:11:32] local.INFO: Packet analysis {"connection_id":192388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:11:32] local.INFO: Extracted packet for processing {"connection_id":192388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d893"} 
[2026-09-25 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756297920,"raw_latitude":119487184,"longitude_deg":75.629792,"latitude_deg":11.9487184,"altitude":43,"angle":252,"satellites":38,"speed":48,"hex_longitude":"2d1430c0","hex_latitude":"071f3ad0","is_valid_coordinates":true} 
[2026-09-25 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327026432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23055195466366976,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1465288390600966144,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790339955000,"timestamp_ms":1790339955000,"timestamp_seconds":1790339955,"priority":1,"record_length":96,"hex_timestamp":"000001a0d893b938"} 
[2026-09-25 18:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11:32] 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-25 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327026432001,"66":14428,"11":206,"83":41984,"24":48,"16":23055195466366976,"45":1465288390600966144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327026432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23055195466366976,"km_value":23055195466366.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1465288390600966144,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327026432001,"power":14428,"unknown_11":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1465288390600966144}} 
[2026-09-25 18:11:32] 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":896566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:32] local.INFO: GPS data processed {"connection_id":192388,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:32] local.INFO: Acknowledgment sent {"connection_id":192388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:33] local.INFO: TCP Data received {"connection_id":195255,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:33] local.INFO: Processing buffer {"connection_id":195255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:11:33] local.INFO: Packet analysis {"connection_id":195255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:33] local.INFO: Extracted packet for processing {"connection_id":195255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:11:33] 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-25 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:11:33] 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-25 18:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:11:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:11:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":195255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:11:33] local.INFO: GPS data processed {"connection_id":195255,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:11:33] local.INFO: Acknowledgment sent {"connection_id":195255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:11:54] local.INFO: TCP Data received {"connection_id":195256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: Processing buffer {"connection_id":195256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: IMEI packet received {"connection_id":195256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":195256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:11:54] local.INFO: TCP Data received {"connection_id":195256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: Processing buffer {"connection_id":195256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:54] local.INFO: IMEI packet received {"connection_id":195256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":195256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:11:59] local.INFO: TCP Data received {"connection_id":195256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:59] local.INFO: Processing buffer {"connection_id":195256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:11:59] local.INFO: IMEI packet received {"connection_id":195256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":195256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:12:00] local.INFO: TCP Data received {"connection_id":195256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8951cb0012d130b40071f0d78002a012122..."} 
[2026-09-25 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8951cb0012d130b40071f0d78002a012122..."} 
[2026-09-25 18:12:00] local.INFO: Processing buffer {"connection_id":195256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8951cb0012d130b40071f0d78002a012122..."} 
[2026-09-25 18:12:00] local.INFO: Packet analysis {"connection_id":195256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:00] local.INFO: Extracted packet for processing {"connection_id":195256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756222784,"raw_latitude":119475576,"longitude_deg":75.6222784,"latitude_deg":11.9475576,"altitude":42,"angle":289,"satellites":34,"speed":49,"hex_longitude":"2d130b40","hex_latitude":"071f0d78","is_valid_coordinates":true} 
[2026-09-25 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-25 18:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327049728001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23058966447652864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1382816222420271104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790340046000,"timestamp_ms":1790340046000,"timestamp_seconds":1790340046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8951cb0"} 
[2026-09-25 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-25 18:12:00] 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-25 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-25 18:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 18:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327049728001,"66":14428,"75":206,"83":41984,"24":49,"16":23058966447652864,"45":1382816222420271104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-09-25 18:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327049728001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:12:00] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-25 18:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23058966447652864,"km_value":23058966447652.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1382816222420271104,"description":"Unknown IO ID 45"} 
[2026-09-25 18:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327049728001,"power":14428,"unknown_75":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1382816222420271104}} 
[2026-09-25 18:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":195256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:12:00] local.INFO: GPS data processed {"connection_id":195256,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:12:00] local.INFO: Acknowledgment sent {"connection_id":195256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:12:02] local.INFO: TCP Data received {"connection_id":193925,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:02] local.INFO: Processing buffer {"connection_id":193925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:02] local.INFO: Packet analysis {"connection_id":193925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:02] local.INFO: Extracted packet for processing {"connection_id":193925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12: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-25 18:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:12: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-25 18:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":193925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:12:02] local.INFO: GPS data processed {"connection_id":193925,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:12:02] local.INFO: Acknowledgment sent {"connection_id":193925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:12:04] local.INFO: TCP Data received {"connection_id":195257,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:12:04] local.INFO: Processing buffer {"connection_id":195257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:12:04] local.INFO: IMEI packet received {"connection_id":195257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":195257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:12:24] local.INFO: TCP Data received {"connection_id":195258,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:24] local.INFO: Processing buffer {"connection_id":195258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:24] local.INFO: IMEI packet received {"connection_id":195258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":195258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:12:27] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:27] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:27] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:12:30] local.INFO: TCP Data received {"connection_id":195258,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:30] local.INFO: Processing buffer {"connection_id":195258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:12:30] local.INFO: IMEI packet received {"connection_id":195258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":195258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:12:30] local.INFO: TCP Data received {"connection_id":195256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8953bf0012d12e600071f1c18002b012425..."} 
[2026-09-25 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8953bf0012d12e600071f1c18002b012425..."} 
[2026-09-25 18:12:30] local.INFO: Processing buffer {"connection_id":195256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8953bf0012d12e600071f1c18002b012425..."} 
[2026-09-25 18:12:30] local.INFO: Packet analysis {"connection_id":195256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:30] local.INFO: Extracted packet for processing {"connection_id":195256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756213248,"raw_latitude":119479320,"longitude_deg":75.6213248,"latitude_deg":11.947932,"altitude":43,"angle":292,"satellites":37,"speed":51,"hex_longitude":"2d12e600","hex_latitude":"071f1c18","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327051776001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23059451778957312,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1372260910794373120,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790340054000,"timestamp_ms":1790340054000,"timestamp_seconds":1790340054,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8953bf0"} 
[2026-09-25 18: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-25 18:12: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-25 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327051776001,"66":14374,"75":206,"83":41984,"24":51,"16":23059451778957312,"45":1372260910794373120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-09-25 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327051776001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:12:30] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-25 18:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23059451778957312,"km_value":23059451778957.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1372260910794373120,"description":"Unknown IO ID 45"} 
[2026-09-25 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327051776001,"power":14374,"unknown_75":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1372260910794373120}} 
[2026-09-25 18:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":195256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:12:31] local.INFO: GPS data processed {"connection_id":195256,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:12:31] local.INFO: Acknowledgment sent {"connection_id":195256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:12:31] local.INFO: TCP Data received {"connection_id":195258,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:31] local.INFO: Processing buffer {"connection_id":195258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:12:31] local.INFO: Packet analysis {"connection_id":195258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:31] local.INFO: Extracted packet for processing {"connection_id":195258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12: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-25 18:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:12: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-25 18:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":195258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:12:31] local.INFO: GPS data processed {"connection_id":195258,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:12:31] local.INFO: Acknowledgment sent {"connection_id":195258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:12:32] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:32] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:12:32] local.INFO: IMEI packet received {"connection_id":192560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":192560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:12:33] local.INFO: TCP Data received {"connection_id":192560,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:12:33] local.INFO: Processing buffer {"connection_id":192560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89278e8012d0b10c007029f100012013d1e..."} 
[2026-09-25 18:12:33] local.INFO: Packet analysis {"connection_id":192560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:12:33] local.INFO: Extracted packet for processing {"connection_id":192560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d892"} 
[2026-09-25 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326930432001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:12:33] 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-25 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790339873000,"timestamp_ms":1790339873000,"timestamp_seconds":1790339873,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89278e8"} 
[2026-09-25 18: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-25 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-25 18:12:33] 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-25 18: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-25 18: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-25 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326930432001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326930432001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326930432001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":192560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:12:33] local.INFO: GPS data processed {"connection_id":192560,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:12:33] local.INFO: Acknowledgment sent {"connection_id":192560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:12:59] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:12:59] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:12:59] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:13:04] local.INFO: TCP Data received {"connection_id":195258,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:04] local.INFO: Processing buffer {"connection_id":195258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:04] local.INFO: Packet analysis {"connection_id":195258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:13:04] local.INFO: Extracted packet for processing {"connection_id":195258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18: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-25 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":195258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:04] local.INFO: GPS data processed {"connection_id":195258,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:04] local.INFO: Acknowledgment sent {"connection_id":195258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:04] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:04] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:04] local.INFO: IMEI packet received {"connection_id":192391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":192391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:13:05] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8965148012d11b680071f47b80036012626..."} 
[2026-09-25 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8965148012d11b680071f47b80036012626..."} 
[2026-09-25 18:13:05] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8965148012d11b680071f47b80036012626..."} 
[2026-09-25 18:13:05] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:05] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756135552,"raw_latitude":119490488,"longitude_deg":75.6135552,"latitude_deg":11.9490488,"altitude":54,"angle":294,"satellites":38,"speed":43,"hex_longitude":"2d11b680","hex_latitude":"071f47b8","is_valid_coordinates":true} 
[2026-09-25 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-25 18:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327070720001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23063270004883456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281414862064060416,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790340125000,"timestamp_ms":1790340125000,"timestamp_seconds":1790340125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8965148"} 
[2026-09-25 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-25 18:13:05] 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-25 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:13:05] 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-25 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-25 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-25 18:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327070720001,"66":14048,"31":206,"83":41984,"24":43,"16":23063270004883456,"45":1281414862064060416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327070720001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23063270004883456,"km_value":23063270004883.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281414862064060416,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327070720001,"power":14048,"unknown_31":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1281414862064060416}} 
[2026-09-25 18:13:05] 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":896574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:05] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:05] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:05] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8965d00012d11aa00071f4bb00037011a24..."} 
[2026-09-25 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8965d00012d11aa00071f4bb00037011a24..."} 
[2026-09-25 18:13:05] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8965d00012d11aa00071f4bb00037011a24..."} 
[2026-09-25 18:13:05] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:05] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756132352,"raw_latitude":119491504,"longitude_deg":75.6132352,"latitude_deg":11.9491504,"altitude":55,"angle":282,"satellites":36,"speed":44,"hex_longitude":"2d11aa00","hex_latitude":"071f4bb0","is_valid_coordinates":true} 
[2026-09-25 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-25 18:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327072000001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23063428918673408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1276348312484034560,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790340128000,"timestamp_ms":1790340128000,"timestamp_seconds":1790340128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8965d00"} 
[2026-09-25 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-25 18:13:05] 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-25 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 18:13:05] 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-25 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-25 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-25 18:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327072000001,"66":14374,"33":206,"83":41984,"24":44,"16":23063428918673408,"45":1276348312484034560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-09-25 18:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327072000001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23063428918673408,"km_value":23063428918673.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1276348312484034560,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327072000001,"power":14374,"unknown_33":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1276348312484034560}} 
[2026-09-25 18:13:06] 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":896575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:06] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:06] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:09] local.INFO: TCP Data received {"connection_id":192391,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89668b8012d119d00071f4c900038010c24..."} 
[2026-09-25 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89668b8012d119d00071f4c900038010c24..."} 
[2026-09-25 18:13:09] local.INFO: Processing buffer {"connection_id":192391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89668b8012d119d00071f4c900038010c24..."} 
[2026-09-25 18:13:09] local.INFO: Packet analysis {"connection_id":192391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:09] local.INFO: Extracted packet for processing {"connection_id":192391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":756129024,"raw_latitude":119491728,"longitude_deg":75.6129024,"latitude_deg":11.9491728,"altitude":56,"angle":268,"satellites":36,"speed":44,"hex_longitude":"2d119d00","hex_latitude":"071f4c90","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327072768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23063587832463360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1272829875275411456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790340131000,"timestamp_ms":1790340131000,"timestamp_seconds":1790340131,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89668b8"} 
[2026-09-25 18: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-25 18:13: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-25 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:13:09] 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-25 18: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-25 18: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-25 18:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327072768001,"66":14070,"33":206,"83":41984,"24":44,"16":23063587832463360,"45":1272829875275411456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-09-25 18:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327072768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-25 18:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23063587832463360,"km_value":23063587832463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1272829875275411456,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327072768001,"power":14070,"unknown_33":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1272829875275411456}} 
[2026-09-25 18:13:10] 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":896576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:10] local.INFO: GPS data processed {"connection_id":192391,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:10] local.INFO: Acknowledgment sent {"connection_id":192391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:17] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:17] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:17] local.INFO: IMEI packet received {"connection_id":192392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":192392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:13:22] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:22] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:13:22] local.INFO: IMEI packet received {"connection_id":192392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":192392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:13:23] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:23] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:23] local.INFO: Packet analysis {"connection_id":192392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:13:23] local.INFO: Extracted packet for processing {"connection_id":192392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:23] 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-25 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:13:23] 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-25 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:13:23] 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":896577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:23] local.INFO: GPS data processed {"connection_id":192392,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:23] local.INFO: Acknowledgment sent {"connection_id":192392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:30] local.INFO: TCP Data received {"connection_id":195259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:13:30] local.INFO: Processing buffer {"connection_id":195259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:13:30] local.INFO: IMEI packet received {"connection_id":195259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":195259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:13:32] local.INFO: TCP Data received {"connection_id":195259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:32] local.INFO: Processing buffer {"connection_id":195259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:13:32] local.INFO: Packet analysis {"connection_id":195259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:13:32] local.INFO: Extracted packet for processing {"connection_id":195259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:13: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-25 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":195259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:32] local.INFO: GPS data processed {"connection_id":195259,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:32] local.INFO: Acknowledgment sent {"connection_id":195259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:13:51] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:51] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:13:51] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:13:55] local.INFO: TCP Data received {"connection_id":192392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:55] local.INFO: Processing buffer {"connection_id":192392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:13:55] local.INFO: Packet analysis {"connection_id":192392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:13:55] local.INFO: Extracted packet for processing {"connection_id":192392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:13:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:13:55] 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-25 18:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18: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-25 18:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:13: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-25 18: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-25 18: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-25 18:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:13:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:13:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:13:55] 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":896579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:13:55] local.INFO: GPS data processed {"connection_id":192392,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:13:55] local.INFO: Acknowledgment sent {"connection_id":192392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:02] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:14:02] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:14:02] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:03] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89687f8012d1177c0071f47580038010123..."} 
[2026-09-25 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89687f8012d1177c0071f47580038010123..."} 
[2026-09-25 18:14:03] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 18:14:03] local.INFO: IMEI packet received {"connection_id":192393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":192393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:04] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d896a738012d115180071f3bd8003700f925..."} 
[2026-09-25 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d896a738012d115180071f3bd8003700f925..."} 
[2026-09-25 18:14:04] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d89687f8012d1177c0071f47580038010123..."} 
[2026-09-25 18:14:04] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756119488,"raw_latitude":119490392,"longitude_deg":75.6119488,"latitude_deg":11.9490392,"altitude":56,"angle":257,"satellites":35,"speed":50,"hex_longitude":"2d1177c0","hex_latitude":"071f4758","is_valid_coordinates":true} 
[2026-09-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327073536001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23064047393964032,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1269170700578230272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340139000,"timestamp_ms":1790340139000,"timestamp_seconds":1790340139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89687f8"} 
[2026-09-25 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:04] 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-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327073536001,"66":14396,"33":206,"83":41984,"24":50,"16":23064047393964032,"45":1269170700578230272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327073536001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23064047393964032,"km_value":23064047393964.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1269170700578230272,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327073536001,"power":14396,"unknown_33":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1269170700578230272}} 
[2026-09-25 18:14:04] 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":896580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:04] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:04] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:04] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756109696,"raw_latitude":119487448,"longitude_deg":75.6109696,"latitude_deg":11.9487448,"altitude":55,"angle":249,"satellites":37,"speed":46,"hex_longitude":"2d115180","hex_latitude":"071f3bd8","is_valid_coordinates":true} 
[2026-09-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327075584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23064532725268480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1258685757695416320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340147000,"timestamp_ms":1790340147000,"timestamp_seconds":1790340147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d896a738"} 
[2026-09-25 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:04] 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-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:04] 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-25 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327075584001,"66":14352,"33":206,"83":41984,"24":46,"16":23064532725268480,"45":1258685757695416320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327075584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23064532725268480,"km_value":23064532725268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1258685757695416320,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327075584001,"power":14352,"unknown_33":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1258685757695416320}} 
[2026-09-25 18:14:04] 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":896581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:04] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:04] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:04] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d896ca60012d112ec0071f2f18003900f625..."} 
[2026-09-25 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d896ca60012d112ec0071f2f18003900f625..."} 
[2026-09-25 18:14:04] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d896ca60012d112ec0071f2f18003900f625..."} 
[2026-09-25 18:14:04] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756100800,"raw_latitude":119484184,"longitude_deg":75.61008,"latitude_deg":11.9484184,"altitude":57,"angle":246,"satellites":37,"speed":34,"hex_longitude":"2d112ec0","hex_latitude":"071f2f18","is_valid_coordinates":true} 
[2026-09-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327077632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23064983696834560,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247919339835480064,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340156000,"timestamp_ms":1790340156000,"timestamp_seconds":1790340156,"priority":1,"record_length":96,"hex_timestamp":"000001a0d896ca60"} 
[2026-09-25 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:04] 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-25 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3633720864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1235112429734592522,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503951537340416,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2521909249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336275231,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1595867342,"corrected_to":0} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221302545,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2147950396,"corrected_to":0} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4021223424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84743629276913453,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":40,"raw_value":14356452793660672,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-1026812884601536459,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,33,83,24,241,157,16,160,135,45,192,71,56,35,10,66,240,104,76,36,93,1,38,227,216,31,4,113,205,43,61,200,8,37,239,2,81,7,51,50,206,80,40,17],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1595867342,"validated":0},{"io_id":200,"original":2147950396,"validated":0}]} 
[2026-09-25 18:14:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963441609398157312,"timestamp_seconds":3963441609398157.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327077632001,"66":14374,"32":206,"83":41984,"24":34,"16":23064983696834560,"45":1247919339835480064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-25 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327077632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23064983696834560,"km_value":23064983696834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247919339835480064,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327077632001,"power":14374,"unknown_32":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1247919339835480064}} 
[2026-09-25 18:14:05] 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":896582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:05] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:05] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:05] local.INFO: TCP Data received {"connection_id":195259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:05] local.INFO: Processing buffer {"connection_id":195259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:05] local.INFO: Packet analysis {"connection_id":195259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:14:05] local.INFO: Extracted packet for processing {"connection_id":195259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:14: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-25 18:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:14: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-25 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:14:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":195259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:05] local.INFO: GPS data processed {"connection_id":195259,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:05] local.INFO: Acknowledgment sent {"connection_id":195259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:17] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:17] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:17] local.INFO: IMEI packet received {"connection_id":193927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":193927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:14:25] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:25] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:25] local.INFO: IMEI packet received {"connection_id":193928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":193928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:14:27] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:27] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:14:27] local.INFO: IMEI packet received {"connection_id":193927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":193927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:28] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:28] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:28] local.INFO: Packet analysis {"connection_id":193927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:14:28] local.INFO: Extracted packet for processing {"connection_id":193927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:28] 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-25 18:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:28] 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-25 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:28] 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-25 18:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:14:28] 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":896584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:28] local.INFO: GPS data processed {"connection_id":193927,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:28] local.INFO: Acknowledgment sent {"connection_id":193927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:30] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:30] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:14:30] local.INFO: IMEI packet received {"connection_id":193928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":193928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:31] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:31] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:14:31] local.INFO: Packet analysis {"connection_id":193928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:14:31] local.INFO: Extracted packet for processing {"connection_id":193928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14: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-25 18:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:14: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-25 18:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:14:31] 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":896585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:31] local.INFO: GPS data processed {"connection_id":193928,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:31] local.INFO: Acknowledgment sent {"connection_id":193928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:36] local.INFO: TCP Data received {"connection_id":192393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d896d618012d112680071f2a10003900e425..."} 
[2026-09-25 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d896d618012d112680071f2a10003900e425..."} 
[2026-09-25 18:14:36] local.INFO: Processing buffer {"connection_id":192393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d896d618012d112680071f2a10003900e425..."} 
[2026-09-25 18:14:36] local.INFO: Packet analysis {"connection_id":192393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:36] local.INFO: Extracted packet for processing {"connection_id":192393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d896"} 
[2026-09-25 18:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756098688,"raw_latitude":119482896,"longitude_deg":75.6098688,"latitude_deg":11.9482896,"altitude":57,"angle":228,"satellites":37,"speed":31,"hex_longitude":"2d112680","hex_latitude":"071f2a10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327079936001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23065099660951552,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238138084393949184,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790340159000,"timestamp_ms":1790340159000,"timestamp_seconds":1790340159,"priority":1,"record_length":96,"hex_timestamp":"000001a0d896d618"} 
[2026-09-25 18: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-25 18:14:36] 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-25 18:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:36] 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-25 18: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-25 18: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-25 18:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327079936001,"66":14374,"32":206,"83":41984,"24":31,"16":23065099660951552,"45":1238138084393949184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-25 18:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327079936001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-25 18:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23065099660951552,"km_value":23065099660951.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238138084393949184,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327079936001,"power":14374,"unknown_32":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1238138084393949184}} 
[2026-09-25 18:14: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":896586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:36] local.INFO: GPS data processed {"connection_id":192393,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:36] local.INFO: Acknowledgment sent {"connection_id":192393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:53] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:53] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:53] local.INFO: IMEI packet received {"connection_id":195260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":195260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:14:54] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:54] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:54] local.INFO: IMEI packet received {"connection_id":195260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":195260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:55] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:55] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:55] local.INFO: IMEI packet received {"connection_id":195260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":195260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:57] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:57] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:14:57] local.INFO: IMEI packet received {"connection_id":195260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":195260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:14:58] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8980ab0012d107b00071e2fe8002f00f227..."} 
[2026-09-25 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8980ab0012d107b00071e2fe8002f00f227..."} 
[2026-09-25 18:14:58] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8980ab0012d107b00071e2fe8002f00f227..."} 
[2026-09-25 18:14:58] local.INFO: Packet analysis {"connection_id":195260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:14:58] local.INFO: Extracted packet for processing {"connection_id":195260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756054784,"raw_latitude":119418856,"longitude_deg":75.6054784,"latitude_deg":11.9418856,"altitude":47,"angle":242,"satellites":39,"speed":44,"hex_longitude":"2d107b00","hex_latitude":"071e2fe8","is_valid_coordinates":true} 
[2026-09-25 18:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327098880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23068947951648768,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196972369034498048,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790340238000,"timestamp_ms":1790340238000,"timestamp_seconds":1790340238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8980ab0"} 
[2026-09-25 18:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14: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-25 18:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327098880001,"66":14407,"235":206,"83":41984,"24":44,"16":23068947951648768,"45":1196972369034498048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-25 18:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327098880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-25 18:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23068947951648768,"km_value":23068947951648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196972369034498048,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327098880001,"power":14407,"unknown_235":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1196972369034498048}} 
[2026-09-25 18:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":195260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:58] local.INFO: GPS data processed {"connection_id":195260,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:58] local.INFO: Acknowledgment sent {"connection_id":195260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:59] local.INFO: TCP Data received {"connection_id":193927,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:59] local.INFO: Processing buffer {"connection_id":193927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:14:59] local.INFO: Packet analysis {"connection_id":193927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:14:59] local.INFO: Extracted packet for processing {"connection_id":193927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] 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-25 18:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:59] 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-25 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:59] 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-25 18:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":193927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":193927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":193927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:14:59] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8981668012d106ec0071e2b58003100fd28..."} 
[2026-09-25 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8981668012d106ec0071e2b58003100fd28..."} 
[2026-09-25 18:14:59] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8981668012d106ec0071e2b58003100fd28..."} 
[2026-09-25 18:14:59] local.INFO: Packet analysis {"connection_id":195260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:14:59] local.INFO: Extracted packet for processing {"connection_id":195260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756051648,"raw_latitude":119417688,"longitude_deg":75.6051648,"latitude_deg":11.9417688,"altitude":49,"angle":253,"satellites":40,"speed":43,"hex_longitude":"2d106ec0","hex_latitude":"071e2b58","is_valid_coordinates":true} 
[2026-09-25 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327100928001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23069106865438720,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1187542957313484800,"note":"Value kept but may cause issues"} 
[2026-09-25 18:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790340241000,"timestamp_ms":1790340241000,"timestamp_seconds":1790340241,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8981668"} 
[2026-09-25 18:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:14:59] 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-25 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-25 18:14:59] 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-25 18:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327100928001,"66":14396,"235":206,"83":41984,"24":43,"16":23069106865438720,"45":1187542957313484800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-25 18:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327100928001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23069106865438720,"km_value":23069106865438.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1187542957313484800,"description":"Unknown IO ID 45"} 
[2026-09-25 18:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327100928001,"power":14396,"unknown_235":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1187542957313484800}} 
[2026-09-25 18:14:59] 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":896588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:59] local.INFO: GPS data processed {"connection_id":193927,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:59] local.INFO: Acknowledgment sent {"connection_id":193927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":195260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:14:59] local.INFO: GPS data processed {"connection_id":195260,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:14:59] local.INFO: Acknowledgment sent {"connection_id":195260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:03] local.INFO: TCP Data received {"connection_id":193928,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:03] local.INFO: Processing buffer {"connection_id":193928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:03] local.INFO: Packet analysis {"connection_id":193928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:15:03] local.INFO: Extracted packet for processing {"connection_id":193928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15: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-25 18:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:15: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-25 18:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:15:03] 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":896590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:03] local.INFO: GPS data processed {"connection_id":193928,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:03] local.INFO: Acknowledgment sent {"connection_id":193928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:24] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:24] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:24] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:15:25] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:25] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:25] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:15:30] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:30] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:15:30] local.INFO: IMEI packet received {"connection_id":192395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:15:30] local.INFO: TCP Data received {"connection_id":195260,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8983990012d104bc0071e25700033010527..."} 
[2026-09-25 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8983990012d104bc0071e25700033010527..."} 
[2026-09-25 18:15:30] local.INFO: Processing buffer {"connection_id":195260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8983990012d104bc0071e25700033010527..."} 
[2026-09-25 18:15:30] local.INFO: Packet analysis {"connection_id":195260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:15:30] local.INFO: Extracted packet for processing {"connection_id":195260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756042688,"raw_latitude":119416176,"longitude_deg":75.6042688,"latitude_deg":11.9416176,"altitude":51,"angle":261,"satellites":39,"speed":35,"hex_longitude":"2d104bc0","hex_latitude":"071e2570","is_valid_coordinates":true} 
[2026-09-25 18:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327101696001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23069536362168320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1184094888848480256,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790340250000,"timestamp_ms":1790340250000,"timestamp_seconds":1790340250,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8983990"} 
[2026-09-25 18:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:15: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-25 18:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327101696001,"66":14374,"235":206,"83":41984,"24":35,"16":23069536362168320,"45":1184094888848480256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-25 18:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327101696001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-25 18:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23069536362168320,"km_value":23069536362168.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1184094888848480256,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327101696001,"power":14374,"unknown_235":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1184094888848480256}} 
[2026-09-25 18:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":195260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:30] local.INFO: GPS data processed {"connection_id":195260,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:30] local.INFO: Acknowledgment sent {"connection_id":195260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:31] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:31] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:15:31] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:15:31] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15: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-25 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18: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-25 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:15: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-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:15:31] 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":896592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:31] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:31] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:31] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:31] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:31] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:15:32] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:32] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:15:32] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:15:33] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d898f8f8012d81a44005d3def8000300a827..."} 
[2026-09-25 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d898f8f8012d81a44005d3def8000300a827..."} 
[2026-09-25 18:15:33] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d898f8f8012d81a44005d3def8000300a827..."} 
[2026-09-25 18:15:33] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:15:33] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763470912,"raw_latitude":97771256,"longitude_deg":76.3470912,"latitude_deg":9.7771256,"altitude":3,"angle":168,"satellites":39,"speed":39,"hex_longitude":"2d81a440","hex_latitude":"05d3def8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327115776001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135958448180297728,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105433996582881280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340299000,"timestamp_ms":1790340299000,"timestamp_seconds":1790340299,"priority":1,"record_length":96,"hex_timestamp":"000001a0d898f8f8"} 
[2026-09-25 18: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-25 18:15:33] 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-25 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:33] 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-25 18: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-25 18: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-25 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327115776001,"66":13526,"166":206,"85":15104,"24":39,"16":135958448180297728,"45":-9105433996582881280},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327115776001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135958448180297728,"km_value":135958448180297.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105433996582881280,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327115776001,"power":13526,"unknown_166":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9105433996582881280}} 
[2026-09-25 18:15:33] 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":896593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:33] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:33] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:33] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:33] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:15:33] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:15:33] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8991c20012d81ad8005d3b970000400b127..."} 
[2026-09-25 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8991c20012d81ad8005d3b970000400b127..."} 
[2026-09-25 18:15:33] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8991c20012d81ad8005d3b970000400b127..."} 
[2026-09-25 18:15:33] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:15:33] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763473280,"raw_latitude":97761648,"longitude_deg":76.347328,"latitude_deg":9.7761648,"altitude":4,"angle":177,"satellites":39,"speed":47,"hex_longitude":"2d81ad80","hex_latitude":"05d3b970","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327116544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135958929216634880,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105082152862681088,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340308000,"timestamp_ms":1790340308000,"timestamp_seconds":1790340308,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8991c20"} 
[2026-09-25 18: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-25 18:15:33] 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-25 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327116544001,"66":13254,"166":206,"85":15104,"24":47,"16":135958929216634880,"45":-9105082152862681088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-25 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327116544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135958929216634880,"km_value":135958929216634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105082152862681088,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327116544001,"power":13254,"unknown_166":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9105082152862681088}} 
[2026-09-25 18:15:33] 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":896594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:33] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:33] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:36] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:36] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:36] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:15:36] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:15:36] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:36] 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-25 18:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:15:36] 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-25 18:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:36] 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-25 18:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:15:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:15:36] 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":896595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:36] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:36] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:45] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:45] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:15:45] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:15:45] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:15:45] 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-25 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18: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-25 18:15:45] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:15:45] 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-25 18: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-25 18: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-25 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:15: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":896596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:15:45] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:15:45] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:15:54] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:15:54] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:54] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:15:59] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:59] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:15:59] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:16:00] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8984d18012d103a00071e24780032011727..."} 
[2026-09-25 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8984d18012d103a00071e24780032011727..."} 
[2026-09-25 18:16:00] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8984d18012d103a00071e24780032011727..."} 
[2026-09-25 18:16:00] local.INFO: Packet analysis {"connection_id":192565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:16:00] local.INFO: Extracted packet for processing {"connection_id":192565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d898"} 
[2026-09-25 18:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756038144,"raw_latitude":119415928,"longitude_deg":75.6038144,"latitude_deg":11.9415928,"altitude":50,"angle":279,"satellites":39,"speed":34,"hex_longitude":"2d103a00","hex_latitude":"071e2478","is_valid_coordinates":true} 
[2026-09-25 18:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327104000001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23069755405500416,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1174243264663220224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790340255000,"timestamp_ms":1790340255000,"timestamp_seconds":1790340255,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8984d18"} 
[2026-09-25 18:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:16:00] 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-25 18:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:00] 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-25 18:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327104000001,"66":14407,"235":206,"83":41984,"24":34,"16":23069755405500416,"45":1174243264663220224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-25 18:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327104000001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-25 18:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23069755405500416,"km_value":23069755405500.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1174243264663220224,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327104000001,"power":14407,"unknown_235":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1174243264663220224}} 
[2026-09-25 18:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":192565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:00] local.INFO: GPS data processed {"connection_id":192565,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:00] local.INFO: Acknowledgment sent {"connection_id":192565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:03] local.INFO: TCP Data received {"connection_id":192395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:16:03] local.INFO: Processing buffer {"connection_id":192395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8950928012d34c14006aa4908000d006e2e..."} 
[2026-09-25 18:16:03] local.INFO: Packet analysis {"connection_id":192395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:16:03] local.INFO: Extracted packet for processing {"connection_id":192395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d895"} 
[2026-09-25 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458326973440001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16: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-25 18:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340041000,"timestamp_ms":1790340041000,"timestamp_seconds":1790340041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8950928"} 
[2026-09-25 18:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458326973440001,"66":25538,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458326973440001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:16: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-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458326973440001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:16:03] 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":896598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:03] local.INFO: GPS data processed {"connection_id":192395,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:03] local.INFO: Acknowledgment sent {"connection_id":192395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:05] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899cbe8012d81c6c005d346980001008626..."} 
[2026-09-25 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899cbe8012d81c6c005d346980001008626..."} 
[2026-09-25 18:16:05] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899cbe8012d81c6c005d346980001008626..."} 
[2026-09-25 18:16:05] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:05] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763479744,"raw_latitude":97732248,"longitude_deg":76.3479744,"latitude_deg":9.7732248,"altitude":1,"angle":134,"satellites":38,"speed":5,"hex_longitude":"2d81c6c0","hex_latitude":"05d34698","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127808001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135960466814926848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095582372407998464,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790340353000,"timestamp_ms":1790340353000,"timestamp_seconds":1790340353,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899cbe8"} 
[2026-09-25 18: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-25 18:16:05] 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-25 18: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127808001,"66":12939,"166":206,"85":15104,"24":5,"16":135960466814926848,"45":-9095582372407998464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-09-25 18:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127808001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:05] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-25 18:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135960466814926848,"km_value":135960466814926.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095582372407998464,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127808001,"power":12939,"unknown_166":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9095582372407998464}} 
[2026-09-25 18:16:05] 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":896599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:05] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:05] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:17] local.INFO: TCP Data received {"connection_id":195262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:17] local.INFO: Processing buffer {"connection_id":195262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:17] local.INFO: IMEI packet received {"connection_id":195262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":195262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:16:22] local.INFO: TCP Data received {"connection_id":195262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:22] local.INFO: Processing buffer {"connection_id":195262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:16:22] local.INFO: IMEI packet received {"connection_id":195262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":195262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:16:23] local.INFO: TCP Data received {"connection_id":195262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:23] local.INFO: Processing buffer {"connection_id":195262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:23] local.INFO: Packet analysis {"connection_id":195262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:16:23] local.INFO: Extracted packet for processing {"connection_id":195262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:23] 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-25 18:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18: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-25 18:16:23] 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-25 18: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":195262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:23] local.INFO: GPS data processed {"connection_id":195262,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:23] local.INFO: Acknowledgment sent {"connection_id":195262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:25] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:25] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:25] local.INFO: IMEI packet received {"connection_id":193929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":193929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:16:30] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:30] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:16:30] local.INFO: IMEI packet received {"connection_id":193929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":193929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:16:31] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89979e0012d0f1c80071e2e28002c010425..."} 
[2026-09-25 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89979e0012d0f1c80071e2e28002c010425..."} 
[2026-09-25 18:16:31] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89979e0012d0f1c80071e2e28002c010425..."} 
[2026-09-25 18:16:31] local.INFO: Packet analysis {"connection_id":192565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:31] local.INFO: Extracted packet for processing {"connection_id":192565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:31] local.INFO: GPS Element Parsed {"raw_longitude":755965056,"raw_latitude":119418408,"longitude_deg":75.5965056,"latitude_deg":11.9418408,"altitude":44,"angle":260,"satellites":37,"speed":36,"hex_longitude":"2d0f1c80","hex_latitude":"071e2e28","is_valid_coordinates":true} 
[2026-09-25 18:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327122944001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23073410422669312,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1098315389696256000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340332000,"timestamp_ms":1790340332000,"timestamp_seconds":1790340332,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89979e0"} 
[2026-09-25 18:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:16:31] 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-25 18:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327122944001,"66":13993,"237":206,"83":41984,"24":36,"16":23073410422669312,"45":1098315389696256000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327122944001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23073410422669312,"km_value":23073410422669.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1098315389696256000,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327122944001,"power":13993,"unknown_237":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1098315389696256000}} 
[2026-09-25 18:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":192565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:31] local.INFO: GPS data processed {"connection_id":192565,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:31] local.INFO: Acknowledgment sent {"connection_id":192565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:31] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:16:31] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:16:31] local.INFO: Packet analysis {"connection_id":193929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:31] local.INFO: Extracted packet for processing {"connection_id":193929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16: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-25 18:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:31] 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-25 18:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:16: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-25 18:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:16:31] 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":896602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:31] local.INFO: GPS data processed {"connection_id":193929,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:31] local.INFO: Acknowledgment sent {"connection_id":193929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:16:44] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:16:44] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:16:44] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:16:46] local.INFO: TCP Data received {"connection_id":192397,"ip":"42.106.6.18","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192397,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 18:16:46] local.INFO: Processing buffer {"connection_id":192397,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-25 18:16:46] local.INFO: IMEI packet received {"connection_id":192397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":192397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:16:53] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:16:53] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:16:53] local.INFO: IMEI packet received {"connection_id":192566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":192566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:16:53] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.7","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:16:53] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-25 18:16:53] local.INFO: IMEI packet received {"connection_id":192566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":192566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:16:57] local.INFO: TCP Data received {"connection_id":195262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:57] local.INFO: Processing buffer {"connection_id":195262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:16:57] local.INFO: Packet analysis {"connection_id":195262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:16:57] local.INFO: Extracted packet for processing {"connection_id":195262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:16:57] 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-25 18:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 18:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:16:57] 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-25 18:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:16:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:16:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":195262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:16:57] local.INFO: GPS data processed {"connection_id":195262,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:16:57] local.INFO: Acknowledgment sent {"connection_id":195262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:17:03] local.INFO: TCP Data received {"connection_id":193929,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:03] local.INFO: Processing buffer {"connection_id":193929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:03] local.INFO: Packet analysis {"connection_id":193929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:03] local.INFO: Extracted packet for processing {"connection_id":193929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17: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-25 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:17:03] 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-25 18:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:17: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-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:17:03] 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":896604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:17:03] local.INFO: GPS data processed {"connection_id":193929,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:17:03] local.INFO: Acknowledgment sent {"connection_id":193929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:17:19] local.INFO: TCP Data received {"connection_id":195263,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:17:19] local.INFO: Processing buffer {"connection_id":195263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:17:19] local.INFO: IMEI packet received {"connection_id":195263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":195263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:17:24] local.INFO: TCP Data received {"connection_id":195264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:24] local.INFO: Processing buffer {"connection_id":195264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:24] local.INFO: IMEI packet received {"connection_id":195264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":195264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:17:30] local.INFO: TCP Data received {"connection_id":195265,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:30] local.INFO: Processing buffer {"connection_id":195265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:30] local.INFO: IMEI packet received {"connection_id":195265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":195265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:17:32] local.INFO: TCP Data received {"connection_id":195264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:32] local.INFO: Processing buffer {"connection_id":195264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:17:32] local.INFO: IMEI packet received {"connection_id":195264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":195264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:17:34] local.INFO: TCP Data received {"connection_id":195264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:17:34] local.INFO: Processing buffer {"connection_id":195264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89710b0012d0b10c007029f100012013d20..."} 
[2026-09-25 18:17:34] local.INFO: Packet analysis {"connection_id":195264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:17:34] local.INFO: Extracted packet for processing {"connection_id":195264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d897"} 
[2026-09-25 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327007488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:34] 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-25 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790340174000,"timestamp_ms":1790340174000,"timestamp_seconds":1790340174,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89710b0"} 
[2026-09-25 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-25 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:17:34] 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-25 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-25 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-25 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327007488001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327007488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:17:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:17:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327007488001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":195264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:17:34] local.INFO: GPS data processed {"connection_id":195264,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:17:34] local.INFO: Acknowledgment sent {"connection_id":195264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:17:35] local.INFO: TCP Data received {"connection_id":195265,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:35] local.INFO: Processing buffer {"connection_id":195265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:17:35] local.INFO: IMEI packet received {"connection_id":195265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":195265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:17:37] local.INFO: TCP Data received {"connection_id":195265,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:37] local.INFO: Processing buffer {"connection_id":195265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:37] local.INFO: Packet analysis {"connection_id":195265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:37] local.INFO: Extracted packet for processing {"connection_id":195265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17:37] local.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-25 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:17: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-25 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":195265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:17:37] local.INFO: GPS data processed {"connection_id":195265,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:17:37] local.INFO: Acknowledgment sent {"connection_id":195265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:17:40] local.INFO: TCP Data received {"connection_id":195265,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:40] local.INFO: Processing buffer {"connection_id":195265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:17:40] local.INFO: Packet analysis {"connection_id":195265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:40] local.INFO: Extracted packet for processing {"connection_id":195265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:17: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-25 18:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:17: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-25 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":195265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:17:40] local.INFO: GPS data processed {"connection_id":195265,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:17:40] local.INFO: Acknowledgment sent {"connection_id":195265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:18:09] local.INFO: TCP Data received {"connection_id":193930,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:18:09] local.INFO: Processing buffer {"connection_id":193930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:18:09] local.INFO: IMEI packet received {"connection_id":193930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":193930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:18:25] local.INFO: TCP Data received {"connection_id":192568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:25] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:25] local.INFO: IMEI packet received {"connection_id":192568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":192568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:18:30] local.INFO: TCP Data received {"connection_id":192568,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:30] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:18:30] local.INFO: IMEI packet received {"connection_id":192568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:18:30] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:30] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:30] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:18:31] local.INFO: TCP Data received {"connection_id":192568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:18:31] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:18:31] local.INFO: Packet analysis {"connection_id":192568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:18:31] local.INFO: Extracted packet for processing {"connection_id":192568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18: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-25 18:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18: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-25 18:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:18:31] 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-25 18: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-25 18: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-25 18:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:18:31] local.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-25 18:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:18: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-25 18:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:18:31] 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":896608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:18:31] local.INFO: GPS data processed {"connection_id":192568,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:18:31] local.INFO: Acknowledgment sent {"connection_id":192568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:18:32] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:32] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:18:32] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:18:33] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:33] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:33] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:18:33] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:33] 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-25 18:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18: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-25 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:18:33] 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-25 18: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-25 18: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-25 18:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:18:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:18:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:18:33] 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":896609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:18:33] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:18:33] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:18:38] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:38] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:18:38] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:18:38] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:18:38] 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-25 18:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:18:38] 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-25 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:18:38] 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-25 18:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:18:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:18:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:18:38] 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":896610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:18:38] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:18:38] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:19:03] local.INFO: TCP Data received {"connection_id":192568,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:03] local.INFO: Processing buffer {"connection_id":192568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:03] local.INFO: Packet analysis {"connection_id":192568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:19:03] local.INFO: Extracted packet for processing {"connection_id":192568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19: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-25 18:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:19:03] 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-25 18:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:19:03] local.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-25 18:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:19: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-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:19:03] 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":896611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:19:03] local.INFO: GPS data processed {"connection_id":192568,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:19:03] local.INFO: Acknowledgment sent {"connection_id":192568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:19:17] local.INFO: TCP Data received {"connection_id":195267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:17] local.INFO: Processing buffer {"connection_id":195267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:17] local.INFO: IMEI packet received {"connection_id":195267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":195267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:19:22] local.INFO: TCP Data received {"connection_id":195267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195267,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:22] local.INFO: Processing buffer {"connection_id":195267,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:19:22] local.INFO: IMEI packet received {"connection_id":195267,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":195267,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:19:23] local.INFO: TCP Data received {"connection_id":195267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:23] local.INFO: Processing buffer {"connection_id":195267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:23] local.INFO: Packet analysis {"connection_id":195267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:19:23] local.INFO: Extracted packet for processing {"connection_id":195267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:19:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:23] 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-25 18:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18: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-25 18:19:23] 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-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:19:23] 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-25 18: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-25 18: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-25 18:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:19:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":195267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:19:24] local.INFO: GPS data processed {"connection_id":195267,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:19:24] local.INFO: Acknowledgment sent {"connection_id":195267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:19:25] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:25] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:25] local.INFO: IMEI packet received {"connection_id":192400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":192400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:19:30] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:30] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:19:30] local.INFO: IMEI packet received {"connection_id":192400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":192400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:19:31] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:31] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:19:31] local.INFO: Packet analysis {"connection_id":192400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:19:31] local.INFO: Extracted packet for processing {"connection_id":192400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19: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-25 18:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:19:31] 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-25 18:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:19: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-25 18:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:19:31] 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":896613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:19:31] local.INFO: GPS data processed {"connection_id":192400,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:19:31] local.INFO: Acknowledgment sent {"connection_id":192400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:19:55] local.INFO: TCP Data received {"connection_id":195267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:55] local.INFO: Processing buffer {"connection_id":195267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:19:55] local.INFO: Packet analysis {"connection_id":195267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:19:55] local.INFO: Extracted packet for processing {"connection_id":195267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:19:55] 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-25 18:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18: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-25 18:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:19:55] 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-25 18: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-25 18: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-25 18:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195267,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:19:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:19:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":195267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:19:55] local.INFO: GPS data processed {"connection_id":195267,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:19:55] local.INFO: Acknowledgment sent {"connection_id":195267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:20:03] local.INFO: TCP Data received {"connection_id":192400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:03] local.INFO: Processing buffer {"connection_id":192400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:03] local.INFO: Packet analysis {"connection_id":192400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:20:03] local.INFO: Extracted packet for processing {"connection_id":192400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20: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-25 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:20:03] 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-25 18:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:20: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-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:20:03] 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":896615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:20:03] local.INFO: GPS data processed {"connection_id":192400,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:20:03] local.INFO: Acknowledgment sent {"connection_id":192400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:20:17] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:17] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:17] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:20:22] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:22] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:20:22] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:20:24] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:24] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:24] local.INFO: IMEI packet received {"connection_id":193933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":193933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:20:30] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:30] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:20:30] local.INFO: IMEI packet received {"connection_id":193933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":193933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:20:31] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:31] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:20:31] local.INFO: Packet analysis {"connection_id":193933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:20:31] local.INFO: Extracted packet for processing {"connection_id":193933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20: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-25 18:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18: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-25 18:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:20:31] 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-25 18: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-25 18: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-25 18:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:20: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-25 18:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:20:31] 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":896616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:20:31] local.INFO: GPS data processed {"connection_id":193933,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:20:31] local.INFO: Acknowledgment sent {"connection_id":193933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:20:32] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:20:32] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:20:32] local.INFO: Packet analysis {"connection_id":192571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:20:32] local.INFO: Extracted packet for processing {"connection_id":192571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:20:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:20:32] 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-25 18:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:20:32] 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-25 18:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:20:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:20:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:20:32] 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":896617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:20:32] local.INFO: GPS data processed {"connection_id":192571,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:20:32] local.INFO: Acknowledgment sent {"connection_id":192571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:21:04] local.INFO: TCP Data received {"connection_id":193933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:21:04] local.INFO: Processing buffer {"connection_id":193933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d899a0f0012d34c14006aa4908000d006e2f..."} 
[2026-09-25 18:21:04] local.INFO: Packet analysis {"connection_id":193933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:21:04] local.INFO: Extracted packet for processing {"connection_id":193933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d899"} 
[2026-09-25 18:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327050496001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21: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-25 18:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340342000,"timestamp_ms":1790340342000,"timestamp_seconds":1790340342,"priority":1,"record_length":96,"hex_timestamp":"000001a0d899a0f0"} 
[2026-09-25 18:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:21: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-25 18:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-25 18:21: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-25 18:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:21: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-25 18:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327050496001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327050496001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:21: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-25 18:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327050496001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:21:04] 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":896618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:21:04] local.INFO: GPS data processed {"connection_id":193933,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:21:04] local.INFO: Acknowledgment sent {"connection_id":193933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:21:17] local.INFO: TCP Data received {"connection_id":195270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:17] local.INFO: Processing buffer {"connection_id":195270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:17] local.INFO: IMEI packet received {"connection_id":195270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":195270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:21:24] local.INFO: TCP Data received {"connection_id":195270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195270,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:24] local.INFO: Processing buffer {"connection_id":195270,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:21:24] local.INFO: IMEI packet received {"connection_id":195270,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":195270,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:21:24] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:24] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:24] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:21:30] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:30] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:21:30] local.INFO: IMEI packet received {"connection_id":192404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":192404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:21:31] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:21:31] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:21:31] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:31] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21: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-25 18:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:21: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-25 18:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:21:31] 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":896619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:21:31] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:21:31] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:21:44] local.INFO: TCP Data received {"connection_id":195270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:21:44] local.INFO: Processing buffer {"connection_id":195270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:21:44] local.INFO: Packet analysis {"connection_id":195270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:21:44] local.INFO: Extracted packet for processing {"connection_id":195270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:21:44] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:44] 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-25 18:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18: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-25 18:21:44] 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-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:21:44] 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-25 18: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-25 18: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-25 18:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":195270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":195270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":195270,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:21:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:21:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":195270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:21:44] local.INFO: GPS data processed {"connection_id":195270,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:21:44] local.INFO: Acknowledgment sent {"connection_id":195270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:21:47] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:21:47] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:21:47] local.INFO: IMEI packet received {"connection_id":192405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":192405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:21:49] local.INFO: TCP Data received {"connection_id":192405,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eb1d0012d83334005d152980008008d29..."} 
[2026-09-25 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eb1d0012d83334005d152980008008d29..."} 
[2026-09-25 18:21:49] local.INFO: Processing buffer {"connection_id":192405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eb1d0012d83334005d152980008008d29..."} 
[2026-09-25 18:21:49] local.INFO: Packet analysis {"connection_id":192405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:49] local.INFO: Extracted packet for processing {"connection_id":192405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604248,"longitude_deg":76.3573056,"latitude_deg":9.7604248,"altitude":8,"angle":141,"satellites":41,"speed":12,"hex_longitude":"2d833340","hex_latitude":"05d15298","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327212288001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135970787621339136,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992984743430363136,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790340674000,"timestamp_ms":1790340674000,"timestamp_seconds":1790340674,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eb1d0"} 
[2026-09-25 18: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-25 18:21: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-25 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":192405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":192405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":192405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327212288001,"66":13363,"63":206,"85":15104,"24":12,"16":135970787621339136,"45":-8992984743430363136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-25 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327212288001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:21:49] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-25 18:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135970787621339136,"km_value":135970787621339.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992984743430363136,"description":"Unknown IO ID 45"} 
[2026-09-25 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327212288001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-8992984743430363136}} 
[2026-09-25 18:21:49] 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":896621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:21:49] local.INFO: GPS data processed {"connection_id":192405,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:21:49] local.INFO: Acknowledgment sent {"connection_id":192405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:21:54] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:21:54] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:54] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:21:58] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:58] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:21:58] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:21:59] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eaa00012d0df440071dfb68001e015629..."} 
[2026-09-25 18:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eaa00012d0df440071dfb68001e015629..."} 
[2026-09-25 18:21:59] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eaa00012d0df440071dfb68001e015629..."} 
[2026-09-25 18:21:59] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:59] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:21:59] local.INFO: GPS Element Parsed {"raw_longitude":755889216,"raw_latitude":119405416,"longitude_deg":75.5889216,"latitude_deg":11.9405416,"altitude":30,"angle":342,"satellites":41,"speed":8,"hex_longitude":"2d0df440","hex_latitude":"071dfb68","is_valid_coordinates":true} 
[2026-09-25 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327211520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23077009605263360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005639753610661888,"note":"Value kept but may cause issues"} 
[2026-09-25 18:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790340672000,"timestamp_ms":1790340672000,"timestamp_seconds":1790340672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eaa00"} 
[2026-09-25 18:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:21:59] 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-25 18:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-25 18:21:59] 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-25 18:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327211520001,"66":14189,"11":206,"83":41984,"24":8,"16":23077009605263360,"45":1005639753610661888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327211520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:21:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23077009605263360,"km_value":23077009605263.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005639753610661888,"description":"Unknown IO ID 45"} 
[2026-09-25 18:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327211520001,"power":14189,"unknown_11":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1005639753610661888}} 
[2026-09-25 18:21:59] 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":896622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:21:59] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:21:59] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:03] local.INFO: TCP Data received {"connection_id":192404,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:03] local.INFO: Processing buffer {"connection_id":192404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:03] local.INFO: Packet analysis {"connection_id":192404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:03] local.INFO: Extracted packet for processing {"connection_id":192404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22: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-25 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:22: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-25 18:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:22:03] 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":896623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:03] local.INFO: GPS data processed {"connection_id":192404,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:03] local.INFO: Acknowledgment sent {"connection_id":192404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:22] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:22] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:22] local.INFO: IMEI packet received {"connection_id":193934,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":193934,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:22:24] local.INFO: TCP Data received {"connection_id":195271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:24] local.INFO: Processing buffer {"connection_id":195271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:24] local.INFO: IMEI packet received {"connection_id":195271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":195271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:22:27] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:27] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:22:27] local.INFO: IMEI packet received {"connection_id":193934,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":193934,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:22:27] local.INFO: TCP Data received {"connection_id":195272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:27] local.INFO: Processing buffer {"connection_id":195272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:27] local.INFO: IMEI packet received {"connection_id":195272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":195272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:22:28] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:28] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:28] local.INFO: Packet analysis {"connection_id":193934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:22:28] local.INFO: Extracted packet for processing {"connection_id":193934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:28] 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-25 18:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22:28] 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-25 18:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:22: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-25 18:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:22:28] 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":896624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:28] local.INFO: GPS data processed {"connection_id":193934,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:28] local.INFO: Acknowledgment sent {"connection_id":193934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:30] local.INFO: TCP Data received {"connection_id":195271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:30] local.INFO: Processing buffer {"connection_id":195271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:22:30] local.INFO: IMEI packet received {"connection_id":195271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":195271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:22:30] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eb1d0012d0df400071dfd10001e016629..."} 
[2026-09-25 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eb1d0012d0df400071dfd10001e016629..."} 
[2026-09-25 18:22:30] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eb1d0012d0df400071dfd10001e016629..."} 
[2026-09-25 18:22:30] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:30] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:30] local.INFO: GPS Element Parsed {"raw_longitude":755889152,"raw_latitude":119405840,"longitude_deg":75.5889152,"latitude_deg":11.940584,"altitude":30,"angle":358,"satellites":41,"speed":8,"hex_longitude":"2d0df400","hex_latitude":"071dfd10","is_valid_coordinates":true} 
[2026-09-25 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327212032001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23077031080099840,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005499016122427392,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790340674000,"timestamp_ms":1790340674000,"timestamp_seconds":1790340674,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eb1d0"} 
[2026-09-25 18:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22: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-25 18:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-25 18:22:30] 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-25 18:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327212032001,"66":13439,"11":206,"83":41984,"24":8,"16":23077031080099840,"45":1005499016122427392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327212032001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23077031080099840,"km_value":23077031080099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005499016122427392,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327212032001,"power":13439,"unknown_11":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1005499016122427392}} 
[2026-09-25 18:22:30] 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":896625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:30] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:30] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:31] local.INFO: TCP Data received {"connection_id":195271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:31] local.INFO: Processing buffer {"connection_id":195271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:22:31] local.INFO: Packet analysis {"connection_id":195271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:31] local.INFO: Extracted packet for processing {"connection_id":195271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22: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-25 18:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:22:31] 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-25 18:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:22: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-25 18:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":195271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:31] local.INFO: GPS data processed {"connection_id":195271,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:31] local.INFO: Acknowledgment sent {"connection_id":195271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:32] local.INFO: TCP Data received {"connection_id":195272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:32] local.INFO: Processing buffer {"connection_id":195272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:22:32] local.INFO: IMEI packet received {"connection_id":195272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":195272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:22:33] local.INFO: TCP Data received {"connection_id":195272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eb5b8012d83340005d151980008009c29..."} 
[2026-09-25 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eb5b8012d83340005d151980008009c29..."} 
[2026-09-25 18:22:33] local.INFO: Processing buffer {"connection_id":195272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eb5b8012d83340005d151980008009c29..."} 
[2026-09-25 18:22:33] local.INFO: Packet analysis {"connection_id":195272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:33] local.INFO: Extracted packet for processing {"connection_id":195272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97603992,"longitude_deg":76.3573248,"latitude_deg":9.7603992,"altitude":8,"angle":156,"satellites":41,"speed":11,"hex_longitude":"2d833400","hex_latitude":"05d15198","is_valid_coordinates":true} 
[2026-09-25 18:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327212544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135970804801208320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197883392,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340675000,"timestamp_ms":1790340675000,"timestamp_seconds":1790340675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eb5b8"} 
[2026-09-25 18:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22:33] 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-25 18:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327212544001,"66":13363,"63":206,"85":15104,"24":11,"16":135970804801208320,"45":-8992773637197883392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327212544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135970804801208320,"km_value":135970804801208.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197883392,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327212544001,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8992773637197883392}} 
[2026-09-25 18:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":195272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:33] local.INFO: GPS data processed {"connection_id":195272,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:33] local.INFO: Acknowledgment sent {"connection_id":195272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:33] local.INFO: TCP Data received {"connection_id":193934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:33] local.INFO: Processing buffer {"connection_id":193934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ba878012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:22:33] local.INFO: Packet analysis {"connection_id":193934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:22:33] local.INFO: Extracted packet for processing {"connection_id":193934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89b"} 
[2026-09-25 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327084544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:22:33] 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-25 18:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340475000,"timestamp_ms":1790340475000,"timestamp_seconds":1790340475,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ba878"} 
[2026-09-25 18:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:22:33] 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-25 18:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193934,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327084544001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327084544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327084544001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:22:33] 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":896628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:22:33] local.INFO: GPS data processed {"connection_id":193934,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:22:33] local.INFO: Acknowledgment sent {"connection_id":193934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:22:54] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:54] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:54] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:22:59] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:59] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:22:59] local.INFO: IMEI packet received {"connection_id":192407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":192407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:23:00] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eb9a0012d0df380071dfec8001e015b29..."} 
[2026-09-25 18:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eb9a0012d0df380071dfec8001e015b29..."} 
[2026-09-25 18:23:00] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eb9a0012d0df380071dfec8001e015b29..."} 
[2026-09-25 18:23:00] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:00] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:00] local.INFO: GPS Element Parsed {"raw_longitude":755889024,"raw_latitude":119406280,"longitude_deg":75.5889024,"latitude_deg":11.940628,"altitude":30,"angle":347,"satellites":41,"speed":9,"hex_longitude":"2d0df380","hex_latitude":"071dfec8","is_valid_coordinates":true} 
[2026-09-25 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327212544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23077052554936320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005428647378358272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790340676000,"timestamp_ms":1790340676000,"timestamp_seconds":1790340676,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eb9a0"} 
[2026-09-25 18:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:00] 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-25 18:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:00] 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-25 18:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:23: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-25 18:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327212544001,"66":14157,"11":206,"83":41984,"24":9,"16":23077052554936320,"45":1005428647378358272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327212544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23077052554936320,"km_value":23077052554936.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005428647378358272,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327212544001,"power":14157,"unknown_11":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1005428647378358272}} 
[2026-09-25 18:23:00] 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":896629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:00] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:00] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:02] local.INFO: TCP Data received {"connection_id":195271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:02] local.INFO: Processing buffer {"connection_id":195271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:02] local.INFO: Packet analysis {"connection_id":195271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:02] local.INFO: Extracted packet for processing {"connection_id":195271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23: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-25 18:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:23:02] 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-25 18:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:23: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-25 18:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":195271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:02] local.INFO: GPS data processed {"connection_id":195271,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:02] local.INFO: Acknowledgment sent {"connection_id":195271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:04] local.INFO: TCP Data received {"connection_id":195272,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89eb9a0012d83344005d15090000800ad29..."} 
[2026-09-25 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89eb9a0012d83344005d15090000800ad29..."} 
[2026-09-25 18:23:04] local.INFO: Processing buffer {"connection_id":195272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89eb9a0012d83344005d15090000800ad29..."} 
[2026-09-25 18:23:04] local.INFO: Packet analysis {"connection_id":195272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:04] local.INFO: Extracted packet for processing {"connection_id":195272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97603728,"longitude_deg":76.3573312,"latitude_deg":9.7603728,"altitude":8,"angle":173,"satellites":41,"speed":8,"hex_longitude":"2d833440","hex_latitude":"05d15090","is_valid_coordinates":true} 
[2026-09-25 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327212800001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135970817686110208,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965415936,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340676000,"timestamp_ms":1790340676000,"timestamp_seconds":1790340676,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89eb9a0"} 
[2026-09-25 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23: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-25 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327212800001,"66":13450,"63":206,"85":15104,"24":8,"16":135970817686110208,"45":-8992562530965415936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-25 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327212800001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-25 18:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135970817686110208,"km_value":135970817686110.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965415936,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327212800001,"power":13450,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992562530965415936}} 
[2026-09-25 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":195272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:04] local.INFO: GPS data processed {"connection_id":195272,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:04] local.INFO: Acknowledgment sent {"connection_id":195272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:20] local.INFO: TCP Data received {"connection_id":195273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:20] local.INFO: Processing buffer {"connection_id":195273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:20] local.INFO: IMEI packet received {"connection_id":195273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":195273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:23:22] local.INFO: TCP Data received {"connection_id":195273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195273,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:22] local.INFO: Processing buffer {"connection_id":195273,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:23:22] local.INFO: IMEI packet received {"connection_id":195273,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":195273,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:23:23] local.INFO: TCP Data received {"connection_id":195273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:23] local.INFO: Processing buffer {"connection_id":195273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:23] local.INFO: Packet analysis {"connection_id":195273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:23] local.INFO: Extracted packet for processing {"connection_id":195273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:23: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-25 18:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:23] 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-25 18:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:23] 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-25 18:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:23: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-25 18:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":195273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:23] local.INFO: GPS data processed {"connection_id":195273,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:23] local.INFO: Acknowledgment sent {"connection_id":195273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:25] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:25] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:25] local.INFO: IMEI packet received {"connection_id":192409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:23:28] local.INFO: TCP Data received {"connection_id":195273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:28] local.INFO: Processing buffer {"connection_id":195273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:23:28] local.INFO: Packet analysis {"connection_id":195273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:28] local.INFO: Extracted packet for processing {"connection_id":195273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:23: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-25 18:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:28] 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-25 18:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:28] 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-25 18:23: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:28] 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-25 18:23: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-25 18:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:23:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":195273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:28] local.INFO: GPS data processed {"connection_id":195273,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:28] local.INFO: Acknowledgment sent {"connection_id":195273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:29] local.INFO: TCP Data received {"connection_id":192408,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:23:29] local.INFO: Processing buffer {"connection_id":192408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:23:29] local.INFO: IMEI packet received {"connection_id":192408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:23:30] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:30] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:23:30] local.INFO: IMEI packet received {"connection_id":192409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:23:31] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:31] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:23:31] local.INFO: Packet analysis {"connection_id":192409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:31] local.INFO: Extracted packet for processing {"connection_id":192409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23: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-25 18:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:23:31] local.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-25 18:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:23: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-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:23:31] 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":896634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:31] local.INFO: GPS data processed {"connection_id":192409,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:31] local.INFO: Acknowledgment sent {"connection_id":192409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:31] local.INFO: TCP Data received {"connection_id":192407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89ec940012d0df1c0071e0368001d014e29..."} 
[2026-09-25 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89ec940012d0df1c0071e0368001d014e29..."} 
[2026-09-25 18:23:31] local.INFO: Processing buffer {"connection_id":192407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89ec940012d0df1c0071e0368001d014e29..."} 
[2026-09-25 18:23:31] local.INFO: Packet analysis {"connection_id":192407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:31] local.INFO: Extracted packet for processing {"connection_id":192407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:23:31] local.INFO: GPS Element Parsed {"raw_longitude":755888576,"raw_latitude":119407464,"longitude_deg":75.5888576,"latitude_deg":11.9407464,"altitude":29,"angle":334,"satellites":41,"speed":13,"hex_longitude":"2d0df1c0","hex_latitude":"071e0368","is_valid_coordinates":true} 
[2026-09-25 18:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327213056001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23077116979445760,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005287909890115584,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340680000,"timestamp_ms":1790340680000,"timestamp_seconds":1790340680,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89ec940"} 
[2026-09-25 18:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:31] 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-25 18:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:31] 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-25 18:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327213056001,"66":14243,"11":206,"83":41984,"24":13,"16":23077116979445760,"45":1005287909890115584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 18:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327213056001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23077116979445760,"km_value":23077116979445.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005287909890115584,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327213056001,"power":14243,"unknown_11":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1005287909890115584}} 
[2026-09-25 18:23:31] 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":896635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:31] local.INFO: GPS data processed {"connection_id":192407,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:31] local.INFO: Acknowledgment sent {"connection_id":192407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:32] local.INFO: TCP Data received {"connection_id":195274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:32] local.INFO: Processing buffer {"connection_id":195274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:32] local.INFO: IMEI packet received {"connection_id":195274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":195274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:23:37] local.INFO: TCP Data received {"connection_id":195274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:37] local.INFO: Processing buffer {"connection_id":195274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:23:37] local.INFO: IMEI packet received {"connection_id":195274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":195274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:23:42] local.INFO: TCP Data received {"connection_id":195274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a0a5d0012d83334005d15210000300e829..."} 
[2026-09-25 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a0a5d0012d83334005d15210000300e829..."} 
[2026-09-25 18:23:42] local.INFO: Processing buffer {"connection_id":195274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a0a5d0012d83334005d15210000300e829..."} 
[2026-09-25 18:23:42] local.INFO: Packet analysis {"connection_id":195274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:42] local.INFO: Extracted packet for processing {"connection_id":195274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604112,"longitude_deg":76.3573056,"latitude_deg":9.7604112,"altitude":3,"angle":232,"satellites":41,"speed":7,"hex_longitude":"2d833340","hex_latitude":"05d15210","is_valid_coordinates":true} 
[2026-09-25 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327245056001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135970933650227200,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965362688,"note":"Value kept but may cause issues"} 
[2026-09-25 18:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790340802000,"timestamp_ms":1790340802000,"timestamp_seconds":1790340802,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a0a5d0"} 
[2026-09-25 18:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:23:42] 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-25 18:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:23:42] 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-25 18:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327245056001,"66":13580,"221":206,"85":15104,"24":7,"16":135970933650227200,"45":-8992562530965362688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-25 18:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327245056001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-25 18:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135970933650227200,"km_value":135970933650227.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965362688,"description":"Unknown IO ID 45"} 
[2026-09-25 18:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327245056001,"power":13580,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8992562530965362688}} 
[2026-09-25 18:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":195274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:23:42] local.INFO: GPS data processed {"connection_id":195274,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:23:42] local.INFO: Acknowledgment sent {"connection_id":195274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:23:59] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:23:59] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:23:59] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:00] local.INFO: TCP Data received {"connection_id":195273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:00] local.INFO: Processing buffer {"connection_id":195273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:00] local.INFO: Packet analysis {"connection_id":195273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:00] local.INFO: Extracted packet for processing {"connection_id":195273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:00] 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-25 18:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24:00] 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-25 18:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:00] 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-25 18:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195273,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":195273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:00] local.INFO: GPS data processed {"connection_id":195273,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:00] local.INFO: Acknowledgment sent {"connection_id":195273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:03] local.INFO: TCP Data received {"connection_id":195275,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:24:03] local.INFO: Processing buffer {"connection_id":195275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:24:03] local.INFO: IMEI packet received {"connection_id":195275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":195275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:04] local.INFO: TCP Data received {"connection_id":192409,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:04] local.INFO: Processing buffer {"connection_id":192409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:04] local.INFO: Packet analysis {"connection_id":192409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:24:04] local.INFO: Extracted packet for processing {"connection_id":192409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24: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-25 18:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:24: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-25 18:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:24: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-25 18:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:24: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-25 18:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:24:04] 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":896638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:04] local.INFO: GPS data processed {"connection_id":192409,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:04] local.INFO: Acknowledgment sent {"connection_id":192409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:04] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:04] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:04] local.INFO: IMEI packet received {"connection_id":192410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":192410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:24:05] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a01930012d0d9f80071e47200027011d26..."} 
[2026-09-25 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a01930012d0d9f80071e47200027011d26..."} 
[2026-09-25 18:24:05] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a01930012d0d9f80071e47200027011d26..."} 
[2026-09-25 18:24:05] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:05] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:05] local.INFO: GPS Element Parsed {"raw_longitude":755867520,"raw_latitude":119424800,"longitude_deg":75.586752,"latitude_deg":11.94248,"altitude":39,"angle":285,"satellites":38,"speed":7,"hex_longitude":"2d0d9f80","hex_latitude":"071e4720","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327233536001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23078469894144000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983121755478411264,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790340766000,"timestamp_ms":1790340766000,"timestamp_seconds":1790340766,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a01930"} 
[2026-09-25 18: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-25 18:24:05] 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-25 18: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3634310864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3246508742000119896,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57828861321040804,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2674997249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":30,"raw_value":1258756216128350208,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1930100942,"corrected_to":0} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080563,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":81,"raw_value":4242341888,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2247297507076358151,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":115,"raw_value":792860393046284288,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:05] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,11,83,24,241,157,16,253,160,222,45,192,56,34,38,10,66,148,26,40,124,1,240,169,227,216,30,4,113,205,18,78,219,64,239,54,2,81,7,28,159,8,115,76],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1930100942,"validated":0}]} 
[2026-09-25 18:24:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522382087614496768,"timestamp_seconds":2522382087614497.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18: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-25 18:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327233536001,"66":14428,"156":206,"83":41984,"24":7,"16":23078469894144000,"45":983121755478411264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-25 18:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327233536001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23078469894144000,"km_value":23078469894144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":983121755478411264,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327233536001,"power":14428,"unknown_156":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":983121755478411264}} 
[2026-09-25 18:24:05] 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":896639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:05] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:05] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:09] local.INFO: TCP Data received {"connection_id":192410,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a05f80012d0d7b00071e4f780026011a29..."} 
[2026-09-25 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a05f80012d0d7b00071e4f780026011a29..."} 
[2026-09-25 18:24:09] local.INFO: Processing buffer {"connection_id":192410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a05f80012d0d7b00071e4f780026011a29..."} 
[2026-09-25 18:24:09] local.INFO: Packet analysis {"connection_id":192410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:09] local.INFO: Extracted packet for processing {"connection_id":192410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:09] local.INFO: GPS Element Parsed {"raw_longitude":755858176,"raw_latitude":119426936,"longitude_deg":75.5858176,"latitude_deg":11.9426936,"altitude":38,"angle":282,"satellites":41,"speed":27,"hex_longitude":"2d0d7b00","hex_latitude":"071e4f78","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327236096001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23078925160677376,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981644011851161600,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790340784000,"timestamp_ms":1790340784000,"timestamp_seconds":1790340784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a05f80"} 
[2026-09-25 18: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-25 18:24: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-25 18: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":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:24: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-25 18: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-25 18: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-25 18:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327236096001,"66":13993,"156":206,"83":41984,"24":27,"16":23078925160677376,"45":981644011851161600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-25 18:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327236096001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23078925160677376,"km_value":23078925160677.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":981644011851161600,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327236096001,"power":13993,"unknown_156":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":981644011851161600}} 
[2026-09-25 18:24:09] 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":896640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:09] local.INFO: GPS data processed {"connection_id":192410,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:09] local.INFO: Acknowledgment sent {"connection_id":192410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:17] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:17] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:17] local.INFO: IMEI packet received {"connection_id":193935,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":193935,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:23] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:23] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:24:23] local.INFO: IMEI packet received {"connection_id":193935,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":193935,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:24:25] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:25] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:25] local.INFO: Packet analysis {"connection_id":193935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:25] local.INFO: Extracted packet for processing {"connection_id":193935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:25] 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-25 18:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:25] 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-25 18:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":193935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":193935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":193935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:24:25] 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":896641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:25] local.INFO: GPS data processed {"connection_id":193935,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:25] local.INFO: Acknowledgment sent {"connection_id":193935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:25] local.INFO: TCP Data received {"connection_id":193936,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:25] local.INFO: Processing buffer {"connection_id":193936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:25] local.INFO: IMEI packet received {"connection_id":193936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":193936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:27] local.INFO: TCP Data received {"connection_id":195276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:27] local.INFO: Processing buffer {"connection_id":195276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:27] local.INFO: IMEI packet received {"connection_id":195276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":195276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:30] local.INFO: TCP Data received {"connection_id":193936,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:30] local.INFO: Processing buffer {"connection_id":193936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:24:30] local.INFO: IMEI packet received {"connection_id":193936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":193936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:24:31] local.INFO: TCP Data received {"connection_id":193936,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:31] local.INFO: Processing buffer {"connection_id":193936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:24:31] local.INFO: Packet analysis {"connection_id":193936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:24:31] local.INFO: Extracted packet for processing {"connection_id":193936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24: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-25 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:24: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-25 18:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":193936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:31] local.INFO: GPS data processed {"connection_id":193936,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:31] local.INFO: Acknowledgment sent {"connection_id":193936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:32] local.INFO: TCP Data received {"connection_id":195276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:32] local.INFO: Processing buffer {"connection_id":195276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:24:32] local.INFO: IMEI packet received {"connection_id":195276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":195276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:24:33] local.INFO: TCP Data received {"connection_id":195276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a178c0012d82964005d164b0000001652a..."} 
[2026-09-25 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a178c0012d82964005d164b0000001652a..."} 
[2026-09-25 18:24:33] local.INFO: Processing buffer {"connection_id":195276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a178c0012d82964005d164b0000001652a..."} 
[2026-09-25 18:24:33] local.INFO: Packet analysis {"connection_id":195276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a1"} 
[2026-09-25 18:24:33] local.INFO: Extracted packet for processing {"connection_id":195276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a1"} 
[2026-09-25 18:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97608880,"longitude_deg":76.3532864,"latitude_deg":9.760888,"altitude":0,"angle":357,"satellites":42,"speed":12,"hex_longitude":"2d829640","hex_latitude":"05d164b0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327258880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135972896450281472,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540346368,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340856000,"timestamp_ms":1790340856000,"timestamp_seconds":1790340856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a178c0"} 
[2026-09-25 18: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-25 18:24:33] 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-25 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:33] 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-25 18: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-25 18: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-25 18:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327258880001,"66":13254,"68":206,"85":15104,"24":12,"16":135972896450281472,"45":-9036965208540346368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-25 18:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327258880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:33] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-25 18:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135972896450281472,"km_value":135972896450281.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540346368,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327258880001,"power":13254,"unknown_68":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9036965208540346368}} 
[2026-09-25 18:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":195276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:33] local.INFO: GPS data processed {"connection_id":195276,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:33] local.INFO: Acknowledgment sent {"connection_id":195276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:54] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:54] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:54] local.INFO: IMEI packet received {"connection_id":192573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":192573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:24:57] local.INFO: TCP Data received {"connection_id":193935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:57] local.INFO: Processing buffer {"connection_id":193935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:24:57] local.INFO: Packet analysis {"connection_id":193935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:57] local.INFO: Extracted packet for processing {"connection_id":193935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:57] 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-25 18:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24:57] 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-25 18:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:57] 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-25 18:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":193935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":193935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":193935,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:24:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:24:57] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:57] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:24:57] local.INFO: IMEI packet received {"connection_id":192573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":192573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:24:57] 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":896644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:57] local.INFO: GPS data processed {"connection_id":193935,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:57] local.INFO: Acknowledgment sent {"connection_id":193935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:24:58] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a06b38012d0d7380071e51f00025012628..."} 
[2026-09-25 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a06b38012d0d7380071e51f00025012628..."} 
[2026-09-25 18:24:58] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a06b38012d0d7380071e51f00025012628..."} 
[2026-09-25 18:24:58] local.INFO: Packet analysis {"connection_id":192573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:58] local.INFO: Extracted packet for processing {"connection_id":192573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":755856256,"raw_latitude":119427568,"longitude_deg":75.5856256,"latitude_deg":11.9427568,"altitude":37,"angle":294,"satellites":40,"speed":22,"hex_longitude":"2d0d7380","hex_latitude":"071e51f0","is_valid_coordinates":true} 
[2026-09-25 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327240704001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23079023944925184,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":971370175201769472,"note":"Value kept but may cause issues"} 
[2026-09-25 18:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790340787000,"timestamp_ms":1790340787000,"timestamp_seconds":1790340787,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a06b38"} 
[2026-09-25 18:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:24: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-25 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 18:24:58] 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-25 18:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327240704001,"66":14428,"156":206,"83":41984,"24":22,"16":23079023944925184,"45":971370175201769472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-25 18:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327240704001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:24:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23079023944925184,"km_value":23079023944925.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":971370175201769472,"description":"Unknown IO ID 45"} 
[2026-09-25 18:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327240704001,"power":14428,"unknown_156":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":971370175201769472}} 
[2026-09-25 18:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":192573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:24:58] local.INFO: GPS data processed {"connection_id":192573,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:24:58] local.INFO: Acknowledgment sent {"connection_id":192573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:03] local.INFO: TCP Data received {"connection_id":193936,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:03] local.INFO: Processing buffer {"connection_id":193936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:03] local.INFO: Packet analysis {"connection_id":193936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:25:03] local.INFO: Extracted packet for processing {"connection_id":193936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25: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-25 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:25: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-25 18:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":193936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:03] local.INFO: GPS data processed {"connection_id":193936,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:03] local.INFO: Acknowledgment sent {"connection_id":193936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:07] local.INFO: TCP Data received {"connection_id":195276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a18090012d82960005d166f8000001592a..."} 
[2026-09-25 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a18090012d82960005d166f8000001592a..."} 
[2026-09-25 18:25:07] local.INFO: Processing buffer {"connection_id":195276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a18090012d82960005d166f8000001592a..."} 
[2026-09-25 18:25:07] local.INFO: Packet analysis {"connection_id":195276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a1"} 
[2026-09-25 18:25:07] local.INFO: Extracted packet for processing {"connection_id":195276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a1"} 
[2026-09-25 18:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97609464,"longitude_deg":76.35328,"latitude_deg":9.7609464,"altitude":0,"angle":345,"satellites":42,"speed":11,"hex_longitude":"2d829600","hex_latitude":"05d166f8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327259136001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135972926515052544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208540270592,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790340858000,"timestamp_ms":1790340858000,"timestamp_seconds":1790340858,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a18090"} 
[2026-09-25 18: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-25 18:25:07] 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-25 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:07] 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-25 18: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-25 18: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-25 18:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327259136001,"66":13526,"64":206,"85":15104,"24":11,"16":135972926515052544,"45":-9036965208540270592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-09-25 18:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327259136001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-25 18:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135972926515052544,"km_value":135972926515052.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208540270592,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327259136001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9036965208540270592}} 
[2026-09-25 18:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":195276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:07] local.INFO: GPS data processed {"connection_id":195276,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:07] local.INFO: Acknowledgment sent {"connection_id":195276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:17] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:17] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:17] local.INFO: IMEI packet received {"connection_id":192574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":192574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:25:22] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:22] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:25:22] local.INFO: IMEI packet received {"connection_id":192574,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":192574,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:25:23] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:23] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:23] local.INFO: Packet analysis {"connection_id":192574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:23] local.INFO: Extracted packet for processing {"connection_id":192574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:23] 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-25 18:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18: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-25 18:25:23] 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-25 18: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:25:24] 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":896648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:24] local.INFO: GPS data processed {"connection_id":192574,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:24] local.INFO: Acknowledgment sent {"connection_id":192574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:24] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:24] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:24] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:25:27] local.INFO: TCP Data received {"connection_id":195277,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:27] local.INFO: Processing buffer {"connection_id":195277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:27] local.INFO: IMEI packet received {"connection_id":195277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":195277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:25:29] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a08a78012d0d65c0071e59e00023013327..."} 
[2026-09-25 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a08a78012d0d65c0071e59e00023013327..."} 
[2026-09-25 18:25:29] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a08a78012d0d65c0071e59e00023013327..."} 
[2026-09-25 18:25:29] local.INFO: Packet analysis {"connection_id":192573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:29] local.INFO: Extracted packet for processing {"connection_id":192573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":755852736,"raw_latitude":119429600,"longitude_deg":75.5852736,"latitude_deg":11.94296,"altitude":35,"angle":307,"satellites":39,"speed":18,"hex_longitude":"2d0d65c0","hex_latitude":"071e59e0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327241472001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23079217218453504,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969259112876601344,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790340795000,"timestamp_ms":1790340795000,"timestamp_seconds":1790340795,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a08a78"} 
[2026-09-25 18: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-25 18:25:29] 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-25 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:29] 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-25 18: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-25 18: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-25 18:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:25: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-25 18:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327241472001,"66":14070,"156":206,"83":41984,"24":18,"16":23079217218453504,"45":969259112876601344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-25 18:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327241472001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 18:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23079217218453504,"km_value":23079217218453.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":969259112876601344,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327241472001,"power":14070,"unknown_156":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":969259112876601344}} 
[2026-09-25 18:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":192573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:29] local.INFO: GPS data processed {"connection_id":192573,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:29] local.INFO: Acknowledgment sent {"connection_id":192573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:30] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:30] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:25:30] local.INFO: IMEI packet received {"connection_id":192412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:25:31] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:31] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:25:31] local.INFO: Packet analysis {"connection_id":192412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:25:31] local.INFO: Extracted packet for processing {"connection_id":192412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25: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-25 18:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18: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-25 18:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:25: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-25 18:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:25:31] 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":896650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:31] local.INFO: GPS data processed {"connection_id":192412,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:31] local.INFO: Acknowledgment sent {"connection_id":192412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:32] local.INFO: TCP Data received {"connection_id":195277,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:32] local.INFO: Processing buffer {"connection_id":195277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:25:32] local.INFO: IMEI packet received {"connection_id":195277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":195277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:25:33] local.INFO: TCP Data received {"connection_id":195277,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a25f38012d81e14005d17af00003010f29..."} 
[2026-09-25 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a25f38012d81e14005d17af00003010f29..."} 
[2026-09-25 18:25:33] local.INFO: Processing buffer {"connection_id":195277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a25f38012d81e14005d17af00003010f29..."} 
[2026-09-25 18:25:33] local.INFO: Packet analysis {"connection_id":195277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:25:33] local.INFO: Extracted packet for processing {"connection_id":195277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763486528,"raw_latitude":97614576,"longitude_deg":76.3486528,"latitude_deg":9.7614576,"altitude":3,"angle":271,"satellites":41,"speed":31,"hex_longitude":"2d81e140","hex_latitude":"05d17af0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327271680001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135975198552752128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077708711417700352,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340915000,"timestamp_ms":1790340915000,"timestamp_seconds":1790340915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a25f38"} 
[2026-09-25 18: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-25 18:25:33] 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-25 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:33] 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-25 18: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-25 18: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-25 18:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327271680001,"66":12200,"65":206,"85":15104,"24":31,"16":135975198552752128,"45":-9077708711417700352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-25 18:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327271680001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:33] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-25 18:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135975198552752128,"km_value":135975198552752.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077708711417700352,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327271680001,"power":12200,"unknown_65":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9077708711417700352}} 
[2026-09-25 18:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":195277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:33] local.INFO: GPS data processed {"connection_id":195277,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:33] local.INFO: Acknowledgment sent {"connection_id":195277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:54] local.INFO: TCP Data received {"connection_id":195278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:54] local.INFO: Processing buffer {"connection_id":195278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:54] local.INFO: IMEI packet received {"connection_id":195278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":195278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:25:55] local.INFO: TCP Data received {"connection_id":192574,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:55] local.INFO: Processing buffer {"connection_id":192574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:25:55] local.INFO: Packet analysis {"connection_id":192574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:55] local.INFO: Extracted packet for processing {"connection_id":192574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:55] 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-25 18:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18: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-25 18:25:55] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:25: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-25 18: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-25 18: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-25 18:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192574,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:25:55] 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":896652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:55] local.INFO: GPS data processed {"connection_id":192574,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:55] local.INFO: Acknowledgment sent {"connection_id":192574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:25:57] local.INFO: TCP Data received {"connection_id":195278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:57] local.INFO: Processing buffer {"connection_id":195278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:25:57] local.INFO: IMEI packet received {"connection_id":195278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":195278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:25:58] local.INFO: TCP Data received {"connection_id":195278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a21500012d0cc600071eadb00024010e29..."} 
[2026-09-25 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a21500012d0cc600071eadb00024010e29..."} 
[2026-09-25 18:25:58] local.INFO: Processing buffer {"connection_id":195278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a21500012d0cc600071eadb00024010e29..."} 
[2026-09-25 18:25:58] local.INFO: Packet analysis {"connection_id":195278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:25:58] local.INFO: Extracted packet for processing {"connection_id":195278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:25:58] local.INFO: GPS Element Parsed {"raw_longitude":755811840,"raw_latitude":119451056,"longitude_deg":75.581184,"latitude_deg":11.9451056,"altitude":36,"angle":270,"satellites":41,"speed":12,"hex_longitude":"2d0cc600","hex_latitude":"071eadb0","is_valid_coordinates":true} 
[2026-09-25 18:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327265024001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23081446306480128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037866375393280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790340896000,"timestamp_ms":1790340896000,"timestamp_seconds":1790340896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a21500"} 
[2026-09-25 18:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:25: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-25 18:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 18:25:58] 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-25 18:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327265024001,"66":13852,"155":206,"83":41984,"24":12,"16":23081446306480128,"45":927037866375393280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327265024001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:25:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23081446306480128,"km_value":23081446306480.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037866375393280,"description":"Unknown IO ID 45"} 
[2026-09-25 18:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327265024001,"power":13852,"unknown_155":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":927037866375393280}} 
[2026-09-25 18:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":195278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:25:58] local.INFO: GPS data processed {"connection_id":195278,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:25:58] local.INFO: Acknowledgment sent {"connection_id":195278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:03] local.INFO: TCP Data received {"connection_id":192412,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:26:03] local.INFO: Processing buffer {"connection_id":192412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d89e38b8012d34c14006aa4908000e006e2e..."} 
[2026-09-25 18:26:03] local.INFO: Packet analysis {"connection_id":192412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:26:03] local.INFO: Extracted packet for processing {"connection_id":192412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d89e"} 
[2026-09-25 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":14,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327127552001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26: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-25 18:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340643000,"timestamp_ms":1790340643000,"timestamp_seconds":1790340643,"priority":1,"record_length":96,"hex_timestamp":"000001a0d89e38b8"} 
[2026-09-25 18:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327127552001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327127552001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:26: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-25 18:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327127552001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:26:03] 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":896654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:03] local.INFO: GPS data processed {"connection_id":192412,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:03] local.INFO: Acknowledgment sent {"connection_id":192412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:04] local.INFO: TCP Data received {"connection_id":195277,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a26708012d81db8005d17c400004012329..."} 
[2026-09-25 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a26708012d81db8005d17c400004012329..."} 
[2026-09-25 18:26:04] local.INFO: Processing buffer {"connection_id":195277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a26708012d81db8005d17c400004012329..."} 
[2026-09-25 18:26:04] local.INFO: Packet analysis {"connection_id":195277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:04] local.INFO: Extracted packet for processing {"connection_id":195277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763485056,"raw_latitude":97614912,"longitude_deg":76.3485056,"latitude_deg":9.7614912,"altitude":4,"angle":291,"satellites":41,"speed":33,"hex_longitude":"2d81db80","hex_latitude":"05d17c40","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327274240001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135975275862163456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087912179323441152,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340917000,"timestamp_ms":1790340917000,"timestamp_seconds":1790340917,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a26708"} 
[2026-09-25 18: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-25 18:26:04] 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-25 18: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327274240001,"66":12232,"65":206,"85":15104,"24":33,"16":135975275862163456,"45":-9087912179323441152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-25 18:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327274240001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135975275862163456,"km_value":135975275862163.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087912179323441152,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327274240001,"power":12232,"unknown_65":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9087912179323441152}} 
[2026-09-25 18:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":195277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:04] local.INFO: GPS data processed {"connection_id":195277,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:04] local.INFO: Acknowledgment sent {"connection_id":195277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:24] local.INFO: TCP Data received {"connection_id":193938,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:24] local.INFO: Processing buffer {"connection_id":193938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:24] local.INFO: IMEI packet received {"connection_id":193938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":193938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:26:27] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:27] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:27] local.INFO: IMEI packet received {"connection_id":193937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":193937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:26:29] local.INFO: TCP Data received {"connection_id":195278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a218e8012d0cc480071ead880025010029..."} 
[2026-09-25 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a218e8012d0cc480071ead880025010029..."} 
[2026-09-25 18:26:29] local.INFO: Processing buffer {"connection_id":195278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a218e8012d0cc480071ead880025010029..."} 
[2026-09-25 18:26:29] local.INFO: Packet analysis {"connection_id":195278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:29] local.INFO: Extracted packet for processing {"connection_id":195278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":755811456,"raw_latitude":119451016,"longitude_deg":75.5811456,"latitude_deg":11.9451016,"altitude":37,"angle":256,"satellites":41,"speed":14,"hex_longitude":"2d0cc480","hex_latitude":"071ead88","is_valid_coordinates":true} 
[2026-09-25 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327269376001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23081467781316608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920423204423315456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790340897000,"timestamp_ms":1790340897000,"timestamp_seconds":1790340897,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a218e8"} 
[2026-09-25 18:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:26:29] 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-25 18:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:29] 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-25 18:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:26: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-25 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327269376001,"66":13820,"155":206,"83":41984,"24":14,"16":23081467781316608,"45":920423204423315456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327269376001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:29] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23081467781316608,"km_value":23081467781316.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":920423204423315456,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327269376001,"power":13820,"unknown_155":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":920423204423315456}} 
[2026-09-25 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":195278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:29] local.INFO: GPS data processed {"connection_id":195278,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:29] local.INFO: Acknowledgment sent {"connection_id":195278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:30] local.INFO: TCP Data received {"connection_id":193938,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:30] local.INFO: Processing buffer {"connection_id":193938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:26:30] local.INFO: IMEI packet received {"connection_id":193938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":193938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:32] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:32] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:32] local.INFO: IMEI packet received {"connection_id":193939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":193939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:26:33] local.INFO: TCP Data received {"connection_id":193938,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:26:33] local.INFO: Processing buffer {"connection_id":193938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:26:33] local.INFO: Packet analysis {"connection_id":193938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:33] local.INFO: Extracted packet for processing {"connection_id":193938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18: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-25 18:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:26: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-25 18: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-25 18: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-25 18:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:26: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-25 18:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":193938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:33] local.INFO: GPS data processed {"connection_id":193938,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:33] local.INFO: Acknowledgment sent {"connection_id":193938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:34] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:34] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:26:34] local.INFO: IMEI packet received {"connection_id":193939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":193939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:35] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a33228012d81254005d18ba00003011229..."} 
[2026-09-25 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a33228012d81254005d18ba00003011229..."} 
[2026-09-25 18:26:35] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a33228012d81254005d18ba00003011229..."} 
[2026-09-25 18:26:35] local.INFO: Packet analysis {"connection_id":193939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:35] local.INFO: Extracted packet for processing {"connection_id":193939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763438400,"raw_latitude":97618848,"longitude_deg":76.34384,"latitude_deg":9.7618848,"altitude":3,"angle":274,"satellites":41,"speed":35,"hex_longitude":"2d812540","hex_latitude":"05d18ba0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327285760001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135977552194830336,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130977850759485440,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790340969000,"timestamp_ms":1790340969000,"timestamp_seconds":1790340969,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a33228"} 
[2026-09-25 18: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-25 18:26: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-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:35] 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-25 18: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-25 18: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-25 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327285760001,"66":12232,"65":206,"85":15104,"24":35,"16":135977552194830336,"45":-9130977850759485440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327285760001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135977552194830336,"km_value":135977552194830.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130977850759485440,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327285760001,"power":12232,"unknown_65":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9130977850759485440}} 
[2026-09-25 18:26:35] 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":896658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:35] local.INFO: GPS data processed {"connection_id":193939,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:35] local.INFO: Acknowledgment sent {"connection_id":193939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:35] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a345b0012d81184005d18bc80003010629..."} 
[2026-09-25 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a345b0012d81184005d18bc80003010629..."} 
[2026-09-25 18:26:35] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a345b0012d81184005d18bc80003010629..."} 
[2026-09-25 18:26:35] local.INFO: Packet analysis {"connection_id":193939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:35] local.INFO: Extracted packet for processing {"connection_id":193939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763435072,"raw_latitude":97618888,"longitude_deg":76.3435072,"latitude_deg":9.7618888,"altitude":3,"angle":262,"satellites":41,"speed":19,"hex_longitude":"2d811840","hex_latitude":"05d18bc8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327288064001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135977715403587584,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9140829474943950848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790340974000,"timestamp_ms":1790340974000,"timestamp_seconds":1790340974,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a345b0"} 
[2026-09-25 18: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-25 18:26: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-25 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:35] 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-25 18: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-25 18: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-25 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327288064001,"66":11808,"65":206,"85":15104,"24":19,"16":135977715403587584,"45":-9140829474943950848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-25 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327288064001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135977715403587584,"km_value":135977715403587.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9140829474943950848,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327288064001,"power":11808,"unknown_65":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9140829474943950848}} 
[2026-09-25 18:26:36] 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":896659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:36] local.INFO: GPS data processed {"connection_id":193939,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:36] local.INFO: Acknowledgment sent {"connection_id":193939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:39] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:39] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:26:39] local.INFO: IMEI packet received {"connection_id":193937,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":193937,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:40] local.INFO: TCP Data received {"connection_id":193937,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:26:40] local.INFO: Processing buffer {"connection_id":193937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a04040012d0b10c007029f100011013d1c..."} 
[2026-09-25 18:26:40] local.INFO: Packet analysis {"connection_id":193937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:26:40] local.INFO: Extracted packet for processing {"connection_id":193937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a0"} 
[2026-09-25 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327161600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26: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-25 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790340776000,"timestamp_ms":1790340776000,"timestamp_seconds":1790340776,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a04040"} 
[2026-09-25 18: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-25 18:26:40] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:40] 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-25 18: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-25 18: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-25 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193937,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327161600001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327161600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:26:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327161600001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:26:41] 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":896660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:41] local.INFO: GPS data processed {"connection_id":193937,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:41] local.INFO: Acknowledgment sent {"connection_id":193937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:26:52] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:52] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:52] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:26:54] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:54] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:54] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:59] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:59] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:26:59] local.INFO: IMEI packet received {"connection_id":192413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":192413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:26:59] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a33de0012d0c21c0071eaaf80032014c2a..."} 
[2026-09-25 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a33de0012d0c21c0071eaaf80032014c2a..."} 
[2026-09-25 18:26:59] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a33de0012d0c21c0071eaaf80032014c2a..."} 
[2026-09-25 18:26:59] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:59] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:26:59] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":119450360,"longitude_deg":75.5769792,"latitude_deg":11.945036,"altitude":50,"angle":332,"satellites":42,"speed":11,"hex_longitude":"2d0c21c0","hex_latitude":"071eaaf8","is_valid_coordinates":true} 
[2026-09-25 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23083533660585984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542783219202048,"note":"Value kept but may cause issues"} 
[2026-09-25 18:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790340972000,"timestamp_ms":1790340972000,"timestamp_seconds":1790340972,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a33de0"} 
[2026-09-25 18:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:26:59] 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-25 18:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-25 18:26:59] 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-25 18:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327288320001,"66":14428,"155":206,"83":41984,"24":11,"16":23083533660585984,"45":874542783219202048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:26:59] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23083533660585984,"km_value":23083533660585.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542783219202048,"description":"Unknown IO ID 45"} 
[2026-09-25 18:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327288320001,"power":14428,"unknown_155":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":874542783219202048}} 
[2026-09-25 18:26:59] 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":896661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:26:59] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:26:59] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:07] local.INFO: TCP Data received {"connection_id":193939,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a35168012d81138005d18b880002011d2a..."} 
[2026-09-25 18:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a35168012d81138005d18b880002011d2a..."} 
[2026-09-25 18:27:07] local.INFO: Processing buffer {"connection_id":193939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a35168012d81138005d18b880002011d2a..."} 
[2026-09-25 18:27:07] local.INFO: Packet analysis {"connection_id":193939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:07] local.INFO: Extracted packet for processing {"connection_id":193939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763433856,"raw_latitude":97618824,"longitude_deg":76.3433856,"latitude_deg":9.7618824,"altitude":2,"angle":285,"satellites":42,"speed":11,"hex_longitude":"2d811380","hex_latitude":"05d18b88","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327289344001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135977775533129728,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144488649641179136,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790340977000,"timestamp_ms":1790340977000,"timestamp_seconds":1790340977,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a35168"} 
[2026-09-25 18: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-25 18:27:07] 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-25 18: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-25 18:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":193939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":193939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327289344001,"66":11711,"65":206,"85":15104,"24":11,"16":135977775533129728,"45":-9144488649641179136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-09-25 18:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327289344001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:07] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-25 18:27:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135977775533129728,"km_value":135977775533129.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144488649641179136,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327289344001,"power":11711,"unknown_65":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9144488649641179136}} 
[2026-09-25 18:27:07] 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":896662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:27:07] local.INFO: GPS data processed {"connection_id":193939,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:27:07] local.INFO: Acknowledgment sent {"connection_id":193939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:08] local.INFO: TCP Data received {"connection_id":193938,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:08] local.INFO: Processing buffer {"connection_id":193938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:08] local.INFO: Packet analysis {"connection_id":193938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:27:08] local.INFO: Extracted packet for processing {"connection_id":193938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18: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-25 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:27: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-25 18: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-25 18: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-25 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":193938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":193938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":193938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18: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-25 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":193938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:27:08] local.INFO: GPS data processed {"connection_id":193938,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:27:08] local.INFO: Acknowledgment sent {"connection_id":193938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:23] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:27:23] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:27:23] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:27:25] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:25] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:25] local.INFO: IMEI packet received {"connection_id":192414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":192414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:27:27] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:27] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:27] local.INFO: IMEI packet received {"connection_id":192416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":192416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:27:30] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:30] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:27:30] local.INFO: IMEI packet received {"connection_id":192414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":192414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:27:30] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:30] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:27:30] local.INFO: IMEI packet received {"connection_id":192416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":192416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:27:30] local.INFO: TCP Data received {"connection_id":192413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a345b0012d0c2100071eae100032015e2a..."} 
[2026-09-25 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a345b0012d0c2100071eae100032015e2a..."} 
[2026-09-25 18:27:30] local.INFO: Processing buffer {"connection_id":192413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a345b0012d0c2100071eae100032015e2a..."} 
[2026-09-25 18:27:30] local.INFO: Packet analysis {"connection_id":192413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:30] local.INFO: Extracted packet for processing {"connection_id":192413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":755769600,"raw_latitude":119451152,"longitude_deg":75.57696,"latitude_deg":11.9451152,"altitude":50,"angle":350,"satellites":42,"speed":18,"hex_longitude":"2d0c2100","hex_latitude":"071eae10","is_valid_coordinates":true} 
[2026-09-25 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327288832001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23083572315291648,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939498412032,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790340974000,"timestamp_ms":1790340974000,"timestamp_seconds":1790340974,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a345b0"} 
[2026-09-25 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:27: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-25 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327288832001,"66":14428,"242":206,"83":41984,"24":18,"16":23083572315291648,"45":874190939498412032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-25 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327288832001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 18:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23083572315291648,"km_value":23083572315291.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939498412032,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327288832001,"power":14428,"unknown_242":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":874190939498412032}} 
[2026-09-25 18:27:31] 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":896664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:27:31] local.INFO: GPS data processed {"connection_id":192413,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:27:31] local.INFO: Acknowledgment sent {"connection_id":192413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:31] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:31] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:27:31] local.INFO: Packet analysis {"connection_id":192414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:27:31] local.INFO: Extracted packet for processing {"connection_id":192414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27: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-25 18:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18: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-25 18:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:27: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-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:27:31] 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":896665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:27:31] local.INFO: GPS data processed {"connection_id":192414,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:27:31] local.INFO: Acknowledgment sent {"connection_id":192414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:31] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a43010012d81114005d235600001000a2a..."} 
[2026-09-25 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a43010012d81114005d235600001000a2a..."} 
[2026-09-25 18:27:31] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a43010012d81114005d235600001000a2a..."} 
[2026-09-25 18:27:31] local.INFO: Packet analysis {"connection_id":192416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:27:31] local.INFO: Extracted packet for processing {"connection_id":192416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763433280,"raw_latitude":97662304,"longitude_deg":76.343328,"latitude_deg":9.7662304,"altitude":1,"angle":10,"satellites":42,"speed":27,"hex_longitude":"2d811140","hex_latitude":"05d23560","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327303424001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135979910131875840,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146740449444605952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341034000,"timestamp_ms":1790341034000,"timestamp_seconds":1790341034,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a43010"} 
[2026-09-25 18: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-25 18:27: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-25 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437137572352,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186083,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2836316653305888496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3518345216,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165391365,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419274707435651426,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3388115176447344846,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":41,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2746421249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3676831745,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":1172080015966208,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3892391297,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147865013,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-8286623314361712639,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,160,5,45,192,25,2,42,10,66,237,128,11,1,41,65,194,240,168,227,216,209,4,113,205,143,15,176,239,47,23],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-09-25 18:27:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72452499102695424,"timestamp_seconds":72452499102695.42,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18: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-25 18:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327303424001,"66":11178,"208":206,"85":15104,"24":27,"16":135979910131875840,"45":-9146740449444605952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 18:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327303424001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135979910131875840,"km_value":135979910131875.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146740449444605952,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327303424001,"power":11178,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9146740449444605952}} 
[2026-09-25 18:27:31] 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":896666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:27:31] local.INFO: GPS data processed {"connection_id":192416,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:27:31] local.INFO: Acknowledgment sent {"connection_id":192416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:27:39] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:27:39] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:27:39] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:27:39] local.INFO: TCP Data received {"connection_id":192415,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:27:39] local.INFO: Processing buffer {"connection_id":192415,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:27:39] local.INFO: IMEI packet received {"connection_id":192415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":192415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:27:54] local.INFO: TCP Data received {"connection_id":195279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:54] local.INFO: Processing buffer {"connection_id":195279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:54] local.INFO: IMEI packet received {"connection_id":195279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":195279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:27:58] local.INFO: TCP Data received {"connection_id":195279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:58] local.INFO: Processing buffer {"connection_id":195279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:27:58] local.INFO: IMEI packet received {"connection_id":195279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":195279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:27:59] local.INFO: TCP Data received {"connection_id":195279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a34d80012d0c2100071eb2900032000129..."} 
[2026-09-25 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a34d80012d0c2100071eb2900032000129..."} 
[2026-09-25 18:27:59] local.INFO: Processing buffer {"connection_id":195279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a34d80012d0c2100071eb2900032000129..."} 
[2026-09-25 18:27:59] local.INFO: Packet analysis {"connection_id":195279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:59] local.INFO: Extracted packet for processing {"connection_id":195279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a3"} 
[2026-09-25 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755769600,"raw_latitude":119452304,"longitude_deg":75.57696,"latitude_deg":11.9452304,"altitude":50,"angle":1,"satellites":41,"speed":24,"hex_longitude":"2d0c2100","hex_latitude":"071eb290","is_valid_coordinates":true} 
[2026-09-25 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327289344001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23083628149866496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873979833266081792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790340976000,"timestamp_ms":1790340976000,"timestamp_seconds":1790340976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a34d80"} 
[2026-09-25 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:27:59] 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-25 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-25 18:27:59] 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-25 18:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327289344001,"66":14461,"242":206,"83":41984,"24":24,"16":23083628149866496,"45":873979833266081792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-25 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327289344001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:27:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 18:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23083628149866496,"km_value":23083628149866.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":873979833266081792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327289344001,"power":14461,"unknown_242":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":873979833266081792}} 
[2026-09-25 18:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":195279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:00] local.INFO: GPS data processed {"connection_id":195279,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:00] local.INFO: Acknowledgment sent {"connection_id":195279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:02] local.INFO: TCP Data received {"connection_id":192416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a46aa8012d81188005d25848000000152a..."} 
[2026-09-25 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a46aa8012d81188005d25848000000152a..."} 
[2026-09-25 18:28:02] local.INFO: Processing buffer {"connection_id":192416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a46aa8012d81188005d25848000000152a..."} 
[2026-09-25 18:28:02] local.INFO: Packet analysis {"connection_id":192416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:02] local.INFO: Extracted packet for processing {"connection_id":192416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763435136,"raw_latitude":97671240,"longitude_deg":76.3435136,"latitude_deg":9.767124,"altitude":0,"angle":21,"satellites":42,"speed":11,"hex_longitude":"2d811880","hex_latitude":"05d25848","is_valid_coordinates":true} 
[2026-09-25 18:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327304704001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135980352513507328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146458974467039232,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341049000,"timestamp_ms":1790341049000,"timestamp_seconds":1790341049,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a46aa8"} 
[2026-09-25 18:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-25 18:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327304704001,"66":12341,"208":206,"85":15104,"24":11,"16":135980352513507328,"45":-9146458974467039232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 18:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327304704001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:28:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 18:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135980352513507328,"km_value":135980352513507.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146458974467039232,"description":"Unknown IO ID 45"} 
[2026-09-25 18:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327304704001,"power":12341,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9146458974467039232}} 
[2026-09-25 18:28:02] 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":896668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:02] local.INFO: GPS data processed {"connection_id":192416,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:02] local.INFO: Acknowledgment sent {"connection_id":192416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:03] local.INFO: TCP Data received {"connection_id":192414,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:03] local.INFO: Processing buffer {"connection_id":192414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:03] local.INFO: Packet analysis {"connection_id":192414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:28:03] local.INFO: Extracted packet for processing {"connection_id":192414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28: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-25 18:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:28: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-25 18:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:28:03] 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":896669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:03] local.INFO: GPS data processed {"connection_id":192414,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:03] local.INFO: Acknowledgment sent {"connection_id":192414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:24] local.INFO: TCP Data received {"connection_id":195280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:24] local.INFO: Processing buffer {"connection_id":195280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:24] local.INFO: IMEI packet received {"connection_id":195280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":195280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:28:28] local.INFO: TCP Data received {"connection_id":195281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:28] local.INFO: Processing buffer {"connection_id":195281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:28] local.INFO: IMEI packet received {"connection_id":195281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":195281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:28:29] local.INFO: TCP Data received {"connection_id":195281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:29] local.INFO: Processing buffer {"connection_id":195281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:28:29] local.INFO: IMEI packet received {"connection_id":195281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":195281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:28:30] local.INFO: TCP Data received {"connection_id":195280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:30] local.INFO: Processing buffer {"connection_id":195280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:28:30] local.INFO: IMEI packet received {"connection_id":195280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":195280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:28:30] local.INFO: TCP Data received {"connection_id":195281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a4f748012d81070005d273200000015a2a..."} 
[2026-09-25 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a4f748012d81070005d273200000015a2a..."} 
[2026-09-25 18:28:30] local.INFO: Processing buffer {"connection_id":195281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a4f748012d81070005d273200000015a2a..."} 
[2026-09-25 18:28:30] local.INFO: Packet analysis {"connection_id":195281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:30] local.INFO: Extracted packet for processing {"connection_id":195281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":97678112,"longitude_deg":76.3430656,"latitude_deg":9.7678112,"altitude":0,"angle":346,"satellites":42,"speed":23,"hex_longitude":"2d810700","hex_latitude":"05d27320","is_valid_coordinates":true} 
[2026-09-25 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327317504001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135980829254877184,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149273724230246400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790341085000,"timestamp_ms":1790341085000,"timestamp_seconds":1790341085,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a4f748"} 
[2026-09-25 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 18:28:30] 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-25 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327317504001,"66":12287,"208":206,"85":15104,"24":23,"16":135980829254877184,"45":-9149273724230246400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327317504001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135980829254877184,"km_value":135980829254877.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149273724230246400,"description":"Unknown IO ID 45"} 
[2026-09-25 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327317504001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9149273724230246400}} 
[2026-09-25 18:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":195281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:30] local.INFO: GPS data processed {"connection_id":195281,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:30] local.INFO: Acknowledgment sent {"connection_id":195281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:30] local.INFO: TCP Data received {"connection_id":195279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a48dd0012d0b51c0071fbaf0001d011e29..."} 
[2026-09-25 18:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a48dd0012d0b51c0071fbaf0001d011e29..."} 
[2026-09-25 18:28:30] local.INFO: Processing buffer {"connection_id":195279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a48dd0012d0b51c0071fbaf0001d011e29..."} 
[2026-09-25 18:28:30] local.INFO: Packet analysis {"connection_id":195279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:30] local.INFO: Extracted packet for processing {"connection_id":195279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:28:30] local.INFO: GPS Element Parsed {"raw_longitude":755716544,"raw_latitude":119519984,"longitude_deg":75.5716544,"latitude_deg":11.9519984,"altitude":29,"angle":286,"satellites":41,"speed":42,"hex_longitude":"2d0b51c0","hex_latitude":"071fbaf0","is_valid_coordinates":true} 
[2026-09-25 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327309312001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23088094915854336,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822118068824201216,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790341058000,"timestamp_ms":1790341058000,"timestamp_seconds":1790341058,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a48dd0"} 
[2026-09-25 18:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:28: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-25 18:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 18:28:30] 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-25 18:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327309312001,"66":13993,"243":206,"83":41984,"24":42,"16":23088094915854336,"45":822118068824201216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 18:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327309312001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23088094915854336,"km_value":23088094915854.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":822118068824201216,"description":"Unknown IO ID 45"} 
[2026-09-25 18:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327309312001,"power":13993,"unknown_243":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":822118068824201216}} 
[2026-09-25 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":195279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:31] local.INFO: GPS data processed {"connection_id":195279,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:31] local.INFO: Acknowledgment sent {"connection_id":195279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:31] local.INFO: TCP Data received {"connection_id":195280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:31] local.INFO: Processing buffer {"connection_id":195280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:28:31] local.INFO: Packet analysis {"connection_id":195280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:28:31] local.INFO: Extracted packet for processing {"connection_id":195280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:28: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-25 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:28:31] local.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-25 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:28: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-25 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":195280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:28:31] local.INFO: GPS data processed {"connection_id":195280,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:28:31] local.INFO: Acknowledgment sent {"connection_id":195280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:28:54] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:54] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:54] local.INFO: IMEI packet received {"connection_id":195282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":195282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:28:57] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:57] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:57] local.INFO: IMEI packet received {"connection_id":195282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":195282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:28:59] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:59] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:28:59] local.INFO: IMEI packet received {"connection_id":195282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":195282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:29:00] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a4a928012d0b3440071fc558001d012d28..."} 
[2026-09-25 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a4a928012d0b3440071fc558001d012d28..."} 
[2026-09-25 18:29:00] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a4a928012d0b3440071fc558001d012d28..."} 
[2026-09-25 18:29:00] local.INFO: Packet analysis {"connection_id":195282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:00] local.INFO: Extracted packet for processing {"connection_id":195282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:00] local.INFO: GPS Element Parsed {"raw_longitude":755708992,"raw_latitude":119522648,"longitude_deg":75.5708992,"latitude_deg":11.9522648,"altitude":29,"angle":301,"satellites":40,"speed":48,"hex_longitude":"2d0b3440","hex_latitude":"071fc558","is_valid_coordinates":true} 
[2026-09-25 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327310848001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23088477167943680,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815644144360419328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790341065000,"timestamp_ms":1790341065000,"timestamp_seconds":1790341065,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a4a928"} 
[2026-09-25 18:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:29:00] 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-25 18:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-25 18:29:00] 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-25 18:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:29: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-25 18:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327310848001,"66":14157,"243":206,"83":41984,"24":48,"16":23088477167943680,"45":815644144360419328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 18:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327310848001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:29:00] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 18:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23088477167943680,"km_value":23088477167943.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":815644144360419328,"description":"Unknown IO ID 45"} 
[2026-09-25 18:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327310848001,"power":14157,"unknown_243":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":815644144360419328}} 
[2026-09-25 18:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":195282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:29:00] local.INFO: GPS data processed {"connection_id":195282,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:29:00] local.INFO: Acknowledgment sent {"connection_id":195282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:29:01] local.INFO: TCP Data received {"connection_id":195281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a4fb30012d81068005d27578000001672a..."} 
[2026-09-25 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a4fb30012d81068005d27578000001672a..."} 
[2026-09-25 18:29:01] local.INFO: Processing buffer {"connection_id":195281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a4fb30012d81068005d27578000001672a..."} 
[2026-09-25 18:29:01] local.INFO: Packet analysis {"connection_id":195281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:01] local.INFO: Extracted packet for processing {"connection_id":195281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763430528,"raw_latitude":97678712,"longitude_deg":76.3430528,"latitude_deg":9.7678712,"altitude":0,"angle":359,"satellites":42,"speed":23,"hex_longitude":"2d810680","hex_latitude":"05d27578","is_valid_coordinates":true} 
[2026-09-25 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327317760001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135980859319648256,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149344092974276608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790341086000,"timestamp_ms":1790341086000,"timestamp_seconds":1790341086,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a4fb30"} 
[2026-09-25 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 18:29:01] 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-25 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327317760001,"66":12287,"208":206,"85":15104,"24":23,"16":135980859319648256,"45":-9149344092974276608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327317760001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135980859319648256,"km_value":135980859319648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149344092974276608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327317760001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9149344092974276608}} 
[2026-09-25 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":195281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:29:01] local.INFO: GPS data processed {"connection_id":195281,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:29:01] local.INFO: Acknowledgment sent {"connection_id":195281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:29:01] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a4c098012d0b1e40071fd408001c011f26..."} 
[2026-09-25 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a4c098012d0b1e40071fd408001c011f26..."} 
[2026-09-25 18:29:01] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a4c098012d0b1e40071fd408001c011f26..."} 
[2026-09-25 18:29:01] local.INFO: Packet analysis {"connection_id":195282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:01] local.INFO: Extracted packet for processing {"connection_id":195282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":755703360,"raw_latitude":119526408,"longitude_deg":75.570336,"latitude_deg":11.9526408,"altitude":28,"angle":287,"satellites":38,"speed":43,"hex_longitude":"2d0b1e40","hex_latitude":"071fd408","is_valid_coordinates":true} 
[2026-09-25 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327312640001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23088803585458176,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807340632548136960,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790341071000,"timestamp_ms":1790341071000,"timestamp_seconds":1790341071,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a4c098"} 
[2026-09-25 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 18:29:01] 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-25 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:29: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-25 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327312640001,"66":13993,"243":206,"83":41984,"24":43,"16":23088803585458176,"45":807340632548136960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327312640001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23088803585458176,"km_value":23088803585458.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":807340632548136960,"description":"Unknown IO ID 45"} 
[2026-09-25 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327312640001,"power":13993,"unknown_243":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":807340632548136960}} 
[2026-09-25 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":195282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:29:01] local.INFO: GPS data processed {"connection_id":195282,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:29:01] local.INFO: Acknowledgment sent {"connection_id":195282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:29:03] local.INFO: TCP Data received {"connection_id":195280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:03] local.INFO: Processing buffer {"connection_id":195280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:03] local.INFO: Packet analysis {"connection_id":195280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:29:03] local.INFO: Extracted packet for processing {"connection_id":195280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29: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-25 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:29: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-25 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":195280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:29:03] local.INFO: GPS data processed {"connection_id":195280,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:29:03] local.INFO: Acknowledgment sent {"connection_id":195280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:29:24] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:24] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:24] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:29:26] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:26] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:26] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:29:27] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:27] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:27] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:29:28] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:28] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:28] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:29:29] local.INFO: TCP Data received {"connection_id":192417,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:29:29] local.INFO: Processing buffer {"connection_id":192417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:29:29] local.INFO: IMEI packet received {"connection_id":192417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:29:29] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:29] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:29:29] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:29:30] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:30] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:29:30] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:29:31] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:31] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:29:31] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:29:31] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:29: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-25 18:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:29: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-25 18:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:29: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-25 18:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:29:31] 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":896677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:29:31] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:29:31] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:30:04] local.INFO: TCP Data received {"connection_id":192580,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:30:04] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:30:04] local.INFO: IMEI packet received {"connection_id":192580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":192580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:30:04] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:04] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:04] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:04] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:30: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-25 18:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30: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-25 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:30:04] 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":896678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:30:04] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:30:04] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:30:30] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:30] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:30] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:30:34] local.INFO: TCP Data received {"connection_id":195282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a59388012d0a9d8007208e800010013928..."} 
[2026-09-25 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a59388012d0a9d8007208e800010013928..."} 
[2026-09-25 18:30:34] local.INFO: Processing buffer {"connection_id":195282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a59388012d0a9d8007208e800010013928..."} 
[2026-09-25 18:30:34] local.INFO: Packet analysis {"connection_id":195282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a5"} 
[2026-09-25 18:30:34] local.INFO: Extracted packet for processing {"connection_id":195282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a5"} 
[2026-09-25 18:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755670400,"raw_latitude":119574144,"longitude_deg":75.56704,"latitude_deg":11.9574144,"altitude":16,"angle":313,"satellites":40,"speed":44,"hex_longitude":"2d0a9d80","hex_latitude":"07208e80","is_valid_coordinates":true} 
[2026-09-25 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-25 18:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327327488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23091835832369152,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767019342147186688,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790341125000,"timestamp_ms":1790341125000,"timestamp_seconds":1790341125,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a59388"} 
[2026-09-25 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-25 18:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-25 18:30:34] 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-25 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-25 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-25 18:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327327488001,"66":13961,"241":206,"83":41984,"24":44,"16":23091835832369152,"45":767019342147186688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-09-25 18:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327327488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:30:34] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-25 18:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 18:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23091835832369152,"km_value":23091835832369.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":767019342147186688,"description":"Unknown IO ID 45"} 
[2026-09-25 18:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327327488001,"power":13961,"unknown_241":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":767019342147186688}} 
[2026-09-25 18:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":195282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:30:34] local.INFO: GPS data processed {"connection_id":195282,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:30:34] local.INFO: Acknowledgment sent {"connection_id":195282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:30:35] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:35] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:30:35] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:30:36] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:36] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:36] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:36] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18: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-25 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:30: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-25 18: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-25 18: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-25 18:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30: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-25 18:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:30:36] 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":896680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:30:36] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:30:36] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:30:40] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:40] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a2cc98012d34c14006aa4908000d006e2d..."} 
[2026-09-25 18:30:40] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:40] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a2"} 
[2026-09-25 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327204608001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790340943000,"timestamp_ms":1790340943000,"timestamp_seconds":1790340943,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a2cc98"} 
[2026-09-25 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:30: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-25 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:30: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-25 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327204608001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327204608001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:30: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-25 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327204608001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:30:40] 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":896681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:30:40] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:30:40] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:30:59] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:30:59] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:30:59] local.INFO: IMEI packet received {"connection_id":193943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":193943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:31:03] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:03] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:03] local.INFO: IMEI packet received {"connection_id":193943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":193943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:31:04] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a656d8012d09ed400720f3b00012010d25..."} 
[2026-09-25 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a656d8012d09ed400720f3b00012010d25..."} 
[2026-09-25 18:31:04] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a656d8012d09ed400720f3b00012010d25..."} 
[2026-09-25 18:31:04] local.INFO: Packet analysis {"connection_id":193943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a6"} 
[2026-09-25 18:31:04] local.INFO: Extracted packet for processing {"connection_id":193943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a6"} 
[2026-09-25 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":755625280,"raw_latitude":119600048,"longitude_deg":75.562528,"latitude_deg":11.9600048,"altitude":18,"angle":269,"satellites":37,"speed":46,"hex_longitude":"2d09ed40","hex_latitude":"0720f3b0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327338752001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23094576021504000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":725994364298471424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790341175000,"timestamp_ms":1790341175000,"timestamp_seconds":1790341175,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a656d8"} 
[2026-09-25 18: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-25 18:31:04] 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-25 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-25 18:31:04] 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-25 18: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-25 18: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-25 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327338752001,"66":14135,"60":206,"28":31744,"24":46,"16":23094576021504000,"45":725994364298471424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-09-25 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327338752001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-25 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23094576021504000,"km_value":23094576021504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":725994364298471424,"description":"Unknown IO ID 45"} 
[2026-09-25 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327338752001,"power":14135,"unknown_60":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":725994364298471424}} 
[2026-09-25 18:31:04] 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":896682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:31:04] local.INFO: GPS data processed {"connection_id":193943,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:31:04] local.INFO: Acknowledgment sent {"connection_id":193943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:31:22] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:22] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:22] local.INFO: IMEI packet received {"connection_id":192419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":192419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:31:24] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:24] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:24] local.INFO: IMEI packet received {"connection_id":192419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":192419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:31:30] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:30] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:31:30] local.INFO: IMEI packet received {"connection_id":192419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:31:31] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:31:31] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:31:31] local.INFO: Packet analysis {"connection_id":192419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:31] local.INFO: Extracted packet for processing {"connection_id":192419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31: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-25 18:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:31:31] local.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-25 18:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:31: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-25 18:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:31:31] 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":896683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:31:31] local.INFO: GPS data processed {"connection_id":192419,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:31:31] local.INFO: Acknowledgment sent {"connection_id":192419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:31:35] local.INFO: TCP Data received {"connection_id":193943,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a77018012d08e340072143600016013a26..."} 
[2026-09-25 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a77018012d08e340072143600016013a26..."} 
[2026-09-25 18:31:35] local.INFO: Processing buffer {"connection_id":193943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a77018012d08e340072143600016013a26..."} 
[2026-09-25 18:31:35] local.INFO: Packet analysis {"connection_id":193943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:35] local.INFO: Extracted packet for processing {"connection_id":193943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755557184,"raw_latitude":119620448,"longitude_deg":75.5557184,"latitude_deg":11.9620448,"altitude":22,"angle":314,"satellites":38,"speed":34,"hex_longitude":"2d08e340","hex_latitude":"07214360","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358208001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23098175204098048,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":642748139941144576,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790341247000,"timestamp_ms":1790341247000,"timestamp_seconds":1790341247,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a77018"} 
[2026-09-25 18: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-25 18:31:35] 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-25 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-25 18:31:35] 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-25 18: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-25 18: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-25 18:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358208001,"66":14004,"155":206,"83":41728,"24":34,"16":23098175204098048,"45":642748139941144576},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358208001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:31:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 18:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23098175204098048,"km_value":23098175204098.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":642748139941144576,"description":"Unknown IO ID 45"} 
[2026-09-25 18:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358208001,"power":14004,"unknown_155":206,"unknown_83":41728,"ignition":34,"odometer":null,"unknown_45":642748139941144576}} 
[2026-09-25 18:31:35] 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":896684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:31:35] local.INFO: GPS data processed {"connection_id":193943,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:31:35] local.INFO: Acknowledgment sent {"connection_id":193943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:31:54] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:54] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:54] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:31:56] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:56] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:56] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:31:58] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:58] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:31:58] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:31:58] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a777e8012d08df00072148f80016014824..."} 
[2026-09-25 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a777e8012d08df00072148f80016014824..."} 
[2026-09-25 18:31:58] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a777e8012d08df00072148f80016014824..."} 
[2026-09-25 18:31:58] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:58] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":755556096,"raw_latitude":119621880,"longitude_deg":75.5556096,"latitude_deg":11.962188,"altitude":22,"angle":328,"satellites":36,"speed":36,"hex_longitude":"2d08df00","hex_latitude":"072148f8","is_valid_coordinates":true} 
[2026-09-25 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327359232001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23098261103443968,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":640425971383754752,"note":"Value kept but may cause issues"} 
[2026-09-25 18:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790341249000,"timestamp_ms":1790341249000,"timestamp_seconds":1790341249,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a777e8"} 
[2026-09-25 18:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 18:31:58] 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-25 18:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327359232001,"66":13939,"155":206,"83":41728,"24":36,"16":23098261103443968,"45":640425971383754752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327359232001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:31:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 18:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23098261103443968,"km_value":23098261103443.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":640425971383754752,"description":"Unknown IO ID 45"} 
[2026-09-25 18:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327359232001,"power":13939,"unknown_155":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_45":640425971383754752}} 
[2026-09-25 18:31:58] 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":896685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:31:58] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:31:58] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:32:03] local.INFO: TCP Data received {"connection_id":192419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:03] local.INFO: Processing buffer {"connection_id":192419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:03] local.INFO: Packet analysis {"connection_id":192419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:32:03] local.INFO: Extracted packet for processing {"connection_id":192419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32: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-25 18:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:32:03] local.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-25 18:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:32: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-25 18:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:32:03] 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":896686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:32:03] local.INFO: GPS data processed {"connection_id":192419,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:32:03] local.INFO: Acknowledgment sent {"connection_id":192419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:32:24] local.INFO: TCP Data received {"connection_id":195284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:24] local.INFO: Processing buffer {"connection_id":195284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:24] local.INFO: IMEI packet received {"connection_id":195284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":195284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:32:30] local.INFO: TCP Data received {"connection_id":195284,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:30] local.INFO: Processing buffer {"connection_id":195284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:32:30] local.INFO: IMEI packet received {"connection_id":195284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":195284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:32:31] local.INFO: TCP Data received {"connection_id":195284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:31] local.INFO: Processing buffer {"connection_id":195284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:32:31] local.INFO: Packet analysis {"connection_id":195284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:32:31] local.INFO: Extracted packet for processing {"connection_id":195284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32: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-25 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:32: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-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":195284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:32:31] local.INFO: GPS data processed {"connection_id":195284,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:32:31] local.INFO: Acknowledgment sent {"connection_id":195284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:32:31] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a84308012d0840800721ed68000c014425..."} 
[2026-09-25 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a84308012d0840800721ed68000c014425..."} 
[2026-09-25 18:32:31] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a84308012d0840800721ed68000c014425..."} 
[2026-09-25 18:32:31] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a8"} 
[2026-09-25 18:32:31] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a8"} 
[2026-09-25 18:32:31] local.INFO: GPS Element Parsed {"raw_longitude":755515520,"raw_latitude":119663976,"longitude_deg":75.551552,"latitude_deg":11.9663976,"altitude":12,"angle":324,"satellites":37,"speed":46,"hex_longitude":"2d084080","hex_latitude":"0721ed68","is_valid_coordinates":true} 
[2026-09-25 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327371776001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23101177386237952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598838043584768000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341301000,"timestamp_ms":1790341301000,"timestamp_seconds":1790341301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a84308"} 
[2026-09-25 18:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:32:31] 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-25 18:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-25 18:32:31] 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-25 18:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327371776001,"66":14233,"155":206,"83":41728,"24":46,"16":23101177386237952,"45":598838043584768000},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327371776001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 18:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23101177386237952,"km_value":23101177386237.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":598838043584768000,"description":"Unknown IO ID 45"} 
[2026-09-25 18:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327371776001,"power":14233,"unknown_155":206,"unknown_83":41728,"ignition":46,"odometer":null,"unknown_45":598838043584768000}} 
[2026-09-25 18:32:32] 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":896688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:32:32] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:32:32] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:32:42] local.INFO: TCP Data received {"connection_id":195283,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195283,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:32:42] local.INFO: Processing buffer {"connection_id":195283,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:32:42] local.INFO: IMEI packet received {"connection_id":195283,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":195283,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:32:44] local.INFO: TCP Data received {"connection_id":195283,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a4d808012d0b10c007029f100011013d22..."} 
[2026-09-25 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a4d808012d0b10c007029f100011013d22..."} 
[2026-09-25 18:32:44] local.INFO: Processing buffer {"connection_id":195283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a4d808012d0b10c007029f100011013d22..."} 
[2026-09-25 18:32:44] local.INFO: Packet analysis {"connection_id":195283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:32:44] local.INFO: Extracted packet for processing {"connection_id":195283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a4"} 
[2026-09-25 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327238656001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:32:44] 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-25 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790341077000,"timestamp_ms":1790341077000,"timestamp_seconds":1790341077,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a4d808"} 
[2026-09-25 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:32:44] 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-25 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:32:44] 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-25 18:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":195283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":195283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":195283,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327238656001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327238656001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:32:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:32:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327238656001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":195283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:32:44] local.INFO: GPS data processed {"connection_id":195283,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:32:44] local.INFO: Acknowledgment sent {"connection_id":195283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:32:54] local.INFO: TCP Data received {"connection_id":195285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:54] local.INFO: Processing buffer {"connection_id":195285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:54] local.INFO: IMEI packet received {"connection_id":195285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":195285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:32:56] local.INFO: TCP Data received {"connection_id":195285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:56] local.INFO: Processing buffer {"connection_id":195285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:56] local.INFO: IMEI packet received {"connection_id":195285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":195285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:32:59] local.INFO: TCP Data received {"connection_id":195285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:59] local.INFO: Processing buffer {"connection_id":195285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:32:59] local.INFO: IMEI packet received {"connection_id":195285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":195285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:33:00] local.INFO: TCP Data received {"connection_id":195285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a85e60012d082fc0072206b0000b015624..."} 
[2026-09-25 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a85e60012d082fc0072206b0000b015624..."} 
[2026-09-25 18:33:00] local.INFO: Processing buffer {"connection_id":195285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a85e60012d082fc0072206b0000b015624..."} 
[2026-09-25 18:33:00] local.INFO: Packet analysis {"connection_id":195285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a8"} 
[2026-09-25 18:33:00] local.INFO: Extracted packet for processing {"connection_id":195285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a8"} 
[2026-09-25 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":755511232,"raw_latitude":119670448,"longitude_deg":75.5511232,"latitude_deg":11.9670448,"altitude":11,"angle":342,"satellites":36,"speed":42,"hex_longitude":"2d082fc0","hex_latitude":"072206b0","is_valid_coordinates":true} 
[2026-09-25 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327373056001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23101555343360000,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":594615918935238656,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790341308000,"timestamp_ms":1790341308000,"timestamp_seconds":1790341308,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a85e60"} 
[2026-09-25 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:33:00] 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-25 18:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-25 18:33:00] 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-25 18:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327373056001,"66":14157,"155":206,"83":41728,"24":42,"16":23101555343360000,"45":594615918935238656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327373056001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23101555343360000,"km_value":23101555343360,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":594615918935238656,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327373056001,"power":14157,"unknown_155":206,"unknown_83":41728,"ignition":42,"odometer":null,"unknown_45":594615918935238656}} 
[2026-09-25 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":195285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:00] local.INFO: GPS data processed {"connection_id":195285,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:00] local.INFO: Acknowledgment sent {"connection_id":195285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:03] local.INFO: TCP Data received {"connection_id":195284,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:03] local.INFO: Processing buffer {"connection_id":195284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:03] local.INFO: Packet analysis {"connection_id":195284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:33:03] local.INFO: Extracted packet for processing {"connection_id":195284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33: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-25 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:33: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-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":195284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:03] local.INFO: GPS data processed {"connection_id":195284,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:03] local.INFO: Acknowledgment sent {"connection_id":195284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:17] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:17] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:17] local.INFO: IMEI packet received {"connection_id":192586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":192586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:33:22] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:22] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:33:22] local.INFO: IMEI packet received {"connection_id":192586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":192586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:33:23] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:23] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:23] local.INFO: Packet analysis {"connection_id":192586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:23] local.INFO: Extracted packet for processing {"connection_id":192586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:23] 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-25 18:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18: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-25 18:33:23] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:33:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:33:23] 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":896692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:23] local.INFO: GPS data processed {"connection_id":192586,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:23] local.INFO: Acknowledgment sent {"connection_id":192586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:24] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:24] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:24] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:33:30] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:30] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:33:30] local.INFO: IMEI packet received {"connection_id":192421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":192421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:33:31] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:31] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:33:31] local.INFO: Packet analysis {"connection_id":192421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:33:31] local.INFO: Extracted packet for processing {"connection_id":192421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33: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-25 18:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:33: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-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:33:31] 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":896693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:31] local.INFO: GPS data processed {"connection_id":192421,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:31] local.INFO: Acknowledgment sent {"connection_id":192421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:31] local.INFO: TCP Data received {"connection_id":195285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a91dc8012d08c34007229878000f002224..."} 
[2026-09-25 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a91dc8012d08c34007229878000f002224..."} 
[2026-09-25 18:33:31] local.INFO: Processing buffer {"connection_id":195285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a91dc8012d08c34007229878000f002224..."} 
[2026-09-25 18:33:31] local.INFO: Packet analysis {"connection_id":195285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:31] local.INFO: Extracted packet for processing {"connection_id":195285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:31] local.INFO: GPS Element Parsed {"raw_longitude":755548992,"raw_latitude":119707768,"longitude_deg":75.5548992,"latitude_deg":11.9707768,"altitude":15,"angle":34,"satellites":36,"speed":43,"hex_longitude":"2d08c340","hex_latitude":"07229878","is_valid_coordinates":true} 
[2026-09-25 18:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327385344001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23104299827462144,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625155953917706240,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341357000,"timestamp_ms":1790341357000,"timestamp_seconds":1790341357,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a91dc8"} 
[2026-09-25 18:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 18:33:31] 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-25 18:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327385344001,"66":14211,"231":206,"83":44288,"24":43,"16":23104299827462144,"45":625155953917706240},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-25 18:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327385344001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23104299827462144,"km_value":23104299827462.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":625155953917706240,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327385344001,"power":14211,"unknown_231":206,"unknown_83":44288,"ignition":43,"odometer":null,"unknown_45":625155953917706240}} 
[2026-09-25 18:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":195285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:31] local.INFO: GPS data processed {"connection_id":195285,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:31] local.INFO: Acknowledgment sent {"connection_id":195285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:54] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:33:54] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:54] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:33:55] local.INFO: TCP Data received {"connection_id":192586,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:55] local.INFO: Processing buffer {"connection_id":192586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:33:55] local.INFO: Packet analysis {"connection_id":192586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:55] local.INFO: Extracted packet for processing {"connection_id":192586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:33: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-25 18:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:33:55] 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-25 18:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:33:55] 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-25 18:33: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-25 18:33: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-25 18:33: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-25 18:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:33:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:33:55] 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":896695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:33:55] local.INFO: GPS data processed {"connection_id":192586,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:33:55] local.INFO: Acknowledgment sent {"connection_id":192586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:33:59] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:59] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:33:59] local.INFO: IMEI packet received {"connection_id":192423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":192423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:34:00] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a92d68012d08cb000722a7a00010001425..."} 
[2026-09-25 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a92d68012d08cb000722a7a00010001425..."} 
[2026-09-25 18:34:00] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a92d68012d08cb000722a7a00010001425..."} 
[2026-09-25 18:34:00] local.INFO: Packet analysis {"connection_id":192423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:00] local.INFO: Extracted packet for processing {"connection_id":192423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755550976,"raw_latitude":119711648,"longitude_deg":75.5550976,"latitude_deg":11.9711648,"altitude":16,"angle":20,"satellites":37,"speed":41,"hex_longitude":"2d08cb00","hex_latitude":"0722a7a0","is_valid_coordinates":true} 
[2026-09-25 18:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327387392001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23104510280859648,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":631418772151367680,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790341361000,"timestamp_ms":1790341361000,"timestamp_seconds":1790341361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a92d68"} 
[2026-09-25 18:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:34: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-25 18:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:00] 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-25 18:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327387392001,"66":14233,"231":206,"83":44288,"24":41,"16":23104510280859648,"45":631418772151367680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-25 18:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327387392001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23104510280859648,"km_value":23104510280859.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":631418772151367680,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327387392001,"power":14233,"unknown_231":206,"unknown_83":44288,"ignition":41,"odometer":null,"unknown_45":631418772151367680}} 
[2026-09-25 18:34:00] 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":896696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:00] local.INFO: GPS data processed {"connection_id":192423,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:00] local.INFO: Acknowledgment sent {"connection_id":192423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:03] local.INFO: TCP Data received {"connection_id":192421,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:03] local.INFO: Processing buffer {"connection_id":192421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:03] local.INFO: Packet analysis {"connection_id":192421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:03] local.INFO: Extracted packet for processing {"connection_id":192421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34: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-25 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:34: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-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:34:03] 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":896697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:03] local.INFO: GPS data processed {"connection_id":192421,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:03] local.INFO: Acknowledgment sent {"connection_id":192421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:22] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:22] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:22] local.INFO: IMEI packet received {"connection_id":193946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":193946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:34:27] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:27] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:34:27] local.INFO: IMEI packet received {"connection_id":193946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":193946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:34:28] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:28] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:28] local.INFO: Packet analysis {"connection_id":193946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:28] local.INFO: Extracted packet for processing {"connection_id":193946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:34: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-25 18:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:28] 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-25 18:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:34:28] 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-25 18:34: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":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:28] 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-25 18:34: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-25 18:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:34:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:34:28] 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":896698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:28] local.INFO: GPS data processed {"connection_id":193946,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:28] local.INFO: Acknowledgment sent {"connection_id":193946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:30] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:30] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:30] local.INFO: IMEI packet received {"connection_id":192589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:34:31] local.INFO: TCP Data received {"connection_id":192423,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8aa3af0012d09248007238bf00016002821..."} 
[2026-09-25 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8aa3af0012d09248007238bf00016002821..."} 
[2026-09-25 18:34:31] local.INFO: Processing buffer {"connection_id":192423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8aa3af0012d09248007238bf00016002821..."} 
[2026-09-25 18:34:31] local.INFO: Packet analysis {"connection_id":192423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8aa"} 
[2026-09-25 18:34:31] local.INFO: Extracted packet for processing {"connection_id":192423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8aa"} 
[2026-09-25 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755573888,"raw_latitude":119770096,"longitude_deg":75.5573888,"latitude_deg":11.9770096,"altitude":22,"angle":40,"satellites":33,"speed":27,"hex_longitude":"2d092480","hex_latitude":"07238bf0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327405568001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23107821700644864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657947788722022400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341430000,"timestamp_ms":1790341430000,"timestamp_seconds":1790341430,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8aa3af0"} 
[2026-09-25 18: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-25 18:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327405568001,"66":13993,"231":206,"83":44288,"24":27,"16":23107821700644864,"45":657947788722022400},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,83,24,16,45]} 
[2026-09-25 18:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327405568001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-25 18:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23107821700644864,"km_value":23107821700644.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":657947788722022400,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327405568001,"power":13993,"unknown_231":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":657947788722022400}} 
[2026-09-25 18:34:31] 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":896699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:31] local.INFO: GPS data processed {"connection_id":192423,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:31] local.INFO: Acknowledgment sent {"connection_id":192423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:32] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:34:32] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:34:32] local.INFO: IMEI packet received {"connection_id":192588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":192588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:34:33] local.INFO: TCP Data received {"connection_id":193946,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:33] local.INFO: Processing buffer {"connection_id":193946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:34:33] local.INFO: Packet analysis {"connection_id":193946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:33] local.INFO: Extracted packet for processing {"connection_id":193946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] 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-25 18:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18: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-25 18:34:33] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:33] 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-25 18: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-25 18: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-25 18:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":193946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":193946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":193946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:34:33] 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":896700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:33] local.INFO: GPS data processed {"connection_id":193946,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:33] local.INFO: Acknowledgment sent {"connection_id":193946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:33] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a97f70012d7f2b0005d35d58000000cf2a..."} 
[2026-09-25 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a97f70012d7f2b0005d35d58000000cf2a..."} 
[2026-09-25 18:34:33] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a97f70012d7f2b0005d35d58000000cf2a..."} 
[2026-09-25 18:34:33] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:33] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763308800,"raw_latitude":97738072,"longitude_deg":76.33088,"latitude_deg":9.7738072,"altitude":0,"angle":207,"satellites":42,"speed":30,"hex_longitude":"2d7f2b00","hex_latitude":"05d35d58","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327391488001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135989904520773632,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167428910255947776,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790341382000,"timestamp_ms":1790341382000,"timestamp_seconds":1790341382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a97f70"} 
[2026-09-25 18: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-25 18:34:33] 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-25 18: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-25 18:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327391488001,"66":12298,"167":206,"85":15104,"24":30,"16":135989904520773632,"45":9167428910255947776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 18:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327391488001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135989904520773632,"km_value":135989904520773.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167428910255947776,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327391488001,"power":12298,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9167428910255947776}} 
[2026-09-25 18:34:33] 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":896701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:33] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:33] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:35] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:35] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:34:35] local.INFO: IMEI packet received {"connection_id":192589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":192589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:34:35] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:35] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:35] local.INFO: Packet analysis {"connection_id":192589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:35] local.INFO: Extracted packet for processing {"connection_id":192589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18: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-25 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:34: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-25 18: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-25 18: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-25 18:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18: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-25 18:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:34:35] 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":896702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:35] local.INFO: GPS data processed {"connection_id":192589,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:35] local.INFO: Acknowledgment sent {"connection_id":192589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:40] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:40] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:34:40] local.INFO: Packet analysis {"connection_id":192589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:40] local.INFO: Extracted packet for processing {"connection_id":192589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:34: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-25 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:34: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-25 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:34: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-25 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:34: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-25 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:34:40] 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":896703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:34:40] local.INFO: GPS data processed {"connection_id":192589,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:34:40] local.INFO: Acknowledgment sent {"connection_id":192589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:34:54] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:54] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:54] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:34:56] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:56] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:56] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:34:57] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:57] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:57] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:34:58] local.INFO: TCP Data received {"connection_id":192424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:58] local.INFO: Processing buffer {"connection_id":192424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:34:58] local.INFO: IMEI packet received {"connection_id":192424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":192424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:35:04] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a9a680012d7f1a8005d344e0000000da2a..."} 
[2026-09-25 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a9a680012d7f1a8005d344e0000000da2a..."} 
[2026-09-25 18:35:04] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a9a680012d7f1a8005d344e0000000da2a..."} 
[2026-09-25 18:35:04] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:04] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763304576,"raw_latitude":97731808,"longitude_deg":76.3304576,"latitude_deg":9.7731808,"altitude":0,"angle":218,"satellites":42,"speed":29,"hex_longitude":"2d7f1a80","hex_latitude":"05d344e0","is_valid_coordinates":true} 
[2026-09-25 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327393792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990269592993792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163417891836352512,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790341392000,"timestamp_ms":1790341392000,"timestamp_seconds":1790341392,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a9a680"} 
[2026-09-25 18:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:35:04] 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-25 18:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437104017920,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186083,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2834847774490656825,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3381922728442790094,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13477543,"corrected_to":0} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2836789249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2426404864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624934,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":75479274810769408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-8718968878589280255,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419842880069632267,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":10977524092370948,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,85,24,241,157,16,34,160,92,45,64,115,42,10,66,33,72,125,43,41,192,1,240,200,227,216,211,4,113,205,29,242,127,48,239,47,2,5,32,128,38],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":200,"original":13477543,"validated":0},{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-09-25 18:35:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":227779297542144,"timestamp_seconds":227779297542.144,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327393792001,"66":12048,"167":206,"85":15104,"24":29,"16":135990269592993792,"45":9163417891836352512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 18:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327393792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:35:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 18:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990269592993792,"km_value":135990269592993.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163417891836352512,"description":"Unknown IO ID 45"} 
[2026-09-25 18:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327393792001,"power":12048,"unknown_167":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9163417891836352512}} 
[2026-09-25 18:35:04] 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":896704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:35:04] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:35:04] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:35:17] local.INFO: TCP Data received {"connection_id":195286,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:17] local.INFO: Processing buffer {"connection_id":195286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:17] local.INFO: IMEI packet received {"connection_id":195286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":195286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:35:22] local.INFO: TCP Data received {"connection_id":195286,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195286,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:22] local.INFO: Processing buffer {"connection_id":195286,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:35:22] local.INFO: IMEI packet received {"connection_id":195286,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":195286,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:35:25] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:25] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:25] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:35:29] local.INFO: TCP Data received {"connection_id":193947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:35:29] local.INFO: Processing buffer {"connection_id":193947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:35:29] local.INFO: IMEI packet received {"connection_id":193947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":193947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:35:29] local.INFO: TCP Data received {"connection_id":195287,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:29] local.INFO: Processing buffer {"connection_id":195287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:29] local.INFO: IMEI packet received {"connection_id":195287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":195287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:35:30] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:30] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:35:30] local.INFO: IMEI packet received {"connection_id":192425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:35:31] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:35:31] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:35:31] local.INFO: Packet analysis {"connection_id":192425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:35:31] local.INFO: Extracted packet for processing {"connection_id":192425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35: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-25 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:35: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-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:35:31] 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":896705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:35:31] local.INFO: GPS data processed {"connection_id":192425,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:35:31] local.INFO: Acknowledgment sent {"connection_id":192425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:35:31] local.INFO: TCP Data received {"connection_id":195286,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:31] local.INFO: Processing buffer {"connection_id":195286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:31] local.INFO: Packet analysis {"connection_id":195286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:31] local.INFO: Extracted packet for processing {"connection_id":195286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:31] 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-25 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:35: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-25 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:35: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-25 18:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":195286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:35:32] local.INFO: GPS data processed {"connection_id":195286,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:35:32] local.INFO: Acknowledgment sent {"connection_id":195286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:35:34] local.INFO: TCP Data received {"connection_id":195287,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:34] local.INFO: Processing buffer {"connection_id":195287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:35:34] local.INFO: IMEI packet received {"connection_id":195287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":195287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:35:35] local.INFO: TCP Data received {"connection_id":195287,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a9f4a0012d7f0e0005d33640000000d62b..."} 
[2026-09-25 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a9f4a0012d7f0e0005d33640000000d62b..."} 
[2026-09-25 18:35:35] local.INFO: Processing buffer {"connection_id":195287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a9f4a0012d7f0e0005d33640000000d62b..."} 
[2026-09-25 18:35:35] local.INFO: Packet analysis {"connection_id":195287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:35] local.INFO: Extracted packet for processing {"connection_id":195287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763301376,"raw_latitude":97728064,"longitude_deg":76.3301376,"latitude_deg":9.7728064,"altitude":0,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d7f0e00","hex_latitude":"05d33640","is_valid_coordinates":true} 
[2026-09-25 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-25 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327396352001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990510111162368,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158773554719023104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790341412000,"timestamp_ms":1790341412000,"timestamp_seconds":1790341412,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a9f4a0"} 
[2026-09-25 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-25 18:35: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-25 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287290112,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3634950864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2080514593775419392,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13477543,"corrected_to":0} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505674648911872,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2838069249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2343567360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628952508442279,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6438176256109641704,"corrected_to":0} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4160826751,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3201443608515244502,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194858496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84864303899202451,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.WARNING: Large IO value detected {"io_id":88,"raw_value":1408526605886208,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,167,85,24,241,157,16,34,160,127,45,93,42,10,66,92,64,115,33,72,1,240,200,227,216,211,4,113,205,32,21,104,43,239,48,2,5,69,8,88],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":200,"original":13477543,"validated":0},{"io_id":205,"original":-6438176256109641704,"validated":0}]} 
[2026-09-25 18:35:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":239873925382144,"timestamp_seconds":239873925382.144,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327396352001,"66":11341,"209":206,"85":15104,"24":0,"16":135990510111162368,"45":9158773554719023104},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-25 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327396352001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:35:35] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-25 18:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990510111162368,"km_value":135990510111162.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158773554719023104,"description":"Unknown IO ID 45"} 
[2026-09-25 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327396352001,"power":11341,"unknown_209":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9158773554719023104}} 
[2026-09-25 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":195287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:35:35] local.INFO: GPS data processed {"connection_id":195287,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:35:35] local.INFO: Acknowledgment sent {"connection_id":195287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:35:43] local.INFO: TCP Data received {"connection_id":195286,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:43] local.INFO: Processing buffer {"connection_id":195286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:35:43] local.INFO: Packet analysis {"connection_id":195286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:43] local.INFO: Extracted packet for processing {"connection_id":195286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:35:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:35:43] 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-25 18:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18: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-25 18:35:43] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:35:43] 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-25 18: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-25 18: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-25 18:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":195286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":195286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":195286,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:35:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:35:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":195286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:35:43] local.INFO: GPS data processed {"connection_id":195286,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:35:43] local.INFO: Acknowledgment sent {"connection_id":195286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:36:02] local.INFO: TCP Data received {"connection_id":192425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:36:02] local.INFO: Processing buffer {"connection_id":192425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a76460012d34c14006aa4908000c006e2d..."} 
[2026-09-25 18:36:02] local.INFO: Packet analysis {"connection_id":192425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:36:02] local.INFO: Extracted packet for processing {"connection_id":192425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a7"} 
[2026-09-25 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327281408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36: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-25 18:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341244000,"timestamp_ms":1790341244000,"timestamp_seconds":1790341244,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a76460"} 
[2026-09-25 18:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327281408001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327281408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:36:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:36: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-25 18:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327281408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:36:02] 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":896709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:36:02] local.INFO: GPS data processed {"connection_id":192425,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:36:02] local.INFO: Acknowledgment sent {"connection_id":192425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:36:06] local.INFO: TCP Data received {"connection_id":195287,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8aa13e0012d7f0e4005d334c8000000912b..."} 
[2026-09-25 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8aa13e0012d7f0e4005d334c8000000912b..."} 
[2026-09-25 18:36:06] local.INFO: Processing buffer {"connection_id":195287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8aa13e0012d7f0e4005d334c8000000912b..."} 
[2026-09-25 18:36:06] local.INFO: Packet analysis {"connection_id":195287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8aa"} 
[2026-09-25 18:36:06] local.INFO: Extracted packet for processing {"connection_id":195287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8aa"} 
[2026-09-25 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763301440,"raw_latitude":97727688,"longitude_deg":76.330144,"latitude_deg":9.7727688,"altitude":0,"angle":145,"satellites":43,"speed":6,"hex_longitude":"2d7f0e40","hex_latitude":"05d334c8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327401472001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135990531585998848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155255117509181440,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790341420000,"timestamp_ms":1790341420000,"timestamp_seconds":1790341420,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8aa13e0"} 
[2026-09-25 18: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-25 18:36: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-25 18: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 18:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327401472001,"66":11700,"209":206,"85":15104,"24":6,"16":135990531585998848,"45":9155255117509181440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-09-25 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327401472001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:36:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-25 18:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135990531585998848,"km_value":135990531585998.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155255117509181440,"description":"Unknown IO ID 45"} 
[2026-09-25 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327401472001,"power":11700,"unknown_209":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9155255117509181440}} 
[2026-09-25 18:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":195287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:36:06] local.INFO: GPS data processed {"connection_id":195287,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:36:06] local.INFO: Acknowledgment sent {"connection_id":195287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:36:09] local.INFO: TCP Data received {"connection_id":192426,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:36:09] local.INFO: Processing buffer {"connection_id":192426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:36:09] local.INFO: IMEI packet received {"connection_id":192426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":192426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:36:20] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:20] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:20] local.INFO: IMEI packet received {"connection_id":193949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":193949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:36:22] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:22] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:36:22] local.INFO: IMEI packet received {"connection_id":193949,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":193949,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:36:23] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:23] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:23] local.INFO: Packet analysis {"connection_id":193949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:36:23] local.INFO: Extracted packet for processing {"connection_id":193949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:23] 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-25 18:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18: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-25 18:36:23] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:36:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:36:24] 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":896711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:36:24] local.INFO: GPS data processed {"connection_id":193949,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:36:24] local.INFO: Acknowledgment sent {"connection_id":193949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:36:24] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:36:24] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:24] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:36:28] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:28] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:36:28] local.INFO: Packet analysis {"connection_id":193949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:36:28] local.INFO: Extracted packet for processing {"connection_id":193949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:36:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:28] 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-25 18:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:36:28] 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-25 18:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:36:28] 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-25 18:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":193949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:36:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:36:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:36:28] 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":896712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:36:28] local.INFO: GPS data processed {"connection_id":193949,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:36:28] local.INFO: Acknowledgment sent {"connection_id":193949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:36:30] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:30] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:36:30] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:36:30] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:36:30] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:36:30] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:36:30] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:36:30] 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-25 18:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:36:31] 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":896713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:36:31] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:36:31] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:37:01] local.INFO: TCP Data received {"connection_id":193949,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:01] local.INFO: Processing buffer {"connection_id":193949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:01] local.INFO: Packet analysis {"connection_id":193949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:01] local.INFO: Extracted packet for processing {"connection_id":193949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:01] 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-25 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:37:01] 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-25 18:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193949,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:37:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:37:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:37:01] 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":896714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:37:01] local.INFO: GPS data processed {"connection_id":193949,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:37:01] local.INFO: Acknowledgment sent {"connection_id":193949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:37:02] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:02] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:02] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:37:02] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37: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-25 18:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:37:02] 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-25 18:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:37: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-25 18:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:37:02] 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":896715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:37:02] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:37:02] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:37:18] local.INFO: TCP Data received {"connection_id":195289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:18] local.INFO: Processing buffer {"connection_id":195289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:18] local.INFO: IMEI packet received {"connection_id":195289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":195289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:37:22] local.INFO: TCP Data received {"connection_id":195289,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195289,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:22] local.INFO: Processing buffer {"connection_id":195289,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:37:22] local.INFO: IMEI packet received {"connection_id":195289,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":195289,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:37:23] local.INFO: TCP Data received {"connection_id":195289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:23] local.INFO: Processing buffer {"connection_id":195289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:23] local.INFO: Packet analysis {"connection_id":195289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:23] local.INFO: Extracted packet for processing {"connection_id":195289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:23] 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-25 18:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:37:23] 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-25 18:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:37:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":195289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:37:24] local.INFO: GPS data processed {"connection_id":195289,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:37:24] local.INFO: Acknowledgment sent {"connection_id":195289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:37:24] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:24] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:24] local.INFO: IMEI packet received {"connection_id":192591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":192591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:37:30] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:30] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:37:30] local.INFO: IMEI packet received {"connection_id":192591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":192591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:37:32] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:32] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:37:32] local.INFO: Packet analysis {"connection_id":192591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:37:32] local.INFO: Extracted packet for processing {"connection_id":192591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":192591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:37:32] local.INFO: GPS data processed {"connection_id":192591,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:37:32] local.INFO: Acknowledgment sent {"connection_id":192591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:37:55] local.INFO: TCP Data received {"connection_id":195289,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:55] local.INFO: Processing buffer {"connection_id":195289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8a96fd0012d0b10c007029f100011013d20..."} 
[2026-09-25 18:37:55] local.INFO: Packet analysis {"connection_id":195289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:55] local.INFO: Extracted packet for processing {"connection_id":195289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8a9"} 
[2026-09-25 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327315712001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:37:55] 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-25 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341378000,"timestamp_ms":1790341378000,"timestamp_seconds":1790341378,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8a96fd0"} 
[2026-09-25 18: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-25 18:37:55] 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-25 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:37: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-25 18:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18: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-25 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195289,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327315712001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327315712001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327315712001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":195289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:37:55] local.INFO: GPS data processed {"connection_id":195289,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:37:55] local.INFO: Acknowledgment sent {"connection_id":195289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:38:03] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:03] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:03] local.INFO: Packet analysis {"connection_id":192591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:38:03] local.INFO: Extracted packet for processing {"connection_id":192591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38: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-25 18:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:38: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-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":192591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:38:03] local.INFO: GPS data processed {"connection_id":192591,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:38:03] local.INFO: Acknowledgment sent {"connection_id":192591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:38:24] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:24] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:24] local.INFO: IMEI packet received {"connection_id":193951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":193951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:38:30] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:30] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:38:30] local.INFO: IMEI packet received {"connection_id":193951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":193951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:38:31] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:31] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:38:31] local.INFO: Packet analysis {"connection_id":193951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:38:31] local.INFO: Extracted packet for processing {"connection_id":193951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38: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-25 18:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18: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-25 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:38:31] local.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-25 18:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:38: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-25 18:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:38:31] 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":896720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:38:31] local.INFO: GPS data processed {"connection_id":193951,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:38:31] local.INFO: Acknowledgment sent {"connection_id":193951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:38:42] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:42] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:42] local.INFO: IMEI packet received {"connection_id":192428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":192428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:38:47] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:47] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:38:47] local.INFO: IMEI packet received {"connection_id":192428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":192428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:38:48] local.INFO: TCP Data received {"connection_id":192428,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:38:48] local.INFO: Processing buffer {"connection_id":192428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:38:48] local.INFO: Packet analysis {"connection_id":192428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:38:48] local.INFO: Extracted packet for processing {"connection_id":192428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:38:48] 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-25 18:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:38:48] 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-25 18:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:38:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:38:48] 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":896721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:38:48] local.INFO: GPS data processed {"connection_id":192428,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:38:48] local.INFO: Acknowledgment sent {"connection_id":192428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:02] local.INFO: TCP Data received {"connection_id":193951,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:02] local.INFO: Processing buffer {"connection_id":193951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:02] local.INFO: Packet analysis {"connection_id":193951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:02] local.INFO: Extracted packet for processing {"connection_id":193951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39: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-25 18:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:39:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:39: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-25 18:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:39:02] 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":896722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:39:02] local.INFO: GPS data processed {"connection_id":193951,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:39:02] local.INFO: Acknowledgment sent {"connection_id":193951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:22] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:22] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:22] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:39:27] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:27] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:39:27] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:39:28] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:28] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:28] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:39:28] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:39:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:28] 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-25 18:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18: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-25 18:39:28] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:28] 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-25 18: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-25 18: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-25 18:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:39:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:39:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:39:28] 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":896723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:39:28] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:39:28] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:29] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:29] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:29] local.INFO: IMEI packet received {"connection_id":195292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":195292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:39:30] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:30] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:30] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:39:33] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:33] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:39:33] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:39:33] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:39: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-25 18:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:33] 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-25 18:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:39: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:33] 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-25 18:39: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-25 18:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:39:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:39:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:39:33] 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":896724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:39:33] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:39:33] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:35] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:35] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:39:35] local.INFO: IMEI packet received {"connection_id":192429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":192429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:39:35] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:35] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:39:35] local.INFO: IMEI packet received {"connection_id":195292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":195292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:39:36] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ac2ef00100000000000000000000000000..."} 
[2026-09-25 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ac2ef00100000000000000000000000000..."} 
[2026-09-25 18:39:36] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ac2ef00100000000000000000000000000..."} 
[2026-09-25 18:39:36] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ac"} 
[2026-09-25 18:39:36] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ac"} 
[2026-09-25 18:39: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-25 18:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991081341812736,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:36] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-09-25 18:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790341558000,"timestamp_ms":1790341558000,"timestamp_seconds":1790341558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ac2ef0"} 
[2026-09-25 18: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-25 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-25 18:39:36] local.INFO: GPS data processed {"connection_id":195292,"processed":0,"errors":0,"total":1} 
[2026-09-25 18:39:36] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:36] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:36] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:36] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:36] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18: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-25 18:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39: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-25 18:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:39:36] 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":896725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:39:36] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:39:36] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:40] local.INFO: TCP Data received {"connection_id":192429,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:40] local.INFO: Processing buffer {"connection_id":192429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:39:40] local.INFO: Packet analysis {"connection_id":192429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:40] local.INFO: Extracted packet for processing {"connection_id":192429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:39: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-25 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18: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-25 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:39: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-25 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:39: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-25 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:39:40] 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":896726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:39:40] local.INFO: GPS data processed {"connection_id":192429,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:39:40] local.INFO: Acknowledgment sent {"connection_id":192429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:39:59] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:39:59] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:39:59] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:40:00] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8aeced0012d07f280072507c00012013c24..."} 
[2026-09-25 18:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8aeced0012d07f280072507c00012013c24..."} 
[2026-09-25 18:40:00] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8aeced0012d07f280072507c00012013c24..."} 
[2026-09-25 18:40:00] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:00] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":755495552,"raw_latitude":119867328,"longitude_deg":75.5495552,"latitude_deg":11.9867328,"altitude":18,"angle":316,"satellites":36,"speed":23,"hex_longitude":"2d07f280","hex_latitude":"072507c0","is_valid_coordinates":true} 
[2026-09-25 18:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327481600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23118507579277312,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":575405251826292736,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790341730000,"timestamp_ms":1790341730000,"timestamp_seconds":1790341730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8aeced0"} 
[2026-09-25 18:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:00] 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-25 18:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327481600001,"66":13417,"251":206,"83":44288,"24":23,"16":23118507579277312,"45":575405251826292736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327481600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23118507579277312,"km_value":23118507579277.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":575405251826292736,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327481600001,"power":13417,"unknown_251":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":575405251826292736}} 
[2026-09-25 18:40:00] 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":896727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:00] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:00] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:06] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8aeced0012d7f3cc005d337e0000500b724..."} 
[2026-09-25 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8aeced0012d7f3cc005d337e0000500b724..."} 
[2026-09-25 18:40:06] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8aeced0012d7f3cc005d337e0000500b724..."} 
[2026-09-25 18:40:06] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:06] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728480,"longitude_deg":76.3313344,"latitude_deg":9.772848,"altitude":5,"angle":183,"satellites":36,"speed":2,"hex_longitude":"2d7f3cc0","hex_latitude":"05d337e0","is_valid_coordinates":true} 
[2026-09-25 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991081341812736,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 18:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790341730000,"timestamp_ms":1790341730000,"timestamp_seconds":1790341730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8aeced0"} 
[2026-09-25 18: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-25 18:40: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11634,"109":206,"85":15104,"24":2,"16":135991081341812736},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 18:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991081341812736,"km_value":135991081341812.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11634,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-09-25 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:06] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:06] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:17] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:17] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:17] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:40:22] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:22] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:40:22] local.INFO: IMEI packet received {"connection_id":192431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":192431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:40:23] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:23] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:23] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:23] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:23] 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-25 18:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18: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-25 18:40:23] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:40:23] 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":896729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:23] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:23] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:24] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:24] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:24] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:40:30] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:30] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:40:30] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:40:31] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8af9608012d07c00007254da8001201561e..."} 
[2026-09-25 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8af9608012d07c00007254da8001201561e..."} 
[2026-09-25 18:40:31] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8af9608012d07c00007254da8001201561e..."} 
[2026-09-25 18:40:31] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:40:31] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":755482624,"raw_latitude":119885224,"longitude_deg":75.5482624,"latitude_deg":11.9885224,"altitude":18,"angle":342,"satellites":30,"speed":23,"hex_longitude":"2d07c000","hex_latitude":"07254da8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327495680001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23119637155676160,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558727859461132288,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341781000,"timestamp_ms":1790341781000,"timestamp_seconds":1790341781,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8af9608"} 
[2026-09-25 18: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-25 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327495680001,"66":13352,"251":206,"83":44288,"24":23,"16":23119637155676160,"45":558727859461132288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327495680001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23119637155676160,"km_value":23119637155676.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":558727859461132288,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327495680001,"power":13352,"unknown_251":206,"unknown_83":44288,"ignition":23,"odometer":null,"unknown_45":558727859461132288}} 
[2026-09-25 18:40:31] 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":896730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:31] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:31] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:31] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:40:31] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:40:31] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:40:31] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40: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-25 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18: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-25 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:40: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-25 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:40:31] 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":896731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:31] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:31] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:37] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8aeee10012d7f3d4005d33808000700b82a..."} 
[2026-09-25 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8aeee10012d7f3d4005d33808000700b82a..."} 
[2026-09-25 18:40:37] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8aeee10012d7f3d4005d33808000700b82a..."} 
[2026-09-25 18:40:37] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:37] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97728520,"longitude_deg":76.3313472,"latitude_deg":9.772852,"altitude":7,"angle":184,"satellites":42,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33808","is_valid_coordinates":true} 
[2026-09-25 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327482880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991089931747328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670511104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790341738000,"timestamp_ms":1790341738000,"timestamp_seconds":1790341738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8aeee10"} 
[2026-09-25 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:40:37] 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-25 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327482880001,"66":11830,"109":206,"85":15104,"24":0,"16":135991089931747328,"45":9168414072670511104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327482880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991089931747328,"km_value":135991089931747.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670511104,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327482880001,"power":11830,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670511104}} 
[2026-09-25 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:37] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:37] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:51] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:51] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:51] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:40:55] local.INFO: TCP Data received {"connection_id":192431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:55] local.INFO: Processing buffer {"connection_id":192431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:40:55] local.INFO: Packet analysis {"connection_id":192431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:55] local.INFO: Extracted packet for processing {"connection_id":192431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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":795,"current_offset":40} 
[2026-09-25 18:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:55] 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-25 18:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:40: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-25 18:40: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-25 18:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:40:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:40:55] 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":896733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:40:55] local.INFO: GPS data processed {"connection_id":192431,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:40:55] local.INFO: Acknowledgment sent {"connection_id":192431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:40:56] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:56] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:56] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:40:59] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:59] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:40:59] local.INFO: IMEI packet received {"connection_id":192432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":192432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:40:59] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8afa1c0012d07bec007255560001201631f..."} 
[2026-09-25 18:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8afa1c0012d07bec007255560001201631f..."} 
[2026-09-25 18:40:59] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8afa1c0012d07bec007255560001201631f..."} 
[2026-09-25 18:40:59] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:40:59] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:40:59] local.INFO: GPS Element Parsed {"raw_longitude":755482304,"raw_latitude":119887200,"longitude_deg":75.5482304,"latitude_deg":11.98872,"altitude":18,"angle":355,"satellites":31,"speed":27,"hex_longitude":"2d07bec0","hex_latitude":"07255560","is_valid_coordinates":true} 
[2026-09-25 18:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327495936001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23119735939923968,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558446384484558848,"note":"Value kept but may cause issues"} 
[2026-09-25 18:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790341784000,"timestamp_ms":1790341784000,"timestamp_seconds":1790341784,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8afa1c0"} 
[2026-09-25 18:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:40:59] 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-25 18:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 18:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327495936001,"66":13417,"251":206,"83":44288,"24":27,"16":23119735939923968,"45":558446384484558848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327495936001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:40:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23119735939923968,"km_value":23119735939923.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":558446384484558848,"description":"Unknown IO ID 45"} 
[2026-09-25 18:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327495936001,"power":13417,"unknown_251":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":558446384484558848}} 
[2026-09-25 18:41:00] 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":896734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:00] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:00] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:01] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8afb548012d07bf8007256170001200081f..."} 
[2026-09-25 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8afb548012d07bf8007256170001200081f..."} 
[2026-09-25 18:41:01] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8afb548012d07bf8007256170001200081f..."} 
[2026-09-25 18:41:01] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:01] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:01] local.INFO: GPS Element Parsed {"raw_longitude":755482496,"raw_latitude":119890288,"longitude_deg":75.5482496,"latitude_deg":11.9890288,"altitude":18,"angle":8,"satellites":31,"speed":25,"hex_longitude":"2d07bf80","hex_latitude":"07256170","is_valid_coordinates":true} 
[2026-09-25 18:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327496704001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23119886263779328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558094540764176384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790341789000,"timestamp_ms":1790341789000,"timestamp_seconds":1790341789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8afb548"} 
[2026-09-25 18:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:41:01] 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-25 18:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327496704001,"66":13374,"251":206,"83":44288,"24":25,"16":23119886263779328,"45":558094540764176384},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327496704001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23119886263779328,"km_value":23119886263779.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":558094540764176384,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327496704001,"power":13374,"unknown_251":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":558094540764176384}} 
[2026-09-25 18:41:01] 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":896735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:01] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:01] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:02] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:41:02] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8abfc28012d34c14006aa49080003006e2d..."} 
[2026-09-25 18:41:02] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:41:02] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ab"} 
[2026-09-25 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327358464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41: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-25 18:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341545000,"timestamp_ms":1790341545000,"timestamp_seconds":1790341545,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8abfc28"} 
[2026-09-25 18:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327358464001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327358464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:41: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-25 18:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327358464001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:41:02] 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":896736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:02] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:02] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:08] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8af0580012d7f3cc005d338d00007015e2b..."} 
[2026-09-25 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8af0580012d7f3cc005d338d00007015e2b..."} 
[2026-09-25 18:41:08] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8af0580012d7f3cc005d338d00007015e2b..."} 
[2026-09-25 18:41:08] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:08] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728720,"longitude_deg":76.3313344,"latitude_deg":9.772872,"altitude":7,"angle":350,"satellites":43,"speed":1,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338d0","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327484928001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991102816649216,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554810158876672,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790341744000,"timestamp_ms":1790341744000,"timestamp_seconds":1790341744,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8af0580"} 
[2026-09-25 18: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-25 18:41:08] 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-25 18: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327484928001,"66":11743,"109":206,"85":15104,"24":1,"16":135991102816649216,"45":9168554810158876672},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327484928001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991102816649216,"km_value":135991102816649.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554810158876672,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327484928001,"power":11743,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9168554810158876672}} 
[2026-09-25 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:08] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:08] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:17] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:17] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:17] local.INFO: IMEI packet received {"connection_id":193953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":193953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:41:22] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:22] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:41:22] local.INFO: IMEI packet received {"connection_id":193953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":193953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:41:23] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:23] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:23] local.INFO: Packet analysis {"connection_id":193953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:41:23] local.INFO: Extracted packet for processing {"connection_id":193953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:23] 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-25 18:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18: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-25 18:41:23] 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-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:41: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":896738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:23] local.INFO: GPS data processed {"connection_id":193953,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:23] local.INFO: Acknowledgment sent {"connection_id":193953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:25] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:25] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:25] local.INFO: IMEI packet received {"connection_id":193954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":193954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:41:26] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:26] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:26] local.INFO: IMEI packet received {"connection_id":193954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":193954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:41:30] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:30] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:41:30] local.INFO: IMEI packet received {"connection_id":193954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":193954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:41:31] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:41:31] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:41:31] local.INFO: Packet analysis {"connection_id":193954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:41:31] local.INFO: Extracted packet for processing {"connection_id":193954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41: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-25 18:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:41:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:41: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-25 18:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:41:31] 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":896739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:31] local.INFO: GPS data processed {"connection_id":193954,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:31] local.INFO: Acknowledgment sent {"connection_id":193954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:35] local.INFO: TCP Data received {"connection_id":192432,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b09bc0012d07f2c00725e000001101651f..."} 
[2026-09-25 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b09bc0012d07f2c00725e000001101651f..."} 
[2026-09-25 18:41:35] local.INFO: Processing buffer {"connection_id":192432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b09bc0012d07f2c00725e000001101651f..."} 
[2026-09-25 18:41:35] local.INFO: Packet analysis {"connection_id":192432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:41:35] local.INFO: Extracted packet for processing {"connection_id":192432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":755495616,"raw_latitude":119922688,"longitude_deg":75.5495616,"latitude_deg":11.9922688,"altitude":17,"angle":357,"satellites":31,"speed":26,"hex_longitude":"2d07f2c0","hex_latitude":"0725e000","is_valid_coordinates":true} 
[2026-09-25 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512832001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23121776049389568,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572660870817863680,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790341848000,"timestamp_ms":1790341848000,"timestamp_seconds":1790341848,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b09bc0"} 
[2026-09-25 18:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:41:35] 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-25 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512832001,"66":12461,"251":206,"83":44288,"24":26,"16":23121776049389568,"45":572660870817863680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512832001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23121776049389568,"km_value":23121776049389.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":572660870817863680,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512832001,"power":12461,"unknown_251":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":572660870817863680}} 
[2026-09-25 18:41: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":896740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:35] local.INFO: GPS data processed {"connection_id":192432,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:35] local.INFO: Acknowledgment sent {"connection_id":192432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:38] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8af2c90012d7f3c8005d33920000600cb2c..."} 
[2026-09-25 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8af2c90012d7f3c8005d33920000600cb2c..."} 
[2026-09-25 18:41:38] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8af2c90012d7f3c8005d33920000600cb2c..."} 
[2026-09-25 18:41:38] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:38] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728800,"longitude_deg":76.331328,"latitude_deg":9.77288,"altitude":6,"angle":203,"satellites":44,"speed":1,"hex_longitude":"2d7f3c80","hex_latitude":"05d33920","is_valid_coordinates":true} 
[2026-09-25 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327486464001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991111406583808,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670572544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790341754000,"timestamp_ms":1790341754000,"timestamp_seconds":1790341754,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8af2c90"} 
[2026-09-25 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-25 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327486464001,"66":11721,"109":206,"85":15104,"24":1,"16":135991111406583808,"45":9168414072670572544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327486464001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991111406583808,"km_value":135991111406583.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670572544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327486464001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9168414072670572544}} 
[2026-09-25 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:38] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:38] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:39] local.INFO: TCP Data received {"connection_id":195293,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:41:39] local.INFO: Processing buffer {"connection_id":195293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:41:39] local.INFO: IMEI packet received {"connection_id":195293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":195293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:41:54] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:54] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:54] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:41:55] local.INFO: TCP Data received {"connection_id":193953,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:55] local.INFO: Processing buffer {"connection_id":193953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:41:55] local.INFO: Packet analysis {"connection_id":193953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:41:55] local.INFO: Extracted packet for processing {"connection_id":193953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:41:55] 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-25 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18: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-25 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:41: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-25 18: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-25 18: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-25 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:41:55] 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":896742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:41:55] local.INFO: GPS data processed {"connection_id":193953,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:41:55] local.INFO: Acknowledgment sent {"connection_id":193953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:41:59] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:59] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:41:59] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:42:00] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b09fa8012d07f2000725e280001101561d..."} 
[2026-09-25 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b09fa8012d07f2000725e280001101561d..."} 
[2026-09-25 18:42:00] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b09fa8012d07f2000725e280001101561d..."} 
[2026-09-25 18:42:00] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:00] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755495424,"raw_latitude":119923328,"longitude_deg":75.5495424,"latitude_deg":11.9923328,"altitude":17,"angle":342,"satellites":29,"speed":26,"hex_longitude":"2d07f200","hex_latitude":"0725e280","is_valid_coordinates":true} 
[2026-09-25 18:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327513088001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23121810409127936,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572731239562215424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790341849000,"timestamp_ms":1790341849000,"timestamp_seconds":1790341849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b09fa8"} 
[2026-09-25 18:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:42: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-25 18:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 18:42: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-25 18:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327513088001,"66":12504,"251":206,"83":44288,"24":26,"16":23121810409127936,"45":572731239562215424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327513088001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23121810409127936,"km_value":23121810409127.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":572731239562215424,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327513088001,"power":12504,"unknown_251":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":572731239562215424}} 
[2026-09-25 18:42:00] 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":896743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:00] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:00] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:03] local.INFO: TCP Data received {"connection_id":193954,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:03] local.INFO: Processing buffer {"connection_id":193954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:03] local.INFO: Packet analysis {"connection_id":193954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:03] local.INFO: Extracted packet for processing {"connection_id":193954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42: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-25 18:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:42: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-25 18:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:42:03] 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":896744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:03] local.INFO: GPS data processed {"connection_id":193954,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:03] local.INFO: Acknowledgment sent {"connection_id":193954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:04] local.INFO: TCP Data received {"connection_id":195294,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:42:04] local.INFO: Processing buffer {"connection_id":195294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:42:04] local.INFO: IMEI packet received {"connection_id":195294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":195294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:42:09] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8af3848012d7f3c8005d338c0000600b72c..."} 
[2026-09-25 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8af3848012d7f3c8005d338c0000600b72c..."} 
[2026-09-25 18:42:09] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8af3848012d7f3c8005d338c0000600b72c..."} 
[2026-09-25 18:42:09] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:42:09] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728704,"longitude_deg":76.331328,"latitude_deg":9.7728704,"altitude":6,"angle":183,"satellites":44,"speed":1,"hex_longitude":"2d7f3c80","hex_latitude":"05d338c0","is_valid_coordinates":true} 
[2026-09-25 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327489024001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991119996518400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926415360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790341757000,"timestamp_ms":1790341757000,"timestamp_seconds":1790341757,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8af3848"} 
[2026-09-25 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:42:09] 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-25 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 18:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327489024001,"66":11765,"109":206,"85":15104,"24":1,"16":135991119996518400,"45":9168343703926415360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327489024001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991119996518400,"km_value":135991119996518.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926415360,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327489024001,"power":11765,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9168343703926415360}} 
[2026-09-25 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:09] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:09] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:17] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:17] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:17] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:42:22] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:22] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:42:22] local.INFO: IMEI packet received {"connection_id":192433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":192433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:42:25] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:25] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:25] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:42:30] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:30] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:42:30] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:42:31] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b0a390012d07f1000725e4e0001101491f..."} 
[2026-09-25 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b0a390012d07f1000725e4e0001101491f..."} 
[2026-09-25 18:42:31] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b0a390012d07f1000725e4e0001101491f..."} 
[2026-09-25 18:42:31] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:31] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":755495168,"raw_latitude":119923936,"longitude_deg":75.5495168,"latitude_deg":11.9923936,"altitude":17,"angle":329,"satellites":31,"speed":26,"hex_longitude":"2d07f100","hex_latitude":"0725e4e0","is_valid_coordinates":true} 
[2026-09-25 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-25 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327513344001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23121840473899008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572520133329846272,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341850000,"timestamp_ms":1790341850000,"timestamp_seconds":1790341850,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b0a390"} 
[2026-09-25 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-25 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 18:42: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-25 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-25 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-25 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327513344001,"66":12504,"251":206,"83":44288,"24":26,"16":23121840473899008,"45":572520133329846272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327513344001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23121840473899008,"km_value":23121840473899.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":572520133329846272,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327513344001,"power":12504,"unknown_251":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":572520133329846272}} 
[2026-09-25 18:42:31] 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":896746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:31] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:31] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:31] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:31] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:42:31] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:31] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 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-25 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:42:31] 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":896747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:31] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:31] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:32] local.INFO: TCP Data received {"connection_id":192433,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:42:32] local.INFO: Processing buffer {"connection_id":192433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ae0798012d0b10c007029f100011013d1e..."} 
[2026-09-25 18:42:32] local.INFO: Packet analysis {"connection_id":192433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:42:32] local.INFO: Extracted packet for processing {"connection_id":192433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ae"} 
[2026-09-25 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327392768001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:32] 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-25 18:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790341679000,"timestamp_ms":1790341679000,"timestamp_seconds":1790341679,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ae0798"} 
[2026-09-25 18:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:42:32] 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-25 18:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:42:32] 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-25 18:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327392768001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327392768001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327392768001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:42:32] 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":896748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:32] local.INFO: GPS data processed {"connection_id":192433,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:32] local.INFO: Acknowledgment sent {"connection_id":192433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:40] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8af8668012d7f3c8005d338f8000400b72a..."} 
[2026-09-25 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8af8668012d7f3c8005d338f8000400b72a..."} 
[2026-09-25 18:42:40] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8af8668012d7f3c8005d338f8000400b72a..."} 
[2026-09-25 18:42:40] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:42:40] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728760,"longitude_deg":76.331328,"latitude_deg":9.772876,"altitude":4,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d7f3c80","hex_latitude":"05d338f8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327489792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991124291485696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926390784,"note":"Value kept but may cause issues"} 
[2026-09-25 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790341777000,"timestamp_ms":1790341777000,"timestamp_seconds":1790341777,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8af8668"} 
[2026-09-25 18: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-25 18:42:40] 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-25 18: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-09-25 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327489792001,"66":11765,"109":206,"85":15104,"24":0,"16":135991124291485696,"45":9168343703926390784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327489792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:42:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991124291485696,"km_value":135991124291485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926390784,"description":"Unknown IO ID 45"} 
[2026-09-25 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327489792001,"power":11765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168343703926390784}} 
[2026-09-25 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:42:40] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:42:40] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:42:59] local.INFO: TCP Data received {"connection_id":195295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:42:59] local.INFO: Processing buffer {"connection_id":195295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:42:59] local.INFO: IMEI packet received {"connection_id":195295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":195295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:43:03] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:03] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:03] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:03] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 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-25 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:43:03] 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":896750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:03] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:03] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:04] local.INFO: TCP Data received {"connection_id":195295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:04] local.INFO: Processing buffer {"connection_id":195295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:04] local.INFO: IMEI packet received {"connection_id":195295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":195295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:05] local.INFO: TCP Data received {"connection_id":195295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b0bee8012d07e9c00725f1500012015522..."} 
[2026-09-25 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b0bee8012d07e9c00725f1500012015522..."} 
[2026-09-25 18:43:05] local.INFO: Processing buffer {"connection_id":195295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b0bee8012d07e9c00725f1500012015522..."} 
[2026-09-25 18:43:05] local.INFO: Packet analysis {"connection_id":195295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:05] local.INFO: Extracted packet for processing {"connection_id":195295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":755493312,"raw_latitude":119927120,"longitude_deg":75.5493312,"latitude_deg":11.992712,"altitude":18,"angle":341,"satellites":34,"speed":19,"hex_longitude":"2d07e9c0","hex_latitude":"0725f150","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327513600001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122020862525440,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572238658353291264,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790341857000,"timestamp_ms":1790341857000,"timestamp_seconds":1790341857,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b0bee8"} 
[2026-09-25 18: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-25 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:05] 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-25 18: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-25 18: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-25 18:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327513600001,"66":12504,"251":206,"83":44288,"24":19,"16":23122020862525440,"45":572238658353291264},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327513600001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122020862525440,"km_value":23122020862525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":572238658353291264,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327513600001,"power":12504,"unknown_251":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":572238658353291264}} 
[2026-09-25 18:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":195295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:05] local.INFO: GPS data processed {"connection_id":195295,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:05] local.INFO: Acknowledgment sent {"connection_id":195295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:11] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8afd870012d7f3cc005d33920000300b72c..."} 
[2026-09-25 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8afd870012d7f3cc005d33920000300b72c..."} 
[2026-09-25 18:43:11] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8afd870012d7f3cc005d33920000300b72c..."} 
[2026-09-25 18:43:11] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:43:11] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8af"} 
[2026-09-25 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728800,"longitude_deg":76.3313344,"latitude_deg":9.77288,"altitude":3,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33920","is_valid_coordinates":true} 
[2026-09-25 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327494912001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991128586452992,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926405120,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790341798000,"timestamp_ms":1790341798000,"timestamp_seconds":1790341798,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8afd870"} 
[2026-09-25 18:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327494912001,"66":12048,"109":206,"85":15104,"24":0,"16":135991128586452992,"45":9168343703926405120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327494912001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991128586452992,"km_value":135991128586452.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926405120,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327494912001,"power":12048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168343703926405120}} 
[2026-09-25 18:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:11] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:11] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:29] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:29] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:29] local.INFO: IMEI packet received {"connection_id":192597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:43:30] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:30] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:30] local.INFO: IMEI packet received {"connection_id":192598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":192598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:43:35] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:35] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:43:35] local.INFO: IMEI packet received {"connection_id":192598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":192598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:36] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:36] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:36] local.INFO: Packet analysis {"connection_id":192598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:36] local.INFO: Extracted packet for processing {"connection_id":192598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18: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-25 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18: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-25 18:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":192598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:36] local.INFO: GPS data processed {"connection_id":192598,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:36] local.INFO: Acknowledgment sent {"connection_id":192598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:36] local.INFO: TCP Data received {"connection_id":195295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b21e78012d07d9c00725f340001400d320..."} 
[2026-09-25 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b21e78012d07d9c00725f340001400d320..."} 
[2026-09-25 18:43:36] local.INFO: Processing buffer {"connection_id":195295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b21e78012d07d9c00725f340001400d320..."} 
[2026-09-25 18:43:36] local.INFO: Packet analysis {"connection_id":195295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:36] local.INFO: Extracted packet for processing {"connection_id":195295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":755489216,"raw_latitude":119927616,"longitude_deg":75.5489216,"latitude_deg":11.9927616,"altitude":20,"angle":211,"satellites":32,"speed":2,"hex_longitude":"2d07d9c0","hex_latitude":"0725f340","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327534848001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122342985072640,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565764733889978368,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790341947000,"timestamp_ms":1790341947000,"timestamp_seconds":1790341947,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b21e78"} 
[2026-09-25 18: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-25 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:36] 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-25 18: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-25 18: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-25 18:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327534848001,"66":12319,"25":206,"83":44288,"24":2,"16":23122342985072640,"45":565764733889978368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-25 18:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327534848001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122342985072640,"km_value":23122342985072.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":565764733889978368,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327534848001,"power":12319,"unknown_25":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":565764733889978368}} 
[2026-09-25 18:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":195295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:36] local.INFO: GPS data processed {"connection_id":195295,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:36] local.INFO: Acknowledgment sent {"connection_id":195295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:40] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:40] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:43:40] local.INFO: Packet analysis {"connection_id":192598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:40] local.INFO: Extracted packet for processing {"connection_id":192598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18: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-25 18:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:43: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-25 18:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":192598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:40] local.INFO: GPS data processed {"connection_id":192598,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:40] local.INFO: Acknowledgment sent {"connection_id":192598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:42] local.INFO: TCP Data received {"connection_id":195292,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b2ce40012d7f3cc005d338c8000300b72c..."} 
[2026-09-25 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b2ce40012d7f3cc005d338c8000300b72c..."} 
[2026-09-25 18:43:42] local.INFO: Processing buffer {"connection_id":195292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b2ce40012d7f3cc005d338c8000300b72c..."} 
[2026-09-25 18:43:42] local.INFO: Packet analysis {"connection_id":195292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:42] local.INFO: Extracted packet for processing {"connection_id":195292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728712,"longitude_deg":76.3313344,"latitude_deg":9.7728712,"altitude":3,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338c8","is_valid_coordinates":true} 
[2026-09-25 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327549952001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991197305929728,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670570496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790341992000,"timestamp_ms":1790341992000,"timestamp_seconds":1790341992,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b2ce40"} 
[2026-09-25 18:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635486864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2079750433194115072,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505674687905792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2982453249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634553145773421,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2550214015,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607225,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3226556454127225043,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195147776,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84863869033763641,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,35,160,186,45,192,56,3,10,66,104,128,2,46,22,1,240,124,227,216,211,4,113,205,114,60,8,44,239,52,5,69,136],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-09-25 18:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216374181720228079,"timestamp_seconds":216374181720228.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327549952001,"66":12048,"109":206,"85":15104,"24":0,"16":135991197305929728,"45":9168414072670570496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327549952001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991197305929728,"km_value":135991197305929.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670570496,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327549952001,"power":12048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670570496}} 
[2026-09-25 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":195292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:42] local.INFO: GPS data processed {"connection_id":195292,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:42] local.INFO: Acknowledgment sent {"connection_id":195292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:43] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:43] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:43:43] local.INFO: IMEI packet received {"connection_id":192597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":192597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:45] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:45] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:45] local.INFO: Packet analysis {"connection_id":192597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:45] local.INFO: Extracted packet for processing {"connection_id":192597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:45] 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-25 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:43:45] 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-25 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:45] 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-25 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":192597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":192597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":192597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":192597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:46] local.INFO: GPS data processed {"connection_id":192597,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:46] local.INFO: Acknowledgment sent {"connection_id":192597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:47] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:47] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:43:47] local.INFO: Packet analysis {"connection_id":192597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:47] local.INFO: Extracted packet for processing {"connection_id":192597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:43:47] 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-25 18:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18: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-25 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":192597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:43:48] local.INFO: GPS data processed {"connection_id":192597,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:43:48] local.INFO: Acknowledgment sent {"connection_id":192597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:43:54] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:43:54] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:54] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:56] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:56] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:56] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:57] local.INFO: TCP Data received {"connection_id":192434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:57] local.INFO: Processing buffer {"connection_id":192434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:43:57] local.INFO: IMEI packet received {"connection_id":192434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":192434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:43:59] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:43:59] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:43:59] local.INFO: IMEI packet received {"connection_id":193956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":193956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:44:00] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:00] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:00] local.INFO: IMEI packet received {"connection_id":193956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":193956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:44:04] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:04] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:44:04] local.INFO: IMEI packet received {"connection_id":193956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":193956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:44:05] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:05] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:05] local.INFO: Packet analysis {"connection_id":193956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:44:05] local.INFO: Extracted packet for processing {"connection_id":193956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:44:05] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728680,"longitude_deg":76.3313344,"latitude_deg":9.772868,"altitude":3,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338a8","is_valid_coordinates":true} 
[2026-09-25 18:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327549952001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991197305929728,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670570496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342012000,"timestamp_ms":1790342012000,"timestamp_seconds":1790342012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b31c60"} 
[2026-09-25 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-25 18:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635507864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2079749333682487296,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505674687971328,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2987829249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634600390413677,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2684431743,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2147865400,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3226538861941180628,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195175680,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84863866886279992,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.WARNING: Large IO value detected {"io_id":248,"raw_value":786733989888,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,35,160,206,45,192,56,3,44,10,66,186,104,128,1,240,146,227,216,211,4,113,205,196,60,208,46,239,47,2,5,69,144,248],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-09-25 18:44:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216374181720228080,"timestamp_seconds":216374181720228.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 18:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327549952001,"66":13341,"109":206,"85":15104,"24":0,"16":135991197305929728,"45":9168414072670570496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327549952001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:44:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:44:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991197305929728,"km_value":135991197305929.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670570496,"description":"Unknown IO ID 45"} 
[2026-09-25 18:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327549952001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670570496}} 
[2026-09-25 18:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":193956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:44:05] local.INFO: GPS data processed {"connection_id":193956,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:44:05] local.INFO: Acknowledgment sent {"connection_id":193956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:44:17] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:17] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:17] local.INFO: IMEI packet received {"connection_id":193957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":193957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:44:22] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:22] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:44:22] local.INFO: IMEI packet received {"connection_id":193957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":193957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:44:23] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:23] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:23] local.INFO: Packet analysis {"connection_id":193957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:44:23] local.INFO: Extracted packet for processing {"connection_id":193957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:23] 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-25 18:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:44:23] 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-25 18:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":193957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":193957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":193957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:44:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:44:23] 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":896760,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:44:23] local.INFO: GPS data processed {"connection_id":193957,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:44:23] local.INFO: Acknowledgment sent {"connection_id":193957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:44:24] local.INFO: TCP Data received {"connection_id":193958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:24] local.INFO: Processing buffer {"connection_id":193958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:24] local.INFO: IMEI packet received {"connection_id":193958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":193958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:44:30] local.INFO: TCP Data received {"connection_id":193958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:30] local.INFO: Processing buffer {"connection_id":193958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:44:30] local.INFO: IMEI packet received {"connection_id":193958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":193958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:44:31] local.INFO: TCP Data received {"connection_id":193958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:44:31] local.INFO: Processing buffer {"connection_id":193958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:44:31] local.INFO: Packet analysis {"connection_id":193958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:44:31] local.INFO: Extracted packet for processing {"connection_id":193958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44: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-25 18:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18: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-25 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18: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-25 18: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-25 18:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:44:31] local.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-25 18:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:44: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-25 18:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":193958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:44:31] local.INFO: GPS data processed {"connection_id":193958,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:44:31] local.INFO: Acknowledgment sent {"connection_id":193958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:44:35] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:35] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b31c60012d7f3cc005d338a8000300b72d..."} 
[2026-09-25 18:44:35] local.INFO: Packet analysis {"connection_id":193956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:44:35] local.INFO: Extracted packet for processing {"connection_id":193956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728680,"longitude_deg":76.3313344,"latitude_deg":9.772868,"altitude":3,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338a8","is_valid_coordinates":true} 
[2026-09-25 18:44:35] 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-25 18:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327555072001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991197305929728,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670562304,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342012000,"timestamp_ms":1790342012000,"timestamp_seconds":1790342012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b31c60"} 
[2026-09-25 18:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:44:35] 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-25 18:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 18:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327555072001,"66":13341,"109":206,"85":15104,"24":0,"16":135991197305929728,"45":9168414072670562304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327555072001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:44:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991197305929728,"km_value":135991197305929.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670562304,"description":"Unknown IO ID 45"} 
[2026-09-25 18:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327555072001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670562304}} 
[2026-09-25 18:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":193956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:44:35] local.INFO: GPS data processed {"connection_id":193956,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:44:35] local.INFO: Acknowledgment sent {"connection_id":193956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:44:55] local.INFO: TCP Data received {"connection_id":193957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:55] local.INFO: Processing buffer {"connection_id":193957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:44:55] local.INFO: Packet analysis {"connection_id":193957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:44:55] local.INFO: Extracted packet for processing {"connection_id":193957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:44:55] 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-25 18:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18: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-25 18:44:55] 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-25 18:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:44:55] 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-25 18: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-25 18: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-25 18:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":193957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":193957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":193957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:44:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:44:55] 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":896763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:44:55] local.INFO: GPS data processed {"connection_id":193957,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:44:55] local.INFO: Acknowledgment sent {"connection_id":193957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:03] local.INFO: TCP Data received {"connection_id":193958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:03] local.INFO: Processing buffer {"connection_id":193958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:03] local.INFO: Packet analysis {"connection_id":193958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:45:03] local.INFO: Extracted packet for processing {"connection_id":193958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45: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-25 18:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:45:03] local.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-25 18:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 18:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:45: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-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":193958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:03] local.INFO: GPS data processed {"connection_id":193958,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:03] local.INFO: Acknowledgment sent {"connection_id":193958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:06] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:06] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:06] local.INFO: Packet analysis {"connection_id":193956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:45:06] local.INFO: Extracted packet for processing {"connection_id":193956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728712,"longitude_deg":76.3313344,"latitude_deg":9.7728712,"altitude":4,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338c8","is_valid_coordinates":true} 
[2026-09-25 18:45: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-25 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327555072001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991201600897024,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670562304,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790342028000,"timestamp_ms":1790342028000,"timestamp_seconds":1790342028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b35ae0"} 
[2026-09-25 18: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-25 18:45:06] 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-25 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-25 18:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327555072001,"66":13319,"109":206,"85":15104,"24":0,"16":135991201600897024,"45":9168414072670562304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327555072001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991201600897024,"km_value":135991201600897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670562304,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327555072001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670562304}} 
[2026-09-25 18:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":193956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:07] local.INFO: GPS data processed {"connection_id":193956,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:07] local.INFO: Acknowledgment sent {"connection_id":193956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:21] local.INFO: TCP Data received {"connection_id":195297,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:21] local.INFO: Processing buffer {"connection_id":195297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:21] local.INFO: IMEI packet received {"connection_id":195297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":195297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:45:25] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:25] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:25] local.INFO: IMEI packet received {"connection_id":193960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":193960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:45:28] local.INFO: TCP Data received {"connection_id":195297,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195297,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:28] local.INFO: Processing buffer {"connection_id":195297,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:45:28] local.INFO: IMEI packet received {"connection_id":195297,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":195297,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:45:29] local.INFO: TCP Data received {"connection_id":195297,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:29] local.INFO: Processing buffer {"connection_id":195297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:29] local.INFO: Packet analysis {"connection_id":195297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:45:29] local.INFO: Extracted packet for processing {"connection_id":195297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45: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-25 18:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18: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-25 18:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:45:29] 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-25 18: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-25 18: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-25 18:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":195297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:29] local.INFO: GPS data processed {"connection_id":195297,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:29] local.INFO: Acknowledgment sent {"connection_id":195297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:30] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:30] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:45:30] local.INFO: IMEI packet received {"connection_id":193960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":193960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:45:31] local.INFO: TCP Data received {"connection_id":195297,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:31] local.INFO: Processing buffer {"connection_id":195297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:45:31] local.INFO: Packet analysis {"connection_id":195297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:45:31] local.INFO: Extracted packet for processing {"connection_id":195297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:31] 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-25 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:45: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-25 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:45: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-25 18:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":195297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:31] local.INFO: GPS data processed {"connection_id":195297,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:31] local.INFO: Acknowledgment sent {"connection_id":195297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:31] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:31] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:45:31] local.INFO: Packet analysis {"connection_id":193960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:45:31] local.INFO: Extracted packet for processing {"connection_id":193960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45: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-25 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:45: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-25 18:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:45:31] 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":896768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:31] local.INFO: GPS data processed {"connection_id":193960,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:31] local.INFO: Acknowledgment sent {"connection_id":193960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:45:38] local.INFO: TCP Data received {"connection_id":193956,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:38] local.INFO: Processing buffer {"connection_id":193956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b35ae0012d7f3cc005d338c8000400b72d..."} 
[2026-09-25 18:45:38] local.INFO: Packet analysis {"connection_id":193956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:45:38] local.INFO: Extracted packet for processing {"connection_id":193956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728712,"longitude_deg":76.3313344,"latitude_deg":9.7728712,"altitude":4,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338c8","is_valid_coordinates":true} 
[2026-09-25 18:45:38] 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-25 18:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327559168001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991201600897024,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670570496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790342028000,"timestamp_ms":1790342028000,"timestamp_seconds":1790342028,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b35ae0"} 
[2026-09-25 18: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-25 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635570864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2999861249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4078009466890956288,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543693312,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":146,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.WARNING: Large IO value detected {"io_id":178,"raw_value":1632556159841632261,"note":"Value kept but may cause issues"} 
[2026-09-25 18:45:38] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,35,160,28,45,192,56,3,10,66,206,240,227,216,211,4,113,205,186,60,239,1,47,2,5,146,178],"length":527,"final_offset":657,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-25 18:45:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288431780053123311,"timestamp_seconds":288431780053123.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18: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-25 18:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":193956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":193956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327559168001,"66":13319,"109":206,"85":15104,"24":0,"16":135991201600897024,"45":9168414072670570496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327559168001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:45:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991201600897024,"km_value":135991201600897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670570496,"description":"Unknown IO ID 45"} 
[2026-09-25 18:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327559168001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670570496}} 
[2026-09-25 18:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":193956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:45:38] local.INFO: GPS data processed {"connection_id":193956,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:45:38] local.INFO: Acknowledgment sent {"connection_id":193956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:02] local.INFO: TCP Data received {"connection_id":195297,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:02] local.INFO: Processing buffer {"connection_id":195297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:02] local.INFO: Packet analysis {"connection_id":195297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:46:02] local.INFO: Extracted packet for processing {"connection_id":195297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:46:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:02] 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-25 18:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:46:02] 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-25 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:02] 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-25 18:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195297,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:02] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:46:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":195297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:02] local.INFO: GPS data processed {"connection_id":195297,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:02] local.INFO: Acknowledgment sent {"connection_id":195297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:03] local.INFO: TCP Data received {"connection_id":193960,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:46:03] local.INFO: Processing buffer {"connection_id":193960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b093f0012d34c14006aa49080007006e2c..."} 
[2026-09-25 18:46:03] local.INFO: Packet analysis {"connection_id":193960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:46:03] local.INFO: Extracted packet for processing {"connection_id":193960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b0"} 
[2026-09-25 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327435520001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46: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-25 18:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790341846000,"timestamp_ms":1790341846000,"timestamp_seconds":1790341846,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b093f0"} 
[2026-09-25 18:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327435520001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327435520001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:46: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-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327435520001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:46:03] 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":896771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:03] local.INFO: GPS data processed {"connection_id":193960,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:03] local.INFO: Acknowledgment sent {"connection_id":193960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:04] local.INFO: TCP Data received {"connection_id":195299,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:04] local.INFO: Processing buffer {"connection_id":195299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:04] local.INFO: IMEI packet received {"connection_id":195299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":195299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:46:09] local.INFO: TCP Data received {"connection_id":195299,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:09] local.INFO: Processing buffer {"connection_id":195299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:46:09] local.INFO: IMEI packet received {"connection_id":195299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":195299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:46:17] local.INFO: TCP Data received {"connection_id":193961,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:17] local.INFO: Processing buffer {"connection_id":193961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:17] local.INFO: IMEI packet received {"connection_id":193961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":193961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:46:22] local.INFO: TCP Data received {"connection_id":195299,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:22] local.INFO: Processing buffer {"connection_id":195299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:22] local.INFO: Packet analysis {"connection_id":195299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:46:22] local.INFO: Extracted packet for processing {"connection_id":195299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728720,"longitude_deg":76.3313344,"latitude_deg":9.772872,"altitude":4,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338d0","is_valid_coordinates":true} 
[2026-09-25 18:46: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-25 18:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327559168001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991201600897024,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670570496,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790342030000,"timestamp_ms":1790342030000,"timestamp_seconds":1790342030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b362b0"} 
[2026-09-25 18: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-25 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635591864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2999861249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4069002271931182592,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":196791,"corrected_to":0} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543711744,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":70,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.WARNING: Large IO value detected {"io_id":178,"raw_value":7543530670765408261,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,35,160,90,45,192,56,4,10,66,28,3,1,240,29,227,216,211,113,205,206,60,200,44,239,47,2,5,70,178],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":196791,"validated":0}]} 
[2026-09-25 18:46:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288431780053123312,"timestamp_seconds":288431780053123.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18: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-25 18:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327559168001,"66":13319,"109":206,"85":15104,"24":0,"16":135991201600897024,"45":9168414072670570496},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327559168001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991201600897024,"km_value":135991201600897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670570496,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327559168001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670570496}} 
[2026-09-25 18:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":195299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:22] local.INFO: GPS data processed {"connection_id":195299,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:22] local.INFO: Acknowledgment sent {"connection_id":195299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:22] local.INFO: TCP Data received {"connection_id":193961,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:22] local.INFO: Processing buffer {"connection_id":193961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:46:22] local.INFO: IMEI packet received {"connection_id":193961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":193961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:46:23] local.INFO: TCP Data received {"connection_id":195299,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:23] local.INFO: Processing buffer {"connection_id":195299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b362b0012d7f3cc005d338d0000400b72d..."} 
[2026-09-25 18:46:23] local.INFO: Packet analysis {"connection_id":195299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:46:23] local.INFO: Extracted packet for processing {"connection_id":195299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728720,"longitude_deg":76.3313344,"latitude_deg":9.772872,"altitude":4,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d338d0","is_valid_coordinates":true} 
[2026-09-25 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991201600897024,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670572544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790342030000,"timestamp_ms":1790342030000,"timestamp_seconds":1790342030,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b362b0"} 
[2026-09-25 18:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635596864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3004981249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4089268474549316864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":196791,"corrected_to":0} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543713792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4992238892020350971,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,35,160,90,45,192,56,4,10,66,28,1,240,29,227,216,211,113,205,206,60,200,44,239,47,2,5,3,178],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":196791,"validated":0}]} 
[2026-09-25 18:46:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288431780053123311,"timestamp_seconds":288431780053123.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327559680001,"66":13319,"109":206,"85":15104,"24":0,"16":135991201600897024,"45":9168414072670572544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991201600897024,"km_value":135991201600897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670572544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327559680001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670572544}} 
[2026-09-25 18:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":195299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:23] local.INFO: GPS data processed {"connection_id":195299,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:23] local.INFO: Acknowledgment sent {"connection_id":195299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:24] local.INFO: TCP Data received {"connection_id":193961,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:24] local.INFO: Processing buffer {"connection_id":193961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:46:24] local.INFO: Packet analysis {"connection_id":193961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:46:24] local.INFO: Extracted packet for processing {"connection_id":193961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:46: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-25 18:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:24] 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-25 18:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:46:24] 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-25 18:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:46: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-25 18:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":193961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":193961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":193961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:46:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":193961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:24] local.INFO: GPS data processed {"connection_id":193961,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:24] local.INFO: Acknowledgment sent {"connection_id":193961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:46:24] local.INFO: TCP Data received {"connection_id":195301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:24] local.INFO: Processing buffer {"connection_id":195301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:24] local.INFO: IMEI packet received {"connection_id":195301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":195301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:46:25] local.INFO: TCP Data received {"connection_id":195301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:25] local.INFO: Processing buffer {"connection_id":195301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:25] local.INFO: IMEI packet received {"connection_id":195301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":195301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:46:30] local.INFO: TCP Data received {"connection_id":195301,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:30] local.INFO: Processing buffer {"connection_id":195301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:46:30] local.INFO: IMEI packet received {"connection_id":195301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":195301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:46:31] local.INFO: TCP Data received {"connection_id":195301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:46:31] local.INFO: Processing buffer {"connection_id":195301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:46:31] local.INFO: Packet analysis {"connection_id":195301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:46:31] local.INFO: Extracted packet for processing {"connection_id":195301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:46: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-25 18:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:46: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-25 18:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":195301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:46:31] local.INFO: GPS data processed {"connection_id":195301,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:46:31] local.INFO: Acknowledgment sent {"connection_id":195301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:01] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:01] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:01] local.INFO: IMEI packet received {"connection_id":193963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":193963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:47:01] local.INFO: TCP Data received {"connection_id":193961,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:01] local.INFO: Processing buffer {"connection_id":193961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:01] local.INFO: Packet analysis {"connection_id":193961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:01] local.INFO: Extracted packet for processing {"connection_id":193961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:01] 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-25 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:01] 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-25 18:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":193961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":193961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":193961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":193961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:01] local.INFO: GPS data processed {"connection_id":193961,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:01] local.INFO: Acknowledgment sent {"connection_id":193961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:04] local.INFO: TCP Data received {"connection_id":195301,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:04] local.INFO: Processing buffer {"connection_id":195301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:04] local.INFO: Packet analysis {"connection_id":195301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:47:04] local.INFO: Extracted packet for processing {"connection_id":195301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18: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-25 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:47: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-25 18: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-25 18: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-25 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:47: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-25 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:47:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":195301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:04] local.INFO: GPS data processed {"connection_id":195301,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:04] local.INFO: Acknowledgment sent {"connection_id":195301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:06] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:06] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:06] local.INFO: IMEI packet received {"connection_id":193963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":193963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:47:06] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b381f0012d7f3cc005d33900000500b72d..."} 
[2026-09-25 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b381f0012d7f3cc005d33900000500b72d..."} 
[2026-09-25 18:47:06] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b381f0012d7f3cc005d33900000500b72d..."} 
[2026-09-25 18:47:06] local.INFO: Packet analysis {"connection_id":193963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:47:06] local.INFO: Extracted packet for processing {"connection_id":193963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728768,"longitude_deg":76.3313344,"latitude_deg":9.7728768,"altitude":5,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33900","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327559680001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991210190831616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670572544,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790342038000,"timestamp_ms":1790342038000,"timestamp_seconds":1790342038,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b381f0"} 
[2026-09-25 18: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-25 18:47:06] 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-25 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635596864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3004981249,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4091520274363001856,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543713792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-3584864008467070971,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:06] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,35,160,98,45,192,56,4,10,66,90,240,7,227,216,211,113,205,28,60,168,239,1,52,2,5,3,178],"length":527,"final_offset":657,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-25 18:47:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288431780053123312,"timestamp_seconds":288431780053123.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18: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-25 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":193963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327559680001,"66":12809,"109":206,"85":15104,"24":0,"16":135991210190831616,"45":9168414072670572544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327559680001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991210190831616,"km_value":135991210190831.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670572544,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327559680001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670572544}} 
[2026-09-25 18:47:06] 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":896778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:06] local.INFO: GPS data processed {"connection_id":193963,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:06] local.INFO: Acknowledgment sent {"connection_id":193963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:09] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b3d3f8012d7f3cc005d33940000700b72c..."} 
[2026-09-25 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b3d3f8012d7f3cc005d33940000700b72c..."} 
[2026-09-25 18:47:09] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b3d3f8012d7f3cc005d33940000700b72c..."} 
[2026-09-25 18:47:09] local.INFO: Packet analysis {"connection_id":193963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:47:09] local.INFO: Extracted packet for processing {"connection_id":193963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b3"} 
[2026-09-25 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728832,"longitude_deg":76.3313344,"latitude_deg":9.7728832,"altitude":7,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33940","is_valid_coordinates":true} 
[2026-09-25 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327561728001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991223075733504,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670584832,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790342059000,"timestamp_ms":1790342059000,"timestamp_seconds":1790342059,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b3d3f8"} 
[2026-09-25 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:47: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-25 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":263882958439424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3635616864,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-5562438115953525568,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607224,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089895959524855381,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3226609230635026644,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,35,160,98,45,192,56,4,10,66,90,240,7,227,216,211,113,205,28,60,168,239,1,52,2,5,3,59,70],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-25 18:47:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360489374091051008,"timestamp_seconds":360489374091051.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":193963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327561728001,"66":13363,"109":206,"85":15104,"24":0,"16":135991223075733504,"45":9168414072670584832},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327561728001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991223075733504,"km_value":135991223075733.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670584832,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327561728001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670584832}} 
[2026-09-25 18:47:09] 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":896779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:09] local.INFO: GPS data processed {"connection_id":193963,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:09] local.INFO: Acknowledgment sent {"connection_id":193963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:17] local.INFO: TCP Data received {"connection_id":195302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:17] local.INFO: Processing buffer {"connection_id":195302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:17] local.INFO: IMEI packet received {"connection_id":195302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":195302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:47:19] local.INFO: TCP Data received {"connection_id":193964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:47:19] local.INFO: Processing buffer {"connection_id":193964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:47:19] local.INFO: IMEI packet received {"connection_id":193964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":193964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:47:22] local.INFO: TCP Data received {"connection_id":195302,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:22] local.INFO: Processing buffer {"connection_id":195302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:47:22] local.INFO: IMEI packet received {"connection_id":195302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":195302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:47:23] local.INFO: TCP Data received {"connection_id":195302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:23] local.INFO: Processing buffer {"connection_id":195302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:23] local.INFO: Packet analysis {"connection_id":195302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:23] local.INFO: Extracted packet for processing {"connection_id":195302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:23] 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-25 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:47:23] 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-25 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":195302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:24] local.INFO: GPS data processed {"connection_id":195302,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:24] local.INFO: Acknowledgment sent {"connection_id":195302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:25] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:25] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:25] local.INFO: IMEI packet received {"connection_id":192599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":192599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:47:30] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:30] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:47:30] local.INFO: IMEI packet received {"connection_id":192599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:47:31] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:31] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:47:31] local.INFO: Packet analysis {"connection_id":192599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:47:31] local.INFO: Extracted packet for processing {"connection_id":192599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47: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-25 18:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:47:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:47: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-25 18:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":192599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:31] local.INFO: GPS data processed {"connection_id":192599,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:31] local.INFO: Acknowledgment sent {"connection_id":192599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:40] local.INFO: TCP Data received {"connection_id":193963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b42600012d7f3cc005d33970000800b72d..."} 
[2026-09-25 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b42600012d7f3cc005d33970000800b72d..."} 
[2026-09-25 18:47:40] local.INFO: Processing buffer {"connection_id":193963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b42600012d7f3cc005d33970000800b72d..."} 
[2026-09-25 18:47:40] local.INFO: Packet analysis {"connection_id":193963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:47:40] local.INFO: Extracted packet for processing {"connection_id":193963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728880,"longitude_deg":76.3313344,"latitude_deg":9.772888,"altitude":8,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33970","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327567104001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991227370700800,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670601216,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790342080000,"timestamp_ms":1790342080000,"timestamp_seconds":1790342080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b42600"} 
[2026-09-25 18: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-25 18:47: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-25 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327567104001,"66":13559,"109":206,"85":15104,"24":0,"16":135991227370700800,"45":9168414072670601216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327567104001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991227370700800,"km_value":135991227370700.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670601216,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327567104001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670601216}} 
[2026-09-25 18:47:40] 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":896782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:40] local.INFO: GPS data processed {"connection_id":193963,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:40] local.INFO: Acknowledgment sent {"connection_id":193963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:55] local.INFO: TCP Data received {"connection_id":195302,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:55] local.INFO: Processing buffer {"connection_id":195302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b29f60012d0b10c007029f100011013d19..."} 
[2026-09-25 18:47:55] local.INFO: Packet analysis {"connection_id":195302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:55] local.INFO: Extracted packet for processing {"connection_id":195302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b2"} 
[2026-09-25 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":17,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327469824001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:47:55] 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-25 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790341980000,"timestamp_ms":1790341980000,"timestamp_seconds":1790341980,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b29f60"} 
[2026-09-25 18: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-25 18:47:55] 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-25 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 18:47:55] 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-25 18:47: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-25 18: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-25 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327469824001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327469824001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:47:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:47:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327469824001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":195302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:47:55] local.INFO: GPS data processed {"connection_id":195302,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:47:55] local.INFO: Acknowledgment sent {"connection_id":195302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:47:59] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:59] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:47:59] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:48:03] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:03] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:03] local.INFO: Packet analysis {"connection_id":192599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:03] local.INFO: Extracted packet for processing {"connection_id":192599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48: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-25 18:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:48: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-25 18:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":192599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:03] local.INFO: GPS data processed {"connection_id":192599,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:03] local.INFO: Acknowledgment sent {"connection_id":192599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:03] local.INFO: TCP Data received {"connection_id":192437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:48:03] local.INFO: Processing buffer {"connection_id":192437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:48:03] local.INFO: IMEI packet received {"connection_id":192437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":192437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:48:04] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:04] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:04] local.INFO: IMEI packet received {"connection_id":192436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":192436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:48:05] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b47808012d7f3cc005d33930000700b72a..."} 
[2026-09-25 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b47808012d7f3cc005d33930000700b72a..."} 
[2026-09-25 18:48:05] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b47808012d7f3cc005d33930000700b72a..."} 
[2026-09-25 18:48:05] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:48:05] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728816,"longitude_deg":76.3313344,"latitude_deg":9.7728816,"altitude":7,"angle":183,"satellites":42,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33930","is_valid_coordinates":true} 
[2026-09-25 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-25 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327572480001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991231665668096,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670613504,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342101000,"timestamp_ms":1790342101000,"timestamp_seconds":1790342101,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b47808"} 
[2026-09-25 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-25 18:48:05] 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-25 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:05] 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-25 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-25 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-25 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327572480001,"66":13602,"109":206,"85":15104,"24":0,"16":135991231665668096,"45":9168414072670613504},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327572480001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991231665668096,"km_value":135991231665668.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670613504,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327572480001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670613504}} 
[2026-09-25 18:48:05] 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":896785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:05] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:05] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:22] local.INFO: TCP Data received {"connection_id":193965,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:22] local.INFO: Processing buffer {"connection_id":193965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:22] local.INFO: IMEI packet received {"connection_id":193965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":193965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:48:27] local.INFO: TCP Data received {"connection_id":193965,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193965,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:27] local.INFO: Processing buffer {"connection_id":193965,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:48:27] local.INFO: IMEI packet received {"connection_id":193965,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":193965,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:48:29] local.INFO: TCP Data received {"connection_id":193965,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:29] local.INFO: Processing buffer {"connection_id":193965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:29] local.INFO: Packet analysis {"connection_id":193965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:48:29] local.INFO: Extracted packet for processing {"connection_id":193965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48: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-25 18:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18: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-25 18:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:29] 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-25 18: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-25 18: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-25 18:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":193965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:29] local.INFO: GPS data processed {"connection_id":193965,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:29] local.INFO: Acknowledgment sent {"connection_id":193965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:30] local.INFO: TCP Data received {"connection_id":195303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:30] local.INFO: Processing buffer {"connection_id":195303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:30] local.INFO: IMEI packet received {"connection_id":195303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":195303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:48:35] local.INFO: TCP Data received {"connection_id":193965,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:35] local.INFO: Processing buffer {"connection_id":193965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:48:35] local.INFO: Packet analysis {"connection_id":193965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:48:35] local.INFO: Extracted packet for processing {"connection_id":193965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:35] 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-25 18:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:48:35] 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-25 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:35] 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-25 18:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193965,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:48:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:48:35] local.INFO: TCP Data received {"connection_id":195303,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:35] local.INFO: Processing buffer {"connection_id":195303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:48:35] local.INFO: IMEI packet received {"connection_id":195303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":195303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":193965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:35] local.INFO: GPS data processed {"connection_id":193965,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:35] local.INFO: Acknowledgment sent {"connection_id":193965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:36] local.INFO: TCP Data received {"connection_id":192436,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b4ca10012d7f3cc005d33958000800b728..."} 
[2026-09-25 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b4ca10012d7f3cc005d33958000800b728..."} 
[2026-09-25 18:48:36] local.INFO: Processing buffer {"connection_id":192436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b4ca10012d7f3cc005d33958000800b728..."} 
[2026-09-25 18:48:36] local.INFO: Packet analysis {"connection_id":192436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:48:36] local.INFO: Extracted packet for processing {"connection_id":192436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b4"} 
[2026-09-25 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728856,"longitude_deg":76.3313344,"latitude_deg":9.7728856,"altitude":8,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33958","is_valid_coordinates":true} 
[2026-09-25 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327577856001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670597120,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342122000,"timestamp_ms":1790342122000,"timestamp_seconds":1790342122,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b4ca10"} 
[2026-09-25 18:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:48:36] 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-25 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:36] 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-25 18:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327577856001,"66":13559,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670597120},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327577856001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670597120,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327577856001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670597120}} 
[2026-09-25 18:48:37] 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":896788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:37] local.INFO: GPS data processed {"connection_id":192436,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:37] local.INFO: Acknowledgment sent {"connection_id":192436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:38] local.INFO: TCP Data received {"connection_id":195303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:38] local.INFO: Processing buffer {"connection_id":195303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:38] local.INFO: Packet analysis {"connection_id":195303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:38] local.INFO: Extracted packet for processing {"connection_id":195303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:48: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-25 18:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48: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-25 18:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:48: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-25 18:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":195303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:38] local.INFO: GPS data processed {"connection_id":195303,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:38] local.INFO: Acknowledgment sent {"connection_id":195303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:41] local.INFO: TCP Data received {"connection_id":195303,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:41] local.INFO: Processing buffer {"connection_id":195303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:48:41] local.INFO: Packet analysis {"connection_id":195303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:41] local.INFO: Extracted packet for processing {"connection_id":195303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:48: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-25 18:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":195303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:48:41] local.INFO: GPS data processed {"connection_id":195303,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:48:41] local.INFO: Acknowledgment sent {"connection_id":195303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:48:59] local.INFO: TCP Data received {"connection_id":195305,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:59] local.INFO: Processing buffer {"connection_id":195305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:48:59] local.INFO: IMEI packet received {"connection_id":195305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":195305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:48:59] local.INFO: TCP Data received {"connection_id":195304,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:48:59] local.INFO: Processing buffer {"connection_id":195304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:48:59] local.INFO: IMEI packet received {"connection_id":195304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":195304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:49:00] local.INFO: TCP Data received {"connection_id":195304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b53f40012d07cc400725e9c8000e010a25..."} 
[2026-09-25 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b53f40012d07cc400725e9c8000e010a25..."} 
[2026-09-25 18:49:00] local.INFO: Processing buffer {"connection_id":195304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b53f40012d07cc400725e9c8000e010a25..."} 
[2026-09-25 18:49:00] local.INFO: Packet analysis {"connection_id":195304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:00] local.INFO: Extracted packet for processing {"connection_id":195304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755485760,"raw_latitude":119925192,"longitude_deg":75.548576,"latitude_deg":11.9925192,"altitude":14,"angle":266,"satellites":37,"speed":4,"hex_longitude":"2d07cc40","hex_latitude":"0725e9c8","is_valid_coordinates":true} 
[2026-09-25 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327590400001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122746711998464,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562175927936215040,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342152000,"timestamp_ms":1790342152000,"timestamp_seconds":1790342152,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b53f40"} 
[2026-09-25 18:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:00] 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-25 18:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327590400001,"66":12341,"251":206,"83":44288,"24":4,"16":23122746711998464,"45":562175927936215040},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327590400001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122746711998464,"km_value":23122746711998.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":562175927936215040,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327590400001,"power":12341,"unknown_251":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":562175927936215040}} 
[2026-09-25 18:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":195304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:00] local.INFO: GPS data processed {"connection_id":195304,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:00] local.INFO: Acknowledgment sent {"connection_id":195304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:04] local.INFO: TCP Data received {"connection_id":195305,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:04] local.INFO: Processing buffer {"connection_id":195305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:04] local.INFO: IMEI packet received {"connection_id":195305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":195305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:49:04] local.INFO: TCP Data received {"connection_id":195305,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:04] local.INFO: Processing buffer {"connection_id":195305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:04] local.INFO: Packet analysis {"connection_id":195305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:04] local.INFO: Extracted packet for processing {"connection_id":195305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728928,"longitude_deg":76.3313344,"latitude_deg":9.7728928,"altitude":9,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d339a0","is_valid_coordinates":true} 
[2026-09-25 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327583232001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670607360,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342139000,"timestamp_ms":1790342139000,"timestamp_seconds":1790342139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b50c78"} 
[2026-09-25 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:49:04] 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-25 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327583232001,"66":13559,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670607360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327583232001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670607360,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327583232001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670607360}} 
[2026-09-25 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":195305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:04] local.INFO: GPS data processed {"connection_id":195305,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:04] local.INFO: Acknowledgment sent {"connection_id":195305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:25] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:25] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:25] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:49:26] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:49:26] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:49:26] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:49:30] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:30] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:49:30] local.INFO: IMEI packet received {"connection_id":192439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:49:31] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:49:31] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:49:31] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:31] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49: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-25 18:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18: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-25 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:49: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-25 18:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:49: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-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:49:31] 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":896793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:31] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:31] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:31] local.INFO: TCP Data received {"connection_id":195304,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b54af8012d07cb400725e9c8000e011726..."} 
[2026-09-25 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b54af8012d07cb400725e9c8000e011726..."} 
[2026-09-25 18:49:31] local.INFO: Processing buffer {"connection_id":195304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b54af8012d07cb400725e9c8000e011726..."} 
[2026-09-25 18:49:31] local.INFO: Packet analysis {"connection_id":195304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:31] local.INFO: Extracted packet for processing {"connection_id":195304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":755485504,"raw_latitude":119925192,"longitude_deg":75.5485504,"latitude_deg":11.9925192,"altitude":14,"angle":279,"satellites":38,"speed":2,"hex_longitude":"2d07cb40","hex_latitude":"0725e9c8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327590912001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122759596900352,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561894452959496192,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342155000,"timestamp_ms":1790342155000,"timestamp_seconds":1790342155,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b54af8"} 
[2026-09-25 18: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-25 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327590912001,"66":13102,"251":206,"83":44288,"24":2,"16":23122759596900352,"45":561894452959496192},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327590912001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122759596900352,"km_value":23122759596900.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561894452959496192,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327590912001,"power":13102,"unknown_251":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":561894452959496192}} 
[2026-09-25 18:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":195304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:31] local.INFO: GPS data processed {"connection_id":195304,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:31] local.INFO: Acknowledgment sent {"connection_id":195304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:31] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:49:31] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:49:31] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:49:33] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:49:33] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:49:33] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:49:35] local.INFO: TCP Data received {"connection_id":195305,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:35] local.INFO: Processing buffer {"connection_id":195305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:49:35] local.INFO: Packet analysis {"connection_id":195305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:35] local.INFO: Extracted packet for processing {"connection_id":195305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728928,"longitude_deg":76.3313344,"latitude_deg":9.7728928,"altitude":9,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d339a0","is_valid_coordinates":true} 
[2026-09-25 18:49:35] 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-25 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327587584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670625792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342139000,"timestamp_ms":1790342139000,"timestamp_seconds":1790342139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b50c78"} 
[2026-09-25 18: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-25 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:35] 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-25 18: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-25 18: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-25 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327587584001,"66":13559,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670625792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327587584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670625792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327587584001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670625792}} 
[2026-09-25 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":195305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:35] local.INFO: GPS data processed {"connection_id":195305,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:35] local.INFO: Acknowledgment sent {"connection_id":195305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:39] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:39] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a0d8..."} 
[2026-09-25 18:49:39] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:49:43] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:43] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:43] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:43] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] 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-25 18:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18: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-25 18:49:43] 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-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:43] 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-25 18: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-25 18: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-25 18:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:49:43] 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":896796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:43] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:43] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:43] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:43] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:43] 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-25 18:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18: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-25 18:49:43] 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-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:43] 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-25 18: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-25 18: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-25 18:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:49:43] 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":896797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:43] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:43] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:44] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:44] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:49:44] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:44] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:49:44] 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-25 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:49:44] 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-25 18:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:49:44] 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-25 18:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:49:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:49:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:49:44] 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":896798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:49:44] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:49:44] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:49:59] local.INFO: TCP Data received {"connection_id":193967,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:59] local.INFO: Processing buffer {"connection_id":193967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:49:59] local.INFO: IMEI packet received {"connection_id":193967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":193967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:49:59] local.INFO: TCP Data received {"connection_id":193966,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:49:59] local.INFO: Processing buffer {"connection_id":193966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:49:59] local.INFO: IMEI packet received {"connection_id":193966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":193966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:50:03] local.INFO: TCP Data received {"connection_id":192439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:03] local.INFO: Processing buffer {"connection_id":192439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:03] local.INFO: Packet analysis {"connection_id":192439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:03] local.INFO: Extracted packet for processing {"connection_id":192439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50: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-25 18:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:50: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-25 18:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:50:03] 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":896799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:03] local.INFO: GPS data processed {"connection_id":192439,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:03] local.INFO: Acknowledgment sent {"connection_id":192439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:04] local.INFO: TCP Data received {"connection_id":193967,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:50:04] local.INFO: Processing buffer {"connection_id":193967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:50:04] local.INFO: IMEI packet received {"connection_id":193967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":193967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:50:04] local.INFO: TCP Data received {"connection_id":193966,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:04] local.INFO: Processing buffer {"connection_id":193966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:04] local.INFO: IMEI packet received {"connection_id":193966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":193966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:50:04] local.INFO: TCP Data received {"connection_id":193967,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:04] local.INFO: Processing buffer {"connection_id":193967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:04] local.INFO: Packet analysis {"connection_id":193967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:04] local.INFO: Extracted packet for processing {"connection_id":193967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728928,"longitude_deg":76.3313344,"latitude_deg":9.7728928,"altitude":9,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d339a0","is_valid_coordinates":true} 
[2026-09-25 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327587584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670625792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342139000,"timestamp_ms":1790342139000,"timestamp_seconds":1790342139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b50c78"} 
[2026-09-25 18:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327587584001,"66":13559,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670625792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327587584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670625792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327587584001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670625792}} 
[2026-09-25 18:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":193967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:04] local.INFO: GPS data processed {"connection_id":193967,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:04] local.INFO: Acknowledgment sent {"connection_id":193967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:05] local.INFO: TCP Data received {"connection_id":193966,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b556b0012d07cb400725e9d0000e005726..."} 
[2026-09-25 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b556b0012d07cb400725e9d0000e005726..."} 
[2026-09-25 18:50:05] local.INFO: Processing buffer {"connection_id":193966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b556b0012d07cb400725e9d0000e005726..."} 
[2026-09-25 18:50:05] local.INFO: Packet analysis {"connection_id":193966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:05] local.INFO: Extracted packet for processing {"connection_id":193966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755485504,"raw_latitude":119925200,"longitude_deg":75.5485504,"latitude_deg":11.99252,"altitude":14,"angle":87,"satellites":38,"speed":0,"hex_longitude":"2d07cb40","hex_latitude":"0725e9d0","is_valid_coordinates":true} 
[2026-09-25 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-25 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327591680001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122759596900352,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561612977982785536,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342158000,"timestamp_ms":1790342158000,"timestamp_seconds":1790342158,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b556b0"} 
[2026-09-25 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-25 18:50:05] 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-25 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:05] 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-25 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-25 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-25 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327591680001,"66":12428,"251":206,"83":44288,"24":0,"16":23122759596900352,"45":561612977982785536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327591680001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122759596900352,"km_value":23122759596900.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561612977982785536,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327591680001,"power":12428,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561612977982785536}} 
[2026-09-25 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":193966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:05] local.INFO: GPS data processed {"connection_id":193966,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:05] local.INFO: Acknowledgment sent {"connection_id":193966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:22] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:22] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:22] local.INFO: IMEI packet received {"connection_id":193969,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":193969,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:50:24] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:24] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:24] local.INFO: IMEI packet received {"connection_id":193970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":193970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:50:27] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:27] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:50:27] local.INFO: IMEI packet received {"connection_id":193969,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":193969,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:50:29] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:50:29] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:50:29] local.INFO: Packet analysis {"connection_id":193969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:50:29] local.INFO: Extracted packet for processing {"connection_id":193969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50: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-25 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:29] 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-25 18:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:50:29] 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":896802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:29] local.INFO: GPS data processed {"connection_id":193969,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:29] local.INFO: Acknowledgment sent {"connection_id":193969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:30] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:30] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:50:30] local.INFO: IMEI packet received {"connection_id":193970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":193970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:50:31] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:31] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:50:31] local.INFO: Packet analysis {"connection_id":193970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:31] local.INFO: Extracted packet for processing {"connection_id":193970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50: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-25 18:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:50:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:50: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-25 18:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:50:31] 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":896803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:31] local.INFO: GPS data processed {"connection_id":193970,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:31] local.INFO: Acknowledgment sent {"connection_id":193970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:35] local.INFO: TCP Data received {"connection_id":193967,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:35] local.INFO: Processing buffer {"connection_id":193967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b50c78012d7f3cc005d339a0000900b729..."} 
[2026-09-25 18:50:35] local.INFO: Packet analysis {"connection_id":193967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:35] local.INFO: Extracted packet for processing {"connection_id":193967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728928,"longitude_deg":76.3313344,"latitude_deg":9.7728928,"altitude":9,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d339a0","is_valid_coordinates":true} 
[2026-09-25 18:50:35] 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-25 18:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327587584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670625792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342139000,"timestamp_ms":1790342139000,"timestamp_seconds":1790342139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b50c78"} 
[2026-09-25 18: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-25 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:35] 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-25 18: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-25 18: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-25 18:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327587584001,"66":13559,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670625792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327587584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670625792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327587584001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670625792}} 
[2026-09-25 18:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":193967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:35] local.INFO: GPS data processed {"connection_id":193967,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:35] local.INFO: Acknowledgment sent {"connection_id":193967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:36] local.INFO: TCP Data received {"connection_id":193966,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b59148012d07cbc00725ea88000c014525..."} 
[2026-09-25 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b59148012d07cbc00725ea88000c014525..."} 
[2026-09-25 18:50:36] local.INFO: Processing buffer {"connection_id":193966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b59148012d07cbc00725ea88000c014525..."} 
[2026-09-25 18:50:36] local.INFO: Packet analysis {"connection_id":193966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:36] local.INFO: Extracted packet for processing {"connection_id":193966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":755485632,"raw_latitude":119925384,"longitude_deg":75.5485632,"latitude_deg":11.9925384,"altitude":12,"angle":325,"satellites":37,"speed":4,"hex_longitude":"2d07cbc0","hex_latitude":"0725ea88","is_valid_coordinates":true} 
[2026-09-25 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327592448001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122776776769536,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561612977982787584,"note":"Value kept but may cause issues"} 
[2026-09-25 18:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342173000,"timestamp_ms":1790342173000,"timestamp_seconds":1790342173,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b59148"} 
[2026-09-25 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:50:36] 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-25 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 18:50:36] 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-25 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327592448001,"66":13363,"251":206,"83":44288,"24":4,"16":23122776776769536,"45":561612977982787584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327592448001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:50:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122776776769536,"km_value":23122776776769.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":561612977982787584,"description":"Unknown IO ID 45"} 
[2026-09-25 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327592448001,"power":13363,"unknown_251":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":561612977982787584}} 
[2026-09-25 18:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":193966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:50:36] local.INFO: GPS data processed {"connection_id":193966,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:50:36] local.INFO: Acknowledgment sent {"connection_id":193966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:50:54] local.INFO: TCP Data received {"connection_id":195306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:54] local.INFO: Processing buffer {"connection_id":195306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:54] local.INFO: IMEI packet received {"connection_id":195306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":195306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:50:59] local.INFO: TCP Data received {"connection_id":195306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:59] local.INFO: Processing buffer {"connection_id":195306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:50:59] local.INFO: IMEI packet received {"connection_id":195306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":195306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:00] local.INFO: TCP Data received {"connection_id":195306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:00] local.INFO: Processing buffer {"connection_id":195306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:00] local.INFO: Packet analysis {"connection_id":195306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:00] local.INFO: Extracted packet for processing {"connection_id":195306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755485760,"raw_latitude":119925376,"longitude_deg":75.548576,"latitude_deg":11.9925376,"altitude":13,"angle":38,"satellites":38,"speed":2,"hex_longitude":"2d07cc40","hex_latitude":"0725ea80","is_valid_coordinates":true} 
[2026-09-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327596288001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122785366704128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561753715471190016,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342194000,"timestamp_ms":1790342194000,"timestamp_seconds":1790342194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b5e350"} 
[2026-09-25 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327596288001,"66":12798,"251":206,"83":44288,"24":2,"16":23122785366704128,"45":561753715471190016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327596288001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122785366704128,"km_value":23122785366704.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561753715471190016,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327596288001,"power":12798,"unknown_251":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":561753715471190016}} 
[2026-09-25 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":195306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:00] local.INFO: GPS data processed {"connection_id":195306,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:00] local.INFO: Acknowledgment sent {"connection_id":195306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:00] local.INFO: TCP Data received {"connection_id":193969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:00] local.INFO: Processing buffer {"connection_id":193969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:00] local.INFO: Packet analysis {"connection_id":193969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:00] local.INFO: Extracted packet for processing {"connection_id":193969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:00] 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-25 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:00] 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-25 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:00] 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-25 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:51:00] 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":896807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:00] local.INFO: GPS data processed {"connection_id":193969,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:00] local.INFO: Acknowledgment sent {"connection_id":193969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:02] local.INFO: TCP Data received {"connection_id":193970,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:02] local.INFO: Processing buffer {"connection_id":193970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b52bb8012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:02] local.INFO: Packet analysis {"connection_id":193970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:02] local.INFO: Extracted packet for processing {"connection_id":193970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327512576001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51: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-25 18:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790342147000,"timestamp_ms":1790342147000,"timestamp_seconds":1790342147,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b52bb8"} 
[2026-09-25 18:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327512576001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327512576001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:51: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-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327512576001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:51:02] 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":896808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:02] local.INFO: GPS data processed {"connection_id":193970,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:02] local.INFO: Acknowledgment sent {"connection_id":193970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:04] local.INFO: TCP Data received {"connection_id":195307,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:04] local.INFO: Processing buffer {"connection_id":195307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:04] local.INFO: IMEI packet received {"connection_id":195307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":195307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:51:09] local.INFO: TCP Data received {"connection_id":195307,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:09] local.INFO: Processing buffer {"connection_id":195307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:09] local.INFO: IMEI packet received {"connection_id":195307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":195307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:10] local.INFO: TCP Data received {"connection_id":195307,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:10] local.INFO: Processing buffer {"connection_id":195307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:10] local.INFO: Packet analysis {"connection_id":195307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:10] local.INFO: Extracted packet for processing {"connection_id":195307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728888,"longitude_deg":76.3313344,"latitude_deg":9.7728888,"altitude":2,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33978","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327587584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670625792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790342443000,"timestamp_ms":1790342443000,"timestamp_seconds":1790342443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9aff8"} 
[2026-09-25 18: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-25 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":195307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":195307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":195307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327587584001,"66":12863,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670625792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327587584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670625792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327587584001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670625792}} 
[2026-09-25 18:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":195307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:10] local.INFO: GPS data processed {"connection_id":195307,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:10] local.INFO: Acknowledgment sent {"connection_id":195307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:14] local.INFO: TCP Data received {"connection_id":195307,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:14] local.INFO: Processing buffer {"connection_id":195307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9aff8012d7f3cc005d33978000200b72b..."} 
[2026-09-25 18:51:14] local.INFO: Packet analysis {"connection_id":195307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:14] local.INFO: Extracted packet for processing {"connection_id":195307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728888,"longitude_deg":76.3313344,"latitude_deg":9.7728888,"altitude":2,"angle":183,"satellites":43,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33978","is_valid_coordinates":true} 
[2026-09-25 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327587584001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670625792,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790342443000,"timestamp_ms":1790342443000,"timestamp_seconds":1790342443,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9aff8"} 
[2026-09-25 18:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":195307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":195307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":195307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327587584001,"66":12863,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670625792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327587584001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670625792,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327587584001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670625792}} 
[2026-09-25 18:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":195307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:14] local.INFO: GPS data processed {"connection_id":195307,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:14] local.INFO: Acknowledgment sent {"connection_id":195307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:17] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:17] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:17] local.INFO: IMEI packet received {"connection_id":192440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":192440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:51:22] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:22] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:51:22] local.INFO: IMEI packet received {"connection_id":192440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:23] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:23] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:23] local.INFO: Packet analysis {"connection_id":192440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:23] local.INFO: Extracted packet for processing {"connection_id":192440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:23] 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-25 18:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18: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-25 18:51:23] 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-25 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:23] 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-25 18: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-25 18: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-25 18:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:51:23] 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":896811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:23] local.INFO: GPS data processed {"connection_id":192440,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:23] local.INFO: Acknowledgment sent {"connection_id":192440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:24] local.INFO: TCP Data received {"connection_id":195309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:24] local.INFO: Processing buffer {"connection_id":195309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:24] local.INFO: IMEI packet received {"connection_id":195309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":195309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:51:26] local.INFO: TCP Data received {"connection_id":195309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:26] local.INFO: Processing buffer {"connection_id":195309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:26] local.INFO: IMEI packet received {"connection_id":195309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":195309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:30] local.INFO: TCP Data received {"connection_id":195309,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:30] local.INFO: Processing buffer {"connection_id":195309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:51:30] local.INFO: IMEI packet received {"connection_id":195309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":195309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:30] local.INFO: TCP Data received {"connection_id":195309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:30] local.INFO: Processing buffer {"connection_id":195309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:51:30] local.INFO: Packet analysis {"connection_id":195309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:30] local.INFO: Extracted packet for processing {"connection_id":195309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:30] 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-25 18:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:51:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":195309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:30] local.INFO: GPS data processed {"connection_id":195309,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:30] local.INFO: Acknowledgment sent {"connection_id":195309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:31] local.INFO: TCP Data received {"connection_id":195306,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:31] local.INFO: Processing buffer {"connection_id":195306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b5e350012d07cc400725ea80000d002626..."} 
[2026-09-25 18:51:31] local.INFO: Packet analysis {"connection_id":195306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:31] local.INFO: Extracted packet for processing {"connection_id":195306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":755485760,"raw_latitude":119925376,"longitude_deg":75.548576,"latitude_deg":11.9925376,"altitude":13,"angle":38,"satellites":38,"speed":2,"hex_longitude":"2d07cc40","hex_latitude":"0725ea80","is_valid_coordinates":true} 
[2026-09-25 18:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327601664001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122785366704128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561894452959543296,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342194000,"timestamp_ms":1790342194000,"timestamp_seconds":1790342194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b5e350"} 
[2026-09-25 18:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327601664001,"66":12798,"251":206,"83":44288,"24":2,"16":23122785366704128,"45":561894452959543296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327601664001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122785366704128,"km_value":23122785366704.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561894452959543296,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327601664001,"power":12798,"unknown_251":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":561894452959543296}} 
[2026-09-25 18:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":195306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:31] local.INFO: GPS data processed {"connection_id":195306,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:31] local.INFO: Acknowledgment sent {"connection_id":195306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:53] local.INFO: TCP Data received {"connection_id":195310,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:54] local.INFO: Processing buffer {"connection_id":195310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:54] local.INFO: IMEI packet received {"connection_id":195310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":195310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:51:56] local.INFO: TCP Data received {"connection_id":192440,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:56] local.INFO: Processing buffer {"connection_id":192440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:51:56] local.INFO: Packet analysis {"connection_id":192440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:56] local.INFO: Extracted packet for processing {"connection_id":192440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:51:56] 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-25 18:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18: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-25 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:51:56] 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-25 18: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-25 18: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-25 18:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:51:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:51:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:51:56] 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":896814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:51:56] local.INFO: GPS data processed {"connection_id":192440,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:51:56] local.INFO: Acknowledgment sent {"connection_id":192440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:51:59] local.INFO: TCP Data received {"connection_id":195310,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:59] local.INFO: Processing buffer {"connection_id":195310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:51:59] local.INFO: IMEI packet received {"connection_id":195310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":195310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:51:59] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:59] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:51:59] local.INFO: IMEI packet received {"connection_id":193971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":193971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:52:00] local.INFO: TCP Data received {"connection_id":195310,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b5f6d8012d07cc000725ea28000d00cb26..."} 
[2026-09-25 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b5f6d8012d07cc000725ea28000d00cb26..."} 
[2026-09-25 18:52:00] local.INFO: Processing buffer {"connection_id":195310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b5f6d8012d07cc000725ea28000d00cb26..."} 
[2026-09-25 18:52:00] local.INFO: Packet analysis {"connection_id":195310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:52:00] local.INFO: Extracted packet for processing {"connection_id":195310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755485696,"raw_latitude":119925288,"longitude_deg":75.5485696,"latitude_deg":11.9925288,"altitude":13,"angle":203,"satellites":38,"speed":2,"hex_longitude":"2d07cc00","hex_latitude":"0725ea28","is_valid_coordinates":true} 
[2026-09-25 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327601664001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122793956638720,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561894452959543296,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342199000,"timestamp_ms":1790342199000,"timestamp_seconds":1790342199,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b5f6d8"} 
[2026-09-25 18:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52: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-25 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:00] 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-25 18:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327601664001,"66":12841,"251":206,"83":44288,"24":2,"16":23122793956638720,"45":561894452959543296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327601664001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122793956638720,"km_value":23122793956638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561894452959543296,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327601664001,"power":12841,"unknown_251":206,"unknown_83":44288,"ignition":2,"odometer":null,"unknown_45":561894452959543296}} 
[2026-09-25 18:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":195310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:00] local.INFO: GPS data processed {"connection_id":195310,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:00] local.INFO: Acknowledgment sent {"connection_id":195310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:02] local.INFO: TCP Data received {"connection_id":195309,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:02] local.INFO: Processing buffer {"connection_id":195309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:02] local.INFO: Packet analysis {"connection_id":195309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:02] local.INFO: Extracted packet for processing {"connection_id":195309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52: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-25 18:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:02] 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-25 18:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:52: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-25 18:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":195309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:02] local.INFO: GPS data processed {"connection_id":195309,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:02] local.INFO: Acknowledgment sent {"connection_id":195309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:04] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:04] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:04] local.INFO: IMEI packet received {"connection_id":193971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":193971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:52:05] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:05] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:05] local.INFO: Packet analysis {"connection_id":193971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:52:05] local.INFO: Extracted packet for processing {"connection_id":193971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728888,"longitude_deg":76.3313344,"latitude_deg":9.7728888,"altitude":0,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33978","is_valid_coordinates":true} 
[2026-09-25 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327665408001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670615552,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342486000,"timestamp_ms":1790342486000,"timestamp_seconds":1790342486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ba57f0"} 
[2026-09-25 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-25 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:05] 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-25 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-25 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-25 18:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327665408001,"66":12689,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670615552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327665408001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670615552,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327665408001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670615552}} 
[2026-09-25 18:52:05] 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":896817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:05] local.INFO: GPS data processed {"connection_id":193971,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:05] local.INFO: Acknowledgment sent {"connection_id":193971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:17] local.INFO: TCP Data received {"connection_id":195312,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:17] local.INFO: Processing buffer {"connection_id":195312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:17] local.INFO: IMEI packet received {"connection_id":195312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":195312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:52:22] local.INFO: TCP Data received {"connection_id":195312,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195312,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:23] local.INFO: Processing buffer {"connection_id":195312,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:52:23] local.INFO: IMEI packet received {"connection_id":195312,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":195312,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:52:30] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:30] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:30] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:52:31] local.INFO: TCP Data received {"connection_id":195310,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b5fea8012d07cc000725e9e8000d00de26..."} 
[2026-09-25 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b5fea8012d07cc000725e9e8000d00de26..."} 
[2026-09-25 18:52:31] local.INFO: Processing buffer {"connection_id":195310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b5fea8012d07cc000725e9e8000d00de26..."} 
[2026-09-25 18:52:31] local.INFO: Packet analysis {"connection_id":195310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:52:31] local.INFO: Extracted packet for processing {"connection_id":195310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b5"} 
[2026-09-25 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":755485696,"raw_latitude":119925224,"longitude_deg":75.5485696,"latitude_deg":11.9925224,"altitude":13,"angle":222,"satellites":38,"speed":1,"hex_longitude":"2d07cc00","hex_latitude":"0725e9e8","is_valid_coordinates":true} 
[2026-09-25 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327602944001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122798251606016,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561824084215343104,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342201000,"timestamp_ms":1790342201000,"timestamp_seconds":1790342201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b5fea8"} 
[2026-09-25 18:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:31] 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-25 18:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327602944001,"66":11993,"251":206,"83":44288,"24":1,"16":23122798251606016,"45":561824084215343104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327602944001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122798251606016,"km_value":23122798251606.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561824084215343104,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327602944001,"power":11993,"unknown_251":206,"unknown_83":44288,"ignition":1,"odometer":null,"unknown_45":561824084215343104}} 
[2026-09-25 18:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":195310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:31] local.INFO: GPS data processed {"connection_id":195310,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:31] local.INFO: Acknowledgment sent {"connection_id":195310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:35] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:35] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:52:35] local.INFO: IMEI packet received {"connection_id":192441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":192441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:52:35] local.INFO: TCP Data received {"connection_id":193971,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:35] local.INFO: Processing buffer {"connection_id":193971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ba57f0012d7f3cc005d33978000000b72f..."} 
[2026-09-25 18:52:35] local.INFO: Packet analysis {"connection_id":193971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:52:35] local.INFO: Extracted packet for processing {"connection_id":193971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728888,"longitude_deg":76.3313344,"latitude_deg":9.7728888,"altitude":0,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33978","is_valid_coordinates":true} 
[2026-09-25 18:52:35] 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-25 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327676416001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991244550569984,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670615552,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342486000,"timestamp_ms":1790342486000,"timestamp_seconds":1790342486,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ba57f0"} 
[2026-09-25 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:35] 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-25 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327676416001,"66":12689,"109":206,"85":15104,"24":0,"16":135991244550569984,"45":9168414072670615552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327676416001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991244550569984,"km_value":135991244550569.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670615552,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327676416001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670615552}} 
[2026-09-25 18:52: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":896819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:35] local.INFO: GPS data processed {"connection_id":193971,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:35] local.INFO: Acknowledgment sent {"connection_id":193971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:36] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:36] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:36] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:36] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:52: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-25 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:52:36] 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":896820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:36] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:36] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:40] local.INFO: TCP Data received {"connection_id":192441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:40] local.INFO: Processing buffer {"connection_id":192441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:52:40] local.INFO: Packet analysis {"connection_id":192441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:40] local.INFO: Extracted packet for processing {"connection_id":192441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18: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-25 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18: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-25 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:52:40] 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":896821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:40] local.INFO: GPS data processed {"connection_id":192441,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:40] local.INFO: Acknowledgment sent {"connection_id":192441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:47] local.INFO: TCP Data received {"connection_id":195312,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:52:47] local.INFO: Processing buffer {"connection_id":195312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b73728012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:52:47] local.INFO: Packet analysis {"connection_id":195312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:52:47] local.INFO: Extracted packet for processing {"connection_id":195312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b7"} 
[2026-09-25 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327546880001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:52:47] 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-25 18:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790342281000,"timestamp_ms":1790342281000,"timestamp_seconds":1790342281,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b73728"} 
[2026-09-25 18:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 18:52:47] 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-25 18:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":195312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":195312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":195312,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327546880001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327546880001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:52:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:52:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327546880001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":195312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:52:48] local.INFO: GPS data processed {"connection_id":195312,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:52:48] local.INFO: Acknowledgment sent {"connection_id":195312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:52:54] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:54] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:54] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:52:59] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:59] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:52:59] local.INFO: IMEI packet received {"connection_id":192442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":192442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:52:59] local.INFO: TCP Data received {"connection_id":193972,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:59] local.INFO: Processing buffer {"connection_id":193972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:52:59] local.INFO: IMEI packet received {"connection_id":193972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":193972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:53:00] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:00] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:00] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:53:00] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":755485440,"raw_latitude":119925048,"longitude_deg":75.548544,"latitude_deg":11.9925048,"altitude":13,"angle":230,"satellites":38,"speed":3,"hex_longitude":"2d07cb00","hex_latitude":"0725e938","is_valid_coordinates":true} 
[2026-09-25 18:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327603456001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561824084215326720,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342204000,"timestamp_ms":1790342204000,"timestamp_seconds":1790342204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b60a60"} 
[2026-09-25 18: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-25 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-25 18:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327603456001,"66":12841,"251":206,"83":44288,"24":3,"16":23122811136507904,"45":561824084215326720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327603456001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561824084215326720,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327603456001,"power":12841,"unknown_251":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":561824084215326720}} 
[2026-09-25 18:53:00] 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":896823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:00] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:00] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:04] local.INFO: TCP Data received {"connection_id":193972,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:04] local.INFO: Processing buffer {"connection_id":193972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:04] local.INFO: IMEI packet received {"connection_id":193972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":193972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:53:05] local.INFO: TCP Data received {"connection_id":193972,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d7f3c4005d33920000100b731..."} 
[2026-09-25 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d7f3c4005d33920000100b731..."} 
[2026-09-25 18:53:05] local.INFO: Processing buffer {"connection_id":193972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d7f3c4005d33920000100b731..."} 
[2026-09-25 18:53:05] local.INFO: Packet analysis {"connection_id":193972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:53:05] local.INFO: Extracted packet for processing {"connection_id":193972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728800,"longitude_deg":76.3313216,"latitude_deg":9.77288,"altitude":1,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d33920","is_valid_coordinates":true} 
[2026-09-25 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-25 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327676416001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991248845537280,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670615552,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 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-25 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 18:53:05] 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-25 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-25 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-25 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327676416001,"66":12461,"109":206,"85":15104,"24":0,"16":135991248845537280,"45":9168414072670615552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327676416001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991248845537280,"km_value":135991248845537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670615552,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327676416001,"power":12461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670615552}} 
[2026-09-25 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":193972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:05] local.INFO: GPS data processed {"connection_id":193972,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:05] local.INFO: Acknowledgment sent {"connection_id":193972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:17] local.INFO: TCP Data received {"connection_id":195313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:17] local.INFO: Processing buffer {"connection_id":195313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:17] local.INFO: IMEI packet received {"connection_id":195313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":195313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:53:19] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:53:19] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:53:19] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:53:22] local.INFO: TCP Data received {"connection_id":195313,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:22] local.INFO: Processing buffer {"connection_id":195313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:53:22] local.INFO: IMEI packet received {"connection_id":195313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":195313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:53:23] local.INFO: TCP Data received {"connection_id":195313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:53:23] local.INFO: Processing buffer {"connection_id":195313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:53:23] local.INFO: Packet analysis {"connection_id":195313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:53:23] local.INFO: Extracted packet for processing {"connection_id":195313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327623936001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:23] 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-25 18:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790342582000,"timestamp_ms":1790342582000,"timestamp_seconds":1790342582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bbcef0"} 
[2026-09-25 18:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:53:23] 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-25 18:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 18:53: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-25 18:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327623936001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327623936001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327623936001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":195313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:23] local.INFO: GPS data processed {"connection_id":195313,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:23] local.INFO: Acknowledgment sent {"connection_id":195313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:25] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:25] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:25] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:53:30] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:30] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:53:30] local.INFO: IMEI packet received {"connection_id":192443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":192443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:53:31] local.INFO: TCP Data received {"connection_id":192442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:31] local.INFO: Processing buffer {"connection_id":192442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:53:31] local.INFO: Packet analysis {"connection_id":192442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:53:31] local.INFO: Extracted packet for processing {"connection_id":192442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":755485440,"raw_latitude":119925048,"longitude_deg":75.548544,"latitude_deg":11.9925048,"altitude":13,"angle":230,"satellites":38,"speed":3,"hex_longitude":"2d07cb00","hex_latitude":"0725e938","is_valid_coordinates":true} 
[2026-09-25 18:53: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-25 18:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342204000,"timestamp_ms":1790342204000,"timestamp_seconds":1790342204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b60a60"} 
[2026-09-25 18:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:53:31] 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-25 18:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":12841,"251":206,"83":44288,"24":3,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":12841,"unknown_251":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:53:31] 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":896826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:31] local.INFO: GPS data processed {"connection_id":192442,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:31] local.INFO: Acknowledgment sent {"connection_id":192442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:32] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:53:32] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:53:32] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:53:32] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:53:32] 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-25 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:53:32] 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":896827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:32] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:32] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:36] local.INFO: TCP Data received {"connection_id":193972,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bafc00012d7f3c4005d33988000200b731..."} 
[2026-09-25 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bafc00012d7f3c4005d33988000200b731..."} 
[2026-09-25 18:53:36] local.INFO: Processing buffer {"connection_id":193972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bafc00012d7f3c4005d33988000200b731..."} 
[2026-09-25 18:53:36] local.INFO: Packet analysis {"connection_id":193972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:53:36] local.INFO: Extracted packet for processing {"connection_id":193972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728904,"longitude_deg":76.3313216,"latitude_deg":9.7728904,"altitude":2,"angle":183,"satellites":49,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d33988","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991253140504576,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182237696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342528000,"timestamp_ms":1790342528000,"timestamp_seconds":1790342528,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bafc00"} 
[2026-09-25 18: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-25 18:53:36] 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-25 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 18:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":12461,"109":206,"85":15104,"24":0,"16":135991253140504576,"45":9168273335182237696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:53:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991253140504576,"km_value":135991253140504.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182237696,"description":"Unknown IO ID 45"} 
[2026-09-25 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":12461,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182237696}} 
[2026-09-25 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":193972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:53:36] local.INFO: GPS data processed {"connection_id":193972,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:53:36] local.INFO: Acknowledgment sent {"connection_id":193972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:53:54] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:54] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:54] local.INFO: IMEI packet received {"connection_id":192604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":192604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:53:59] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:59] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:53:59] local.INFO: IMEI packet received {"connection_id":192604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":192604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:53:59] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:59] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:53:59] local.INFO: IMEI packet received {"connection_id":193973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":193973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:00] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:54:00] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b60a60012d07cb000725e938000d00e626..."} 
[2026-09-25 18:54:00] local.INFO: Packet analysis {"connection_id":192604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:54:00] local.INFO: Extracted packet for processing {"connection_id":192604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b6"} 
[2026-09-25 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755485440,"raw_latitude":119925048,"longitude_deg":75.548544,"latitude_deg":11.9925048,"altitude":13,"angle":230,"satellites":38,"speed":3,"hex_longitude":"2d07cb00","hex_latitude":"0725e938","is_valid_coordinates":true} 
[2026-09-25 18:54: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-25 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342204000,"timestamp_ms":1790342204000,"timestamp_seconds":1790342204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b60a60"} 
[2026-09-25 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:00] 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-25 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":12841,"251":206,"83":44288,"24":3,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":12841,"unknown_251":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:54:00] local.INFO: TCP Data received {"connection_id":195313,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:54:00] local.INFO: Processing buffer {"connection_id":195313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bbcef0012d0b10c007029f10001d013d1c..."} 
[2026-09-25 18:54:00] local.INFO: Packet analysis {"connection_id":195313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:00] local.INFO: Extracted packet for processing {"connection_id":195313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327623936001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:00] 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-25 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342582000,"timestamp_ms":1790342582000,"timestamp_seconds":1790342582,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bbcef0"} 
[2026-09-25 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:54:00] 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-25 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:00] 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-25 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327623936001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327623936001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327623936001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:54:00] 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":896829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:00] local.INFO: GPS data processed {"connection_id":192604,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:00] local.INFO: Acknowledgment sent {"connection_id":192604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":195313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:00] local.INFO: GPS data processed {"connection_id":195313,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:00] local.INFO: Acknowledgment sent {"connection_id":195313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:03] local.INFO: TCP Data received {"connection_id":192444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:54:03] local.INFO: Processing buffer {"connection_id":192444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:54:03] local.INFO: IMEI packet received {"connection_id":192444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":192444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:04] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:04] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:04] local.INFO: IMEI packet received {"connection_id":193973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":193973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:54:04] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bb4e08012d7f3c8005d33958000300b72f..."} 
[2026-09-25 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bb4e08012d7f3c8005d33958000300b72f..."} 
[2026-09-25 18:54:04] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bb4e08012d7f3c8005d33958000300b72f..."} 
[2026-09-25 18:54:04] local.INFO: Packet analysis {"connection_id":193973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:04] local.INFO: Extracted packet for processing {"connection_id":193973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728856,"longitude_deg":76.331328,"latitude_deg":9.7728856,"altitude":3,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3c80","hex_latitude":"05d33958","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327687168001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991261730439168,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182264320,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342549000,"timestamp_ms":1790342549000,"timestamp_seconds":1790342549,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bb4e08"} 
[2026-09-25 18: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-25 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:04] 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-25 18: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-25 18: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-25 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327687168001,"66":11917,"109":206,"85":15104,"24":0,"16":135991261730439168,"45":9168273335182264320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327687168001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991261730439168,"km_value":135991261730439.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182264320,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327687168001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182264320}} 
[2026-09-25 18:54:04] 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":896831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:04] local.INFO: GPS data processed {"connection_id":193973,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:04] local.INFO: Acknowledgment sent {"connection_id":193973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:04] local.INFO: TCP Data received {"connection_id":192443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:04] local.INFO: Processing buffer {"connection_id":192443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:04] local.INFO: Packet analysis {"connection_id":192443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:54:04] local.INFO: Extracted packet for processing {"connection_id":192443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18: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-25 18:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18: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-25 18:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18: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-25 18:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:54:04] 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":896832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:04] local.INFO: GPS data processed {"connection_id":192443,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:04] local.INFO: Acknowledgment sent {"connection_id":192443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:17] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:17] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:17] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:24] local.INFO: TCP Data received {"connection_id":195314,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:24] local.INFO: Processing buffer {"connection_id":195314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:24] local.INFO: IMEI packet received {"connection_id":195314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":195314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:30] local.INFO: TCP Data received {"connection_id":195314,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:30] local.INFO: Processing buffer {"connection_id":195314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:54:30] local.INFO: IMEI packet received {"connection_id":195314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":195314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:54:31] local.INFO: TCP Data received {"connection_id":192604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:54:31] local.INFO: Processing buffer {"connection_id":192604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:54:31] local.INFO: Packet analysis {"connection_id":192604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:54:31] local.INFO: Extracted packet for processing {"connection_id":192604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:31] 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-25 18:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:54:31] 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":896833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:31] local.INFO: GPS data processed {"connection_id":192604,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:31] local.INFO: Acknowledgment sent {"connection_id":192604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:32] local.INFO: TCP Data received {"connection_id":195314,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:32] local.INFO: Processing buffer {"connection_id":195314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:54:32] local.INFO: Packet analysis {"connection_id":195314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:54:32] local.INFO: Extracted packet for processing {"connection_id":195314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:32] 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-25 18:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":195314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:32] local.INFO: GPS data processed {"connection_id":195314,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:32] local.INFO: Acknowledgment sent {"connection_id":195314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:33] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:33] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:54:33] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:54:34] local.INFO: TCP Data received {"connection_id":192445,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192445,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:54:34] local.INFO: Processing buffer {"connection_id":192445,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 18:54:34] local.INFO: IMEI packet received {"connection_id":192445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":192445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:54:35] local.INFO: TCP Data received {"connection_id":193973,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bba010012d7f3c0005d33990000400b72f..."} 
[2026-09-25 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bba010012d7f3c0005d33990000400b72f..."} 
[2026-09-25 18:54:35] local.INFO: Processing buffer {"connection_id":193973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bba010012d7f3c0005d33990000400b72f..."} 
[2026-09-25 18:54:35] local.INFO: Packet analysis {"connection_id":193973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:35] local.INFO: Extracted packet for processing {"connection_id":193973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763313152,"raw_latitude":97728912,"longitude_deg":76.3313152,"latitude_deg":9.7728912,"altitude":4,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3c00","hex_latitude":"05d33990","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327692544001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991270320373760,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926429696,"note":"Value kept but may cause issues"} 
[2026-09-25 18:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342570000,"timestamp_ms":1790342570000,"timestamp_seconds":1790342570,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bba010"} 
[2026-09-25 18: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-25 18:54:35] 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-25 18: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-25 18:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327692544001,"66":12178,"109":206,"85":15104,"24":0,"16":135991270320373760,"45":9168343703926429696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327692544001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:54:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991270320373760,"km_value":135991270320373.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926429696,"description":"Unknown IO ID 45"} 
[2026-09-25 18:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327692544001,"power":12178,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168343703926429696}} 
[2026-09-25 18:54:35] 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":896835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:54:35] local.INFO: GPS data processed {"connection_id":193973,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:54:35] local.INFO: Acknowledgment sent {"connection_id":193973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:54:54] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:54] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:54] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:58] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:58] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:58] local.INFO: IMEI packet received {"connection_id":193974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":193974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:54:59] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:59] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:54:59] local.INFO: IMEI packet received {"connection_id":193974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":193974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:54:59] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:59] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:54:59] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:55:00] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:00] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:00] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:55:00] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:55:00] 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-25 18:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:55:00] 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":896836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:00] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:00] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:04] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:04] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:04] local.INFO: IMEI packet received {"connection_id":193974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":193974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:55:04] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bbf218012d7f3c4005d33968000400b72f..."} 
[2026-09-25 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bbf218012d7f3c4005d33968000400b72f..."} 
[2026-09-25 18:55:04] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bbf218012d7f3c4005d33968000400b72f..."} 
[2026-09-25 18:55:04] local.INFO: Packet analysis {"connection_id":193974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:55:04] local.INFO: Extracted packet for processing {"connection_id":193974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bb"} 
[2026-09-25 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728872,"longitude_deg":76.3313216,"latitude_deg":9.7728872,"altitude":4,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d33968","is_valid_coordinates":true} 
[2026-09-25 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327697920001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991274615341056,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168202966438088704,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342591000,"timestamp_ms":1790342591000,"timestamp_seconds":1790342591,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bbf218"} 
[2026-09-25 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:55:04] 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-25 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-25 18:55:04] 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-25 18:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327697920001,"66":12537,"109":206,"85":15104,"24":0,"16":135991274615341056,"45":9168202966438088704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327697920001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991274615341056,"km_value":135991274615341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168202966438088704,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327697920001,"power":12537,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168202966438088704}} 
[2026-09-25 18:55:04] 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":896837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:04] local.INFO: GPS data processed {"connection_id":193974,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:04] local.INFO: Acknowledgment sent {"connection_id":193974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:05] local.INFO: TCP Data received {"connection_id":195314,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:05] local.INFO: Processing buffer {"connection_id":195314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:05] local.INFO: Packet analysis {"connection_id":195314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:55:05] local.INFO: Extracted packet for processing {"connection_id":195314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 18:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 18:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 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-25 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:55: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-25 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-25 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-25 18:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:55: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-25 18:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 18:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":195314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:05] local.INFO: GPS data processed {"connection_id":195314,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:05] local.INFO: Acknowledgment sent {"connection_id":195314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:24] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:24] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:24] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:55:30] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:30] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:55:30] local.INFO: IMEI packet received {"connection_id":192446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":192446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:55:31] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:31] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:55:31] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:55:31] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55: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-25 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18: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-25 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:55:31] 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-25 18: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-25 18: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-25 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:55:31] local.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-25 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:55: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-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:55:31] 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":896839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:31] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:31] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:31] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:31] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:55:31] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:55:31] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18: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-25 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:55:31] 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-25 18: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-25 18: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-25 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:55:31] 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":896840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:31] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:31] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:35] local.INFO: TCP Data received {"connection_id":193974,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bc4420012d7f3c4005d33968000600b730..."} 
[2026-09-25 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bc4420012d7f3c4005d33968000600b730..."} 
[2026-09-25 18:55:35] local.INFO: Processing buffer {"connection_id":193974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bc4420012d7f3c4005d33968000600b730..."} 
[2026-09-25 18:55:35] local.INFO: Packet analysis {"connection_id":193974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:55:35] local.INFO: Extracted packet for processing {"connection_id":193974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728872,"longitude_deg":76.3313216,"latitude_deg":9.7728872,"altitude":6,"angle":183,"satellites":48,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d33968","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327703296001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991274615341056,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182256128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790342612000,"timestamp_ms":1790342612000,"timestamp_seconds":1790342612,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bc4420"} 
[2026-09-25 18: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-25 18:55:35] 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-25 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 18:55:35] 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-25 18: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-25 18: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-25 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":193974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":193974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":193974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327703296001,"66":12613,"109":206,"85":15104,"24":0,"16":135991274615341056,"45":9168273335182256128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327703296001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:55:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991274615341056,"km_value":135991274615341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182256128,"description":"Unknown IO ID 45"} 
[2026-09-25 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327703296001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182256128}} 
[2026-09-25 18:55:35] 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":896841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:55:35] local.INFO: GPS data processed {"connection_id":193974,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:55:35] local.INFO: Acknowledgment sent {"connection_id":193974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:55:53] local.INFO: TCP Data received {"connection_id":195316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:54] local.INFO: Processing buffer {"connection_id":195316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:54] local.INFO: IMEI packet received {"connection_id":195316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":195316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:55:59] local.INFO: TCP Data received {"connection_id":193975,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:59] local.INFO: Processing buffer {"connection_id":193975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:55:59] local.INFO: IMEI packet received {"connection_id":193975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":193975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:55:59] local.INFO: TCP Data received {"connection_id":195316,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:59] local.INFO: Processing buffer {"connection_id":195316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:55:59] local.INFO: IMEI packet received {"connection_id":195316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":195316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:56:00] local.INFO: TCP Data received {"connection_id":195316,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:00] local.INFO: Processing buffer {"connection_id":195316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:00] local.INFO: Packet analysis {"connection_id":195316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:56:00] local.INFO: Extracted packet for processing {"connection_id":195316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:00] 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-25 18:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":195316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:00] local.INFO: GPS data processed {"connection_id":195316,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:00] local.INFO: Acknowledgment sent {"connection_id":195316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:01] local.INFO: TCP Data received {"connection_id":193975,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:01] local.INFO: Processing buffer {"connection_id":193975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:01] local.INFO: IMEI packet received {"connection_id":193975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":193975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:56:02] local.INFO: TCP Data received {"connection_id":192446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:56:02] local.INFO: Processing buffer {"connection_id":192446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8b9c380012d34c14006aa49080001006e2f..."} 
[2026-09-25 18:56:02] local.INFO: Packet analysis {"connection_id":192446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:56:02] local.INFO: Extracted packet for processing {"connection_id":192446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8b9"} 
[2026-09-25 18:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327589632001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56: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-25 18:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790342448000,"timestamp_ms":1790342448000,"timestamp_seconds":1790342448,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8b9c380"} 
[2026-09-25 18:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:02] 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-25 18:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:56:02] local.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-25 18:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327589632001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327589632001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:56: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-25 18:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327589632001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:56:02] 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":896843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:02] local.INFO: GPS data processed {"connection_id":192446,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:02] local.INFO: Acknowledgment sent {"connection_id":192446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:04] local.INFO: TCP Data received {"connection_id":193975,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:04] local.INFO: Processing buffer {"connection_id":193975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:04] local.INFO: IMEI packet received {"connection_id":193975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":193975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:56:04] local.INFO: TCP Data received {"connection_id":193975,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bc9628012d7f3c4005d339c8000600b72f..."} 
[2026-09-25 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bc9628012d7f3c4005d339c8000600b72f..."} 
[2026-09-25 18:56:04] local.INFO: Processing buffer {"connection_id":193975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bc9628012d7f3c4005d339c8000600b72f..."} 
[2026-09-25 18:56:04] local.INFO: Packet analysis {"connection_id":193975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:56:04] local.INFO: Extracted packet for processing {"connection_id":193975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728968,"longitude_deg":76.3313216,"latitude_deg":9.7728968,"altitude":6,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d339c8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327708672001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991296090177536,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182256128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342633000,"timestamp_ms":1790342633000,"timestamp_seconds":1790342633,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bc9628"} 
[2026-09-25 18: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-25 18:56:04] 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-25 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18: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-25 18: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-25 18:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":193975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":193975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":193975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327708672001,"66":12341,"109":206,"85":15104,"24":0,"16":135991296090177536,"45":9168273335182256128},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327708672001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991296090177536,"km_value":135991296090177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182256128,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327708672001,"power":12341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182256128}} 
[2026-09-25 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":193975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:05] local.INFO: GPS data processed {"connection_id":193975,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:05] local.INFO: Acknowledgment sent {"connection_id":193975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:25] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:25] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:25] local.INFO: IMEI packet received {"connection_id":192609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":192609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:56:28] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:28] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:28] local.INFO: IMEI packet received {"connection_id":192609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":192609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:56:29] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:29] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:56:29] local.INFO: IMEI packet received {"connection_id":192609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:56:31] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:56:31] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:56:31] local.INFO: Packet analysis {"connection_id":192609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:56:31] local.INFO: Extracted packet for processing {"connection_id":192609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56: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-25 18:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:56: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-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":192609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:31] local.INFO: GPS data processed {"connection_id":192609,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:31] local.INFO: Acknowledgment sent {"connection_id":192609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:31] local.INFO: TCP Data received {"connection_id":195316,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:31] local.INFO: Processing buffer {"connection_id":195316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:56:31] local.INFO: Packet analysis {"connection_id":195316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:56:31] local.INFO: Extracted packet for processing {"connection_id":195316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:31] 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-25 18:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":195316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:31] local.INFO: GPS data processed {"connection_id":195316,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:31] local.INFO: Acknowledgment sent {"connection_id":195316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:36] local.INFO: TCP Data received {"connection_id":193975,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bce830012d7f3c4005d339a8000600b72e..."} 
[2026-09-25 18:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bce830012d7f3c4005d339a8000600b72e..."} 
[2026-09-25 18:56:36] local.INFO: Processing buffer {"connection_id":193975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bce830012d7f3c4005d339a8000600b72e..."} 
[2026-09-25 18:56:36] local.INFO: Packet analysis {"connection_id":193975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:56:36] local.INFO: Extracted packet for processing {"connection_id":193975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bc"} 
[2026-09-25 18:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728936,"longitude_deg":76.3313216,"latitude_deg":9.7728936,"altitude":6,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d339a8","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327714048001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991304680112128,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182280704,"note":"Value kept but may cause issues"} 
[2026-09-25 18:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342654000,"timestamp_ms":1790342654000,"timestamp_seconds":1790342654,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bce830"} 
[2026-09-25 18: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-25 18:56:36] 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-25 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 18:56:36] 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-25 18: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-25 18: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-25 18:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327714048001,"66":12004,"109":206,"85":15104,"24":0,"16":135991304680112128,"45":9168273335182280704},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327714048001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:56:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991304680112128,"km_value":135991304680112.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182280704,"description":"Unknown IO ID 45"} 
[2026-09-25 18:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327714048001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182280704}} 
[2026-09-25 18:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":193975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:56:36] local.INFO: GPS data processed {"connection_id":193975,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:56:36] local.INFO: Acknowledgment sent {"connection_id":193975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:56:59] local.INFO: TCP Data received {"connection_id":195318,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:59] local.INFO: Processing buffer {"connection_id":195318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:56:59] local.INFO: IMEI packet received {"connection_id":195318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":195318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:56:59] local.INFO: TCP Data received {"connection_id":195317,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:56:59] local.INFO: Processing buffer {"connection_id":195317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:56:59] local.INFO: IMEI packet received {"connection_id":195317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":195317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:57:03] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:03] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:03] local.INFO: Packet analysis {"connection_id":192609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:57:03] local.INFO: Extracted packet for processing {"connection_id":192609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57: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-25 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:57: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-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":192609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:03] local.INFO: GPS data processed {"connection_id":192609,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:03] local.INFO: Acknowledgment sent {"connection_id":192609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:04] local.INFO: TCP Data received {"connection_id":195318,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:57:04] local.INFO: Processing buffer {"connection_id":195318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 18:57:04] local.INFO: IMEI packet received {"connection_id":195318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":195318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:57:04] local.INFO: TCP Data received {"connection_id":195317,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:04] local.INFO: Processing buffer {"connection_id":195317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:04] local.INFO: IMEI packet received {"connection_id":195317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":195317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:57:04] local.INFO: TCP Data received {"connection_id":195318,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bd3a38012d7f3c8005d33970000500b72e..."} 
[2026-09-25 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bd3a38012d7f3c8005d33970000500b72e..."} 
[2026-09-25 18:57:04] local.INFO: Processing buffer {"connection_id":195318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bd3a38012d7f3c8005d33970000500b72e..."} 
[2026-09-25 18:57:04] local.INFO: Packet analysis {"connection_id":195318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bd"} 
[2026-09-25 18:57:04] local.INFO: Extracted packet for processing {"connection_id":195318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bd"} 
[2026-09-25 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728880,"longitude_deg":76.331328,"latitude_deg":9.772888,"altitude":5,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2d7f3c80","hex_latitude":"05d33970","is_valid_coordinates":true} 
[2026-09-25 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327719424001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991308975079424,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182272512,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790342675000,"timestamp_ms":1790342675000,"timestamp_seconds":1790342675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bd3a38"} 
[2026-09-25 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:57:04] 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-25 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:04] 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-25 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327719424001,"66":12341,"109":206,"85":15104,"24":0,"16":135991308975079424,"45":9168273335182272512},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327719424001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991308975079424,"km_value":135991308975079.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182272512,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327719424001,"power":12341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182272512}} 
[2026-09-25 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":195318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:04] local.INFO: GPS data processed {"connection_id":195318,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:04] local.INFO: Acknowledgment sent {"connection_id":195318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:05] local.INFO: TCP Data received {"connection_id":195317,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:05] local.INFO: Processing buffer {"connection_id":195317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:05] local.INFO: Packet analysis {"connection_id":195317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:57:05] local.INFO: Extracted packet for processing {"connection_id":195317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 18:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 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-25 18:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 18:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:57:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":195317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:05] local.INFO: GPS data processed {"connection_id":195317,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:05] local.INFO: Acknowledgment sent {"connection_id":195317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:09] local.INFO: TCP Data received {"connection_id":195317,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:09] local.INFO: Processing buffer {"connection_id":195317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8baa9f8012d07ca000725e800000e00e12b..."} 
[2026-09-25 18:57:09] local.INFO: Packet analysis {"connection_id":195317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:57:09] local.INFO: Extracted packet for processing {"connection_id":195317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ba"} 
[2026-09-25 18:57:09] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327604224001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561542609238571008,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790342507000,"timestamp_ms":1790342507000,"timestamp_seconds":1790342507,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8baa9f8"} 
[2026-09-25 18: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-25 18:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:09] 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-25 18: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-25 18: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-25 18:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327604224001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561542609238571008},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327604224001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":561542609238571008,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327604224001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561542609238571008}} 
[2026-09-25 18:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":195317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:09] local.INFO: GPS data processed {"connection_id":195317,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:09] local.INFO: Acknowledgment sent {"connection_id":195317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:25] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:25] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:25] local.INFO: IMEI packet received {"connection_id":193976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":193976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:57:30] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:30] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:57:30] local.INFO: IMEI packet received {"connection_id":193976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":193976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:57:31] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:31] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:57:31] local.INFO: Packet analysis {"connection_id":193976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:57:31] local.INFO: Extracted packet for processing {"connection_id":193976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57: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-25 18:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:57: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-25 18:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:57:31] 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":896852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:31] local.INFO: GPS data processed {"connection_id":193976,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:31] local.INFO: Acknowledgment sent {"connection_id":193976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:36] local.INFO: TCP Data received {"connection_id":195318,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bd8c40012d7f3c8005d339a8000500b72e..."} 
[2026-09-25 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bd8c40012d7f3c8005d339a8000500b72e..."} 
[2026-09-25 18:57:36] local.INFO: Processing buffer {"connection_id":195318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bd8c40012d7f3c8005d339a8000500b72e..."} 
[2026-09-25 18:57:36] local.INFO: Packet analysis {"connection_id":195318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bd"} 
[2026-09-25 18:57:36] local.INFO: Extracted packet for processing {"connection_id":195318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bd"} 
[2026-09-25 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728936,"longitude_deg":76.331328,"latitude_deg":9.7728936,"altitude":5,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2d7f3c80","hex_latitude":"05d339a8","is_valid_coordinates":true} 
[2026-09-25 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327724800001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991317565014016,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926435840,"note":"Value kept but may cause issues"} 
[2026-09-25 18:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790342696000,"timestamp_ms":1790342696000,"timestamp_seconds":1790342696,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bd8c40"} 
[2026-09-25 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:57:36] 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-25 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 18:57:36] 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-25 18:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327724800001,"66":12156,"109":206,"85":15104,"24":0,"16":135991317565014016,"45":9168343703926435840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327724800001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:57:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 18:57:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991317565014016,"km_value":135991317565014.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926435840,"description":"Unknown IO ID 45"} 
[2026-09-25 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327724800001,"power":12156,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168343703926435840}} 
[2026-09-25 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":195318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:57:36] local.INFO: GPS data processed {"connection_id":195318,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:57:36] local.INFO: Acknowledgment sent {"connection_id":195318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:57:54] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:54] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:54] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:57:59] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:59] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:57:59] local.INFO: IMEI packet received {"connection_id":192447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":192447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:58:00] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:00] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:00] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:58:00] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 18: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-25 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:58: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-25 18: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-25 18: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-25 18:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:58:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 18:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 18:58:00] 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":896854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:58:00] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:58:00] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:58:03] local.INFO: TCP Data received {"connection_id":193976,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:03] local.INFO: Processing buffer {"connection_id":193976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:03] local.INFO: Packet analysis {"connection_id":193976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:58:03] local.INFO: Extracted packet for processing {"connection_id":193976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58: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-25 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:58: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-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:58:03] 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":896855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:58:03] local.INFO: GPS data processed {"connection_id":193976,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:58:03] local.INFO: Acknowledgment sent {"connection_id":193976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:58:24] local.INFO: TCP Data received {"connection_id":193977,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:24] local.INFO: Processing buffer {"connection_id":193977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:24] local.INFO: IMEI packet received {"connection_id":193977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":193977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:58:30] local.INFO: TCP Data received {"connection_id":193977,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:30] local.INFO: Processing buffer {"connection_id":193977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:58:30] local.INFO: IMEI packet received {"connection_id":193977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":193977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:58:31] local.INFO: TCP Data received {"connection_id":193977,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:31] local.INFO: Processing buffer {"connection_id":193977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:58:31] local.INFO: Packet analysis {"connection_id":193977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:58:31] local.INFO: Extracted packet for processing {"connection_id":193977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18: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-25 18:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58: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-25 18:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18: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-25 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18: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-25 18: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-25 18:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:58:31] 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-25 18:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:58:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:58: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-25 18:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":193977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:58:31] local.INFO: GPS data processed {"connection_id":193977,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:58:31] local.INFO: Acknowledgment sent {"connection_id":193977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:58:32] local.INFO: TCP Data received {"connection_id":192447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:32] local.INFO: Processing buffer {"connection_id":192447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:58:32] local.INFO: Packet analysis {"connection_id":192447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:58:32] local.INFO: Extracted packet for processing {"connection_id":192447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 18:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 18:58:32] 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":896857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:58:32] local.INFO: GPS data processed {"connection_id":192447,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:58:32] local.INFO: Acknowledgment sent {"connection_id":192447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:58:54] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:54] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:54] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:58:59] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:59] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:58:59] local.INFO: IMEI packet received {"connection_id":192449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":192449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:59:00] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:00] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:00] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:59:00] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 18:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:59: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-25 18: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-25 18: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-25 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:59:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 18:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 18:59:00] 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":896858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:59:00] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:59:00] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:59:03] local.INFO: TCP Data received {"connection_id":193977,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:03] local.INFO: Processing buffer {"connection_id":193977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:03] local.INFO: Packet analysis {"connection_id":193977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:59:03] local.INFO: Extracted packet for processing {"connection_id":193977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 18:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:59:03] 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-25 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:59: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-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":193977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:59:03] local.INFO: GPS data processed {"connection_id":193977,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:59:03] local.INFO: Acknowledgment sent {"connection_id":193977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:59:24] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:24] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:24] local.INFO: IMEI packet received {"connection_id":192612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 18:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":192612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:59:29] local.INFO: TCP Data received {"connection_id":193978,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:59:29] local.INFO: Processing buffer {"connection_id":193978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 18:59:29] local.INFO: IMEI packet received {"connection_id":193978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 18:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":193978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:59:30] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:30] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 18:59:30] local.INFO: IMEI packet received {"connection_id":192612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 18:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":192612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 18:59:31] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:31] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 18:59:31] local.INFO: Packet analysis {"connection_id":192612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:59:31] local.INFO: Extracted packet for processing {"connection_id":192612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59: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-25 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 18:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 18:59: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-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 18:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":192612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:59:31] local.INFO: GPS data processed {"connection_id":192612,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:59:31] local.INFO: Acknowledgment sent {"connection_id":192612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:59:31] local.INFO: TCP Data received {"connection_id":192449,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:31] local.INFO: Processing buffer {"connection_id":192449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 18:59:31] local.INFO: Packet analysis {"connection_id":192449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:59:31] local.INFO: Extracted packet for processing {"connection_id":192449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 18:59: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-25 18:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 18:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 18:59:31] 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":896861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:59:31] local.INFO: GPS data processed {"connection_id":192449,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:59:31] local.INFO: Acknowledgment sent {"connection_id":192449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:59:37] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:59:37] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 18:59:37] local.INFO: IMEI packet received {"connection_id":192611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 18:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":192611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:59:39] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 18:59:39] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 18:59:39] local.INFO: Packet analysis {"connection_id":192611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 18:59:39] local.INFO: Extracted packet for processing {"connection_id":192611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 18:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 18:59:39] 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-25 18:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 18:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 18:59:39] 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-25 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 18:59:39] 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-25 18:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 18:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 18:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 18:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 18:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 18:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 18:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 18:59:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 18:59:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 18:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 18:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 18:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 18:59:39] 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":896862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 18:59:39] local.INFO: GPS data processed {"connection_id":192611,"processed":1,"errors":0,"total":1} 
[2026-09-25 18:59:39] local.INFO: Acknowledgment sent {"connection_id":192611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 18:59:54] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:54] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:54] local.INFO: IMEI packet received {"connection_id":192450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 18:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":192450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 18:59:59] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:59] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 18:59:59] local.INFO: IMEI packet received {"connection_id":192450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 18:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":192450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:00:00] local.INFO: TCP Data received {"connection_id":192450,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:00:00] local.INFO: Processing buffer {"connection_id":192450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:00:00] local.INFO: Packet analysis {"connection_id":192450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:00:00] local.INFO: Extracted packet for processing {"connection_id":192450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 19:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:00: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-25 19:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:00:00] 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":896863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:00:00] local.INFO: GPS data processed {"connection_id":192450,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:00:00] local.INFO: Acknowledgment sent {"connection_id":192450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:00:02] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:02] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:02] local.INFO: Packet analysis {"connection_id":192612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:00:02] local.INFO: Extracted packet for processing {"connection_id":192612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00: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-25 19:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 19:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:00: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-25 19:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":192612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:00:02] local.INFO: GPS data processed {"connection_id":192612,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:00:02] local.INFO: Acknowledgment sent {"connection_id":192612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:00:09] local.INFO: TCP Data received {"connection_id":192451,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:00:09] local.INFO: Processing buffer {"connection_id":192451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:00:09] local.INFO: IMEI packet received {"connection_id":192451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":192451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:00:17] local.INFO: TCP Data received {"connection_id":195321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:17] local.INFO: Processing buffer {"connection_id":195321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:17] local.INFO: IMEI packet received {"connection_id":195321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":195321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:00:23] local.INFO: TCP Data received {"connection_id":195321,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:23] local.INFO: Processing buffer {"connection_id":195321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:00:23] local.INFO: IMEI packet received {"connection_id":195321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":195321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:00:24] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:24] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:24] local.INFO: IMEI packet received {"connection_id":193979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":193979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:00:26] local.INFO: TCP Data received {"connection_id":195321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:26] local.INFO: Processing buffer {"connection_id":195321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:26] local.INFO: Packet analysis {"connection_id":195321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:00:26] local.INFO: Extracted packet for processing {"connection_id":195321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:00:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:00: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-25 19:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:26] 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-25 19:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 19:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:00: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-25 19:00: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:00:26] 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-25 19:00: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-25 19:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:00:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":195321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:00:26] local.INFO: GPS data processed {"connection_id":195321,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:00:26] local.INFO: Acknowledgment sent {"connection_id":195321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:00:30] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:30] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:00:30] local.INFO: IMEI packet received {"connection_id":193979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":193979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:00:31] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:31] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:00:31] local.INFO: Packet analysis {"connection_id":193979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:00:31] local.INFO: Extracted packet for processing {"connection_id":193979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00: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-25 19:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 19: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-25 19:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:00: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-25 19:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:00:31] 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":896866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:00:31] local.INFO: GPS data processed {"connection_id":193979,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:00:31] local.INFO: Acknowledgment sent {"connection_id":193979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:00:51] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:51] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:51] local.INFO: IMEI packet received {"connection_id":192452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":192452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:00:53] local.INFO: TCP Data received {"connection_id":195322,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:53] local.INFO: Processing buffer {"connection_id":195322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:53] local.INFO: IMEI packet received {"connection_id":195322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":195322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:00:55] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:55] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:00:55] local.INFO: IMEI packet received {"connection_id":192452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":192452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:00:56] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c302b0012d7f3cc005d33908000000a529..."} 
[2026-09-25 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c302b0012d7f3cc005d33908000000a529..."} 
[2026-09-25 19:00:56] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c302b0012d7f3cc005d33908000000a529..."} 
[2026-09-25 19:00:56] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:00:56] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728776,"longitude_deg":76.3313344,"latitude_deg":9.7728776,"altitude":0,"angle":165,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33908","is_valid_coordinates":true} 
[2026-09-25 19:00: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-25 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327815424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991403464359936,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168554810158893056,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790343054000,"timestamp_ms":1790343054000,"timestamp_seconds":1790343054,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c302b0"} 
[2026-09-25 19:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:00: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":237,"data_length":795,"current_offset":136} 
[2026-09-25 19:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:00: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-25 19:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327815424001,"66":13450,"109":206,"85":15104,"24":0,"16":135991403464359936,"45":9168554810158893056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327815424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991403464359936,"km_value":135991403464359.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168554810158893056,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327815424001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168554810158893056}} 
[2026-09-25 19:00:56] 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":896867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:00:56] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:00:56] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:00:59] local.INFO: TCP Data received {"connection_id":195322,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:59] local.INFO: Processing buffer {"connection_id":195322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:00:59] local.INFO: IMEI packet received {"connection_id":195322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":195322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:00:59] local.INFO: TCP Data received {"connection_id":195321,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:59] local.INFO: Processing buffer {"connection_id":195321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:00:59] local.INFO: Packet analysis {"connection_id":195321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:00:59] local.INFO: Extracted packet for processing {"connection_id":195321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:00:59] 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-25 19:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 19:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:00:59] 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-25 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:00:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:00:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":195321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:00] local.INFO: GPS data processed {"connection_id":195321,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:00] local.INFO: Acknowledgment sent {"connection_id":195321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:00] local.INFO: TCP Data received {"connection_id":195322,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:00] local.INFO: Processing buffer {"connection_id":195322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:00] local.INFO: Packet analysis {"connection_id":195322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:01:00] local.INFO: Extracted packet for processing {"connection_id":195322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 19: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-25 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:01: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-25 19: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-25 19: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-25 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":195322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:00] local.INFO: GPS data processed {"connection_id":195322,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:00] local.INFO: Acknowledgment sent {"connection_id":195322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:02] local.INFO: TCP Data received {"connection_id":193979,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:01:02] local.INFO: Processing buffer {"connection_id":193979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8be5b48012d34c14006aa49080006006e2e..."} 
[2026-09-25 19:01:02] local.INFO: Packet analysis {"connection_id":193979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:01:02] local.INFO: Extracted packet for processing {"connection_id":193979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8be"} 
[2026-09-25 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327666688001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01: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-25 19:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790342749000,"timestamp_ms":1790342749000,"timestamp_seconds":1790342749,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8be5b48"} 
[2026-09-25 19: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-25 19:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327666688001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327666688001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:01: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-25 19:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327666688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:01:03] 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":896870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:03] local.INFO: GPS data processed {"connection_id":193979,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:03] local.INFO: Acknowledgment sent {"connection_id":193979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:17] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:17] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:17] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:01:22] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:22] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:01:22] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:01:27] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c354b8012d7f3cc005d33860000000a529..."} 
[2026-09-25 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c354b8012d7f3cc005d33860000000a529..."} 
[2026-09-25 19:01:27] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c354b8012d7f3cc005d33860000000a529..."} 
[2026-09-25 19:01:27] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:01:27] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728608,"longitude_deg":76.3313344,"latitude_deg":9.7728608,"altitude":0,"angle":165,"satellites":41,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33860","is_valid_coordinates":true} 
[2026-09-25 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-25 19:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327821824001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991412054294528,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670586880,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790343075000,"timestamp_ms":1790343075000,"timestamp_seconds":1790343075,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c354b8"} 
[2026-09-25 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-25 19:01:27] 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-25 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:27] 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-25 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-25 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-25 19:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327821824001,"66":13689,"109":206,"85":15104,"24":0,"16":135991412054294528,"45":9168414072670586880},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327821824001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991412054294528,"km_value":135991412054294.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670586880,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327821824001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670586880}} 
[2026-09-25 19:01:27] 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":896871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:27] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:27] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:29] local.INFO: TCP Data received {"connection_id":195323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: Processing buffer {"connection_id":195323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: IMEI packet received {"connection_id":195323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":195323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:01:29] local.INFO: TCP Data received {"connection_id":195323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: Processing buffer {"connection_id":195323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:29] local.INFO: IMEI packet received {"connection_id":195323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":195323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:01:31] local.INFO: TCP Data received {"connection_id":195322,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:31] local.INFO: Processing buffer {"connection_id":195322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:01:31] local.INFO: Packet analysis {"connection_id":195322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:01:31] local.INFO: Extracted packet for processing {"connection_id":195322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 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-25 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:01: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-25 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-25 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-25 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":195322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:31] local.INFO: GPS data processed {"connection_id":195322,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:31] local.INFO: Acknowledgment sent {"connection_id":195322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:32] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:01:32] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:01:32] local.INFO: Packet analysis {"connection_id":192613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:01:32] local.INFO: Extracted packet for processing {"connection_id":192613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:32] 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-25 19:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 19:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:01:32] 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-25 19:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:01:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:01:32] 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":896873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:32] local.INFO: GPS data processed {"connection_id":192613,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:32] local.INFO: Acknowledgment sent {"connection_id":192613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:35] local.INFO: TCP Data received {"connection_id":195323,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:35] local.INFO: Processing buffer {"connection_id":195323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:01:35] local.INFO: IMEI packet received {"connection_id":195323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":195323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:01:36] local.INFO: TCP Data received {"connection_id":195323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:36] local.INFO: Processing buffer {"connection_id":195323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:36] local.INFO: Packet analysis {"connection_id":195323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:01:36] local.INFO: Extracted packet for processing {"connection_id":195323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":195323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:36] local.INFO: GPS data processed {"connection_id":195323,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:36] local.INFO: Acknowledgment sent {"connection_id":195323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:40] local.INFO: TCP Data received {"connection_id":195323,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:40] local.INFO: Processing buffer {"connection_id":195323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:01:40] local.INFO: Packet analysis {"connection_id":195323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:01:40] local.INFO: Extracted packet for processing {"connection_id":195323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19: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-25 19:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:01: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-25 19:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":195323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:40] local.INFO: GPS data processed {"connection_id":195323,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:40] local.INFO: Acknowledgment sent {"connection_id":195323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:58] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3a6c0012d7f3cc005d33810000000a52b..."} 
[2026-09-25 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3a6c0012d7f3cc005d33810000000a52b..."} 
[2026-09-25 19:01:58] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3a6c0012d7f3cc005d33810000000a52b..."} 
[2026-09-25 19:01:58] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:01:58] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728528,"longitude_deg":76.3313344,"latitude_deg":9.7728528,"altitude":0,"angle":165,"satellites":43,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33810","is_valid_coordinates":true} 
[2026-09-25 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327827200001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991416349261824,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670543872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790343096000,"timestamp_ms":1790343096000,"timestamp_seconds":1790343096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3a6c0"} 
[2026-09-25 19:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-25 19:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327827200001,"66":13689,"109":206,"85":15104,"24":0,"16":135991416349261824,"45":9168414072670543872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327827200001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:01:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991416349261824,"km_value":135991416349261.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670543872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327827200001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670543872}} 
[2026-09-25 19:01:58] 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":896876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:01:58] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:01:58] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:01:59] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:01:59] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:01:59] local.INFO: IMEI packet received {"connection_id":192453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":192453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:02:04] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:04] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:04] local.INFO: IMEI packet received {"connection_id":192453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":192453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:02:05] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:05] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:05] local.INFO: Packet analysis {"connection_id":192453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:02:05] local.INFO: Extracted packet for processing {"connection_id":192453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 19:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 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-25 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 19:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:02:05] 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":896877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:05] local.INFO: GPS data processed {"connection_id":192453,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:05] local.INFO: Acknowledgment sent {"connection_id":192453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:02:09] local.INFO: TCP Data received {"connection_id":192453,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:09] local.INFO: Processing buffer {"connection_id":192453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8bf41c0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:02:09] local.INFO: Packet analysis {"connection_id":192453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:02:09] local.INFO: Extracted packet for processing {"connection_id":192453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8bf"} 
[2026-09-25 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327681792001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790342808000,"timestamp_ms":1790342808000,"timestamp_seconds":1790342808,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8bf41c0"} 
[2026-09-25 19: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-25 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327681792001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327681792001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327681792001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:02:09] 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":896878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:09] local.INFO: GPS data processed {"connection_id":192453,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:09] local.INFO: Acknowledgment sent {"connection_id":192453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:02:17] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:17] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:17] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:02:22] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:22] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:02:22] local.INFO: IMEI packet received {"connection_id":192454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":192454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:02:24] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:24] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:24] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:02:24] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:02:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:24] 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-25 19:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 19:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:02:24] 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-25 19:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:24] 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-25 19:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:02:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:02:24] 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":896879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:24] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:24] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:02:24] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:24] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:24] local.INFO: IMEI packet received {"connection_id":192614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":192614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:02:29] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3f8c8012d7f3cc005d33850000000a52c..."} 
[2026-09-25 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3f8c8012d7f3cc005d33850000000a52c..."} 
[2026-09-25 19:02:29] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3f8c8012d7f3cc005d33850000000a52c..."} 
[2026-09-25 19:02:29] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:02:29] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728592,"longitude_deg":76.3313344,"latitude_deg":9.7728592,"altitude":0,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33850","is_valid_coordinates":true} 
[2026-09-25 19:02: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-25 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327832576001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991442119065600,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670523392,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790343117000,"timestamp_ms":1790343117000,"timestamp_seconds":1790343117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3f8c8"} 
[2026-09-25 19:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:02: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-25 19:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327832576001,"66":13624,"109":206,"85":15104,"24":0,"16":135991442119065600,"45":9168414072670523392},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327832576001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991442119065600,"km_value":135991442119065.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670523392,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327832576001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670523392}} 
[2026-09-25 19:02:29] 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":896880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:29] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:29] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:02:30] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:30] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:02:30] local.INFO: IMEI packet received {"connection_id":192614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":192614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:02:31] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:02:31] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:02:31] local.INFO: Packet analysis {"connection_id":192614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:02:31] local.INFO: Extracted packet for processing {"connection_id":192614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02: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-25 19:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:02:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:02: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-25 19:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:02:31] 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":896881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:31] local.INFO: GPS data processed {"connection_id":192614,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:31] local.INFO: Acknowledgment sent {"connection_id":192614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:02:54] local.INFO: TCP Data received {"connection_id":193982,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:54] local.INFO: Processing buffer {"connection_id":193982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:54] local.INFO: IMEI packet received {"connection_id":193982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":193982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:02:59] local.INFO: TCP Data received {"connection_id":193982,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:59] local.INFO: Processing buffer {"connection_id":193982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:02:59] local.INFO: IMEI packet received {"connection_id":193982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":193982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:02:59] local.INFO: TCP Data received {"connection_id":192454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:59] local.INFO: Processing buffer {"connection_id":192454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c066b8012d0b10c007029f10001d013d19..."} 
[2026-09-25 19:02:59] local.INFO: Packet analysis {"connection_id":192454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:02:59] local.INFO: Extracted packet for processing {"connection_id":192454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c0"} 
[2026-09-25 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":29,"angle":317,"satellites":25,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327700992001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:02:59] 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-25 19:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790342883000,"timestamp_ms":1790342883000,"timestamp_seconds":1790342883,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c066b8"} 
[2026-09-25 19:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:02:59] 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-25 19:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327700992001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327700992001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:02:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:02:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327700992001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:02:59] 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":896882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:02:59] local.INFO: GPS data processed {"connection_id":192454,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:02:59] local.INFO: Acknowledgment sent {"connection_id":192454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:00] local.INFO: TCP Data received {"connection_id":193982,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:00] local.INFO: Processing buffer {"connection_id":193982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:00] local.INFO: Packet analysis {"connection_id":193982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:03:00] local.INFO: Extracted packet for processing {"connection_id":193982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:00] 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-25 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:03: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-25 19:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":193982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:00] local.INFO: GPS data processed {"connection_id":193982,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:00] local.INFO: Acknowledgment sent {"connection_id":193982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:00] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c44ad0012d7f3cc005d33878000000a52d..."} 
[2026-09-25 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c44ad0012d7f3cc005d33878000000a52d..."} 
[2026-09-25 19:03:00] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c44ad0012d7f3cc005d33878000000a52d..."} 
[2026-09-25 19:03:00] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:00] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728632,"longitude_deg":76.3313344,"latitude_deg":9.7728632,"altitude":0,"angle":165,"satellites":45,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33878","is_valid_coordinates":true} 
[2026-09-25 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327837952001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991446414032896,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670539776,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343138000,"timestamp_ms":1790343138000,"timestamp_seconds":1790343138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c44ad0"} 
[2026-09-25 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 19:03:00] 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-25 19:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327837952001,"66":13689,"109":206,"85":15104,"24":0,"16":135991446414032896,"45":9168414072670539776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327837952001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991446414032896,"km_value":135991446414032.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670539776,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327837952001,"power":13689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670539776}} 
[2026-09-25 19:03:00] 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":896884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:00] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:00] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:04] local.INFO: TCP Data received {"connection_id":192614,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:04] local.INFO: Processing buffer {"connection_id":192614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:04] local.INFO: Packet analysis {"connection_id":192614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:03:04] local.INFO: Extracted packet for processing {"connection_id":192614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 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-25 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:03: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-25 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-25 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-25 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:03: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-25 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:03:04] 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":896885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:04] local.INFO: GPS data processed {"connection_id":192614,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:04] local.INFO: Acknowledgment sent {"connection_id":192614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:17] local.INFO: TCP Data received {"connection_id":195324,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:17] local.INFO: Processing buffer {"connection_id":195324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:17] local.INFO: IMEI packet received {"connection_id":195324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":195324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:03:23] local.INFO: TCP Data received {"connection_id":195324,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:23] local.INFO: Processing buffer {"connection_id":195324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:03:23] local.INFO: IMEI packet received {"connection_id":195324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":195324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:03:24] local.INFO: TCP Data received {"connection_id":195324,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:24] local.INFO: Processing buffer {"connection_id":195324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:24] local.INFO: Packet analysis {"connection_id":195324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:24] local.INFO: Extracted packet for processing {"connection_id":195324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:24] 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-25 19:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:24] 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-25 19:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:03:24] 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-25 19:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:03:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":195324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:24] local.INFO: GPS data processed {"connection_id":195324,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:24] local.INFO: Acknowledgment sent {"connection_id":195324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:24] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:24] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:24] local.INFO: IMEI packet received {"connection_id":193983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":193983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:03:30] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:30] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:03:30] local.INFO: IMEI packet received {"connection_id":193983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":193983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:03:31] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:31] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:03:31] local.INFO: Packet analysis {"connection_id":193983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:03:31] local.INFO: Extracted packet for processing {"connection_id":193983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03: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-25 19:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:03: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-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:03:31] 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":896887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:31] local.INFO: GPS data processed {"connection_id":193983,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:31] local.INFO: Acknowledgment sent {"connection_id":193983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:31] local.INFO: TCP Data received {"connection_id":193982,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:31] local.INFO: Processing buffer {"connection_id":193982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:03:31] local.INFO: Packet analysis {"connection_id":193982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:03:31] local.INFO: Extracted packet for processing {"connection_id":193982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:03:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:31] 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-25 19:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:03: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-25 19:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":193982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:31] local.INFO: GPS data processed {"connection_id":193982,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:31] local.INFO: Acknowledgment sent {"connection_id":193982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:33] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c49cd8012d7f3cc005d33870000000a52f..."} 
[2026-09-25 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c49cd8012d7f3cc005d33870000000a52f..."} 
[2026-09-25 19:03:33] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c49cd8012d7f3cc005d33870000000a52f..."} 
[2026-09-25 19:03:33] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:33] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":97728624,"longitude_deg":76.3313344,"latitude_deg":9.7728624,"altitude":0,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d7f3cc0","hex_latitude":"05d33870","is_valid_coordinates":true} 
[2026-09-25 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-25 19:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327843328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991455003967488,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670550016,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790343159000,"timestamp_ms":1790343159000,"timestamp_seconds":1790343159,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c49cd8"} 
[2026-09-25 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-25 19:03:33] 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-25 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-25 19:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327843328001,"66":13646,"109":206,"85":15104,"24":0,"16":135991455003967488,"45":9168414072670550016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327843328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991455003967488,"km_value":135991455003967.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670550016,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327843328001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670550016}} 
[2026-09-25 19:03:33] 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":896889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:33] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:33] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:54] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:54] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:54] local.INFO: IMEI packet received {"connection_id":193984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":193984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:03:56] local.INFO: TCP Data received {"connection_id":195324,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:56] local.INFO: Processing buffer {"connection_id":195324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:03:56] local.INFO: Packet analysis {"connection_id":195324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:56] local.INFO: Extracted packet for processing {"connection_id":195324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:03:56] 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-25 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:03:56] 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-25 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":195324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":195324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":195324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:03:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:03:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":195324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:03:56] local.INFO: GPS data processed {"connection_id":195324,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:03:56] local.INFO: Acknowledgment sent {"connection_id":195324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:03:59] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:59] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:03:59] local.INFO: IMEI packet received {"connection_id":193984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":193984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:04:00] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:00] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:00] local.INFO: Packet analysis {"connection_id":193984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:04:00] local.INFO: Extracted packet for processing {"connection_id":193984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:00] 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-25 19:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:04: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-25 19:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:04:00] 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":896891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:00] local.INFO: GPS data processed {"connection_id":193984,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:00] local.INFO: Acknowledgment sent {"connection_id":193984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:03] local.INFO: TCP Data received {"connection_id":193983,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:03] local.INFO: Processing buffer {"connection_id":193983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:03] local.INFO: Packet analysis {"connection_id":193983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:04:03] local.INFO: Extracted packet for processing {"connection_id":193983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04: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-25 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:04: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-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:04:03] 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":896892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:03] local.INFO: GPS data processed {"connection_id":193983,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:03] local.INFO: Acknowledgment sent {"connection_id":193983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:04] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4eee0012d7f3c8005d338b0000000a52e..."} 
[2026-09-25 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4eee0012d7f3c8005d338b0000000a52e..."} 
[2026-09-25 19:04:04] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4eee0012d7f3c8005d338b0000000a52e..."} 
[2026-09-25 19:04:04] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:04] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:04] local.INFO: GPS Element Parsed {"raw_longitude":763313280,"raw_latitude":97728688,"longitude_deg":76.331328,"latitude_deg":9.7728688,"altitude":0,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d7f3c80","hex_latitude":"05d338b0","is_valid_coordinates":true} 
[2026-09-25 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-25 19:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327848704001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991463593902080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168414072670547968,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790343180000,"timestamp_ms":1790343180000,"timestamp_seconds":1790343180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4eee0"} 
[2026-09-25 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-25 19:04:04] 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-25 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327848704001,"66":13624,"109":206,"85":15104,"24":0,"16":135991463593902080,"45":9168414072670547968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327848704001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:04:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991463593902080,"km_value":135991463593902.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168414072670547968,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327848704001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168414072670547968}} 
[2026-09-25 19:04:04] 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":896893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:04] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:04] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:19] local.INFO: TCP Data received {"connection_id":195326,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:19] local.INFO: Processing buffer {"connection_id":195326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:19] local.INFO: IMEI packet received {"connection_id":195326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":195326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:04:24] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:24] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:24] local.INFO: IMEI packet received {"connection_id":193985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":193985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:04:25] local.INFO: TCP Data received {"connection_id":195326,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:25] local.INFO: Processing buffer {"connection_id":195326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:04:25] local.INFO: IMEI packet received {"connection_id":195326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":195326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:04:26] local.INFO: TCP Data received {"connection_id":195326,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:26] local.INFO: Processing buffer {"connection_id":195326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:26] local.INFO: Packet analysis {"connection_id":195326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:26] local.INFO: Extracted packet for processing {"connection_id":195326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:04: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-25 19:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:26] 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-25 19:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04: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-25 19:04: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":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:26] 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-25 19:04: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-25 19:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":195326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:26] local.INFO: GPS data processed {"connection_id":195326,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:26] local.INFO: Acknowledgment sent {"connection_id":195326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:27] local.INFO: TCP Data received {"connection_id":195326,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:27] local.INFO: Processing buffer {"connection_id":195326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:27] local.INFO: Packet analysis {"connection_id":195326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:27] local.INFO: Extracted packet for processing {"connection_id":195326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:27] 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-25 19:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04: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-25 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:04: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-25 19:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:04:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":195326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:28] local.INFO: GPS data processed {"connection_id":195326,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:28] local.INFO: Acknowledgment sent {"connection_id":195326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:30] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:30] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:04:30] local.INFO: IMEI packet received {"connection_id":193985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":193985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:04:31] local.INFO: TCP Data received {"connection_id":193984,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:31] local.INFO: Processing buffer {"connection_id":193984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:04:31] local.INFO: Packet analysis {"connection_id":193984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:04:31] local.INFO: Extracted packet for processing {"connection_id":193984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:31] 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-25 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:04: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-25 19:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:04:31] 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":896896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:31] local.INFO: GPS data processed {"connection_id":193984,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:31] local.INFO: Acknowledgment sent {"connection_id":193984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:31] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:31] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:04:31] local.INFO: Packet analysis {"connection_id":193985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:04:31] local.INFO: Extracted packet for processing {"connection_id":193985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04: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-25 19:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:04: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-25 19:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:04:31] 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":896897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:31] local.INFO: GPS data processed {"connection_id":193985,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:31] local.INFO: Acknowledgment sent {"connection_id":193985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:35] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c540e8012d7f3c0005d33910000000a52e..."} 
[2026-09-25 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c540e8012d7f3c0005d33910000000a52e..."} 
[2026-09-25 19:04:35] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c540e8012d7f3c0005d33910000000a52e..."} 
[2026-09-25 19:04:35] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:04:35] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763313152,"raw_latitude":97728784,"longitude_deg":76.3313152,"latitude_deg":9.7728784,"altitude":0,"angle":165,"satellites":46,"speed":0,"hex_longitude":"2d7f3c00","hex_latitude":"05d33910","is_valid_coordinates":true} 
[2026-09-25 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327854080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991476478803968,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168343703926386688,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790343201000,"timestamp_ms":1790343201000,"timestamp_seconds":1790343201,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c540e8"} 
[2026-09-25 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:35] 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-25 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327854080001,"66":13765,"109":206,"85":15104,"24":0,"16":135991476478803968,"45":9168343703926386688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327854080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991476478803968,"km_value":135991476478803.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168343703926386688,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327854080001,"power":13765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168343703926386688}} 
[2026-09-25 19:04: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":896898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:04:35] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:04:35] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:04:54] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:54] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:54] local.INFO: IMEI packet received {"connection_id":193986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":193986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:04:59] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:59] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:04:59] local.INFO: IMEI packet received {"connection_id":193986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":193986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:04:59] local.INFO: TCP Data received {"connection_id":195326,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:59] local.INFO: Processing buffer {"connection_id":195326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:04:59] local.INFO: Packet analysis {"connection_id":195326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:59] local.INFO: Extracted packet for processing {"connection_id":195326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:04:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:04:59] 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-25 19:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:04:59] 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-25 19:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:04:59] 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-25 19:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:04:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:04:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":195326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:00] local.INFO: GPS data processed {"connection_id":195326,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:00] local.INFO: Acknowledgment sent {"connection_id":195326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:00] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:00] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:00] local.INFO: Packet analysis {"connection_id":193986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:05:00] local.INFO: Extracted packet for processing {"connection_id":193986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:05:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:05:00] 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-25 19:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:05: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-25 19:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:05:00] 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":896900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:00] local.INFO: GPS data processed {"connection_id":193986,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:00] local.INFO: Acknowledgment sent {"connection_id":193986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:03] local.INFO: TCP Data received {"connection_id":193985,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:03] local.INFO: Processing buffer {"connection_id":193985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:03] local.INFO: Packet analysis {"connection_id":193985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:03] local.INFO: Extracted packet for processing {"connection_id":193985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05: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-25 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19: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-25 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":193985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":193985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":193985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:05: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-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:05:03] 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":896901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:03] local.INFO: GPS data processed {"connection_id":193985,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:03] local.INFO: Acknowledgment sent {"connection_id":193985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:09] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c592f0012d7f3bc005d338f0000000a52c..."} 
[2026-09-25 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c592f0012d7f3bc005d338f0000000a52c..."} 
[2026-09-25 19:05:09] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c592f0012d7f3bc005d338f0000000a52c..."} 
[2026-09-25 19:05:09] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:05:09] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763313088,"raw_latitude":97728752,"longitude_deg":76.3313088,"latitude_deg":9.7728752,"altitude":0,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d7f3bc0","hex_latitude":"05d338f0","is_valid_coordinates":true} 
[2026-09-25 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327859456001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991489363705856,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168202966438055936,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790343222000,"timestamp_ms":1790343222000,"timestamp_seconds":1790343222,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c592f0"} 
[2026-09-25 19:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:05: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-25 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:05: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-25 19:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327859456001,"66":13656,"167":206,"85":15104,"24":0,"16":135991489363705856,"45":9168202966438055936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327859456001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991489363705856,"km_value":135991489363705.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168202966438055936,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327859456001,"power":13656,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168202966438055936}} 
[2026-09-25 19:05:09] 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":896902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:09] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:09] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:19] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:19] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:19] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:05:24] local.INFO: TCP Data received {"connection_id":192455,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:05:24] local.INFO: Processing buffer {"connection_id":192455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:05:24] local.INFO: IMEI packet received {"connection_id":192455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":192455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:05:26] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:26] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:05:26] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:05:28] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:05:28] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:05:28] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:05:28] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:28] 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-25 19:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19: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-25 19:05:28] 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-25 19: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":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:05: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-25 19: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-25 19: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-25 19:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:05:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:05:28] 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":896903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:28] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:28] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:30] local.INFO: TCP Data received {"connection_id":195327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:30] local.INFO: Processing buffer {"connection_id":195327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:30] local.INFO: IMEI packet received {"connection_id":195327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":195327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:05:31] local.INFO: TCP Data received {"connection_id":193986,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:31] local.INFO: Processing buffer {"connection_id":193986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:05:31] local.INFO: Packet analysis {"connection_id":193986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:05:31] local.INFO: Extracted packet for processing {"connection_id":193986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19: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-25 19:05:31] 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-25 19: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-25 19: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-25 19: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-25 19: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-25 19:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:05:31] 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":896904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:31] local.INFO: GPS data processed {"connection_id":193986,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:31] local.INFO: Acknowledgment sent {"connection_id":193986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:35] local.INFO: TCP Data received {"connection_id":195327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:35] local.INFO: Processing buffer {"connection_id":195327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:05:35] local.INFO: IMEI packet received {"connection_id":195327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":195327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:05:35] local.INFO: TCP Data received {"connection_id":195327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:35] local.INFO: Processing buffer {"connection_id":195327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:35] local.INFO: Packet analysis {"connection_id":195327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:35] local.INFO: Extracted packet for processing {"connection_id":195327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19: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-25 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":195327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:35] local.INFO: GPS data processed {"connection_id":195327,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:35] local.INFO: Acknowledgment sent {"connection_id":195327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:40] local.INFO: TCP Data received {"connection_id":195327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:40] local.INFO: Processing buffer {"connection_id":195327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c2f310012d34c14006aa49080004006e2d..."} 
[2026-09-25 19:05:40] local.INFO: Packet analysis {"connection_id":195327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:40] local.INFO: Extracted packet for processing {"connection_id":195327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c2"} 
[2026-09-25 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327743744001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343050000,"timestamp_ms":1790343050000,"timestamp_seconds":1790343050,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c2f310"} 
[2026-09-25 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:05: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-25 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327743744001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327743744001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327743744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":195327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:40] local.INFO: GPS data processed {"connection_id":195327,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:40] local.INFO: Acknowledgment sent {"connection_id":195327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:41] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5c1d0012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5c1d0012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:05:41] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5c1d0012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:05:41] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:05:41] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728656,"longitude_deg":76.331296,"latitude_deg":9.7728656,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33890","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327864832001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168132597693870080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343234000,"timestamp_ms":1790343234000,"timestamp_seconds":1790343234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5c1d0"} 
[2026-09-25 19: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-25 19:05: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-25 19: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 19:05:41] 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-25 19: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-25 19: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-25 19:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327864832001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9168132597693870080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327864832001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:05:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168132597693870080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327864832001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168132597693870080}} 
[2026-09-25 19:05:42] 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":896907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:05:42] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:05:42] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:05:54] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:54] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:54] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:05:59] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:59] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:05:59] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:06:00] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:00] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:00] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:06:00] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:06:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:06:00] 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-25 19:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:06: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-25 19:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:06:00] 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":896908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:00] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:00] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:04] local.INFO: TCP Data received {"connection_id":192456,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:06:04] local.INFO: Processing buffer {"connection_id":192456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:06:04] local.INFO: IMEI packet received {"connection_id":192456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":192456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:06:04] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:04] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:04] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:06:04] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:04] 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-25 19:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19: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-25 19:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:06:04] 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-25 19: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-25 19: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-25 19:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:06:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:06:05] 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":896909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:05] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:05] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:12] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5cd88012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5cd88012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:06:12] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5cd88012d7f3b4005d33890000000c92c..."} 
[2026-09-25 19:06:12] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:06:12] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728656,"longitude_deg":76.331296,"latitude_deg":9.7728656,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33890","is_valid_coordinates":true} 
[2026-09-25 19:06:12] 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-25 19:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327867904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790343237000,"timestamp_ms":1790343237000,"timestamp_seconds":1790343237,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5cd88"} 
[2026-09-25 19: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-25 19:06:12] 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-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327867904001,"66":13765,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327867904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:12] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327867904001,"power":13765,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:06:12] 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":896910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:12] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:12] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:17] local.INFO: TCP Data received {"connection_id":195328,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:17] local.INFO: Processing buffer {"connection_id":195328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:17] local.INFO: IMEI packet received {"connection_id":195328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":195328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:06:22] local.INFO: TCP Data received {"connection_id":195328,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195328,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:22] local.INFO: Processing buffer {"connection_id":195328,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:06:22] local.INFO: IMEI packet received {"connection_id":195328,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":195328,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:06:24] local.INFO: TCP Data received {"connection_id":195328,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:24] local.INFO: Processing buffer {"connection_id":195328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:06:24] local.INFO: Packet analysis {"connection_id":195328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:06:24] local.INFO: Extracted packet for processing {"connection_id":195328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:06: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-25 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:24] 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-25 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:06:24] 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-25 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:06:24] 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-25 19:06: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-25 19:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195328,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:06:24] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:24] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:24] local.INFO: IMEI packet received {"connection_id":193987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":193987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":195328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:24] local.INFO: GPS data processed {"connection_id":195328,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:24] local.INFO: Acknowledgment sent {"connection_id":195328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:30] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:30] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:06:30] local.INFO: IMEI packet received {"connection_id":193987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":193987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:06:31] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:06:31] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:06:31] local.INFO: Packet analysis {"connection_id":193987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:06:31] local.INFO: Extracted packet for processing {"connection_id":193987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19: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-25 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:06:31] 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":896912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:31] local.INFO: GPS data processed {"connection_id":193987,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:31] local.INFO: Acknowledgment sent {"connection_id":193987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:31] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:31] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:06:31] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:06:31] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19: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-25 19:06:31] 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-25 19: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:06: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-25 19: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-25 19: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-25 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:06:31] 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":896913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:31] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:31] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:43] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:06:43] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:06:43] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:06:43] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:06:43] 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-25 19:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19: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-25 19:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:06:43] 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-25 19: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-25 19: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-25 19:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:06:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:06:43] 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":896914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:06:43] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:06:43] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:06:53] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:06:53] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:06:53] local.INFO: IMEI packet received {"connection_id":192618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":192618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:07:13] local.INFO: TCP Data received {"connection_id":193987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:13] local.INFO: Processing buffer {"connection_id":193987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:13] local.INFO: Packet analysis {"connection_id":193987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:07:13] local.INFO: Extracted packet for processing {"connection_id":193987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":193987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":193987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:07: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-25 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:07: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-25 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:07:13] 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":896915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:13] local.INFO: GPS data processed {"connection_id":193987,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:13] local.INFO: Acknowledgment sent {"connection_id":193987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:14] local.INFO: TCP Data received {"connection_id":192452,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:14] local.INFO: Processing buffer {"connection_id":192452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:14] local.INFO: Packet analysis {"connection_id":192452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:07:14] local.INFO: Extracted packet for processing {"connection_id":192452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:07:14] 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-25 19:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:14] 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-25 19:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:14] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:07:14] 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":896916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:14] local.INFO: GPS data processed {"connection_id":192452,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:14] local.INFO: Acknowledgment sent {"connection_id":192452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:19] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:19] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:19] local.INFO: IMEI packet received {"connection_id":192618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":192618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:07:20] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:07:20] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c3d988012d07ca000725e800000e00e126..."} 
[2026-09-25 19:07:20] local.INFO: Packet analysis {"connection_id":192618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:07:20] local.INFO: Extracted packet for processing {"connection_id":192618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c3"} 
[2026-09-25 19:07:20] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327758848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790343109000,"timestamp_ms":1790343109000,"timestamp_seconds":1790343109,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c3d988"} 
[2026-09-25 19:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":192618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327758848001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327758848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:20] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327758848001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":192618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:20] local.INFO: GPS data processed {"connection_id":192618,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:20] local.INFO: Acknowledgment sent {"connection_id":192618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:24] local.INFO: TCP Data received {"connection_id":195329,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:24] local.INFO: Processing buffer {"connection_id":195329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:24] local.INFO: IMEI packet received {"connection_id":195329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":195329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:07:30] local.INFO: TCP Data received {"connection_id":195329,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:30] local.INFO: Processing buffer {"connection_id":195329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:07:30] local.INFO: IMEI packet received {"connection_id":195329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":195329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:07:30] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:30] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:30] local.INFO: IMEI packet received {"connection_id":192620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":192620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:07:31] local.INFO: TCP Data received {"connection_id":195329,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:31] local.INFO: Processing buffer {"connection_id":195329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:07:31] local.INFO: Packet analysis {"connection_id":195329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:07:31] local.INFO: Extracted packet for processing {"connection_id":195329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07: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-25 19:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:07: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-25 19:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:31] local.INFO: GPS data processed {"connection_id":195329,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:31] local.INFO: Acknowledgment sent {"connection_id":195329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:37] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:37] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:07:37] local.INFO: IMEI packet received {"connection_id":192620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":192620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:07:37] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:37] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:07:37] local.INFO: Packet analysis {"connection_id":192620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:07:37] local.INFO: Extracted packet for processing {"connection_id":192620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:37] 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-25 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":192620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:37] local.INFO: GPS data processed {"connection_id":192620,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:37] local.INFO: Acknowledgment sent {"connection_id":192620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:39] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:39] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:39] local.INFO: IMEI packet received {"connection_id":192457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":192457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:07:46] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:46] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:07:46] local.INFO: IMEI packet received {"connection_id":192457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":192457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:07:47] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:47] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:47] local.INFO: Packet analysis {"connection_id":192457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:07:47] local.INFO: Extracted packet for processing {"connection_id":192457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:47] 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-25 19:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:47] 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-25 19:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:07:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:07:47] 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":896920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:47] local.INFO: GPS data processed {"connection_id":192457,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:47] local.INFO: Acknowledgment sent {"connection_id":192457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:48] local.INFO: TCP Data received {"connection_id":192457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:48] local.INFO: Processing buffer {"connection_id":192457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c4fe80012d0b10c007029f100017013d1d..."} 
[2026-09-25 19:07:48] local.INFO: Packet analysis {"connection_id":192457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:07:48] local.INFO: Extracted packet for processing {"connection_id":192457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c4"} 
[2026-09-25 19:07:48] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327778048001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:07:48] 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-25 19:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790343184000,"timestamp_ms":1790343184000,"timestamp_seconds":1790343184,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c4fe80"} 
[2026-09-25 19:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:07:48] 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-25 19:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":192457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":192457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":192457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327778048001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327778048001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:07:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:07:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327778048001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:07:48] 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":896921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:07:48] local.INFO: GPS data processed {"connection_id":192457,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:07:48] local.INFO: Acknowledgment sent {"connection_id":192457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:07:59] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:59] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:07:59] local.INFO: IMEI packet received {"connection_id":193988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":193988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:08:03] local.INFO: TCP Data received {"connection_id":195329,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:03] local.INFO: Processing buffer {"connection_id":195329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:03] local.INFO: Packet analysis {"connection_id":195329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:08:03] local.INFO: Extracted packet for processing {"connection_id":195329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08: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-25 19:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:08: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-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":195329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:03] local.INFO: GPS data processed {"connection_id":195329,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:03] local.INFO: Acknowledgment sent {"connection_id":195329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:04] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:04] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:04] local.INFO: IMEI packet received {"connection_id":193988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":193988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:08:05] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:05] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:05] local.INFO: Packet analysis {"connection_id":193988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:08:05] local.INFO: Extracted packet for processing {"connection_id":193988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19: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-25 19:08:05] 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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":193988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:08:05] 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":896923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:05] local.INFO: GPS data processed {"connection_id":193988,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:05] local.INFO: Acknowledgment sent {"connection_id":193988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:08] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:08] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:08] local.INFO: Packet analysis {"connection_id":192620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:08] local.INFO: Extracted packet for processing {"connection_id":192620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:08:08] 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-25 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19: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-25 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:08] 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-25 19: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-25 19: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-25 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":192620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:09] local.INFO: GPS data processed {"connection_id":192620,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:09] local.INFO: Acknowledgment sent {"connection_id":192620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:17] local.INFO: TCP Data received {"connection_id":193989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:17] local.INFO: Processing buffer {"connection_id":193989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:17] local.INFO: IMEI packet received {"connection_id":193989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":193989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:08:23] local.INFO: TCP Data received {"connection_id":193989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193989,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:23] local.INFO: Processing buffer {"connection_id":193989,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:08:23] local.INFO: IMEI packet received {"connection_id":193989,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":193989,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:08:24] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:24] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:24] local.INFO: IMEI packet received {"connection_id":192621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":192621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:08:29] local.INFO: TCP Data received {"connection_id":193989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:08:29] local.INFO: Processing buffer {"connection_id":193989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:08:29] local.INFO: Packet analysis {"connection_id":193989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:08:29] local.INFO: Extracted packet for processing {"connection_id":193989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08: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-25 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:29] 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-25 19:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:08:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":193989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:29] local.INFO: GPS data processed {"connection_id":193989,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:29] local.INFO: Acknowledgment sent {"connection_id":193989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:30] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:30] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:08:30] local.INFO: IMEI packet received {"connection_id":192621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":192621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:08:31] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:31] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:08:31] local.INFO: Packet analysis {"connection_id":192621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:08:31] local.INFO: Extracted packet for processing {"connection_id":192621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08: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-25 19:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19: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-25 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:08: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-25 19:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:08:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:08: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-25 19:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":192621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:31] local.INFO: GPS data processed {"connection_id":192621,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:31] local.INFO: Acknowledgment sent {"connection_id":192621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:35] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:35] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:36] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:08:36] local.INFO: TCP Data received {"connection_id":193988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:36] local.INFO: Processing buffer {"connection_id":193988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:08:36] local.INFO: Packet analysis {"connection_id":193988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:08:36] local.INFO: Extracted packet for processing {"connection_id":193988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:08:36] 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-25 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:08:36] 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":896927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:36] local.INFO: GPS data processed {"connection_id":193988,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:36] local.INFO: Acknowledgment sent {"connection_id":193988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:40] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:40] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:08:40] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:08:41] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:41] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:41] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:41] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:08:41] 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-25 19:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19: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-25 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:41] 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-25 19: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-25 19: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-25 19:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:08:41] 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":896928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:41] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:41] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:46] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:46] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c5d170012d7f3b4005d33880000000c92c..."} 
[2026-09-25 19:08:46] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:46] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c5"} 
[2026-09-25 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763312960,"raw_latitude":97728640,"longitude_deg":76.331296,"latitude_deg":9.772864,"altitude":0,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d7f3b40","hex_latitude":"05d33880","is_valid_coordinates":true} 
[2026-09-25 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868672001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205490176,"note":"Value kept but may cause issues"} 
[2026-09-25 19:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790343238000,"timestamp_ms":1790343238000,"timestamp_seconds":1790343238,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c5d170"} 
[2026-09-25 19: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-25 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-25 19:08:46] 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-25 19: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-25 19: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-25 19:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868672001,"66":13678,"167":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205490176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-09-25 19:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868672001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205490176,"description":"Unknown IO ID 45"} 
[2026-09-25 19:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868672001,"power":13678,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205490176}} 
[2026-09-25 19:08:46] 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":896929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:08:46] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:08:46] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:08:54] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:54] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:54] local.INFO: IMEI packet received {"connection_id":193990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":193990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:08:59] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:59] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:08:59] local.INFO: IMEI packet received {"connection_id":193990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":193990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:09:00] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:00] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:00] local.INFO: Packet analysis {"connection_id":193990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:09:00] local.INFO: Extracted packet for processing {"connection_id":193990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:00] 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-25 19:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:09:00] 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":896930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:00] local.INFO: GPS data processed {"connection_id":193990,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:00] local.INFO: Acknowledgment sent {"connection_id":193990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:00] local.INFO: TCP Data received {"connection_id":193989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:00] local.INFO: Processing buffer {"connection_id":193989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:00] local.INFO: Packet analysis {"connection_id":193989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:09:00] local.INFO: Extracted packet for processing {"connection_id":193989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:00] 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-25 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:00] 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-25 19:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:00] 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-25 19:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193989,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":193989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:01] local.INFO: GPS data processed {"connection_id":193989,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:01] local.INFO: Acknowledgment sent {"connection_id":193989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:03] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:03] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:03] local.INFO: Packet analysis {"connection_id":192621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:09:03] local.INFO: Extracted packet for processing {"connection_id":192621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09: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-25 19:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:09: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-25 19:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":192621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:03] local.INFO: GPS data processed {"connection_id":192621,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:03] local.INFO: Acknowledgment sent {"connection_id":192621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:22] local.INFO: TCP Data received {"connection_id":195330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:22] local.INFO: Processing buffer {"connection_id":195330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:22] local.INFO: IMEI packet received {"connection_id":195330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":195330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:09:24] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:24] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:24] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:09:27] local.INFO: TCP Data received {"connection_id":195330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195330,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:27] local.INFO: Processing buffer {"connection_id":195330,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:09:27] local.INFO: IMEI packet received {"connection_id":195330,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":195330,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:09:30] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:30] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:09:30] local.INFO: IMEI packet received {"connection_id":192459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":192459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:09:30] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:30] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:30] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:09:31] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:31] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:09:31] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:09:31] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09: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-25 19:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:09: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-25 19:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:09: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-25 19:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:09:31] 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":896933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:31] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:31] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:32] local.INFO: TCP Data received {"connection_id":193990,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:32] local.INFO: Processing buffer {"connection_id":193990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:09:32] local.INFO: Packet analysis {"connection_id":193990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:09:32] local.INFO: Extracted packet for processing {"connection_id":193990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":193990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":193990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:09:32] 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":896934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:32] local.INFO: GPS data processed {"connection_id":193990,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:32] local.INFO: Acknowledgment sent {"connection_id":193990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:35] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:35] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:09:35] local.INFO: IMEI packet received {"connection_id":192460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":192460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:09:36] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:09:36] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:09:36] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:09:36] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:36] 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-25 19:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19: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":896935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:36] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:36] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:40] local.INFO: TCP Data received {"connection_id":195330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:40] local.INFO: Processing buffer {"connection_id":195330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:09:40] local.INFO: Packet analysis {"connection_id":195330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:09:40] local.INFO: Extracted packet for processing {"connection_id":195330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:09: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-25 19:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19: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-25 19:09:40] 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-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:09:40] 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-25 19: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-25 19: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-25 19:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195330,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:09:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:09:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":195330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:09:40] local.INFO: GPS data processed {"connection_id":195330,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:09:40] local.INFO: Acknowledgment sent {"connection_id":195330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:09:54] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:54] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:54] local.INFO: IMEI packet received {"connection_id":193991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":193991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:09:59] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:59] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:09:59] local.INFO: IMEI packet received {"connection_id":193991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":193991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:10:00] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:00] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:00] local.INFO: Packet analysis {"connection_id":193991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:10:00] local.INFO: Extracted packet for processing {"connection_id":193991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:10:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:10:00] 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-25 19:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:10:00] 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":896937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:00] local.INFO: GPS data processed {"connection_id":193991,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:00] local.INFO: Acknowledgment sent {"connection_id":193991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:02] local.INFO: TCP Data received {"connection_id":192459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:02] local.INFO: Processing buffer {"connection_id":192459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:02] local.INFO: Packet analysis {"connection_id":192459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:02] local.INFO: Extracted packet for processing {"connection_id":192459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10: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-25 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10: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-25 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:10:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:10: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-25 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:10:02] 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":896938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:02] local.INFO: GPS data processed {"connection_id":192459,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:02] local.INFO: Acknowledgment sent {"connection_id":192459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:07] local.INFO: TCP Data received {"connection_id":192460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:07] local.INFO: Processing buffer {"connection_id":192460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:07] local.INFO: Packet analysis {"connection_id":192460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:10:07] local.INFO: Extracted packet for processing {"connection_id":192460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19: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-25 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:10:07] 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":896939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:07] local.INFO: GPS data processed {"connection_id":192460,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:07] local.INFO: Acknowledgment sent {"connection_id":192460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:22] local.INFO: TCP Data received {"connection_id":193992,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:22] local.INFO: Processing buffer {"connection_id":193992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:22] local.INFO: IMEI packet received {"connection_id":193992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":193992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:10:30] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:30] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:30] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:10:31] local.INFO: TCP Data received {"connection_id":195331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:31] local.INFO: Processing buffer {"connection_id":195331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:31] local.INFO: IMEI packet received {"connection_id":195331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":195331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:10:31] local.INFO: TCP Data received {"connection_id":193991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:31] local.INFO: Processing buffer {"connection_id":193991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:10:31] local.INFO: Packet analysis {"connection_id":193991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:10:31] local.INFO: Extracted packet for processing {"connection_id":193991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:10:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19: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-25 19:10: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-25 19: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-25 19: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-25 19: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-25 19: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-25 19:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:10:31] 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":896940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:31] local.INFO: GPS data processed {"connection_id":193991,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:31] local.INFO: Acknowledgment sent {"connection_id":193991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:35] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:35] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:10:35] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:10:36] local.INFO: TCP Data received {"connection_id":195331,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:36] local.INFO: Processing buffer {"connection_id":195331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:10:36] local.INFO: IMEI packet received {"connection_id":195331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":195331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:10:36] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:36] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:36] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:36] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19: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-25 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10: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-25 19:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:10: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":896941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:36] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:36] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:36] local.INFO: TCP Data received {"connection_id":195331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:36] local.INFO: Processing buffer {"connection_id":195331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:10:36] local.INFO: Packet analysis {"connection_id":195331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:10:36] local.INFO: Extracted packet for processing {"connection_id":195331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19: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-25 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:36] 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-25 19: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-25 19: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-25 19:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":195331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:36] local.INFO: GPS data processed {"connection_id":195331,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:36] local.INFO: Acknowledgment sent {"connection_id":195331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:38] local.INFO: TCP Data received {"connection_id":193992,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193992,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:38] local.INFO: Processing buffer {"connection_id":193992,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:10:38] local.INFO: IMEI packet received {"connection_id":193992,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":193992,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:10:40] local.INFO: TCP Data received {"connection_id":193992,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:40] local.INFO: Processing buffer {"connection_id":193992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:40] local.INFO: Packet analysis {"connection_id":193992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:10:40] local.INFO: Extracted packet for processing {"connection_id":193992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10: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-25 19:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19: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-25 19:10:40] 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-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:40] 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-25 19: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-25 19: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-25 19:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:10:40] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:40] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:10:40] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:40] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19: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-25 19:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:10: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-25 19:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:10:40] 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":896943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:40] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:40] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":193992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:40] local.INFO: GPS data processed {"connection_id":193992,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:40] local.INFO: Acknowledgment sent {"connection_id":193992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:41] local.INFO: TCP Data received {"connection_id":193992,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:41] local.INFO: Processing buffer {"connection_id":193992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:10:41] local.INFO: Packet analysis {"connection_id":193992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:10:41] local.INFO: Extracted packet for processing {"connection_id":193992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:10:41] 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-25 19:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19: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-25 19:10:41] 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-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:10:41] 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-25 19: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-25 19: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-25 19:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":193992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":193992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":193992,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:10:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:10:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":193992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:10:41] local.INFO: GPS data processed {"connection_id":193992,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:10:41] local.INFO: Acknowledgment sent {"connection_id":193992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:10:54] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:54] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:54] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:10:59] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:59] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:10:59] local.INFO: IMEI packet received {"connection_id":192462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":192462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:11:00] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:00] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:00] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:11:00] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:11:00] 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-25 19:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:11:00] 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":896946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:00] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:00] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:08] local.INFO: TCP Data received {"connection_id":195331,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:08] local.INFO: Processing buffer {"connection_id":195331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:08] local.INFO: Packet analysis {"connection_id":195331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:11:08] local.INFO: Extracted packet for processing {"connection_id":195331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19: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-25 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:11:08] 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-25 19: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-25 19: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-25 19:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":195331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:08] local.INFO: GPS data processed {"connection_id":195331,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:08] local.INFO: Acknowledgment sent {"connection_id":195331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:17] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:17] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:17] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:11:22] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:22] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:11:22] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:11:23] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:23] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:23] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:11:23] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:11:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:11: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-25 19:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:23] 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-25 19:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:11:23] 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-25 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:11: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-25 19:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:11:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:11:23] 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":896948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:23] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:23] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:25] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:25] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:25] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:11:29] local.INFO: TCP Data received {"connection_id":192625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:11:29] local.INFO: Processing buffer {"connection_id":192625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:11:29] local.INFO: IMEI packet received {"connection_id":192625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:11:30] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:30] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:11:30] local.INFO: IMEI packet received {"connection_id":192463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:11:30] local.INFO: TCP Data received {"connection_id":195332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:30] local.INFO: Processing buffer {"connection_id":195332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:30] local.INFO: IMEI packet received {"connection_id":195332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":195332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:11:31] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:11:31] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c78ad8012d34c14006aa49080008006e30..."} 
[2026-09-25 19:11:31] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:11:31] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c7"} 
[2026-09-25 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327820800001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11: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-25 19:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343351000,"timestamp_ms":1790343351000,"timestamp_seconds":1790343351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c78ad8"} 
[2026-09-25 19:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:11:31] local.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-25 19:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327820800001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327820800001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:11: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-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327820800001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:11:31] 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":896949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:31] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:31] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:31] local.INFO: TCP Data received {"connection_id":192462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:31] local.INFO: Processing buffer {"connection_id":192462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:11:31] local.INFO: Packet analysis {"connection_id":192462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:11:31] local.INFO: Extracted packet for processing {"connection_id":192462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:11:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:11: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-25 19:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:11: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-25 19:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:11:31] 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":896950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:31] local.INFO: GPS data processed {"connection_id":192462,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:31] local.INFO: Acknowledgment sent {"connection_id":192462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:35] local.INFO: TCP Data received {"connection_id":195332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:35] local.INFO: Processing buffer {"connection_id":195332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:11:35] local.INFO: IMEI packet received {"connection_id":195332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":195332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:11:36] local.INFO: TCP Data received {"connection_id":195332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:36] local.INFO: Processing buffer {"connection_id":195332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:11:36] local.INFO: Packet analysis {"connection_id":195332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:11:36] local.INFO: Extracted packet for processing {"connection_id":195332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19: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-25 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:11:36] 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-25 19: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-25 19: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-25 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":195332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:36] local.INFO: GPS data processed {"connection_id":195332,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:36] local.INFO: Acknowledgment sent {"connection_id":195332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:54] local.INFO: TCP Data received {"connection_id":193993,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:54] local.INFO: Processing buffer {"connection_id":193993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:54] local.INFO: IMEI packet received {"connection_id":193993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":193993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:11:55] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:55] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:11:55] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:11:55] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:11:55] 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-25 19:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19: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-25 19:11:55] 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-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:11: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-25 19: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-25 19: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-25 19:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:11:55] 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":896952,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:11:55] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:11:55] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:11:59] local.INFO: TCP Data received {"connection_id":193993,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:59] local.INFO: Processing buffer {"connection_id":193993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:11:59] local.INFO: IMEI packet received {"connection_id":193993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":193993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:12:00] local.INFO: TCP Data received {"connection_id":193993,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:00] local.INFO: Processing buffer {"connection_id":193993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c87150012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:00] local.INFO: Packet analysis {"connection_id":193993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:12:00] local.INFO: Extracted packet for processing {"connection_id":193993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c8"} 
[2026-09-25 19:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327835904001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343410000,"timestamp_ms":1790343410000,"timestamp_seconds":1790343410,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c87150"} 
[2026-09-25 19: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-25 19:12:00] 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-25 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:12: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-25 19: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-25 19: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-25 19:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327835904001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327835904001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327835904001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":193993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:00] local.INFO: GPS data processed {"connection_id":193993,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:00] local.INFO: Acknowledgment sent {"connection_id":193993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:03] local.INFO: TCP Data received {"connection_id":192463,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:03] local.INFO: Processing buffer {"connection_id":192463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:03] local.INFO: Packet analysis {"connection_id":192463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:12:03] local.INFO: Extracted packet for processing {"connection_id":192463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12: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-25 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:12:03] local.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-25 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:12: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-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:12:03] 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":896954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:03] local.INFO: GPS data processed {"connection_id":192463,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:03] local.INFO: Acknowledgment sent {"connection_id":192463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:04] local.INFO: TCP Data received {"connection_id":193994,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:12:04] local.INFO: Processing buffer {"connection_id":193994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:12:04] local.INFO: IMEI packet received {"connection_id":193994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":193994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:12:07] local.INFO: TCP Data received {"connection_id":195332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:07] local.INFO: Processing buffer {"connection_id":195332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:07] local.INFO: Packet analysis {"connection_id":195332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:12:07] local.INFO: Extracted packet for processing {"connection_id":195332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19: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-25 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":195332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:07] local.INFO: GPS data processed {"connection_id":195332,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:07] local.INFO: Acknowledgment sent {"connection_id":195332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:17] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:18] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:18] local.INFO: IMEI packet received {"connection_id":193995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":193995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:12:24] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:24] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:24] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:12:28] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:28] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:12:28] local.INFO: IMEI packet received {"connection_id":193995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":193995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:12:29] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:12:29] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:12:29] local.INFO: Packet analysis {"connection_id":193995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:12:29] local.INFO: Extracted packet for processing {"connection_id":193995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12: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-25 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:12:29] 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-25 19:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":193995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":193995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":193995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:12:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:12:30] 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":896956,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:30] local.INFO: GPS data processed {"connection_id":193995,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:30] local.INFO: Acknowledgment sent {"connection_id":193995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:30] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:30] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:12:30] local.INFO: IMEI packet received {"connection_id":192464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":192464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:12:30] local.INFO: TCP Data received {"connection_id":195333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:30] local.INFO: Processing buffer {"connection_id":195333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:30] local.INFO: IMEI packet received {"connection_id":195333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":195333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:12:30] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:30] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:12:30] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:12:30] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19: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-25 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:12:30] local.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-25 19:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:12:30] 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":896957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:30] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:30] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:31] local.INFO: TCP Data received {"connection_id":193993,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:31] local.INFO: Processing buffer {"connection_id":193993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:12:31] local.INFO: Packet analysis {"connection_id":193993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:12:31] local.INFO: Extracted packet for processing {"connection_id":193993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:12: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-25 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:12: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-25 19:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":193993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:31] local.INFO: GPS data processed {"connection_id":193993,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:31] local.INFO: Acknowledgment sent {"connection_id":193993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:35] local.INFO: TCP Data received {"connection_id":195333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:35] local.INFO: Processing buffer {"connection_id":195333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:12:35] local.INFO: IMEI packet received {"connection_id":195333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":195333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:12:36] local.INFO: TCP Data received {"connection_id":195333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:36] local.INFO: Processing buffer {"connection_id":195333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:12:36] local.INFO: Packet analysis {"connection_id":195333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:12:36] local.INFO: Extracted packet for processing {"connection_id":195333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:12:36] 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-25 19:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:12:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":195333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:12:36] local.INFO: GPS data processed {"connection_id":195333,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:12:36] local.INFO: Acknowledgment sent {"connection_id":195333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:12:54] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:54] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:54] local.INFO: IMEI packet received {"connection_id":193996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":193996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:12:59] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:59] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:12:59] local.INFO: IMEI packet received {"connection_id":193996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":193996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:13:00] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:00] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:00] local.INFO: Packet analysis {"connection_id":193996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:13:00] local.INFO: Extracted packet for processing {"connection_id":193996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:00] 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-25 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:00] 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-25 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:13:00] 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":896960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:00] local.INFO: GPS data processed {"connection_id":193996,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:00] local.INFO: Acknowledgment sent {"connection_id":193996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:02] local.INFO: TCP Data received {"connection_id":193995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:13:02] local.INFO: Processing buffer {"connection_id":193995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8c99648012d0b10c007029f100010013d1a..."} 
[2026-09-25 19:13:02] local.INFO: Packet analysis {"connection_id":193995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:13:02] local.INFO: Extracted packet for processing {"connection_id":193995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8c9"} 
[2026-09-25 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327855104001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:02] 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-25 19:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790343485000,"timestamp_ms":1790343485000,"timestamp_seconds":1790343485,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8c99648"} 
[2026-09-25 19:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:02] 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-25 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:02] 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-25 19:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":193995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":193995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":193995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327855104001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327855104001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327855104001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:13:02] local.INFO: TCP Data received {"connection_id":192464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:02] local.INFO: Processing buffer {"connection_id":192464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:02] local.INFO: Packet analysis {"connection_id":192464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:02] local.INFO: Extracted packet for processing {"connection_id":192464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13: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-25 19:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:13: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-25 19:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:13:02] 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":896961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:02] local.INFO: GPS data processed {"connection_id":192464,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:02] local.INFO: Acknowledgment sent {"connection_id":192464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:03] 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":896962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:03] local.INFO: GPS data processed {"connection_id":193995,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:03] local.INFO: Acknowledgment sent {"connection_id":193995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:07] local.INFO: TCP Data received {"connection_id":195333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:07] local.INFO: Processing buffer {"connection_id":195333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:07] local.INFO: Packet analysis {"connection_id":195333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:13:07] local.INFO: Extracted packet for processing {"connection_id":195333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":195333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:07] local.INFO: GPS data processed {"connection_id":195333,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:07] local.INFO: Acknowledgment sent {"connection_id":195333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:17] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:17] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:17] local.INFO: IMEI packet received {"connection_id":192627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":192627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:13:23] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:23] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:13:23] local.INFO: IMEI packet received {"connection_id":192627,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":192627,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:13:25] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:25] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:25] local.INFO: Packet analysis {"connection_id":192627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:13:25] local.INFO: Extracted packet for processing {"connection_id":192627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:25] 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-25 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:13:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":192627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:25] local.INFO: GPS data processed {"connection_id":192627,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:25] local.INFO: Acknowledgment sent {"connection_id":192627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:30] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:30] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:30] local.INFO: IMEI packet received {"connection_id":193998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":193998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:13:30] local.INFO: TCP Data received {"connection_id":195334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:30] local.INFO: Processing buffer {"connection_id":195334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:30] local.INFO: IMEI packet received {"connection_id":195334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":195334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:13:31] local.INFO: TCP Data received {"connection_id":193996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:31] local.INFO: Processing buffer {"connection_id":193996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:13:31] local.INFO: Packet analysis {"connection_id":193996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:13:31] local.INFO: Extracted packet for processing {"connection_id":193996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:13:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 19:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 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-25 19:13: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-25 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:13: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-25 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-25 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-25 19:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:13:31] 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":896965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:31] local.INFO: GPS data processed {"connection_id":193996,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:31] local.INFO: Acknowledgment sent {"connection_id":193996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:35] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:35] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:13:35] local.INFO: IMEI packet received {"connection_id":193998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":193998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:13:35] local.INFO: TCP Data received {"connection_id":195334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:35] local.INFO: Processing buffer {"connection_id":195334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:13:35] local.INFO: IMEI packet received {"connection_id":195334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":195334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:13:36] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:36] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:36] local.INFO: Packet analysis {"connection_id":193998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:36] local.INFO: Extracted packet for processing {"connection_id":193998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":193998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":193998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":193998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:13: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-25 19:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:13:36] 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":896966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:36] local.INFO: GPS data processed {"connection_id":193998,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:36] local.INFO: Acknowledgment sent {"connection_id":193998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:36] local.INFO: TCP Data received {"connection_id":195334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:36] local.INFO: Processing buffer {"connection_id":195334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ca6938012d7f3c4005d338a0000000c92a..."} 
[2026-09-25 19:13:36] local.INFO: Packet analysis {"connection_id":195334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:13:36] local.INFO: Extracted packet for processing {"connection_id":195334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ca"} 
[2026-09-25 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":0,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327868928001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167991860205486080,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343539000,"timestamp_ms":1790343539000,"timestamp_seconds":1790343539,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ca6938"} 
[2026-09-25 19:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:36] 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-25 19:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327868928001,"66":12809,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9167991860205486080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327868928001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167991860205486080,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327868928001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9167991860205486080}} 
[2026-09-25 19:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":195334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:36] local.INFO: GPS data processed {"connection_id":195334,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:36] local.INFO: Acknowledgment sent {"connection_id":195334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:40] local.INFO: TCP Data received {"connection_id":193998,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:40] local.INFO: Processing buffer {"connection_id":193998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:13:40] local.INFO: Packet analysis {"connection_id":193998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:40] local.INFO: Extracted packet for processing {"connection_id":193998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19: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-25 19:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":193998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":193998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":193998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:13:40] 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":896968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:40] local.INFO: GPS data processed {"connection_id":193998,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:40] local.INFO: Acknowledgment sent {"connection_id":193998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:54] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:54] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:54] local.INFO: IMEI packet received {"connection_id":192628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":192628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:13:57] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:57] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:13:57] local.INFO: Packet analysis {"connection_id":192627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:13:57] local.INFO: Extracted packet for processing {"connection_id":192627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:13:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:13:57] 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-25 19:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:13:57] 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-25 19:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:13:57] 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-25 19:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192627,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:13:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:13:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":192627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896969,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:13:57] local.INFO: GPS data processed {"connection_id":192627,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:13:57] local.INFO: Acknowledgment sent {"connection_id":192627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:13:59] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:59] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:13:59] local.INFO: IMEI packet received {"connection_id":192628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":192628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:14:00] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:00] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:00] local.INFO: Packet analysis {"connection_id":192628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:14:00] local.INFO: Extracted packet for processing {"connection_id":192628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:14:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19: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-25 19:14:00] 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-25 19:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:14:00] 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-25 19: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-25 19: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-25 19:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:14:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:14:00] 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":896970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:14:00] local.INFO: GPS data processed {"connection_id":192628,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:14:00] local.INFO: Acknowledgment sent {"connection_id":192628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:14:24] local.INFO: TCP Data received {"connection_id":195336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:24] local.INFO: Processing buffer {"connection_id":195336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:24] local.INFO: IMEI packet received {"connection_id":195336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":195336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:14:28] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:28] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:28] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:14:30] local.INFO: TCP Data received {"connection_id":195336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:30] local.INFO: Processing buffer {"connection_id":195336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:14:30] local.INFO: IMEI packet received {"connection_id":195336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":195336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:14:31] local.INFO: TCP Data received {"connection_id":195336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:14:31] local.INFO: Processing buffer {"connection_id":195336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:14:31] local.INFO: Packet analysis {"connection_id":195336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:14:31] local.INFO: Extracted packet for processing {"connection_id":195336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14: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-25 19:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19: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-25 19:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:14:31] local.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-25 19:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:14: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-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":195336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:14:31] local.INFO: GPS data processed {"connection_id":195336,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:14:31] local.INFO: Acknowledgment sent {"connection_id":195336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:14:31] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:31] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:14:31] local.INFO: Packet analysis {"connection_id":192628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:14:31] local.INFO: Extracted packet for processing {"connection_id":192628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:14:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19: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-25 19:14: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-25 19: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":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:14: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-25 19: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-25 19: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-25 19:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:14:31] 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":896972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:14:31] local.INFO: GPS data processed {"connection_id":192628,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:14:31] local.INFO: Acknowledgment sent {"connection_id":192628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:14:34] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:34] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:34] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:14:35] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:35] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:35] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:14:40] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:40] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:14:40] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:14:41] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:41] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:41] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:14:41] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:41] 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-25 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19: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-25 19:14:41] 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-25 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:14:41] 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-25 19: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-25 19: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-25 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:14:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:14:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:14:41] 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":896973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:14:41] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:14:41] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:14:42] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:42] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:14:42] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:14:42] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:14: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-25 19:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:14:42] 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-25 19:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:14:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:14:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:14:43] 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":896974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:14:43] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:14:43] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:14:54] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:54] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:54] local.INFO: IMEI packet received {"connection_id":193999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":193999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:14:59] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:59] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:14:59] local.INFO: IMEI packet received {"connection_id":193999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":193999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:15:00] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:00] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:00] local.INFO: Packet analysis {"connection_id":193999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:15:00] local.INFO: Extracted packet for processing {"connection_id":193999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:15:00] 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-25 19:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:15:00] 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-25 19:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":193999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":193999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":193999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:15:00] 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":896975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:00] local.INFO: GPS data processed {"connection_id":193999,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:00] local.INFO: Acknowledgment sent {"connection_id":193999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:02] local.INFO: TCP Data received {"connection_id":195336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:02] local.INFO: Processing buffer {"connection_id":195336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:02] local.INFO: Packet analysis {"connection_id":195336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:15:02] local.INFO: Extracted packet for processing {"connection_id":195336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15: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-25 19:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:15: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-25 19:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":195336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:02] local.INFO: GPS data processed {"connection_id":195336,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:02] local.INFO: Acknowledgment sent {"connection_id":195336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:17] local.INFO: TCP Data received {"connection_id":195337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:17] local.INFO: Processing buffer {"connection_id":195337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:17] local.INFO: IMEI packet received {"connection_id":195337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":195337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:15:23] local.INFO: TCP Data received {"connection_id":195337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:23] local.INFO: Processing buffer {"connection_id":195337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:15:23] local.INFO: IMEI packet received {"connection_id":195337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":195337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:15:23] local.INFO: TCP Data received {"connection_id":195337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:23] local.INFO: Processing buffer {"connection_id":195337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:23] local.INFO: Packet analysis {"connection_id":195337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:15:23] local.INFO: Extracted packet for processing {"connection_id":195337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:23] 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-25 19:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:15:23] 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-25 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:15:23] 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-25 19:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:15:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":195337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:24] local.INFO: GPS data processed {"connection_id":195337,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:24] local.INFO: Acknowledgment sent {"connection_id":195337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:25] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:25] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:25] local.INFO: IMEI packet received {"connection_id":194000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":194000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:15:28] local.INFO: TCP Data received {"connection_id":195337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:28] local.INFO: Processing buffer {"connection_id":195337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:15:28] local.INFO: Packet analysis {"connection_id":195337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:15:28] local.INFO: Extracted packet for processing {"connection_id":195337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:28] 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-25 19:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19: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-25 19:15:28] 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-25 19: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:15: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-25 19: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-25 19: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-25 19:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:15:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":195337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:28] local.INFO: GPS data processed {"connection_id":195337,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:28] local.INFO: Acknowledgment sent {"connection_id":195337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:30] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:30] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:15:30] local.INFO: IMEI packet received {"connection_id":194000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":194000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:15:31] local.INFO: TCP Data received {"connection_id":193999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":193999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:31] local.INFO: Processing buffer {"connection_id":193999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:15:31] local.INFO: Packet analysis {"connection_id":193999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:15:31] local.INFO: Extracted packet for processing {"connection_id":193999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:15:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19: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-25 19:15: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-25 19: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":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:15: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-25 19: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-25 19: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-25 19:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":193999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":193999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":193999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:15:31] 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":896979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:31] local.INFO: GPS data processed {"connection_id":193999,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:31] local.INFO: Acknowledgment sent {"connection_id":193999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:31] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:31] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:15:31] local.INFO: Packet analysis {"connection_id":194000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:15:31] local.INFO: Extracted packet for processing {"connection_id":194000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:15: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-25 19:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19: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-25 19:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:15: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-25 19:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:15:31] 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":896980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:15:31] local.INFO: GPS data processed {"connection_id":194000,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:15:31] local.INFO: Acknowledgment sent {"connection_id":194000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:15:53] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:53] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:53] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:15:59] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:59] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:15:59] local.INFO: IMEI packet received {"connection_id":192466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":192466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:16:00] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:00] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:00] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:16:00] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16:00] 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-25 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:16:00] 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-25 19:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:16:00] local.INFO: TCP Data received {"connection_id":195337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:00] local.INFO: Processing buffer {"connection_id":195337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:00] local.INFO: Packet analysis {"connection_id":195337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:16:00] local.INFO: Extracted packet for processing {"connection_id":195337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:00] 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-25 19:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16:00] 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-25 19:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:16:00] 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-25 19:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:16:00] 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":896981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:00] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:00] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":195337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:00] local.INFO: GPS data processed {"connection_id":195337,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:00] local.INFO: Acknowledgment sent {"connection_id":195337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:03] local.INFO: TCP Data received {"connection_id":194000,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:03] local.INFO: Processing buffer {"connection_id":194000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:03] local.INFO: Packet analysis {"connection_id":194000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:16:03] local.INFO: Extracted packet for processing {"connection_id":194000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16: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-25 19:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:16: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-25 19:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:16:03] 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":896983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:03] local.INFO: GPS data processed {"connection_id":194000,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:03] local.INFO: Acknowledgment sent {"connection_id":194000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:17] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:17] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:17] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:16:22] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:22] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:16:22] local.INFO: IMEI packet received {"connection_id":192467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":192467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:16:24] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:24] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:24] local.INFO: IMEI packet received {"connection_id":192630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":192630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:16:30] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:30] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:16:30] local.INFO: IMEI packet received {"connection_id":192630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":192630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:16:31] local.INFO: TCP Data received {"connection_id":192466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:31] local.INFO: Processing buffer {"connection_id":192466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:16:31] local.INFO: Packet analysis {"connection_id":192466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:16:31] local.INFO: Extracted packet for processing {"connection_id":192466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16: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-25 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:16: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-25 19:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:16:31] 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":896984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:31] local.INFO: GPS data processed {"connection_id":192466,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:31] local.INFO: Acknowledgment sent {"connection_id":192466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:31] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:31] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cc22a0012d34c14006aa49080008006e2c..."} 
[2026-09-25 19:16:31] local.INFO: Packet analysis {"connection_id":192630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:16:31] local.INFO: Extracted packet for processing {"connection_id":192630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cc"} 
[2026-09-25 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327897856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16: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-25 19:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343652000,"timestamp_ms":1790343652000,"timestamp_seconds":1790343652,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cc22a0"} 
[2026-09-25 19:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:16:31] local.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-25 19:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327897856001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327897856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:16: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-25 19:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327897856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":192630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:31] local.INFO: GPS data processed {"connection_id":192630,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:31] local.INFO: Acknowledgment sent {"connection_id":192630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:36] local.INFO: TCP Data received {"connection_id":192467,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:36] local.INFO: Processing buffer {"connection_id":192467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:16:36] local.INFO: Packet analysis {"connection_id":192467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:16:36] local.INFO: Extracted packet for processing {"connection_id":192467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:16:36] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:16:36] 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-25 19:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:16:36] 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-25 19:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:16:36] 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-25 19:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:16:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:16:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:16:36] 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":896986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:16:36] local.INFO: GPS data processed {"connection_id":192467,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:16:36] local.INFO: Acknowledgment sent {"connection_id":192467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:16:53] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:53] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:53] local.INFO: IMEI packet received {"connection_id":194002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":194002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:16:59] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:59] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:16:59] local.INFO: IMEI packet received {"connection_id":194002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":194002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:17:00] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:17:00] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cd0918012d07ca000725e800000e00e128..."} 
[2026-09-25 19:17:00] local.INFO: Packet analysis {"connection_id":194002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:17:00] local.INFO: Extracted packet for processing {"connection_id":194002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cd"} 
[2026-09-25 19:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327912960001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790343711000,"timestamp_ms":1790343711000,"timestamp_seconds":1790343711,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cd0918"} 
[2026-09-25 19: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-25 19:17:00] 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-25 19: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":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:17:00] 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-25 19: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-25 19: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-25 19:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327912960001,"66":2155,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327912960001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327912960001,"power":2155,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:17:00] 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":896987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:00] local.INFO: GPS data processed {"connection_id":194002,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:00] local.INFO: Acknowledgment sent {"connection_id":194002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:03] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:03] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:03] local.INFO: Packet analysis {"connection_id":192630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:17:03] local.INFO: Extracted packet for processing {"connection_id":192630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17: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-25 19:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:17: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-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":192630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":896988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:03] local.INFO: GPS data processed {"connection_id":192630,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:03] local.INFO: Acknowledgment sent {"connection_id":192630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:22] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:22] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:22] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:17:24] local.INFO: TCP Data received {"connection_id":195338,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:17:24] local.INFO: Processing buffer {"connection_id":195338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:17:24] local.INFO: IMEI packet received {"connection_id":195338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":195338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:17:25] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:25] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:25] local.INFO: IMEI packet received {"connection_id":192469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":192469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:17:27] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:27] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:17:27] local.INFO: IMEI packet received {"connection_id":192468,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":192468,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:17:28] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:28] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:28] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:17:28] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:17:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:28] 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-25 19:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:17:28] 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-25 19:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19: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-25 19:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:17:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:17:29] 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":896989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:29] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:29] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:30] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:30] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:17:30] local.INFO: IMEI packet received {"connection_id":192469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":192469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:17:31] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:31] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:17:31] local.INFO: Packet analysis {"connection_id":192469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:17:31] local.INFO: Extracted packet for processing {"connection_id":192469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17: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-25 19:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:17:31] local.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-25 19:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:17: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-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:17:31] 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":896990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:31] local.INFO: GPS data processed {"connection_id":192469,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:31] local.INFO: Acknowledgment sent {"connection_id":192469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:31] local.INFO: TCP Data received {"connection_id":194002,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:17:31] local.INFO: Processing buffer {"connection_id":194002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:17:31] local.INFO: Packet analysis {"connection_id":194002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:17:31] local.INFO: Extracted packet for processing {"connection_id":194002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:17:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:17:31] 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-25 19:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:17: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-25 19:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:17:31] 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":896991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:31] local.INFO: GPS data processed {"connection_id":194002,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:31] local.INFO: Acknowledgment sent {"connection_id":194002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:36] local.INFO: TCP Data received {"connection_id":192468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:36] local.INFO: Processing buffer {"connection_id":192468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ce2e10012d0b10c007029f10000f013d1d..."} 
[2026-09-25 19:17:36] local.INFO: Packet analysis {"connection_id":192468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:17:36] local.INFO: Extracted packet for processing {"connection_id":192468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:17:36] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327932160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:17:36] 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-25 19:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343786000,"timestamp_ms":1790343786000,"timestamp_seconds":1790343786,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ce2e10"} 
[2026-09-25 19:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:17:36] 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-25 19:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 19:17:36] 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-25 19:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192468,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327932160001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327932160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:17:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:17:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327932160001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:17:36] 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":896992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:17:36] local.INFO: GPS data processed {"connection_id":192468,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:17:36] local.INFO: Acknowledgment sent {"connection_id":192468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:17:59] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:17:59] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:17:59] local.INFO: IMEI packet received {"connection_id":194003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":194003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:03] local.INFO: TCP Data received {"connection_id":192469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:03] local.INFO: Processing buffer {"connection_id":192469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:03] local.INFO: Packet analysis {"connection_id":192469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:18:03] local.INFO: Extracted packet for processing {"connection_id":192469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18: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-25 19:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:18: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-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:18:03] 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":896993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:03] local.INFO: GPS data processed {"connection_id":192469,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:03] local.INFO: Acknowledgment sent {"connection_id":192469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:03] local.INFO: TCP Data received {"connection_id":194004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:18:03] local.INFO: Processing buffer {"connection_id":194004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:18:03] local.INFO: IMEI packet received {"connection_id":194004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":194004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:04] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:04] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:04] local.INFO: IMEI packet received {"connection_id":194003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":194003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:18:05] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:05] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:05] local.INFO: Packet analysis {"connection_id":194003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:18:05] local.INFO: Extracted packet for processing {"connection_id":194003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19: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-25 19:18:05] 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-25 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:18:05] 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":896994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:05] local.INFO: GPS data processed {"connection_id":194003,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:05] local.INFO: Acknowledgment sent {"connection_id":194003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:17] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:17] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:17] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:22] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:22] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:18:22] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:18:23] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:23] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:23] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:18:23] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:23] 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-25 19:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:23] 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-25 19:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:18: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-25 19:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:18:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:18:23] 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":896995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:23] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:23] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:24] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:24] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:24] local.INFO: IMEI packet received {"connection_id":192632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":192632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:30] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:30] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:18:30] local.INFO: IMEI packet received {"connection_id":192632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":192632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:18:31] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:31] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:18:31] local.INFO: Packet analysis {"connection_id":192632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:18:31] local.INFO: Extracted packet for processing {"connection_id":192632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18: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-25 19:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:18:31] local.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-25 19:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:18:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:18: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-25 19:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:18:31] 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":896996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:31] local.INFO: GPS data processed {"connection_id":192632,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:31] local.INFO: Acknowledgment sent {"connection_id":192632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:36] local.INFO: TCP Data received {"connection_id":194003,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:36] local.INFO: Processing buffer {"connection_id":194003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:18:36] local.INFO: Packet analysis {"connection_id":194003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:18:36] local.INFO: Extracted packet for processing {"connection_id":194003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:36] 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-25 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:18:36] 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":896997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:36] local.INFO: GPS data processed {"connection_id":194003,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:36] local.INFO: Acknowledgment sent {"connection_id":194003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:40] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:40] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:40] local.INFO: IMEI packet received {"connection_id":192633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":192633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:45] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:45] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:18:45] local.INFO: IMEI packet received {"connection_id":192633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":192633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:18:47] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cef160012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cef160012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:18:47] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cef160012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:18:47] local.INFO: Packet analysis {"connection_id":192633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:18:47] local.INFO: Extracted packet for processing {"connection_id":192633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ce"} 
[2026-09-25 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1790343836000,"timestamp_ms":1790343836000,"timestamp_seconds":1790343836,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cef160"} 
[2026-09-25 19:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":192633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":192633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":192633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":12765,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:18:47] 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":896998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:47] local.INFO: GPS data processed {"connection_id":192633,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:47] local.INFO: Acknowledgment sent {"connection_id":192633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:54] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:54] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:54] local.INFO: IMEI packet received {"connection_id":192634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":192634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:18:55] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:55] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:18:55] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:18:55] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:18:55] 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-25 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:18:55] 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-25 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:18:55] 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-25 19:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:18:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:18:55] 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":896999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:18:55] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:18:55] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:18:59] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:59] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:18:59] local.INFO: IMEI packet received {"connection_id":192634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":192634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:18:59] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:00] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:00] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:19:00] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:19:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19: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-25 19:19: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-25 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:19: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-25 19: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-25 19: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-25 19:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:00] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:00] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:03] local.INFO: TCP Data received {"connection_id":192632,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:03] local.INFO: Processing buffer {"connection_id":192632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:03] local.INFO: Packet analysis {"connection_id":192632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:19:03] local.INFO: Extracted packet for processing {"connection_id":192632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19: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-25 19:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:19:03] local.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-25 19:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:19: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-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:19:03] 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":897001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:03] local.INFO: GPS data processed {"connection_id":192632,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:03] local.INFO: Acknowledgment sent {"connection_id":192632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:17] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:17] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:17] local.INFO: IMEI packet received {"connection_id":194005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":194005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:19:24] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:24] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:24] local.INFO: IMEI packet received {"connection_id":194005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":194005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:19:25] local.INFO: TCP Data received {"connection_id":195340,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:25] local.INFO: Processing buffer {"connection_id":195340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:25] local.INFO: IMEI packet received {"connection_id":195340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":195340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:19:30] local.INFO: TCP Data received {"connection_id":195340,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:30] local.INFO: Processing buffer {"connection_id":195340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:19:30] local.INFO: IMEI packet received {"connection_id":195340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":195340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:19:30] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:30] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:19:30] local.INFO: IMEI packet received {"connection_id":194005,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":194005,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:19:30] local.INFO: TCP Data received {"connection_id":195341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:30] local.INFO: Processing buffer {"connection_id":195341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:30] local.INFO: IMEI packet received {"connection_id":195341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":195341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:19:31] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:31] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:19:31] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:19:31] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:19:31] 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-25 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:19: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-25 19:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:19:31] local.INFO: TCP Data received {"connection_id":195340,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:31] local.INFO: Processing buffer {"connection_id":195340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:19:31] local.INFO: Packet analysis {"connection_id":195340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:19:31] local.INFO: Extracted packet for processing {"connection_id":195340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19: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-25 19:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:19: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-25 19:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":195340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:31] local.INFO: GPS data processed {"connection_id":195340,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:31] local.INFO: Acknowledgment sent {"connection_id":195340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:31] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:31] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:35] local.INFO: TCP Data received {"connection_id":195341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:35] local.INFO: Processing buffer {"connection_id":195341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:19:35] local.INFO: IMEI packet received {"connection_id":195341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":195341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:19:36] local.INFO: TCP Data received {"connection_id":195341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:19:36] local.INFO: Processing buffer {"connection_id":195341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:19:36] local.INFO: Packet analysis {"connection_id":195341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:19:36] local.INFO: Extracted packet for processing {"connection_id":195341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19: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-25 19:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:19:36] 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-25 19: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-25 19: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-25 19:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":195341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:36] local.INFO: GPS data processed {"connection_id":195341,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:36] local.INFO: Acknowledgment sent {"connection_id":195341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:40] local.INFO: TCP Data received {"connection_id":194005,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:19:40] local.INFO: Processing buffer {"connection_id":194005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:19:40] local.INFO: Packet analysis {"connection_id":194005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:19:40] local.INFO: Extracted packet for processing {"connection_id":194005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:19:40] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:19: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-25 19:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:19:40] 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-25 19:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:19:40] 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-25 19:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194005,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:19:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:19:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:19:40] 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":897005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:19:40] local.INFO: GPS data processed {"connection_id":194005,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:19:40] local.INFO: Acknowledgment sent {"connection_id":194005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:19:54] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:54] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:54] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:19:59] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:59] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:19:59] local.INFO: IMEI packet received {"connection_id":192470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":192470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:20:00] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:00] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:00] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:20:00] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:20:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19: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-25 19:20: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-25 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:20: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-25 19: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-25 19: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-25 19:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:20:00] 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":897006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:00] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:00] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:03] local.INFO: TCP Data received {"connection_id":195340,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:03] local.INFO: Processing buffer {"connection_id":195340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:03] local.INFO: Packet analysis {"connection_id":195340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:20:03] local.INFO: Extracted packet for processing {"connection_id":195340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20: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-25 19:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:20: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-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":195340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:03] local.INFO: GPS data processed {"connection_id":195340,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:03] local.INFO: Acknowledgment sent {"connection_id":195340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:07] local.INFO: TCP Data received {"connection_id":195341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:07] local.INFO: Processing buffer {"connection_id":195341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:07] local.INFO: Packet analysis {"connection_id":195341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:07] local.INFO: Extracted packet for processing {"connection_id":195341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19: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-25 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:07] 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-25 19: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-25 19: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-25 19:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":195341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:07] local.INFO: GPS data processed {"connection_id":195341,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:07] local.INFO: Acknowledgment sent {"connection_id":195341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:22] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:22] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:22] local.INFO: IMEI packet received {"connection_id":192471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":192471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:20:24] local.INFO: TCP Data received {"connection_id":194007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:24] local.INFO: Processing buffer {"connection_id":194007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:24] local.INFO: IMEI packet received {"connection_id":194007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":194007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:20:30] local.INFO: TCP Data received {"connection_id":194007,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:30] local.INFO: Processing buffer {"connection_id":194007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:20:30] local.INFO: IMEI packet received {"connection_id":194007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":194007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:20:31] local.INFO: TCP Data received {"connection_id":192470,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:31] local.INFO: Processing buffer {"connection_id":192470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:20:31] local.INFO: Packet analysis {"connection_id":192470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:20:31] local.INFO: Extracted packet for processing {"connection_id":192470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 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-25 19:20:31] 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-25 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:20: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-25 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-25 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-25 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:20:31] local.INFO: TCP Data received {"connection_id":194007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:31] local.INFO: Processing buffer {"connection_id":194007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:20:31] local.INFO: Packet analysis {"connection_id":194007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:20:31] local.INFO: Extracted packet for processing {"connection_id":194007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20: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-25 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 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-25 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:20:31] local.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-25 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:20: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-25 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":194007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:31] local.INFO: GPS data processed {"connection_id":194007,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:31] local.INFO: Acknowledgment sent {"connection_id":194007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:31] 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":897010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:31] local.INFO: GPS data processed {"connection_id":192470,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:31] local.INFO: Acknowledgment sent {"connection_id":192470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:35] local.INFO: TCP Data received {"connection_id":195342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:35] local.INFO: Processing buffer {"connection_id":195342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:35] local.INFO: IMEI packet received {"connection_id":195342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":195342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:20:40] local.INFO: TCP Data received {"connection_id":195342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:40] local.INFO: Processing buffer {"connection_id":195342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:20:40] local.INFO: IMEI packet received {"connection_id":195342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":195342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:20:41] local.INFO: TCP Data received {"connection_id":195342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:41] local.INFO: Processing buffer {"connection_id":195342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:41] local.INFO: Packet analysis {"connection_id":195342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:41] local.INFO: Extracted packet for processing {"connection_id":195342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:41] 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-25 19:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":195342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:41] local.INFO: GPS data processed {"connection_id":195342,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:41] local.INFO: Acknowledgment sent {"connection_id":195342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:46] local.INFO: TCP Data received {"connection_id":195342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:46] local.INFO: Processing buffer {"connection_id":195342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:20:46] local.INFO: Packet analysis {"connection_id":195342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:46] local.INFO: Extracted packet for processing {"connection_id":195342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:46] 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-25 19:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":195342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":195342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":195342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":195342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:46] local.INFO: GPS data processed {"connection_id":195342,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:46] local.INFO: Acknowledgment sent {"connection_id":195342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:53] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:53] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:53] local.INFO: IMEI packet received {"connection_id":192635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":192635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:20:56] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:56] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:20:56] local.INFO: IMEI packet received {"connection_id":192471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":192471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:20:58] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:58] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:58] local.INFO: Packet analysis {"connection_id":192471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:20:58] local.INFO: Extracted packet for processing {"connection_id":192471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:58] 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-25 19:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:20:58] 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-25 19:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:20: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-25 19:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:20:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:20:59] 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":897013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:20:59] local.INFO: GPS data processed {"connection_id":192471,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:20:59] local.INFO: Acknowledgment sent {"connection_id":192471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:20:59] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:59] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:20:59] local.INFO: IMEI packet received {"connection_id":192635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":192635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:20:59] local.INFO: TCP Data received {"connection_id":192471,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:59] local.INFO: Processing buffer {"connection_id":192471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:20:59] local.INFO: Packet analysis {"connection_id":192471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:20:59] local.INFO: Extracted packet for processing {"connection_id":192471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:20:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:20:59] 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-25 19:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:20:59] 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-25 19:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:20:59] 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-25 19:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:20:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:20:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:21:00] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:00] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:00] local.INFO: Packet analysis {"connection_id":192635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:21:00] local.INFO: Extracted packet for processing {"connection_id":192635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:21:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:21: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-25 19:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:21: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-25 19:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:21:00] 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":897014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:00] local.INFO: GPS data processed {"connection_id":192471,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:00] local.INFO: Acknowledgment sent {"connection_id":192471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":192635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:00] local.INFO: GPS data processed {"connection_id":192635,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:00] local.INFO: Acknowledgment sent {"connection_id":192635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:02] local.INFO: TCP Data received {"connection_id":194007,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:21:02] local.INFO: Processing buffer {"connection_id":194007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d0ba68012d34c14006aa4908000c006e2e..."} 
[2026-09-25 19:21:02] local.INFO: Packet analysis {"connection_id":194007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:21:02] local.INFO: Extracted packet for processing {"connection_id":194007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d0"} 
[2026-09-25 19:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":12,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327974912001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21: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-25 19:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790343953000,"timestamp_ms":1790343953000,"timestamp_seconds":1790343953,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d0ba68"} 
[2026-09-25 19:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327974912001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327974912001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:21: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-25 19:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327974912001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":194007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:02] local.INFO: GPS data processed {"connection_id":194007,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:02] local.INFO: Acknowledgment sent {"connection_id":194007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:19] local.INFO: TCP Data received {"connection_id":195343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:19] local.INFO: Processing buffer {"connection_id":195343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:19] local.INFO: IMEI packet received {"connection_id":195343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":195343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:21:22] local.INFO: TCP Data received {"connection_id":195343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:22] local.INFO: Processing buffer {"connection_id":195343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:21:22] local.INFO: IMEI packet received {"connection_id":195343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":195343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:21:23] local.INFO: TCP Data received {"connection_id":195343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:23] local.INFO: Processing buffer {"connection_id":195343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:23] local.INFO: Packet analysis {"connection_id":195343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:21:23] local.INFO: Extracted packet for processing {"connection_id":195343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:23] 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-25 19:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:21:23] 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-25 19:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:21: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-25 19:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:21: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-25 19:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:21:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":195343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:23] local.INFO: GPS data processed {"connection_id":195343,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:23] local.INFO: Acknowledgment sent {"connection_id":195343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:30] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:30] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:30] local.INFO: IMEI packet received {"connection_id":192473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":192473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:21:30] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:30] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:30] local.INFO: IMEI packet received {"connection_id":194008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":194008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:21:31] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:31] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:21:31] local.INFO: Packet analysis {"connection_id":192635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:21:31] local.INFO: Extracted packet for processing {"connection_id":192635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:21:31] 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-25 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:21: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-25 19:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":192635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:31] local.INFO: GPS data processed {"connection_id":192635,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:31] local.INFO: Acknowledgment sent {"connection_id":192635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:33] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:33] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:21:33] local.INFO: IMEI packet received {"connection_id":192473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":192473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:21:34] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:34] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:34] local.INFO: Packet analysis {"connection_id":192473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:21:34] local.INFO: Extracted packet for processing {"connection_id":192473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 19:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 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-25 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21: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-25 19:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 19:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:21:34] 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":897019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:34] local.INFO: GPS data processed {"connection_id":192473,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:34] local.INFO: Acknowledgment sent {"connection_id":192473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:35] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:35] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:21:35] local.INFO: IMEI packet received {"connection_id":194008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":194008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:21:36] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:36] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:21:36] local.INFO: Packet analysis {"connection_id":192473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:21:36] local.INFO: Extracted packet for processing {"connection_id":192473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19: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-25 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:21: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-25 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:21:36] 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":897020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:36] local.INFO: GPS data processed {"connection_id":192473,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:36] local.INFO: Acknowledgment sent {"connection_id":192473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:36] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:21:36] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:21:36] local.INFO: Packet analysis {"connection_id":194008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:21:36] local.INFO: Extracted packet for processing {"connection_id":194008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19: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-25 19:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:21:36] 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-25 19: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-25 19: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-25 19:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:21:36] 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":897021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:36] local.INFO: GPS data processed {"connection_id":194008,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:36] local.INFO: Acknowledgment sent {"connection_id":194008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:41] local.INFO: TCP Data received {"connection_id":195343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:41] local.INFO: Processing buffer {"connection_id":195343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:21:41] local.INFO: Packet analysis {"connection_id":195343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:21:41] local.INFO: Extracted packet for processing {"connection_id":195343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:21:41] 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-25 19:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19: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-25 19:21:41] 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-25 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:21:41] 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-25 19:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19: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-25 19:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195343,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:21: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-25 19:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:21:41] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:21:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":195343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:21:41] local.INFO: GPS data processed {"connection_id":195343,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:21:41] local.INFO: Acknowledgment sent {"connection_id":195343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:21:53] local.INFO: TCP Data received {"connection_id":194009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:53] local.INFO: Processing buffer {"connection_id":194009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:53] local.INFO: IMEI packet received {"connection_id":194009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":194009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:21:59] local.INFO: TCP Data received {"connection_id":194009,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:59] local.INFO: Processing buffer {"connection_id":194009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:21:59] local.INFO: IMEI packet received {"connection_id":194009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":194009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:22:00] local.INFO: TCP Data received {"connection_id":194009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:00] local.INFO: Processing buffer {"connection_id":194009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:00] local.INFO: Packet analysis {"connection_id":194009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:22:00] local.INFO: Extracted packet for processing {"connection_id":194009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22: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-25 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:22: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-25 19:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:22:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":194009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:00] local.INFO: GPS data processed {"connection_id":194009,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:00] local.INFO: Acknowledgment sent {"connection_id":194009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:07] local.INFO: TCP Data received {"connection_id":194008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:07] local.INFO: Processing buffer {"connection_id":194008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:07] local.INFO: Packet analysis {"connection_id":194008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:22:07] local.INFO: Extracted packet for processing {"connection_id":194008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19: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-25 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:22:07] 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-25 19: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-25 19: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-25 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:22:08] 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":897024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:08] local.INFO: GPS data processed {"connection_id":194008,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:08] local.INFO: Acknowledgment sent {"connection_id":194008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:08] local.INFO: TCP Data received {"connection_id":192473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:08] local.INFO: Processing buffer {"connection_id":192473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:08] local.INFO: Packet analysis {"connection_id":192473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:22:08] local.INFO: Extracted packet for processing {"connection_id":192473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:22: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-25 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:22:08] 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":897025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:08] local.INFO: GPS data processed {"connection_id":192473,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:08] local.INFO: Acknowledgment sent {"connection_id":192473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:18] local.INFO: TCP Data received {"connection_id":194011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194011,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:18] local.INFO: Processing buffer {"connection_id":194011,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:18] local.INFO: IMEI packet received {"connection_id":194011,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":194011,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:22:22] local.INFO: TCP Data received {"connection_id":194011,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194011,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:22] local.INFO: Processing buffer {"connection_id":194011,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:22:22] local.INFO: IMEI packet received {"connection_id":194011,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":194011,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:22:23] local.INFO: TCP Data received {"connection_id":194011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:23] local.INFO: Processing buffer {"connection_id":194011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:23] local.INFO: Packet analysis {"connection_id":194011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:22:23] local.INFO: Extracted packet for processing {"connection_id":194011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:23] 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-25 19:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22:23] 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-25 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:22: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-25 19:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:22:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":194011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:23] local.INFO: GPS data processed {"connection_id":194011,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:23] local.INFO: Acknowledgment sent {"connection_id":194011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:24] local.INFO: TCP Data received {"connection_id":195344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:24] local.INFO: Processing buffer {"connection_id":195344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:24] local.INFO: IMEI packet received {"connection_id":195344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":195344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:22:30] local.INFO: TCP Data received {"connection_id":195344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:30] local.INFO: Processing buffer {"connection_id":195344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:22:30] local.INFO: IMEI packet received {"connection_id":195344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":195344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:22:31] local.INFO: TCP Data received {"connection_id":195344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:31] local.INFO: Processing buffer {"connection_id":195344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:22:31] local.INFO: Packet analysis {"connection_id":195344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:22:31] local.INFO: Extracted packet for processing {"connection_id":195344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22: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-25 19:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:22: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-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":195344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:31] local.INFO: GPS data processed {"connection_id":195344,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:31] local.INFO: Acknowledgment sent {"connection_id":195344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:31] local.INFO: TCP Data received {"connection_id":194009,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:31] local.INFO: Processing buffer {"connection_id":194009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d1a0e0012d07ca000725e800000e00e129..."} 
[2026-09-25 19:22:31] local.INFO: Packet analysis {"connection_id":194009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:22:31] local.INFO: Extracted packet for processing {"connection_id":194009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d1"} 
[2026-09-25 19:22:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458327990016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344012000,"timestamp_ms":1790344012000,"timestamp_seconds":1790344012,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d1a0e0"} 
[2026-09-25 19:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22:31] 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-25 19:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 19:22: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-25 19:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458327990016001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458327990016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458327990016001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":194009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:31] local.INFO: GPS data processed {"connection_id":194009,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:31] local.INFO: Acknowledgment sent {"connection_id":194009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:32] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:32] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:32] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:22:35] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:35] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:22:35] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:22:41] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:41] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:22:41] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:22:41] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19: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-25 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:22:41] 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-25 19: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-25 19: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-25 19:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:22:41] 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":897029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:41] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:41] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:55] local.INFO: TCP Data received {"connection_id":194011,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:55] local.INFO: Processing buffer {"connection_id":194011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d2c5d8012d0b10c007029f100012013d1d..."} 
[2026-09-25 19:22:55] local.INFO: Packet analysis {"connection_id":194011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:22:55] local.INFO: Extracted packet for processing {"connection_id":194011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d2"} 
[2026-09-25 19:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":18,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328009216001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:22:55] 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-25 19:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790344087000,"timestamp_ms":1790344087000,"timestamp_seconds":1790344087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d2c5d8"} 
[2026-09-25 19:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:22:55] 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-25 19:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:22:55] 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-25 19:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328009216001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328009216001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:22:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328009216001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":194011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:22:55] local.INFO: GPS data processed {"connection_id":194011,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:22:55] local.INFO: Acknowledgment sent {"connection_id":194011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:22:59] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:22:59] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:22:59] local.INFO: IMEI packet received {"connection_id":194012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":194012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:02] local.INFO: TCP Data received {"connection_id":195344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:02] local.INFO: Processing buffer {"connection_id":195344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:02] local.INFO: Packet analysis {"connection_id":195344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:23:02] local.INFO: Extracted packet for processing {"connection_id":195344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23: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-25 19:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:23: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-25 19:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":195344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:02] local.INFO: GPS data processed {"connection_id":195344,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:02] local.INFO: Acknowledgment sent {"connection_id":195344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:04] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:04] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:04] local.INFO: IMEI packet received {"connection_id":194012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":194012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:23:05] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:05] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:05] local.INFO: Packet analysis {"connection_id":194012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:23:05] local.INFO: Extracted packet for processing {"connection_id":194012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19: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-25 19:23:05] 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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:23:05] 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":897032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:05] local.INFO: GPS data processed {"connection_id":194012,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:05] local.INFO: Acknowledgment sent {"connection_id":194012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:12] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:23:12] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8cf0100012d7f3c4005d338a0000200c928..."} 
[2026-09-25 19:23:12] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:23:12] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8cf"} 
[2026-09-25 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":2,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328022016001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790343840000,"timestamp_ms":1790343840000,"timestamp_seconds":1790343840,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8cf0100"} 
[2026-09-25 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:12] 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-25 19:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328022016001,"66":4297,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328022016001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328022016001,"power":4297,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:23:12] 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":897033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:12] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:12] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:22] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:22] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:22] local.INFO: IMEI packet received {"connection_id":192475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":192475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:24] local.INFO: TCP Data received {"connection_id":195345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:24] local.INFO: Processing buffer {"connection_id":195345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:24] local.INFO: IMEI packet received {"connection_id":195345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":195345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:30] local.INFO: TCP Data received {"connection_id":195345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:30] local.INFO: Processing buffer {"connection_id":195345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:23:30] local.INFO: IMEI packet received {"connection_id":195345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":195345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:23:30] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:30] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:30] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:31] local.INFO: TCP Data received {"connection_id":195345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:31] local.INFO: Processing buffer {"connection_id":195345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:23:31] local.INFO: Packet analysis {"connection_id":195345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:23:31] local.INFO: Extracted packet for processing {"connection_id":195345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23: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-25 19:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:23:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:23: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-25 19:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":195345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:31] local.INFO: GPS data processed {"connection_id":195345,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:31] local.INFO: Acknowledgment sent {"connection_id":195345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:34] local.INFO: TCP Data received {"connection_id":192474,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:23:34] local.INFO: Processing buffer {"connection_id":192474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:23:34] local.INFO: IMEI packet received {"connection_id":192474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:36] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:36] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:23:36] local.INFO: IMEI packet received {"connection_id":192476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":192476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:23:36] local.INFO: TCP Data received {"connection_id":194012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:36] local.INFO: Processing buffer {"connection_id":194012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:23:36] local.INFO: Packet analysis {"connection_id":194012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:23:36] local.INFO: Extracted packet for processing {"connection_id":194012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19: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-25 19:23:36] 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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:23:36] 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":897035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:36] local.INFO: GPS data processed {"connection_id":194012,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:36] local.INFO: Acknowledgment sent {"connection_id":194012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:36] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:23:36] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:23:36] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:36] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:36] 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-25 19: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-25 19: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-25 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:23:36] 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":897036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:36] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:36] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:37] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:37] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:23:37] local.INFO: IMEI packet received {"connection_id":192475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":192475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:23:38] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:38] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:38] local.INFO: Packet analysis {"connection_id":192475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:38] local.INFO: Extracted packet for processing {"connection_id":192475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:38] 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-25 19:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:23:38] 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-25 19:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:38] 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-25 19:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:23:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:23:38] 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":897037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:38] local.INFO: GPS data processed {"connection_id":192475,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:38] local.INFO: Acknowledgment sent {"connection_id":192475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:39] local.INFO: TCP Data received {"connection_id":192475,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:39] local.INFO: Processing buffer {"connection_id":192475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:23:39] local.INFO: Packet analysis {"connection_id":192475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:39] local.INFO: Extracted packet for processing {"connection_id":192475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:23:39] 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-25 19:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19: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-25 19:23:39] 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-25 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:23:39] 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-25 19: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-25 19: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-25 19:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:23:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:23:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:23:39] 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":897038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:23:39] local.INFO: GPS data processed {"connection_id":192475,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:23:39] local.INFO: Acknowledgment sent {"connection_id":192475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:23:54] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:54] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:54] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:23:59] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:59] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:23:59] local.INFO: IMEI packet received {"connection_id":192477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":192477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:24:00] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:00] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:00] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:24:00] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:24: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-25 19:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:24: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-25 19:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:24:00] 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":897039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:00] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:00] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:04] local.INFO: TCP Data received {"connection_id":192478,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:24:04] local.INFO: Processing buffer {"connection_id":192478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:24:04] local.INFO: IMEI packet received {"connection_id":192478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":192478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:24:04] local.INFO: TCP Data received {"connection_id":195345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:04] local.INFO: Processing buffer {"connection_id":195345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:04] local.INFO: Packet analysis {"connection_id":195345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:24:04] local.INFO: Extracted packet for processing {"connection_id":195345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24: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-25 19:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:24: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-25 19:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:24: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-25 19:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":195345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:04] local.INFO: GPS data processed {"connection_id":195345,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:04] local.INFO: Acknowledgment sent {"connection_id":195345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:07] local.INFO: TCP Data received {"connection_id":192476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:07] local.INFO: Processing buffer {"connection_id":192476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:07] local.INFO: Packet analysis {"connection_id":192476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:07] local.INFO: Extracted packet for processing {"connection_id":192476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:24:07] 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-25 19: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-25 19: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-25 19:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:24:07] 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":897041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:07] local.INFO: GPS data processed {"connection_id":192476,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:07] local.INFO: Acknowledgment sent {"connection_id":192476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:17] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:17] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:17] local.INFO: IMEI packet received {"connection_id":192479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":192479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:24:24] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:24] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:24:24] local.INFO: IMEI packet received {"connection_id":192479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":192479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:24:24] local.INFO: TCP Data received {"connection_id":192479,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:24:24] local.INFO: Processing buffer {"connection_id":192479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:24:24] local.INFO: Packet analysis {"connection_id":192479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:24] local.INFO: Extracted packet for processing {"connection_id":192479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:24] 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-25 19:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:24:24] 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-25 19:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:24:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:24:25] 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":897042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:25] local.INFO: GPS data processed {"connection_id":192479,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:25] local.INFO: Acknowledgment sent {"connection_id":192479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:25] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:25] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:25] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:24:30] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:30] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:24:30] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:24:30] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:30] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:30] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:24:30] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:30] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:24:30] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:24:30] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:24:30] 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":897043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:30] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:30] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:31] local.INFO: TCP Data received {"connection_id":192477,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:31] local.INFO: Processing buffer {"connection_id":192477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:24:31] local.INFO: Packet analysis {"connection_id":192477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:24:31] local.INFO: Extracted packet for processing {"connection_id":192477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:24:31] 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-25 19:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:24: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-25 19:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:24:31] 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":897044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:31] local.INFO: GPS data processed {"connection_id":192477,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:31] local.INFO: Acknowledgment sent {"connection_id":192477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:35] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:35] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:24:35] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:24:36] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:36] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:24:36] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:36] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19: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-25 19:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:24:36] 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-25 19:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:24:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:24:36] 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":897045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:24:36] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:24:36] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:24:54] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:54] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:54] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:24:59] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:59] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:24:59] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:25:00] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:00] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:00] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:25:00] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:25: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-25 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:25: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-25 19:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:25:00] 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":897046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:00] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:00] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:02] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:02] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:02] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:25:02] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25: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-25 19:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:25: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-25 19:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:25:02] 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":897047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:02] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:02] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:07] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:07] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:07] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:07] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19: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-25 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:07] 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-25 19:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:25:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:25:08] 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":897048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:08] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:08] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:20] local.INFO: TCP Data received {"connection_id":195347,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:20] local.INFO: Processing buffer {"connection_id":195347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:20] local.INFO: IMEI packet received {"connection_id":195347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":195347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:25:22] local.INFO: TCP Data received {"connection_id":195347,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:22] local.INFO: Processing buffer {"connection_id":195347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:25:22] local.INFO: IMEI packet received {"connection_id":195347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":195347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:25:24] local.INFO: TCP Data received {"connection_id":195347,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:24] local.INFO: Processing buffer {"connection_id":195347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:24] local.INFO: Packet analysis {"connection_id":195347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:24] local.INFO: Extracted packet for processing {"connection_id":195347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:25: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-25 19:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:24] 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-25 19:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:25:24] 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-25 19:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:25: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-25 19:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:25:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":195347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897049,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:24] local.INFO: GPS data processed {"connection_id":195347,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:24] local.INFO: Acknowledgment sent {"connection_id":195347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:24] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:24] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:24] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:25:28] local.INFO: TCP Data received {"connection_id":195347,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:28] local.INFO: Processing buffer {"connection_id":195347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:25:28] local.INFO: Packet analysis {"connection_id":195347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:28] local.INFO: Extracted packet for processing {"connection_id":195347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:25: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-25 19:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:28] 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-25 19:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:25:28] 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-25 19:25: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:28] 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-25 19:25: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-25 19:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:25:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":195347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:28] local.INFO: GPS data processed {"connection_id":195347,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:28] local.INFO: Acknowledgment sent {"connection_id":195347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:30] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:30] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:25:30] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:25:30] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:30] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:30] local.INFO: IMEI packet received {"connection_id":192641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":192641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:25:31] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:31] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:25:31] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:25:31] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19: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-25 19:25:31] 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-25 19: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-25 19: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-25 19: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-25 19: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-25 19:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:25:31] 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":897051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:31] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:31] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:31] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:31] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:25:31] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:25:31] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25: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-25 19:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19: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-25 19:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:25: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-25 19:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:25:31] 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":897052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:31] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:31] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:36] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:36] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:25:36] local.INFO: IMEI packet received {"connection_id":192641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":192641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:25:37] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:37] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:25:37] local.INFO: Packet analysis {"connection_id":192641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:37] local.INFO: Extracted packet for processing {"connection_id":192641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:25:37] 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-25 19: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-25 19: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-25 19:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:25:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":192641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:25:37] local.INFO: GPS data processed {"connection_id":192641,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:25:37] local.INFO: Acknowledgment sent {"connection_id":192641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:25:53] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:53] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:53] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:25:59] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:59] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:25:59] local.INFO: IMEI packet received {"connection_id":192480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":192480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:26:00] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:00] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:00] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:26:00] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19: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-25 19:26: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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:26: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-25 19: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-25 19: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-25 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:26:00] 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":897054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:00] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:00] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:02] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:02] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d55230012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:02] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:26:02] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d5"} 
[2026-09-25 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328051968001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26: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-25 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790344254000,"timestamp_ms":1790344254000,"timestamp_seconds":1790344254,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d55230"} 
[2026-09-25 19:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328051968001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328051968001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:26: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-25 19:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328051968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:26:02] 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":897055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:02] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:02] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:08] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:08] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:08] local.INFO: Packet analysis {"connection_id":192641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:08] local.INFO: Extracted packet for processing {"connection_id":192641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:08] 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-25 19: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-25 19: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-25 19:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":192641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:08] local.INFO: GPS data processed {"connection_id":192641,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:08] local.INFO: Acknowledgment sent {"connection_id":192641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:18] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:18] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:18] local.INFO: IMEI packet received {"connection_id":194013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":194013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:26:24] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:24] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:26:24] local.INFO: IMEI packet received {"connection_id":194013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":194013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:26:25] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:25] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:25] local.INFO: Packet analysis {"connection_id":194013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:25] local.INFO: Extracted packet for processing {"connection_id":194013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:25] 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-25 19:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":194013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":194013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":194013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:26:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:26:25] 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":897057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:25] local.INFO: GPS data processed {"connection_id":194013,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:25] local.INFO: Acknowledgment sent {"connection_id":194013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:27] local.INFO: TCP Data received {"connection_id":194013,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:27] local.INFO: Processing buffer {"connection_id":194013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:26:27] local.INFO: Packet analysis {"connection_id":194013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:27] local.INFO: Extracted packet for processing {"connection_id":194013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:27] 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-25 19:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19: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-25 19:26: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-25 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:27] 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-25 19: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-25 19: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-25 19:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:26:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:26:28] 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":897058,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:28] local.INFO: GPS data processed {"connection_id":194013,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:28] local.INFO: Acknowledgment sent {"connection_id":194013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:30] local.INFO: TCP Data received {"connection_id":195349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:30] local.INFO: Processing buffer {"connection_id":195349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:30] local.INFO: IMEI packet received {"connection_id":195349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":195349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:26:31] local.INFO: TCP Data received {"connection_id":192480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:31] local.INFO: Processing buffer {"connection_id":192480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:26:31] local.INFO: Packet analysis {"connection_id":192480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:26:31] local.INFO: Extracted packet for processing {"connection_id":192480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:26:31] 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-25 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:26: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-25 19:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:26:31] 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":897059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:31] local.INFO: GPS data processed {"connection_id":192480,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:31] local.INFO: Acknowledgment sent {"connection_id":192480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:34] local.INFO: TCP Data received {"connection_id":195349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:34] local.INFO: Processing buffer {"connection_id":195349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:26:34] local.INFO: IMEI packet received {"connection_id":195349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":195349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:26:35] local.INFO: TCP Data received {"connection_id":195349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:35] local.INFO: Processing buffer {"connection_id":195349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:35] local.INFO: Packet analysis {"connection_id":195349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:26:35] local.INFO: Extracted packet for processing {"connection_id":195349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":195349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:35] local.INFO: GPS data processed {"connection_id":195349,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:35] local.INFO: Acknowledgment sent {"connection_id":195349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:35] local.INFO: TCP Data received {"connection_id":194014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:35] local.INFO: Processing buffer {"connection_id":194014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:35] local.INFO: IMEI packet received {"connection_id":194014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":194014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:26:36] local.INFO: TCP Data received {"connection_id":195349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:36] local.INFO: Processing buffer {"connection_id":195349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:26:36] local.INFO: Packet analysis {"connection_id":195349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:26:36] local.INFO: Extracted packet for processing {"connection_id":195349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:26: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-25 19:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:26:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":195349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:36] local.INFO: GPS data processed {"connection_id":195349,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:36] local.INFO: Acknowledgment sent {"connection_id":195349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:40] local.INFO: TCP Data received {"connection_id":194014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:40] local.INFO: Processing buffer {"connection_id":194014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:26:40] local.INFO: IMEI packet received {"connection_id":194014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":194014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:26:41] local.INFO: TCP Data received {"connection_id":194014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:41] local.INFO: Processing buffer {"connection_id":194014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:41] local.INFO: Packet analysis {"connection_id":194014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:41] local.INFO: Extracted packet for processing {"connection_id":194014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19:26: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":194014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":194014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":194014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":194014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:41] local.INFO: GPS data processed {"connection_id":194014,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:41] local.INFO: Acknowledgment sent {"connection_id":194014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:46] local.INFO: TCP Data received {"connection_id":194014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:46] local.INFO: Processing buffer {"connection_id":194014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:26:46] local.INFO: Packet analysis {"connection_id":194014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:46] local.INFO: Extracted packet for processing {"connection_id":194014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19: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-25 19: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-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:26: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-25 19: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-25 19: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-25 19:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:26:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":194014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:26:46] local.INFO: GPS data processed {"connection_id":194014,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:26:46] local.INFO: Acknowledgment sent {"connection_id":194014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:26:59] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:26:59] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:26:59] local.INFO: IMEI packet received {"connection_id":192642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":192642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:27:04] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:04] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:04] local.INFO: IMEI packet received {"connection_id":192642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":192642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:27:05] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:05] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:05] local.INFO: Packet analysis {"connection_id":192642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:27:05] local.INFO: Extracted packet for processing {"connection_id":192642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19: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-25 19:27:05] 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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19: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-25 19: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-25 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":192642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:05] local.INFO: GPS data processed {"connection_id":192642,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:05] local.INFO: Acknowledgment sent {"connection_id":192642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:08] local.INFO: TCP Data received {"connection_id":195349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:08] local.INFO: Processing buffer {"connection_id":195349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:08] local.INFO: Packet analysis {"connection_id":195349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:27:08] local.INFO: Extracted packet for processing {"connection_id":195349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:27: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-25 19:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":195349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:08] local.INFO: GPS data processed {"connection_id":195349,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:08] local.INFO: Acknowledgment sent {"connection_id":195349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:09] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:09] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d638a8012d07ca000725e800000e00e129..."} 
[2026-09-25 19:27:09] local.INFO: Packet analysis {"connection_id":192642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:27:09] local.INFO: Extracted packet for processing {"connection_id":192642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d6"} 
[2026-09-25 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328067072001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790344313000,"timestamp_ms":1790344313000,"timestamp_seconds":1790344313,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d638a8"} 
[2026-09-25 19:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:27:09] 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-25 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328067072001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328067072001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:09] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328067072001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":192642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:09] local.INFO: GPS data processed {"connection_id":192642,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:09] local.INFO: Acknowledgment sent {"connection_id":192642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:17] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:17] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:17] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:27:24] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:24] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:27:24] local.INFO: IMEI packet received {"connection_id":192481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:27:24] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:24] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:24] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:27:25] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:25] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:25] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:25] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:25] 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-25 19:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:27:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:27:25] 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":897067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:25] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:25] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:30] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:30] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:27:30] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:27:30] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:30] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:30] local.INFO: IMEI packet received {"connection_id":194016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":194016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:27:31] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:31] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:27:31] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:27:31] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27: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-25 19:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 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-25 19:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:27: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-25 19:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:27: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-25 19:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:27:31] 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":897068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:31] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:31] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:35] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:35] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:27:35] local.INFO: IMEI packet received {"connection_id":194016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":194016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:27:36] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:27:36] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:27:36] local.INFO: Packet analysis {"connection_id":194016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:36] local.INFO: Extracted packet for processing {"connection_id":194016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:27: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-25 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:36] 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-25 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:27:36] 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":897069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:36] local.INFO: GPS data processed {"connection_id":194016,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:36] local.INFO: Acknowledgment sent {"connection_id":194016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:54] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:54] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:54] local.INFO: IMEI packet received {"connection_id":192482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:27:56] local.INFO: TCP Data received {"connection_id":192481,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:56] local.INFO: Processing buffer {"connection_id":192481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d75da0012d0b10c007029f100000013d1a..."} 
[2026-09-25 19:27:56] local.INFO: Packet analysis {"connection_id":192481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:56] local.INFO: Extracted packet for processing {"connection_id":192481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:27:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":26,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328086272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:56] 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-25 19:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790344388000,"timestamp_ms":1790344388000,"timestamp_seconds":1790344388,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d75da0"} 
[2026-09-25 19: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-25 19:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328086272001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328086272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:27:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328086272001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:27:56] 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":897070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:56] local.INFO: GPS data processed {"connection_id":192481,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:56] local.INFO: Acknowledgment sent {"connection_id":192481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:27:59] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:59] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:27:59] local.INFO: IMEI packet received {"connection_id":192482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:27:59] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:27:59] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:27:59] local.INFO: Packet analysis {"connection_id":192482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:27:59] local.INFO: Extracted packet for processing {"connection_id":192482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:27:59] 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-25 19:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:27:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:27:59] 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":897071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:27:59] local.INFO: GPS data processed {"connection_id":192482,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:27:59] local.INFO: Acknowledgment sent {"connection_id":192482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:03] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:03] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:03] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:28:03] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28: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-25 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:28: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-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:28:03] 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":897072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:03] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:03] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:07] local.INFO: TCP Data received {"connection_id":194016,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:28:07] local.INFO: Processing buffer {"connection_id":194016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d79c20012d7f3c4005d338a0000700c92b..."} 
[2026-09-25 19:28:07] local.INFO: Packet analysis {"connection_id":194016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:28:07] local.INFO: Extracted packet for processing {"connection_id":194016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d7"} 
[2026-09-25 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":7,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328023040001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790344404000,"timestamp_ms":1790344404000,"timestamp_seconds":1790344404,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d79c20"} 
[2026-09-25 19:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19: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-25 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:07] 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-25 19:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":194016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":194016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":194016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328023040001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328023040001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:28:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328023040001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:28:07] 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":897073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:07] local.INFO: GPS data processed {"connection_id":194016,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:07] local.INFO: Acknowledgment sent {"connection_id":194016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:17] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:17] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:17] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:28:22] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:22] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:28:22] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:28:23] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:23] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:23] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:28:23] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:23] 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-25 19:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:23] 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-25 19:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:28:23] 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":897074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:23] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:23] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:24] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:24] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:24] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:28:30] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:30] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:28:30] local.INFO: IMEI packet received {"connection_id":192483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":192483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:28:30] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:30] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:30] local.INFO: IMEI packet received {"connection_id":194017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":194017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:28:31] local.INFO: TCP Data received {"connection_id":192482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:31] local.INFO: Processing buffer {"connection_id":192482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:31] local.INFO: Packet analysis {"connection_id":192482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:28:31] local.INFO: Extracted packet for processing {"connection_id":192482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28: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-25 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:28: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-25 19:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:28:31] 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":897075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:31] local.INFO: GPS data processed {"connection_id":192482,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:31] local.INFO: Acknowledgment sent {"connection_id":192482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:31] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:31] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:28:31] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:28:31] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28: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-25 19:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:28:31] local.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-25 19:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:28: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-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:28:31] 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":897076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:31] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:31] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:35] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:35] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:28:35] local.INFO: IMEI packet received {"connection_id":194017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":194017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:28:36] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:28:36] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:28:36] local.INFO: Packet analysis {"connection_id":194017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:28:36] local.INFO: Extracted packet for processing {"connection_id":194017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:36] 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-25 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:28:36] 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":897077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:36] local.INFO: GPS data processed {"connection_id":194017,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:36] local.INFO: Acknowledgment sent {"connection_id":194017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:54] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:54] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:54] local.INFO: IMEI packet received {"connection_id":194018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":194018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:28:58] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:58] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:28:58] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:28:58] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:58] 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-25 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:58] 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-25 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:28:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:28:58] 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":897078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:28:58] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:28:58] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:28:59] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:59] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:28:59] local.INFO: IMEI packet received {"connection_id":194018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":194018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:28:59] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:59] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:28:59] local.INFO: Packet analysis {"connection_id":194018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:28:59] local.INFO: Extracted packet for processing {"connection_id":194018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:28:59] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:28:59] 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-25 19:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:28:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:29:00] 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":897079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:00] local.INFO: GPS data processed {"connection_id":194018,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:00] local.INFO: Acknowledgment sent {"connection_id":194018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:03] local.INFO: TCP Data received {"connection_id":192483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:03] local.INFO: Processing buffer {"connection_id":192483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:03] local.INFO: Packet analysis {"connection_id":192483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:29:03] local.INFO: Extracted packet for processing {"connection_id":192483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29: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-25 19:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:29: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-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:29:03] 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":897080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:03] local.INFO: GPS data processed {"connection_id":192483,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:03] local.INFO: Acknowledgment sent {"connection_id":192483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:08] local.INFO: TCP Data received {"connection_id":194017,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:08] local.INFO: Processing buffer {"connection_id":194017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:08] local.INFO: Packet analysis {"connection_id":194017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:29:08] local.INFO: Extracted packet for processing {"connection_id":194017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29:08] 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-25 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":194017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":194017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":194017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:29:08] 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":897081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:08] local.INFO: GPS data processed {"connection_id":194017,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:08] local.INFO: Acknowledgment sent {"connection_id":194017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:17] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:17] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:17] local.INFO: IMEI packet received {"connection_id":194019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":194019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:29:24] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:24] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:29:24] local.INFO: IMEI packet received {"connection_id":194019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":194019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:29:24] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:24] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:24] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:29:25] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:25] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:25] local.INFO: Packet analysis {"connection_id":194019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:29:25] local.INFO: Extracted packet for processing {"connection_id":194019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:25] 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-25 19:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:25] 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-25 19:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":194019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":194019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":194019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:29:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:29:25] 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":897082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:25] local.INFO: GPS data processed {"connection_id":194019,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:25] local.INFO: Acknowledgment sent {"connection_id":194019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:29] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:29:29] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:29:29] local.INFO: IMEI packet received {"connection_id":192645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:29:30] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:30] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:29:30] local.INFO: IMEI packet received {"connection_id":192484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":192484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:29:31] local.INFO: TCP Data received {"connection_id":195351,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:31] local.INFO: Processing buffer {"connection_id":195351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:31] local.INFO: IMEI packet received {"connection_id":195351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":195351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:29:31] local.INFO: TCP Data received {"connection_id":194018,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:29:31] local.INFO: Processing buffer {"connection_id":194018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:29:31] local.INFO: Packet analysis {"connection_id":194018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:29:31] local.INFO: Extracted packet for processing {"connection_id":194018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29: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-25 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:29: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-25 19:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:29:31] 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":897083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:31] local.INFO: GPS data processed {"connection_id":194018,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:31] local.INFO: Acknowledgment sent {"connection_id":194018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:31] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:31] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:29:31] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:29:31] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29: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-25 19:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:29: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-25 19:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:29:31] 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":897084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:31] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:31] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:35] local.INFO: TCP Data received {"connection_id":195351,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:35] local.INFO: Processing buffer {"connection_id":195351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:29:35] local.INFO: IMEI packet received {"connection_id":195351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":195351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:29:36] local.INFO: TCP Data received {"connection_id":195351,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:36] local.INFO: Processing buffer {"connection_id":195351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:29:36] local.INFO: Packet analysis {"connection_id":195351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:29:36] local.INFO: Extracted packet for processing {"connection_id":195351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:29:36] 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-25 19:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:29:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":195351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:36] local.INFO: GPS data processed {"connection_id":195351,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:36] local.INFO: Acknowledgment sent {"connection_id":195351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:54] local.INFO: TCP Data received {"connection_id":195352,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:54] local.INFO: Processing buffer {"connection_id":195352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:54] local.INFO: IMEI packet received {"connection_id":195352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":195352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:29:56] local.INFO: TCP Data received {"connection_id":194019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:56] local.INFO: Processing buffer {"connection_id":194019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:29:56] local.INFO: Packet analysis {"connection_id":194019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:29:56] local.INFO: Extracted packet for processing {"connection_id":194019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:29:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:29:56] 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-25 19:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19: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-25 19:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:29:56] 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-25 19: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-25 19: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-25 19:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:29:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:29:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:29:57] 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":897086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:29:57] local.INFO: GPS data processed {"connection_id":194019,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:29:57] local.INFO: Acknowledgment sent {"connection_id":194019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:29:59] local.INFO: TCP Data received {"connection_id":195352,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:59] local.INFO: Processing buffer {"connection_id":195352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:29:59] local.INFO: IMEI packet received {"connection_id":195352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":195352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:30:00] local.INFO: TCP Data received {"connection_id":195352,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:00] local.INFO: Processing buffer {"connection_id":195352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:00] local.INFO: Packet analysis {"connection_id":195352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:30:00] local.INFO: Extracted packet for processing {"connection_id":195352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:30:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:30:00] 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-25 19:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:30: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-25 19:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:30: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-25 19:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":195352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:00] local.INFO: GPS data processed {"connection_id":195352,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:00] local.INFO: Acknowledgment sent {"connection_id":195352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:04] local.INFO: TCP Data received {"connection_id":192484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:04] local.INFO: Processing buffer {"connection_id":192484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:04] local.INFO: Packet analysis {"connection_id":192484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:04] local.INFO: Extracted packet for processing {"connection_id":192484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19: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-25 19:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:30:04] 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":897088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:04] local.INFO: GPS data processed {"connection_id":192484,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:04] local.INFO: Acknowledgment sent {"connection_id":192484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:04] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:30:04] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:30:04] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:30:08] local.INFO: TCP Data received {"connection_id":195351,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:08] local.INFO: Processing buffer {"connection_id":195351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:08] local.INFO: Packet analysis {"connection_id":195351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:30:08] local.INFO: Extracted packet for processing {"connection_id":195351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19: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-25 19:30:08] 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-25 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":195351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:08] local.INFO: GPS data processed {"connection_id":195351,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:08] local.INFO: Acknowledgment sent {"connection_id":195351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:21] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:21] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:21] local.INFO: IMEI packet received {"connection_id":192647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":192647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:30:23] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:23] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:30:23] local.INFO: IMEI packet received {"connection_id":192647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":192647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:30:24] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:24] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:24] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:30:24] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:30:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:30: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-25 19:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:24] 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-25 19:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:30:24] 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-25 19:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:30: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-25 19:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:30:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897090,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:24] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:24] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:28] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:28] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:30:28] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:30:28] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:30:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:28] 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-25 19:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19: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-25 19:30:28] 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-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:28] 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-25 19: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-25 19: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-25 19:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:30:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:28] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:28] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:30] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:30] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:30] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:30:30] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:30] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:30] local.INFO: IMEI packet received {"connection_id":192485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:30:31] local.INFO: TCP Data received {"connection_id":195352,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:31] local.INFO: Processing buffer {"connection_id":195352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:30:31] local.INFO: Packet analysis {"connection_id":195352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:30:31] local.INFO: Extracted packet for processing {"connection_id":195352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:30:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19: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-25 19:30: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-25 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:30: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-25 19: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-25 19: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-25 19:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":195352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:31] local.INFO: GPS data processed {"connection_id":195352,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:31] local.INFO: Acknowledgment sent {"connection_id":195352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:35] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:35] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:30:35] local.INFO: IMEI packet received {"connection_id":192485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":192485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:30:35] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:35] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:30:35] local.INFO: IMEI packet received {"connection_id":192486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":192486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:30:36] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:36] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:36] local.INFO: Packet analysis {"connection_id":192485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:36] local.INFO: Extracted packet for processing {"connection_id":192485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19: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-25 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30: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-25 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:30:36] 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":897093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:36] local.INFO: GPS data processed {"connection_id":192485,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:36] local.INFO: Acknowledgment sent {"connection_id":192485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:36] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:36] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:30:36] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:30:36] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19: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-25 19:30:36] 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-25 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:30:36] 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":897094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:36] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:36] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:40] local.INFO: TCP Data received {"connection_id":192485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:40] local.INFO: Processing buffer {"connection_id":192485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:30:40] local.INFO: Packet analysis {"connection_id":192485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:40] local.INFO: Extracted packet for processing {"connection_id":192485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:30: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-25 19:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:30: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-25 19:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:30:40] 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":897095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:30:40] local.INFO: GPS data processed {"connection_id":192485,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:30:40] local.INFO: Acknowledgment sent {"connection_id":192485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:30:53] local.INFO: TCP Data received {"connection_id":195353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:53] local.INFO: Processing buffer {"connection_id":195353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:53] local.INFO: IMEI packet received {"connection_id":195353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":195353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:30:59] local.INFO: TCP Data received {"connection_id":195353,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:59] local.INFO: Processing buffer {"connection_id":195353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:30:59] local.INFO: IMEI packet received {"connection_id":195353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":195353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:31:00] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:00] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:00] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:31:00] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] 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-25 19:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:00] 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-25 19:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:31:00] local.INFO: TCP Data received {"connection_id":195353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:00] 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-25 19:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:00] local.INFO: Processing buffer {"connection_id":195353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:00] local.INFO: Packet analysis {"connection_id":195353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:31:00] local.INFO: Extracted packet for processing {"connection_id":195353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:00] 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-25 19:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:31: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-25 19:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":195353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:00] local.INFO: GPS data processed {"connection_id":195353,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:00] local.INFO: Acknowledgment sent {"connection_id":195353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:00] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:00] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:08] local.INFO: TCP Data received {"connection_id":192486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:08] local.INFO: Processing buffer {"connection_id":192486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:08] local.INFO: Packet analysis {"connection_id":192486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:31:08] local.INFO: Extracted packet for processing {"connection_id":192486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:08] 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-25 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:31:08] 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":897098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:08] local.INFO: GPS data processed {"connection_id":192486,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:08] local.INFO: Acknowledgment sent {"connection_id":192486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:17] local.INFO: TCP Data received {"connection_id":195354,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:17] local.INFO: Processing buffer {"connection_id":195354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:17] local.INFO: IMEI packet received {"connection_id":195354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":195354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:31:25] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:25] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:25] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:31:26] local.INFO: TCP Data received {"connection_id":195354,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:26] local.INFO: Processing buffer {"connection_id":195354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:31:26] local.INFO: IMEI packet received {"connection_id":195354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":195354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:31:29] local.INFO: TCP Data received {"connection_id":195354,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:29] local.INFO: Processing buffer {"connection_id":195354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:31:29] local.INFO: Packet analysis {"connection_id":195354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:31:29] local.INFO: Extracted packet for processing {"connection_id":195354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31: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-25 19:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:31:29] 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-25 19:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:31:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":195354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:29] local.INFO: GPS data processed {"connection_id":195354,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:29] local.INFO: Acknowledgment sent {"connection_id":195354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:30] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:30] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:31:30] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:31:30] local.INFO: TCP Data received {"connection_id":192649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:30] local.INFO: Processing buffer {"connection_id":192649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:30] local.INFO: IMEI packet received {"connection_id":192649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":192649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:31:31] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:31:31] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8d9e9f8012d34c14006aa49080006006e2c..."} 
[2026-09-25 19:31:31] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:31:31] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8d9"} 
[2026-09-25 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328129024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31: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-25 19:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344555000,"timestamp_ms":1790344555000,"timestamp_seconds":1790344555,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8d9e9f8"} 
[2026-09-25 19:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:31:31] local.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-25 19:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328129024001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328129024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:31: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-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328129024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:31:31] 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":897100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:31] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:31] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:31] local.INFO: TCP Data received {"connection_id":195353,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:31] local.INFO: Processing buffer {"connection_id":195353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:31:31] local.INFO: Packet analysis {"connection_id":195353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:31:31] local.INFO: Extracted packet for processing {"connection_id":195353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31: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-25 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:31: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-25 19:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":195353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:31] local.INFO: GPS data processed {"connection_id":195353,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:31] local.INFO: Acknowledgment sent {"connection_id":195353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:35] local.INFO: TCP Data received {"connection_id":192649,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:35] local.INFO: Processing buffer {"connection_id":192649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:31:35] local.INFO: IMEI packet received {"connection_id":192649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":192649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:31:37] local.INFO: TCP Data received {"connection_id":192649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:37] local.INFO: Processing buffer {"connection_id":192649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:31:37] local.INFO: Packet analysis {"connection_id":192649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:31:37] local.INFO: Extracted packet for processing {"connection_id":192649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:31:37] 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-25 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:31:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":192649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:31:37] local.INFO: GPS data processed {"connection_id":192649,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:31:37] local.INFO: Acknowledgment sent {"connection_id":192649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:31:53] local.INFO: TCP Data received {"connection_id":195355,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:53] local.INFO: Processing buffer {"connection_id":195355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:53] local.INFO: IMEI packet received {"connection_id":195355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":195355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:31:59] local.INFO: TCP Data received {"connection_id":195355,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:59] local.INFO: Processing buffer {"connection_id":195355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:31:59] local.INFO: IMEI packet received {"connection_id":195355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":195355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:32:00] local.INFO: TCP Data received {"connection_id":195355,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:00] local.INFO: Processing buffer {"connection_id":195355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:00] local.INFO: Packet analysis {"connection_id":195355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:32:00] local.INFO: Extracted packet for processing {"connection_id":195355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:32:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19: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-25 19:32:00] 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-25 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:32: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-25 19: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-25 19: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-25 19:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":195355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:00] local.INFO: GPS data processed {"connection_id":195355,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:00] local.INFO: Acknowledgment sent {"connection_id":195355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:01] local.INFO: TCP Data received {"connection_id":195354,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:01] local.INFO: Processing buffer {"connection_id":195354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:01] local.INFO: Packet analysis {"connection_id":195354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:01] local.INFO: Extracted packet for processing {"connection_id":195354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:32: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-25 19:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:01] 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-25 19:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:32:01] 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-25 19:32: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-25 19:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":195354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:02] local.INFO: GPS data processed {"connection_id":195354,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:02] local.INFO: Acknowledgment sent {"connection_id":195354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:02] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:02] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:02] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:32:02] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32: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-25 19:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:32:02] local.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-25 19:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:32:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:32: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-25 19:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:32:02] 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":897105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:02] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:02] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:08] local.INFO: TCP Data received {"connection_id":192649,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:32:08] local.INFO: Processing buffer {"connection_id":192649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dc33e8012d7f3c4005d338a0000900c928..."} 
[2026-09-25 19:32:08] local.INFO: Packet analysis {"connection_id":192649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:32:08] local.INFO: Extracted packet for processing {"connection_id":192649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8dc"} 
[2026-09-25 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":9,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328167424001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790344705000,"timestamp_ms":1790344705000,"timestamp_seconds":1790344705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dc33e8"} 
[2026-09-25 19: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-25 19:32:08] 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-25 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328167424001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328167424001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328167424001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":192649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:09] local.INFO: GPS data processed {"connection_id":192649,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:09] local.INFO: Acknowledgment sent {"connection_id":192649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:22] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:22] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:22] local.INFO: IMEI packet received {"connection_id":192489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":192489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:32:24] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:24] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:24] local.INFO: IMEI packet received {"connection_id":194020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":194020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:32:30] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:30] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:32:30] local.INFO: IMEI packet received {"connection_id":194020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":194020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:32:31] local.INFO: TCP Data received {"connection_id":195355,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:31] local.INFO: Processing buffer {"connection_id":195355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dad070012d07ca000725e800000e00e128..."} 
[2026-09-25 19:32:31] local.INFO: Packet analysis {"connection_id":195355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:32:31] local.INFO: Extracted packet for processing {"connection_id":195355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8da"} 
[2026-09-25 19:32:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328144128001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344614000,"timestamp_ms":1790344614000,"timestamp_seconds":1790344614,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dad070"} 
[2026-09-25 19:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:32: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-25 19:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:32: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-25 19:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328144128001,"66":2144,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328144128001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328144128001,"power":2144,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":195355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:31] local.INFO: GPS data processed {"connection_id":195355,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:31] local.INFO: Acknowledgment sent {"connection_id":195355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:31] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:31] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:32:31] local.INFO: Packet analysis {"connection_id":194020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:32:31] local.INFO: Extracted packet for processing {"connection_id":194020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32: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-25 19:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:32: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-25 19:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:32:31] 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":897108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:31] local.INFO: GPS data processed {"connection_id":194020,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:31] local.INFO: Acknowledgment sent {"connection_id":194020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:32] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:32] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:32:32] local.INFO: IMEI packet received {"connection_id":192489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":192489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:32:38] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:38] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:38] local.INFO: Packet analysis {"connection_id":192489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:38] local.INFO: Extracted packet for processing {"connection_id":192489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:38] 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-25 19:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19: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-25 19:32:38] 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-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:32:38] 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-25 19: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-25 19: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-25 19:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:32:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:32:38] 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":897109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:38] local.INFO: GPS data processed {"connection_id":192489,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:38] local.INFO: Acknowledgment sent {"connection_id":192489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:50] local.INFO: TCP Data received {"connection_id":192489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:50] local.INFO: Processing buffer {"connection_id":192489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8dbf568012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:32:50] local.INFO: Packet analysis {"connection_id":192489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:50] local.INFO: Extracted packet for processing {"connection_id":192489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8db"} 
[2026-09-25 19:32:50] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328163328001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:32:50] 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-25 19:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1790344689000,"timestamp_ms":1790344689000,"timestamp_seconds":1790344689,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8dbf568"} 
[2026-09-25 19: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-25 19:32:50] 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-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:32: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-25 19: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-25 19: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-25 19:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":192489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":192489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":192489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328163328001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328163328001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:32:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:32:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328163328001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:32:50] 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":897110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:32:50] local.INFO: GPS data processed {"connection_id":192489,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:32:50] local.INFO: Acknowledgment sent {"connection_id":192489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:32:59] local.INFO: TCP Data received {"connection_id":195356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:32:59] local.INFO: Processing buffer {"connection_id":195356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:32:59] local.INFO: IMEI packet received {"connection_id":195356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":195356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:33:04] local.INFO: TCP Data received {"connection_id":195356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:04] local.INFO: Processing buffer {"connection_id":195356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:04] local.INFO: IMEI packet received {"connection_id":195356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":195356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:33:05] local.INFO: TCP Data received {"connection_id":195356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:05] local.INFO: Processing buffer {"connection_id":195356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:05] local.INFO: Packet analysis {"connection_id":195356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:33:05] local.INFO: Extracted packet for processing {"connection_id":195356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328221184001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790344915000,"timestamp_ms":1790344915000,"timestamp_seconds":1790344915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8df6838"} 
[2026-09-25 19: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-25 19:33:05] 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-25 19: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:33:05] 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-25 19: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-25 19: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-25 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328221184001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328221184001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:33:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328221184001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":195356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:33:05] local.INFO: GPS data processed {"connection_id":195356,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:33:05] local.INFO: Acknowledgment sent {"connection_id":195356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:33:06] local.INFO: TCP Data received {"connection_id":194020,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:06] local.INFO: Processing buffer {"connection_id":194020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:06] local.INFO: Packet analysis {"connection_id":194020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:33:06] local.INFO: Extracted packet for processing {"connection_id":194020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 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-25 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:33: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-25 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-25 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-25 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 19:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:33: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":897112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:33:06] local.INFO: GPS data processed {"connection_id":194020,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:33:06] local.INFO: Acknowledgment sent {"connection_id":194020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:33:24] local.INFO: TCP Data received {"connection_id":195358,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:24] local.INFO: Processing buffer {"connection_id":195358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:24] local.INFO: IMEI packet received {"connection_id":195358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":195358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:33:30] local.INFO: TCP Data received {"connection_id":195358,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:30] local.INFO: Processing buffer {"connection_id":195358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:33:30] local.INFO: IMEI packet received {"connection_id":195358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":195358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:33:31] local.INFO: TCP Data received {"connection_id":195358,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:31] local.INFO: Processing buffer {"connection_id":195358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:33:31] local.INFO: Packet analysis {"connection_id":195358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:33:31] local.INFO: Extracted packet for processing {"connection_id":195358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33: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-25 19:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:33: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-25 19:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":195358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:33:31] local.INFO: GPS data processed {"connection_id":195358,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:33:31] local.INFO: Acknowledgment sent {"connection_id":195358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:33:33] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:33:33] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:33:33] local.INFO: IMEI packet received {"connection_id":192650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":192650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:33:36] local.INFO: TCP Data received {"connection_id":195356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:36] local.INFO: Processing buffer {"connection_id":195356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:33:36] local.INFO: Packet analysis {"connection_id":195356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:33:36] local.INFO: Extracted packet for processing {"connection_id":195356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328221184001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344915000,"timestamp_ms":1790344915000,"timestamp_seconds":1790344915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8df6838"} 
[2026-09-25 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:33:36] 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-25 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:33:36] 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-25 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328221184001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328221184001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:33:36] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328221184001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":195356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:33:36] local.INFO: GPS data processed {"connection_id":195356,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:33:36] local.INFO: Acknowledgment sent {"connection_id":195356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:33:54] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:54] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:54] local.INFO: IMEI packet received {"connection_id":194021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":194021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:33:59] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:59] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:33:59] local.INFO: IMEI packet received {"connection_id":194021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":194021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:34:00] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:00] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:00] local.INFO: Packet analysis {"connection_id":194021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:34:00] local.INFO: Extracted packet for processing {"connection_id":194021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:34:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328221184001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790344915000,"timestamp_ms":1790344915000,"timestamp_seconds":1790344915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8df6838"} 
[2026-09-25 19:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:34:00] 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-25 19:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:34:00] 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-25 19:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:34: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-25 19:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328221184001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328221184001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:34:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328221184001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:34:00] 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":897115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:34:00] local.INFO: GPS data processed {"connection_id":194021,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:34:00] local.INFO: Acknowledgment sent {"connection_id":194021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:34:04] local.INFO: TCP Data received {"connection_id":195358,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:04] local.INFO: Processing buffer {"connection_id":195358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:04] local.INFO: Packet analysis {"connection_id":195358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:34:04] local.INFO: Extracted packet for processing {"connection_id":195358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34: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-25 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:34: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-25 19:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:34: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-25 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:34: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-25 19:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":195358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:34:04] local.INFO: GPS data processed {"connection_id":195358,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:34:04] local.INFO: Acknowledgment sent {"connection_id":195358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:34:10] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:34:10] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:34:10] local.INFO: IMEI packet received {"connection_id":192650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":192650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:34:22] local.INFO: TCP Data received {"connection_id":192490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192490,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:34:22] local.INFO: Processing buffer {"connection_id":192490,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:34:22] local.INFO: IMEI packet received {"connection_id":192490,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":192490,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:34:24] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:24] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:24] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:34:30] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:30] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:34:30] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:34:31] local.INFO: TCP Data received {"connection_id":194021,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:31] local.INFO: Processing buffer {"connection_id":194021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8df6838012d07ca000725e800000e00e129..."} 
[2026-09-25 19:34:31] local.INFO: Packet analysis {"connection_id":194021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:34:31] local.INFO: Extracted packet for processing {"connection_id":194021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8df"} 
[2026-09-25 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 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-25 19:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328221184001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344915000,"timestamp_ms":1790344915000,"timestamp_seconds":1790344915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8df6838"} 
[2026-09-25 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-25 19:34: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-25 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 19:34: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-25 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-25 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-25 19:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328221184001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328221184001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328221184001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:34:31] 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":897117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:34:31] local.INFO: GPS data processed {"connection_id":194021,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:34:31] local.INFO: Acknowledgment sent {"connection_id":194021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:34:31] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:31] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:34:31] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:34:31] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:34: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-25 19:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 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-25 19:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:34:31] local.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-25 19:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:34: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-25 19:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:34:31] 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":897118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:34:31] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:34:31] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:34:54] local.INFO: TCP Data received {"connection_id":195359,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:54] local.INFO: Processing buffer {"connection_id":195359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:54] local.INFO: IMEI packet received {"connection_id":195359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":195359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:34:59] local.INFO: TCP Data received {"connection_id":195359,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:59] local.INFO: Processing buffer {"connection_id":195359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:34:59] local.INFO: IMEI packet received {"connection_id":195359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":195359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:35:00] local.INFO: TCP Data received {"connection_id":195359,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:00] local.INFO: Processing buffer {"connection_id":195359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:00] local.INFO: Packet analysis {"connection_id":195359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e1"} 
[2026-09-25 19:35:00] local.INFO: Extracted packet for processing {"connection_id":195359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e1"} 
[2026-09-25 19:35:00] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:35:00] 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-25 19:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328298240001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790345048000,"timestamp_ms":1790345048000,"timestamp_seconds":1790345048,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e16fc0"} 
[2026-09-25 19:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:35: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-25 19:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:35: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-25 19:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:35: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-25 19:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328298240001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328298240001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:35:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328298240001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":195359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:35:00] local.INFO: GPS data processed {"connection_id":195359,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:35:00] local.INFO: Acknowledgment sent {"connection_id":195359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:35:03] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:03] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:03] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:03] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35: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-25 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:35: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-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:35:03] 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":897120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:35:03] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:35:03] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:35:30] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:30] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:30] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:35:31] local.INFO: TCP Data received {"connection_id":195359,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:31] local.INFO: Processing buffer {"connection_id":195359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e16fc0012d07ca000725e800000e00e128..."} 
[2026-09-25 19:35:31] local.INFO: Packet analysis {"connection_id":195359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e1"} 
[2026-09-25 19:35:31] local.INFO: Extracted packet for processing {"connection_id":195359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e1"} 
[2026-09-25 19:35:31] local.INFO: GPS Element Parsed {"raw_longitude":755485184,"raw_latitude":119924736,"longitude_deg":75.5485184,"latitude_deg":11.9924736,"altitude":14,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d07ca00","hex_latitude":"0725e800","is_valid_coordinates":true} 
[2026-09-25 19:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328332288001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122811136507904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261134261780480,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345048000,"timestamp_ms":1790345048000,"timestamp_seconds":1790345048,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e16fc0"} 
[2026-09-25 19:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:35: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-25 19:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328332288001,"66":2166,"251":206,"83":44288,"24":0,"16":23122811136507904,"45":561261134261780480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328332288001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:35:31] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122811136507904,"km_value":23122811136507.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261134261780480,"description":"Unknown IO ID 45"} 
[2026-09-25 19:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328332288001,"power":2166,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":561261134261780480}} 
[2026-09-25 19:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":195359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:35:31] local.INFO: GPS data processed {"connection_id":195359,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:35:31] local.INFO: Acknowledgment sent {"connection_id":195359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:35:34] local.INFO: TCP Data received {"connection_id":194022,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:35:34] local.INFO: Processing buffer {"connection_id":194022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:35:34] local.INFO: IMEI packet received {"connection_id":194022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":194022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:35:35] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:35] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:35:35] local.INFO: IMEI packet received {"connection_id":192492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":192492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:35:36] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:36] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:36] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:36] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19: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-25 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35: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-25 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:35:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:35: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":897122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:35:36] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:35:36] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:35:40] local.INFO: TCP Data received {"connection_id":192492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:40] local.INFO: Processing buffer {"connection_id":192492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:35:40] local.INFO: Packet analysis {"connection_id":192492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:40] local.INFO: Extracted packet for processing {"connection_id":192492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:35: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-25 19:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:35: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-25 19:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:35: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-25 19:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:35:40] 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":897123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:35:40] local.INFO: GPS data processed {"connection_id":192492,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:35:40] local.INFO: Acknowledgment sent {"connection_id":192492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:35:54] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:35:54] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:54] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:35:55] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:55] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:55] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:35:57] local.INFO: TCP Data received {"connection_id":192493,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:57] local.INFO: Processing buffer {"connection_id":192493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:35:57] local.INFO: IMEI packet received {"connection_id":192493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":192493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:36:03] local.INFO: TCP Data received {"connection_id":195360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:36:03] local.INFO: Processing buffer {"connection_id":195360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:36:03] local.INFO: IMEI packet received {"connection_id":195360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":195360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:36:24] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:24] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:24] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:36:30] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:30] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:36:30] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:36:31] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:36:31] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8de81c0012d34c14006aa49080005006e2b..."} 
[2026-09-25 19:36:31] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:36:31] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8de"} 
[2026-09-25 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328206080001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:36: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-25 19:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790344856000,"timestamp_ms":1790344856000,"timestamp_seconds":1790344856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8de81c0"} 
[2026-09-25 19:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328206080001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328206080001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:36: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-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328206080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:36:31] 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":897124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:36:31] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:36:31] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:37:02] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:02] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:02] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:37:02] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37: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-25 19:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:37: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-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:37:02] 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":897125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:37:02] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:37:02] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:37:24] local.INFO: TCP Data received {"connection_id":195361,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:24] local.INFO: Processing buffer {"connection_id":195361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:24] local.INFO: IMEI packet received {"connection_id":195361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":195361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:37:30] local.INFO: TCP Data received {"connection_id":195361,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:30] local.INFO: Processing buffer {"connection_id":195361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:37:30] local.INFO: IMEI packet received {"connection_id":195361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":195361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:37:31] local.INFO: TCP Data received {"connection_id":195361,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:31] local.INFO: Processing buffer {"connection_id":195361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:37:31] local.INFO: Packet analysis {"connection_id":195361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:37:31] local.INFO: Extracted packet for processing {"connection_id":195361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:37: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-25 19:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:37:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:37: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-25 19:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":195361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:37:31] local.INFO: GPS data processed {"connection_id":195361,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:37:31] local.INFO: Acknowledgment sent {"connection_id":195361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:38:02] local.INFO: TCP Data received {"connection_id":195361,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:02] local.INFO: Processing buffer {"connection_id":195361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:02] local.INFO: Packet analysis {"connection_id":195361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:38:02] local.INFO: Extracted packet for processing {"connection_id":195361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38: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-25 19:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:38: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-25 19:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":195361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:38:02] local.INFO: GPS data processed {"connection_id":195361,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:38:02] local.INFO: Acknowledgment sent {"connection_id":195361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:38:25] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:25] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:25] local.INFO: IMEI packet received {"connection_id":194026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":194026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:38:29] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:29] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:38:29] local.INFO: IMEI packet received {"connection_id":194026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":194026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:38:31] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:31] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:38:31] local.INFO: Packet analysis {"connection_id":194026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:38:31] local.INFO: Extracted packet for processing {"connection_id":194026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:38: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-25 19:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 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-25 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:38:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:38:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:38: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-25 19:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:38:31] 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":897128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:38:31] local.INFO: GPS data processed {"connection_id":194026,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:38:31] local.INFO: Acknowledgment sent {"connection_id":194026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:39:02] local.INFO: TCP Data received {"connection_id":194026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:02] local.INFO: Processing buffer {"connection_id":194026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:02] local.INFO: Packet analysis {"connection_id":194026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:39:02] local.INFO: Extracted packet for processing {"connection_id":194026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39: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-25 19:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:39:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:39: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-25 19:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:39:02] 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":897129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:39:02] local.INFO: GPS data processed {"connection_id":194026,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:39:02] local.INFO: Acknowledgment sent {"connection_id":194026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:39:27] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:39:27] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:39:27] local.INFO: IMEI packet received {"connection_id":192656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":192656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:39:28] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e08d30012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e08d30012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:39:28] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e08d30012d0b10c007029f100000013d1c..."} 
[2026-09-25 19:39:28] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:39:28] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:39:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328240384001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:28] 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-25 19:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790344990000,"timestamp_ms":1790344990000,"timestamp_seconds":1790344990,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e08d30"} 
[2026-09-25 19: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-25 19:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:39:28] 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-25 19: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-25 19: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-25 19:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328240384001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328240384001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:39:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:39:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328240384001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:39: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":897130,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:39:28] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:39:28] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:39:30] local.INFO: TCP Data received {"connection_id":195362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:30] local.INFO: Processing buffer {"connection_id":195362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:30] local.INFO: IMEI packet received {"connection_id":195362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":195362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:39:35] local.INFO: TCP Data received {"connection_id":195362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:35] local.INFO: Processing buffer {"connection_id":195362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:39:35] local.INFO: IMEI packet received {"connection_id":195362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":195362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:39:36] local.INFO: TCP Data received {"connection_id":195362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:36] local.INFO: Processing buffer {"connection_id":195362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:39:36] local.INFO: Packet analysis {"connection_id":195362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:39:36] local.INFO: Extracted packet for processing {"connection_id":195362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":195362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:39:36] local.INFO: GPS data processed {"connection_id":195362,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:39:36] local.INFO: Acknowledgment sent {"connection_id":195362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:00] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:00] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:00] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:40:00] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:40:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:00] 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-25 19:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:40:00] 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-25 19:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:40:00] 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-25 19:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:40:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:40:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:40:00] 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":897132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:40:00] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:40:00] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:08] local.INFO: TCP Data received {"connection_id":195362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:08] local.INFO: Processing buffer {"connection_id":195362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:08] local.INFO: Packet analysis {"connection_id":195362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:40:08] local.INFO: Extracted packet for processing {"connection_id":195362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:40: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-25 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":195362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:40:08] local.INFO: GPS data processed {"connection_id":195362,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:40:08] local.INFO: Acknowledgment sent {"connection_id":195362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:17] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:17] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:17] local.INFO: IMEI packet received {"connection_id":194029,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":194029,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:40:22] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:22] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:40:22] local.INFO: IMEI packet received {"connection_id":194029,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":194029,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:40:24] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:24] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:24] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:40:25] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:25] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:40:25] local.INFO: Packet analysis {"connection_id":194029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:40:25] local.INFO: Extracted packet for processing {"connection_id":194029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:40:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:25] 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-25 19:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19: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-25 19:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:40:25] 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-25 19: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-25 19: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-25 19:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":194029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":194029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":194029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:40:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:40:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:40:25] 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":897134,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:40:25] local.INFO: GPS data processed {"connection_id":194029,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:40:25] local.INFO: Acknowledgment sent {"connection_id":194029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:30] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:30] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:40:30] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:40:31] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:31] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:40:31] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:40:31] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40: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-25 19:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19: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-25 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:40:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:40:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:40: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-25 19:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:40:31] 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":897135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:40:31] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:40:31] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:36] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:36] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:36] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:40:40] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:40] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:40:40] local.INFO: IMEI packet received {"connection_id":192498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":192498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:40:41] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:40:41] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:40:41] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:40:41] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":10,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328244480001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790345006000,"timestamp_ms":1790345006000,"timestamp_seconds":1790345006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e0cbb0"} 
[2026-09-25 19: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-25 19:40:41] 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-25 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328244480001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328244480001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:40:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328244480001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:40:41] 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":897136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:40:41] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:40:41] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:40:59] local.INFO: TCP Data received {"connection_id":195363,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:40:59] local.INFO: Processing buffer {"connection_id":195363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:40:59] local.INFO: IMEI packet received {"connection_id":195363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":195363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:00] local.INFO: TCP Data received {"connection_id":195363,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e62ab0012d07ce400725eca0000c015428..."} 
[2026-09-25 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e62ab0012d07ce400725eca0000c015428..."} 
[2026-09-25 19:41:00] local.INFO: Processing buffer {"connection_id":195363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e62ab0012d07ce400725eca0000c015428..."} 
[2026-09-25 19:41:00] local.INFO: Packet analysis {"connection_id":195363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:00] local.INFO: Extracted packet for processing {"connection_id":195363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":40,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328406272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790345358000,"timestamp_ms":1790345358000,"timestamp_seconds":1790345358,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e62ab0"} 
[2026-09-25 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:00] 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-25 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 19:41: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-25 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41: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-25 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328406272001,"66":12406,"213":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328406272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328406272001,"power":12406,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:41:00] local.INFO: TCP Data received {"connection_id":194029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:00] local.INFO: Processing buffer {"connection_id":194029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:00] local.INFO: Packet analysis {"connection_id":194029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:41:00] local.INFO: Extracted packet for processing {"connection_id":194029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:41:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:00] 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-25 19:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:00] 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-25 19:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:00] 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-25 19:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194029,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":195363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:00] local.INFO: GPS data processed {"connection_id":195363,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:00] local.INFO: Acknowledgment sent {"connection_id":195363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:00] 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":897138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:00] local.INFO: GPS data processed {"connection_id":194029,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:00] local.INFO: Acknowledgment sent {"connection_id":194029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:02] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:02] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:02] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:41:02] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41: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-25 19:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:41: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-25 19:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:41:02] 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":897139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:02] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:02] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:12] local.INFO: TCP Data received {"connection_id":192498,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:12] local.INFO: Processing buffer {"connection_id":192498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:12] local.INFO: Packet analysis {"connection_id":192498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:41:12] local.INFO: Extracted packet for processing {"connection_id":192498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":10,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328244480001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790345006000,"timestamp_ms":1790345006000,"timestamp_seconds":1790345006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e0cbb0"} 
[2026-09-25 19:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:12] 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-25 19:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":192498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":192498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":192498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328244480001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328244480001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328244480001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:41:12] 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":897140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:12] local.INFO: GPS data processed {"connection_id":192498,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:12] local.INFO: Acknowledgment sent {"connection_id":192498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:22] local.INFO: TCP Data received {"connection_id":195364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:22] local.INFO: Processing buffer {"connection_id":195364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:22] local.INFO: IMEI packet received {"connection_id":195364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":195364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:24] local.INFO: TCP Data received {"connection_id":194030,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:41:24] local.INFO: Processing buffer {"connection_id":194030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:41:24] local.INFO: IMEI packet received {"connection_id":194030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":194030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:25] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:25] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:25] local.INFO: IMEI packet received {"connection_id":192658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":192658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:27] local.INFO: TCP Data received {"connection_id":195364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195364,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:27] local.INFO: Processing buffer {"connection_id":195364,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:41:27] local.INFO: IMEI packet received {"connection_id":195364,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":195364,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:41:30] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:30] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:41:30] local.INFO: IMEI packet received {"connection_id":192658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":192658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:41:30] local.INFO: TCP Data received {"connection_id":195365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:30] local.INFO: Processing buffer {"connection_id":195365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:30] local.INFO: IMEI packet received {"connection_id":195365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 19:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":195365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:30] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:30] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e31988012d34c14006aa49080004006e2c..."} 
[2026-09-25 19:41:30] local.INFO: Packet analysis {"connection_id":192658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:41:30] local.INFO: Extracted packet for processing {"connection_id":192658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e3"} 
[2026-09-25 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328283136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345157000,"timestamp_ms":1790345157000,"timestamp_seconds":1790345157,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e31988"} 
[2026-09-25 19: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-25 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:41:30] local.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-25 19:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328283136001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328283136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328283136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":192658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:30] local.INFO: GPS data processed {"connection_id":192658,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:30] local.INFO: Acknowledgment sent {"connection_id":192658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:31] local.INFO: TCP Data received {"connection_id":195363,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e67cb8012d07ce400725eca0000c015424..."} 
[2026-09-25 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e67cb8012d07ce400725eca0000c015424..."} 
[2026-09-25 19:41:31] local.INFO: Processing buffer {"connection_id":195363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e67cb8012d07ce400725eca0000c015424..."} 
[2026-09-25 19:41:31] local.INFO: Packet analysis {"connection_id":195363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:31] local.INFO: Extracted packet for processing {"connection_id":195363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":36,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328411648001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345379000,"timestamp_ms":1790345379000,"timestamp_seconds":1790345379,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e67cb8"} 
[2026-09-25 19:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328411648001,"66":12385,"213":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328411648001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:31] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328411648001,"power":12385,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":195363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:31] local.INFO: GPS data processed {"connection_id":195363,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:31] local.INFO: Acknowledgment sent {"connection_id":195363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:35] local.INFO: TCP Data received {"connection_id":195365,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:35] local.INFO: Processing buffer {"connection_id":195365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 19:41:35] local.INFO: IMEI packet received {"connection_id":195365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 19:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":195365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:41:36] local.INFO: TCP Data received {"connection_id":195365,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:36] local.INFO: Processing buffer {"connection_id":195365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e0cbb0012d7f3c4005d338a0000a00c92a..."} 
[2026-09-25 19:41:36] local.INFO: Packet analysis {"connection_id":195365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:41:36] local.INFO: Extracted packet for processing {"connection_id":195365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e0"} 
[2026-09-25 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763313216,"raw_latitude":97728672,"longitude_deg":76.3313216,"latitude_deg":9.7728672,"altitude":10,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d7f3c40","hex_latitude":"05d338a0","is_valid_coordinates":true} 
[2026-09-25 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328244480001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168273335182204928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790345006000,"timestamp_ms":1790345006000,"timestamp_seconds":1790345006,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e0cbb0"} 
[2026-09-25 19:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328244480001,"66":2253,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168273335182204928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328244480001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 19:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168273335182204928,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328244480001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168273335182204928}} 
[2026-09-25 19:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":195365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:36] local.INFO: GPS data processed {"connection_id":195365,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:36] local.INFO: Acknowledgment sent {"connection_id":195365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:48] local.INFO: TCP Data received {"connection_id":195364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:48] local.INFO: Processing buffer {"connection_id":195364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:41:48] local.INFO: Packet analysis {"connection_id":195364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:41:48] local.INFO: Extracted packet for processing {"connection_id":195364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:48] 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-25 19:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:48] 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-25 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":195364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":195364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":195364,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:41:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":195364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:41:48] local.INFO: GPS data processed {"connection_id":195364,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:41:48] local.INFO: Acknowledgment sent {"connection_id":195364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:41:54] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:54] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:54] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:41:59] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:59] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:41:59] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:41:59] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e6cec0012d07ce400725eca0000c015429..."} 
[2026-09-25 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e6cec0012d07ce400725eca0000c015429..."} 
[2026-09-25 19:41:59] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e6cec0012d07ce400725eca0000c015429..."} 
[2026-09-25 19:41:59] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:59] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e6"} 
[2026-09-25 19:41:59] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328417024001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790345400000,"timestamp_ms":1790345400000,"timestamp_seconds":1790345400,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e6cec0"} 
[2026-09-25 19:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:41:59] 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-25 19:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 19:41:59] 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-25 19:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328417024001,"66":12385,"213":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328417024001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:41:59] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328417024001,"power":12385,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:42:00] 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":897145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:00] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:00] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:02] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:02] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:02] local.INFO: Packet analysis {"connection_id":192658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:02] local.INFO: Extracted packet for processing {"connection_id":192658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42: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-25 19:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:42:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:42:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:42: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-25 19:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":192658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:02] local.INFO: GPS data processed {"connection_id":192658,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:02] local.INFO: Acknowledgment sent {"connection_id":192658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:03] local.INFO: TCP Data received {"connection_id":194031,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:42:03] local.INFO: Processing buffer {"connection_id":194031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:42:03] local.INFO: IMEI packet received {"connection_id":194031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":194031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:42:17] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:17] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:17] local.INFO: IMEI packet received {"connection_id":194032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":194032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:42:22] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:22] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:42:22] local.INFO: IMEI packet received {"connection_id":194032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":194032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:42:30] local.INFO: TCP Data received {"connection_id":195366,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:30] local.INFO: Processing buffer {"connection_id":195366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:30] local.INFO: IMEI packet received {"connection_id":195366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":195366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:42:31] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:42:31] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:42:31] local.INFO: Packet analysis {"connection_id":194032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:42:31] local.INFO: Extracted packet for processing {"connection_id":194032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] 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-25 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19: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-25 19:42: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-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:42: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-25 19: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-25 19: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-25 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:42:31] 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":897147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:31] local.INFO: GPS data processed {"connection_id":194032,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:31] local.INFO: Acknowledgment sent {"connection_id":194032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:31] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e720c8012d07ce400725eca0000c015429..."} 
[2026-09-25 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e720c8012d07ce400725eca0000c015429..."} 
[2026-09-25 19:42:31] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e720c8012d07ce400725eca0000c015429..."} 
[2026-09-25 19:42:31] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:31] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328422400001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345421000,"timestamp_ms":1790345421000,"timestamp_seconds":1790345421,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e720c8"} 
[2026-09-25 19: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-25 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 19:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328422400001,"66":12385,"213":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328422400001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328422400001,"power":12385,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:42:31] 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":897148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:31] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:31] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:35] local.INFO: TCP Data received {"connection_id":195366,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:35] local.INFO: Processing buffer {"connection_id":195366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:42:35] local.INFO: IMEI packet received {"connection_id":195366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":195366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:42:36] local.INFO: TCP Data received {"connection_id":195366,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:36] local.INFO: Processing buffer {"connection_id":195366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:36] local.INFO: Packet analysis {"connection_id":195366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:36] local.INFO: Extracted packet for processing {"connection_id":195366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:42: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-25 19:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":195366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:36] local.INFO: GPS data processed {"connection_id":195366,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:36] local.INFO: Acknowledgment sent {"connection_id":195366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:41] local.INFO: TCP Data received {"connection_id":195366,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:41] local.INFO: Processing buffer {"connection_id":195366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:42:41] local.INFO: Packet analysis {"connection_id":195366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:41] local.INFO: Extracted packet for processing {"connection_id":195366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:42: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-25 19:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:42: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-25 19:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":195366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:42:41] local.INFO: GPS data processed {"connection_id":195366,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:42:41] local.INFO: Acknowledgment sent {"connection_id":195366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:42:53] local.INFO: TCP Data received {"connection_id":195367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:53] local.INFO: Processing buffer {"connection_id":195367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:53] local.INFO: IMEI packet received {"connection_id":195367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":195367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:42:59] local.INFO: TCP Data received {"connection_id":195367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:59] local.INFO: Processing buffer {"connection_id":195367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:42:59] local.INFO: IMEI packet received {"connection_id":195367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":195367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:43:02] local.INFO: TCP Data received {"connection_id":195367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e772d0012d07ce400725eca0000c015426..."} 
[2026-09-25 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e772d0012d07ce400725eca0000c015426..."} 
[2026-09-25 19:43:02] local.INFO: Processing buffer {"connection_id":195367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e772d0012d07ce400725eca0000c015426..."} 
[2026-09-25 19:43:02] local.INFO: Packet analysis {"connection_id":195367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:02] local.INFO: Extracted packet for processing {"connection_id":195367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":38,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328427776001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345442000,"timestamp_ms":1790345442000,"timestamp_seconds":1790345442,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e772d0"} 
[2026-09-25 19:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 19:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328427776001,"66":12385,"251":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328427776001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328427776001,"power":12385,"unknown_251":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":195367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:02] local.INFO: GPS data processed {"connection_id":195367,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:02] local.INFO: Acknowledgment sent {"connection_id":195367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:03] local.INFO: TCP Data received {"connection_id":194032,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:03] local.INFO: Processing buffer {"connection_id":194032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e524f8012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:03] local.INFO: Packet analysis {"connection_id":194032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:43:03] local.INFO: Extracted packet for processing {"connection_id":194032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e5"} 
[2026-09-25 19:43:03] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328317440001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:03] 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-25 19:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790345291000,"timestamp_ms":1790345291000,"timestamp_seconds":1790345291,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e524f8"} 
[2026-09-25 19: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-25 19:43:03] 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-25 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 19:43:03] 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-25 19: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-25 19: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-25 19:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328317440001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328317440001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:43:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328317440001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:43:03] 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":897152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:03] local.INFO: GPS data processed {"connection_id":194032,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:03] local.INFO: Acknowledgment sent {"connection_id":194032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:22] local.INFO: TCP Data received {"connection_id":195369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:22] local.INFO: Processing buffer {"connection_id":195369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:22] local.INFO: IMEI packet received {"connection_id":195369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":195369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:43:25] local.INFO: TCP Data received {"connection_id":195368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:25] local.INFO: Processing buffer {"connection_id":195368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:25] local.INFO: IMEI packet received {"connection_id":195368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":195368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:43:27] local.INFO: TCP Data received {"connection_id":195369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195369,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:27] local.INFO: Processing buffer {"connection_id":195369,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:43:27] local.INFO: IMEI packet received {"connection_id":195369,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":195369,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:43:29] local.INFO: TCP Data received {"connection_id":195368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:29] local.INFO: Processing buffer {"connection_id":195368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:43:29] local.INFO: IMEI packet received {"connection_id":195368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":195368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:43:30] local.INFO: TCP Data received {"connection_id":195369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:30] local.INFO: Processing buffer {"connection_id":195369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:43:30] local.INFO: Packet analysis {"connection_id":195369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:43:30] local.INFO: Extracted packet for processing {"connection_id":195369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:30] 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-25 19:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:43:30] 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-25 19:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195369,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:43:30] 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-25 19:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:43:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":195369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:30] local.INFO: GPS data processed {"connection_id":195369,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:30] local.INFO: Acknowledgment sent {"connection_id":195369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:31] local.INFO: TCP Data received {"connection_id":195368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:31] local.INFO: Processing buffer {"connection_id":195368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:31] local.INFO: Packet analysis {"connection_id":195368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:31] local.INFO: Extracted packet for processing {"connection_id":195368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43: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-25 19:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:43: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-25 19:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:43: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-25 19:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":195368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:31] local.INFO: GPS data processed {"connection_id":195368,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:31] local.INFO: Acknowledgment sent {"connection_id":195368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:35] local.INFO: TCP Data received {"connection_id":195368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:35] local.INFO: Processing buffer {"connection_id":195368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:43:35] local.INFO: Packet analysis {"connection_id":195368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:35] local.INFO: Extracted packet for processing {"connection_id":195368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 19:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 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-25 19:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:43: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-25 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-25 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-25 19:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:43: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-25 19:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 19:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":195368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:35] local.INFO: GPS data processed {"connection_id":195368,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:35] local.INFO: Acknowledgment sent {"connection_id":195368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:38] local.INFO: TCP Data received {"connection_id":195367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7c4d8012d07ce400725eca0000c015425..."} 
[2026-09-25 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7c4d8012d07ce400725eca0000c015425..."} 
[2026-09-25 19:43:38] local.INFO: Processing buffer {"connection_id":195367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7c4d8012d07ce400725eca0000c015425..."} 
[2026-09-25 19:43:38] local.INFO: Packet analysis {"connection_id":195367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:38] local.INFO: Extracted packet for processing {"connection_id":195367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":755486272,"raw_latitude":119925920,"longitude_deg":75.5486272,"latitude_deg":11.992592,"altitude":12,"angle":340,"satellites":37,"speed":0,"hex_longitude":"2d07ce40","hex_latitude":"0725eca0","is_valid_coordinates":true} 
[2026-09-25 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328433152001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23122974345265152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562457402913103872,"note":"Value kept but may cause issues"} 
[2026-09-25 19:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790345463000,"timestamp_ms":1790345463000,"timestamp_seconds":1790345463,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7c4d8"} 
[2026-09-25 19:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:43:38] 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-25 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 19:43:38] 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-25 19:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328433152001,"66":12385,"213":206,"83":44288,"24":0,"16":23122974345265152,"45":562457402913103872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328433152001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:43:38] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23122974345265152,"km_value":23122974345265.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":562457402913103872,"description":"Unknown IO ID 45"} 
[2026-09-25 19:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328433152001,"power":12385,"unknown_213":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":562457402913103872}} 
[2026-09-25 19:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":195367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:43:38] local.INFO: GPS data processed {"connection_id":195367,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:43:38] local.INFO: Acknowledgment sent {"connection_id":195367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:43:53] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:53] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:53] local.INFO: IMEI packet received {"connection_id":192499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":192499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:43:56] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:56] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:56] local.INFO: IMEI packet received {"connection_id":192499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":192499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:43:59] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:59] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:43:59] local.INFO: IMEI packet received {"connection_id":192499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":192499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:44:00] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e98228012d07d0400725e9f80012004329..."} 
[2026-09-25 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e98228012d07d0400725e9f80012004329..."} 
[2026-09-25 19:44:00] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e98228012d07d0400725e9f80012004329..."} 
[2026-09-25 19:44:00] local.INFO: Packet analysis {"connection_id":192499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:44:00] local.INFO: Extracted packet for processing {"connection_id":192499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:44:00] local.INFO: GPS Element Parsed {"raw_longitude":755486784,"raw_latitude":119925240,"longitude_deg":75.5486784,"latitude_deg":11.992524,"altitude":18,"angle":67,"satellites":41,"speed":6,"hex_longitude":"2d07d040","hex_latitude":"0725e9f8","is_valid_coordinates":true} 
[2026-09-25 19:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328467456001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123047359709184,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562879615377983488,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790345577000,"timestamp_ms":1790345577000,"timestamp_seconds":1790345577,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e98228"} 
[2026-09-25 19:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:44:00] 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-25 19:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:44:00] 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-25 19:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:44: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-25 19:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328467456001,"66":12558,"213":206,"83":44288,"24":6,"16":23123047359709184,"45":562879615377983488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328467456001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:44:00] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123047359709184,"km_value":23123047359709.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":562879615377983488,"description":"Unknown IO ID 45"} 
[2026-09-25 19:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328467456001,"power":12558,"unknown_213":206,"unknown_83":44288,"ignition":6,"odometer":null,"unknown_45":562879615377983488}} 
[2026-09-25 19:44:01] 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":897157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:44:01] local.INFO: GPS data processed {"connection_id":192499,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:44:01] local.INFO: Acknowledgment sent {"connection_id":192499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:44:08] local.INFO: TCP Data received {"connection_id":195368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:08] local.INFO: Processing buffer {"connection_id":195368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:08] local.INFO: Packet analysis {"connection_id":195368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:44:08] local.INFO: Extracted packet for processing {"connection_id":195368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:44: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-25 19:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:44: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-25 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":195368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:44:08] local.INFO: GPS data processed {"connection_id":195368,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:44:08] local.INFO: Acknowledgment sent {"connection_id":195368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:44:24] local.INFO: TCP Data received {"connection_id":195371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:24] local.INFO: Processing buffer {"connection_id":195371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:24] local.INFO: IMEI packet received {"connection_id":195371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":195371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:44:27] local.INFO: TCP Data received {"connection_id":194033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:44:27] local.INFO: Processing buffer {"connection_id":194033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:44:27] local.INFO: IMEI packet received {"connection_id":194033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":194033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:44:29] local.INFO: TCP Data received {"connection_id":195371,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:29] local.INFO: Processing buffer {"connection_id":195371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:44:29] local.INFO: IMEI packet received {"connection_id":195371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":195371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:44:30] local.INFO: TCP Data received {"connection_id":195371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:30] local.INFO: Processing buffer {"connection_id":195371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:44:30] local.INFO: Packet analysis {"connection_id":195371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:44:30] local.INFO: Extracted packet for processing {"connection_id":195371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":195371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:44:30] local.INFO: GPS data processed {"connection_id":195371,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:44:30] local.INFO: Acknowledgment sent {"connection_id":195371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:44:32] local.INFO: TCP Data received {"connection_id":192499,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e991c8012d07d2800725eb100011003729..."} 
[2026-09-25 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e991c8012d07d2800725eb100011003729..."} 
[2026-09-25 19:44:32] local.INFO: Processing buffer {"connection_id":192499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e991c8012d07d2800725eb100011003729..."} 
[2026-09-25 19:44:32] local.INFO: Packet analysis {"connection_id":192499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:44:32] local.INFO: Extracted packet for processing {"connection_id":192499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":755487360,"raw_latitude":119925520,"longitude_deg":75.548736,"latitude_deg":11.992552,"altitude":17,"angle":55,"satellites":41,"speed":6,"hex_longitude":"2d07d280","hex_latitude":"0725eb10","is_valid_coordinates":true} 
[2026-09-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328467712001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123077424480256,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563020352866351104,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790345581000,"timestamp_ms":1790345581000,"timestamp_seconds":1790345581,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e991c8"} 
[2026-09-25 19:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:44:32] 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-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3639164864,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3244788830936886432,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3914037249,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3927965715,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147952106,"corrected_to":0} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728644,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-3098249684850829312,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6029475579198177282,"note":"Value kept but may cause issues"} 
[2026-09-25 19:44:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,213,83,24,241,157,16,38,160,126,45,192,233,18,41,10,66,118,79,1,240,181,227,216,37,4,113,205,71,104,39,239,52,2,82,7,19,68,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2147952106,"validated":0}]} 
[2026-09-25 19:44:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297110536055816192,"timestamp_seconds":1297110536055816.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 19:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328467712001,"66":11700,"213":206,"83":44288,"24":6,"16":23123077424480256,"45":563020352866351104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328467712001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123077424480256,"km_value":23123077424480.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":563020352866351104,"description":"Unknown IO ID 45"} 
[2026-09-25 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328467712001,"power":11700,"unknown_213":206,"unknown_83":44288,"ignition":6,"odometer":null,"unknown_45":563020352866351104}} 
[2026-09-25 19:44:32] 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":897160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:44:32] local.INFO: GPS data processed {"connection_id":192499,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:44:32] local.INFO: Acknowledgment sent {"connection_id":192499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:44:59] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: IMEI packet received {"connection_id":192661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":192661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:44:59] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:44:59] local.INFO: IMEI packet received {"connection_id":192661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":192661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:00] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 19:45:00] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0d8..."} 
[2026-09-25 19:45:00] local.INFO: IMEI packet received {"connection_id":192661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":192661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:01] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9c490012d07d7400725f0500011000229..."} 
[2026-09-25 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9c490012d07d7400725f0500011000229..."} 
[2026-09-25 19:45:01] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0d8e9a168012d07d4800725ec780011002329..."} 
[2026-09-25 19:45:01] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:01] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":755487872,"raw_latitude":119925880,"longitude_deg":75.5487872,"latitude_deg":11.992588,"altitude":17,"angle":35,"satellites":41,"speed":5,"hex_longitude":"2d07d480","hex_latitude":"0725ec78","is_valid_coordinates":true} 
[2026-09-25 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328468736001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123111784218624,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563653671564021760,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790345585000,"timestamp_ms":1790345585000,"timestamp_seconds":1790345585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9a168"} 
[2026-09-25 19:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:01] 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-25 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45: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-25 19:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328468736001,"66":12526,"213":206,"83":44288,"24":5,"16":23123111784218624,"45":563653671564021760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,83,24,16,45]} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328468736001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123111784218624,"km_value":23123111784218.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":563653671564021760,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328468736001,"power":12526,"unknown_213":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":563653671564021760}} 
[2026-09-25 19:45:01] 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":897161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:01] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:01] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:01] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:01] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119926864,"longitude_deg":75.5488576,"latitude_deg":11.9926864,"altitude":17,"angle":2,"satellites":41,"speed":5,"hex_longitude":"2d07d740","hex_latitude":"0725f050","is_valid_coordinates":true} 
[2026-09-25 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328469760001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123167618793472,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564216621517535232,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790345594000,"timestamp_ms":1790345594000,"timestamp_seconds":1790345594,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9c490"} 
[2026-09-25 19:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:01] 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-25 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:01] 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-25 19:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45: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-25 19:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328469760001,"66":12461,"25":206,"83":44288,"24":5,"16":23123167618793472,"45":564216621517535232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-25 19:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328469760001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123167618793472,"km_value":23123167618793.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":564216621517535232,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328469760001,"power":12461,"unknown_25":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":564216621517535232}} 
[2026-09-25 19:45:01] 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":897162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:01] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:01] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:02] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9d430012d07d7400725f2a80011015e29..."} 
[2026-09-25 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9d430012d07d7400725f2a80011015e29..."} 
[2026-09-25 19:45:02] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9d430012d07d7400725f2a80011015e29..."} 
[2026-09-25 19:45:02] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:02] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":119927464,"longitude_deg":75.5488576,"latitude_deg":11.9927464,"altitude":17,"angle":350,"satellites":41,"speed":8,"hex_longitude":"2d07d740","hex_latitude":"0725f2a8","is_valid_coordinates":true} 
[2026-09-25 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328472064001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123197683564544,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677703741440,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345598000,"timestamp_ms":1790345598000,"timestamp_seconds":1790345598,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9d430"} 
[2026-09-25 19:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328472064001,"66":12461,"25":206,"83":44288,"24":8,"16":23123197683564544,"45":564990677703741440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328472064001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123197683564544,"km_value":23123197683564.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677703741440,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328472064001,"power":12461,"unknown_25":206,"unknown_83":44288,"ignition":8,"odometer":null,"unknown_45":564990677703741440}} 
[2026-09-25 19:45:02] 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":897163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:02] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:02] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:02] local.INFO: TCP Data received {"connection_id":194033,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194033,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:02] local.INFO: Processing buffer {"connection_id":194033,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:02] local.INFO: IMEI packet received {"connection_id":194033,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":194033,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:02] local.INFO: TCP Data received {"connection_id":195371,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:02] local.INFO: Processing buffer {"connection_id":195371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:02] local.INFO: Packet analysis {"connection_id":195371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:45:02] local.INFO: Extracted packet for processing {"connection_id":195371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45: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-25 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:45: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-25 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":195371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:02] local.INFO: GPS data processed {"connection_id":195371,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:02] local.INFO: Acknowledgment sent {"connection_id":195371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:22] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:22] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:22] local.INFO: IMEI packet received {"connection_id":194034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":194034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:45:25] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:25] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:25] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:45:29] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:29] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:45:29] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:30] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:30] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:45:30] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:45:30] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19: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-25 19:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:45:30] 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":897165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:30] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:30] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:33] local.INFO: TCP Data received {"connection_id":192661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8eb2808012d07ee000725d360001000e222..."} 
[2026-09-25 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8eb2808012d07ee000725d360001000e222..."} 
[2026-09-25 19:45:33] local.INFO: Processing buffer {"connection_id":192661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8eb2808012d07ee000725d360001000e222..."} 
[2026-09-25 19:45:33] local.INFO: Packet analysis {"connection_id":192661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:45:33] local.INFO: Extracted packet for processing {"connection_id":192661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":755494400,"raw_latitude":119919456,"longitude_deg":75.54944,"latitude_deg":11.9919456,"altitude":16,"angle":226,"satellites":34,"speed":25,"hex_longitude":"2d07ee00","hex_latitude":"0725d360","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328494848001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23123953597808640,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572238658352379904,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790345685000,"timestamp_ms":1790345685000,"timestamp_seconds":1790345685,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8eb2808"} 
[2026-09-25 19: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-25 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328494848001,"66":13537,"25":206,"83":44288,"24":25,"16":23123953597808640,"45":572238658352379904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-25 19:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328494848001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:33] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-25 19:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23123953597808640,"km_value":23123953597808.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":572238658352379904,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328494848001,"power":13537,"unknown_25":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":572238658352379904}} 
[2026-09-25 19:45:33] 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":897166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:33] local.INFO: GPS data processed {"connection_id":192661,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:33] local.INFO: Acknowledgment sent {"connection_id":192661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:44] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:44] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:45:44] local.INFO: IMEI packet received {"connection_id":194034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":194034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:45] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:45] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:45] local.INFO: Packet analysis {"connection_id":194034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:45] local.INFO: Extracted packet for processing {"connection_id":194034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:45] 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-25 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19: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-25 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:45] 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-25 19: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-25 19: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-25 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":194034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":194034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":194034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:45] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:45:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:45:45] 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":897167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:45] local.INFO: GPS data processed {"connection_id":194034,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:45] local.INFO: Acknowledgment sent {"connection_id":194034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:46] local.INFO: TCP Data received {"connection_id":194034,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:46] local.INFO: Processing buffer {"connection_id":194034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:45:46] local.INFO: Packet analysis {"connection_id":194034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:46] local.INFO: Extracted packet for processing {"connection_id":194034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:46] 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-25 19:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:46] 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-25 19:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":194034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":194034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":194034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:45:46] 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":897168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:45:46] local.INFO: GPS data processed {"connection_id":194034,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:45:46] local.INFO: Acknowledgment sent {"connection_id":194034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:45:54] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:54] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:54] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:45:59] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:59] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:45:59] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:45:59] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8eb2fd8012d07ea000725d0c8001100f322..."} 
[2026-09-25 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8eb2fd8012d07ea000725d0c8001100f322..."} 
[2026-09-25 19:45:59] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8eb2fd8012d07ea000725d0c8001100f322..."} 
[2026-09-25 19:45:59] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:45:59] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755493376,"raw_latitude":119918792,"longitude_deg":75.5493376,"latitude_deg":11.9918792,"altitude":17,"angle":243,"satellites":34,"speed":25,"hex_longitude":"2d07ea00","hex_latitude":"0725d0c8","is_valid_coordinates":true} 
[2026-09-25 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328495360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23124013727350784,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571394233422012416,"note":"Value kept but may cause issues"} 
[2026-09-25 19:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790345687000,"timestamp_ms":1790345687000,"timestamp_seconds":1790345687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8eb2fd8"} 
[2026-09-25 19:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328495360001,"66":12972,"25":206,"83":44288,"24":25,"16":23124013727350784,"45":571394233422012416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-09-25 19:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328495360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:45:59] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-09-25 19:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23124013727350784,"km_value":23124013727350.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":571394233422012416,"description":"Unknown IO ID 45"} 
[2026-09-25 19:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328495360001,"power":12972,"unknown_25":206,"unknown_83":44288,"ignition":25,"odometer":null,"unknown_45":571394233422012416}} 
[2026-09-25 19:46:00] 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":897169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:00] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:00] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:03] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:03] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:03] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:46:03] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46: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-25 19:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:46: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-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:46:03] 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":897170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:03] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:03] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:22] local.INFO: TCP Data received {"connection_id":195373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:22] local.INFO: Processing buffer {"connection_id":195373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:22] local.INFO: IMEI packet received {"connection_id":195373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":195373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:46:24] local.INFO: TCP Data received {"connection_id":194035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:24] local.INFO: Processing buffer {"connection_id":194035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:24] local.INFO: IMEI packet received {"connection_id":194035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":194035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:46:27] local.INFO: TCP Data received {"connection_id":195373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:27] local.INFO: Processing buffer {"connection_id":195373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:46:27] local.INFO: IMEI packet received {"connection_id":195373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":195373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:46:28] local.INFO: TCP Data received {"connection_id":195373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:28] local.INFO: Processing buffer {"connection_id":195373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:28] local.INFO: Packet analysis {"connection_id":195373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:46:28] local.INFO: Extracted packet for processing {"connection_id":195373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:28] 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-25 19:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19: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-25 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:46: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-25 19: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-25 19: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-25 19:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":195373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:28] local.INFO: GPS data processed {"connection_id":195373,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:28] local.INFO: Acknowledgment sent {"connection_id":195373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:30] local.INFO: TCP Data received {"connection_id":194035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:30] local.INFO: Processing buffer {"connection_id":194035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:46:30] local.INFO: IMEI packet received {"connection_id":194035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":194035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:46:30] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8eb4360012d07df400725caf0001100e61c..."} 
[2026-09-25 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8eb4360012d07df400725caf0001100e61c..."} 
[2026-09-25 19:46:30] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8eb4360012d07df400725caf0001100e61c..."} 
[2026-09-25 19:46:30] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:46:30] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8eb"} 
[2026-09-25 19:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755490624,"raw_latitude":119917296,"longitude_deg":75.5490624,"latitude_deg":11.9917296,"altitude":17,"angle":230,"satellites":28,"speed":24,"hex_longitude":"2d07df40","hex_latitude":"0725caf0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328495872001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23124164051206144,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":570268333514999808,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345692000,"timestamp_ms":1790345692000,"timestamp_seconds":1790345692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8eb4360"} 
[2026-09-25 19: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-25 19:46:30] 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-25 19: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:30] 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-25 19: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-25 19: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-25 19:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328495872001,"66":13504,"251":206,"83":44288,"24":24,"16":23124164051206144,"45":570268333514999808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328495872001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23124164051206144,"km_value":23124164051206.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":570268333514999808,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328495872001,"power":13504,"unknown_251":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":570268333514999808}} 
[2026-09-25 19:46:30] 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":897172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:30] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:30] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:31] local.INFO: TCP Data received {"connection_id":194035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:31] local.INFO: Processing buffer {"connection_id":194035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e7b150012d34c14006aa49080000006e2b..."} 
[2026-09-25 19:46:31] local.INFO: Packet analysis {"connection_id":194035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:46:31] local.INFO: Extracted packet for processing {"connection_id":194035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e7"} 
[2026-09-25 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328360192001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46: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-25 19:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345458000,"timestamp_ms":1790345458000,"timestamp_seconds":1790345458,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e7b150"} 
[2026-09-25 19:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:46: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-25 19:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328360192001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328360192001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:46: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-25 19:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328360192001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":194035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:31] local.INFO: GPS data processed {"connection_id":194035,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:31] local.INFO: Acknowledgment sent {"connection_id":194035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:33] local.INFO: TCP Data received {"connection_id":195373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:33] local.INFO: Processing buffer {"connection_id":195373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:46:33] local.INFO: Packet analysis {"connection_id":195373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:46:33] local.INFO: Extracted packet for processing {"connection_id":195373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:33] 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-25 19:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19: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-25 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:33] 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-25 19: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-25 19: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-25 19:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:46:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":195373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:33] local.INFO: GPS data processed {"connection_id":195373,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:33] local.INFO: Acknowledgment sent {"connection_id":195373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:56] local.INFO: TCP Data received {"connection_id":195374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: Processing buffer {"connection_id":195374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: IMEI packet received {"connection_id":195374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":195374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:46:56] local.INFO: TCP Data received {"connection_id":195374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: Processing buffer {"connection_id":195374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:46:56] local.INFO: IMEI packet received {"connection_id":195374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":195374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:46:57] local.INFO: TCP Data received {"connection_id":195374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4d00012d07cbc007254128000e009524..."} 
[2026-09-25 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4d00012d07cbc007254128000e009524..."} 
[2026-09-25 19:46:57] local.INFO: Processing buffer {"connection_id":195374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4d00012d07cbc007254128000e009524..."} 
[2026-09-25 19:46:57] local.INFO: Packet analysis {"connection_id":195374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:46:57] local.INFO: Extracted packet for processing {"connection_id":195374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755485632,"raw_latitude":119882024,"longitude_deg":75.5485632,"latitude_deg":11.9882024,"altitude":14,"angle":149,"satellites":36,"speed":15,"hex_longitude":"2d07cbc0","hex_latitude":"07254128","is_valid_coordinates":true} 
[2026-09-25 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328512512001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23126118261325824,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559572284391061504,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790345760000,"timestamp_ms":1790345760000,"timestamp_seconds":1790345760,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4d00"} 
[2026-09-25 19:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46: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-25 19:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328512512001,"66":13526,"251":206,"83":44288,"24":15,"16":23126118261325824,"45":559572284391061504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328512512001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23126118261325824,"km_value":23126118261325.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":559572284391061504,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328512512001,"power":13526,"unknown_251":206,"unknown_83":44288,"ignition":15,"odometer":null,"unknown_45":559572284391061504}} 
[2026-09-25 19:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":195374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:57] local.INFO: GPS data processed {"connection_id":195374,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:57] local.INFO: Acknowledgment sent {"connection_id":195374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:46:59] local.INFO: TCP Data received {"connection_id":195374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec50e8012d07cc4007253fd0000e00a424..."} 
[2026-09-25 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec50e8012d07cc4007253fd0000e00a424..."} 
[2026-09-25 19:46:59] local.INFO: Processing buffer {"connection_id":195374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec50e8012d07cc4007253fd0000e00a424..."} 
[2026-09-25 19:46:59] local.INFO: Packet analysis {"connection_id":195374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:46:59] local.INFO: Extracted packet for processing {"connection_id":195374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755485760,"raw_latitude":119881680,"longitude_deg":75.548576,"latitude_deg":11.988168,"altitude":14,"angle":164,"satellites":36,"speed":15,"hex_longitude":"2d07cc40","hex_latitude":"07253fd0","is_valid_coordinates":true} 
[2026-09-25 19:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514560001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23126135441195008,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561753715460089856,"note":"Value kept but may cause issues"} 
[2026-09-25 19:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790345761000,"timestamp_ms":1790345761000,"timestamp_seconds":1790345761,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec50e8"} 
[2026-09-25 19:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:46:59] 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-25 19:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 19:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514560001,"66":13352,"251":206,"83":44288,"24":15,"16":23126135441195008,"45":561753715460089856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514560001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:46:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23126135441195008,"km_value":23126135441195.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":561753715460089856,"description":"Unknown IO ID 45"} 
[2026-09-25 19:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514560001,"power":13352,"unknown_251":206,"unknown_83":44288,"ignition":15,"odometer":null,"unknown_45":561753715460089856}} 
[2026-09-25 19:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":195374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:46:59] local.INFO: GPS data processed {"connection_id":195374,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:46:59] local.INFO: Acknowledgment sent {"connection_id":195374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:01] local.INFO: TCP Data received {"connection_id":194035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:01] local.INFO: Processing buffer {"connection_id":194035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:01] local.INFO: Packet analysis {"connection_id":194035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:01] local.INFO: Extracted packet for processing {"connection_id":194035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47: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-25 19:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:47:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:47: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-25 19:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":194035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:01] local.INFO: GPS data processed {"connection_id":194035,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:01] local.INFO: Acknowledgment sent {"connection_id":194035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:17] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:17] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:17] local.INFO: IMEI packet received {"connection_id":192664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":192664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:47:22] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:22] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:47:22] local.INFO: IMEI packet received {"connection_id":192664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":192664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:47:23] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:23] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:23] local.INFO: Packet analysis {"connection_id":192664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:47:23] local.INFO: Extracted packet for processing {"connection_id":192664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:23] 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-25 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:23] 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-25 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:47:23] 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":897178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:23] local.INFO: GPS data processed {"connection_id":192664,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:23] local.INFO: Acknowledgment sent {"connection_id":192664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:23] local.INFO: TCP Data received {"connection_id":194036,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:47:23] local.INFO: Processing buffer {"connection_id":194036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:47:23] local.INFO: IMEI packet received {"connection_id":194036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":194036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:47:29] local.INFO: TCP Data received {"connection_id":195375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:29] local.INFO: Processing buffer {"connection_id":195375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:29] local.INFO: IMEI packet received {"connection_id":195375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":195375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:47:30] local.INFO: TCP Data received {"connection_id":195374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec6858012d07ce00072536f8001000b027..."} 
[2026-09-25 19:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec6858012d07ce00072536f8001000b027..."} 
[2026-09-25 19:47:30] local.INFO: Processing buffer {"connection_id":195374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec6858012d07ce00072536f8001000b027..."} 
[2026-09-25 19:47:30] local.INFO: Packet analysis {"connection_id":195374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:30] local.INFO: Extracted packet for processing {"connection_id":195374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:30] local.INFO: GPS Element Parsed {"raw_longitude":755486208,"raw_latitude":119879416,"longitude_deg":75.5486208,"latitude_deg":11.9879416,"altitude":16,"angle":176,"satellites":39,"speed":13,"hex_longitude":"2d07ce00","hex_latitude":"072536f8","is_valid_coordinates":true} 
[2026-09-25 19:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514816001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23126247110344704,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561894452948357120,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345767000,"timestamp_ms":1790345767000,"timestamp_seconds":1790345767,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec6858"} 
[2026-09-25 19:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514816001,"66":12722,"251":206,"83":44288,"24":13,"16":23126247110344704,"45":561894452948357120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514816001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23126247110344704,"km_value":23126247110344.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":561894452948357120,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514816001,"power":12722,"unknown_251":206,"unknown_83":44288,"ignition":13,"odometer":null,"unknown_45":561894452948357120}} 
[2026-09-25 19:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":195374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:30] local.INFO: GPS data processed {"connection_id":195374,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:30] local.INFO: Acknowledgment sent {"connection_id":195374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:35] local.INFO: TCP Data received {"connection_id":195375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:35] local.INFO: Processing buffer {"connection_id":195375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:47:35] local.INFO: IMEI packet received {"connection_id":195375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":195375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:47:35] local.INFO: TCP Data received {"connection_id":195375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:35] local.INFO: Processing buffer {"connection_id":195375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:35] local.INFO: Packet analysis {"connection_id":195375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:35] local.INFO: Extracted packet for processing {"connection_id":195375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":195375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:35] local.INFO: GPS data processed {"connection_id":195375,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:35] local.INFO: Acknowledgment sent {"connection_id":195375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:40] local.INFO: TCP Data received {"connection_id":195375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:40] local.INFO: Processing buffer {"connection_id":195375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:47:40] local.INFO: Packet analysis {"connection_id":195375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:40] local.INFO: Extracted packet for processing {"connection_id":195375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19: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-25 19:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:47: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-25 19:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":195375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:40] local.INFO: GPS data processed {"connection_id":195375,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:40] local.INFO: Acknowledgment sent {"connection_id":195375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:54] local.INFO: TCP Data received {"connection_id":194037,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:54] local.INFO: Processing buffer {"connection_id":194037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:54] local.INFO: IMEI packet received {"connection_id":194037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":194037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:47:54] local.INFO: TCP Data received {"connection_id":192664,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:54] local.INFO: Processing buffer {"connection_id":192664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8e9bcc0012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:47:54] local.INFO: Packet analysis {"connection_id":192664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:47:54] local.INFO: Extracted packet for processing {"connection_id":192664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8e9"} 
[2026-09-25 19:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:47: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-25 19:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328394496001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:54] 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-25 19:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790345592000,"timestamp_ms":1790345592000,"timestamp_seconds":1790345592,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8e9bcc0"} 
[2026-09-25 19:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:47: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:54] 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-25 19:47: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-25 19:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328394496001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328394496001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328394496001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:47:55] local.INFO: TCP Data received {"connection_id":194037,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:55] local.INFO: Processing buffer {"connection_id":194037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:55] local.INFO: IMEI packet received {"connection_id":194037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":194037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:47:55] 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":897182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:55] local.INFO: GPS data processed {"connection_id":192664,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:55] local.INFO: Acknowledgment sent {"connection_id":192664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:47:58] local.INFO: TCP Data received {"connection_id":194037,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:58] local.INFO: Processing buffer {"connection_id":194037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:47:58] local.INFO: IMEI packet received {"connection_id":194037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":194037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:47:59] local.INFO: TCP Data received {"connection_id":194037,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec9350012d07d04007252ae8001100a227..."} 
[2026-09-25 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec9350012d07d04007252ae8001100a227..."} 
[2026-09-25 19:47:59] local.INFO: Processing buffer {"connection_id":194037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec9350012d07d04007252ae8001100a227..."} 
[2026-09-25 19:47:59] local.INFO: Packet analysis {"connection_id":194037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:59] local.INFO: Extracted packet for processing {"connection_id":194037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755486784,"raw_latitude":119876328,"longitude_deg":75.5486784,"latitude_deg":11.9876328,"altitude":17,"angle":162,"satellites":39,"speed":16,"hex_longitude":"2d07d040","hex_latitude":"07252ae8","is_valid_coordinates":true} 
[2026-09-25 19:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328516352001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23126401729167360,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562387034157021184,"note":"Value kept but may cause issues"} 
[2026-09-25 19:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790345778000,"timestamp_ms":1790345778000,"timestamp_seconds":1790345778,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec9350"} 
[2026-09-25 19:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 19:47:59] 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-25 19:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328516352001,"66":13646,"251":206,"83":44288,"24":16,"16":23126401729167360,"45":562387034157021184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,83,24,16,45]} 
[2026-09-25 19:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328516352001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:47:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-25 19:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23126401729167360,"km_value":23126401729167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":562387034157021184,"description":"Unknown IO ID 45"} 
[2026-09-25 19:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328516352001,"power":13646,"unknown_251":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":562387034157021184}} 
[2026-09-25 19:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":194037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:47:59] local.INFO: GPS data processed {"connection_id":194037,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:47:59] local.INFO: Acknowledgment sent {"connection_id":194037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:48:03] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:48:03] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:48:03] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:48:17] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:17] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:17] local.INFO: IMEI packet received {"connection_id":194038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":194038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:48:24] local.INFO: TCP Data received {"connection_id":194039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:24] local.INFO: Processing buffer {"connection_id":194039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:24] local.INFO: IMEI packet received {"connection_id":194039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":194039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:48:26] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:26] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:48:26] local.INFO: IMEI packet received {"connection_id":194038,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":194038,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:48:29] local.INFO: TCP Data received {"connection_id":194039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:29] local.INFO: Processing buffer {"connection_id":194039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:48:29] local.INFO: IMEI packet received {"connection_id":194039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":194039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:48:30] local.INFO: TCP Data received {"connection_id":194039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:48:30] local.INFO: Processing buffer {"connection_id":194039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:48:30] local.INFO: Packet analysis {"connection_id":194039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:48:30] local.INFO: Extracted packet for processing {"connection_id":194039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":194039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:48:30] local.INFO: GPS data processed {"connection_id":194039,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:48:30] local.INFO: Acknowledgment sent {"connection_id":194039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:48:31] local.INFO: TCP Data received {"connection_id":194037,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8edc400012d0832000724f0380017008427..."} 
[2026-09-25 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8edc400012d0832000724f0380017008427..."} 
[2026-09-25 19:48:31] local.INFO: Processing buffer {"connection_id":194037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8edc400012d0832000724f0380017008427..."} 
[2026-09-25 19:48:31] local.INFO: Packet analysis {"connection_id":194037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ed"} 
[2026-09-25 19:48:31] local.INFO: Extracted packet for processing {"connection_id":194037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ed"} 
[2026-09-25 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":755511808,"raw_latitude":119861304,"longitude_deg":75.5511808,"latitude_deg":11.9861304,"altitude":23,"angle":132,"satellites":39,"speed":34,"hex_longitude":"2d083200","hex_latitude":"0724f038","is_valid_coordinates":true} 
[2026-09-25 19:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328538112001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23127939327459328,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588423469498804224,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345856000,"timestamp_ms":1790345856000,"timestamp_seconds":1790345856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8edc400"} 
[2026-09-25 19:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 19:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328538112001,"66":13537,"129":206,"83":44288,"24":34,"16":23127939327459328,"45":588423469498804224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-25 19:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328538112001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:48:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 19:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23127939327459328,"km_value":23127939327459.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":588423469498804224,"description":"Unknown IO ID 45"} 
[2026-09-25 19:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328538112001,"power":13537,"unknown_129":206,"unknown_83":44288,"ignition":34,"odometer":null,"unknown_45":588423469498804224}} 
[2026-09-25 19:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":194037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:48:31] local.INFO: GPS data processed {"connection_id":194037,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:48:31] local.INFO: Acknowledgment sent {"connection_id":194037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:48:38] local.INFO: TCP Data received {"connection_id":194038,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:48:38] local.INFO: Processing buffer {"connection_id":194038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:48:38] local.INFO: Packet analysis {"connection_id":194038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:48:38] local.INFO: Extracted packet for processing {"connection_id":194038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:38] 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-25 19:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:48:38] 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-25 19:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194038,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:48:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:48:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:48:38] 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":897186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:48:38] local.INFO: GPS data processed {"connection_id":194038,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:48:38] local.INFO: Acknowledgment sent {"connection_id":194038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:48:54] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:54] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:54] local.INFO: IMEI packet received {"connection_id":192501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":192501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:48:56] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:56] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:56] local.INFO: IMEI packet received {"connection_id":192501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":192501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:48:59] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:59] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:48:59] local.INFO: IMEI packet received {"connection_id":192501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":192501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:48:59] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8edcfb8012d083ac00724e9d00015007726..."} 
[2026-09-25 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8edcfb8012d083ac00724e9d00015007726..."} 
[2026-09-25 19:48:59] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8edcfb8012d083ac00724e9d00015007726..."} 
[2026-09-25 19:48:59] local.INFO: Packet analysis {"connection_id":192501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ed"} 
[2026-09-25 19:48:59] local.INFO: Extracted packet for processing {"connection_id":192501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ed"} 
[2026-09-25 19:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755514048,"raw_latitude":119859664,"longitude_deg":75.5514048,"latitude_deg":11.9859664,"altitude":21,"angle":119,"satellites":38,"speed":37,"hex_longitude":"2d083ac0","hex_latitude":"0724e9d0","is_valid_coordinates":true} 
[2026-09-25 19:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328539136001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23128072471445504,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590534531823450112,"note":"Value kept but may cause issues"} 
[2026-09-25 19:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790345859000,"timestamp_ms":1790345859000,"timestamp_seconds":1790345859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8edcfb8"} 
[2026-09-25 19:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328539136001,"66":13537,"129":206,"83":44288,"24":37,"16":23128072471445504,"45":590534531823450112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,83,24,16,45]} 
[2026-09-25 19:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328539136001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:48:59] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-25 19:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23128072471445504,"km_value":23128072471445.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":590534531823450112,"description":"Unknown IO ID 45"} 
[2026-09-25 19:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328539136001,"power":13537,"unknown_129":206,"unknown_83":44288,"ignition":37,"odometer":null,"unknown_45":590534531823450112}} 
[2026-09-25 19:49:00] 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":897187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:00] local.INFO: GPS data processed {"connection_id":192501,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:00] local.INFO: Acknowledgment sent {"connection_id":192501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:49:02] local.INFO: TCP Data received {"connection_id":194039,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:02] local.INFO: Processing buffer {"connection_id":194039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:02] local.INFO: Packet analysis {"connection_id":194039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:49:02] local.INFO: Extracted packet for processing {"connection_id":194039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49: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-25 19:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:49: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-25 19:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":194039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:02] local.INFO: GPS data processed {"connection_id":194039,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:02] local.INFO: Acknowledgment sent {"connection_id":194039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:49:25] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:25] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:25] local.INFO: IMEI packet received {"connection_id":192502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":192502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:49:29] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:29] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:49:29] local.INFO: IMEI packet received {"connection_id":192502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":192502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:30] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:30] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:30] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:49:31] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:31] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:49:31] local.INFO: Packet analysis {"connection_id":192502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:49:31] local.INFO: Extracted packet for processing {"connection_id":192502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 19:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49: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-25 19:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 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-25 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 19:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:49: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-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:49:31] 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":897189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:31] local.INFO: GPS data processed {"connection_id":192502,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:31] local.INFO: Acknowledgment sent {"connection_id":192502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:49:32] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:32] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:32] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:36] local.INFO: TCP Data received {"connection_id":192501,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8eeaa78012d08d74007247b48001d004825..."} 
[2026-09-25 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8eeaa78012d08d74007247b48001d004825..."} 
[2026-09-25 19:49:36] local.INFO: Processing buffer {"connection_id":192501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8eeaa78012d08d74007247b48001d004825..."} 
[2026-09-25 19:49:36] local.INFO: Packet analysis {"connection_id":192501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:49:36] local.INFO: Extracted packet for processing {"connection_id":192501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:49:36] local.INFO: GPS Element Parsed {"raw_longitude":755554112,"raw_latitude":119831368,"longitude_deg":75.5554112,"latitude_deg":11.9831368,"altitude":29,"angle":72,"satellites":37,"speed":35,"hex_longitude":"2d08d740","hex_latitude":"07247b48","is_valid_coordinates":true} 
[2026-09-25 19:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328553728001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23130516307836928,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":635148315624331264,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790345915000,"timestamp_ms":1790345915000,"timestamp_seconds":1790345915,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8eeaa78"} 
[2026-09-25 19:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:49:36] 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-25 19:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 19:49:36] 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-25 19:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328553728001,"66":13515,"233":206,"83":44288,"24":35,"16":23130516307836928,"45":635148315624331264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,45]} 
[2026-09-25 19:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328553728001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:49:36] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-25 19:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23130516307836928,"km_value":23130516307836.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":635148315624331264,"description":"Unknown IO ID 45"} 
[2026-09-25 19:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328553728001,"power":13515,"unknown_233":206,"unknown_83":44288,"ignition":35,"odometer":null,"unknown_45":635148315624331264}} 
[2026-09-25 19:49:36] 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":897190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:36] local.INFO: GPS data processed {"connection_id":192501,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:36] local.INFO: Acknowledgment sent {"connection_id":192501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:49:38] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:39] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:49:39] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:39] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:49:39] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:49:39] local.INFO: Packet analysis {"connection_id":192667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:49:39] local.INFO: Extracted packet for processing {"connection_id":192667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:49:39] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:39] 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-25 19:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19: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-25 19:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:49:39] 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-25 19: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-25 19: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-25 19:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:49:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:49:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:49:39] 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":897191,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:39] local.INFO: GPS data processed {"connection_id":192667,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:39] local.INFO: Acknowledgment sent {"connection_id":192667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:49:54] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: IMEI packet received {"connection_id":195376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":195376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:49:54] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:54] local.INFO: IMEI packet received {"connection_id":195376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":195376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:56] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:56] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:56] local.INFO: IMEI packet received {"connection_id":195376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":195376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:58] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:58] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:49:58] local.INFO: IMEI packet received {"connection_id":195376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":195376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:49:58] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ef42d0012d0959c007245890000e003a25..."} 
[2026-09-25 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ef42d0012d0959c007245890000e003a25..."} 
[2026-09-25 19:49:58] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ef42d0012d0959c007245890000e003a25..."} 
[2026-09-25 19:49:58] local.INFO: Packet analysis {"connection_id":195376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ef"} 
[2026-09-25 19:49:58] local.INFO: Extracted packet for processing {"connection_id":195376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ef"} 
[2026-09-25 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":755587520,"raw_latitude":119822480,"longitude_deg":75.558752,"latitude_deg":11.982248,"altitude":14,"angle":58,"satellites":37,"speed":36,"hex_longitude":"2d0959c0","hex_latitude":"07245890","is_valid_coordinates":true} 
[2026-09-25 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328563712001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23132350258872320,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":671951168826873856,"note":"Value kept but may cause issues"} 
[2026-09-25 19:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790345954000,"timestamp_ms":1790345954000,"timestamp_seconds":1790345954,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ef42d0"} 
[2026-09-25 19:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328563712001,"66":13537,"232":206,"83":44288,"24":36,"16":23132350258872320,"45":671951168826873856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-25 19:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328563712001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:49:58] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-25 19:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23132350258872320,"km_value":23132350258872.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":671951168826873856,"description":"Unknown IO ID 45"} 
[2026-09-25 19:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328563712001,"power":13537,"unknown_232":206,"unknown_83":44288,"ignition":36,"odometer":null,"unknown_45":671951168826873856}} 
[2026-09-25 19:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":195376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:49:58] local.INFO: GPS data processed {"connection_id":195376,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:49:58] local.INFO: Acknowledgment sent {"connection_id":195376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:03] local.INFO: TCP Data received {"connection_id":192502,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:03] local.INFO: Processing buffer {"connection_id":192502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:03] local.INFO: Packet analysis {"connection_id":192502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:50:03] local.INFO: Extracted packet for processing {"connection_id":192502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50: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-25 19:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:50: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-25 19:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:50:03] 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":897193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:50:03] local.INFO: GPS data processed {"connection_id":192502,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:50:03] local.INFO: Acknowledgment sent {"connection_id":192502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:17] local.INFO: TCP Data received {"connection_id":195377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:17] local.INFO: Processing buffer {"connection_id":195377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:17] local.INFO: IMEI packet received {"connection_id":195377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":195377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:50:22] local.INFO: TCP Data received {"connection_id":195377,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:22] local.INFO: Processing buffer {"connection_id":195377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:50:22] local.INFO: IMEI packet received {"connection_id":195377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":195377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:50:23] local.INFO: TCP Data received {"connection_id":195377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:23] local.INFO: Processing buffer {"connection_id":195377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:23] local.INFO: Packet analysis {"connection_id":195377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:50:23] local.INFO: Extracted packet for processing {"connection_id":195377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:50: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-25 19:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:23] 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-25 19:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:50: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-25 19:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:50:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:50:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":195377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:50:23] local.INFO: GPS data processed {"connection_id":195377,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:50:23] local.INFO: Acknowledgment sent {"connection_id":195377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:24] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:24] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:24] local.INFO: IMEI packet received {"connection_id":194041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":194041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:50:29] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:29] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:50:29] local.INFO: IMEI packet received {"connection_id":194041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":194041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:50:30] local.INFO: TCP Data received {"connection_id":195376,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8efbfd0012d09a2c0072466800010009e2b..."} 
[2026-09-25 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8efbfd0012d09a2c0072466800010009e2b..."} 
[2026-09-25 19:50:30] local.INFO: Processing buffer {"connection_id":195376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8efbfd0012d09a2c0072466800010009e2b..."} 
[2026-09-25 19:50:30] local.INFO: Packet analysis {"connection_id":195376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ef"} 
[2026-09-25 19:50:30] local.INFO: Extracted packet for processing {"connection_id":195376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ef"} 
[2026-09-25 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755606208,"raw_latitude":119826048,"longitude_deg":75.5606208,"latitude_deg":11.9826048,"altitude":16,"angle":158,"satellites":43,"speed":11,"hex_longitude":"2d09a2c0","hex_latitude":"07246680","is_valid_coordinates":true} 
[2026-09-25 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328572160001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23133432590630912,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694187691988189184,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345986000,"timestamp_ms":1790345986000,"timestamp_seconds":1790345986,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8efbfd0"} 
[2026-09-25 19:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 19:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328572160001,"66":13515,"232":206,"83":44288,"24":11,"16":23133432590630912,"45":694187691988189184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328572160001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-09-25 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23133432590630912,"km_value":23133432590630.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":694187691988189184,"description":"Unknown IO ID 45"} 
[2026-09-25 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328572160001,"power":13515,"unknown_232":206,"unknown_83":44288,"ignition":11,"odometer":null,"unknown_45":694187691988189184}} 
[2026-09-25 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":195376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:50:30] local.INFO: GPS data processed {"connection_id":195376,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:50:30] local.INFO: Acknowledgment sent {"connection_id":195376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:30] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:30] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:50:30] local.INFO: Packet analysis {"connection_id":194041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:50:30] local.INFO: Extracted packet for processing {"connection_id":194041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:50:30] 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":897196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:50:30] local.INFO: GPS data processed {"connection_id":194041,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:50:30] local.INFO: Acknowledgment sent {"connection_id":194041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:53] local.INFO: TCP Data received {"connection_id":195378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:53] local.INFO: Processing buffer {"connection_id":195378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:53] local.INFO: IMEI packet received {"connection_id":195378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":195378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:50:54] local.INFO: TCP Data received {"connection_id":195377,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:54] local.INFO: Processing buffer {"connection_id":195377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:50:54] local.INFO: Packet analysis {"connection_id":195377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:50:54] local.INFO: Extracted packet for processing {"connection_id":195377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:50:54] 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-25 19:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:50:54] 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-25 19:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:50:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":195377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:50:55] local.INFO: GPS data processed {"connection_id":195377,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:50:55] local.INFO: Acknowledgment sent {"connection_id":195377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:50:55] local.INFO: TCP Data received {"connection_id":195378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:55] local.INFO: Processing buffer {"connection_id":195378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:55] local.INFO: IMEI packet received {"connection_id":195378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":195378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:50:56] local.INFO: TCP Data received {"connection_id":195378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:56] local.INFO: Processing buffer {"connection_id":195378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:56] local.INFO: IMEI packet received {"connection_id":195378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":195378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:50:57] local.INFO: TCP Data received {"connection_id":195378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:57] local.INFO: Processing buffer {"connection_id":195378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:50:57] local.INFO: IMEI packet received {"connection_id":195378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":195378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:51:02] local.INFO: TCP Data received {"connection_id":194041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:02] local.INFO: Processing buffer {"connection_id":194041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:02] local.INFO: Packet analysis {"connection_id":194041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:51:02] local.INFO: Extracted packet for processing {"connection_id":194041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51: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-25 19:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:51: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-25 19:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:51:02] 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":897198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:51:02] local.INFO: GPS data processed {"connection_id":194041,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:51:02] local.INFO: Acknowledgment sent {"connection_id":194041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:51:17] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:17] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:17] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:51:22] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:22] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:51:22] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:51:23] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:23] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:23] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:51:23] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:23] 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-25 19:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19: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-25 19:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:51:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:51:23] 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":897199,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:51:23] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:51:23] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:51:24] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:24] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:24] local.INFO: IMEI packet received {"connection_id":194042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":194042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:51:30] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:30] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:51:30] local.INFO: IMEI packet received {"connection_id":194042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":194042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:51:31] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:31] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ec4918012d34c14006aa49080004006e2a..."} 
[2026-09-25 19:51:31] local.INFO: Packet analysis {"connection_id":194042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:51:31] local.INFO: Extracted packet for processing {"connection_id":194042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ec"} 
[2026-09-25 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328437248001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51: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-25 19:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790345759000,"timestamp_ms":1790345759000,"timestamp_seconds":1790345759,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ec4918"} 
[2026-09-25 19:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328437248001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328437248001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:51: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-25 19:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328437248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:51:31] 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":897200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:51:31] local.INFO: GPS data processed {"connection_id":194042,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:51:31] local.INFO: Acknowledgment sent {"connection_id":194042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:51:55] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:55] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:51:55] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:51:55] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:51:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:51:55] 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-25 19:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19: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-25 19:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:51: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-25 19: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-25 19: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-25 19:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:51:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:51:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:51:55] 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":897201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:51:55] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:51:55] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:52:04] local.INFO: TCP Data received {"connection_id":194042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:04] local.INFO: Processing buffer {"connection_id":194042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:04] local.INFO: Packet analysis {"connection_id":194042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:52:04] local.INFO: Extracted packet for processing {"connection_id":194042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:52:04] 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":897202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:52:04] local.INFO: GPS data processed {"connection_id":194042,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:52:04] local.INFO: Acknowledgment sent {"connection_id":194042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:52:24] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:24] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:24] local.INFO: IMEI packet received {"connection_id":192504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":192504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:52:30] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:30] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:52:30] local.INFO: IMEI packet received {"connection_id":192504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":192504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:52:31] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:31] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:52:31] local.INFO: Packet analysis {"connection_id":192504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:52:31] local.INFO: Extracted packet for processing {"connection_id":192504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52: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-25 19:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:52: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-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:52:31] 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":897203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:52:31] local.INFO: GPS data processed {"connection_id":192504,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:52:31] local.INFO: Acknowledgment sent {"connection_id":192504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:52:32] local.INFO: TCP Data received {"connection_id":195379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: Processing buffer {"connection_id":195379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: IMEI packet received {"connection_id":195379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":195379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:52:32] local.INFO: TCP Data received {"connection_id":195379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: Processing buffer {"connection_id":195379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:52:32] local.INFO: IMEI packet received {"connection_id":195379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":195379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:52:33] local.INFO: TCP Data received {"connection_id":195379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:33] local.INFO: Processing buffer {"connection_id":195379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:33] local.INFO: Packet analysis {"connection_id":195379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:52:33] local.INFO: Extracted packet for processing {"connection_id":195379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:33] 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-25 19:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19: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-25 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:52:33] 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-25 19: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-25 19: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-25 19:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:52:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:52:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":195379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:52:33] local.INFO: GPS data processed {"connection_id":195379,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:52:33] local.INFO: Acknowledgment sent {"connection_id":195379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:52:34] local.INFO: TCP Data received {"connection_id":195379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:34] local.INFO: Processing buffer {"connection_id":195379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ee5488012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:52:34] local.INFO: Packet analysis {"connection_id":195379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:52:34] local.INFO: Extracted packet for processing {"connection_id":195379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ee"} 
[2026-09-25 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328471552001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:52:34] 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-25 19:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790345893000,"timestamp_ms":1790345893000,"timestamp_seconds":1790345893,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ee5488"} 
[2026-09-25 19: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-25 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:52:34] 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-25 19: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-25 19: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-25 19:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328471552001,"66":12689,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328471552001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:52:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:52:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328471552001,"power":12689,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":195379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:52:34] local.INFO: GPS data processed {"connection_id":195379,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:52:34] local.INFO: Acknowledgment sent {"connection_id":195379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:53:02] local.INFO: TCP Data received {"connection_id":192504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:02] local.INFO: Processing buffer {"connection_id":192504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:02] local.INFO: Packet analysis {"connection_id":192504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:02] local.INFO: Extracted packet for processing {"connection_id":192504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53: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-25 19:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:53: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-25 19:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:53:02] 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":897206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:53:02] local.INFO: GPS data processed {"connection_id":192504,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:53:02] local.INFO: Acknowledgment sent {"connection_id":192504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:53:22] local.INFO: TCP Data received {"connection_id":195380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:22] local.INFO: Processing buffer {"connection_id":195380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:22] local.INFO: IMEI packet received {"connection_id":195380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":195380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:53:30] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:30] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:30] local.INFO: IMEI packet received {"connection_id":194044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":194044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:53:33] local.INFO: TCP Data received {"connection_id":194043,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:53:33] local.INFO: Processing buffer {"connection_id":194043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:53:33] local.INFO: IMEI packet received {"connection_id":194043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":194043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:53:35] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:35] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:53:35] local.INFO: IMEI packet received {"connection_id":194044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":194044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:53:36] local.INFO: TCP Data received {"connection_id":195380,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:36] local.INFO: Processing buffer {"connection_id":195380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:53:36] local.INFO: IMEI packet received {"connection_id":195380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":195380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:53:36] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:36] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:36] local.INFO: Packet analysis {"connection_id":194044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:36] local.INFO: Extracted packet for processing {"connection_id":194044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19: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-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19: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-25 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:53:36] 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":897207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:53:36] local.INFO: GPS data processed {"connection_id":194044,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:53:36] local.INFO: Acknowledgment sent {"connection_id":194044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:53:40] local.INFO: TCP Data received {"connection_id":194044,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:40] local.INFO: Processing buffer {"connection_id":194044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:53:40] local.INFO: Packet analysis {"connection_id":194044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:40] local.INFO: Extracted packet for processing {"connection_id":194044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19: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-25 19:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:53: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-25 19:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:53:40] 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":897208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:53:40] local.INFO: GPS data processed {"connection_id":194044,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:53:40] local.INFO: Acknowledgment sent {"connection_id":194044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:53:52] local.INFO: TCP Data received {"connection_id":195380,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195380,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:53:52] local.INFO: Processing buffer {"connection_id":195380,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 19:53:52] local.INFO: IMEI packet received {"connection_id":195380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":195380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:54:03] local.INFO: TCP Data received {"connection_id":195381,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:54:03] local.INFO: Processing buffer {"connection_id":195381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:54:03] local.INFO: IMEI packet received {"connection_id":195381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":195381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:54:24] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:24] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:24] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:54:30] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:30] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:54:30] local.INFO: IMEI packet received {"connection_id":192506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":192506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:54:31] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:54:31] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:54:31] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:54:31] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:54: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-25 19:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:54:31] local.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-25 19:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:54: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-25 19:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:54:31] local.INFO: GPS data processed {"connection_id":192506,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:54:31] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:55:03] local.INFO: TCP Data received {"connection_id":192506,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:03] local.INFO: Processing buffer {"connection_id":192506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:03] local.INFO: Packet analysis {"connection_id":192506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:55:03] local.INFO: Extracted packet for processing {"connection_id":192506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55: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-25 19:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 19:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:55: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-25 19:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":192506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:55:03] local.INFO: GPS data processed {"connection_id":192506,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:55:03] local.INFO: Acknowledgment sent {"connection_id":192506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:55:24] local.INFO: TCP Data received {"connection_id":195382,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:24] local.INFO: Processing buffer {"connection_id":195382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:24] local.INFO: IMEI packet received {"connection_id":195382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":195382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:55:31] local.INFO: TCP Data received {"connection_id":195382,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:31] local.INFO: Processing buffer {"connection_id":195382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:55:31] local.INFO: IMEI packet received {"connection_id":195382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":195382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:55:32] local.INFO: TCP Data received {"connection_id":195382,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:32] local.INFO: Processing buffer {"connection_id":195382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:55:32] local.INFO: Packet analysis {"connection_id":195382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:55:32] local.INFO: Extracted packet for processing {"connection_id":195382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:55:32] local.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-25 19:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:55:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:55:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":195382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:55:32] local.INFO: GPS data processed {"connection_id":195382,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:55:32] local.INFO: Acknowledgment sent {"connection_id":195382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:56:03] local.INFO: TCP Data received {"connection_id":195382,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:03] local.INFO: Processing buffer {"connection_id":195382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:03] local.INFO: Packet analysis {"connection_id":195382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:56:03] local.INFO: Extracted packet for processing {"connection_id":195382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56: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-25 19:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:56:03] local.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-25 19:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:56: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-25 19:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":195382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:56:03] local.INFO: GPS data processed {"connection_id":195382,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:56:03] local.INFO: Acknowledgment sent {"connection_id":195382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:56:24] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:24] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:24] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:56:29] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:29] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:56:29] local.INFO: IMEI packet received {"connection_id":192508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:56:31] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:31] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f0e0e0012d34c14006aa49080003006e2b..."} 
[2026-09-25 19:56:31] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:56:31] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f0"} 
[2026-09-25 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328514304001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:56: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-25 19:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346060000,"timestamp_ms":1790346060000,"timestamp_seconds":1790346060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f0e0e0"} 
[2026-09-25 19:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 19:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328514304001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328514304001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:56:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:56:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:56: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-25 19:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328514304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:56:31] 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":897213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:56:31] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:56:31] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:02] local.INFO: TCP Data received {"connection_id":192508,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:02] local.INFO: Processing buffer {"connection_id":192508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:02] local.INFO: Packet analysis {"connection_id":192508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:02] local.INFO: Extracted packet for processing {"connection_id":192508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57: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-25 19:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:57: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-25 19:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:57:02] 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":897214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:02] local.INFO: GPS data processed {"connection_id":192508,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:02] local.INFO: Acknowledgment sent {"connection_id":192508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:04] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: IMEI packet received {"connection_id":192674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":192674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:57:04] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:04] local.INFO: IMEI packet received {"connection_id":192674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":192674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:57:09] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:09] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:09] local.INFO: IMEI packet received {"connection_id":192674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":192674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:57:09] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":1348,"data_hex":"000000000000030f8e0a000001a0d8f53640012d09674007211c480011009123..."} 
[2026-09-25 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0d8f53640012d09674007211c480011009123..."} 
[2026-09-25 19:57:09] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0d8f53640012d09674007211c480011009123..."} 
[2026-09-25 19:57:09] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:09] local.INFO: Extracted packet for processing {"connection_id":192674,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":755590976,"raw_latitude":119610440,"longitude_deg":75.5590976,"latitude_deg":11.961044,"altitude":17,"angle":145,"satellites":35,"speed":56,"hex_longitude":"2d096740","hex_latitude":"07211c48","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328663296001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23149186530672640,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674625181052395520,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790346344000,"timestamp_ms":1790346344000,"timestamp_seconds":1790346344,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f53640"} 
[2026-09-25 19: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-25 19:57:09] 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-25 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328663296001,"66":13580,"243":206,"83":41984,"24":56,"16":23149186530672640,"45":674625181052395520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328663296001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:09] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 19:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23149186530672640,"km_value":23149186530672.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":674625181052395520,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328663296001,"power":13580,"unknown_243":206,"unknown_83":41984,"ignition":56,"odometer":null,"unknown_45":674625181052395520}} 
[2026-09-25 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":192674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:09] local.INFO: GPS data processed {"connection_id":192674,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:09] local.INFO: Acknowledgment sent {"connection_id":192674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:09] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":192674,"needed":795,"available":553} 
[2026-09-25 19:57:10] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":242,"data_hex":"000000000001a0d8f4d0b0012d08fc40072136f8001400642400210000000a00..."} 
[2026-09-25 19:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":242,"packet_hex":"000000000001a0d8f4d0b0012d08fc40072136f8001400642400210000000a00..."} 
[2026-09-25 19:57:10] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f55198012d097f80072100b00012008325..."} 
[2026-09-25 19:57:10] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:10] local.INFO: Extracted packet for processing {"connection_id":192674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755597184,"raw_latitude":119603376,"longitude_deg":75.5597184,"latitude_deg":11.9603376,"altitude":18,"angle":131,"satellites":37,"speed":47,"hex_longitude":"2d097f80","hex_latitude":"072100b0","is_valid_coordinates":true} 
[2026-09-25 19:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328664064001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23149637502238720,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":677580668306999296,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790346351000,"timestamp_ms":1790346351000,"timestamp_seconds":1790346351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f55198"} 
[2026-09-25 19:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534652,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2734692352,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3639922864,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4109877249,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631989050309291,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2627403982,"corrected_to":0} 
[2026-09-25 19:57:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221302537,"corrected_to":0} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147950900,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407196,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-954755281720442861,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789864588816813,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:10] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,243,83,24,241,157,16,62,160,42,45,192,41,19,35,10,66,61,34,64,47,21,23,128,1,240,225,227,216,33,4,113,205,39,247,32,104,38,239,52,155,2,82,7,20,8,49,164],"length":577,"final_offset":707,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2627403982,"validated":0},{"io_id":247,"original":3221302537,"validated":0}]} 
[2026-09-25 19:57:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225138678158327808,"timestamp_seconds":1225138678158327.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 19:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":192674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328664064001,"66":13537,"115":206,"83":41728,"24":47,"16":23149637502238720,"45":677580668306999296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-09-25 19:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328664064001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 19:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 19:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23149637502238720,"km_value":23149637502238.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":677580668306999296,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328664064001,"power":13537,"unknown_115":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_45":677580668306999296}} 
[2026-09-25 19:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":192674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:10] local.INFO: GPS data processed {"connection_id":192674,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:10] local.INFO: Acknowledgment sent {"connection_id":192674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:14] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f55198012d097f80072100b00012008325..."} 
[2026-09-25 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f55198012d097f80072100b00012008325..."} 
[2026-09-25 19:57:14] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f55198012d097f80072100b00012008325..."} 
[2026-09-25 19:57:14] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:14] local.INFO: Extracted packet for processing {"connection_id":192674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755597184,"raw_latitude":119603376,"longitude_deg":75.5597184,"latitude_deg":11.9603376,"altitude":18,"angle":131,"satellites":37,"speed":47,"hex_longitude":"2d097f80","hex_latitude":"072100b0","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328665856001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23149637502238720,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684406436490424320,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790346351000,"timestamp_ms":1790346351000,"timestamp_seconds":1790346351,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f55198"} 
[2026-09-25 19: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-25 19:57:14] 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-25 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":192674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":192674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328665856001,"66":13537,"115":206,"83":41728,"24":47,"16":23149637502238720,"45":684406436490424320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-09-25 19:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328665856001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:14] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-25 19:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-25 19:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23149637502238720,"km_value":23149637502238.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":684406436490424320,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328665856001,"power":13537,"unknown_115":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_45":684406436490424320}} 
[2026-09-25 19:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":192674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:14] local.INFO: GPS data processed {"connection_id":192674,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:14] local.INFO: Acknowledgment sent {"connection_id":192674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:30] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:30] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:30] local.INFO: IMEI packet received {"connection_id":192510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":192510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:57:34] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:34] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:57:34] local.INFO: IMEI packet received {"connection_id":192510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":192510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:57:36] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:36] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:36] local.INFO: Packet analysis {"connection_id":192510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:36] local.INFO: Extracted packet for processing {"connection_id":192510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19: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-25 19:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19: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-25 19: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-25 19:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57: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-25 19:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:57:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:57:36] 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":897218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:36] local.INFO: GPS data processed {"connection_id":192510,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:36] local.INFO: Acknowledgment sent {"connection_id":192510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:40] local.INFO: TCP Data received {"connection_id":192510,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:40] local.INFO: Processing buffer {"connection_id":192510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:57:40] local.INFO: Packet analysis {"connection_id":192510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:40] local.INFO: Extracted packet for processing {"connection_id":192510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19: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-25 19:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19: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-25 19:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19: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-25 19:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:57: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-25 19: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-25 19: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-25 19:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:57: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-25 19:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 19:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19: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-25 19:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:57:40] 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":897219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:40] local.INFO: GPS data processed {"connection_id":192510,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:40] local.INFO: Acknowledgment sent {"connection_id":192510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:57:54] local.INFO: TCP Data received {"connection_id":195385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:54] local.INFO: Processing buffer {"connection_id":195385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:54] local.INFO: IMEI packet received {"connection_id":195385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":195385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:57:57] local.INFO: TCP Data received {"connection_id":195385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:57] local.INFO: Processing buffer {"connection_id":195385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:57:57] local.INFO: IMEI packet received {"connection_id":195385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":195385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:57:58] local.INFO: TCP Data received {"connection_id":195385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f63040012d0a62800720d5f00019009923..."} 
[2026-09-25 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f63040012d0a62800720d5f00019009923..."} 
[2026-09-25 19:57:58] local.INFO: Processing buffer {"connection_id":195385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f63040012d0a62800720d5f00019009923..."} 
[2026-09-25 19:57:58] local.INFO: Packet analysis {"connection_id":195385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f6"} 
[2026-09-25 19:57:58] local.INFO: Extracted packet for processing {"connection_id":195385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f6"} 
[2026-09-25 19:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755655296,"raw_latitude":119592432,"longitude_deg":75.5655296,"latitude_deg":11.9592432,"altitude":25,"angle":153,"satellites":35,"speed":42,"hex_longitude":"2d0a6280","hex_latitude":"0720d5f0","is_valid_coordinates":true} 
[2026-09-25 19:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328679680001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23152618209542144,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746471668853041152,"note":"Value kept but may cause issues"} 
[2026-09-25 19:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790346408000,"timestamp_ms":1790346408000,"timestamp_seconds":1790346408,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f63040"} 
[2026-09-25 19:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 19:57:58] 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-25 19:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328679680001,"66":12993,"241":206,"83":41984,"24":42,"16":23152618209542144,"45":746471668853041152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-09-25 19:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328679680001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:57:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-25 19:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 19:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23152618209542144,"km_value":23152618209542.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":746471668853041152,"description":"Unknown IO ID 45"} 
[2026-09-25 19:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328679680001,"power":12993,"unknown_241":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":746471668853041152}} 
[2026-09-25 19:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":195385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:57:58] local.INFO: GPS data processed {"connection_id":195385,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:57:58] local.INFO: Acknowledgment sent {"connection_id":195385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:58:25] local.INFO: TCP Data received {"connection_id":195386,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:25] local.INFO: Processing buffer {"connection_id":195386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:25] local.INFO: IMEI packet received {"connection_id":195386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":195386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:58:29] local.INFO: TCP Data received {"connection_id":195385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f70330012d0ae180072025b00016008f2a..."} 
[2026-09-25 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f70330012d0ae180072025b00016008f2a..."} 
[2026-09-25 19:58:29] local.INFO: Processing buffer {"connection_id":195385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f70330012d0ae180072025b00016008f2a..."} 
[2026-09-25 19:58:29] local.INFO: Packet analysis {"connection_id":195385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:58:29] local.INFO: Extracted packet for processing {"connection_id":195385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:58:29] local.INFO: GPS Element Parsed {"raw_longitude":755687808,"raw_latitude":119547312,"longitude_deg":75.5687808,"latitude_deg":11.9547312,"altitude":22,"angle":143,"satellites":42,"speed":42,"hex_longitude":"2d0ae180","hex_latitude":"072025b0","is_valid_coordinates":true} 
[2026-09-25 19:58: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-25 19:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328693504001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23155470067826688,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782148622139582464,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790346462000,"timestamp_ms":1790346462000,"timestamp_seconds":1790346462,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f70330"} 
[2026-09-25 19:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 19:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:58: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-25 19:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:58: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-25 19:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328693504001,"66":13537,"243":206,"83":41984,"24":42,"16":23155470067826688,"45":782148622139582464},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 19:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328693504001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:58:29] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 19:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 19:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23155470067826688,"km_value":23155470067826.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":782148622139582464,"description":"Unknown IO ID 45"} 
[2026-09-25 19:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328693504001,"power":13537,"unknown_243":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":782148622139582464}} 
[2026-09-25 19:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":195385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:58:29] local.INFO: GPS data processed {"connection_id":195385,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:58:29] local.INFO: Acknowledgment sent {"connection_id":195385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:58:29] local.INFO: TCP Data received {"connection_id":195386,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:29] local.INFO: Processing buffer {"connection_id":195386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:58:29] local.INFO: IMEI packet received {"connection_id":195386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":195386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:58:30] local.INFO: TCP Data received {"connection_id":195386,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:58:30] local.INFO: Processing buffer {"connection_id":195386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:58:30] local.INFO: Packet analysis {"connection_id":195386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:58:30] local.INFO: Extracted packet for processing {"connection_id":195386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":195386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:58:30] local.INFO: GPS data processed {"connection_id":195386,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:58:30] local.INFO: Acknowledgment sent {"connection_id":195386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:58:42] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:58:42] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:58:42] local.INFO: IMEI packet received {"connection_id":192512,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":192512,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:58:43] local.INFO: TCP Data received {"connection_id":192512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f2ec50012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f2ec50012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:58:43] local.INFO: Processing buffer {"connection_id":192512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f2ec50012d0b10c007029f100000013d1f..."} 
[2026-09-25 19:58:43] local.INFO: Packet analysis {"connection_id":192512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f2"} 
[2026-09-25 19:58:43] local.INFO: Extracted packet for processing {"connection_id":192512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f2"} 
[2026-09-25 19:58:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328548608001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:43] 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-25 19:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790346194000,"timestamp_ms":1790346194000,"timestamp_seconds":1790346194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f2ec50"} 
[2026-09-25 19:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 19:58:43] 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-25 19:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192512,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328548608001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328548608001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:58:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:58:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328548608001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:58:43] 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":897223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:58:43] local.INFO: GPS data processed {"connection_id":192512,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:58:43] local.INFO: Acknowledgment sent {"connection_id":192512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:58:51] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:51] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:51] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:58:54] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:58:54] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:54] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:58:57] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:57] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:58:57] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:58:57] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f70ee8012d0ae80007201b080016009c2a..."} 
[2026-09-25 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f70ee8012d0ae80007201b080016009c2a..."} 
[2026-09-25 19:58:57] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f70ee8012d0ae80007201b080016009c2a..."} 
[2026-09-25 19:58:57] local.INFO: Packet analysis {"connection_id":192675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:58:57] local.INFO: Extracted packet for processing {"connection_id":192675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:58:57] local.INFO: GPS Element Parsed {"raw_longitude":755689472,"raw_latitude":119544584,"longitude_deg":75.5689472,"latitude_deg":11.9544584,"altitude":22,"angle":156,"satellites":42,"speed":42,"hex_longitude":"2d0ae800","hex_latitude":"07201b08","is_valid_coordinates":true} 
[2026-09-25 19:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328694272001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23155624686649344,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784048578231644160,"note":"Value kept but may cause issues"} 
[2026-09-25 19:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790346465000,"timestamp_ms":1790346465000,"timestamp_seconds":1790346465,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f70ee8"} 
[2026-09-25 19:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 19:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:58: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-25 19:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328694272001,"66":13493,"243":206,"83":41984,"24":42,"16":23155624686649344,"45":784048578231644160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-09-25 19:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328694272001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:58:57] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-25 19:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 19:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23155624686649344,"km_value":23155624686649.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":784048578231644160,"description":"Unknown IO ID 45"} 
[2026-09-25 19:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328694272001,"power":13493,"unknown_243":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":784048578231644160}} 
[2026-09-25 19:58:58] 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":897224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:58:58] local.INFO: GPS data processed {"connection_id":192675,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:58:58] local.INFO: Acknowledgment sent {"connection_id":192675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:59:02] local.INFO: TCP Data received {"connection_id":195386,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:02] local.INFO: Processing buffer {"connection_id":195386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:02] local.INFO: Packet analysis {"connection_id":195386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:59:02] local.INFO: Extracted packet for processing {"connection_id":195386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59: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-25 19:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 19:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:59: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-25 19:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":195386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:59:02] local.INFO: GPS data processed {"connection_id":195386,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:59:02] local.INFO: Acknowledgment sent {"connection_id":195386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:59:25] local.INFO: TCP Data received {"connection_id":194048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:25] local.INFO: Processing buffer {"connection_id":194048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:25] local.INFO: IMEI packet received {"connection_id":194048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 19:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":194048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:59:29] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f7ddf0012d0b7b80071fa410001a007b29..."} 
[2026-09-25 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f7ddf0012d0b7b80071fa410001a007b29..."} 
[2026-09-25 19:59:29] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f7ddf0012d0b7b80071fa410001a007b29..."} 
[2026-09-25 19:59:29] local.INFO: Packet analysis {"connection_id":192675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:59:29] local.INFO: Extracted packet for processing {"connection_id":192675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":755727232,"raw_latitude":119514128,"longitude_deg":75.5727232,"latitude_deg":11.9514128,"altitude":26,"angle":123,"satellites":41,"speed":38,"hex_longitude":"2d0b7b80","hex_latitude":"071fa410","is_valid_coordinates":true} 
[2026-09-25 19:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328707840001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23158089997877248,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824932818590885888,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 19:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790346518000,"timestamp_ms":1790346518000,"timestamp_seconds":1790346518,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f7ddf0"} 
[2026-09-25 19:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 19:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 19:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 19:59: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-25 19:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 19:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 19:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328707840001,"66":13526,"242":206,"83":41984,"24":38,"16":23158089997877248,"45":824932818590885888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-25 19:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 19:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 19:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328707840001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:59:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 19:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 19:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23158089997877248,"km_value":23158089997877.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":824932818590885888,"description":"Unknown IO ID 45"} 
[2026-09-25 19:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328707840001,"power":13526,"unknown_242":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":824932818590885888}} 
[2026-09-25 19:59:29] 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":897226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:59:29] local.INFO: GPS data processed {"connection_id":192675,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:59:29] local.INFO: Acknowledgment sent {"connection_id":192675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:59:29] local.INFO: TCP Data received {"connection_id":194048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:29] local.INFO: Processing buffer {"connection_id":194048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 19:59:29] local.INFO: IMEI packet received {"connection_id":194048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":194048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:59:31] local.INFO: TCP Data received {"connection_id":194048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:31] local.INFO: Processing buffer {"connection_id":194048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 19:59:31] local.INFO: Packet analysis {"connection_id":194048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:59:31] local.INFO: Extracted packet for processing {"connection_id":194048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 19:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59: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-25 19:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 19:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 19:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 19:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 19:59: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-25 19:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 19:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 19:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 19:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 19:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 19:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:59:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 19:59:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 19:59: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-25 19:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 19:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 19:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":194048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:59:31] local.INFO: GPS data processed {"connection_id":194048,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:59:31] local.INFO: Acknowledgment sent {"connection_id":194048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:59:33] local.INFO: TCP Data received {"connection_id":194047,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:59:33] local.INFO: Processing buffer {"connection_id":194047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 19:59:33] local.INFO: IMEI packet received {"connection_id":194047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":194047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:59:52] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:52] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:52] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 19:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:59:53] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:53] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:53] local.INFO: IMEI packet received {"connection_id":194049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 19:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":194049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 19:59:54] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:54] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:54] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:59:57] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:57] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 19:59:57] local.INFO: IMEI packet received {"connection_id":194049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":194049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 19:59:58] local.INFO: TCP Data received {"connection_id":194049,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 19:59:58] local.INFO: Processing buffer {"connection_id":194049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 19:59:58] local.INFO: Packet analysis {"connection_id":194049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:59:58] local.INFO: Extracted packet for processing {"connection_id":194049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 19:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328625664001,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 19:59:58] 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-25 19:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790346495000,"timestamp_ms":1790346495000,"timestamp_seconds":1790346495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f78418"} 
[2026-09-25 19:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 19:59: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-25 19:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 19:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 19:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 19:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":194049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 19:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":194049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":194049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 19:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 19:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 19:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 19:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328625664001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 19:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 19:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 19:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328625664001,"description":"Unknown IO ID 0"} 
[2026-09-25 19:59:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 19:59:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 19:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 19:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 19:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328625664001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 19:59:58] 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":897228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 19:59:58] local.INFO: GPS data processed {"connection_id":194049,"processed":1,"errors":0,"total":1} 
[2026-09-25 19:59:58] local.INFO: Acknowledgment sent {"connection_id":194049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 19:59:59] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:59] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 19:59:59] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:00:00] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f7e5c0012d0b82c0071fa0e00019006e28..."} 
[2026-09-25 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f7e5c0012d0b82c0071fa0e00019006e28..."} 
[2026-09-25 20:00:00] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f7e5c0012d0b82c0071fa0e00019006e28..."} 
[2026-09-25 20:00:00] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:00] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755729088,"raw_latitude":119513312,"longitude_deg":75.5729088,"latitude_deg":11.9513312,"altitude":25,"angle":110,"satellites":40,"speed":40,"hex_longitude":"2d0b82c0","hex_latitude":"071fa0e0","is_valid_coordinates":true} 
[2026-09-25 20:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328708608001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23158184487157760,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827395724636590080,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790346520000,"timestamp_ms":1790346520000,"timestamp_seconds":1790346520,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f7e5c0"} 
[2026-09-25 20:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:00:00] 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-25 20:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 20:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00: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-25 20:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328708608001,"66":13559,"242":206,"83":41984,"24":40,"16":23158184487157760,"45":827395724636590080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-25 20:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328708608001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 20:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23158184487157760,"km_value":23158184487157.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":827395724636590080,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328708608001,"power":13559,"unknown_242":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":827395724636590080}} 
[2026-09-25 20:00:01] 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":897229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:00:01] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:00:01] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:00:03] local.INFO: TCP Data received {"connection_id":192513,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:00:03] local.INFO: Processing buffer {"connection_id":192513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:00:03] local.INFO: IMEI packet received {"connection_id":192513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":192513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:00:05] local.INFO: TCP Data received {"connection_id":194048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:05] local.INFO: Processing buffer {"connection_id":194048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:05] local.INFO: Packet analysis {"connection_id":194048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:00:05] local.INFO: Extracted packet for processing {"connection_id":194048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 20: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-25 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20: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-25 20: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-25 20: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-25 20:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":194048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":194048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":194048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":194048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:00:05] local.INFO: GPS data processed {"connection_id":194048,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:00:05] local.INFO: Acknowledgment sent {"connection_id":194048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:00:24] local.INFO: TCP Data received {"connection_id":195387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:24] local.INFO: Processing buffer {"connection_id":195387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:24] local.INFO: IMEI packet received {"connection_id":195387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":195387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:00:24] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:24] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:24] local.INFO: IMEI packet received {"connection_id":192514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":192514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:00:27] local.INFO: TCP Data received {"connection_id":195387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:27] local.INFO: Processing buffer {"connection_id":195387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:00:27] local.INFO: IMEI packet received {"connection_id":195387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":195387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:00:28] local.INFO: TCP Data received {"connection_id":195387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:00:28] local.INFO: Processing buffer {"connection_id":195387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:00:28] local.INFO: Packet analysis {"connection_id":195387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:28] local.INFO: Extracted packet for processing {"connection_id":195387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328625664001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:28] 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-25 20:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790346495000,"timestamp_ms":1790346495000,"timestamp_seconds":1790346495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f78418"} 
[2026-09-25 20:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:00:28] 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-25 20:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:00:28] 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-25 20:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328625664001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328625664001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:00:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328625664001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":195387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:00:29] local.INFO: GPS data processed {"connection_id":195387,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:00:29] local.INFO: Acknowledgment sent {"connection_id":195387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:00:30] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:30] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:00:30] local.INFO: IMEI packet received {"connection_id":192514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":192514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:00:31] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:31] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:00:31] local.INFO: Packet analysis {"connection_id":192514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:00:31] local.INFO: Extracted packet for processing {"connection_id":192514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00: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-25 20:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 20: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-25 20:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:00:31] local.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-25 20:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:00:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:00: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-25 20:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:00:31] 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":897232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:00:31] local.INFO: GPS data processed {"connection_id":192514,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:00:31] local.INFO: Acknowledgment sent {"connection_id":192514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:00:32] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f7f560012d0b9240071f9a880017007a29..."} 
[2026-09-25 20:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f7f560012d0b9240071f9a880017007a29..."} 
[2026-09-25 20:00:32] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f7f560012d0b9240071f9a880017007a29..."} 
[2026-09-25 20:00:32] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:32] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755733056,"raw_latitude":119511688,"longitude_deg":75.5733056,"latitude_deg":11.9511688,"altitude":23,"angle":122,"satellites":41,"speed":42,"hex_longitude":"2d0b9240","hex_latitude":"071f9a88","is_valid_coordinates":true} 
[2026-09-25 20:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328709120001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23158390645587968,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829436418217533440,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790346524000,"timestamp_ms":1790346524000,"timestamp_seconds":1790346524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f7f560"} 
[2026-09-25 20:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 20:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328709120001,"66":13526,"242":206,"83":41984,"24":42,"16":23158390645587968,"45":829436418217533440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-09-25 20:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328709120001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:32] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-25 20:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23158390645587968,"km_value":23158390645587.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":829436418217533440,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328709120001,"power":13526,"unknown_242":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":829436418217533440}} 
[2026-09-25 20:00:32] 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":897233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:00:32] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:00:32] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:00:53] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:53] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:53] local.INFO: IMEI packet received {"connection_id":192515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":192515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:00:59] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:59] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:00:59] local.INFO: IMEI packet received {"connection_id":192515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":192515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:00:59] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f8f730012d0c2340071ed100002d00b428..."} 
[2026-09-25 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f8f730012d0c2340071ed100002d00b428..."} 
[2026-09-25 20:00:59] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f8f730012d0c2340071ed100002d00b428..."} 
[2026-09-25 20:00:59] local.INFO: Packet analysis {"connection_id":192515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f8"} 
[2026-09-25 20:00:59] local.INFO: Extracted packet for processing {"connection_id":192515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f8"} 
[2026-09-25 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":119460096,"longitude_deg":75.5770176,"latitude_deg":11.9460096,"altitude":45,"angle":180,"satellites":40,"speed":37,"hex_longitude":"2d0c2340","hex_latitude":"071ed100","is_valid_coordinates":true} 
[2026-09-25 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328726016001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23161594691190784,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874261308245999616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790346590000,"timestamp_ms":1790346590000,"timestamp_seconds":1790346590,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f8f730"} 
[2026-09-25 20:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:00:59] 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-25 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-25 20:00:59] 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-25 20:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328726016001,"66":13461,"155":206,"83":41984,"24":37,"16":23161594691190784,"45":874261308245999616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328726016001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:00:59] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23161594691190784,"km_value":23161594691190.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":874261308245999616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328726016001,"power":13461,"unknown_155":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":874261308245999616}} 
[2026-09-25 20:01:00] 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":897234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:00] local.INFO: GPS data processed {"connection_id":192515,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:00] local.INFO: Acknowledgment sent {"connection_id":192515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:03] local.INFO: TCP Data received {"connection_id":192514,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:03] local.INFO: Processing buffer {"connection_id":192514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:03] local.INFO: Packet analysis {"connection_id":192514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:01:03] local.INFO: Extracted packet for processing {"connection_id":192514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01: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-25 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 20:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:01:03] local.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-25 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:01: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-25 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:01:03] 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":897235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:03] local.INFO: GPS data processed {"connection_id":192514,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:03] local.INFO: Acknowledgment sent {"connection_id":192514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:22] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:22] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:22] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:01:24] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:24] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:24] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:01:28] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:28] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:28] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:29] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:29] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:01:29] local.INFO: IMEI packet received {"connection_id":192516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":192516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:31] local.INFO: TCP Data received {"connection_id":192515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f92610012d0c2180071ead48003300b327..."} 
[2026-09-25 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f92610012d0c2180071ead48003300b327..."} 
[2026-09-25 20:01:31] local.INFO: Processing buffer {"connection_id":192515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f92610012d0c2180071ead48003300b327..."} 
[2026-09-25 20:01:31] local.INFO: Packet analysis {"connection_id":192515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f9"} 
[2026-09-25 20:01:31] local.INFO: Extracted packet for processing {"connection_id":192515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f9"} 
[2026-09-25 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":119450952,"longitude_deg":75.5769728,"latitude_deg":11.9450952,"altitude":51,"angle":179,"satellites":39,"speed":15,"hex_longitude":"2d0c2180","hex_latitude":"071ead48","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328727040001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23162037072822272,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151965970432,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346602000,"timestamp_ms":1790346602000,"timestamp_seconds":1790346602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f92610"} 
[2026-09-25 20: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-25 20:01:31] 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-25 20:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328727040001,"66":13450,"155":206,"83":41984,"24":15,"16":23162037072822272,"45":874613151965970432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328727040001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23162037072822272,"km_value":23162037072822.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151965970432,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328727040001,"power":13450,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":874613151965970432}} 
[2026-09-25 20:01:31] 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":897236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:31] local.INFO: GPS data processed {"connection_id":192515,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:31] local.INFO: Acknowledgment sent {"connection_id":192515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:31] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:31] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f578a8012d34c14006aa4908000f006e2a..."} 
[2026-09-25 20:01:31] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:01:31] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f5"} 
[2026-09-25 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":15,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328591360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01: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-25 20:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346361000,"timestamp_ms":1790346361000,"timestamp_seconds":1790346361,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f578a8"} 
[2026-09-25 20: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-25 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328591360001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328591360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:01: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-25 20:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328591360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:01:31] 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":897237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:31] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:31] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:33] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:33] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:33] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:37] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:37] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:01:37] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:42] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:42] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:42] local.INFO: Packet analysis {"connection_id":192677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:01:42] local.INFO: Extracted packet for processing {"connection_id":192677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328625664001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01: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-25 20:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790346495000,"timestamp_ms":1790346495000,"timestamp_seconds":1790346495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f78418"} 
[2026-09-25 20:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:42] 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-25 20:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328625664001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328625664001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:01:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328625664001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":192677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:42] local.INFO: GPS data processed {"connection_id":192677,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:42] local.INFO: Acknowledgment sent {"connection_id":192677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:44] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:44] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f78418012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:01:44] local.INFO: Packet analysis {"connection_id":192677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:01:44] local.INFO: Extracted packet for processing {"connection_id":192677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f7"} 
[2026-09-25 20:01:44] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328625664001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:44] 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-25 20:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790346495000,"timestamp_ms":1790346495000,"timestamp_seconds":1790346495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f78418"} 
[2026-09-25 20: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-25 20:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:44] 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-25 20: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-25 20: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-25 20:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":192677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328625664001,"66":12678,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328625664001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:01:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328625664001,"power":12678,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":192677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897239,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:45] local.INFO: GPS data processed {"connection_id":192677,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:45] local.INFO: Acknowledgment sent {"connection_id":192677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:01:53] local.INFO: TCP Data received {"connection_id":195389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:53] local.INFO: Processing buffer {"connection_id":195389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:53] local.INFO: IMEI packet received {"connection_id":195389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":195389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:01:57] local.INFO: TCP Data received {"connection_id":195389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:57] local.INFO: Processing buffer {"connection_id":195389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:57] local.INFO: IMEI packet received {"connection_id":195389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":195389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:58] local.INFO: TCP Data received {"connection_id":195389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:58] local.INFO: Processing buffer {"connection_id":195389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:01:58] local.INFO: IMEI packet received {"connection_id":195389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":195389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:01:59] local.INFO: TCP Data received {"connection_id":195389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8f929f8012d0c21c0071eabe0003300a729..."} 
[2026-09-25 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8f929f8012d0c21c0071eabe0003300a729..."} 
[2026-09-25 20:01:59] local.INFO: Processing buffer {"connection_id":195389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8f929f8012d0c21c0071eabe0003300a729..."} 
[2026-09-25 20:01:59] local.INFO: Packet analysis {"connection_id":195389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8f9"} 
[2026-09-25 20:01:59] local.INFO: Extracted packet for processing {"connection_id":195389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8f9"} 
[2026-09-25 20:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":119450592,"longitude_deg":75.5769792,"latitude_deg":11.9450592,"altitude":51,"angle":167,"satellites":41,"speed":13,"hex_longitude":"2d0c21c0","hex_latitude":"071eabe0","is_valid_coordinates":true} 
[2026-09-25 20:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328730112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23162054252691456,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874120570754385920,"note":"Value kept but may cause issues"} 
[2026-09-25 20:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790346603000,"timestamp_ms":1790346603000,"timestamp_seconds":1790346603,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8f929f8"} 
[2026-09-25 20:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:01:59] 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-25 20:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 20:01:59] 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-25 20:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328730112001,"66":13417,"155":206,"83":41984,"24":13,"16":23162054252691456,"45":874120570754385920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328730112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:01:59] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23162054252691456,"km_value":23162054252691.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":874120570754385920,"description":"Unknown IO ID 45"} 
[2026-09-25 20:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328730112001,"power":13417,"unknown_155":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":874120570754385920}} 
[2026-09-25 20:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":195389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:01:59] local.INFO: GPS data processed {"connection_id":195389,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:01:59] local.INFO: Acknowledgment sent {"connection_id":195389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:02:03] local.INFO: TCP Data received {"connection_id":192516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:03] local.INFO: Processing buffer {"connection_id":192516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:03] local.INFO: Packet analysis {"connection_id":192516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:03] local.INFO: Extracted packet for processing {"connection_id":192516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02: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-25 20:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:02: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-25 20:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:02:03] 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":897241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:02:03] local.INFO: GPS data processed {"connection_id":192516,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:02:03] local.INFO: Acknowledgment sent {"connection_id":192516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:02:19] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:02:20] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:02:20] local.INFO: IMEI packet received {"connection_id":192517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":192517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:02:24] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:24] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:24] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:02:29] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:29] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:02:29] local.INFO: IMEI packet received {"connection_id":192518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":192518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:02:31] local.INFO: TCP Data received {"connection_id":195389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa6a48012d0cc480071eadc00026005227..."} 
[2026-09-25 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa6a48012d0cc480071eadc00026005227..."} 
[2026-09-25 20:02:31] local.INFO: Processing buffer {"connection_id":195389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa6a48012d0cc480071eadc00026005227..."} 
[2026-09-25 20:02:31] local.INFO: Packet analysis {"connection_id":195389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:31] local.INFO: Extracted packet for processing {"connection_id":195389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755811456,"raw_latitude":119451072,"longitude_deg":75.5811456,"latitude_deg":11.9451072,"altitude":38,"angle":82,"satellites":39,"speed":18,"hex_longitude":"2d0cc480","hex_latitude":"071eadc0","is_valid_coordinates":true} 
[2026-09-25 20:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328751104001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23164128721895424,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919508410748979200,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346685000,"timestamp_ms":1790346685000,"timestamp_seconds":1790346685,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa6a48"} 
[2026-09-25 20:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:02:31] 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-25 20:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-25 20:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328751104001,"66":12667,"155":206,"83":41984,"24":18,"16":23164128721895424,"45":919508410748979200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328751104001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:02:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23164128721895424,"km_value":23164128721895.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":919508410748979200,"description":"Unknown IO ID 45"} 
[2026-09-25 20:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328751104001,"power":12667,"unknown_155":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":919508410748979200}} 
[2026-09-25 20:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":195389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:02:31] local.INFO: GPS data processed {"connection_id":195389,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:02:31] local.INFO: Acknowledgment sent {"connection_id":195389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:02:32] local.INFO: TCP Data received {"connection_id":192517,"ip":"42.109.136.3","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192517,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 20:02:32] local.INFO: Processing buffer {"connection_id":192517,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-25 20:02:32] local.INFO: IMEI packet received {"connection_id":192517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":192517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:02:33] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:33] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:02:33] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:33] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 20:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 20:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 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-25 20:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:02: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-25 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-25 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-25 20:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:02: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-25 20:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:02:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 20:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:02:33] 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":897243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:02:33] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:02:33] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:02:58] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:02:58] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:02:58] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:03:04] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:04] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:04] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:03:04] local.INFO: TCP Data received {"connection_id":192518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:04] local.INFO: Processing buffer {"connection_id":192518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:04] local.INFO: Packet analysis {"connection_id":192518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:04] local.INFO: Extracted packet for processing {"connection_id":192518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:03: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-25 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:03: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-25 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:03:04] 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":897244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:03:04] local.INFO: GPS data processed {"connection_id":192518,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:03:04] local.INFO: Acknowledgment sent {"connection_id":192518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:03:04] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa7218012d0cc700071eadc00026006328..."} 
[2026-09-25 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa7218012d0cc700071eadc00026006328..."} 
[2026-09-25 20:03:04] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa7218012d0cc700071eadc00026006328..."} 
[2026-09-25 20:03:04] local.INFO: Packet analysis {"connection_id":192678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:04] local.INFO: Extracted packet for processing {"connection_id":192678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":755812096,"raw_latitude":119451072,"longitude_deg":75.5812096,"latitude_deg":11.9451072,"altitude":38,"angle":99,"satellites":40,"speed":7,"hex_longitude":"2d0cc700","hex_latitude":"071eadc0","is_valid_coordinates":true} 
[2026-09-25 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328751360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23164158786666496,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920000991958253568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790346687000,"timestamp_ms":1790346687000,"timestamp_seconds":1790346687,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa7218"} 
[2026-09-25 20:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:03:04] 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-25 20:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:03:04] 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-25 20:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328751360001,"66":13472,"155":206,"83":41984,"24":7,"16":23164158786666496,"45":920000991958253568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328751360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23164158786666496,"km_value":23164158786666.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":920000991958253568,"description":"Unknown IO ID 45"} 
[2026-09-25 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328751360001,"power":13472,"unknown_155":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":920000991958253568}} 
[2026-09-25 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":192678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:03:05] local.INFO: GPS data processed {"connection_id":192678,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:03:05] local.INFO: Acknowledgment sent {"connection_id":192678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:03:09] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fab480012d0ccc40071eac080025007028..."} 
[2026-09-25 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fab480012d0ccc40071eac080025007028..."} 
[2026-09-25 20:03:09] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fab480012d0ccc40071eac080025007028..."} 
[2026-09-25 20:03:09] local.INFO: Packet analysis {"connection_id":192678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:09] local.INFO: Extracted packet for processing {"connection_id":192678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:09] local.INFO: GPS Element Parsed {"raw_longitude":755813440,"raw_latitude":119450632,"longitude_deg":75.581344,"latitude_deg":11.9450632,"altitude":37,"angle":112,"satellites":40,"speed":10,"hex_longitude":"2d0ccc40","hex_latitude":"071eac08","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328751872001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23164227506143232,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920704679400030208,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790346704000,"timestamp_ms":1790346704000,"timestamp_seconds":1790346704,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fab480"} 
[2026-09-25 20: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-25 20:03:09] 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-25 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-25 20:03:09] 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-25 20: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-25 20: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-25 20:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328751872001,"66":13276,"155":206,"83":41984,"24":10,"16":23164227506143232,"45":920704679400030208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328751872001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:03:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:03:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23164227506143232,"km_value":23164227506143.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":920704679400030208,"description":"Unknown IO ID 45"} 
[2026-09-25 20:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328751872001,"power":13276,"unknown_155":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":920704679400030208}} 
[2026-09-25 20:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":192678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:03:09] local.INFO: GPS data processed {"connection_id":192678,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:03:09] local.INFO: Acknowledgment sent {"connection_id":192678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:03:26] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:26] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:26] local.INFO: IMEI packet received {"connection_id":192519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":192519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:03:30] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:30] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:03:30] local.INFO: IMEI packet received {"connection_id":192519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":192519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:03:31] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:31] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:03:31] local.INFO: Packet analysis {"connection_id":192519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:31] local.INFO: Extracted packet for processing {"connection_id":192519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:03: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-25 20:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:03:31] local.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-25 20:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:03: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-25 20:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:03:31] 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":897247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:03:31] local.INFO: GPS data processed {"connection_id":192519,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:03:31] local.INFO: Acknowledgment sent {"connection_id":192519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:03:51] local.INFO: TCP Data received {"connection_id":195390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:51] local.INFO: Processing buffer {"connection_id":195390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:51] local.INFO: IMEI packet received {"connection_id":195390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":195390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:03:53] local.INFO: TCP Data received {"connection_id":195390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:53] local.INFO: Processing buffer {"connection_id":195390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:53] local.INFO: IMEI packet received {"connection_id":195390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":195390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:03:58] local.INFO: TCP Data received {"connection_id":195390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:58] local.INFO: Processing buffer {"connection_id":195390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:03:58] local.INFO: IMEI packet received {"connection_id":195390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":195390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:04:00] local.INFO: TCP Data received {"connection_id":195390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8faef18012d0cdfc0071ea3300022007c28..."} 
[2026-09-25 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8faef18012d0cdfc0071ea3300022007c28..."} 
[2026-09-25 20:04:00] local.INFO: Processing buffer {"connection_id":195390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8faef18012d0cdfc0071ea3300022007c28..."} 
[2026-09-25 20:04:00] local.INFO: Packet analysis {"connection_id":195390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:00] local.INFO: Extracted packet for processing {"connection_id":195390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":755818432,"raw_latitude":119448368,"longitude_deg":75.5818432,"latitude_deg":11.9448368,"altitude":34,"angle":124,"satellites":40,"speed":14,"hex_longitude":"2d0cdfc0","hex_latitude":"071ea330","is_valid_coordinates":true} 
[2026-09-25 20:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328756224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23164489499148288,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922182423027648512,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790346719000,"timestamp_ms":1790346719000,"timestamp_seconds":1790346719,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8faef18"} 
[2026-09-25 20:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:04:00] 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-25 20:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 20:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04: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-25 20:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328756224001,"66":13493,"155":206,"83":41984,"24":14,"16":23164489499148288,"45":922182423027648512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-09-25 20:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328756224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:04:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-25 20:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23164489499148288,"km_value":23164489499148.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":922182423027648512,"description":"Unknown IO ID 45"} 
[2026-09-25 20:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328756224001,"power":13493,"unknown_155":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":922182423027648512}} 
[2026-09-25 20:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":195390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:04:00] local.INFO: GPS data processed {"connection_id":195390,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:04:00] local.INFO: Acknowledgment sent {"connection_id":195390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:04:02] local.INFO: TCP Data received {"connection_id":192519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:02] local.INFO: Processing buffer {"connection_id":192519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:02] local.INFO: Packet analysis {"connection_id":192519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:02] local.INFO: Extracted packet for processing {"connection_id":192519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04: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-25 20:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20: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-25 20:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:04:02] local.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-25 20:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:04: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-25 20:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:04:02] 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":897249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:04:02] local.INFO: GPS data processed {"connection_id":192519,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:04:02] local.INFO: Acknowledgment sent {"connection_id":192519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:04:24] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:24] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:24] local.INFO: IMEI packet received {"connection_id":192679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":192679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:04:30] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:30] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:04:30] local.INFO: IMEI packet received {"connection_id":192679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":192679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:04:31] local.INFO: TCP Data received {"connection_id":195390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fb3180012d0cff40071e92c0001c00732a..."} 
[2026-09-25 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fb3180012d0cff40071e92c0001c00732a..."} 
[2026-09-25 20:04:31] local.INFO: Processing buffer {"connection_id":195390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fb3180012d0cff40071e92c0001c00732a..."} 
[2026-09-25 20:04:31] local.INFO: Packet analysis {"connection_id":195390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fb"} 
[2026-09-25 20:04:31] local.INFO: Extracted packet for processing {"connection_id":195390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fb"} 
[2026-09-25 20:04:31] local.INFO: GPS Element Parsed {"raw_longitude":755826496,"raw_latitude":119444160,"longitude_deg":75.5826496,"latitude_deg":11.944416,"altitude":28,"angle":115,"satellites":42,"speed":27,"hex_longitude":"2d0cff40","hex_latitude":"071e92c0","is_valid_coordinates":true} 
[2026-09-25 20:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328760064001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23164923290845184,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927671185072926720,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346736000,"timestamp_ms":1790346736000,"timestamp_seconds":1790346736,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fb3180"} 
[2026-09-25 20:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:04:31] 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-25 20:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 20:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328760064001,"66":13917,"156":206,"83":41984,"24":27,"16":23164923290845184,"45":927671185072926720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328760064001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23164923290845184,"km_value":23164923290845.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":927671185072926720,"description":"Unknown IO ID 45"} 
[2026-09-25 20:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328760064001,"power":13917,"unknown_156":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":927671185072926720}} 
[2026-09-25 20:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":195390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:04:31] local.INFO: GPS data processed {"connection_id":195390,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:04:31] local.INFO: Acknowledgment sent {"connection_id":195390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:04:31] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:31] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:04:31] local.INFO: Packet analysis {"connection_id":192679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:31] local.INFO: Extracted packet for processing {"connection_id":192679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04: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-25 20:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:04: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-25 20:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":192679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:04:31] local.INFO: GPS data processed {"connection_id":192679,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:04:31] local.INFO: Acknowledgment sent {"connection_id":192679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:04:54] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:54] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:54] local.INFO: IMEI packet received {"connection_id":194053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":194053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:04:56] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:56] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:56] local.INFO: IMEI packet received {"connection_id":194053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":194053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:04:59] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:59] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:04:59] local.INFO: IMEI packet received {"connection_id":194053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":194053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:04:59] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fccba8012d0da200071e4588002d009528..."} 
[2026-09-25 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fccba8012d0da200071e4588002d009528..."} 
[2026-09-25 20:04:59] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fccba8012d0da200071e4588002d009528..."} 
[2026-09-25 20:04:59] local.INFO: Packet analysis {"connection_id":194053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:04:59] local.INFO: Extracted packet for processing {"connection_id":194053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":119424392,"longitude_deg":75.586816,"latitude_deg":11.9424392,"altitude":45,"angle":149,"satellites":40,"speed":10,"hex_longitude":"2d0da200","hex_latitude":"071e4588","is_valid_coordinates":true} 
[2026-09-25 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328790784001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23167160968806400,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982066224316192768,"note":"Value kept but may cause issues"} 
[2026-09-25 20:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790346841000,"timestamp_ms":1790346841000,"timestamp_seconds":1790346841,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fccba8"} 
[2026-09-25 20:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:04:59] 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-25 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 20:04:59] 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-25 20:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328790784001,"66":13798,"11":206,"83":41984,"24":10,"16":23167160968806400,"45":982066224316192768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328790784001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:04:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23167160968806400,"km_value":23167160968806.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":982066224316192768,"description":"Unknown IO ID 45"} 
[2026-09-25 20:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328790784001,"power":13798,"unknown_11":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":982066224316192768}} 
[2026-09-25 20:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":194053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:05:00] local.INFO: GPS data processed {"connection_id":194053,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:05:00] local.INFO: Acknowledgment sent {"connection_id":194053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:05:03] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:03] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:03] local.INFO: Packet analysis {"connection_id":192679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:05:03] local.INFO: Extracted packet for processing {"connection_id":192679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05: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-25 20:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20: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-25 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:05: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-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":192679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:05:03] local.INFO: GPS data processed {"connection_id":192679,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:05:03] local.INFO: Acknowledgment sent {"connection_id":192679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:05:04] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fcd378012d0da2c0071e4348002d00a127..."} 
[2026-09-25 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fcd378012d0da2c0071e4348002d00a127..."} 
[2026-09-25 20:05:04] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fcd378012d0da2c0071e4348002d00a127..."} 
[2026-09-25 20:05:04] local.INFO: Packet analysis {"connection_id":194053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:04] local.INFO: Extracted packet for processing {"connection_id":194053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":119423816,"longitude_deg":75.5868352,"latitude_deg":11.9423816,"altitude":45,"angle":161,"satellites":39,"speed":13,"hex_longitude":"2d0da2c0","hex_latitude":"071e4348","is_valid_coordinates":true} 
[2026-09-25 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328791296001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23167191033577472,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347699292833792,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790346843000,"timestamp_ms":1790346843000,"timestamp_seconds":1790346843,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fcd378"} 
[2026-09-25 20:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:05:04] 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-25 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 20:05:04] 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-25 20:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328791296001,"66":13678,"11":206,"83":41984,"24":13,"16":23167191033577472,"45":982347699292833792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328791296001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:05:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23167191033577472,"km_value":23167191033577.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347699292833792,"description":"Unknown IO ID 45"} 
[2026-09-25 20:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328791296001,"power":13678,"unknown_11":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":982347699292833792}} 
[2026-09-25 20:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":194053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:05:04] local.INFO: GPS data processed {"connection_id":194053,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:05:04] local.INFO: Acknowledgment sent {"connection_id":194053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:05:18] local.INFO: TCP Data received {"connection_id":195391,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:05:18] local.INFO: Processing buffer {"connection_id":195391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:05:18] local.INFO: IMEI packet received {"connection_id":195391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":195391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:05:24] local.INFO: TCP Data received {"connection_id":195392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:24] local.INFO: Processing buffer {"connection_id":195392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:24] local.INFO: IMEI packet received {"connection_id":195392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":195392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:05:29] local.INFO: TCP Data received {"connection_id":195392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:29] local.INFO: Processing buffer {"connection_id":195392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:05:29] local.INFO: IMEI packet received {"connection_id":195392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":195392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:05:30] local.INFO: TCP Data received {"connection_id":195392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:30] local.INFO: Processing buffer {"connection_id":195392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:05:30] local.INFO: Packet analysis {"connection_id":195392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:05:30] local.INFO: Extracted packet for processing {"connection_id":195392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:05:30] local.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-25 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":195392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:05:30] local.INFO: GPS data processed {"connection_id":195392,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:05:30] local.INFO: Acknowledgment sent {"connection_id":195392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:05:35] local.INFO: TCP Data received {"connection_id":194053,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fce318012d0da580071e3db8002c009428..."} 
[2026-09-25 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fce318012d0da580071e3db8002c009428..."} 
[2026-09-25 20:05:35] local.INFO: Processing buffer {"connection_id":194053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fce318012d0da580071e3db8002c009428..."} 
[2026-09-25 20:05:35] local.INFO: Packet analysis {"connection_id":194053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:35] local.INFO: Extracted packet for processing {"connection_id":194053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":755869056,"raw_latitude":119422392,"longitude_deg":75.5869056,"latitude_deg":11.9422392,"altitude":44,"angle":148,"satellites":40,"speed":17,"hex_longitude":"2d0da580","hex_latitude":"071e3db8","is_valid_coordinates":true} 
[2026-09-25 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328791808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23167268342988800,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805525219328,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790346847000,"timestamp_ms":1790346847000,"timestamp_seconds":1790346847,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fce318"} 
[2026-09-25 20:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-25 20:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328791808001,"66":13722,"11":206,"83":41984,"24":17,"16":23167268342988800,"45":982558805525219328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328791808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:05:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23167268342988800,"km_value":23167268342988.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805525219328,"description":"Unknown IO ID 45"} 
[2026-09-25 20:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328791808001,"power":13722,"unknown_11":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":982558805525219328}} 
[2026-09-25 20:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":194053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:05:35] local.INFO: GPS data processed {"connection_id":194053,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:05:35] local.INFO: Acknowledgment sent {"connection_id":194053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:05:54] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:54] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:54] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:05:59] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:59] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:05:59] local.INFO: IMEI packet received {"connection_id":194054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":194054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:05:59] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fceae8012d0da780071e3b08002c00882a..."} 
[2026-09-25 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fceae8012d0da780071e3b08002c00882a..."} 
[2026-09-25 20:05:59] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fceae8012d0da780071e3b08002c00882a..."} 
[2026-09-25 20:05:59] local.INFO: Packet analysis {"connection_id":194054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:59] local.INFO: Extracted packet for processing {"connection_id":194054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":755869568,"raw_latitude":119421704,"longitude_deg":75.5869568,"latitude_deg":11.9421704,"altitude":44,"angle":136,"satellites":42,"speed":16,"hex_longitude":"2d0da780","hex_latitude":"071e3b08","is_valid_coordinates":true} 
[2026-09-25 20:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328792832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23167306997694464,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983332861710809088,"note":"Value kept but may cause issues"} 
[2026-09-25 20:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790346849000,"timestamp_ms":1790346849000,"timestamp_seconds":1790346849,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fceae8"} 
[2026-09-25 20:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:05:59] 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-25 20:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-25 20:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328792832001,"66":13689,"11":206,"83":41984,"24":16,"16":23167306997694464,"45":983332861710809088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328792832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:05:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23167306997694464,"km_value":23167306997694.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":983332861710809088,"description":"Unknown IO ID 45"} 
[2026-09-25 20:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328792832001,"power":13689,"unknown_11":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":983332861710809088}} 
[2026-09-25 20:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":194054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:06:00] local.INFO: GPS data processed {"connection_id":194054,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:06:00] local.INFO: Acknowledgment sent {"connection_id":194054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:06:03] local.INFO: TCP Data received {"connection_id":195392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:03] local.INFO: Processing buffer {"connection_id":195392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:03] local.INFO: Packet analysis {"connection_id":195392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:06:03] local.INFO: Extracted packet for processing {"connection_id":195392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06: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-25 20:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:06:03] local.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-25 20:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:06: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-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":195392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:06:03] local.INFO: GPS data processed {"connection_id":195392,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:06:03] local.INFO: Acknowledgment sent {"connection_id":195392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:06:04] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:06:04] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:06:04] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:06:24] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:24] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:24] local.INFO: IMEI packet received {"connection_id":194056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":194056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:06:29] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:29] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:06:29] local.INFO: IMEI packet received {"connection_id":194056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":194056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:06:30] local.INFO: TCP Data received {"connection_id":194054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fe7188012d0e0280071df6d0001b007528..."} 
[2026-09-25 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fe7188012d0e0280071df6d0001b007528..."} 
[2026-09-25 20:06:30] local.INFO: Processing buffer {"connection_id":194054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fe7188012d0e0280071df6d0001b007528..."} 
[2026-09-25 20:06:30] local.INFO: Packet analysis {"connection_id":194054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:06:30] local.INFO: Extracted packet for processing {"connection_id":194054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755892864,"raw_latitude":119404240,"longitude_deg":75.5892864,"latitude_deg":11.940424,"altitude":27,"angle":117,"satellites":40,"speed":12,"hex_longitude":"2d0e0280","hex_latitude":"071df6d0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328815360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23168771581542400,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1006132334819831808,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790346949000,"timestamp_ms":1790346949000,"timestamp_seconds":1790346949,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fe7188"} 
[2026-09-25 20: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-25 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-25 20:06:30] 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-25 20: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-25 20: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-25 20:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328815360001,"66":13820,"11":206,"83":41984,"24":12,"16":23168771581542400,"45":1006132334819831808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328815360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:06:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23168771581542400,"km_value":23168771581542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1006132334819831808,"description":"Unknown IO ID 45"} 
[2026-09-25 20:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328815360001,"power":13820,"unknown_11":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1006132334819831808}} 
[2026-09-25 20:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":194054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:06:30] local.INFO: GPS data processed {"connection_id":194054,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:06:30] local.INFO: Acknowledgment sent {"connection_id":194054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:06:31] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:31] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fa1070012d34c14006aa49080008006e2a..."} 
[2026-09-25 20:06:31] local.INFO: Packet analysis {"connection_id":194056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:06:31] local.INFO: Extracted packet for processing {"connection_id":194056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fa"} 
[2026-09-25 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328668416001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346662000,"timestamp_ms":1790346662000,"timestamp_seconds":1790346662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fa1070"} 
[2026-09-25 20: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-25 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328668416001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328668416001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:06:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:06:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328668416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:06:31] 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":897260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:06:31] local.INFO: GPS data processed {"connection_id":194056,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:06:31] local.INFO: Acknowledgment sent {"connection_id":194056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:06:54] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:54] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:54] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:06:59] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:59] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:06:59] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:06:59] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fe7570012d0e0380071df608001b008a28..."} 
[2026-09-25 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fe7570012d0e0380071df608001b008a28..."} 
[2026-09-25 20:06:59] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fe7570012d0e0380071df608001b008a28..."} 
[2026-09-25 20:06:59] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:06:59] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:06:59] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":119404040,"longitude_deg":75.589312,"latitude_deg":11.940404,"altitude":27,"angle":138,"satellites":40,"speed":12,"hex_longitude":"2d0e0380","hex_latitude":"071df608","is_valid_coordinates":true} 
[2026-09-25 20:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328818944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23168784466444288,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009510034540253184,"note":"Value kept but may cause issues"} 
[2026-09-25 20:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790346950000,"timestamp_ms":1790346950000,"timestamp_seconds":1790346950,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fe7570"} 
[2026-09-25 20:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:06:59] 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-25 20:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 20:06:59] 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-25 20:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328818944001,"66":13820,"11":206,"83":41984,"24":12,"16":23168784466444288,"45":1009510034540253184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328818944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:06:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23168784466444288,"km_value":23168784466444.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009510034540253184,"description":"Unknown IO ID 45"} 
[2026-09-25 20:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328818944001,"power":13820,"unknown_11":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1009510034540253184}} 
[2026-09-25 20:07:00] 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":897261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:07:00] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:07:00] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:07:03] local.INFO: TCP Data received {"connection_id":194056,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:03] local.INFO: Processing buffer {"connection_id":194056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:03] local.INFO: Packet analysis {"connection_id":194056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:03] local.INFO: Extracted packet for processing {"connection_id":194056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07: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-25 20:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:07: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-25 20:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:07:03] 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":897262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:07:03] local.INFO: GPS data processed {"connection_id":194056,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:07:03] local.INFO: Acknowledgment sent {"connection_id":194056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:07:24] local.INFO: TCP Data received {"connection_id":195394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:24] local.INFO: Processing buffer {"connection_id":195394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:24] local.INFO: IMEI packet received {"connection_id":195394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":195394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:07:29] local.INFO: TCP Data received {"connection_id":195394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:29] local.INFO: Processing buffer {"connection_id":195394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:07:29] local.INFO: IMEI packet received {"connection_id":195394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":195394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:07:30] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fe7d40012d0e0480071df438001b009a28..."} 
[2026-09-25 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fe7d40012d0e0480071df438001b009a28..."} 
[2026-09-25 20:07:30] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fe7d40012d0e0480071df438001b009a28..."} 
[2026-09-25 20:07:30] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:30] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":755893376,"raw_latitude":119403576,"longitude_deg":75.5893376,"latitude_deg":11.9403576,"altitude":27,"angle":154,"satellites":40,"speed":9,"hex_longitude":"2d0e0480","hex_latitude":"071df438","is_valid_coordinates":true} 
[2026-09-25 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328819200001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23168810236248064,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509516912640,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790346952000,"timestamp_ms":1790346952000,"timestamp_seconds":1790346952,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fe7d40"} 
[2026-09-25 20:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-25 20:07:30] 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-25 20:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328819200001,"66":13417,"11":206,"83":41984,"24":9,"16":23168810236248064,"45":1009791509516912640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328819200001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:07:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23168810236248064,"km_value":23168810236248.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509516912640,"description":"Unknown IO ID 45"} 
[2026-09-25 20:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328819200001,"power":13417,"unknown_11":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1009791509516912640}} 
[2026-09-25 20:07:30] 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":897263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:07:30] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:07:30] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:07:31] local.INFO: TCP Data received {"connection_id":195394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:31] local.INFO: Processing buffer {"connection_id":195394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:07:31] local.INFO: Packet analysis {"connection_id":195394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:31] local.INFO: Extracted packet for processing {"connection_id":195394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07: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-25 20:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:07: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-25 20:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":195394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:07:31] local.INFO: GPS data processed {"connection_id":195394,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:07:31] local.INFO: Acknowledgment sent {"connection_id":195394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:07:37] local.INFO: TCP Data received {"connection_id":195393,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:07:37] local.INFO: Processing buffer {"connection_id":195393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:07:37] local.INFO: IMEI packet received {"connection_id":195393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":195393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:07:38] local.INFO: TCP Data received {"connection_id":195393,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fc1be0012d0b10c007029f100000013d20..."} 
[2026-09-25 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fc1be0012d0b10c007029f100000013d20..."} 
[2026-09-25 20:07:38] local.INFO: Processing buffer {"connection_id":195393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fc1be0012d0b10c007029f100000013d20..."} 
[2026-09-25 20:07:38] local.INFO: Packet analysis {"connection_id":195393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:07:38] local.INFO: Extracted packet for processing {"connection_id":195393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fc"} 
[2026-09-25 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328702720001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:07:38] 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-25 20:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790346796000,"timestamp_ms":1790346796000,"timestamp_seconds":1790346796,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fc1be0"} 
[2026-09-25 20:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-25 20:07:38] 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-25 20:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328702720001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328702720001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:07:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:07:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328702720001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":195393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:07:39] local.INFO: GPS data processed {"connection_id":195393,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:07:39] local.INFO: Acknowledgment sent {"connection_id":195393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:07:58] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:58] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:58] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:07:59] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:59] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:07:59] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:02] local.INFO: TCP Data received {"connection_id":195394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:02] local.INFO: Processing buffer {"connection_id":195394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:02] local.INFO: Packet analysis {"connection_id":195394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:08:02] local.INFO: Extracted packet for processing {"connection_id":195394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08: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-25 20:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:08: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-25 20:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":195394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:02] local.INFO: GPS data processed {"connection_id":195394,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:02] local.INFO: Acknowledgment sent {"connection_id":195394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:04] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:04] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:04] local.INFO: IMEI packet received {"connection_id":192523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":192523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:05] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ff8ac8012d0e40c0071dce88001e004327..."} 
[2026-09-25 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ff8ac8012d0e40c0071dce88001e004327..."} 
[2026-09-25 20:08:05] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ff8ac8012d0e40c0071dce88001e004327..."} 
[2026-09-25 20:08:05] local.INFO: Packet analysis {"connection_id":192523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:05] local.INFO: Extracted packet for processing {"connection_id":192523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":755908800,"raw_latitude":119393928,"longitude_deg":75.59088,"latitude_deg":11.9393928,"altitude":30,"angle":67,"satellites":39,"speed":27,"hex_longitude":"2d0e40c0","hex_latitude":"071dce88","is_valid_coordinates":true} 
[2026-09-25 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-25 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328833792001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23170120201273344,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017391333884430336,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790347021000,"timestamp_ms":1790347021000,"timestamp_seconds":1790347021,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ff8ac8"} 
[2026-09-25 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-25 20:08:05] 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-25 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:05] 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-25 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-25 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-25 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328833792001,"66":13374,"11":206,"83":41984,"24":27,"16":23170120201273344,"45":1017391333884430336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328833792001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23170120201273344,"km_value":23170120201273.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017391333884430336,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328833792001,"power":13374,"unknown_11":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1017391333884430336}} 
[2026-09-25 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":192523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:05] local.INFO: GPS data processed {"connection_id":192523,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:05] local.INFO: Acknowledgment sent {"connection_id":192523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:17] local.INFO: TCP Data received {"connection_id":195395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:17] local.INFO: Processing buffer {"connection_id":195395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:17] local.INFO: IMEI packet received {"connection_id":195395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":195395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:08:18] local.INFO: TCP Data received {"connection_id":195395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:18] local.INFO: Processing buffer {"connection_id":195395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:18] local.INFO: IMEI packet received {"connection_id":195395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":195395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:22] local.INFO: TCP Data received {"connection_id":195395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:22] local.INFO: Processing buffer {"connection_id":195395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:08:22] local.INFO: IMEI packet received {"connection_id":195395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":195395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:23] local.INFO: TCP Data received {"connection_id":195395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:23] local.INFO: Processing buffer {"connection_id":195395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:23] local.INFO: Packet analysis {"connection_id":195395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:08:23] local.INFO: Extracted packet for processing {"connection_id":195395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:23] 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-25 20:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:08:23] 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-25 20: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:23] 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-25 20: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-25 20: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-25 20:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:08:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":195395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:23] local.INFO: GPS data processed {"connection_id":195395,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:23] local.INFO: Acknowledgment sent {"connection_id":195395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:24] local.INFO: TCP Data received {"connection_id":194059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:24] local.INFO: Processing buffer {"connection_id":194059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:24] local.INFO: IMEI packet received {"connection_id":194059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":194059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:08:30] local.INFO: TCP Data received {"connection_id":194059,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:30] local.INFO: Processing buffer {"connection_id":194059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:08:30] local.INFO: IMEI packet received {"connection_id":194059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":194059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:32] local.INFO: TCP Data received {"connection_id":194059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:32] local.INFO: Processing buffer {"connection_id":194059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:08:32] local.INFO: Packet analysis {"connection_id":194059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:08:32] local.INFO: Extracted packet for processing {"connection_id":194059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:08:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":194059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:32] local.INFO: GPS data processed {"connection_id":194059,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:32] local.INFO: Acknowledgment sent {"connection_id":194059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:36] local.INFO: TCP Data received {"connection_id":192523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ffb5c0012d0e63c0071ddee8001d004027..."} 
[2026-09-25 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ffb5c0012d0e63c0071ddee8001d004027..."} 
[2026-09-25 20:08:36] local.INFO: Processing buffer {"connection_id":192523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ffb5c0012d0e63c0071ddee8001d004027..."} 
[2026-09-25 20:08:36] local.INFO: Packet analysis {"connection_id":192523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:36] local.INFO: Extracted packet for processing {"connection_id":192523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":755917760,"raw_latitude":119398120,"longitude_deg":75.591776,"latitude_deg":11.939812,"altitude":29,"angle":64,"satellites":39,"speed":43,"hex_longitude":"2d0e63c0","hex_latitude":"071ddee8","is_valid_coordinates":true} 
[2026-09-25 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328837376001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23170588352708608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1027031851837851648,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790347032000,"timestamp_ms":1790347032000,"timestamp_seconds":1790347032,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ffb5c0"} 
[2026-09-25 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:08:36] 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-25 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328837376001,"66":13450,"11":206,"83":41984,"24":43,"16":23170588352708608,"45":1027031851837851648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328837376001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23170588352708608,"km_value":23170588352708.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1027031851837851648,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328837376001,"power":13450,"unknown_11":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1027031851837851648}} 
[2026-09-25 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":192523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:36] local.INFO: GPS data processed {"connection_id":192523,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:36] local.INFO: Acknowledgment sent {"connection_id":192523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:54] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:54] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:54] local.INFO: IMEI packet received {"connection_id":192683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":192683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:08:55] local.INFO: TCP Data received {"connection_id":195395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:55] local.INFO: Processing buffer {"connection_id":195395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:08:55] local.INFO: Packet analysis {"connection_id":195395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:08:55] local.INFO: Extracted packet for processing {"connection_id":195395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:55] 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-25 20:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:08: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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:55] 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-25 20: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-25 20: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-25 20:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":195395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897271,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:08:55] local.INFO: GPS data processed {"connection_id":195395,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:08:55] local.INFO: Acknowledgment sent {"connection_id":195395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:08:59] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:59] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:08:59] local.INFO: IMEI packet received {"connection_id":192683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":192683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:08:59] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8ffd8e8012d0e86c0071defb0001f003728..."} 
[2026-09-25 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8ffd8e8012d0e86c0071defb0001f003728..."} 
[2026-09-25 20:08:59] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8ffd8e8012d0e86c0071defb0001f003728..."} 
[2026-09-25 20:08:59] local.INFO: Packet analysis {"connection_id":192683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:59] local.INFO: Extracted packet for processing {"connection_id":192683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8ff"} 
[2026-09-25 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755926720,"raw_latitude":119402416,"longitude_deg":75.592672,"latitude_deg":11.9402416,"altitude":31,"angle":55,"satellites":40,"speed":44,"hex_longitude":"2d0e86c0","hex_latitude":"071defb0","is_valid_coordinates":true} 
[2026-09-25 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328840192001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23171065094078464,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036883476023797760,"note":"Value kept but may cause issues"} 
[2026-09-25 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347041000,"timestamp_ms":1790347041000,"timestamp_seconds":1790347041,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8ffd8e8"} 
[2026-09-25 20:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:08:59] 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-25 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 20:08:59] 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-25 20:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328840192001,"66":13406,"237":206,"83":41984,"24":44,"16":23171065094078464,"45":1036883476023797760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-09-25 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328840192001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:08:59] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-25 20:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23171065094078464,"km_value":23171065094078.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036883476023797760,"description":"Unknown IO ID 45"} 
[2026-09-25 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328840192001,"power":13406,"unknown_237":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1036883476023797760}} 
[2026-09-25 20:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":192683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:00] local.INFO: GPS data processed {"connection_id":192683,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:00] local.INFO: Acknowledgment sent {"connection_id":192683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:04] local.INFO: TCP Data received {"connection_id":194059,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:04] local.INFO: Processing buffer {"connection_id":194059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:04] local.INFO: Packet analysis {"connection_id":194059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:09:04] local.INFO: Extracted packet for processing {"connection_id":194059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09: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-25 20:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:09: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-25 20:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:09: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-25 20:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:09:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:09: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-25 20:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":194059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:04] local.INFO: GPS data processed {"connection_id":194059,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:04] local.INFO: Acknowledgment sent {"connection_id":194059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:17] local.INFO: TCP Data received {"connection_id":195397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:17] local.INFO: Processing buffer {"connection_id":195397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:17] local.INFO: IMEI packet received {"connection_id":195397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":195397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:09:22] local.INFO: TCP Data received {"connection_id":195397,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:22] local.INFO: Processing buffer {"connection_id":195397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:09:22] local.INFO: IMEI packet received {"connection_id":195397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":195397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:09:23] local.INFO: TCP Data received {"connection_id":195397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:23] local.INFO: Processing buffer {"connection_id":195397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:23] local.INFO: Packet analysis {"connection_id":195397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:23] local.INFO: Extracted packet for processing {"connection_id":195397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:23] 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-25 20:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:09:23] 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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:09:23] 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-25 20: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-25 20: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-25 20:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":195397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897274,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:23] local.INFO: GPS data processed {"connection_id":195397,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:23] local.INFO: Acknowledgment sent {"connection_id":195397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:24] local.INFO: TCP Data received {"connection_id":195398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:24] local.INFO: Processing buffer {"connection_id":195398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:24] local.INFO: IMEI packet received {"connection_id":195398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":195398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:09:29] local.INFO: TCP Data received {"connection_id":195398,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:29] local.INFO: Processing buffer {"connection_id":195398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:09:29] local.INFO: IMEI packet received {"connection_id":195398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":195398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:09:31] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900cf00012d0f7640071e2e08002f005528..."} 
[2026-09-25 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900cf00012d0f7640071e2e08002f005528..."} 
[2026-09-25 20:09:31] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900cf00012d0f7640071e2e08002f005528..."} 
[2026-09-25 20:09:31] local.INFO: Packet analysis {"connection_id":192683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:31] local.INFO: Extracted packet for processing {"connection_id":192683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":755988032,"raw_latitude":119418376,"longitude_deg":75.5988032,"latitude_deg":11.9418376,"altitude":47,"angle":85,"satellites":40,"speed":23,"hex_longitude":"2d0f7640","hex_latitude":"071e2e08","is_valid_coordinates":true} 
[2026-09-25 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328858624001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23174230484975616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1114148357136058368,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347104000,"timestamp_ms":1790347104000,"timestamp_seconds":1790347104,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900cf00"} 
[2026-09-25 20:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 20:09:31] 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-25 20:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328858624001,"66":13439,"147":206,"83":41984,"24":23,"16":23174230484975616,"45":1114148357136058368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328858624001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23174230484975616,"km_value":23174230484975.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1114148357136058368,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328858624001,"power":13439,"unknown_147":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1114148357136058368}} 
[2026-09-25 20:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":192683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:31] local.INFO: GPS data processed {"connection_id":192683,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:31] local.INFO: Acknowledgment sent {"connection_id":192683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:31] local.INFO: TCP Data received {"connection_id":195398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:31] local.INFO: Processing buffer {"connection_id":195398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:09:31] local.INFO: Packet analysis {"connection_id":195398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:09:31] local.INFO: Extracted packet for processing {"connection_id":195398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09: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-25 20:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:09: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-25 20:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":195398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:31] local.INFO: GPS data processed {"connection_id":195398,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:31] local.INFO: Acknowledgment sent {"connection_id":195398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:54] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:54] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:54] local.INFO: IMEI packet received {"connection_id":194060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":194060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:09:54] local.INFO: TCP Data received {"connection_id":195397,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:54] local.INFO: Processing buffer {"connection_id":195397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:09:54] local.INFO: Packet analysis {"connection_id":195397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:54] local.INFO: Extracted packet for processing {"connection_id":195397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:54] 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-25 20:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:09:54] 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-25 20:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:09:54] 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-25 20:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":195397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897277,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:09:54] local.INFO: GPS data processed {"connection_id":195397,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:09:54] local.INFO: Acknowledgment sent {"connection_id":195397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:09:59] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:59] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:09:59] local.INFO: IMEI packet received {"connection_id":194060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":194060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:09:59] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9011168012d0f9bc0071e32500031005527..."} 
[2026-09-25 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9011168012d0f9bc0071e32500031005527..."} 
[2026-09-25 20:09:59] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9011168012d0f9bc0071e32500031005527..."} 
[2026-09-25 20:09:59] local.INFO: Packet analysis {"connection_id":194060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d901"} 
[2026-09-25 20:09:59] local.INFO: Extracted packet for processing {"connection_id":194060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d901"} 
[2026-09-25 20:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755997632,"raw_latitude":119419472,"longitude_deg":75.5997632,"latitude_deg":11.9419472,"altitude":49,"angle":85,"satellites":39,"speed":29,"hex_longitude":"2d0f9bc0","hex_latitude":"071e3250","is_valid_coordinates":true} 
[2026-09-25 20:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328858624001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23174690046476288,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1114148357136058368,"note":"Value kept but may cause issues"} 
[2026-09-25 20:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347121000,"timestamp_ms":1790347121000,"timestamp_seconds":1790347121,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9011168"} 
[2026-09-25 20:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:09:59] 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-25 20:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 20:09:59] 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-25 20:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328858624001,"66":13428,"235":206,"83":41984,"24":29,"16":23174690046476288,"45":1114148357136058368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-09-25 20:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328858624001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:09:59] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-25 20:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23174690046476288,"km_value":23174690046476.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1114148357136058368,"description":"Unknown IO ID 45"} 
[2026-09-25 20:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328858624001,"power":13428,"unknown_235":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1114148357136058368}} 
[2026-09-25 20:10:00] 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":897278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:00] local.INFO: GPS data processed {"connection_id":194060,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:00] local.INFO: Acknowledgment sent {"connection_id":194060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:05] local.INFO: TCP Data received {"connection_id":195398,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:05] local.INFO: Processing buffer {"connection_id":195398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:05] local.INFO: Packet analysis {"connection_id":195398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:05] local.INFO: Extracted packet for processing {"connection_id":195398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 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-25 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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-25 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-25 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-25 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-25 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":195398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:05] local.INFO: GPS data processed {"connection_id":195398,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:05] local.INFO: Acknowledgment sent {"connection_id":195398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:22] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:22] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:22] local.INFO: IMEI packet received {"connection_id":194061,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":194061,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:10:27] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:27] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:10:27] local.INFO: IMEI packet received {"connection_id":194061,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":194061,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:10:28] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:28] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:28] local.INFO: Packet analysis {"connection_id":194061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:28] local.INFO: Extracted packet for processing {"connection_id":194061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:28] 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-25 20:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:10: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-25 20:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:10:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:10:28] 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":897280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:28] local.INFO: GPS data processed {"connection_id":194061,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:28] local.INFO: Acknowledgment sent {"connection_id":194061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:29] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:29] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:29] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:10:32] local.INFO: TCP Data received {"connection_id":194060,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9020b68012d109480071e3e30002a003f26..."} 
[2026-09-25 20:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9020b68012d109480071e3e30002a003f26..."} 
[2026-09-25 20:10:32] local.INFO: Processing buffer {"connection_id":194060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9020b68012d109480071e3e30002a003f26..."} 
[2026-09-25 20:10:32] local.INFO: Packet analysis {"connection_id":194060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:10:32] local.INFO: Extracted packet for processing {"connection_id":194060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756061312,"raw_latitude":119422512,"longitude_deg":75.6061312,"latitude_deg":11.9422512,"altitude":42,"angle":63,"satellites":38,"speed":48,"hex_longitude":"2d109480","hex_latitude":"071e3e30","is_valid_coordinates":true} 
[2026-09-25 20:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328877312001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23177954221621248,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1184868945034602496,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790347185000,"timestamp_ms":1790347185000,"timestamp_seconds":1790347185,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9020b68"} 
[2026-09-25 20:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:10:32] 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-25 20:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:32] 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-25 20:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328877312001,"66":13515,"5":206,"83":41984,"24":48,"16":23177954221621248,"45":1184868945034602496},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,45]} 
[2026-09-25 20:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328877312001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23177954221621248,"km_value":23177954221621.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1184868945034602496,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328877312001,"power":13515,"unknown_5":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1184868945034602496}} 
[2026-09-25 20:10:32] 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":897281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:32] local.INFO: GPS data processed {"connection_id":194060,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:32] local.INFO: Acknowledgment sent {"connection_id":194060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:33] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:33] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:33] local.INFO: Packet analysis {"connection_id":194061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:33] local.INFO: Extracted packet for processing {"connection_id":194061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:33] 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-25 20:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:10:33] 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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:33] 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-25 20: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-25 20: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-25 20:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:10:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:10:33] 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":897282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:33] local.INFO: GPS data processed {"connection_id":194061,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:33] local.INFO: Acknowledgment sent {"connection_id":194061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:35] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:35] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:10:35] local.INFO: IMEI packet received {"connection_id":192524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":192524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:10:36] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:36] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:36] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:36] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:10: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-25 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:10:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:10:36] 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":897283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:36] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:36] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:38] local.INFO: TCP Data received {"connection_id":194061,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:38] local.INFO: Processing buffer {"connection_id":194061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:10:38] local.INFO: Packet analysis {"connection_id":194061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:38] local.INFO: Extracted packet for processing {"connection_id":194061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:38] 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-25 20:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:10:38] 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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:38] 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-25 20: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-25 20: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-25 20:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:10:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:10:38] 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":897284,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:38] local.INFO: GPS data processed {"connection_id":194061,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:38] local.INFO: Acknowledgment sent {"connection_id":194061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:40] local.INFO: TCP Data received {"connection_id":192524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:40] local.INFO: Processing buffer {"connection_id":192524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:10:40] local.INFO: Packet analysis {"connection_id":192524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:40] local.INFO: Extracted packet for processing {"connection_id":192524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20: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-25 20:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:10: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-25 20:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:10:40] 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":897285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:40] local.INFO: GPS data processed {"connection_id":192524,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:40] local.INFO: Acknowledgment sent {"connection_id":192524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:10:54] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:54] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:54] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:10:56] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:56] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:56] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:10:58] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:58] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:10:58] local.INFO: IMEI packet received {"connection_id":194062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":194062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:10:59] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9021ef0012d10a800071e4a78002a003326..."} 
[2026-09-25 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9021ef0012d10a800071e4a78002a003326..."} 
[2026-09-25 20:10:59] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9021ef0012d10a800071e4a78002a003326..."} 
[2026-09-25 20:10:59] local.INFO: Packet analysis {"connection_id":194062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:10:59] local.INFO: Extracted packet for processing {"connection_id":194062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756066304,"raw_latitude":119425656,"longitude_deg":75.6066304,"latitude_deg":11.9425656,"altitude":42,"angle":51,"satellites":38,"speed":45,"hex_longitude":"2d10a800","hex_latitude":"071e4a78","is_valid_coordinates":true} 
[2026-09-25 20:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328879360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23178233394495488,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1194720569220542464,"note":"Value kept but may cause issues"} 
[2026-09-25 20:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347190000,"timestamp_ms":1790347190000,"timestamp_seconds":1790347190,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9021ef0"} 
[2026-09-25 20:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:10:59] 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-25 20:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328879360001,"66":13580,"5":206,"83":41984,"24":45,"16":23178233394495488,"45":1194720569220542464},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,45]} 
[2026-09-25 20:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328879360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:10:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-25 20:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23178233394495488,"km_value":23178233394495.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1194720569220542464,"description":"Unknown IO ID 45"} 
[2026-09-25 20:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328879360001,"power":13580,"unknown_5":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1194720569220542464}} 
[2026-09-25 20:10:59] 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":897286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:10:59] local.INFO: GPS data processed {"connection_id":194062,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:10:59] local.INFO: Acknowledgment sent {"connection_id":194062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:04] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9022e90012d10b480071e5720002c002726..."} 
[2026-09-25 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9022e90012d10b480071e5720002c002726..."} 
[2026-09-25 20:11:04] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9022e90012d10b480071e5720002c002726..."} 
[2026-09-25 20:11:04] local.INFO: Packet analysis {"connection_id":194062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:04] local.INFO: Extracted packet for processing {"connection_id":194062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756069504,"raw_latitude":119428896,"longitude_deg":75.6069504,"latitude_deg":11.9428896,"altitude":44,"angle":39,"satellites":38,"speed":44,"hex_longitude":"2d10b480","hex_latitude":"071e5720","is_valid_coordinates":true} 
[2026-09-25 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328880640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23178452437827584,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1200209331267205120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347194000,"timestamp_ms":1790347194000,"timestamp_seconds":1790347194,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9022e90"} 
[2026-09-25 20:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534678,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":1224986925193494574,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3640766864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541855211,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1709899982,"corrected_to":0} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3221691941,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093715226505645,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,5,83,24,241,157,16,88,160,11,45,128,62,42,38,10,66,236,43,87,220,1,240,84,227,217,30,4,113,205,185,54,248,239,52,235,2,82,7,44,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1709899982,"validated":0}]} 
[2026-09-25 20:11:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026475187897696256,"timestamp_seconds":3026475187897696.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328880640001,"66":13515,"5":206,"83":41984,"24":44,"16":23178452437827584,"45":1200209331267205120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,45]} 
[2026-09-25 20:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328880640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:04] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-25 20:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23178452437827584,"km_value":23178452437827.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1200209331267205120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328880640001,"power":13515,"unknown_5":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1200209331267205120}} 
[2026-09-25 20:11:04] 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":897287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:04] local.INFO: GPS data processed {"connection_id":194062,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:04] local.INFO: Acknowledgment sent {"connection_id":194062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:17] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:17] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:17] local.INFO: IMEI packet received {"connection_id":192685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":192685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:11:22] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:22] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:11:22] local.INFO: IMEI packet received {"connection_id":192685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":192685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:11:23] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:23] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:23] local.INFO: Packet analysis {"connection_id":192685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:11:23] local.INFO: Extracted packet for processing {"connection_id":192685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:11:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:11: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-25 20:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:23] 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-25 20:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:23] 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-25 20:11: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:23] 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-25 20:11: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-25 20:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:11:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":192685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:23] local.INFO: GPS data processed {"connection_id":192685,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:23] local.INFO: Acknowledgment sent {"connection_id":192685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:25] local.INFO: TCP Data received {"connection_id":192526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:25] local.INFO: Processing buffer {"connection_id":192526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:25] local.INFO: IMEI packet received {"connection_id":192526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":192526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:11:30] local.INFO: TCP Data received {"connection_id":192526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:30] local.INFO: Processing buffer {"connection_id":192526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:11:30] local.INFO: IMEI packet received {"connection_id":192526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":192526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:11:31] local.INFO: TCP Data received {"connection_id":192526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:31] local.INFO: Processing buffer {"connection_id":192526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:31] local.INFO: Packet analysis {"connection_id":192526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:11:31] local.INFO: Extracted packet for processing {"connection_id":192526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11: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-25 20:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:11: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-25 20:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":192526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:31] local.INFO: GPS data processed {"connection_id":192526,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:31] local.INFO: Acknowledgment sent {"connection_id":192526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:33] local.INFO: TCP Data received {"connection_id":192525,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:11:33] local.INFO: Processing buffer {"connection_id":192525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:11:33] local.INFO: IMEI packet received {"connection_id":192525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":192525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:11:35] local.INFO: TCP Data received {"connection_id":194062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90251b8012d10ca00071e77d8002f001d27..."} 
[2026-09-25 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90251b8012d10ca00071e77d8002f001d27..."} 
[2026-09-25 20:11:35] local.INFO: Processing buffer {"connection_id":194062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90251b8012d10ca00071e77d8002f001d27..."} 
[2026-09-25 20:11:35] local.INFO: Packet analysis {"connection_id":194062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:35] local.INFO: Extracted packet for processing {"connection_id":194062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756075008,"raw_latitude":119437272,"longitude_deg":75.6075008,"latitude_deg":11.9437272,"altitude":47,"angle":29,"satellites":39,"speed":44,"hex_longitude":"2d10ca00","hex_latitude":"071e77d8","is_valid_coordinates":true} 
[2026-09-25 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328881664001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23178933474164736,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1203727768476917760,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790347203000,"timestamp_ms":1790347203000,"timestamp_seconds":1790347203,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90251b8"} 
[2026-09-25 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328881664001,"66":13515,"147":206,"83":41984,"24":44,"16":23178933474164736,"45":1203727768476917760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-09-25 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328881664001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:35] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-25 20:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23178933474164736,"km_value":23178933474164.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1203727768476917760,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328881664001,"power":13515,"unknown_147":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1203727768476917760}} 
[2026-09-25 20:11:35] 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":897290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:35] local.INFO: GPS data processed {"connection_id":194062,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:35] local.INFO: Acknowledgment sent {"connection_id":194062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:37] local.INFO: TCP Data received {"connection_id":192526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:37] local.INFO: Processing buffer {"connection_id":192526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d8fea838012d34c14006aa49080007006e28..."} 
[2026-09-25 20:11:37] local.INFO: Packet analysis {"connection_id":192526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:11:37] local.INFO: Extracted packet for processing {"connection_id":192526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d8fe"} 
[2026-09-25 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328745472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790346963000,"timestamp_ms":1790346963000,"timestamp_seconds":1790346963,"priority":1,"record_length":96,"hex_timestamp":"000001a0d8fea838"} 
[2026-09-25 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:11: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-25 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328745472001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328745472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328745472001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":192526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:37] local.INFO: GPS data processed {"connection_id":192526,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:37] local.INFO: Acknowledgment sent {"connection_id":192526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:53] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:53] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:53] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:11:55] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:55] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:11:55] local.INFO: Packet analysis {"connection_id":192685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:11:55] local.INFO: Extracted packet for processing {"connection_id":192685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:55] 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-25 20:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20: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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:55] 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-25 20: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-25 20: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-25 20:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":192685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:55] local.INFO: GPS data processed {"connection_id":192685,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:55] local.INFO: Acknowledgment sent {"connection_id":192685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:11:58] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:11:58] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:11:58] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:11:59] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90270f8012d10da40071e96a00033001926..."} 
[2026-09-25 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90270f8012d10da40071e96a00033001926..."} 
[2026-09-25 20:11:59] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90270f8012d10da40071e96a00033001926..."} 
[2026-09-25 20:11:59] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:59] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756079168,"raw_latitude":119445152,"longitude_deg":75.6079168,"latitude_deg":11.9445152,"altitude":51,"angle":25,"satellites":38,"speed":43,"hex_longitude":"2d10da40","hex_latitude":"071e96a0","is_valid_coordinates":true} 
[2026-09-25 20:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328883968001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23179367265861632,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209779480478341120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347211000,"timestamp_ms":1790347211000,"timestamp_seconds":1790347211,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90270f8"} 
[2026-09-25 20:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:11:59] 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-25 20:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328883968001,"66":13515,"32":206,"83":41984,"24":43,"16":23179367265861632,"45":1209779480478341120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-25 20:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328883968001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:11:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-25 20:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23179367265861632,"km_value":23179367265861.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209779480478341120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328883968001,"power":13515,"unknown_32":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1209779480478341120}} 
[2026-09-25 20:11:59] 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":897293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:11:59] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:11:59] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:01] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9029038012d10eac0071eb5c80033001f28..."} 
[2026-09-25 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9029038012d10eac0071eb5c80033001f28..."} 
[2026-09-25 20:12:01] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9029038012d10eac0071eb5c80033001f28..."} 
[2026-09-25 20:12:01] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:12:01] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d902"} 
[2026-09-25 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756083392,"raw_latitude":119453128,"longitude_deg":75.6083392,"latitude_deg":11.9453128,"altitude":51,"angle":31,"satellites":40,"speed":46,"hex_longitude":"2d10eac0","hex_latitude":"071eb5c8","is_valid_coordinates":true} 
[2026-09-25 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328886016001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23179801057558528,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1214353448851906560,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790347219000,"timestamp_ms":1790347219000,"timestamp_seconds":1790347219,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9029038"} 
[2026-09-25 20:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:12: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-25 20:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328886016001,"66":13439,"32":206,"83":41984,"24":46,"16":23179801057558528,"45":1214353448851906560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-09-25 20:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328886016001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23179801057558528,"km_value":23179801057558.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1214353448851906560,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328886016001,"power":13439,"unknown_32":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1214353448851906560}} 
[2026-09-25 20:12:01] 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":897294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:01] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:01] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:04] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:12:04] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:12:04] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:12:08] local.INFO: TCP Data received {"connection_id":192526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:08] local.INFO: Processing buffer {"connection_id":192526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:08] local.INFO: Packet analysis {"connection_id":192526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:08] local.INFO: Extracted packet for processing {"connection_id":192526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:12: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-25 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":192526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:08] local.INFO: GPS data processed {"connection_id":192526,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:08] local.INFO: Acknowledgment sent {"connection_id":192526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:18] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:18] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:18] local.INFO: IMEI packet received {"connection_id":194063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":194063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:12:22] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:22] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:12:22] local.INFO: IMEI packet received {"connection_id":194063,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":194063,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:12:23] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:23] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:23] local.INFO: Packet analysis {"connection_id":194063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:12:23] local.INFO: Extracted packet for processing {"connection_id":194063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:23] 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-25 20:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:12:23] 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-25 20:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:12:23] 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-25 20:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:12:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:12:23] 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":897296,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:23] local.INFO: GPS data processed {"connection_id":194063,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:23] local.INFO: Acknowledgment sent {"connection_id":194063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:24] local.INFO: TCP Data received {"connection_id":194064,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:24] local.INFO: Processing buffer {"connection_id":194064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:24] local.INFO: IMEI packet received {"connection_id":194064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":194064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:12:30] local.INFO: TCP Data received {"connection_id":194064,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:30] local.INFO: Processing buffer {"connection_id":194064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:12:30] local.INFO: IMEI packet received {"connection_id":194064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":194064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:12:32] local.INFO: TCP Data received {"connection_id":194064,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:32] local.INFO: Processing buffer {"connection_id":194064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:12:32] local.INFO: Packet analysis {"connection_id":194064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:32] local.INFO: Extracted packet for processing {"connection_id":194064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":194064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:32] local.INFO: GPS data processed {"connection_id":194064,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:32] local.INFO: Acknowledgment sent {"connection_id":194064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:32] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d903c0e8012d11dec0071f2fd80032007025..."} 
[2026-09-25 20:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d903c0e8012d11dec0071f2fd80032007025..."} 
[2026-09-25 20:12:32] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d903c0e8012d11dec0071f2fd80032007025..."} 
[2026-09-25 20:12:32] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:32] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756145856,"raw_latitude":119484376,"longitude_deg":75.6145856,"latitude_deg":11.9484376,"altitude":50,"angle":112,"satellites":37,"speed":44,"hex_longitude":"2d11dec0","hex_latitude":"071f2fd8","is_valid_coordinates":true} 
[2026-09-25 20:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328908032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23183851211718656,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287677680295073792,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790347297000,"timestamp_ms":1790347297000,"timestamp_seconds":1790347297,"priority":1,"record_length":96,"hex_timestamp":"000001a0d903c0e8"} 
[2026-09-25 20:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:12:32] 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-25 20:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328908032001,"66":13515,"31":206,"83":41984,"24":44,"16":23183851211718656,"45":1287677680295073792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-25 20:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328908032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23183851211718656,"km_value":23183851211718.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287677680295073792,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328908032001,"power":13515,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1287677680295073792}} 
[2026-09-25 20:12:32] 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":897298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:32] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:32] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:55] local.INFO: TCP Data received {"connection_id":194063,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:55] local.INFO: Processing buffer {"connection_id":194063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d900b3a8012d0b10c007029f100000013d21..."} 
[2026-09-25 20:12:55] local.INFO: Packet analysis {"connection_id":194063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:12:55] local.INFO: Extracted packet for processing {"connection_id":194063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d900"} 
[2026-09-25 20:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328779776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:12:55] 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-25 20:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347097000,"timestamp_ms":1790347097000,"timestamp_seconds":1790347097,"priority":1,"record_length":96,"hex_timestamp":"000001a0d900b3a8"} 
[2026-09-25 20: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-25 20:12: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-25 20: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 20:12:55] 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-25 20: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-25 20: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-25 20:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194063,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328779776001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328779776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:12:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328779776001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:12:55] 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":897299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:12:55] local.INFO: GPS data processed {"connection_id":194063,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:12:55] local.INFO: Acknowledgment sent {"connection_id":194063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:12:58] local.INFO: TCP Data received {"connection_id":194065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:12:58] local.INFO: Processing buffer {"connection_id":194065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:12:58] local.INFO: IMEI packet received {"connection_id":194065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":194065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:13:04] local.INFO: TCP Data received {"connection_id":194064,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:04] local.INFO: Processing buffer {"connection_id":194064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:04] local.INFO: Packet analysis {"connection_id":194064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:04] local.INFO: Extracted packet for processing {"connection_id":194064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20: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-25 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20: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-25 20: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-25 20: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-25 20:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":194064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:04] local.INFO: GPS data processed {"connection_id":194064,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:04] local.INFO: Acknowledgment sent {"connection_id":194064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:13] local.INFO: TCP Data received {"connection_id":194065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:13] local.INFO: Processing buffer {"connection_id":194065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:13] local.INFO: IMEI packet received {"connection_id":194065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":194065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:13:14] local.INFO: TCP Data received {"connection_id":194065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d903cca0012d11eb40071f2c900032006324..."} 
[2026-09-25 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d903cca0012d11eb40071f2c900032006324..."} 
[2026-09-25 20:13:14] local.INFO: Processing buffer {"connection_id":194065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d903cca0012d11eb40071f2c900032006324..."} 
[2026-09-25 20:13:14] local.INFO: Packet analysis {"connection_id":194065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:14] local.INFO: Extracted packet for processing {"connection_id":194065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756149056,"raw_latitude":119483536,"longitude_deg":75.6149056,"latitude_deg":11.9483536,"altitude":50,"angle":99,"satellites":36,"speed":41,"hex_longitude":"2d11eb40","hex_latitude":"071f2c90","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328908032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23184010125508608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287677680295073792,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790347300000,"timestamp_ms":1790347300000,"timestamp_seconds":1790347300,"priority":1,"record_length":96,"hex_timestamp":"000001a0d903cca0"} 
[2026-09-25 20: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-25 20:13: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-25 20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":194065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":194065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":194065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328908032001,"66":13243,"31":206,"83":41984,"24":41,"16":23184010125508608,"45":1287677680295073792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-25 20:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328908032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-25 20:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23184010125508608,"km_value":23184010125508.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287677680295073792,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328908032001,"power":13243,"unknown_31":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1287677680295073792}} 
[2026-09-25 20:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":194065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:14] local.INFO: GPS data processed {"connection_id":194065,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:14] local.INFO: Acknowledgment sent {"connection_id":194065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:15] local.INFO: TCP Data received {"connection_id":194065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d903efc8012d1210c0071f29000034006124..."} 
[2026-09-25 20:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d903efc8012d1210c0071f29000034006124..."} 
[2026-09-25 20:13:15] local.INFO: Processing buffer {"connection_id":194065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d903efc8012d1210c0071f29000034006124..."} 
[2026-09-25 20:13:15] local.INFO: Packet analysis {"connection_id":194065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:15] local.INFO: Extracted packet for processing {"connection_id":194065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756158656,"raw_latitude":119482624,"longitude_deg":75.6158656,"latitude_deg":11.9482624,"altitude":52,"angle":97,"satellites":36,"speed":41,"hex_longitude":"2d1210c0","hex_latitude":"071f2900","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328908800001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23184469687009280,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1291196117503741952,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1790347309000,"timestamp_ms":1790347309000,"timestamp_seconds":1790347309,"priority":1,"record_length":96,"hex_timestamp":"000001a0d903efc8"} 
[2026-09-25 20: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-25 20:13: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-25 20: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:15] 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-25 20: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-25 20: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-25 20:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":194065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":194065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":194065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328908800001,"66":13341,"31":206,"83":41984,"24":41,"16":23184469687009280,"45":1291196117503741952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-09-25 20:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328908800001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-25 20:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23184469687009280,"km_value":23184469687009.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1291196117503741952,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328908800001,"power":13341,"unknown_31":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1291196117503741952}} 
[2026-09-25 20:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":194065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:15] local.INFO: GPS data processed {"connection_id":194065,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:15] local.INFO: Acknowledgment sent {"connection_id":194065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:17] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:18] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:18] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:13:19] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:19] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:19] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:13:23] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:23] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:13:23] local.INFO: IMEI packet received {"connection_id":194067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":194067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:13:24] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:24] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:24] local.INFO: IMEI packet received {"connection_id":192688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":192688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:13:26] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:26] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:26] local.INFO: Packet analysis {"connection_id":194067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:26] local.INFO: Extracted packet for processing {"connection_id":194067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:26] 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-25 20:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:26] 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-25 20:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20: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-25 20:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":194067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":194067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":194067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:13:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:13:26] 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":897303,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:26] local.INFO: GPS data processed {"connection_id":194067,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:26] local.INFO: Acknowledgment sent {"connection_id":194067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:30] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:30] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:13:30] local.INFO: IMEI packet received {"connection_id":192688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":192688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:13:31] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:31] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:13:31] local.INFO: Packet analysis {"connection_id":192688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:31] local.INFO: Extracted packet for processing {"connection_id":192688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13: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-25 20:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20: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-25 20:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:13: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-25 20:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":192688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:31] local.INFO: GPS data processed {"connection_id":192688,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:31] local.INFO: Acknowledgment sent {"connection_id":192688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:54] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:54] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:54] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:13:57] local.INFO: TCP Data received {"connection_id":194067,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:57] local.INFO: Processing buffer {"connection_id":194067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:13:57] local.INFO: Packet analysis {"connection_id":194067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:57] local.INFO: Extracted packet for processing {"connection_id":194067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:57] 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-25 20:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:13:57] 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-25 20:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":194067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":194067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":194067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:13:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:13:58] 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":897305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:58] local.INFO: GPS data processed {"connection_id":194067,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:58] local.INFO: Acknowledgment sent {"connection_id":194067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:13:58] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:58] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:13:58] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:13:59] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:13:59] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:13:59] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:59] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756247808,"raw_latitude":119469680,"longitude_deg":75.6247808,"latitude_deg":11.946968,"altitude":41,"angle":90,"satellites":37,"speed":44,"hex_longitude":"2d136d00","hex_latitude":"071ef670","is_valid_coordinates":true} 
[2026-09-25 20:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328927744001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23188799014043648,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1389923465581840384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347382000,"timestamp_ms":1790347382000,"timestamp_seconds":1790347382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9050cf0"} 
[2026-09-25 20:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:13:59] 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-25 20:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-25 20:13:59] 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-25 20:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328927744001,"66":13559,"11":206,"83":41984,"24":44,"16":23188799014043648,"45":1389923465581840384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328927744001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:13:59] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23188799014043648,"km_value":23188799014043.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1389923465581840384,"description":"Unknown IO ID 45"} 
[2026-09-25 20:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328927744001,"power":13559,"unknown_11":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1389923465581840384}} 
[2026-09-25 20:13:59] 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":897306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:13:59] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:13:59] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:03] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:03] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:03] local.INFO: Packet analysis {"connection_id":192688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:14:03] local.INFO: Extracted packet for processing {"connection_id":192688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14: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-25 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:14: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-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":192688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:14:03] local.INFO: GPS data processed {"connection_id":192688,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:14:03] local.INFO: Acknowledgment sent {"connection_id":192688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:17] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:17] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:17] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:14:22] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:22] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:14:22] local.INFO: IMEI packet received {"connection_id":192527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":192527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:14:23] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:23] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:23] local.INFO: Packet analysis {"connection_id":192527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:23] local.INFO: Extracted packet for processing {"connection_id":192527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:23] 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-25 20:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:14:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:14: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-25 20: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-25 20: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-25 20:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:14:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:14:23] 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":897308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:14:23] local.INFO: GPS data processed {"connection_id":192527,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:14:23] local.INFO: Acknowledgment sent {"connection_id":192527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:25] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:25] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:25] local.INFO: IMEI packet received {"connection_id":194068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":194068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:14:29] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:29] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:14:29] local.INFO: IMEI packet received {"connection_id":194068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":194068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:14:31] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:14:31] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9050cf0012d136d00071ef6700029005a25..."} 
[2026-09-25 20:14:31] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:31] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756247808,"raw_latitude":119469680,"longitude_deg":75.6247808,"latitude_deg":11.946968,"altitude":41,"angle":90,"satellites":37,"speed":44,"hex_longitude":"2d136d00","hex_latitude":"071ef670","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328929792001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23188799014043648,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399775089766330368,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347382000,"timestamp_ms":1790347382000,"timestamp_seconds":1790347382,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9050cf0"} 
[2026-09-25 20: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-25 20:14:31] 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-25 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 20:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328929792001,"66":13559,"11":206,"83":41984,"24":44,"16":23188799014043648,"45":1399775089766330368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328929792001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:14:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23188799014043648,"km_value":23188799014043.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399775089766330368,"description":"Unknown IO ID 45"} 
[2026-09-25 20:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328929792001,"power":13559,"unknown_11":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1399775089766330368}} 
[2026-09-25 20:14:31] 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":897309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:14:31] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:14:31] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:32] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:32] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:14:32] local.INFO: Packet analysis {"connection_id":194068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:14:32] local.INFO: Extracted packet for processing {"connection_id":194068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:14:32] 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":897310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:14:32] local.INFO: GPS data processed {"connection_id":194068,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:14:32] local.INFO: Acknowledgment sent {"connection_id":194068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:54] local.INFO: TCP Data received {"connection_id":192527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:54] local.INFO: Processing buffer {"connection_id":192527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:14:54] local.INFO: Packet analysis {"connection_id":192527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:54] local.INFO: Extracted packet for processing {"connection_id":192527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:14:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:14:54] 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-25 20:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:14:54] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:14:54] 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-25 20: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-25 20: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-25 20:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:14:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:14:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:14:55] 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":897311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:14:55] local.INFO: GPS data processed {"connection_id":192527,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:14:55] local.INFO: Acknowledgment sent {"connection_id":192527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:14:58] local.INFO: TCP Data received {"connection_id":195400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:14:58] local.INFO: Processing buffer {"connection_id":195400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:14:58] local.INFO: IMEI packet received {"connection_id":195400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":195400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:15:02] local.INFO: TCP Data received {"connection_id":195400,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:02] local.INFO: Processing buffer {"connection_id":195400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:02] local.INFO: IMEI packet received {"connection_id":195400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":195400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:15:03] local.INFO: TCP Data received {"connection_id":195400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9051c90012d137e80071ef8800029004e25..."} 
[2026-09-25 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9051c90012d137e80071ef8800029004e25..."} 
[2026-09-25 20:15:03] local.INFO: Processing buffer {"connection_id":195400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9051c90012d137e80071ef8800029004e25..."} 
[2026-09-25 20:15:03] local.INFO: Packet analysis {"connection_id":195400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:03] local.INFO: Extracted packet for processing {"connection_id":195400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756252288,"raw_latitude":119470208,"longitude_deg":75.6252288,"latitude_deg":11.9470208,"altitude":41,"angle":78,"satellites":37,"speed":44,"hex_longitude":"2d137e80","hex_latitude":"071ef880","is_valid_coordinates":true} 
[2026-09-25 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328929792001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23189013762408448,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399775089766330368,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790347386000,"timestamp_ms":1790347386000,"timestamp_seconds":1790347386,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9051c90"} 
[2026-09-25 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:15:03] 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-25 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-25 20:15:03] 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-25 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328929792001,"66":13493,"11":206,"83":41984,"24":44,"16":23189013762408448,"45":1399775089766330368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-09-25 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328929792001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:03] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-09-25 20:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23189013762408448,"km_value":23189013762408.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399775089766330368,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328929792001,"power":13493,"unknown_11":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1399775089766330368}} 
[2026-09-25 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":195400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:03] local.INFO: GPS data processed {"connection_id":195400,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:03] local.INFO: Acknowledgment sent {"connection_id":195400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:04] local.INFO: TCP Data received {"connection_id":194068,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:04] local.INFO: Processing buffer {"connection_id":194068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:04] local.INFO: Packet analysis {"connection_id":194068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:15:04] local.INFO: Extracted packet for processing {"connection_id":194068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15: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-25 20:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:15: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-25 20:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:15: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-25 20:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:15:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:15: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-25 20:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:15:04] 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":897313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:04] local.INFO: GPS data processed {"connection_id":194068,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:04] local.INFO: Acknowledgment sent {"connection_id":194068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:17] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:17] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:17] local.INFO: IMEI packet received {"connection_id":192528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":192528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:15:23] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:23] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:15:23] local.INFO: IMEI packet received {"connection_id":192528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":192528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:15:24] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:24] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:24] local.INFO: Packet analysis {"connection_id":192528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:24] local.INFO: Extracted packet for processing {"connection_id":192528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:24] 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-25 20:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:15:24] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:15:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:15:25] 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":897314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:25] local.INFO: GPS data processed {"connection_id":192528,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:25] local.INFO: Acknowledgment sent {"connection_id":192528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:30] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:30] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:30] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:15:34] local.INFO: TCP Data received {"connection_id":195400,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d906a718012d151140071fad28002e002f26..."} 
[2026-09-25 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d906a718012d151140071fad28002e002f26..."} 
[2026-09-25 20:15:34] local.INFO: Processing buffer {"connection_id":195400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d906a718012d151140071fad28002e002f26..."} 
[2026-09-25 20:15:34] local.INFO: Packet analysis {"connection_id":195400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:15:34] local.INFO: Extracted packet for processing {"connection_id":195400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756355392,"raw_latitude":119516456,"longitude_deg":75.6355392,"latitude_deg":11.9516456,"altitude":46,"angle":47,"satellites":38,"speed":48,"hex_longitude":"2d151140","hex_latitude":"071fad28","is_valid_coordinates":true} 
[2026-09-25 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-25 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328955136001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23194434011136000,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1511802130508060672,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790347487000,"timestamp_ms":1790347487000,"timestamp_seconds":1790347487,"priority":1,"record_length":96,"hex_timestamp":"000001a0d906a718"} 
[2026-09-25 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-25 20:15:34] 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-25 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 20:15:34] 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-25 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-25 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-25 20:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328955136001,"66":12689,"12":206,"83":41984,"24":48,"16":23194434011136000,"45":1511802130508060672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-09-25 20:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328955136001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-25 20:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23194434011136000,"km_value":23194434011136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1511802130508060672,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328955136001,"power":12689,"unknown_12":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1511802130508060672}} 
[2026-09-25 20:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":195400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:34] local.INFO: GPS data processed {"connection_id":195400,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:34] local.INFO: Acknowledgment sent {"connection_id":195400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:35] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:35] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:15:35] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:15:36] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:36] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:15:36] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:15:36] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20: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-25 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:15: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-25 20: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-25 20: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-25 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:15:36] 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":897316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:36] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:36] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:54] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:54] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:54] local.INFO: IMEI packet received {"connection_id":194069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":194069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:15:56] local.INFO: TCP Data received {"connection_id":192528,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:56] local.INFO: Processing buffer {"connection_id":192528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:15:56] local.INFO: Packet analysis {"connection_id":192528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:56] local.INFO: Extracted packet for processing {"connection_id":192528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:56] 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-25 20:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:15:56] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20: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-25 20:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:15:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:15:56] 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":897317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:15:56] local.INFO: GPS data processed {"connection_id":192528,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:15:56] local.INFO: Acknowledgment sent {"connection_id":192528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:15:59] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:59] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:15:59] local.INFO: IMEI packet received {"connection_id":194069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":194069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:15:59] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d906be88012d1527c0071fc020002b003a27..."} 
[2026-09-25 20:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d906be88012d1527c0071fc020002b003a27..."} 
[2026-09-25 20:15:59] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d906be88012d1527c0071fc020002b003a27..."} 
[2026-09-25 20:15:59] local.INFO: Packet analysis {"connection_id":194069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:15:59] local.INFO: Extracted packet for processing {"connection_id":194069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756361152,"raw_latitude":119521312,"longitude_deg":75.6361152,"latitude_deg":11.9521312,"altitude":43,"angle":58,"satellites":39,"speed":50,"hex_longitude":"2d1527c0","hex_latitude":"071fc020","is_valid_coordinates":true} 
[2026-09-25 20:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328956672001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23194799083356160,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1518064948740958208,"note":"Value kept but may cause issues"} 
[2026-09-25 20:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347493000,"timestamp_ms":1790347493000,"timestamp_seconds":1790347493,"priority":1,"record_length":96,"hex_timestamp":"000001a0d906be88"} 
[2026-09-25 20:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:15:59] 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-25 20:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-25 20:15:59] 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-25 20:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328956672001,"66":12504,"87":206,"83":41984,"24":50,"16":23194799083356160,"45":1518064948740958208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 20:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328956672001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 20:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23194799083356160,"km_value":23194799083356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1518064948740958208,"description":"Unknown IO ID 45"} 
[2026-09-25 20:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328956672001,"power":12504,"unknown_87":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1518064948740958208}} 
[2026-09-25 20:16:00] 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":897318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:00] local.INFO: GPS data processed {"connection_id":194069,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:00] local.INFO: Acknowledgment sent {"connection_id":194069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:07] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:07] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:07] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:16:07] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20: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-25 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:16: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-25 20: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-25 20: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-25 20:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:16:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:16:07] 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":897319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:07] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:07] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:19] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:19] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:19] local.INFO: IMEI packet received {"connection_id":194070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":194070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:16:23] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:23] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:16:23] local.INFO: IMEI packet received {"connection_id":194070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":194070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:16:23] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:23] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:23] local.INFO: Packet analysis {"connection_id":194070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:16:23] local.INFO: Extracted packet for processing {"connection_id":194070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:23] 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-25 20:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:16:23] 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-25 20: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:16: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-25 20: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-25 20: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-25 20:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:16:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:16:24] 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":897320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:24] local.INFO: GPS data processed {"connection_id":194070,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:24] local.INFO: Acknowledgment sent {"connection_id":194070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:24] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:24] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:24] local.INFO: IMEI packet received {"connection_id":192691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":192691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:16:29] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:29] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:16:29] local.INFO: IMEI packet received {"connection_id":192691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:16:30] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:30] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9034000012d34c14006aa49080005006e2a..."} 
[2026-09-25 20:16:30] local.INFO: Packet analysis {"connection_id":192691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:16:30] local.INFO: Extracted packet for processing {"connection_id":192691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d903"} 
[2026-09-25 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328822528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347264000,"timestamp_ms":1790347264000,"timestamp_seconds":1790347264,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9034000"} 
[2026-09-25 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328822528001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328822528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:16:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328822528001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:16:30] 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":897321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:30] local.INFO: GPS data processed {"connection_id":192691,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:30] local.INFO: Acknowledgment sent {"connection_id":192691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:31] local.INFO: TCP Data received {"connection_id":194069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d906c658012d153100071fc458002a004627..."} 
[2026-09-25 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d906c658012d153100071fc458002a004627..."} 
[2026-09-25 20:16:31] local.INFO: Processing buffer {"connection_id":194069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d906c658012d153100071fc458002a004627..."} 
[2026-09-25 20:16:31] local.INFO: Packet analysis {"connection_id":194069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:16:31] local.INFO: Extracted packet for processing {"connection_id":194069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756363520,"raw_latitude":119522392,"longitude_deg":75.636352,"latitude_deg":11.9522392,"altitude":42,"angle":70,"satellites":39,"speed":51,"hex_longitude":"2d153100","hex_latitude":"071fc458","is_valid_coordinates":true} 
[2026-09-25 20:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328958208001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23194923637407744,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524398135718191104,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347495000,"timestamp_ms":1790347495000,"timestamp_seconds":1790347495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d906c658"} 
[2026-09-25 20:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 20:16: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-25 20:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328958208001,"66":13330,"87":206,"83":41984,"24":51,"16":23194923637407744,"45":1524398135718191104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 20:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328958208001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:16:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 20:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23194923637407744,"km_value":23194923637407.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524398135718191104,"description":"Unknown IO ID 45"} 
[2026-09-25 20:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328958208001,"power":13330,"unknown_87":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1524398135718191104}} 
[2026-09-25 20:16:31] 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":897322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:31] local.INFO: GPS data processed {"connection_id":194069,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:31] local.INFO: Acknowledgment sent {"connection_id":194069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:54] local.INFO: TCP Data received {"connection_id":195403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:54] local.INFO: Processing buffer {"connection_id":195403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:54] local.INFO: IMEI packet received {"connection_id":195403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":195403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:16:55] local.INFO: TCP Data received {"connection_id":194070,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:55] local.INFO: Processing buffer {"connection_id":194070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:16:55] local.INFO: Packet analysis {"connection_id":194070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:16:55] local.INFO: Extracted packet for processing {"connection_id":194070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:16:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:16:55] 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-25 20:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:16: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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:16:55] 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-25 20: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-25 20: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-25 20:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:16:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:16:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:16:55] 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":897323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:16:55] local.INFO: GPS data processed {"connection_id":194070,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:16:55] local.INFO: Acknowledgment sent {"connection_id":194070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:16:56] local.INFO: TCP Data received {"connection_id":195403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:56] local.INFO: Processing buffer {"connection_id":195403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:56] local.INFO: IMEI packet received {"connection_id":195403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":195403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:16:59] local.INFO: TCP Data received {"connection_id":195403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:59] local.INFO: Processing buffer {"connection_id":195403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:16:59] local.INFO: IMEI packet received {"connection_id":195403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":195403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:17:00] local.INFO: TCP Data received {"connection_id":195403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d906d210012d154040071fc7880028005426..."} 
[2026-09-25 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d906d210012d154040071fc7880028005426..."} 
[2026-09-25 20:17:00] local.INFO: Processing buffer {"connection_id":195403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d906d210012d154040071fc7880028005426..."} 
[2026-09-25 20:17:00] local.INFO: Packet analysis {"connection_id":195403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:17:00] local.INFO: Extracted packet for processing {"connection_id":195403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756367424,"raw_latitude":119523208,"longitude_deg":75.6367424,"latitude_deg":11.9523208,"altitude":40,"angle":84,"satellites":38,"speed":53,"hex_longitude":"2d154040","hex_latitude":"071fc788","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328958720001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23195112615968768,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1527001779253041152,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790347498000,"timestamp_ms":1790347498000,"timestamp_seconds":1790347498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d906d210"} 
[2026-09-25 20: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-25 20:17: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-25 20: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3641061864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":43,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3248339703738356064,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":102,"raw_value":792860393046284288,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":7334112173564766208,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931238,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":57814567669879716,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":6,"raw_value":1062850805189099527,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,87,83,24,241,157,16,103,160,190,45,192,43,39,10,66,167,64,173,46,38,12,143,1,240,227,102,217,31,4,113,205,81,193,88,40,239,48,2,82,7,47,37,6,75],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-09-25 20:17:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026496082913984512,"timestamp_seconds":3026496082913984.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20: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-25 20:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17: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-25 20:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328958720001,"66":13417,"87":206,"83":41984,"24":53,"16":23195112615968768,"45":1527001779253041152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 20:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328958720001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 20:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23195112615968768,"km_value":23195112615968.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1527001779253041152,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328958720001,"power":13417,"unknown_87":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1527001779253041152}} 
[2026-09-25 20:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":195403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:00] local.INFO: GPS data processed {"connection_id":195403,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:00] local.INFO: Acknowledgment sent {"connection_id":195403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:03] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:03] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:03] local.INFO: Packet analysis {"connection_id":192691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:03] local.INFO: Extracted packet for processing {"connection_id":192691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17: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-25 20:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:17: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-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:17:03] 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":897325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:03] local.INFO: GPS data processed {"connection_id":192691,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:03] local.INFO: Acknowledgment sent {"connection_id":192691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:17] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:17] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:17] local.INFO: IMEI packet received {"connection_id":192692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":192692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:17:22] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:22] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:17:22] local.INFO: IMEI packet received {"connection_id":192692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":192692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:17:23] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:23] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:23] local.INFO: Packet analysis {"connection_id":192692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:17:23] local.INFO: Extracted packet for processing {"connection_id":192692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:23] 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-25 20:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:17:23] 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-25 20: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:17: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-25 20: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-25 20: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-25 20:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:17:23] 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":897326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:23] local.INFO: GPS data processed {"connection_id":192692,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:23] local.INFO: Acknowledgment sent {"connection_id":192692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:24] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:24] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:24] local.INFO: IMEI packet received {"connection_id":192529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":192529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:17:29] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:29] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:17:29] local.INFO: IMEI packet received {"connection_id":192529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:17:30] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:30] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:17:30] local.INFO: Packet analysis {"connection_id":192529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:30] local.INFO: Extracted packet for processing {"connection_id":192529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:17:30] local.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-25 20:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:17:30] 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":897327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:30] local.INFO: GPS data processed {"connection_id":192529,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:30] local.INFO: Acknowledgment sent {"connection_id":192529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:31] local.INFO: TCP Data received {"connection_id":195403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d906e1b0012d1555c0071fc6e80025006026..."} 
[2026-09-25 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d906e1b0012d1555c0071fc6e80025006026..."} 
[2026-09-25 20:17:31] local.INFO: Processing buffer {"connection_id":195403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d906e1b0012d1555c0071fc6e80025006026..."} 
[2026-09-25 20:17:31] local.INFO: Packet analysis {"connection_id":195403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:17:31] local.INFO: Extracted packet for processing {"connection_id":195403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d906"} 
[2026-09-25 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756372928,"raw_latitude":119523048,"longitude_deg":75.6372928,"latitude_deg":11.9523048,"altitude":37,"angle":96,"satellites":38,"speed":53,"hex_longitude":"2d1555c0","hex_latitude":"071fc6e8","is_valid_coordinates":true} 
[2026-09-25 20:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328959488001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23195370314006528,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1531294272648087552,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347502000,"timestamp_ms":1790347502000,"timestamp_seconds":1790347502,"priority":1,"record_length":96,"hex_timestamp":"000001a0d906e1b0"} 
[2026-09-25 20:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328959488001,"66":13439,"87":206,"83":41984,"24":53,"16":23195370314006528,"45":1531294272648087552},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 20:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328959488001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 20:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23195370314006528,"km_value":23195370314006.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1531294272648087552,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328959488001,"power":13439,"unknown_87":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1531294272648087552}} 
[2026-09-25 20:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":195403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:31] local.INFO: GPS data processed {"connection_id":195403,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:31] local.INFO: Acknowledgment sent {"connection_id":195403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:33] local.INFO: TCP Data received {"connection_id":194071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:17:33] local.INFO: Processing buffer {"connection_id":194071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:17:33] local.INFO: IMEI packet received {"connection_id":194071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":194071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:17:53] local.INFO: TCP Data received {"connection_id":195404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:53] local.INFO: Processing buffer {"connection_id":195404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:53] local.INFO: IMEI packet received {"connection_id":195404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":195404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:17:55] local.INFO: TCP Data received {"connection_id":192692,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:55] local.INFO: Processing buffer {"connection_id":192692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9054b70012d0b10c007029f100000013d1f..."} 
[2026-09-25 20:17:55] local.INFO: Packet analysis {"connection_id":192692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:17:55] local.INFO: Extracted packet for processing {"connection_id":192692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d905"} 
[2026-09-25 20:17:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328856832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:55] 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-25 20:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347398000,"timestamp_ms":1790347398000,"timestamp_seconds":1790347398,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9054b70"} 
[2026-09-25 20: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-25 20:17: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-25 20: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:55] 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-25 20: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-25 20: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-25 20:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328856832001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328856832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:17:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328856832001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:17:55] 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":897329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:17:55] local.INFO: GPS data processed {"connection_id":192692,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:17:55] local.INFO: Acknowledgment sent {"connection_id":192692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:17:59] local.INFO: TCP Data received {"connection_id":195404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:59] local.INFO: Processing buffer {"connection_id":195404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:17:59] local.INFO: IMEI packet received {"connection_id":195404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":195404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:17:59] local.INFO: TCP Data received {"connection_id":195404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90700f0012d157d40071fc5600022005627..."} 
[2026-09-25 20:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90700f0012d157d40071fc5600022005627..."} 
[2026-09-25 20:17:59] local.INFO: Processing buffer {"connection_id":195404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90700f0012d157d40071fc5600022005627..."} 
[2026-09-25 20:17:59] local.INFO: Packet analysis {"connection_id":195404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:59] local.INFO: Extracted packet for processing {"connection_id":195404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756383040,"raw_latitude":119522656,"longitude_deg":75.638304,"latitude_deg":11.9522656,"altitude":34,"angle":86,"satellites":39,"speed":47,"hex_longitude":"2d157d40","hex_latitude":"071fc560","is_valid_coordinates":true} 
[2026-09-25 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328960512001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23195855645310976,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537345984647325696,"note":"Value kept but may cause issues"} 
[2026-09-25 20:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347510000,"timestamp_ms":1790347510000,"timestamp_seconds":1790347510,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90700f0"} 
[2026-09-25 20:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:17:59] 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-25 20:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 20:17:59] 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-25 20:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328960512001,"66":13450,"87":206,"83":41984,"24":47,"16":23195855645310976,"45":1537345984647325696},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-25 20:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328960512001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:17:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-25 20:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23195855645310976,"km_value":23195855645310.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1537345984647325696,"description":"Unknown IO ID 45"} 
[2026-09-25 20:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328960512001,"power":13450,"unknown_87":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1537345984647325696}} 
[2026-09-25 20:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":195404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:00] local.INFO: GPS data processed {"connection_id":195404,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:00] local.INFO: Acknowledgment sent {"connection_id":195404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:03] local.INFO: TCP Data received {"connection_id":192530,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:18:03] local.INFO: Processing buffer {"connection_id":192530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:18:03] local.INFO: IMEI packet received {"connection_id":192530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":192530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:18:04] local.INFO: TCP Data received {"connection_id":192529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:04] local.INFO: Processing buffer {"connection_id":192529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:04] local.INFO: Packet analysis {"connection_id":192529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:04] local.INFO: Extracted packet for processing {"connection_id":192529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18: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-25 20:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18:04] local.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-25 20:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:18:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:18: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-25 20:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:18:04] 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":897331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:04] local.INFO: GPS data processed {"connection_id":192529,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:04] local.INFO: Acknowledgment sent {"connection_id":192529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:21] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:21] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:21] local.INFO: IMEI packet received {"connection_id":194072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":194072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:18:22] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:22] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:22] local.INFO: IMEI packet received {"connection_id":194072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":194072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:18:27] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:27] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:18:27] local.INFO: IMEI packet received {"connection_id":194072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":194072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:18:28] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:28] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:28] local.INFO: Packet analysis {"connection_id":194072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:18:28] local.INFO: Extracted packet for processing {"connection_id":194072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:18:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:28] 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-25 20:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20: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-25 20:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:28] 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-25 20: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-25 20: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-25 20:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:18:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:18:28] 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":897332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:28] local.INFO: GPS data processed {"connection_id":194072,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:28] local.INFO: Acknowledgment sent {"connection_id":194072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:29] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:29] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:29] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:18:31] local.INFO: TCP Data received {"connection_id":195404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d908c228012d16a84007201fb00027005d29..."} 
[2026-09-25 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d908c228012d16a84007201fb00027005d29..."} 
[2026-09-25 20:18:31] local.INFO: Processing buffer {"connection_id":195404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d908c228012d16a84007201fb00027005d29..."} 
[2026-09-25 20:18:31] local.INFO: Packet analysis {"connection_id":195404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d908"} 
[2026-09-25 20:18:31] local.INFO: Extracted packet for processing {"connection_id":195404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d908"} 
[2026-09-25 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 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-25 20:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328986624001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632273420548845568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347625000,"timestamp_ms":1790347625000,"timestamp_seconds":1790347625,"priority":1,"record_length":96,"hex_timestamp":"000001a0d908c228"} 
[2026-09-25 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-25 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3641146864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2294891873854050857,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503953584553984,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":217,"raw_value":527756790290830400,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147950562,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7662594177160708120,"corrected_to":0} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3087084822,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826627400282541,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195200768,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84747816870027218,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:31] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,85,83,24,241,157,16,107,160,49,45,64,23,37,39,10,66,128,7,36,231,192,1,240,216,227,106,217,31,4,113,205,176,80,239,52,2,82,29,22,164,229,69,208],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":7662594177160708120,"validated":0}]} 
[2026-09-25 20:18:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810348593859592192,"timestamp_seconds":2810348593859592.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 20:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328986624001,"66":12667,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632273420548845568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328986624001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632273420548845568,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328986624001,"power":12667,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632273420548845568}} 
[2026-09-25 20:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":195404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:31] local.INFO: GPS data processed {"connection_id":195404,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:31] local.INFO: Acknowledgment sent {"connection_id":195404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:32] local.INFO: TCP Data received {"connection_id":194072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:33] local.INFO: Processing buffer {"connection_id":194072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:18:33] local.INFO: Packet analysis {"connection_id":194072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:18:33] local.INFO: Extracted packet for processing {"connection_id":194072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:18:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 20:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:33] 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-25 20:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 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-25 20:18:33] 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-25 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:33] 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-25 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-25 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-25 20:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:18:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:18:33] 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":897334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:33] local.INFO: GPS data processed {"connection_id":194072,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:33] local.INFO: Acknowledgment sent {"connection_id":194072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:34] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:34] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:18:34] local.INFO: IMEI packet received {"connection_id":192531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":192531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:18:36] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:36] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:36] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:36] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18: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-25 20:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:18:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:18:36] 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":897335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:36] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:36] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:40] local.INFO: TCP Data received {"connection_id":192531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:40] local.INFO: Processing buffer {"connection_id":192531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:18:40] local.INFO: Packet analysis {"connection_id":192531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:40] local.INFO: Extracted packet for processing {"connection_id":192531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20: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-25 20:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:18: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-25 20:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:18:40] 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":897336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:18:40] local.INFO: GPS data processed {"connection_id":192531,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:18:40] local.INFO: Acknowledgment sent {"connection_id":192531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:18:59] local.INFO: TCP Data received {"connection_id":195405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:18:59] local.INFO: Processing buffer {"connection_id":195405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:18:59] local.INFO: IMEI packet received {"connection_id":195405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":195405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:19:03] local.INFO: TCP Data received {"connection_id":195405,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:03] local.INFO: Processing buffer {"connection_id":195405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:03] local.INFO: IMEI packet received {"connection_id":195405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":195405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:19:04] local.INFO: TCP Data received {"connection_id":195405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9091430012d16a84007201fb00027005d28..."} 
[2026-09-25 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9091430012d16a84007201fb00027005d28..."} 
[2026-09-25 20:19:04] local.INFO: Processing buffer {"connection_id":195405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9091430012d16a84007201fb00027005d28..."} 
[2026-09-25 20:19:04] local.INFO: Packet analysis {"connection_id":195405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:04] local.INFO: Extracted packet for processing {"connection_id":195405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328992000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347646000,"timestamp_ms":1790347646000,"timestamp_seconds":1790347646,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9091430"} 
[2026-09-25 20:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:19:04] 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-25 20:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328992000001,"66":12667,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328992000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328992000001,"power":12667,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":195405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:04] local.INFO: GPS data processed {"connection_id":195405,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:04] local.INFO: Acknowledgment sent {"connection_id":195405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:07] local.INFO: TCP Data received {"connection_id":195405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9096638012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9096638012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:07] local.INFO: Processing buffer {"connection_id":195405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9096638012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:07] local.INFO: Packet analysis {"connection_id":195405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:07] local.INFO: Extracted packet for processing {"connection_id":195405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328997376001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790347667000,"timestamp_ms":1790347667000,"timestamp_seconds":1790347667,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9096638"} 
[2026-09-25 20: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-25 20:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:19:07] 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-25 20: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-25 20: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-25 20:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328997376001,"66":12526,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328997376001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328997376001,"power":12526,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":195405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:07] local.INFO: GPS data processed {"connection_id":195405,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:07] local.INFO: Acknowledgment sent {"connection_id":195405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:17] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:17] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:17] local.INFO: IMEI packet received {"connection_id":194073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":194073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:19:22] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:22] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:19:22] local.INFO: IMEI packet received {"connection_id":194073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":194073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:19:23] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:23] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:23] local.INFO: Packet analysis {"connection_id":194073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:23] local.INFO: Extracted packet for processing {"connection_id":194073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:23] 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-25 20:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20: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-25 20:19:23] 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-25 20: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:19: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-25 20: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-25 20: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-25 20:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:19:24] 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":897339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:24] local.INFO: GPS data processed {"connection_id":194073,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:24] local.INFO: Acknowledgment sent {"connection_id":194073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:25] local.INFO: TCP Data received {"connection_id":195407,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:25] local.INFO: Processing buffer {"connection_id":195407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:25] local.INFO: IMEI packet received {"connection_id":195407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":195407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:19:29] local.INFO: TCP Data received {"connection_id":195407,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:29] local.INFO: Processing buffer {"connection_id":195407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:19:29] local.INFO: IMEI packet received {"connection_id":195407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":195407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:19:30] local.INFO: TCP Data received {"connection_id":195407,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:19:30] local.INFO: Processing buffer {"connection_id":195407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:19:30] local.INFO: Packet analysis {"connection_id":195407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:19:30] local.INFO: Extracted packet for processing {"connection_id":195407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":195407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:30] local.INFO: GPS data processed {"connection_id":195407,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:30] local.INFO: Acknowledgment sent {"connection_id":195407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:38] local.INFO: TCP Data received {"connection_id":195405,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909b840012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909b840012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:19:38] local.INFO: Processing buffer {"connection_id":195405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909b840012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:19:38] local.INFO: Packet analysis {"connection_id":195405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:38] local.INFO: Extracted packet for processing {"connection_id":195405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329002752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790347688000,"timestamp_ms":1790347688000,"timestamp_seconds":1790347688,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909b840"} 
[2026-09-25 20:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:19: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-25 20:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 20:19:38] 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-25 20:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":195405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":195405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329002752001,"66":12461,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329002752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329002752001,"power":12461,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":195405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:38] local.INFO: GPS data processed {"connection_id":195405,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:38] local.INFO: Acknowledgment sent {"connection_id":195405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:54] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:54] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:54] local.INFO: IMEI packet received {"connection_id":192532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":192532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:19:56] local.INFO: TCP Data received {"connection_id":194073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:56] local.INFO: Processing buffer {"connection_id":194073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:19:56] local.INFO: Packet analysis {"connection_id":194073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:56] local.INFO: Extracted packet for processing {"connection_id":194073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:19:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:56] 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-25 20:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:19:56] 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-25 20:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:19:56] 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-25 20:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:19:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:19:56] 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":897342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:56] local.INFO: GPS data processed {"connection_id":194073,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:56] local.INFO: Acknowledgment sent {"connection_id":194073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:19:59] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:59] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:19:59] local.INFO: IMEI packet received {"connection_id":192532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":192532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:19:59] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90a0a48012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90a0a48012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:59] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90a0a48012d16a84007201fb00027005d27..."} 
[2026-09-25 20:19:59] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:19:59] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329008128001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347709000,"timestamp_ms":1790347709000,"timestamp_seconds":1790347709,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90a0a48"} 
[2026-09-25 20:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:19:59] 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-25 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 20:19: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-25 20:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329008128001,"66":12461,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329008128001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329008128001,"power":12461,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:19:59] 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":897343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:19:59] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:19:59] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:03] local.INFO: TCP Data received {"connection_id":195407,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:03] local.INFO: Processing buffer {"connection_id":195407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:03] local.INFO: Packet analysis {"connection_id":195407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:20:03] local.INFO: Extracted packet for processing {"connection_id":195407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20: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-25 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:20: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-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":195407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:20:03] local.INFO: GPS data processed {"connection_id":195407,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:20:03] local.INFO: Acknowledgment sent {"connection_id":195407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:18] local.INFO: TCP Data received {"connection_id":194074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:18] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:18] local.INFO: IMEI packet received {"connection_id":194074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":194074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:20:22] local.INFO: TCP Data received {"connection_id":194074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:22] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:20:22] local.INFO: IMEI packet received {"connection_id":194074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":194074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:20:23] local.INFO: TCP Data received {"connection_id":194074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:23] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:23] local.INFO: Packet analysis {"connection_id":194074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:20:23] local.INFO: Extracted packet for processing {"connection_id":194074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:23] 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-25 20:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20: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-25 20:20:23] 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-25 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:20: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-25 20: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-25 20: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-25 20:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:20:23] 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":897345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:20:23] local.INFO: GPS data processed {"connection_id":194074,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:20:23] local.INFO: Acknowledgment sent {"connection_id":194074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:24] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:24] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:24] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:20:29] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:29] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:20:29] local.INFO: IMEI packet received {"connection_id":192534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:20:30] local.INFO: TCP Data received {"connection_id":192532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90a5c50012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90a5c50012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:30] local.INFO: Processing buffer {"connection_id":192532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90a5c50012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:30] local.INFO: Packet analysis {"connection_id":192532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:20:30] local.INFO: Extracted packet for processing {"connection_id":192532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329013504001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347730000,"timestamp_ms":1790347730000,"timestamp_seconds":1790347730,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90a5c50"} 
[2026-09-25 20:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:20: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-25 20:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 20:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329013504001,"66":12439,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329013504001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329013504001,"power":12439,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:20:31] 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":897346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:20:31] local.INFO: GPS data processed {"connection_id":192532,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:20:31] local.INFO: Acknowledgment sent {"connection_id":192532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:31] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:31] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:20:31] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:20:31] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20: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-25 20:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20: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-25 20:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20: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-25 20: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-25 20:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:20: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-25 20:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:20:31] 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":897347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:20:31] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:20:31] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:51] local.INFO: TCP Data received {"connection_id":195408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:51] local.INFO: Processing buffer {"connection_id":195408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:51] local.INFO: IMEI packet received {"connection_id":195408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":195408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:20:54] local.INFO: TCP Data received {"connection_id":195408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:54] local.INFO: Processing buffer {"connection_id":195408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:54] local.INFO: IMEI packet received {"connection_id":195408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":195408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:20:54] local.INFO: TCP Data received {"connection_id":194074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:54] local.INFO: Processing buffer {"connection_id":194074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:20:54] local.INFO: Packet analysis {"connection_id":194074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:20:54] local.INFO: Extracted packet for processing {"connection_id":194074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:54] 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-25 20:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20: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-25 20:20:54] 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-25 20: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:20:54] 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-25 20: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-25 20: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-25 20:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:20:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:20:55] 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":897348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:20:55] local.INFO: GPS data processed {"connection_id":194074,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:20:55] local.INFO: Acknowledgment sent {"connection_id":194074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:20:59] local.INFO: TCP Data received {"connection_id":195408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:59] local.INFO: Processing buffer {"connection_id":195408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:20:59] local.INFO: IMEI packet received {"connection_id":195408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":195408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:20:59] local.INFO: TCP Data received {"connection_id":195408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90aae58012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90aae58012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:59] local.INFO: Processing buffer {"connection_id":195408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90aae58012d16a84007201fb00027005d29..."} 
[2026-09-25 20:20:59] local.INFO: Packet analysis {"connection_id":195408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:20:59] local.INFO: Extracted packet for processing {"connection_id":195408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90a"} 
[2026-09-25 20:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329018880001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347751000,"timestamp_ms":1790347751000,"timestamp_seconds":1790347751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90aae58"} 
[2026-09-25 20:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:20:59] 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-25 20:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:20:59] 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-25 20:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329018880001,"66":12428,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329018880001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329018880001,"power":12428,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":195408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:00] local.INFO: GPS data processed {"connection_id":195408,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:00] local.INFO: Acknowledgment sent {"connection_id":195408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:03] local.INFO: TCP Data received {"connection_id":192534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:03] local.INFO: Processing buffer {"connection_id":192534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:03] local.INFO: Packet analysis {"connection_id":192534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:21:03] local.INFO: Extracted packet for processing {"connection_id":192534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21: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-25 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:21: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-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:21:03] 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":897350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:03] local.INFO: GPS data processed {"connection_id":192534,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:03] local.INFO: Acknowledgment sent {"connection_id":192534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:17] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:17] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:17] local.INFO: IMEI packet received {"connection_id":192694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":192694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:21:22] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:22] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:21:22] local.INFO: IMEI packet received {"connection_id":192694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":192694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:21:23] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:23] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:23] local.INFO: Packet analysis {"connection_id":192694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:21:23] local.INFO: Extracted packet for processing {"connection_id":192694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:23] 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-25 20:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:23] 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-25 20:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:21: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-25 20:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:21:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":192694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:23] local.INFO: GPS data processed {"connection_id":192694,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:23] local.INFO: Acknowledgment sent {"connection_id":192694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:24] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:24] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:24] local.INFO: IMEI packet received {"connection_id":194075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":194075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:21:29] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:29] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:21:29] local.INFO: IMEI packet received {"connection_id":194075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":194075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:21:31] local.INFO: TCP Data received {"connection_id":195408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90b0060012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90b0060012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:31] local.INFO: Processing buffer {"connection_id":195408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90b0060012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:31] local.INFO: Packet analysis {"connection_id":195408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:21:31] local.INFO: Extracted packet for processing {"connection_id":195408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329024256001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347772000,"timestamp_ms":1790347772000,"timestamp_seconds":1790347772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90b0060"} 
[2026-09-25 20:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 20:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329024256001,"66":12385,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329024256001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329024256001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":195408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:31] local.INFO: GPS data processed {"connection_id":195408,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:31] local.INFO: Acknowledgment sent {"connection_id":195408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:31] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:31] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d907d7c8012d34c14006aa49080000006e2a..."} 
[2026-09-25 20:21:31] local.INFO: Packet analysis {"connection_id":194075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:21:31] local.INFO: Extracted packet for processing {"connection_id":194075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d907"} 
[2026-09-25 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328899584001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21: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-25 20:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347565000,"timestamp_ms":1790347565000,"timestamp_seconds":1790347565,"priority":1,"record_length":96,"hex_timestamp":"000001a0d907d7c8"} 
[2026-09-25 20:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:21: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-25 20:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328899584001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328899584001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:21: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-25 20:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328899584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:21:31] 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":897353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:31] local.INFO: GPS data processed {"connection_id":194075,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:31] local.INFO: Acknowledgment sent {"connection_id":194075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:54] local.INFO: TCP Data received {"connection_id":195409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: Processing buffer {"connection_id":195409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: IMEI packet received {"connection_id":195409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":195409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:21:54] local.INFO: TCP Data received {"connection_id":195409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: Processing buffer {"connection_id":195409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:54] local.INFO: IMEI packet received {"connection_id":195409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":195409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:21:54] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:54] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:21:54] local.INFO: Packet analysis {"connection_id":192694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:21:54] local.INFO: Extracted packet for processing {"connection_id":192694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:54] 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-25 20:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:54] 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-25 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:21:54] 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-25 20:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":192694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:55] local.INFO: GPS data processed {"connection_id":192694,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:55] local.INFO: Acknowledgment sent {"connection_id":192694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:21:59] local.INFO: TCP Data received {"connection_id":195409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:59] local.INFO: Processing buffer {"connection_id":195409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:21:59] local.INFO: IMEI packet received {"connection_id":195409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":195409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:21:59] local.INFO: TCP Data received {"connection_id":195409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90b5268012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90b5268012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:59] local.INFO: Processing buffer {"connection_id":195409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90b5268012d16a84007201fb00027005d28..."} 
[2026-09-25 20:21:59] local.INFO: Packet analysis {"connection_id":195409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:21:59] local.INFO: Extracted packet for processing {"connection_id":195409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329029632001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347793000,"timestamp_ms":1790347793000,"timestamp_seconds":1790347793,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90b5268"} 
[2026-09-25 20:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:21:59] 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-25 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:21:59] 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-25 20:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329029632001,"66":12341,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329029632001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329029632001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":195409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:21:59] local.INFO: GPS data processed {"connection_id":195409,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:21:59] local.INFO: Acknowledgment sent {"connection_id":195409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:02] local.INFO: TCP Data received {"connection_id":194075,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:02] local.INFO: Processing buffer {"connection_id":194075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:02] local.INFO: Packet analysis {"connection_id":194075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:02] local.INFO: Extracted packet for processing {"connection_id":194075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22: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-25 20:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22: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-25 20:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:22: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-25 20:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:22:02] 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":897356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:02] local.INFO: GPS data processed {"connection_id":194075,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:02] local.INFO: Acknowledgment sent {"connection_id":194075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:17] local.INFO: TCP Data received {"connection_id":195411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:17] local.INFO: Processing buffer {"connection_id":195411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:17] local.INFO: IMEI packet received {"connection_id":195411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":195411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:22:22] local.INFO: TCP Data received {"connection_id":195411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:22] local.INFO: Processing buffer {"connection_id":195411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:22:22] local.INFO: IMEI packet received {"connection_id":195411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":195411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:22:24] local.INFO: TCP Data received {"connection_id":195411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:24] local.INFO: Processing buffer {"connection_id":195411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:24] local.INFO: Packet analysis {"connection_id":195411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:22:24] local.INFO: Extracted packet for processing {"connection_id":195411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:24] 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-25 20:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22:24] 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-25 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:24] 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-25 20:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:22:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":195411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:24] local.INFO: GPS data processed {"connection_id":195411,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:24] local.INFO: Acknowledgment sent {"connection_id":195411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:30] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:30] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:30] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:22:31] local.INFO: TCP Data received {"connection_id":195409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90ba470012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90ba470012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:31] local.INFO: Processing buffer {"connection_id":195409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90ba470012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:31] local.INFO: Packet analysis {"connection_id":195409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:22:31] local.INFO: Extracted packet for processing {"connection_id":195409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329035008001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347814000,"timestamp_ms":1790347814000,"timestamp_seconds":1790347814,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90ba470"} 
[2026-09-25 20:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329035008001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329035008001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329035008001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":195409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:31] local.INFO: GPS data processed {"connection_id":195409,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:31] local.INFO: Acknowledgment sent {"connection_id":195409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:35] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:35] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:22:35] local.INFO: IMEI packet received {"connection_id":192535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":192535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:22:37] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:37] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:37] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:37] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22: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-25 20:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:22: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-25 20:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:22:37] 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":897359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:37] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:37] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:41] local.INFO: TCP Data received {"connection_id":192535,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:41] local.INFO: Processing buffer {"connection_id":192535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:22:41] local.INFO: Packet analysis {"connection_id":192535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:41] local.INFO: Extracted packet for processing {"connection_id":192535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20: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-25 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:22: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-25 20:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:22:41] 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":897360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:41] local.INFO: GPS data processed {"connection_id":192535,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:41] local.INFO: Acknowledgment sent {"connection_id":192535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:53] local.INFO: TCP Data received {"connection_id":195412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:53] local.INFO: Processing buffer {"connection_id":195412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:53] local.INFO: IMEI packet received {"connection_id":195412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":195412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:22:55] local.INFO: TCP Data received {"connection_id":195411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:55] local.INFO: Processing buffer {"connection_id":195411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d909e338012d0b10c007029f100000013d1e..."} 
[2026-09-25 20:22:55] local.INFO: Packet analysis {"connection_id":195411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:22:55] local.INFO: Extracted packet for processing {"connection_id":195411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d909"} 
[2026-09-25 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":0,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328933888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:55] 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-25 20:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790347699000,"timestamp_ms":1790347699000,"timestamp_seconds":1790347699,"priority":1,"record_length":96,"hex_timestamp":"000001a0d909e338"} 
[2026-09-25 20:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22: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-25 20:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:22: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-25 20:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328933888001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328933888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328933888001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":195411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:55] local.INFO: GPS data processed {"connection_id":195411,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:55] local.INFO: Acknowledgment sent {"connection_id":195411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:22:58] local.INFO: TCP Data received {"connection_id":195412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:58] local.INFO: Processing buffer {"connection_id":195412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:22:58] local.INFO: IMEI packet received {"connection_id":195412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":195412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:22:58] local.INFO: TCP Data received {"connection_id":195412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90bf678012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90bf678012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:58] local.INFO: Processing buffer {"connection_id":195412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90bf678012d16a84007201fb00027005d29..."} 
[2026-09-25 20:22:58] local.INFO: Packet analysis {"connection_id":195412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:22:58] local.INFO: Extracted packet for processing {"connection_id":195412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90b"} 
[2026-09-25 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329040384001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790347835000,"timestamp_ms":1790347835000,"timestamp_seconds":1790347835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90bf678"} 
[2026-09-25 20:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:22:58] 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-25 20:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329040384001,"66":12298,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329040384001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329040384001,"power":12298,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":195412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:22:59] local.INFO: GPS data processed {"connection_id":195412,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:22:59] local.INFO: Acknowledgment sent {"connection_id":195412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:23:21] local.INFO: TCP Data received {"connection_id":194076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:21] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:21] local.INFO: IMEI packet received {"connection_id":194076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":194076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:23:22] local.INFO: TCP Data received {"connection_id":194076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:22] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:22] local.INFO: IMEI packet received {"connection_id":194076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":194076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:23:23] local.INFO: TCP Data received {"connection_id":195413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:23:23] local.INFO: Processing buffer {"connection_id":195413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:23:23] local.INFO: IMEI packet received {"connection_id":195413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":195413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:23:25] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:25] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:25] local.INFO: IMEI packet received {"connection_id":192536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":192536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:23:27] local.INFO: TCP Data received {"connection_id":194076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:27] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:23:27] local.INFO: IMEI packet received {"connection_id":194076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":194076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:23:28] local.INFO: TCP Data received {"connection_id":194076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:23:28] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:23:28] local.INFO: Packet analysis {"connection_id":194076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:23:28] local.INFO: Extracted packet for processing {"connection_id":194076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:23: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-25 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:28] 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-25 20:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:23: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:23:28] 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-25 20:23: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-25 20:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:23:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:23:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:23:28] 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":897363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:23:28] local.INFO: GPS data processed {"connection_id":194076,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:23:28] local.INFO: Acknowledgment sent {"connection_id":194076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:23:29] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:29] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:23:29] local.INFO: IMEI packet received {"connection_id":192536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:23:30] local.INFO: TCP Data received {"connection_id":195412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c4880012d16a84007201fb00027005d27..."} 
[2026-09-25 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c4880012d16a84007201fb00027005d27..."} 
[2026-09-25 20:23:30] local.INFO: Processing buffer {"connection_id":195412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c4880012d16a84007201fb00027005d27..."} 
[2026-09-25 20:23:30] local.INFO: Packet analysis {"connection_id":195412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:30] local.INFO: Extracted packet for processing {"connection_id":195412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329045760001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347856000,"timestamp_ms":1790347856000,"timestamp_seconds":1790347856,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c4880"} 
[2026-09-25 20: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-25 20:23: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-25 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185682,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-2807510307651643736,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513445198297497693,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":39,"raw_value":26220053787574272,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567043735758,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783955662,"corrected_to":0} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2533412202,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,85,83,24,241,157,16,108,160,164,45,64,31,39,41,10,66,82,40,1,240,97,227,217,32,4,113,205,92,168,176,239,48,2,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1783955662,"validated":0}]} 
[2026-09-25 20:23:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810348598154231808,"timestamp_seconds":2810348598154232.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20: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-25 20:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329045760001,"66":12319,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329045760001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329045760001,"power":12319,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":195412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:23:30] local.INFO: GPS data processed {"connection_id":195412,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:23:30] local.INFO: Acknowledgment sent {"connection_id":195412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:23:30] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:30] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:30] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:30] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20: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-25 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20: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-25 20: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-25 20:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:23:30] 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":897365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:23:30] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:23:30] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:23:35] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:35] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:23:35] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:35] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:23: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-25 20:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:23:35] 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":897366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:23:35] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:23:35] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:23:53] local.INFO: TCP Data received {"connection_id":195414,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:53] local.INFO: Processing buffer {"connection_id":195414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:53] local.INFO: IMEI packet received {"connection_id":195414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":195414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:23:59] local.INFO: TCP Data received {"connection_id":195414,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:59] local.INFO: Processing buffer {"connection_id":195414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:23:59] local.INFO: IMEI packet received {"connection_id":195414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":195414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:23:59] local.INFO: TCP Data received {"connection_id":195414,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c9a88012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c9a88012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:23:59] local.INFO: Processing buffer {"connection_id":195414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c9a88012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:23:59] local.INFO: Packet analysis {"connection_id":195414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:59] local.INFO: Extracted packet for processing {"connection_id":195414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329051136001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347877000,"timestamp_ms":1790347877000,"timestamp_seconds":1790347877,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c9a88"} 
[2026-09-25 20:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:23:59] 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-25 20:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-25 20:23:59] 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-25 20:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329051136001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329051136001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329051136001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":195414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:23:59] local.INFO: GPS data processed {"connection_id":195414,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:23:59] local.INFO: Acknowledgment sent {"connection_id":195414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:00] local.INFO: TCP Data received {"connection_id":194076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:00] local.INFO: Processing buffer {"connection_id":194076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:00] local.INFO: Packet analysis {"connection_id":194076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:00] local.INFO: Extracted packet for processing {"connection_id":194076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:00] 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-25 20:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:24: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-25 20:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:00] 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-25 20:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:24:00] 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":897368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:00] local.INFO: GPS data processed {"connection_id":194076,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:00] local.INFO: Acknowledgment sent {"connection_id":194076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:03] local.INFO: TCP Data received {"connection_id":192537,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:24:03] local.INFO: Processing buffer {"connection_id":192537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:24:03] local.INFO: IMEI packet received {"connection_id":192537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":192537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:24:07] local.INFO: TCP Data received {"connection_id":192536,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:07] local.INFO: Processing buffer {"connection_id":192536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:07] local.INFO: Packet analysis {"connection_id":192536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:07] local.INFO: Extracted packet for processing {"connection_id":192536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20: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-25 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:24: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-25 20:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:24:07] 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":897369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:07] local.INFO: GPS data processed {"connection_id":192536,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:07] local.INFO: Acknowledgment sent {"connection_id":192536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:22] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:22] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:22] local.INFO: IMEI packet received {"connection_id":192695,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":192695,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:24:24] local.INFO: TCP Data received {"connection_id":192696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:24] local.INFO: Processing buffer {"connection_id":192696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:24] local.INFO: IMEI packet received {"connection_id":192696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":192696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:24:27] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:27] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:24:27] local.INFO: IMEI packet received {"connection_id":192695,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":192695,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:24:28] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:28] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:28] local.INFO: Packet analysis {"connection_id":192695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:28] local.INFO: Extracted packet for processing {"connection_id":192695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:28] 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-25 20:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20: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-25 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:28] 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-25 20:24: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-25 20: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-25 20:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:24:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:24:28] 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":897370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:28] local.INFO: GPS data processed {"connection_id":192695,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:28] local.INFO: Acknowledgment sent {"connection_id":192695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:29] local.INFO: TCP Data received {"connection_id":192696,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:29] local.INFO: Processing buffer {"connection_id":192696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:24:29] local.INFO: IMEI packet received {"connection_id":192696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":192696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:24:30] local.INFO: TCP Data received {"connection_id":192696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:30] local.INFO: Processing buffer {"connection_id":192696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:24:30] local.INFO: Packet analysis {"connection_id":192696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:30] local.INFO: Extracted packet for processing {"connection_id":192696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:24:30] local.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-25 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":192696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:30] local.INFO: GPS data processed {"connection_id":192696,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:30] local.INFO: Acknowledgment sent {"connection_id":192696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:30] local.INFO: TCP Data received {"connection_id":195414,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90cec90012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90cec90012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:24:30] local.INFO: Processing buffer {"connection_id":195414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90cec90012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:24:30] local.INFO: Packet analysis {"connection_id":195414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:30] local.INFO: Extracted packet for processing {"connection_id":195414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329056512001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790347898000,"timestamp_ms":1790347898000,"timestamp_seconds":1790347898,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90cec90"} 
[2026-09-25 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:24: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-25 20:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:30] 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-25 20:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329056512001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329056512001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329056512001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":195414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:31] local.INFO: GPS data processed {"connection_id":195414,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:31] local.INFO: Acknowledgment sent {"connection_id":195414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:33] local.INFO: TCP Data received {"connection_id":192695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:33] local.INFO: Processing buffer {"connection_id":192695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:24:33] local.INFO: Packet analysis {"connection_id":192695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:33] local.INFO: Extracted packet for processing {"connection_id":192695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:24:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:24:33] 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-25 20:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20: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-25 20:24:33] 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-25 20: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:24:33] 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-25 20: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-25 20: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-25 20:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192695,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:24:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:24:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:24:33] 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":897373,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:24:33] local.INFO: GPS data processed {"connection_id":192695,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:24:33] local.INFO: Acknowledgment sent {"connection_id":192695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:24:59] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:24:59] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:24:59] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:25:02] local.INFO: TCP Data received {"connection_id":192696,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:02] local.INFO: Processing buffer {"connection_id":192696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:02] local.INFO: Packet analysis {"connection_id":192696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:25:02] local.INFO: Extracted packet for processing {"connection_id":192696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25: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-25 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:25:02] local.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-25 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:25: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-25 20:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":192696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:02] local.INFO: GPS data processed {"connection_id":192696,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:02] local.INFO: Acknowledgment sent {"connection_id":192696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:03] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:03] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:03] local.INFO: IMEI packet received {"connection_id":192538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":192538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:25:04] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90d3e98012d16a84007201fb00027005d2b..."} 
[2026-09-25 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90d3e98012d16a84007201fb00027005d2b..."} 
[2026-09-25 20:25:04] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90d3e98012d16a84007201fb00027005d2b..."} 
[2026-09-25 20:25:04] local.INFO: Packet analysis {"connection_id":192538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:04] local.INFO: Extracted packet for processing {"connection_id":192538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329061888001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790347919000,"timestamp_ms":1790347919000,"timestamp_seconds":1790347919,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90d3e98"} 
[2026-09-25 20:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:25:04] 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-25 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:04] 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-25 20:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329061888001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329061888001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329061888001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":192538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:04] local.INFO: GPS data processed {"connection_id":192538,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:04] local.INFO: Acknowledgment sent {"connection_id":192538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:05] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90d90a0012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90d90a0012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:05] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90d90a0012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:05] local.INFO: Packet analysis {"connection_id":192538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:05] local.INFO: Extracted packet for processing {"connection_id":192538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329067264001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790347940000,"timestamp_ms":1790347940000,"timestamp_seconds":1790347940,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90d90a0"} 
[2026-09-25 20: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-25 20:25:05] 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-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:05] 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-25 20: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-25 20: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-25 20:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329067264001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329067264001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329067264001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":192538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:05] local.INFO: GPS data processed {"connection_id":192538,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:05] local.INFO: Acknowledgment sent {"connection_id":192538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:17] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:17] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:17] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:25:22] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:22] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:25:22] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:25:23] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:23] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:23] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:23] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:23] 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-25 20:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20: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-25 20:25:23] 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-25 20: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-25 20: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-25 20: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-25 20: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-25 20:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:25:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:25:23] 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":897377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:23] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:23] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:25] local.INFO: TCP Data received {"connection_id":195415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:25] local.INFO: Processing buffer {"connection_id":195415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:25] local.INFO: IMEI packet received {"connection_id":195415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":195415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:25:29] local.INFO: TCP Data received {"connection_id":195415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:29] local.INFO: Processing buffer {"connection_id":195415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:25:29] local.INFO: IMEI packet received {"connection_id":195415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":195415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:25:31] local.INFO: TCP Data received {"connection_id":195415,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:31] local.INFO: Processing buffer {"connection_id":195415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:25:31] local.INFO: Packet analysis {"connection_id":195415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:25:31] local.INFO: Extracted packet for processing {"connection_id":195415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25: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-25 20:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20: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-25 20:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20: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-25 20: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-25 20:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:25:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:25: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-25 20:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":195415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:31] local.INFO: GPS data processed {"connection_id":195415,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:31] local.INFO: Acknowledgment sent {"connection_id":195415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:36] local.INFO: TCP Data received {"connection_id":192538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90de2a8012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90de2a8012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:36] local.INFO: Processing buffer {"connection_id":192538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90de2a8012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:25:36] local.INFO: Packet analysis {"connection_id":192538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:36] local.INFO: Extracted packet for processing {"connection_id":192538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90d"} 
[2026-09-25 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329072640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790347961000,"timestamp_ms":1790347961000,"timestamp_seconds":1790347961,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90de2a8"} 
[2026-09-25 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:25:36] 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-25 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:36] 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-25 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329072640001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329072640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329072640001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":192538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:36] local.INFO: GPS data processed {"connection_id":192538,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:36] local.INFO: Acknowledgment sent {"connection_id":192538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:54] local.INFO: TCP Data received {"connection_id":195416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:54] local.INFO: Processing buffer {"connection_id":195416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:54] local.INFO: IMEI packet received {"connection_id":195416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":195416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:25:55] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:55] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:25:55] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:55] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:55] 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-25 20:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20: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-25 20:25: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-25 20: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:25: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-25 20: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-25 20: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-25 20:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:25:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:25:55] 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":897380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:55] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:55] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:25:59] local.INFO: TCP Data received {"connection_id":195416,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:59] local.INFO: Processing buffer {"connection_id":195416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:25:59] local.INFO: IMEI packet received {"connection_id":195416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":195416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:25:59] local.INFO: TCP Data received {"connection_id":195416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e34b0012d16a84007201fb00027005d28..."} 
[2026-09-25 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e34b0012d16a84007201fb00027005d28..."} 
[2026-09-25 20:25:59] local.INFO: Processing buffer {"connection_id":195416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e34b0012d16a84007201fb00027005d28..."} 
[2026-09-25 20:25:59] local.INFO: Packet analysis {"connection_id":195416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:59] local.INFO: Extracted packet for processing {"connection_id":195416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329078016001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790347982000,"timestamp_ms":1790347982000,"timestamp_seconds":1790347982,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e34b0"} 
[2026-09-25 20:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:25:59] 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-25 20:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:25:59] 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-25 20:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329078016001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329078016001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329078016001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":195416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:25:59] local.INFO: GPS data processed {"connection_id":195416,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:25:59] local.INFO: Acknowledgment sent {"connection_id":195416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:02] local.INFO: TCP Data received {"connection_id":195415,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:02] local.INFO: Processing buffer {"connection_id":195415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:02] local.INFO: Packet analysis {"connection_id":195415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:26:02] local.INFO: Extracted packet for processing {"connection_id":195415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26: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-25 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:26: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-25 20:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":195415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:02] local.INFO: GPS data processed {"connection_id":195415,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:02] local.INFO: Acknowledgment sent {"connection_id":195415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:18] local.INFO: TCP Data received {"connection_id":192698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:18] local.INFO: Processing buffer {"connection_id":192698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:18] local.INFO: IMEI packet received {"connection_id":192698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":192698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:26:22] local.INFO: TCP Data received {"connection_id":192698,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192698,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:22] local.INFO: Processing buffer {"connection_id":192698,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:26:22] local.INFO: IMEI packet received {"connection_id":192698,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":192698,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:26:23] local.INFO: TCP Data received {"connection_id":192698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:23] local.INFO: Processing buffer {"connection_id":192698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:23] local.INFO: Packet analysis {"connection_id":192698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:23] local.INFO: Extracted packet for processing {"connection_id":192698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:23] 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-25 20:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20: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-25 20:26:23] 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-25 20: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-25 20: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-25 20: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-25 20: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-25 20:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:26:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":192698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:24] local.INFO: GPS data processed {"connection_id":192698,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:24] local.INFO: Acknowledgment sent {"connection_id":192698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:24] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:24] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:24] local.INFO: IMEI packet received {"connection_id":194077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":194077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:26:29] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:29] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:26:29] local.INFO: IMEI packet received {"connection_id":194077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":194077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:26:30] local.INFO: TCP Data received {"connection_id":195416,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e86b8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e86b8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:30] local.INFO: Processing buffer {"connection_id":195416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e86b8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:30] local.INFO: Packet analysis {"connection_id":195416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:30] local.INFO: Extracted packet for processing {"connection_id":195416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329083392001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348003000,"timestamp_ms":1790348003000,"timestamp_seconds":1790348003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e86b8"} 
[2026-09-25 20:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:26: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-25 20:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:26:30] 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-25 20:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329083392001,"66":12232,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329083392001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329083392001,"power":12232,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:26:31] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:31] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90c6f90012d34c14006aa49080000006e2b..."} 
[2026-09-25 20:26:31] local.INFO: Packet analysis {"connection_id":194077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:26:31] local.INFO: Extracted packet for processing {"connection_id":194077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90c"} 
[2026-09-25 20:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458328976640001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26: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-25 20:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790347866000,"timestamp_ms":1790347866000,"timestamp_seconds":1790347866,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90c6f90"} 
[2026-09-25 20:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458328976640001,"66":25495,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458328976640001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:26: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-25 20:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458328976640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:26:31] 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":897384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:31] local.INFO: GPS data processed {"connection_id":194077,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:31] local.INFO: Acknowledgment sent {"connection_id":194077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":195416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:31] local.INFO: GPS data processed {"connection_id":195416,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:31] local.INFO: Acknowledgment sent {"connection_id":195416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:54] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:54] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:54] local.INFO: IMEI packet received {"connection_id":192540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":192540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:26:54] local.INFO: TCP Data received {"connection_id":192698,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:54] local.INFO: Processing buffer {"connection_id":192698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:26:54] local.INFO: Packet analysis {"connection_id":192698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:54] local.INFO: Extracted packet for processing {"connection_id":192698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:26: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-25 20:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:54] 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-25 20:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:26:54] 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-25 20:26: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:26:54] 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-25 20:26: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-25 20:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192698,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:26:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":192698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:55] local.INFO: GPS data processed {"connection_id":192698,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:55] local.INFO: Acknowledgment sent {"connection_id":192698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:26:59] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:59] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:26:59] local.INFO: IMEI packet received {"connection_id":192540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":192540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:26:59] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90ed8c0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90ed8c0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:59] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90ed8c0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:26:59] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:59] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088768001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348024000,"timestamp_ms":1790348024000,"timestamp_seconds":1790348024,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90ed8c0"} 
[2026-09-25 20:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:26:59] 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-25 20:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 20:26:59] 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-25 20:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088768001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088768001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088768001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:26:59] 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":897387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:26:59] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:26:59] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:03] local.INFO: TCP Data received {"connection_id":194077,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:03] local.INFO: Processing buffer {"connection_id":194077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:03] local.INFO: Packet analysis {"connection_id":194077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:27:03] local.INFO: Extracted packet for processing {"connection_id":194077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27: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-25 20:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:27: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-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:27:03] 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":897388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:03] local.INFO: GPS data processed {"connection_id":194077,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:03] local.INFO: Acknowledgment sent {"connection_id":194077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:17] local.INFO: TCP Data received {"connection_id":195419,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:17] local.INFO: Processing buffer {"connection_id":195419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:17] local.INFO: IMEI packet received {"connection_id":195419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":195419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:27:22] local.INFO: TCP Data received {"connection_id":195419,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:22] local.INFO: Processing buffer {"connection_id":195419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:27:22] local.INFO: IMEI packet received {"connection_id":195419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":195419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:27:23] local.INFO: TCP Data received {"connection_id":195419,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:23] local.INFO: Processing buffer {"connection_id":195419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:23] local.INFO: Packet analysis {"connection_id":195419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:27:23] local.INFO: Extracted packet for processing {"connection_id":195419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:27:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:23] 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-25 20:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:27:23] 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-25 20:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:27: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-25 20:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:27:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":195419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:23] local.INFO: GPS data processed {"connection_id":195419,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:23] local.INFO: Acknowledgment sent {"connection_id":195419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:24] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:24] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:24] local.INFO: IMEI packet received {"connection_id":192699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:27:30] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:30] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:27:30] local.INFO: IMEI packet received {"connection_id":192699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":192699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:27:30] local.INFO: TCP Data received {"connection_id":192540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90f2ac8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90f2ac8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:27:30] local.INFO: Processing buffer {"connection_id":192540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90f2ac8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:27:30] local.INFO: Packet analysis {"connection_id":192540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:27:30] local.INFO: Extracted packet for processing {"connection_id":192540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329094144001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348045000,"timestamp_ms":1790348045000,"timestamp_seconds":1790348045,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90f2ac8"} 
[2026-09-25 20:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:27: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-25 20:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:27:30] 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-25 20:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329094144001,"66":12232,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329094144001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329094144001,"power":12232,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:27:31] 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":897390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:31] local.INFO: GPS data processed {"connection_id":192540,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:31] local.INFO: Acknowledgment sent {"connection_id":192540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:31] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:31] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:27:31] local.INFO: Packet analysis {"connection_id":192699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:27:31] local.INFO: Extracted packet for processing {"connection_id":192699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27: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-25 20:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20: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-25 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:27:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:27: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-25 20:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:27:31] 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":897391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:31] local.INFO: GPS data processed {"connection_id":192699,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:31] local.INFO: Acknowledgment sent {"connection_id":192699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:51] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:51] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:51] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:27:54] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:54] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:54] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:27:57] local.INFO: TCP Data received {"connection_id":195419,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:57] local.INFO: Processing buffer {"connection_id":195419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90e7b00012d0b10c007029f10000c013d1e..."} 
[2026-09-25 20:27:57] local.INFO: Packet analysis {"connection_id":195419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:27:57] local.INFO: Extracted packet for processing {"connection_id":195419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90e"} 
[2026-09-25 20:27:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329010944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:57] 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-25 20:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790348000000,"timestamp_ms":1790348000000,"timestamp_seconds":1790348000,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90e7b00"} 
[2026-09-25 20:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:27:57] 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-25 20:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329010944001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329010944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:27:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329010944001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":195419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:57] local.INFO: GPS data processed {"connection_id":195419,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:57] local.INFO: Acknowledgment sent {"connection_id":195419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:27:59] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:59] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:27:59] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:27:59] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90f7cd0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90f7cd0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:27:59] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90f7cd0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:27:59] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:27:59] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329099520001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348066000,"timestamp_ms":1790348066000,"timestamp_seconds":1790348066,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90f7cd0"} 
[2026-09-25 20:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:27:59] 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-25 20:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-25 20:27:59] 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-25 20:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329099520001,"66":12254,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329099520001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329099520001,"power":12254,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:27:59] 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":897393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:27:59] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:27:59] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:04] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:04] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:04] local.INFO: Packet analysis {"connection_id":192699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:28:04] local.INFO: Extracted packet for processing {"connection_id":192699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28: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-25 20:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:28: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-25 20:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:28: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-25 20:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:28: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-25 20:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:28:04] 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":897394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:04] local.INFO: GPS data processed {"connection_id":192699,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:04] local.INFO: Acknowledgment sent {"connection_id":192699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:17] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:17] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:17] local.INFO: IMEI packet received {"connection_id":194078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":194078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:28:22] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:22] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:28:22] local.INFO: IMEI packet received {"connection_id":194078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":194078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:28:23] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:23] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:23] local.INFO: Packet analysis {"connection_id":194078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:28:23] local.INFO: Extracted packet for processing {"connection_id":194078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:23] 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-25 20:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28:23] 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-25 20:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:28: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-25 20:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:28:24] 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":897395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:24] local.INFO: GPS data processed {"connection_id":194078,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:24] local.INFO: Acknowledgment sent {"connection_id":194078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:24] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:24] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:24] local.INFO: IMEI packet received {"connection_id":194079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":194079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:28:29] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:29] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:28:29] local.INFO: IMEI packet received {"connection_id":194079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":194079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:28:30] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:30] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:28:30] local.INFO: Packet analysis {"connection_id":194079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:28:30] local.INFO: Extracted packet for processing {"connection_id":194079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:28:30] 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":897396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:30] local.INFO: GPS data processed {"connection_id":194079,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:30] local.INFO: Acknowledgment sent {"connection_id":194079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:30] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d90fced8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d90fced8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:28:30] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d90fced8012d16a84007201fb00027005d27..."} 
[2026-09-25 20:28:30] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:28:30] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d90f"} 
[2026-09-25 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":39,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329104896001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348087000,"timestamp_ms":1790348087000,"timestamp_seconds":1790348087,"priority":1,"record_length":96,"hex_timestamp":"000001a0d90fced8"} 
[2026-09-25 20:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28: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-25 20:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-25 20:28:30] 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-25 20:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329104896001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329104896001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329104896001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:28:31] 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":897397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:31] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:31] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:54] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: IMEI packet received {"connection_id":192701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":192701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:28:54] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:54] local.INFO: IMEI packet received {"connection_id":192701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":192701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:28:55] local.INFO: TCP Data received {"connection_id":194078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:55] local.INFO: Processing buffer {"connection_id":194078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:28:55] local.INFO: Packet analysis {"connection_id":194078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:28:55] local.INFO: Extracted packet for processing {"connection_id":194078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:55] 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-25 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28: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-25 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:28:55] 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-25 20:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:28:55] 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":897398,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:55] local.INFO: GPS data processed {"connection_id":194078,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:55] local.INFO: Acknowledgment sent {"connection_id":194078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:28:59] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:59] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:28:59] local.INFO: IMEI packet received {"connection_id":192701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":192701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:28:59] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91020e0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91020e0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:28:59] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91020e0012d16a84007201fb00027005d29..."} 
[2026-09-25 20:28:59] local.INFO: Packet analysis {"connection_id":192701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:28:59] local.INFO: Extracted packet for processing {"connection_id":192701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329110272001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348108000,"timestamp_ms":1790348108000,"timestamp_seconds":1790348108,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91020e0"} 
[2026-09-25 20:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:28:59] 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-25 20:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:28:59] 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-25 20:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329110272001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329110272001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329110272001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":192701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:28:59] local.INFO: GPS data processed {"connection_id":192701,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:28:59] local.INFO: Acknowledgment sent {"connection_id":192701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:02] local.INFO: TCP Data received {"connection_id":194079,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:02] local.INFO: Processing buffer {"connection_id":194079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:02] local.INFO: Packet analysis {"connection_id":194079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:29:02] local.INFO: Extracted packet for processing {"connection_id":194079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29: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-25 20:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:29:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:29: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-25 20:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:29:02] 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":897400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:02] local.INFO: GPS data processed {"connection_id":194079,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:02] local.INFO: Acknowledgment sent {"connection_id":194079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:17] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:17] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:17] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:29:22] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:22] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:29:22] local.INFO: IMEI packet received {"connection_id":192542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":192542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:29:23] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:23] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:23] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:29:23] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:29: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-25 20:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:23] 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-25 20:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:23] 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-25 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:29: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-25 20:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:29:23] 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":897401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:23] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:23] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:26] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:26] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:26] local.INFO: IMEI packet received {"connection_id":192543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":192543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:29:28] local.INFO: TCP Data received {"connection_id":195421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:29:28] local.INFO: Processing buffer {"connection_id":195421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:29:28] local.INFO: IMEI packet received {"connection_id":195421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":195421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:29:29] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:29] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:29:29] local.INFO: IMEI packet received {"connection_id":192543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:29:30] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:30] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:29:30] local.INFO: Packet analysis {"connection_id":192543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:29:30] local.INFO: Extracted packet for processing {"connection_id":192543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:29:30] local.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-25 20:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":192543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:31] local.INFO: GPS data processed {"connection_id":192543,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:31] local.INFO: Acknowledgment sent {"connection_id":192543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:31] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91072e8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91072e8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:29:31] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91072e8012d16a84007201fb00027005d29..."} 
[2026-09-25 20:29:31] local.INFO: Packet analysis {"connection_id":192701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:29:31] local.INFO: Extracted packet for processing {"connection_id":192701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329115648001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348129000,"timestamp_ms":1790348129000,"timestamp_seconds":1790348129,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91072e8"} 
[2026-09-25 20:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:31] 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-25 20:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:29:31] 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-25 20:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329115648001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329115648001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329115648001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":192701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:31] local.INFO: GPS data processed {"connection_id":192701,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:31] local.INFO: Acknowledgment sent {"connection_id":192701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:53] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:53] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:53] local.INFO: IMEI packet received {"connection_id":195422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":195422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:29:54] local.INFO: TCP Data received {"connection_id":192542,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:54] local.INFO: Processing buffer {"connection_id":192542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:29:54] local.INFO: Packet analysis {"connection_id":192542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:29:54] local.INFO: Extracted packet for processing {"connection_id":192542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:54] 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-25 20:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:54] 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-25 20:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:29:54] 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-25 20:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:29:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:29:55] 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":897404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:55] local.INFO: GPS data processed {"connection_id":192542,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:55] local.INFO: Acknowledgment sent {"connection_id":192542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:29:58] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: IMEI packet received {"connection_id":195422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":195422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:29:58] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:29:58] local.INFO: IMEI packet received {"connection_id":195422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":195422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:29:59] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d910c4f0012d16a84007201fb00027005d26..."} 
[2026-09-25 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d910c4f0012d16a84007201fb00027005d26..."} 
[2026-09-25 20:29:59] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d910c4f0012d16a84007201fb00027005d26..."} 
[2026-09-25 20:29:59] local.INFO: Packet analysis {"connection_id":195422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:29:59] local.INFO: Extracted packet for processing {"connection_id":195422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d910"} 
[2026-09-25 20:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329121024001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348150000,"timestamp_ms":1790348150000,"timestamp_seconds":1790348150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d910c4f0"} 
[2026-09-25 20:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:29:59] 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-25 20:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:29:59] 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-25 20:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329121024001,"66":12254,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329121024001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329121024001,"power":12254,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":195422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:29:59] local.INFO: GPS data processed {"connection_id":195422,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:29:59] local.INFO: Acknowledgment sent {"connection_id":195422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:02] local.INFO: TCP Data received {"connection_id":192543,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:02] local.INFO: Processing buffer {"connection_id":192543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:02] local.INFO: Packet analysis {"connection_id":192543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:02] local.INFO: Extracted packet for processing {"connection_id":192543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30: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-25 20:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:30: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-25 20:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":192543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:02] local.INFO: GPS data processed {"connection_id":192543,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:02] local.INFO: Acknowledgment sent {"connection_id":192543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:03] local.INFO: TCP Data received {"connection_id":194080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:30:03] local.INFO: Processing buffer {"connection_id":194080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:30:03] local.INFO: IMEI packet received {"connection_id":194080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":194080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:30:04] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91116f8012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91116f8012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:04] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91116f8012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:04] local.INFO: Packet analysis {"connection_id":195422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:04] local.INFO: Extracted packet for processing {"connection_id":195422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329126400001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790348171000,"timestamp_ms":1790348171000,"timestamp_seconds":1790348171,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91116f8"} 
[2026-09-25 20: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-25 20:30:04] 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-25 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-25 20:30:04] 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-25 20: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-25 20: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-25 20:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329126400001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329126400001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329126400001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":195422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:04] local.INFO: GPS data processed {"connection_id":195422,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:04] local.INFO: Acknowledgment sent {"connection_id":195422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:17] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:17] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:17] local.INFO: IMEI packet received {"connection_id":194081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":194081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:30:22] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:22] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:30:22] local.INFO: IMEI packet received {"connection_id":194081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":194081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:30:23] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:23] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:23] local.INFO: Packet analysis {"connection_id":194081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:30:23] local.INFO: Extracted packet for processing {"connection_id":194081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:23] 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-25 20:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:30:23] 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-25 20:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:30: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-25 20:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:30:23] 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":897408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:23] local.INFO: GPS data processed {"connection_id":194081,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:23] local.INFO: Acknowledgment sent {"connection_id":194081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:24] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:24] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:24] local.INFO: IMEI packet received {"connection_id":194082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":194082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:30:29] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:29] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:30:29] local.INFO: IMEI packet received {"connection_id":194082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":194082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:30:31] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:31] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:30:31] local.INFO: Packet analysis {"connection_id":194082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:31] local.INFO: Extracted packet for processing {"connection_id":194082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30: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-25 20:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20: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-25 20:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:30:31] 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-25 20:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:30: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-25 20:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:30:31] 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":897409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:31] local.INFO: GPS data processed {"connection_id":194082,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:31] local.INFO: Acknowledgment sent {"connection_id":194082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:35] local.INFO: TCP Data received {"connection_id":195422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9116900012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9116900012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:35] local.INFO: Processing buffer {"connection_id":195422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9116900012d16a84007201fb00027005d26..."} 
[2026-09-25 20:30:35] local.INFO: Packet analysis {"connection_id":195422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:35] local.INFO: Extracted packet for processing {"connection_id":195422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329131776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790348192000,"timestamp_ms":1790348192000,"timestamp_seconds":1790348192,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9116900"} 
[2026-09-25 20: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-25 20:30:35] 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-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:30:35] 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-25 20: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-25 20: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-25 20:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329131776001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329131776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329131776001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":195422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:35] local.INFO: GPS data processed {"connection_id":195422,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:35] local.INFO: Acknowledgment sent {"connection_id":195422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:55] local.INFO: TCP Data received {"connection_id":194081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:55] local.INFO: Processing buffer {"connection_id":194081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:30:55] local.INFO: Packet analysis {"connection_id":194081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:30:55] local.INFO: Extracted packet for processing {"connection_id":194081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:30: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-25 20:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:30:55] 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-25 20:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:30: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-25 20:30: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:30:55] 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-25 20:30: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-25 20:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:30:55] 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":897411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:30:55] local.INFO: GPS data processed {"connection_id":194081,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:30:55] local.INFO: Acknowledgment sent {"connection_id":194081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:30:59] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:30:59] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:30:59] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:31:01] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:01] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:01] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:02] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d911bb08012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d911bb08012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:02] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d911bb08012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:02] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:02] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329137152001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348213000,"timestamp_ms":1790348213000,"timestamp_seconds":1790348213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d911bb08"} 
[2026-09-25 20:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:31:02] 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-25 20:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:02] 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-25 20:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329137152001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329137152001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329137152001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:31:02] 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":897412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:02] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:02] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:03] local.INFO: TCP Data received {"connection_id":194082,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:03] local.INFO: Processing buffer {"connection_id":194082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:03] local.INFO: Packet analysis {"connection_id":194082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:03] local.INFO: Extracted packet for processing {"connection_id":194082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31: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-25 20:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:31:03] 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-25 20:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:31: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-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:31:03] 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":897413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:03] local.INFO: GPS data processed {"connection_id":194082,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:03] local.INFO: Acknowledgment sent {"connection_id":194082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:04] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9120d10012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9120d10012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:04] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9120d10012d16a84007201fb00027005d2a..."} 
[2026-09-25 20:31:04] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d912"} 
[2026-09-25 20:31:04] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d912"} 
[2026-09-25 20:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 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-25 20:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329142528001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790348234000,"timestamp_ms":1790348234000,"timestamp_seconds":1790348234,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9120d10"} 
[2026-09-25 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-25 20:31:04] 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-25 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:04] 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-25 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-25 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-25 20:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329142528001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329142528001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329142528001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:31:04] 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":897414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:04] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:04] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:09] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9125f18012d16a84007201fb00027005d29..."} 
[2026-09-25 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9125f18012d16a84007201fb00027005d29..."} 
[2026-09-25 20:31:09] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9125f18012d16a84007201fb00027005d29..."} 
[2026-09-25 20:31:09] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d912"} 
[2026-09-25 20:31:09] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d912"} 
[2026-09-25 20:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756459584,"raw_latitude":119545776,"longitude_deg":75.6459584,"latitude_deg":11.9545776,"altitude":39,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d16a840","hex_latitude":"07201fb0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329147904001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23199695346073600,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1632625264269701120,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790348255000,"timestamp_ms":1790348255000,"timestamp_seconds":1790348255,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9125f18"} 
[2026-09-25 20: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-25 20:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:09] 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-25 20: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-25 20: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-25 20:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329147904001,"66":12287,"85":206,"83":41984,"24":0,"16":23199695346073600,"45":1632625264269701120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-25 20:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329147904001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-25 20:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23199695346073600,"km_value":23199695346073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1632625264269701120,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329147904001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1632625264269701120}} 
[2026-09-25 20:31:09] 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":897415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:09] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:09] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:17] local.INFO: TCP Data received {"connection_id":195423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:17] local.INFO: Processing buffer {"connection_id":195423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:17] local.INFO: IMEI packet received {"connection_id":195423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":195423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:31:22] local.INFO: TCP Data received {"connection_id":195423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:22] local.INFO: Processing buffer {"connection_id":195423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:31:22] local.INFO: IMEI packet received {"connection_id":195423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":195423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:23] local.INFO: TCP Data received {"connection_id":195423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:23] local.INFO: Processing buffer {"connection_id":195423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:23] local.INFO: Packet analysis {"connection_id":195423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:31:23] local.INFO: Extracted packet for processing {"connection_id":195423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:31:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:23] 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-25 20:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:31:23] 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-25 20:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:31: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-25 20:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:31:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":195423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:23] local.INFO: GPS data processed {"connection_id":195423,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:23] local.INFO: Acknowledgment sent {"connection_id":195423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:24] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:24] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:24] local.INFO: IMEI packet received {"connection_id":192545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":192545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:31:29] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:29] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:31:29] local.INFO: IMEI packet received {"connection_id":192545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":192545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:30] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:30] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9110758012d34c14006aa49080007006e29..."} 
[2026-09-25 20:31:30] local.INFO: Packet analysis {"connection_id":192545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:30] local.INFO: Extracted packet for processing {"connection_id":192545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d911"} 
[2026-09-25 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329053696001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348167000,"timestamp_ms":1790348167000,"timestamp_seconds":1790348167,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9110758"} 
[2026-09-25 20:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329053696001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329053696001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329053696001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:31:30] 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":897417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:30] local.INFO: GPS data processed {"connection_id":192545,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:30] local.INFO: Acknowledgment sent {"connection_id":192545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:31:50] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:50] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:50] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:31:51] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:51] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:51] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:54] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:54] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:31:54] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:31:54] local.INFO: TCP Data received {"connection_id":195423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:54] local.INFO: Processing buffer {"connection_id":195423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:31:54] local.INFO: Packet analysis {"connection_id":195423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:31:54] local.INFO: Extracted packet for processing {"connection_id":195423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:31:54] 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-25 20:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20: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-25 20:31:54] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:31:54] 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-25 20: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-25 20: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-25 20:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":195423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:31:55] local.INFO: GPS data processed {"connection_id":195423,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:31:55] local.INFO: Acknowledgment sent {"connection_id":195423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:32:06] local.INFO: TCP Data received {"connection_id":192545,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:06] local.INFO: Processing buffer {"connection_id":192545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:06] local.INFO: Packet analysis {"connection_id":192545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:32:06] local.INFO: Extracted packet for processing {"connection_id":192545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20: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-25 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:32: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-25 20: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-25 20: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-25 20:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:32:06] 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":897419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:32:06] local.INFO: GPS data processed {"connection_id":192545,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:32:06] local.INFO: Acknowledgment sent {"connection_id":192545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:32:17] local.INFO: TCP Data received {"connection_id":194083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:17] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:17] local.INFO: IMEI packet received {"connection_id":194083,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":194083,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:32:22] local.INFO: TCP Data received {"connection_id":194083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:22] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:32:22] local.INFO: IMEI packet received {"connection_id":194083,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":194083,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:32:23] local.INFO: TCP Data received {"connection_id":194083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:23] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:23] local.INFO: Packet analysis {"connection_id":194083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:32:23] local.INFO: Extracted packet for processing {"connection_id":194083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:23] 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-25 20:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20: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-25 20:32:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:32: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-25 20: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-25 20: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-25 20:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:32:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:32:23] 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":897420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:32:23] local.INFO: GPS data processed {"connection_id":194083,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:32:23] local.INFO: Acknowledgment sent {"connection_id":194083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:32:24] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:24] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:24] local.INFO: IMEI packet received {"connection_id":192546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":192546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:32:29] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:29] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:32:29] local.INFO: IMEI packet received {"connection_id":192546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":192546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:32:31] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:31] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:32:31] local.INFO: Packet analysis {"connection_id":192546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:32:31] local.INFO: Extracted packet for processing {"connection_id":192546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32: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-25 20:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:32:31] local.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-25 20:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:32: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-25 20:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:32:31] 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":897421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:32:31] local.INFO: GPS data processed {"connection_id":192546,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:32:31] local.INFO: Acknowledgment sent {"connection_id":192546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:32:54] local.INFO: TCP Data received {"connection_id":194083,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:54] local.INFO: Processing buffer {"connection_id":194083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91312c8012d0b10c007029f10000c013d1d..."} 
[2026-09-25 20:32:54] local.INFO: Packet analysis {"connection_id":194083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:32:54] local.INFO: Extracted packet for processing {"connection_id":194083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d913"} 
[2026-09-25 20:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329088000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:32:54] 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-25 20:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348301000,"timestamp_ms":1790348301000,"timestamp_seconds":1790348301,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91312c8"} 
[2026-09-25 20:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:32:54] 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-25 20:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:32:54] 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-25 20:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194083,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329088000001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329088000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:32:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329088000001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:32:55] 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":897422,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:32:55] local.INFO: GPS data processed {"connection_id":194083,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:32:55] local.INFO: Acknowledgment sent {"connection_id":194083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:33:03] local.INFO: TCP Data received {"connection_id":192546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:03] local.INFO: Processing buffer {"connection_id":192546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:03] local.INFO: Packet analysis {"connection_id":192546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:33:03] local.INFO: Extracted packet for processing {"connection_id":192546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33: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-25 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:33: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-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:33:03] 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":897423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:33:03] local.INFO: GPS data processed {"connection_id":192546,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:33:03] local.INFO: Acknowledgment sent {"connection_id":192546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:33:22] local.INFO: TCP Data received {"connection_id":195425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:22] local.INFO: Processing buffer {"connection_id":195425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:22] local.INFO: IMEI packet received {"connection_id":195425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":195425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:33:23] local.INFO: TCP Data received {"connection_id":195425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:23] local.INFO: Processing buffer {"connection_id":195425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:33:23] local.INFO: IMEI packet received {"connection_id":195425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":195425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:33:24] local.INFO: TCP Data received {"connection_id":195425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:24] local.INFO: Processing buffer {"connection_id":195425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:24] local.INFO: Packet analysis {"connection_id":195425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:24] local.INFO: Extracted packet for processing {"connection_id":195425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:33: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-25 20:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:24] 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-25 20:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:33:24] 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-25 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:33: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-25 20:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:33:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:33:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":195425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:33:24] local.INFO: GPS data processed {"connection_id":195425,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:33:24] local.INFO: Acknowledgment sent {"connection_id":195425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:33:24] local.INFO: TCP Data received {"connection_id":195426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:24] local.INFO: Processing buffer {"connection_id":195426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:24] local.INFO: IMEI packet received {"connection_id":195426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":195426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:33:27] local.INFO: TCP Data received {"connection_id":195425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:27] local.INFO: Processing buffer {"connection_id":195425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:27] local.INFO: Packet analysis {"connection_id":195425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:27] local.INFO: Extracted packet for processing {"connection_id":195425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:27] 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-25 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:33: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-25 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:33:27] 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-25 20:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:33:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:33:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":195425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:33:28] local.INFO: GPS data processed {"connection_id":195425,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:33:28] local.INFO: Acknowledgment sent {"connection_id":195425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:33:29] local.INFO: TCP Data received {"connection_id":195426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:29] local.INFO: Processing buffer {"connection_id":195426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:33:29] local.INFO: IMEI packet received {"connection_id":195426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":195426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:33:31] local.INFO: TCP Data received {"connection_id":195426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:31] local.INFO: Processing buffer {"connection_id":195426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:33:31] local.INFO: Packet analysis {"connection_id":195426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:33:31] local.INFO: Extracted packet for processing {"connection_id":195426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33: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-25 20:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:33:31] local.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-25 20:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:33:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:33:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:33: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-25 20:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":195426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:33:31] local.INFO: GPS data processed {"connection_id":195426,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:33:31] local.INFO: Acknowledgment sent {"connection_id":195426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:33:59] local.INFO: TCP Data received {"connection_id":195425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:59] local.INFO: Processing buffer {"connection_id":195425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:33:59] local.INFO: Packet analysis {"connection_id":195425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:59] local.INFO: Extracted packet for processing {"connection_id":195425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:33:59] 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-25 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:33:59] 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-25 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:33:59] 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-25 20:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:33:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":195425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:33:59] local.INFO: GPS data processed {"connection_id":195425,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:33:59] local.INFO: Acknowledgment sent {"connection_id":195425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:34:08] local.INFO: TCP Data received {"connection_id":195426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:08] local.INFO: Processing buffer {"connection_id":195426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:08] local.INFO: Packet analysis {"connection_id":195426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:08] local.INFO: Extracted packet for processing {"connection_id":195426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34: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-25 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":195426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:34:08] local.INFO: GPS data processed {"connection_id":195426,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:34:08] local.INFO: Acknowledgment sent {"connection_id":195426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:34:17] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:17] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:17] local.INFO: IMEI packet received {"connection_id":192549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":192549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:34:22] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:22] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:34:22] local.INFO: IMEI packet received {"connection_id":192549,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":192549,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:34:23] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:23] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:23] local.INFO: Packet analysis {"connection_id":192549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:34:23] local.INFO: Extracted packet for processing {"connection_id":192549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:23] 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-25 20:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:34:23] 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-25 20:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:34: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-25 20:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:34:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":192549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:34:23] local.INFO: GPS data processed {"connection_id":192549,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:34:23] local.INFO: Acknowledgment sent {"connection_id":192549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:34:30] local.INFO: TCP Data received {"connection_id":195427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:30] local.INFO: Processing buffer {"connection_id":195427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:30] local.INFO: IMEI packet received {"connection_id":195427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":195427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:34:35] local.INFO: TCP Data received {"connection_id":195427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:35] local.INFO: Processing buffer {"connection_id":195427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:34:35] local.INFO: IMEI packet received {"connection_id":195427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":195427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:34:37] local.INFO: TCP Data received {"connection_id":195427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:37] local.INFO: Processing buffer {"connection_id":195427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:37] local.INFO: Packet analysis {"connection_id":195427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:37] local.INFO: Extracted packet for processing {"connection_id":195427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20: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-25 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:34: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-25 20: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-25 20: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-25 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34: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-25 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":195427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:34:37] local.INFO: GPS data processed {"connection_id":195427,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:34:37] local.INFO: Acknowledgment sent {"connection_id":195427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:34:40] local.INFO: TCP Data received {"connection_id":195427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:40] local.INFO: Processing buffer {"connection_id":195427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:34:40] local.INFO: Packet analysis {"connection_id":195427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:40] local.INFO: Extracted packet for processing {"connection_id":195427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34: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-25 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:34: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-25 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:34: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-25 20:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":195427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:34:40] local.INFO: GPS data processed {"connection_id":195427,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:34:40] local.INFO: Acknowledgment sent {"connection_id":195427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:34:54] local.INFO: TCP Data received {"connection_id":192549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:54] local.INFO: Processing buffer {"connection_id":192549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:34:54] local.INFO: Packet analysis {"connection_id":192549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:34:54] local.INFO: Extracted packet for processing {"connection_id":192549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:34:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:34:54] 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-25 20:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20: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-25 20:34:54] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:34:54] 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-25 20:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20: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-25 20:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192549,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:34:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:34:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":192549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:34:55] local.INFO: GPS data processed {"connection_id":192549,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:34:55] local.INFO: Acknowledgment sent {"connection_id":192549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:35:17] local.INFO: TCP Data received {"connection_id":194087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:17] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:17] local.INFO: IMEI packet received {"connection_id":194087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":194087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:35:22] local.INFO: TCP Data received {"connection_id":194087,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:22] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:35:22] local.INFO: IMEI packet received {"connection_id":194087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":194087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:35:23] local.INFO: TCP Data received {"connection_id":194087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:23] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:23] local.INFO: Packet analysis {"connection_id":194087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:35:23] local.INFO: Extracted packet for processing {"connection_id":194087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:23] 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-25 20:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:35:23] 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-25 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:35: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-25 20:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:35:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:35:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:35: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":897433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:35:23] local.INFO: GPS data processed {"connection_id":194087,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:35:23] local.INFO: Acknowledgment sent {"connection_id":194087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:35:24] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:24] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:24] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:35:28] local.INFO: TCP Data received {"connection_id":195428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:35:28] local.INFO: Processing buffer {"connection_id":195428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:35:28] local.INFO: IMEI packet received {"connection_id":195428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":195428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:35:30] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:30] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:35:30] local.INFO: IMEI packet received {"connection_id":194088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":194088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:35:31] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:35:31] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:35:31] local.INFO: Packet analysis {"connection_id":194088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:35:31] local.INFO: Extracted packet for processing {"connection_id":194088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35: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-25 20:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:35:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:35:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:35: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-25 20:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:35:31] 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":897434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:35:31] local.INFO: GPS data processed {"connection_id":194088,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:35:31] local.INFO: Acknowledgment sent {"connection_id":194088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:35:54] local.INFO: TCP Data received {"connection_id":194087,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:54] local.INFO: Processing buffer {"connection_id":194087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:35:54] local.INFO: Packet analysis {"connection_id":194087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:35:54] local.INFO: Extracted packet for processing {"connection_id":194087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:35:54] 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-25 20:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20: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-25 20:35:54] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:35:54] 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-25 20: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-25 20: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-25 20:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:35:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:35:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:35:55] 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":897435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:35:55] local.INFO: GPS data processed {"connection_id":194087,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:35:55] local.INFO: Acknowledgment sent {"connection_id":194087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:36:02] local.INFO: TCP Data received {"connection_id":194088,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:02] local.INFO: Processing buffer {"connection_id":194088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:02] local.INFO: Packet analysis {"connection_id":194088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:36:02] local.INFO: Extracted packet for processing {"connection_id":194088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36: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-25 20:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 20:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:36:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:36: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-25 20:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:36:02] 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":897436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:36:02] local.INFO: GPS data processed {"connection_id":194088,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:36:02] local.INFO: Acknowledgment sent {"connection_id":194088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:36:08] local.INFO: TCP Data received {"connection_id":195429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:36:08] local.INFO: Processing buffer {"connection_id":195429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:36:08] local.INFO: IMEI packet received {"connection_id":195429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":195429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:36:17] local.INFO: TCP Data received {"connection_id":194090,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:17] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:17] local.INFO: IMEI packet received {"connection_id":194090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":194090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:36:22] local.INFO: TCP Data received {"connection_id":194090,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:22] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:36:22] local.INFO: IMEI packet received {"connection_id":194090,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":194090,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:36:23] local.INFO: TCP Data received {"connection_id":194090,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:23] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:23] local.INFO: Packet analysis {"connection_id":194090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:36:23] local.INFO: Extracted packet for processing {"connection_id":194090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:36:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:23] 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-25 20:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20: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-25 20:36:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:36: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-25 20: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-25 20: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-25 20:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:36:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:36:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:36:23] 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":897437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:36:23] local.INFO: GPS data processed {"connection_id":194090,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:36:23] local.INFO: Acknowledgment sent {"connection_id":194090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:36:24] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:24] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:24] local.INFO: IMEI packet received {"connection_id":192550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:36:32] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:32] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:36:32] local.INFO: IMEI packet received {"connection_id":192550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":192550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:36:34] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:34] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9159f20012d34c14006aa49080004006e2c..."} 
[2026-09-25 20:36:34] local.INFO: Packet analysis {"connection_id":192550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:36:34] local.INFO: Extracted packet for processing {"connection_id":192550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d915"} 
[2026-09-25 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329130752001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790348468000,"timestamp_ms":1790348468000,"timestamp_seconds":1790348468,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9159f20"} 
[2026-09-25 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-25 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:36: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-25 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-25 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-25 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329130752001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329130752001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329130752001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":192550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:36:34] local.INFO: GPS data processed {"connection_id":192550,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:36:34] local.INFO: Acknowledgment sent {"connection_id":192550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:36:54] local.INFO: TCP Data received {"connection_id":194090,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:54] local.INFO: Processing buffer {"connection_id":194090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:36:54] local.INFO: Packet analysis {"connection_id":194090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:36:54] local.INFO: Extracted packet for processing {"connection_id":194090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:36:54] 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-25 20:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:36:54] 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-25 20:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:36:54] 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-25 20:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194090,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:36:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:36:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:36:55] 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":897439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:36:55] local.INFO: GPS data processed {"connection_id":194090,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:36:55] local.INFO: Acknowledgment sent {"connection_id":194090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:36:59] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:36:59] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:36:59] local.INFO: IMEI packet received {"connection_id":192551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":192551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:37:00] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d919f098012d18de4007215038004000a526..."} 
[2026-09-25 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d919f098012d18de4007215038004000a526..."} 
[2026-09-25 20:37:00] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d919f098012d18de4007215038004000a526..."} 
[2026-09-25 20:37:00] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d919"} 
[2026-09-25 20:37:00] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d919"} 
[2026-09-25 20:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119623736,"longitude_deg":75.660448,"latitude_deg":11.9623736,"altitude":64,"angle":165,"satellites":38,"speed":8,"hex_longitude":"2d18de40","hex_latitude":"07215038","is_valid_coordinates":true} 
[2026-09-25 20:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329280000001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23209135684190208,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732363763712,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:00] 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-25 20:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790348751000,"timestamp_ms":1790348751000,"timestamp_seconds":1790348751,"priority":1,"record_length":96,"hex_timestamp":"000001a0d919f098"} 
[2026-09-25 20:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:37:00] 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-25 20:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-25 20:37: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-25 20:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37: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-25 20:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329280000001,"66":12809,"106":206,"83":41984,"24":8,"16":23209135684190208,"45":1791869732363763712},"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-25 20:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329280000001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 20:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23209135684190208,"km_value":23209135684190.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732363763712,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329280000001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1791869732363763712}} 
[2026-09-25 20:37:00] 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":897440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:00] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:00] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:05] local.INFO: TCP Data received {"connection_id":192550,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:05] local.INFO: Processing buffer {"connection_id":192550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:05] local.INFO: Packet analysis {"connection_id":192550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:05] local.INFO: Extracted packet for processing {"connection_id":192550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20: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-25 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20: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-25 20: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-25 20: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-25 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:37: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-25 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":192550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:05] local.INFO: GPS data processed {"connection_id":192550,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:05] local.INFO: Acknowledgment sent {"connection_id":192550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:22] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:22] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:22] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:37:24] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:24] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:24] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:37:27] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:27] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:37:27] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:37:28] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:28] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:28] local.INFO: Packet analysis {"connection_id":192705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:37:28] local.INFO: Extracted packet for processing {"connection_id":192705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:37: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-25 20:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:28] 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-25 20:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:37: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:37:28] 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-25 20:37: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-25 20:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:37:28] 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":897442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:28] local.INFO: GPS data processed {"connection_id":192705,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:28] local.INFO: Acknowledgment sent {"connection_id":192705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:29] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:29] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:37:29] local.INFO: IMEI packet received {"connection_id":192552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":192552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:37:30] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:30] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:37:30] local.INFO: Packet analysis {"connection_id":192552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:30] local.INFO: Extracted packet for processing {"connection_id":192552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":192552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:30] local.INFO: GPS data processed {"connection_id":192552,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:30] local.INFO: Acknowledgment sent {"connection_id":192552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:32] local.INFO: TCP Data received {"connection_id":192551,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d919f868012d18de8007214ee0003f00b126..."} 
[2026-09-25 20:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d919f868012d18de8007214ee0003f00b126..."} 
[2026-09-25 20:37:32] local.INFO: Processing buffer {"connection_id":192551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d919f868012d18de8007214ee0003f00b126..."} 
[2026-09-25 20:37:32] local.INFO: Packet analysis {"connection_id":192551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d919"} 
[2026-09-25 20:37:32] local.INFO: Extracted packet for processing {"connection_id":192551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d919"} 
[2026-09-25 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756604544,"raw_latitude":119623392,"longitude_deg":75.6604544,"latitude_deg":11.9623392,"altitude":63,"angle":177,"satellites":38,"speed":5,"hex_longitude":"2d18de80","hex_latitude":"07214ee0","is_valid_coordinates":true} 
[2026-09-25 20:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329280256001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23209152864059392,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791940101107890176,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790348753000,"timestamp_ms":1790348753000,"timestamp_seconds":1790348753,"priority":1,"record_length":96,"hex_timestamp":"000001a0d919f868"} 
[2026-09-25 20:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:37:32] 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-25 20:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3642328864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":217,"raw_value":1838374650600014912,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2401500521954305577,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-504177301336830381,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,116,160,236,45,81,64,39,10,66,232,228,192,1,240,178,227,217,33,4,113,205,239,50,2,82,7,67,9,48,164,75],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-25 20:37:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611867601055252480,"timestamp_seconds":4611867601055252.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329280256001,"66":12798,"106":206,"83":41984,"24":5,"16":23209152864059392,"45":1791940101107890176},"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-25 20:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329280256001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23209152864059392,"km_value":23209152864059.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791940101107890176,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329280256001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1791940101107890176}} 
[2026-09-25 20:37:32] 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":897444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:32] local.INFO: GPS data processed {"connection_id":192551,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:32] local.INFO: Acknowledgment sent {"connection_id":192551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:32] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:33] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:37:33] local.INFO: Packet analysis {"connection_id":192705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:37:33] local.INFO: Extracted packet for processing {"connection_id":192705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:33] 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-25 20:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20: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-25 20:37:33] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:37:33] 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-25 20: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-25 20: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-25 20:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:37:33] 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":897445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:37:33] local.INFO: GPS data processed {"connection_id":192705,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:37:33] local.INFO: Acknowledgment sent {"connection_id":192705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:37:53] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:53] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:53] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:37:56] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:37:56] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:56] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:37:59] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:59] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:37:59] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:37:59] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a4e58012d18dfc007214c88003e00b225..."} 
[2026-09-25 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a4e58012d18dfc007214c88003e00b225..."} 
[2026-09-25 20:37:59] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a4e58012d18dfc007214c88003e00b225..."} 
[2026-09-25 20:37:59] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:59] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756604864,"raw_latitude":119622792,"longitude_deg":75.6604864,"latitude_deg":11.9622792,"altitude":62,"angle":178,"satellites":37,"speed":0,"hex_longitude":"2d18dfc0","hex_latitude":"07214c88","is_valid_coordinates":true} 
[2026-09-25 20:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329280768001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23209191518765056,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469851979776,"note":"Value kept but may cause issues"} 
[2026-09-25 20:37: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-25 20:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790348775000,"timestamp_ms":1790348775000,"timestamp_seconds":1790348775,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a4e58"} 
[2026-09-25 20:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:37:59] 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-25 20:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-25 20:37:59] 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-25 20:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329280768001,"66":12722,"103":206,"83":41984,"24":0,"16":23209191518765056,"45":1792010469851979776},"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-25 20:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329280768001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:37:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23209191518765056,"km_value":23209191518765.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469851979776,"description":"Unknown IO ID 45"} 
[2026-09-25 20:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329280768001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1792010469851979776}} 
[2026-09-25 20:38:00] 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":897446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:00] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:00] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:02] local.INFO: TCP Data received {"connection_id":192552,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:02] local.INFO: Processing buffer {"connection_id":192552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:02] local.INFO: Packet analysis {"connection_id":192552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:38:02] local.INFO: Extracted packet for processing {"connection_id":192552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38: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-25 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:38: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-25 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":192552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:02] local.INFO: GPS data processed {"connection_id":192552,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:02] local.INFO: Acknowledgment sent {"connection_id":192552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:17] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:17] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:17] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:38:22] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:22] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:38:22] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:38:24] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:24] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:24] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:38:25] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:38:25] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d917aa90012d0b10c007029f100003013d1b..."} 
[2026-09-25 20:38:25] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:38:25] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d917"} 
[2026-09-25 20:38:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329165056001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:25] 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-25 20:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790348602000,"timestamp_ms":1790348602000,"timestamp_seconds":1790348602,"priority":1,"record_length":96,"hex_timestamp":"000001a0d917aa90"} 
[2026-09-25 20: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-25 20:38: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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329165056001,"66":12667,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329165056001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:38:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:38:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329165056001,"power":12667,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:38:26] 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":897448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:26] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:26] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:29] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:29] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:38:29] local.INFO: IMEI packet received {"connection_id":192553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:38:30] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:30] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:38:30] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:38:30] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:38:30] 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":897449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:30] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:30] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:30] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91bbd88012d18df4007214d380041014026..."} 
[2026-09-25 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91bbd88012d18df4007214d380041014026..."} 
[2026-09-25 20:38:30] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91bbd88012d18df4007214d380041014026..."} 
[2026-09-25 20:38:30] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91b"} 
[2026-09-25 20:38:30] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91b"} 
[2026-09-25 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119622968,"longitude_deg":75.6604736,"latitude_deg":11.9622968,"altitude":65,"angle":320,"satellites":38,"speed":6,"hex_longitude":"2d18df40","hex_latitude":"07214d38","is_valid_coordinates":true} 
[2026-09-25 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329309440001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23209380497326080,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792643788549410816,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:30] 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-25 20:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348869000,"timestamp_ms":1790348869000,"timestamp_seconds":1790348869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91bbd88"} 
[2026-09-25 20:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:38: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-25 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-25 20:38:30] 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-25 20:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329309440001,"66":13417,"106":206,"83":41984,"24":6,"16":23209380497326080,"45":1792643788549410816},"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-25 20:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329309440001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23209380497326080,"km_value":23209380497326.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792643788549410816,"description":"Unknown IO ID 45"} 
[2026-09-25 20:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329309440001,"power":13417,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1792643788549410816}} 
[2026-09-25 20:38:30] 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":897450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:30] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:30] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:56] local.INFO: TCP Data received {"connection_id":195430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:56] local.INFO: Processing buffer {"connection_id":195430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:56] local.INFO: IMEI packet received {"connection_id":195430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":195430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:38:57] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:38:57] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:38:57] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:38:57] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:38:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:38:57] 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-25 20:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20: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-25 20:38:57] 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-25 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:38:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:38:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:38:57] 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":897451,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:38:57] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:38:57] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:38:57] local.INFO: TCP Data received {"connection_id":195430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:57] local.INFO: Processing buffer {"connection_id":195430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:57] local.INFO: IMEI packet received {"connection_id":195430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":195430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:38:58] local.INFO: TCP Data received {"connection_id":195430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:58] local.INFO: Processing buffer {"connection_id":195430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:58] local.INFO: IMEI packet received {"connection_id":195430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":195430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:38:59] local.INFO: TCP Data received {"connection_id":195430,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:59] local.INFO: Processing buffer {"connection_id":195430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:38:59] local.INFO: IMEI packet received {"connection_id":195430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":195430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:39:02] local.INFO: TCP Data received {"connection_id":192553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:02] local.INFO: Processing buffer {"connection_id":192553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:02] local.INFO: Packet analysis {"connection_id":192553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:02] local.INFO: Extracted packet for processing {"connection_id":192553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39: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-25 20:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:39:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:39: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-25 20:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:39:02] 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":897452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:39:02] local.INFO: GPS data processed {"connection_id":192553,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:39:02] local.INFO: Acknowledgment sent {"connection_id":192553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:39:17] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:17] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:17] local.INFO: IMEI packet received {"connection_id":194093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":194093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:39:22] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:22] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:39:22] local.INFO: IMEI packet received {"connection_id":194093,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":194093,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:39:23] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:23] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:23] local.INFO: Packet analysis {"connection_id":194093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:39:23] local.INFO: Extracted packet for processing {"connection_id":194093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:23] 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-25 20:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:39:23] 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-25 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:39:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:39:24] 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":897453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:39:24] local.INFO: GPS data processed {"connection_id":194093,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:39:24] local.INFO: Acknowledgment sent {"connection_id":194093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:39:29] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:29] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:29] local.INFO: IMEI packet received {"connection_id":192708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":192708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:39:35] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:35] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:39:35] local.INFO: IMEI packet received {"connection_id":192708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":192708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:39:36] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:36] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:36] local.INFO: Packet analysis {"connection_id":192708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:36] local.INFO: Extracted packet for processing {"connection_id":192708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:39:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:39:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":192708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:39:36] local.INFO: GPS data processed {"connection_id":192708,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:39:36] local.INFO: Acknowledgment sent {"connection_id":192708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:39:40] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:40] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:39:40] local.INFO: Packet analysis {"connection_id":192708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:40] local.INFO: Extracted packet for processing {"connection_id":192708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39: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-25 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:39: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-25 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:39: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-25 20:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":192708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:39:40] local.INFO: GPS data processed {"connection_id":192708,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:39:40] local.INFO: Acknowledgment sent {"connection_id":192708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:39:55] local.INFO: TCP Data received {"connection_id":194093,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:55] local.INFO: Processing buffer {"connection_id":194093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:39:55] local.INFO: Packet analysis {"connection_id":194093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:39:55] local.INFO: Extracted packet for processing {"connection_id":194093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:39: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-25 20:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:39:55] 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-25 20:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:39: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-25 20:39: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":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:39:55] 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-25 20:39: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-25 20:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194093,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:39: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":897456,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:39:55] local.INFO: GPS data processed {"connection_id":194093,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:39:55] local.INFO: Acknowledgment sent {"connection_id":194093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:40:17] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:17] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:17] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:40:22] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:22] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:40:22] local.INFO: IMEI packet received {"connection_id":192555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":192555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:40:23] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:23] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:23] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:40:23] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:23] 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-25 20:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20: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-25 20:40:23] 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-25 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:40:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:40:23] 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":897457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:40:23] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:40:23] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:40:25] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:25] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:25] local.INFO: IMEI packet received {"connection_id":194094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":194094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:40:29] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:29] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:40:29] local.INFO: IMEI packet received {"connection_id":194094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":194094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:40:30] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:40:30] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:40:30] local.INFO: Packet analysis {"connection_id":194094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:40:30] local.INFO: Extracted packet for processing {"connection_id":194094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:40:30] 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":897458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:40:30] local.INFO: GPS data processed {"connection_id":194094,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:40:30] local.INFO: Acknowledgment sent {"connection_id":194094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:40:54] local.INFO: TCP Data received {"connection_id":192555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:54] local.INFO: Processing buffer {"connection_id":192555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:40:54] local.INFO: Packet analysis {"connection_id":192555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:40:54] local.INFO: Extracted packet for processing {"connection_id":192555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:40:54] 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-25 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:40:54] 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-25 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:40:54] 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-25 20:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:40:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:40:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:40:55] 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":897459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:40:55] local.INFO: GPS data processed {"connection_id":192555,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:40:55] local.INFO: Acknowledgment sent {"connection_id":192555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:41:02] local.INFO: TCP Data received {"connection_id":194094,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:02] local.INFO: Processing buffer {"connection_id":194094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:02] local.INFO: Packet analysis {"connection_id":194094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:41:02] local.INFO: Extracted packet for processing {"connection_id":194094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41: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-25 20:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:41: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-25 20:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:41:02] 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":897460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:41:02] local.INFO: GPS data processed {"connection_id":194094,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:41:02] local.INFO: Acknowledgment sent {"connection_id":194094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:41:22] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:22] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:22] local.INFO: IMEI packet received {"connection_id":192558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":192558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:41:25] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:25] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:25] local.INFO: IMEI packet received {"connection_id":194095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":194095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:41:27] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:27] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:41:27] local.INFO: IMEI packet received {"connection_id":192558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":192558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:41:28] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:28] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:28] local.INFO: Packet analysis {"connection_id":192558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:41:28] local.INFO: Extracted packet for processing {"connection_id":192558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:28] 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-25 20:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20: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-25 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:41:28] 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-25 20: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-25 20: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-25 20:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:41:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:41:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":192558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:41:28] local.INFO: GPS data processed {"connection_id":192558,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:41:28] local.INFO: Acknowledgment sent {"connection_id":192558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:41:29] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:29] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:41:29] local.INFO: IMEI packet received {"connection_id":194095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":194095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:41:30] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:30] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91a36e8012d34c14006aa49080001006e2a..."} 
[2026-09-25 20:41:30] local.INFO: Packet analysis {"connection_id":194095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:41:30] local.INFO: Extracted packet for processing {"connection_id":194095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91a"} 
[2026-09-25 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329207808001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790348769000,"timestamp_ms":1790348769000,"timestamp_seconds":1790348769,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91a36e8"} 
[2026-09-25 20: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-25 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329207808001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329207808001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329207808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":194095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:41:30] local.INFO: GPS data processed {"connection_id":194095,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:41:30] local.INFO: Acknowledgment sent {"connection_id":194095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:41:32] local.INFO: TCP Data received {"connection_id":192558,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:32] local.INFO: Processing buffer {"connection_id":192558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:41:32] local.INFO: Packet analysis {"connection_id":192558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:41:32] local.INFO: Extracted packet for processing {"connection_id":192558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:41:32] 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-25 20:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":192558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:41:33] local.INFO: GPS data processed {"connection_id":192558,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:41:33] local.INFO: Acknowledgment sent {"connection_id":192558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:41:33] local.INFO: TCP Data received {"connection_id":192557,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:41:33] local.INFO: Processing buffer {"connection_id":192557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:41:33] local.INFO: IMEI packet received {"connection_id":192557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":192557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:42:02] local.INFO: TCP Data received {"connection_id":194095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:02] local.INFO: Processing buffer {"connection_id":194095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:02] local.INFO: Packet analysis {"connection_id":194095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:42:02] local.INFO: Extracted packet for processing {"connection_id":194095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42: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-25 20:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:42:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:42:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:42: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-25 20:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":194095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:42:02] local.INFO: GPS data processed {"connection_id":194095,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:42:02] local.INFO: Acknowledgment sent {"connection_id":194095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:42:08] local.INFO: TCP Data received {"connection_id":192710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:42:08] local.INFO: Processing buffer {"connection_id":192710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:42:08] local.INFO: IMEI packet received {"connection_id":192710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":192710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:42:17] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:17] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:17] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:42:22] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:22] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:22] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:42:24] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:24] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:24] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:42:27] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:27] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:42:27] local.INFO: IMEI packet received {"connection_id":192559,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":192559,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:42:28] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:42:28] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:42:28] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:42:28] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:28] 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-25 20:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:42:28] 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-25 20:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:42:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:42:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:42:28] 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":897465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:42:28] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:42:28] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:42:29] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:29] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:42:29] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:42:31] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:31] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:42:31] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:42:31] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20: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-25 20:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:42:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:42:31] 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":897466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:42:31] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:42:31] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:00] local.INFO: TCP Data received {"connection_id":192559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:00] local.INFO: Processing buffer {"connection_id":192559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:00] local.INFO: Packet analysis {"connection_id":192559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:43:00] local.INFO: Extracted packet for processing {"connection_id":192559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:00] 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-25 20:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:43: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-25 20:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:00] 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-25 20:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192559,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:43:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:43:00] 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":897467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:00] local.INFO: GPS data processed {"connection_id":192559,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:00] local.INFO: Acknowledgment sent {"connection_id":192559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:03] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:03] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:03] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:03] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:43:03] 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":897468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:03] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:03] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:17] local.INFO: TCP Data received {"connection_id":195432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:17] local.INFO: Processing buffer {"connection_id":195432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:17] local.INFO: IMEI packet received {"connection_id":195432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":195432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:43:22] local.INFO: TCP Data received {"connection_id":195432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:22] local.INFO: Processing buffer {"connection_id":195432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:43:22] local.INFO: IMEI packet received {"connection_id":195432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":195432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:43:23] local.INFO: TCP Data received {"connection_id":195432,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:23] local.INFO: Processing buffer {"connection_id":195432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91c4258012d0b10c007029f100003013d1e..."} 
[2026-09-25 20:43:23] local.INFO: Packet analysis {"connection_id":195432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:43:23] local.INFO: Extracted packet for processing {"connection_id":195432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91c"} 
[2026-09-25 20:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329242112001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:23] 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-25 20:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790348903000,"timestamp_ms":1790348903000,"timestamp_seconds":1790348903,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91c4258"} 
[2026-09-25 20: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-25 20:43:23] 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-25 20: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329242112001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329242112001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329242112001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":195432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:23] local.INFO: GPS data processed {"connection_id":195432,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:23] local.INFO: Acknowledgment sent {"connection_id":195432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:29] local.INFO: TCP Data received {"connection_id":192561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:29] local.INFO: Processing buffer {"connection_id":192561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:29] local.INFO: IMEI packet received {"connection_id":192561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:43:34] local.INFO: TCP Data received {"connection_id":192561,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:34] local.INFO: Processing buffer {"connection_id":192561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:43:34] local.INFO: IMEI packet received {"connection_id":192561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":192561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:43:35] local.INFO: TCP Data received {"connection_id":192561,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:35] local.INFO: Processing buffer {"connection_id":192561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:35] local.INFO: Packet analysis {"connection_id":192561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:35] local.INFO: Extracted packet for processing {"connection_id":192561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20: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-25 20:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43: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-25 20:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":192561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:35] local.INFO: GPS data processed {"connection_id":192561,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:35] local.INFO: Acknowledgment sent {"connection_id":192561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:40] local.INFO: TCP Data received {"connection_id":192561,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:40] local.INFO: Processing buffer {"connection_id":192561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:43:40] local.INFO: Packet analysis {"connection_id":192561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:40] local.INFO: Extracted packet for processing {"connection_id":192561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20: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-25 20:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:43: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-25 20:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":192561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:40] local.INFO: GPS data processed {"connection_id":192561,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:40] local.INFO: Acknowledgment sent {"connection_id":192561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:43:55] local.INFO: TCP Data received {"connection_id":195432,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:43:55] local.INFO: Processing buffer {"connection_id":195432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:43:55] local.INFO: Packet analysis {"connection_id":195432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:43:55] local.INFO: Extracted packet for processing {"connection_id":195432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:43:55] 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-25 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:43: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-25 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:43:55] 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-25 20:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":195432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:43:55] local.INFO: GPS data processed {"connection_id":195432,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:43:55] local.INFO: Acknowledgment sent {"connection_id":195432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:04] local.INFO: TCP Data received {"connection_id":195433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:04] local.INFO: Processing buffer {"connection_id":195433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:04] local.INFO: IMEI packet received {"connection_id":195433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":195433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:44:04] local.INFO: TCP Data received {"connection_id":195433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91e70f0012d19bb0007205b98002800aa25..."} 
[2026-09-25 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91e70f0012d19bb0007205b98002800aa25..."} 
[2026-09-25 20:44:04] local.INFO: Processing buffer {"connection_id":195433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91e70f0012d19bb0007205b98002800aa25..."} 
[2026-09-25 20:44:04] local.INFO: Packet analysis {"connection_id":195433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:04] local.INFO: Extracted packet for processing {"connection_id":195433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119561112,"longitude_deg":75.6660992,"latitude_deg":11.9561112,"altitude":40,"angle":170,"satellites":37,"speed":29,"hex_longitude":"2d19bb00","hex_latitude":"07205b98","is_valid_coordinates":true} 
[2026-09-25 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329352960001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215058444091392,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851331321180018688,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790349046000,"timestamp_ms":1790349046000,"timestamp_seconds":1790349046,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91e70f0"} 
[2026-09-25 20:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 20:44:04] 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-25 20:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329352960001,"66":13004,"103":206,"83":41984,"24":29,"16":23215058444091392,"45":1851331321180018688},"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-25 20:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329352960001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215058444091392,"km_value":23215058444091.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851331321180018688,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329352960001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1851331321180018688}} 
[2026-09-25 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":195433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:44:05] local.INFO: GPS data processed {"connection_id":195433,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:44:05] local.INFO: Acknowledgment sent {"connection_id":195433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:17] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:17] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:17] local.INFO: IMEI packet received {"connection_id":194097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":194097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:44:22] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:22] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:44:22] local.INFO: IMEI packet received {"connection_id":194097,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":194097,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:44:23] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:23] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:23] local.INFO: Packet analysis {"connection_id":194097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:44:23] local.INFO: Extracted packet for processing {"connection_id":194097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:23] 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-25 20:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:44:23] 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-25 20:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:44: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-25 20:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:44:23] 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":897474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:44:23] local.INFO: GPS data processed {"connection_id":194097,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:44:23] local.INFO: Acknowledgment sent {"connection_id":194097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:24] local.INFO: TCP Data received {"connection_id":195434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:24] local.INFO: Processing buffer {"connection_id":195434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:24] local.INFO: IMEI packet received {"connection_id":195434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":195434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:44:29] local.INFO: TCP Data received {"connection_id":195434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:29] local.INFO: Processing buffer {"connection_id":195434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:44:29] local.INFO: IMEI packet received {"connection_id":195434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":195434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:44:31] local.INFO: TCP Data received {"connection_id":195434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:44:31] local.INFO: Processing buffer {"connection_id":195434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:44:31] local.INFO: Packet analysis {"connection_id":195434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:31] local.INFO: Extracted packet for processing {"connection_id":195434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 20:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44: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-25 20:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 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-25 20:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 20:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:44:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:44: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-25 20:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":195434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:44:31] local.INFO: GPS data processed {"connection_id":195434,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:44:31] local.INFO: Acknowledgment sent {"connection_id":195434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:36] local.INFO: TCP Data received {"connection_id":195433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:36] local.INFO: Processing buffer {"connection_id":195433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:36] local.INFO: Packet analysis {"connection_id":195433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:36] local.INFO: Extracted packet for processing {"connection_id":195433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551648,"longitude_deg":75.6662272,"latitude_deg":11.9551648,"altitude":41,"angle":159,"satellites":34,"speed":27,"hex_longitude":"2d19c000","hex_latitude":"072036a0","is_valid_coordinates":true} 
[2026-09-25 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329355776001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215522300559360,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702200735744,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790349060000,"timestamp_ms":1790349060000,"timestamp_seconds":1790349060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91ea7a0"} 
[2026-09-25 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:44:36] 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-25 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-25 20:44:36] 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-25 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329355776001,"66":13059,"103":206,"83":41984,"24":27,"16":23215522300559360,"45":1854075702200735744},"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-25 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329355776001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215522300559360,"km_value":23215522300559.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702200735744,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329355776001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1854075702200735744}} 
[2026-09-25 20:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":195433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:44:36] local.INFO: GPS data processed {"connection_id":195433,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:44:36] local.INFO: Acknowledgment sent {"connection_id":195433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:53] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:53] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:53] local.INFO: IMEI packet received {"connection_id":194098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":194098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:44:55] local.INFO: TCP Data received {"connection_id":194097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:55] local.INFO: Processing buffer {"connection_id":194097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:44:55] local.INFO: Packet analysis {"connection_id":194097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:44:55] local.INFO: Extracted packet for processing {"connection_id":194097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:55] 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-25 20:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20: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-25 20:44: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-25 20:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:44:55] 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-25 20: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-25 20: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-25 20:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194097,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:44:55] 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":897477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:44:55] local.INFO: GPS data processed {"connection_id":194097,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:44:55] local.INFO: Acknowledgment sent {"connection_id":194097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:44:59] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:59] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:44:59] local.INFO: IMEI packet received {"connection_id":194098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":194098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:44:59] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:59] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91ea7a0012d19c000072036a00029009f22..."} 
[2026-09-25 20:44:59] local.INFO: Packet analysis {"connection_id":194098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:59] local.INFO: Extracted packet for processing {"connection_id":194098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756662272,"raw_latitude":119551648,"longitude_deg":75.6662272,"latitude_deg":11.9551648,"altitude":41,"angle":159,"satellites":34,"speed":27,"hex_longitude":"2d19c000","hex_latitude":"072036a0","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329359360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215522300559360,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077081866240,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44: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-25 20:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349060000,"timestamp_ms":1790349060000,"timestamp_seconds":1790349060,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91ea7a0"} 
[2026-09-25 20: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-25 20:44:59] 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-25 20: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170478722424,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709973,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3642626864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2424832048,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 20:44:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-25 20:44:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,122,160,112,45,91,40,37,10,66,121,69,64,125,44,50,1,240,105,227,217,32,4,113,205,33,42,175,39,239,51,2,82,7,21],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 20:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954536323934519296,"timestamp_seconds":2954536323934519.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20: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-25 20:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329359360001,"66":13059,"103":206,"83":41984,"24":27,"16":23215522300559360,"45":1855483077081866240},"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-25 20:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329359360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:44:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215522300559360,"km_value":23215522300559.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077081866240,"description":"Unknown IO ID 45"} 
[2026-09-25 20:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329359360001,"power":13059,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1855483077081866240}} 
[2026-09-25 20:45:00] 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":897478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:00] local.INFO: GPS data processed {"connection_id":194098,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:00] local.INFO: Acknowledgment sent {"connection_id":194098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:02] local.INFO: TCP Data received {"connection_id":195434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:02] local.INFO: Processing buffer {"connection_id":195434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:02] local.INFO: Packet analysis {"connection_id":195434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:02] local.INFO: Extracted packet for processing {"connection_id":195434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45: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-25 20:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:45:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:45: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-25 20:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":195434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:02] local.INFO: GPS data processed {"connection_id":195434,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:02] local.INFO: Acknowledgment sent {"connection_id":195434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:22] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:22] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:22] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:45:25] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:25] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:25] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:45:27] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:27] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:45:27] local.INFO: IMEI packet received {"connection_id":192563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":192563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:45:28] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:28] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:28] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:45:28] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:28] 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-25 20:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:45:28] 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-25 20:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:45:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:45:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:45:28] 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":897480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:28] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:28] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:29] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:29] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:45:29] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:45:31] local.INFO: TCP Data received {"connection_id":194098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91ed680012d19cb8007201cd8002a009128..."} 
[2026-09-25 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91ed680012d19cb8007201cd8002a009128..."} 
[2026-09-25 20:45:31] local.INFO: Processing buffer {"connection_id":194098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91ed680012d19cb8007201cd8002a009128..."} 
[2026-09-25 20:45:31] local.INFO: Packet analysis {"connection_id":194098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:31] local.INFO: Extracted packet for processing {"connection_id":194098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119545048,"longitude_deg":75.6665216,"latitude_deg":11.9545048,"altitude":42,"angle":145,"satellites":40,"speed":14,"hex_longitude":"2d19cb80","hex_latitude":"07201cd8","is_valid_coordinates":true} 
[2026-09-25 20:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329359360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215870192910336,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077081866240,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45: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-25 20:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349072000,"timestamp_ms":1790349072000,"timestamp_seconds":1790349072,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91ed680"} 
[2026-09-25 20:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163365182840,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709984,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3642632864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728696,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,122,160,167,45,54,41,34,10,66,112,91,40,37,121,69,64,1,240,227,217,32,4,113,205,33,46,174,136,239,52,2,82,7,49],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 20:45:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954536323934519296,"timestamp_seconds":2954536323934519.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329359360001,"66":12993,"103":206,"83":41984,"24":14,"16":23215870192910336,"45":1855483077081866240},"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-25 20:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329359360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215870192910336,"km_value":23215870192910.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077081866240,"description":"Unknown IO ID 45"} 
[2026-09-25 20:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329359360001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1855483077081866240}} 
[2026-09-25 20:45:31] 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":897481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:31] local.INFO: GPS data processed {"connection_id":194098,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:31] local.INFO: Acknowledgment sent {"connection_id":194098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:31] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:31] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:45:31] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:31] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45: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-25 20:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:45:31] local.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-25 20:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:45: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-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:45:31] 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":897482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:31] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:31] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:33] local.INFO: TCP Data received {"connection_id":192563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:33] local.INFO: Processing buffer {"connection_id":192563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:45:33] local.INFO: Packet analysis {"connection_id":192563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:45:33] local.INFO: Extracted packet for processing {"connection_id":192563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:45:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:45:33] 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-25 20:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:45:33] 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-25 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:45:33] 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-25 20:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:45:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:45:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:45:33] 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":897483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:45:33] local.INFO: GPS data processed {"connection_id":192563,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:45:33] local.INFO: Acknowledgment sent {"connection_id":192563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:45:59] local.INFO: TCP Data received {"connection_id":195435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:45:59] local.INFO: Processing buffer {"connection_id":195435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:45:59] local.INFO: IMEI packet received {"connection_id":195435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":195435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:46:03] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:03] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:03] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:03] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46: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-25 20:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:46:03] local.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-25 20:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:46: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-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:46:03] 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":897484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:03] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:03] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:04] local.INFO: TCP Data received {"connection_id":195435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:04] local.INFO: Processing buffer {"connection_id":195435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:04] local.INFO: IMEI packet received {"connection_id":195435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":195435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:46:04] local.INFO: TCP Data received {"connection_id":195435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91ede50012d19cd0007201b30002b008428..."} 
[2026-09-25 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91ede50012d19cd0007201b30002b008428..."} 
[2026-09-25 20:46:04] local.INFO: Processing buffer {"connection_id":195435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91ede50012d19cd0007201b30002b008428..."} 
[2026-09-25 20:46:04] local.INFO: Packet analysis {"connection_id":195435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:04] local.INFO: Extracted packet for processing {"connection_id":195435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544624,"longitude_deg":75.66656,"latitude_deg":11.9544624,"altitude":43,"angle":132,"satellites":40,"speed":9,"hex_longitude":"2d19cd00","hex_latitude":"07201b30","is_valid_coordinates":true} 
[2026-09-25 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329362432001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215900257681408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312349184,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790349074000,"timestamp_ms":1790349074000,"timestamp_seconds":1790349074,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91ede50"} 
[2026-09-25 20:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:04] 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-25 20:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329362432001,"66":12287,"103":206,"83":41984,"24":9,"16":23215900257681408,"45":1858720039312349184},"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-25 20:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329362432001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215900257681408,"km_value":23215900257681.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312349184,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329362432001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1858720039312349184}} 
[2026-09-25 20:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":195435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:05] local.INFO: GPS data processed {"connection_id":195435,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:05] local.INFO: Acknowledgment sent {"connection_id":195435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:05] local.INFO: TCP Data received {"connection_id":195435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91f3440012d19ce00072019e8002c008e26..."} 
[2026-09-25 20:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91f3440012d19ce00072019e8002c008e26..."} 
[2026-09-25 20:46:05] local.INFO: Processing buffer {"connection_id":195435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91f3440012d19ce00072019e8002c008e26..."} 
[2026-09-25 20:46:05] local.INFO: Packet analysis {"connection_id":195435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:05] local.INFO: Extracted packet for processing {"connection_id":195435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329362944001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777306624,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790349096000,"timestamp_ms":1790349096000,"timestamp_seconds":1790349096,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91f3440"} 
[2026-09-25 20: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-25 20:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:05] 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-25 20: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-25 20: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-25 20:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329362944001,"66":12961,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859142251777306624},"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-25 20:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329362944001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777306624,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329362944001,"power":12961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777306624}} 
[2026-09-25 20:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":195435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:05] local.INFO: GPS data processed {"connection_id":195435,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:05] local.INFO: Acknowledgment sent {"connection_id":195435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:17] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:17] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:17] local.INFO: IMEI packet received {"connection_id":192714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":192714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:46:22] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:22] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:46:22] local.INFO: IMEI packet received {"connection_id":192714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":192714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:46:23] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:23] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:23] local.INFO: Packet analysis {"connection_id":192714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:46:23] local.INFO: Extracted packet for processing {"connection_id":192714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:23] 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-25 20:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46:23] 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-25 20:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:46: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-25 20:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:46:23] 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":897487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:23] local.INFO: GPS data processed {"connection_id":192714,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:23] local.INFO: Acknowledgment sent {"connection_id":192714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:24] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:24] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:24] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:46:29] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:29] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:46:29] local.INFO: IMEI packet received {"connection_id":192564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":192564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:46:30] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:30] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91eceb0012d34c14006aa49080000006e2d..."} 
[2026-09-25 20:46:30] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:30] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91e"} 
[2026-09-25 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329284864001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349070000,"timestamp_ms":1790349070000,"timestamp_seconds":1790349070,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91eceb0"} 
[2026-09-25 20: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-25 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:46:30] local.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-25 20:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329284864001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329284864001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329284864001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:46:30] 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":897488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:30] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:30] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:37] local.INFO: TCP Data received {"connection_id":195435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91f8648012d19ce00072019e8002c008e25..."} 
[2026-09-25 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91f8648012d19ce00072019e8002c008e25..."} 
[2026-09-25 20:46:37] local.INFO: Processing buffer {"connection_id":195435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91f8648012d19ce00072019e8002c008e25..."} 
[2026-09-25 20:46:37] local.INFO: Packet analysis {"connection_id":195435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:37] local.INFO: Extracted packet for processing {"connection_id":195435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329368576001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790349117000,"timestamp_ms":1790349117000,"timestamp_seconds":1790349117,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91f8648"} 
[2026-09-25 20:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46:37] 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-25 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:37] 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-25 20:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329368576001,"66":12841,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329368576001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329368576001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":195435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:37] local.INFO: GPS data processed {"connection_id":195435,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:37] local.INFO: Acknowledgment sent {"connection_id":195435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:53] local.INFO: TCP Data received {"connection_id":194099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:53] local.INFO: Processing buffer {"connection_id":194099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:53] local.INFO: IMEI packet received {"connection_id":194099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":194099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:46:55] local.INFO: TCP Data received {"connection_id":192714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:55] local.INFO: Processing buffer {"connection_id":192714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:46:55] local.INFO: Packet analysis {"connection_id":192714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:46:55] local.INFO: Extracted packet for processing {"connection_id":192714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:46: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-25 20:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:55] 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-25 20:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46: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-25 20:46: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:55] 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-25 20:46: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-25 20:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:46:55] 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":897490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:46:55] local.INFO: GPS data processed {"connection_id":192714,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:46:55] local.INFO: Acknowledgment sent {"connection_id":192714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:46:59] local.INFO: TCP Data received {"connection_id":194099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:59] local.INFO: Processing buffer {"connection_id":194099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:46:59] local.INFO: IMEI packet received {"connection_id":194099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":194099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:46:59] local.INFO: TCP Data received {"connection_id":194099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d91fd850012d19ce00072019e8002c008e27..."} 
[2026-09-25 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d91fd850012d19ce00072019e8002c008e27..."} 
[2026-09-25 20:46:59] local.INFO: Processing buffer {"connection_id":194099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d91fd850012d19ce00072019e8002c008e27..."} 
[2026-09-25 20:46:59] local.INFO: Packet analysis {"connection_id":194099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:59] local.INFO: Extracted packet for processing {"connection_id":194099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d91f"} 
[2026-09-25 20:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329373952001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:46: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-25 20:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349138000,"timestamp_ms":1790349138000,"timestamp_seconds":1790349138,"priority":1,"record_length":96,"hex_timestamp":"000001a0d91fd850"} 
[2026-09-25 20:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:46:59] 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-25 20:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-25 20:46:59] 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-25 20:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329373952001,"66":12809,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329373952001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:46:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329373952001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":194099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:00] local.INFO: GPS data processed {"connection_id":194099,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:00] local.INFO: Acknowledgment sent {"connection_id":194099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:02] local.INFO: TCP Data received {"connection_id":192564,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:02] local.INFO: Processing buffer {"connection_id":192564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:02] local.INFO: Packet analysis {"connection_id":192564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:02] local.INFO: Extracted packet for processing {"connection_id":192564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47: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-25 20:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:47:02] local.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-25 20:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:47:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:47: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-25 20:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:47:02] 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":897492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:02] local.INFO: GPS data processed {"connection_id":192564,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:02] local.INFO: Acknowledgment sent {"connection_id":192564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:19] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:19] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:19] local.INFO: IMEI packet received {"connection_id":192715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":192715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:47:22] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:22] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:47:22] local.INFO: IMEI packet received {"connection_id":192715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":192715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:47:23] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:23] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:23] local.INFO: Packet analysis {"connection_id":192715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:47:23] local.INFO: Extracted packet for processing {"connection_id":192715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:23] 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-25 20:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:47:23] 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-25 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:47: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-25 20:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":192715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:23] local.INFO: GPS data processed {"connection_id":192715,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:23] local.INFO: Acknowledgment sent {"connection_id":192715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:28] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:28] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:47:28] local.INFO: Packet analysis {"connection_id":192715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:47:28] local.INFO: Extracted packet for processing {"connection_id":192715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:47: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-25 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:28] 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-25 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:47: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:47:28] 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-25 20:47: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-25 20:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":192715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:28] local.INFO: GPS data processed {"connection_id":192715,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:28] local.INFO: Acknowledgment sent {"connection_id":192715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:30] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:30] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:30] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:47:30] local.INFO: TCP Data received {"connection_id":194099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9235ac0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9235ac0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:47:30] local.INFO: Processing buffer {"connection_id":194099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9235ac0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:47:30] local.INFO: Packet analysis {"connection_id":194099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:30] local.INFO: Extracted packet for processing {"connection_id":194099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329432832001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349368000,"timestamp_ms":1790349368000,"timestamp_seconds":1790349368,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9235ac0"} 
[2026-09-25 20:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3642826864,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-25 20:47:30] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,122,160,186,45,25,44,43,10,66,104,22,1,240,58,227,217,32,4,113,205,114,206,232,41,239,49,2,82,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-25 20:47:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170690444413632512,"timestamp_seconds":3170690444413632.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 20:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329432832001,"66":12526,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329432832001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329432832001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":194099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:30] local.INFO: GPS data processed {"connection_id":194099,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:30] local.INFO: Acknowledgment sent {"connection_id":194099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:34] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:34] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:47:34] local.INFO: IMEI packet received {"connection_id":192565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:47:36] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:36] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:36] local.INFO: Packet analysis {"connection_id":192565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:36] local.INFO: Extracted packet for processing {"connection_id":192565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20: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-25 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":192565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:36] local.INFO: GPS data processed {"connection_id":192565,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:36] local.INFO: Acknowledgment sent {"connection_id":192565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:41] local.INFO: TCP Data received {"connection_id":192565,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:41] local.INFO: Processing buffer {"connection_id":192565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:47:41] local.INFO: Packet analysis {"connection_id":192565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:41] local.INFO: Extracted packet for processing {"connection_id":192565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20: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-25 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:47: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-25 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":192565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:47:41] local.INFO: GPS data processed {"connection_id":192565,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:47:41] local.INFO: Acknowledgment sent {"connection_id":192565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:47:43] local.INFO: TCP Data received {"connection_id":195437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:47:43] local.INFO: Processing buffer {"connection_id":195437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:47:43] local.INFO: IMEI packet received {"connection_id":195437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":195437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:47:53] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:53] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:53] local.INFO: IMEI packet received {"connection_id":192716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":192716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:47:59] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:59] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:47:59] local.INFO: IMEI packet received {"connection_id":192716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":192716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:48:00] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d923b0b0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d923b0b0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:00] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d923b0b0012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:00] local.INFO: Packet analysis {"connection_id":192716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:48:00] local.INFO: Extracted packet for processing {"connection_id":192716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438208001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48: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-25 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790349390000,"timestamp_ms":1790349390000,"timestamp_seconds":1790349390,"priority":1,"record_length":96,"hex_timestamp":"000001a0d923b0b0"} 
[2026-09-25 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 20:48:00] 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-25 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48: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-25 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438208001,"66":12526,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438208001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438208001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":192716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:00] local.INFO: GPS data processed {"connection_id":192716,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:00] local.INFO: Acknowledgment sent {"connection_id":192716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:00] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:00] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:00] local.INFO: Packet analysis {"connection_id":192715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:48:00] local.INFO: Extracted packet for processing {"connection_id":192715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:00] 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-25 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:48: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-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:48:00] 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-25 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":192715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897499,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:01] local.INFO: GPS data processed {"connection_id":192715,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:01] local.INFO: Acknowledgment sent {"connection_id":192715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:08] local.INFO: TCP Data received {"connection_id":195438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:48:08] local.INFO: Processing buffer {"connection_id":195438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:48:08] local.INFO: IMEI packet received {"connection_id":195438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":195438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:48:18] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:18] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:18] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:48:22] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:22] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:48:22] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:48:23] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:23] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d920da20012d0b10c007029f100003013d23..."} 
[2026-09-25 20:48:23] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:48:23] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d920"} 
[2026-09-25 20:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":3,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329319168001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:23] 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-25 20:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349204000,"timestamp_ms":1790349204000,"timestamp_seconds":1790349204,"priority":1,"record_length":96,"hex_timestamp":"000001a0d920da20"} 
[2026-09-25 20: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-25 20:48:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:48: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-25 20: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-25 20: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-25 20:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329319168001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329319168001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329319168001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:48:23] 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":897500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:23] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:23] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:24] local.INFO: TCP Data received {"connection_id":192718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:24] local.INFO: Processing buffer {"connection_id":192718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:24] local.INFO: IMEI packet received {"connection_id":192718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":192718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:48:29] local.INFO: TCP Data received {"connection_id":192718,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:29] local.INFO: Processing buffer {"connection_id":192718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:48:29] local.INFO: IMEI packet received {"connection_id":192718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":192718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:48:31] local.INFO: TCP Data received {"connection_id":192718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:48:31] local.INFO: Processing buffer {"connection_id":192718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:48:31] local.INFO: Packet analysis {"connection_id":192718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:48:31] local.INFO: Extracted packet for processing {"connection_id":192718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48: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-25 20:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:48:31] local.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-25 20:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:48: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-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":192718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:31] local.INFO: GPS data processed {"connection_id":192718,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:31] local.INFO: Acknowledgment sent {"connection_id":192718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:31] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92402b8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92402b8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:31] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92402b8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:48:31] local.INFO: Packet analysis {"connection_id":192716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:48:31] local.INFO: Extracted packet for processing {"connection_id":192716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329443840001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48: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-25 20:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349411000,"timestamp_ms":1790349411000,"timestamp_seconds":1790349411,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92402b8"} 
[2026-09-25 20:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 20:48: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-25 20:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329443840001,"66":12504,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329443840001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329443840001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":192716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:31] local.INFO: GPS data processed {"connection_id":192716,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:31] local.INFO: Acknowledgment sent {"connection_id":192716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:52] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:52] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:52] local.INFO: IMEI packet received {"connection_id":192566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":192566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:48:53] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:53] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:53] local.INFO: IMEI packet received {"connection_id":192566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":192566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:48:55] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:48:55] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:48:55] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:48:55] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:55] 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-25 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:48:55] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:48:55] 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-25 20: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-25 20: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-25 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:48:55] 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":897503,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:48:55] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:48:55] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:48:59] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:59] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:48:59] local.INFO: IMEI packet received {"connection_id":192566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":192566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:48:59] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92454c0012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92454c0012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:48:59] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92454c0012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:48:59] local.INFO: Packet analysis {"connection_id":192566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:48:59] local.INFO: Extracted packet for processing {"connection_id":192566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329449216001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:48: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-25 20:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349432000,"timestamp_ms":1790349432000,"timestamp_seconds":1790349432,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92454c0"} 
[2026-09-25 20:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 20:48:59] 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-25 20:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329449216001,"66":12504,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329449216001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:48:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329449216001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":192566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:00] local.INFO: GPS data processed {"connection_id":192566,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:00] local.INFO: Acknowledgment sent {"connection_id":192566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:02] local.INFO: TCP Data received {"connection_id":192718,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:02] local.INFO: Processing buffer {"connection_id":192718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:02] local.INFO: Packet analysis {"connection_id":192718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:49:02] local.INFO: Extracted packet for processing {"connection_id":192718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49: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-25 20:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 20:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:49: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-25 20:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":192718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:02] local.INFO: GPS data processed {"connection_id":192718,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:02] local.INFO: Acknowledgment sent {"connection_id":192718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:17] local.INFO: TCP Data received {"connection_id":195439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:17] local.INFO: Processing buffer {"connection_id":195439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:17] local.INFO: IMEI packet received {"connection_id":195439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":195439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:49:22] local.INFO: TCP Data received {"connection_id":195439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:22] local.INFO: Processing buffer {"connection_id":195439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:49:22] local.INFO: IMEI packet received {"connection_id":195439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":195439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:49:23] local.INFO: TCP Data received {"connection_id":195439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:23] local.INFO: Processing buffer {"connection_id":195439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:23] local.INFO: Packet analysis {"connection_id":195439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:49:23] local.INFO: Extracted packet for processing {"connection_id":195439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:23] 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-25 20:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:49:23] 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-25 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:49: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-25 20:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":195439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897506,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:23] local.INFO: GPS data processed {"connection_id":195439,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:23] local.INFO: Acknowledgment sent {"connection_id":195439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:25] local.INFO: TCP Data received {"connection_id":195440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:25] local.INFO: Processing buffer {"connection_id":195440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:25] local.INFO: IMEI packet received {"connection_id":195440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":195440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:49:29] local.INFO: TCP Data received {"connection_id":195440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:29] local.INFO: Processing buffer {"connection_id":195440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:49:29] local.INFO: IMEI packet received {"connection_id":195440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":195440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:49:31] local.INFO: TCP Data received {"connection_id":195440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:31] local.INFO: Processing buffer {"connection_id":195440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:49:31] local.INFO: Packet analysis {"connection_id":195440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:49:31] local.INFO: Extracted packet for processing {"connection_id":195440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 20:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49: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-25 20:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 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-25 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 20:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:49: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-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":195440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:31] local.INFO: GPS data processed {"connection_id":195440,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:31] local.INFO: Acknowledgment sent {"connection_id":195440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:31] local.INFO: TCP Data received {"connection_id":192566,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d924a6c8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d924a6c8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:31] local.INFO: Processing buffer {"connection_id":192566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d924a6c8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:31] local.INFO: Packet analysis {"connection_id":192566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:49:31] local.INFO: Extracted packet for processing {"connection_id":192566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 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-25 20:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329454592001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49: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-25 20:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349453000,"timestamp_ms":1790349453000,"timestamp_seconds":1790349453,"priority":1,"record_length":96,"hex_timestamp":"000001a0d924a6c8"} 
[2026-09-25 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-25 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 20:49: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-25 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-25 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-25 20:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329454592001,"66":12504,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329454592001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329454592001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":192566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:31] local.INFO: GPS data processed {"connection_id":192566,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:31] local.INFO: Acknowledgment sent {"connection_id":192566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:53] local.INFO: TCP Data received {"connection_id":195441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:53] local.INFO: Processing buffer {"connection_id":195441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:53] local.INFO: IMEI packet received {"connection_id":195441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":195441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:49:54] local.INFO: TCP Data received {"connection_id":195439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:54] local.INFO: Processing buffer {"connection_id":195439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:49:54] local.INFO: Packet analysis {"connection_id":195439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:49:54] local.INFO: Extracted packet for processing {"connection_id":195439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:49:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:49: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-25 20:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:54] 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-25 20:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:49:54] 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-25 20:49: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:49:54] 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-25 20:49: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-25 20:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":195439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:55] local.INFO: GPS data processed {"connection_id":195439,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:55] local.INFO: Acknowledgment sent {"connection_id":195439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:49:56] local.INFO: TCP Data received {"connection_id":195441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:56] local.INFO: Processing buffer {"connection_id":195441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:56] local.INFO: IMEI packet received {"connection_id":195441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":195441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:49:59] local.INFO: TCP Data received {"connection_id":195441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:59] local.INFO: Processing buffer {"connection_id":195441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:49:59] local.INFO: IMEI packet received {"connection_id":195441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":195441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:49:59] local.INFO: TCP Data received {"connection_id":195441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d924f4e8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d924f4e8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:59] local.INFO: Processing buffer {"connection_id":195441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d924f4e8012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:49:59] local.INFO: Packet analysis {"connection_id":195441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:49:59] local.INFO: Extracted packet for processing {"connection_id":195441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d924"} 
[2026-09-25 20:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329459968001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:49: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-25 20:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349473000,"timestamp_ms":1790349473000,"timestamp_seconds":1790349473,"priority":1,"record_length":96,"hex_timestamp":"000001a0d924f4e8"} 
[2026-09-25 20:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:49:59] 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-25 20:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-25 20:49:59] 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-25 20:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329459968001,"66":12472,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329459968001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:49:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329459968001,"power":12472,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":195441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:49:59] local.INFO: GPS data processed {"connection_id":195441,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:49:59] local.INFO: Acknowledgment sent {"connection_id":195441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:04] local.INFO: TCP Data received {"connection_id":195440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:04] local.INFO: Processing buffer {"connection_id":195440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:04] local.INFO: Packet analysis {"connection_id":195440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:50:04] local.INFO: Extracted packet for processing {"connection_id":195440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50: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-25 20:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:50: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-25 20:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:50:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:50: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-25 20:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":195440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:04] local.INFO: GPS data processed {"connection_id":195440,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:04] local.INFO: Acknowledgment sent {"connection_id":195440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:17] local.INFO: TCP Data received {"connection_id":195442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:17] local.INFO: Processing buffer {"connection_id":195442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:17] local.INFO: IMEI packet received {"connection_id":195442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":195442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:50:22] local.INFO: TCP Data received {"connection_id":195442,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:22] local.INFO: Processing buffer {"connection_id":195442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:50:22] local.INFO: IMEI packet received {"connection_id":195442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":195442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:50:24] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:24] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:24] local.INFO: IMEI packet received {"connection_id":192719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":192719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:50:24] local.INFO: TCP Data received {"connection_id":195442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:24] local.INFO: Processing buffer {"connection_id":195442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:24] local.INFO: Packet analysis {"connection_id":195442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:24] local.INFO: Extracted packet for processing {"connection_id":195442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:24] 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-25 20:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:50:24] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":195442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:24] local.INFO: GPS data processed {"connection_id":195442,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:24] local.INFO: Acknowledgment sent {"connection_id":195442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:29] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:29] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:50:29] local.INFO: IMEI packet received {"connection_id":192719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":192719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:50:30] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:30] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:50:30] local.INFO: Packet analysis {"connection_id":192719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:50:30] local.INFO: Extracted packet for processing {"connection_id":192719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:50:30] local.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-25 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":192719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:30] local.INFO: GPS data processed {"connection_id":192719,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:30] local.INFO: Acknowledgment sent {"connection_id":192719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:30] local.INFO: TCP Data received {"connection_id":195441,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9254ad8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9254ad8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:30] local.INFO: Processing buffer {"connection_id":195441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9254ad8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:30] local.INFO: Packet analysis {"connection_id":195441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:30] local.INFO: Extracted packet for processing {"connection_id":195441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329465088001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349495000,"timestamp_ms":1790349495000,"timestamp_seconds":1790349495,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9254ad8"} 
[2026-09-25 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-25 20:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329465088001,"66":12461,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329465088001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329465088001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":195441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:31] local.INFO: GPS data processed {"connection_id":195441,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:31] local.INFO: Acknowledgment sent {"connection_id":195441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:53] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:53] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:53] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:50:55] local.INFO: TCP Data received {"connection_id":195442,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:55] local.INFO: Processing buffer {"connection_id":195442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:50:55] local.INFO: Packet analysis {"connection_id":195442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:55] local.INFO: Extracted packet for processing {"connection_id":195442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:55] 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-25 20:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:50:55] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:50:55] 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-25 20: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-25 20: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-25 20:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":195442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:56] local.INFO: GPS data processed {"connection_id":195442,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:56] local.INFO: Acknowledgment sent {"connection_id":195442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:50:59] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:59] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:50:59] local.INFO: IMEI packet received {"connection_id":192569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":192569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:50:59] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9259ce0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9259ce0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:59] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9259ce0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:50:59] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:59] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329470720001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:50: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-25 20:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349516000,"timestamp_ms":1790349516000,"timestamp_seconds":1790349516,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9259ce0"} 
[2026-09-25 20:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 20:50: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-25 20:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329470720001,"66":12461,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329470720001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:50:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329470720001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:50:59] 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":897516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:50:59] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:50:59] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:02] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:02] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:02] local.INFO: Packet analysis {"connection_id":192719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:51:02] local.INFO: Extracted packet for processing {"connection_id":192719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51: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-25 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:51:02] local.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-25 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:51:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:51: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-25 20:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":192719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:51:02] local.INFO: GPS data processed {"connection_id":192719,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:51:02] local.INFO: Acknowledgment sent {"connection_id":192719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:22] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:22] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:22] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:51:24] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:24] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:24] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:51:27] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:27] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:51:27] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:51:29] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:29] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:51:29] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:51:30] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:30] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:30] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:30] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:30] 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-25 20:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:51:30] 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-25 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:51:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:51:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:51:31] local.INFO: TCP Data received {"connection_id":192569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d925eee8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d925eee8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:51:31] local.INFO: Processing buffer {"connection_id":192569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d925eee8012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:51:31] local.INFO: Packet analysis {"connection_id":192569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:31] local.INFO: Extracted packet for processing {"connection_id":192569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329476096001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51: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-25 20:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349537000,"timestamp_ms":1790349537000,"timestamp_seconds":1790349537,"priority":1,"record_length":96,"hex_timestamp":"000001a0d925eee8"} 
[2026-09-25 20:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-25 20:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329476096001,"66":11547,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329476096001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329476096001,"power":11547,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:51:31] 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":897518,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:51:31] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:51:31] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:31] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:31] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9236678012d34c14006aa49080009006e2b..."} 
[2026-09-25 20:51:31] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:51:31] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d923"} 
[2026-09-25 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329361920001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51: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-25 20:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349371000,"timestamp_ms":1790349371000,"timestamp_seconds":1790349371,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9236678"} 
[2026-09-25 20:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329361920001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329361920001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:51: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-25 20:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329361920001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:51:31] 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":897519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:51:31] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:51:31] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:31] 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":897520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:51:31] local.INFO: GPS data processed {"connection_id":192569,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:51:31] local.INFO: Acknowledgment sent {"connection_id":192569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:32] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:32] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:51:32] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:32] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:51:32] 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-25 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:51:32] 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-25 20:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:51:32] 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-25 20:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:51:32] 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":897521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:51:32] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:51:32] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:51:59] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:51:59] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:51:59] local.INFO: IMEI packet received {"connection_id":192570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":192570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:52:02] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:02] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:02] local.INFO: IMEI packet received {"connection_id":192570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":192570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:52:02] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:02] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:02] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:02] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52: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-25 20:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:52: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-25 20:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:52:02] 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":897522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:02] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:02] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:03] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92640f0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92640f0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:52:03] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92640f0012d19ce00072019e8002c008e2c..."} 
[2026-09-25 20:52:03] local.INFO: Packet analysis {"connection_id":192570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:03] local.INFO: Extracted packet for processing {"connection_id":192570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":44,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329481472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790349558000,"timestamp_ms":1790349558000,"timestamp_seconds":1790349558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92640f0"} 
[2026-09-25 20:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329481472001,"66":11874,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329481472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329481472001,"power":11874,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":192570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:03] local.INFO: GPS data processed {"connection_id":192570,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:03] local.INFO: Acknowledgment sent {"connection_id":192570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:04] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9268f10012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9268f10012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:52:04] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9268f10012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:52:04] local.INFO: Packet analysis {"connection_id":192570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:04] local.INFO: Extracted packet for processing {"connection_id":192570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 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-25 20:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329486848001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790349578000,"timestamp_ms":1790349578000,"timestamp_seconds":1790349578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9268f10"} 
[2026-09-25 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-25 20:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 20:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329486848001,"66":12428,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329486848001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329486848001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":192570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:04] local.INFO: GPS data processed {"connection_id":192570,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:04] local.INFO: Acknowledgment sent {"connection_id":192570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:17] local.INFO: TCP Data received {"connection_id":194100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:17] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:17] local.INFO: IMEI packet received {"connection_id":194100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":194100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:52:22] local.INFO: TCP Data received {"connection_id":194100,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:22] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:52:22] local.INFO: IMEI packet received {"connection_id":194100,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":194100,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:52:23] local.INFO: TCP Data received {"connection_id":194100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:23] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:23] local.INFO: Packet analysis {"connection_id":194100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:52:23] local.INFO: Extracted packet for processing {"connection_id":194100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:23] 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-25 20:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:52:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:52: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-25 20: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-25 20: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-25 20:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:52:23] 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":897525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:23] local.INFO: GPS data processed {"connection_id":194100,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:23] local.INFO: Acknowledgment sent {"connection_id":194100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:24] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:24] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:24] local.INFO: IMEI packet received {"connection_id":194101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":194101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:52:29] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:29] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:52:29] local.INFO: IMEI packet received {"connection_id":194101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":194101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:52:31] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:31] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:52:31] local.INFO: Packet analysis {"connection_id":194101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:31] local.INFO: Extracted packet for processing {"connection_id":194101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52: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-25 20:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:52: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-25 20:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:52:31] 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":897526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:31] local.INFO: GPS data processed {"connection_id":194101,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:31] local.INFO: Acknowledgment sent {"connection_id":194101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:34] local.INFO: TCP Data received {"connection_id":192570,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d926e118012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d926e118012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:52:34] local.INFO: Processing buffer {"connection_id":192570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d926e118012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:52:34] local.INFO: Packet analysis {"connection_id":192570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:34] local.INFO: Extracted packet for processing {"connection_id":192570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d926"} 
[2026-09-25 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329491968001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790349599000,"timestamp_ms":1790349599000,"timestamp_seconds":1790349599,"priority":1,"record_length":96,"hex_timestamp":"000001a0d926e118"} 
[2026-09-25 20: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-25 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:34] 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-25 20: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-25 20: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-25 20:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329491968001,"66":12439,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329491968001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329491968001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":192570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:35] local.INFO: GPS data processed {"connection_id":192570,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:35] local.INFO: Acknowledgment sent {"connection_id":192570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:53] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:53] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:53] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:52:54] local.INFO: TCP Data received {"connection_id":194100,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:54] local.INFO: Processing buffer {"connection_id":194100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:52:54] local.INFO: Packet analysis {"connection_id":194100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:52:54] local.INFO: Extracted packet for processing {"connection_id":194100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:54] 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-25 20:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:52:54] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:54] 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-25 20: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-25 20: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-25 20:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194100,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:52:55] 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":897528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:55] local.INFO: GPS data processed {"connection_id":194100,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:55] local.INFO: Acknowledgment sent {"connection_id":194100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:52:59] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:59] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:52:59] local.INFO: IMEI packet received {"connection_id":192571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":192571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:52:59] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9273320012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9273320012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:52:59] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9273320012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:52:59] local.INFO: Packet analysis {"connection_id":192571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:59] local.INFO: Extracted packet for processing {"connection_id":192571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329497344001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:52: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-25 20:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349620000,"timestamp_ms":1790349620000,"timestamp_seconds":1790349620,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9273320"} 
[2026-09-25 20:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:52:59] 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-25 20:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:52:59] 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-25 20:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329497344001,"66":12439,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329497344001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:52:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329497344001,"power":12439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:52:59] 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":897529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:52:59] local.INFO: GPS data processed {"connection_id":192571,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:52:59] local.INFO: Acknowledgment sent {"connection_id":192571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:02] local.INFO: TCP Data received {"connection_id":194101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:02] local.INFO: Processing buffer {"connection_id":194101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:02] local.INFO: Packet analysis {"connection_id":194101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:02] local.INFO: Extracted packet for processing {"connection_id":194101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53: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-25 20:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:53: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-25 20:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:53:02] 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":897530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:53:02] local.INFO: GPS data processed {"connection_id":194101,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:53:02] local.INFO: Acknowledgment sent {"connection_id":194101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:17] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:17] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:17] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:53:22] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:22] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:53:22] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:53:25] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:25] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:25] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:53:25] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:53:25] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92571e8012d0b10c007029f10000f013d1d..."} 
[2026-09-25 20:53:25] local.INFO: Packet analysis {"connection_id":192723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:53:25] local.INFO: Extracted packet for processing {"connection_id":192723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d925"} 
[2026-09-25 20:53:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329396224001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:25] 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-25 20:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790349505000,"timestamp_ms":1790349505000,"timestamp_seconds":1790349505,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92571e8"} 
[2026-09-25 20: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-25 20:53:25] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329396224001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329396224001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:53:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:53:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329396224001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":192723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897531,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:53:25] local.INFO: GPS data processed {"connection_id":192723,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:53:25] local.INFO: Acknowledgment sent {"connection_id":192723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:29] local.INFO: TCP Data received {"connection_id":194102,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:53:29] local.INFO: Processing buffer {"connection_id":194102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:53:29] local.INFO: IMEI packet received {"connection_id":194102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":194102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:53:29] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:29] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:53:29] local.INFO: IMEI packet received {"connection_id":192572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":192572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:53:30] local.INFO: TCP Data received {"connection_id":192571,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9278528012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9278528012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:53:30] local.INFO: Processing buffer {"connection_id":192571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9278528012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:53:30] local.INFO: Packet analysis {"connection_id":192571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:30] local.INFO: Extracted packet for processing {"connection_id":192571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329502720001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349641000,"timestamp_ms":1790349641000,"timestamp_seconds":1790349641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9278528"} 
[2026-09-25 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-25 20:53:30] 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-25 20:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329502720001,"66":12428,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329502720001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329502720001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:53:30] 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":897532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:53:30] local.INFO: GPS data processed {"connection_id":192571,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:53:30] local.INFO: Acknowledgment sent {"connection_id":192571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:30] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:30] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:53:30] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:30] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:53:30] 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":897533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:53:30] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:53:30] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:53] local.INFO: TCP Data received {"connection_id":195444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:53] local.INFO: Processing buffer {"connection_id":195444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:53] local.INFO: IMEI packet received {"connection_id":195444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":195444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:53:57] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:53:57] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:53:57] local.INFO: Packet analysis {"connection_id":192723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:53:57] local.INFO: Extracted packet for processing {"connection_id":192723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:53:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:53:57] 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-25 20:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:53:57] 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-25 20:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:53: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-25 20:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":192723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":192723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":192723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:53:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:53:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":192723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:53:57] local.INFO: GPS data processed {"connection_id":192723,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:53:57] local.INFO: Acknowledgment sent {"connection_id":192723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:53:59] local.INFO: TCP Data received {"connection_id":195444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:59] local.INFO: Processing buffer {"connection_id":195444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:53:59] local.INFO: IMEI packet received {"connection_id":195444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":195444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:54:00] local.INFO: TCP Data received {"connection_id":195444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927d730012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927d730012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:54:00] local.INFO: Processing buffer {"connection_id":195444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927d730012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:54:00] local.INFO: Packet analysis {"connection_id":195444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:00] local.INFO: Extracted packet for processing {"connection_id":195444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329508096001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54: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-25 20:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790349662000,"timestamp_ms":1790349662000,"timestamp_seconds":1790349662,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927d730"} 
[2026-09-25 20:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 20:54: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-25 20:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54: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-25 20:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329508096001,"66":12428,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329508096001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329508096001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":195444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:00] local.INFO: GPS data processed {"connection_id":195444,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:00] local.INFO: Acknowledgment sent {"connection_id":195444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:02] local.INFO: TCP Data received {"connection_id":192572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:02] local.INFO: Processing buffer {"connection_id":192572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:02] local.INFO: Packet analysis {"connection_id":192572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:02] local.INFO: Extracted packet for processing {"connection_id":192572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54: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-25 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:54: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-25 20:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:54:02] 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":897536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:02] local.INFO: GPS data processed {"connection_id":192572,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:02] local.INFO: Acknowledgment sent {"connection_id":192572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:03] local.INFO: TCP Data received {"connection_id":194103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:54:03] local.INFO: Processing buffer {"connection_id":194103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:54:03] local.INFO: IMEI packet received {"connection_id":194103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":194103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:54:17] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:17] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:17] local.INFO: IMEI packet received {"connection_id":192724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":192724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:54:22] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:22] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:54:22] local.INFO: IMEI packet received {"connection_id":192724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":192724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:54:23] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:23] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:23] local.INFO: Packet analysis {"connection_id":192724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:54:23] local.INFO: Extracted packet for processing {"connection_id":192724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:23] 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-25 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20: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-25 20:54:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:54: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-25 20: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-25 20: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-25 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":192724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:23] local.INFO: GPS data processed {"connection_id":192724,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:23] local.INFO: Acknowledgment sent {"connection_id":192724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:24] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:24] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:24] local.INFO: IMEI packet received {"connection_id":192573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":192573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:54:29] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:29] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:54:29] local.INFO: IMEI packet received {"connection_id":192573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":192573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:54:30] local.INFO: TCP Data received {"connection_id":195444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9282d20012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9282d20012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:30] local.INFO: Processing buffer {"connection_id":195444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9282d20012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:30] local.INFO: Packet analysis {"connection_id":195444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:54:30] local.INFO: Extracted packet for processing {"connection_id":195444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329513472001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349684000,"timestamp_ms":1790349684000,"timestamp_seconds":1790349684,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9282d20"} 
[2026-09-25 20:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-25 20:54:30] 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-25 20:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329513472001,"66":11580,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329513472001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329513472001,"power":11580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":195444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:30] local.INFO: GPS data processed {"connection_id":195444,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:30] local.INFO: Acknowledgment sent {"connection_id":195444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:31] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:31] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:54:31] local.INFO: Packet analysis {"connection_id":192573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:31] local.INFO: Extracted packet for processing {"connection_id":192573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54: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-25 20:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:54:31] local.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-25 20:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:54:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:54: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-25 20:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":192573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:31] local.INFO: GPS data processed {"connection_id":192573,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:31] local.INFO: Acknowledgment sent {"connection_id":192573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:53] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:53] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:53] local.INFO: IMEI packet received {"connection_id":192725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":192725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:54:54] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:54] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:54:54] local.INFO: Packet analysis {"connection_id":192724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:54:54] local.INFO: Extracted packet for processing {"connection_id":192724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:54] 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-25 20:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:54] 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-25 20:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:54:54] 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-25 20:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":192724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:54:54] local.INFO: GPS data processed {"connection_id":192724,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:54:54] local.INFO: Acknowledgment sent {"connection_id":192724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:54:59] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:59] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:54:59] local.INFO: IMEI packet received {"connection_id":192725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":192725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:54:59] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9287f28012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9287f28012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:59] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9287f28012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:54:59] local.INFO: Packet analysis {"connection_id":192725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:54:59] local.INFO: Extracted packet for processing {"connection_id":192725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329519104001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:54: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-25 20:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349705000,"timestamp_ms":1790349705000,"timestamp_seconds":1790349705,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9287f28"} 
[2026-09-25 20:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:54:59] 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-25 20:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-25 20:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329519104001,"66":12406,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329519104001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:54:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329519104001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":192725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:00] local.INFO: GPS data processed {"connection_id":192725,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:00] local.INFO: Acknowledgment sent {"connection_id":192725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:55:04] local.INFO: TCP Data received {"connection_id":192573,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:04] local.INFO: Processing buffer {"connection_id":192573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:04] local.INFO: Packet analysis {"connection_id":192573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:55:04] local.INFO: Extracted packet for processing {"connection_id":192573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55: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-25 20:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:55: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-25 20:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":192573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:04] local.INFO: GPS data processed {"connection_id":192573,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:04] local.INFO: Acknowledgment sent {"connection_id":192573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:55:22] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:22] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:22] local.INFO: IMEI packet received {"connection_id":194104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":194104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:55:24] local.INFO: TCP Data received {"connection_id":195445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:24] local.INFO: Processing buffer {"connection_id":195445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:24] local.INFO: IMEI packet received {"connection_id":195445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":195445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:55:27] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:27] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:55:27] local.INFO: IMEI packet received {"connection_id":194104,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":194104,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:55:29] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:55:29] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:55:29] local.INFO: Packet analysis {"connection_id":194104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:55:29] local.INFO: Extracted packet for processing {"connection_id":194104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55: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-25 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:55:29] 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-25 20:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:55:29] 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-25 20:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":194104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:55:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:55:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:55:29] 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":897543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:29] local.INFO: GPS data processed {"connection_id":194104,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:29] local.INFO: Acknowledgment sent {"connection_id":194104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:55:29] local.INFO: TCP Data received {"connection_id":195445,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:29] local.INFO: Processing buffer {"connection_id":195445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:55:29] local.INFO: IMEI packet received {"connection_id":195445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":195445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:55:30] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d928d130012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d928d130012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:55:30] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d928d130012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:55:30] local.INFO: Packet analysis {"connection_id":192725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:55:30] local.INFO: Extracted packet for processing {"connection_id":192725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d928"} 
[2026-09-25 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329524480001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349726000,"timestamp_ms":1790349726000,"timestamp_seconds":1790349726,"priority":1,"record_length":96,"hex_timestamp":"000001a0d928d130"} 
[2026-09-25 20:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:55:30] 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-25 20:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329524480001,"66":12406,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329524480001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329524480001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":192725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:30] local.INFO: GPS data processed {"connection_id":192725,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:30] local.INFO: Acknowledgment sent {"connection_id":192725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:55:30] local.INFO: TCP Data received {"connection_id":195445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:30] local.INFO: Processing buffer {"connection_id":195445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:55:30] local.INFO: Packet analysis {"connection_id":195445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:55:30] local.INFO: Extracted packet for processing {"connection_id":195445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":195445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:30] local.INFO: GPS data processed {"connection_id":195445,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:30] local.INFO: Acknowledgment sent {"connection_id":195445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:55:52] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:52] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:52] local.INFO: IMEI packet received {"connection_id":192575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":192575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:55:53] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:53] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:53] local.INFO: IMEI packet received {"connection_id":192575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":192575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:55:59] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:59] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:55:59] local.INFO: IMEI packet received {"connection_id":192575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":192575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:55:59] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9292338012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9292338012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:55:59] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9292338012d19ce00072019e8002c008e28..."} 
[2026-09-25 20:55:59] local.INFO: Packet analysis {"connection_id":192575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:55:59] local.INFO: Extracted packet for processing {"connection_id":192575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329529856001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:55: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-25 20:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349747000,"timestamp_ms":1790349747000,"timestamp_seconds":1790349747,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9292338"} 
[2026-09-25 20:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:55:59] 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-25 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:55:59] 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-25 20:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329529856001,"66":12406,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329529856001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329529856001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:55:59] 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":897546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:55:59] local.INFO: GPS data processed {"connection_id":192575,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:55:59] local.INFO: Acknowledgment sent {"connection_id":192575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:01] local.INFO: TCP Data received {"connection_id":194104,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:01] local.INFO: Processing buffer {"connection_id":194104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:01] local.INFO: Packet analysis {"connection_id":194104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:01] local.INFO: Extracted packet for processing {"connection_id":194104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:01] 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-25 20:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56:01] 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-25 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194104,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:56:01] 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":897547,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:01] local.INFO: GPS data processed {"connection_id":194104,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:01] local.INFO: Acknowledgment sent {"connection_id":194104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:02] local.INFO: TCP Data received {"connection_id":195445,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:02] local.INFO: Processing buffer {"connection_id":195445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:02] local.INFO: Packet analysis {"connection_id":195445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:56:02] local.INFO: Extracted packet for processing {"connection_id":195445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56: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-25 20:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:56: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-25 20:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":195445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:02] local.INFO: GPS data processed {"connection_id":195445,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:02] local.INFO: Acknowledgment sent {"connection_id":195445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:17] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:17] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:17] local.INFO: IMEI packet received {"connection_id":192577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":192577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:56:22] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:22] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:56:22] local.INFO: IMEI packet received {"connection_id":192577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":192577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:56:23] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:23] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:23] local.INFO: Packet analysis {"connection_id":192577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:23] local.INFO: Extracted packet for processing {"connection_id":192577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:23] 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-25 20:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20: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-25 20:56:23] 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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:56: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-25 20: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-25 20: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-25 20:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:56:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:56:23] 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":897549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:23] local.INFO: GPS data processed {"connection_id":192577,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:23] local.INFO: Acknowledgment sent {"connection_id":192577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:24] local.INFO: TCP Data received {"connection_id":195446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:24] local.INFO: Processing buffer {"connection_id":195446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:24] local.INFO: IMEI packet received {"connection_id":195446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":195446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:56:29] local.INFO: TCP Data received {"connection_id":195446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:29] local.INFO: Processing buffer {"connection_id":195446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:56:29] local.INFO: IMEI packet received {"connection_id":195446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":195446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:56:30] local.INFO: TCP Data received {"connection_id":195446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:30] local.INFO: Processing buffer {"connection_id":195446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d927fe40012d34c14006aa49080009006e2a..."} 
[2026-09-25 20:56:30] local.INFO: Packet analysis {"connection_id":195446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:56:30] local.INFO: Extracted packet for processing {"connection_id":195446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d927"} 
[2026-09-25 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":9,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329438976001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349672000,"timestamp_ms":1790349672000,"timestamp_seconds":1790349672,"priority":1,"record_length":96,"hex_timestamp":"000001a0d927fe40"} 
[2026-09-25 20:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329438976001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329438976001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329438976001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":195446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:30] local.INFO: GPS data processed {"connection_id":195446,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:30] local.INFO: Acknowledgment sent {"connection_id":195446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:31] local.INFO: TCP Data received {"connection_id":192575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9297540012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9297540012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:56:31] local.INFO: Processing buffer {"connection_id":192575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9297540012d19ce00072019e8002c008e29..."} 
[2026-09-25 20:56:31] local.INFO: Packet analysis {"connection_id":192575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:56:31] local.INFO: Extracted packet for processing {"connection_id":192575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329535232001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56: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-25 20:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790349768000,"timestamp_ms":1790349768000,"timestamp_seconds":1790349768,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9297540"} 
[2026-09-25 20:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329535232001,"66":12406,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329535232001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329535232001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:56:31] 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":897551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:31] local.INFO: GPS data processed {"connection_id":192575,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:31] local.INFO: Acknowledgment sent {"connection_id":192575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:53] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:53] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:53] local.INFO: IMEI packet received {"connection_id":194105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":194105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:56:55] local.INFO: TCP Data received {"connection_id":192577,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:55] local.INFO: Processing buffer {"connection_id":192577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:56:55] local.INFO: Packet analysis {"connection_id":192577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:55] local.INFO: Extracted packet for processing {"connection_id":192577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:55] 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-25 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56: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-25 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:55] 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-25 20:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:56:55] 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":897552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:55] local.INFO: GPS data processed {"connection_id":192577,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:55] local.INFO: Acknowledgment sent {"connection_id":192577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:56:56] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:56] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:56] local.INFO: IMEI packet received {"connection_id":194105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":194105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:56:58] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:58] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:56:58] local.INFO: IMEI packet received {"connection_id":194105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":194105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:56:59] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d929c748012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d929c748012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:56:59] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d929c748012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:56:59] local.INFO: Packet analysis {"connection_id":194105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:56:59] local.INFO: Extracted packet for processing {"connection_id":194105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d929"} 
[2026-09-25 20:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329540608001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:56: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-25 20:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349789000,"timestamp_ms":1790349789000,"timestamp_seconds":1790349789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d929c748"} 
[2026-09-25 20:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:56:59] 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-25 20:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:56:59] 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-25 20:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329540608001,"66":12385,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329540608001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:56:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329540608001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:56:59] 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":897553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:56:59] local.INFO: GPS data processed {"connection_id":194105,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:56:59] local.INFO: Acknowledgment sent {"connection_id":194105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:02] local.INFO: TCP Data received {"connection_id":195446,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:02] local.INFO: Processing buffer {"connection_id":195446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:02] local.INFO: Packet analysis {"connection_id":195446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:02] local.INFO: Extracted packet for processing {"connection_id":195446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57: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-25 20:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:57: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-25 20:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":195446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:02] local.INFO: GPS data processed {"connection_id":195446,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:02] local.INFO: Acknowledgment sent {"connection_id":195446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:17] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:17] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:17] local.INFO: IMEI packet received {"connection_id":194106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":194106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:57:22] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:22] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:57:22] local.INFO: IMEI packet received {"connection_id":194106,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":194106,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:57:23] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:23] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:23] local.INFO: Packet analysis {"connection_id":194106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:23] local.INFO: Extracted packet for processing {"connection_id":194106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:23] 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-25 20:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:57:23] 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-25 20:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:57: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-25 20:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:57:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:57:23] 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":897555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:23] local.INFO: GPS data processed {"connection_id":194106,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:23] local.INFO: Acknowledgment sent {"connection_id":194106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:24] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:24] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:24] local.INFO: IMEI packet received {"connection_id":192727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":192727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:57:29] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:29] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:57:29] local.INFO: IMEI packet received {"connection_id":192727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":192727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:57:30] local.INFO: TCP Data received {"connection_id":194105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a1950012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a1950012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:57:30] local.INFO: Processing buffer {"connection_id":194105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a1950012d19ce00072019e8002c008e2a..."} 
[2026-09-25 20:57:30] local.INFO: Packet analysis {"connection_id":194105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:30] local.INFO: Extracted packet for processing {"connection_id":194105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329545984001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349810000,"timestamp_ms":1790349810000,"timestamp_seconds":1790349810,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a1950"} 
[2026-09-25 20:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329545984001,"66":12385,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329545984001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329545984001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:57:30] 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":897556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:30] local.INFO: GPS data processed {"connection_id":194105,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:30] local.INFO: Acknowledgment sent {"connection_id":194105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:30] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:30] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:30] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:30] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:30] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:30] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:35] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:35] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:57:35] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:35] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20: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-25 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:35] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:35] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:53] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:53] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:53] local.INFO: IMEI packet received {"connection_id":194107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":194107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:57:55] local.INFO: TCP Data received {"connection_id":194106,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:55] local.INFO: Processing buffer {"connection_id":194106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:57:55] local.INFO: Packet analysis {"connection_id":194106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:55] local.INFO: Extracted packet for processing {"connection_id":194106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:55] 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-25 20:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20: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-25 20:57: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-25 20: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:55] 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-25 20: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-25 20: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-25 20:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194106,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:57:55] 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":897559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:57:55] local.INFO: GPS data processed {"connection_id":194106,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:57:55] local.INFO: Acknowledgment sent {"connection_id":194106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:57:59] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:59] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:57:59] local.INFO: IMEI packet received {"connection_id":194107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":194107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:57:59] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a6b58012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a6b58012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:57:59] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a6b58012d19ce00072019e8002c008e2b..."} 
[2026-09-25 20:57:59] local.INFO: Packet analysis {"connection_id":194107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:59] local.INFO: Extracted packet for processing {"connection_id":194107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544296,"longitude_deg":75.6665856,"latitude_deg":11.9544296,"altitude":44,"angle":142,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072019e8","is_valid_coordinates":true} 
[2026-09-25 20:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329551360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23215921732517888,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753933312,"note":"Value kept but may cause issues"} 
[2026-09-25 20:57: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-25 20:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790349831000,"timestamp_ms":1790349831000,"timestamp_seconds":1790349831,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a6b58"} 
[2026-09-25 20:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:57:59] 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-25 20:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 20:57:59] 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-25 20:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329551360001,"66":12385,"103":206,"83":41984,"24":0,"16":23215921732517888,"45":1859423726753933312},"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-25 20:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329551360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23215921732517888,"km_value":23215921732517.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753933312,"description":"Unknown IO ID 45"} 
[2026-09-25 20:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329551360001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753933312}} 
[2026-09-25 20:58:00] 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":897560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:00] local.INFO: GPS data processed {"connection_id":194107,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:00] local.INFO: Acknowledgment sent {"connection_id":194107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:06] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:06] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:06] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:58:06] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20: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-25 20:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20: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-25 20:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20: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-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:06] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:06] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:17] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:17] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:17] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:58:22] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:22] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:58:22] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:58:24] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:58:24] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92a05c8012d0b10c007029f10000f013d1f..."} 
[2026-09-25 20:58:24] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:58:24] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92a"} 
[2026-09-25 20:58:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20: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-25 20:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329473280001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:24] 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-25 20:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790349805000,"timestamp_ms":1790349805000,"timestamp_seconds":1790349805,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92a05c8"} 
[2026-09-25 20: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-25 20:58:24] 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-25 20:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 20:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20: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-25 20: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-25 20:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329473280001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329473280001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329473280001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:58:24] 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":897562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:24] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:24] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:25] local.INFO: TCP Data received {"connection_id":195447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:25] local.INFO: Processing buffer {"connection_id":195447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:25] local.INFO: IMEI packet received {"connection_id":195447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":195447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:58:29] local.INFO: TCP Data received {"connection_id":195447,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:29] local.INFO: Processing buffer {"connection_id":195447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:58:29] local.INFO: IMEI packet received {"connection_id":195447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":195447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:58:30] local.INFO: TCP Data received {"connection_id":195447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:30] local.INFO: Processing buffer {"connection_id":195447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:58:30] local.INFO: Packet analysis {"connection_id":195447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:58:30] local.INFO: Extracted packet for processing {"connection_id":195447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":195447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:30] local.INFO: GPS data processed {"connection_id":195447,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:30] local.INFO: Acknowledgment sent {"connection_id":195447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:30] local.INFO: TCP Data received {"connection_id":194107,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92dedc8012d19dc0007200600003000dc2a..."} 
[2026-09-25 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92dedc8012d19dc0007200600003000dc2a..."} 
[2026-09-25 20:58:30] local.INFO: Processing buffer {"connection_id":194107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92dedc8012d19dc0007200600003000dc2a..."} 
[2026-09-25 20:58:30] local.INFO: Packet analysis {"connection_id":194107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92d"} 
[2026-09-25 20:58:30] local.INFO: Extracted packet for processing {"connection_id":194107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92d"} 
[2026-09-25 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756669440,"raw_latitude":119539200,"longitude_deg":75.666944,"latitude_deg":11.95392,"altitude":48,"angle":220,"satellites":42,"speed":19,"hex_longitude":"2d19dc00","hex_latitude":"07200600","is_valid_coordinates":true} 
[2026-09-25 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329615360001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23216291099705344,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147562496,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:30] 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-25 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350061000,"timestamp_ms":1790350061000,"timestamp_seconds":1790350061,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92dedc8"} 
[2026-09-25 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-25 20:58:30] 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-25 20:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329615360001,"66":13439,"101":206,"83":41984,"24":19,"16":23216291099705344,"45":1863716220147562496},"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-25 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329615360001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23216291099705344,"km_value":23216291099705.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147562496,"description":"Unknown IO ID 45"} 
[2026-09-25 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329615360001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1863716220147562496}} 
[2026-09-25 20:58:31] 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":897564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:31] local.INFO: GPS data processed {"connection_id":194107,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:31] local.INFO: Acknowledgment sent {"connection_id":194107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:53] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:53] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:53] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:58:55] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:58:55] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:58:55] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:58:55] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:58: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-25 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:58:55] 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-25 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:58:55] 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-25 20:58: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-25 20:58: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-25 20:58: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-25 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:58: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":897565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:58:56] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:58:56] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:58:59] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:58:59] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:58:59] local.INFO: IMEI packet received {"connection_id":192578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":192578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:59:00] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92e0538012d19d4c0071ffe08003100ee2b..."} 
[2026-09-25 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92e0538012d19d4c0071ffe08003100ee2b..."} 
[2026-09-25 20:59:00] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92e0538012d19d4c0071ffe08003100ee2b..."} 
[2026-09-25 20:59:00] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:00] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119537160,"longitude_deg":75.6667584,"latitude_deg":11.953716,"altitude":49,"angle":238,"satellites":43,"speed":17,"hex_longitude":"2d19d4c0","hex_latitude":"071ffe08","is_valid_coordinates":true} 
[2026-09-25 20:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329615616001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23216428538658816,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863364376426577920,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790350067000,"timestamp_ms":1790350067000,"timestamp_seconds":1790350067,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92e0538"} 
[2026-09-25 20:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:00] 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-25 20: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-25 20: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-25 20:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59: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-25 20:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329615616001,"66":13124,"101":206,"83":41984,"24":17,"16":23216428538658816,"45":1863364376426577920},"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-25 20:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329615616001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23216428538658816,"km_value":23216428538658.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863364376426577920,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329615616001,"power":13124,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1863364376426577920}} 
[2026-09-25 20:59:00] 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":897566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:00] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:00] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:01] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92e18c0012d19cd80071ff900003100d22c..."} 
[2026-09-25 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92e18c0012d19cd80071ff900003100d22c..."} 
[2026-09-25 20:59:01] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92e18c0012d19cd80071ff900003100d22c..."} 
[2026-09-25 20:59:01] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:01] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535872,"longitude_deg":75.6665728,"latitude_deg":11.9535872,"altitude":49,"angle":210,"satellites":44,"speed":16,"hex_longitude":"2d19cd80","hex_latitude":"071ff900","is_valid_coordinates":true} 
[2026-09-25 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329617152001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23216535912841216,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682844903424,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790350072000,"timestamp_ms":1790350072000,"timestamp_seconds":1790350072,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92e18c0"} 
[2026-09-25 20:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59: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-25 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:01] 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-25 20:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59: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-25 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329617152001,"66":13472,"101":206,"83":41984,"24":16,"16":23216535912841216,"45":1861323682844903424},"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-25 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329617152001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23216535912841216,"km_value":23216535912841.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682844903424,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329617152001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1861323682844903424}} 
[2026-09-25 20:59:01] 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":897567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:01] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:01] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:02] local.INFO: TCP Data received {"connection_id":195447,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:02] local.INFO: Processing buffer {"connection_id":195447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:02] local.INFO: Packet analysis {"connection_id":195447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:59:02] local.INFO: Extracted packet for processing {"connection_id":195447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59: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-25 20:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 20:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:59: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-25 20:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":195447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:02] local.INFO: GPS data processed {"connection_id":195447,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:02] local.INFO: Acknowledgment sent {"connection_id":195447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:22] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:22] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:22] local.INFO: IMEI packet received {"connection_id":192730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 20:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":192730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:59:23] local.INFO: TCP Data received {"connection_id":195448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:59:23] local.INFO: Processing buffer {"connection_id":195448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 20:59:23] local.INFO: IMEI packet received {"connection_id":195448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 20:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":195448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:59:24] local.INFO: TCP Data received {"connection_id":195449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:24] local.INFO: Processing buffer {"connection_id":195449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:24] local.INFO: IMEI packet received {"connection_id":195449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 20:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":195449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:59:27] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:27] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 20:59:27] local.INFO: IMEI packet received {"connection_id":192730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 20:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":192730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:59:28] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:28] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:28] local.INFO: Packet analysis {"connection_id":192730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:28] local.INFO: Extracted packet for processing {"connection_id":192730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:28] 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-25 20:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 20:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:28] 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-25 20:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:28] 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-25 20:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:59:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:59:28] 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":897569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:28] local.INFO: GPS data processed {"connection_id":192730,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:28] local.INFO: Acknowledgment sent {"connection_id":192730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:29] local.INFO: TCP Data received {"connection_id":195449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:29] local.INFO: Processing buffer {"connection_id":195449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 20:59:29] local.INFO: IMEI packet received {"connection_id":195449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 20:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":195449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:59:30] local.INFO: TCP Data received {"connection_id":195449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:30] local.INFO: Processing buffer {"connection_id":195449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 20:59:30] local.INFO: Packet analysis {"connection_id":195449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:59:30] local.INFO: Extracted packet for processing {"connection_id":195449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 20:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 20:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 20:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 20:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 20:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 20:59:30] local.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-25 20:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 20:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 20:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 20:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 20:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 20:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 20:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 20:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 20:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":195449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:30] local.INFO: GPS data processed {"connection_id":195449,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:30] local.INFO: Acknowledgment sent {"connection_id":195449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:31] local.INFO: TCP Data received {"connection_id":192578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92eebb0012d198640071ff168003d00ff2a..."} 
[2026-09-25 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92eebb0012d198640071ff168003d00ff2a..."} 
[2026-09-25 20:59:31] local.INFO: Processing buffer {"connection_id":192578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92eebb0012d198640071ff168003d00ff2a..."} 
[2026-09-25 20:59:31] local.INFO: Packet analysis {"connection_id":192578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:31] local.INFO: Extracted packet for processing {"connection_id":192578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756647488,"raw_latitude":119533928,"longitude_deg":75.6647488,"latitude_deg":11.9533928,"altitude":61,"angle":255,"satellites":42,"speed":15,"hex_longitude":"2d198640","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-25 20:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329630208001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217463625777152,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842746334381213696,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59: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-25 20:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350126000,"timestamp_ms":1790350126000,"timestamp_seconds":1790350126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92eebb0"} 
[2026-09-25 20:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:31] 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-25 20:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329630208001,"66":13526,"102":206,"83":41984,"24":15,"16":23217463625777152,"45":1842746334381213696},"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-25 20:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329630208001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 20:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217463625777152,"km_value":23217463625777.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842746334381213696,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329630208001,"power":13526,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1842746334381213696}} 
[2026-09-25 20:59:32] 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":897571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:32] local.INFO: GPS data processed {"connection_id":192578,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:32] local.INFO: Acknowledgment sent {"connection_id":192578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:32] local.INFO: TCP Data received {"connection_id":192730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:32] local.INFO: Processing buffer {"connection_id":192730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 20:59:32] local.INFO: Packet analysis {"connection_id":192730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:32] local.INFO: Extracted packet for processing {"connection_id":192730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 20:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:32] 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-25 20:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 20:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:32] 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-25 20:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:32] 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-25 20:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 20:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 20:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 20:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 20:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 20:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 20:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 20:59:33] 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":897572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:33] local.INFO: GPS data processed {"connection_id":192730,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:33] local.INFO: Acknowledgment sent {"connection_id":192730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 20:59:53] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:53] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:53] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 20:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 20:59:59] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:59] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 20:59:59] local.INFO: IMEI packet received {"connection_id":192579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":192579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 20:59:59] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ef380012d198340071ff020003d00ea28..."} 
[2026-09-25 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ef380012d198340071ff020003d00ea28..."} 
[2026-09-25 20:59:59] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ef380012d198340071ff020003d00ea28..."} 
[2026-09-25 20:59:59] local.INFO: Packet analysis {"connection_id":192579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:59] local.INFO: Extracted packet for processing {"connection_id":192579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 20:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533600,"longitude_deg":75.664672,"latitude_deg":11.95336,"altitude":61,"angle":234,"satellites":40,"speed":16,"hex_longitude":"2d198340","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-25 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 20:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329632256001,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217502280482816,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839227897172289536,"note":"Value kept but may cause issues"} 
[2026-09-25 20:59: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-25 20:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350128000,"timestamp_ms":1790350128000,"timestamp_seconds":1790350128,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ef380"} 
[2026-09-25 20:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 20:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 20:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-25 20:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 20:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 20:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 20:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 20:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 20:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 20:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 20:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 20:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 20:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329632256001,"66":13428,"102":206,"83":41984,"24":16,"16":23217502280482816,"45":1839227897172289536},"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-25 20:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 20:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 20:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329632256001,"description":"Unknown IO ID 0"} 
[2026-09-25 20:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 20:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 20:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217502280482816,"km_value":23217502280482.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 20:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839227897172289536,"description":"Unknown IO ID 45"} 
[2026-09-25 20:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329632256001,"power":13428,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1839227897172289536}} 
[2026-09-25 20:59:59] 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":897573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 20:59:59] local.INFO: GPS data processed {"connection_id":192579,"processed":1,"errors":0,"total":1} 
[2026-09-25 20:59:59] local.INFO: Acknowledgment sent {"connection_id":192579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:01] local.INFO: TCP Data received {"connection_id":195449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:01] local.INFO: Processing buffer {"connection_id":195449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:01] local.INFO: Packet analysis {"connection_id":195449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:00:01] local.INFO: Extracted packet for processing {"connection_id":195449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00: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-25 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:00:01] local.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-25 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:00: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-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":195449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:01] local.INFO: GPS data processed {"connection_id":195449,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:01] local.INFO: Acknowledgment sent {"connection_id":195449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:03] local.INFO: TCP Data received {"connection_id":192731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:00:03] local.INFO: Processing buffer {"connection_id":192731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:00:03] local.INFO: IMEI packet received {"connection_id":192731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":192731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:00:17] local.INFO: TCP Data received {"connection_id":192580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:17] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:17] local.INFO: IMEI packet received {"connection_id":192580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":192580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:00:22] local.INFO: TCP Data received {"connection_id":192580,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:22] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:00:22] local.INFO: IMEI packet received {"connection_id":192580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":192580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:00:23] local.INFO: TCP Data received {"connection_id":192580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:23] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:23] local.INFO: Packet analysis {"connection_id":192580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:00:23] local.INFO: Extracted packet for processing {"connection_id":192580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:23] 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-25 21:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:23] 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-25 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:00: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-25 21:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:00:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":192580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:23] local.INFO: GPS data processed {"connection_id":192580,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:23] local.INFO: Acknowledgment sent {"connection_id":192580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:24] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:24] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:24] local.INFO: IMEI packet received {"connection_id":192581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":192581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:00:29] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:29] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:00:29] local.INFO: IMEI packet received {"connection_id":192581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":192581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:00:30] local.INFO: TCP Data received {"connection_id":192579,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f0320012d197d80071fed18003e01062b..."} 
[2026-09-25 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f0320012d197d80071fed18003e01062b..."} 
[2026-09-25 21:00:30] local.INFO: Processing buffer {"connection_id":192579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f0320012d197d80071fed18003e01062b..."} 
[2026-09-25 21:00:30] local.INFO: Packet analysis {"connection_id":192579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:00:30] local.INFO: Extracted packet for processing {"connection_id":192579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532824,"longitude_deg":75.6645248,"latitude_deg":11.9532824,"altitude":62,"angle":262,"satellites":43,"speed":16,"hex_longitude":"2d197d80","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-09-25 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329632768001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217579589894144,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242073600,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00: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-25 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350132000,"timestamp_ms":1790350132000,"timestamp_seconds":1790350132,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f0320"} 
[2026-09-25 21:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-25 21:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329632768001,"66":13004,"102":206,"83":41984,"24":16,"16":23217579589894144,"45":1838383472242073600},"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-25 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329632768001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217579589894144,"km_value":23217579589894.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242073600,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329632768001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1838383472242073600}} 
[2026-09-25 21:00:30] 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":897576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:30] local.INFO: GPS data processed {"connection_id":192579,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:30] local.INFO: Acknowledgment sent {"connection_id":192579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:30] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:30] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:00:30] local.INFO: Packet analysis {"connection_id":192581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:00:30] local.INFO: Extracted packet for processing {"connection_id":192581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 21:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:00:30] local.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-25 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:00:30] 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":897577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:30] local.INFO: GPS data processed {"connection_id":192581,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:30] local.INFO: Acknowledgment sent {"connection_id":192581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:54] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:54] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:54] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:00:54] local.INFO: TCP Data received {"connection_id":192580,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:54] local.INFO: Processing buffer {"connection_id":192580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:00:54] local.INFO: Packet analysis {"connection_id":192580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:00:54] local.INFO: Extracted packet for processing {"connection_id":192580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:54] 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-25 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:54] 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-25 21:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:00:54] 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-25 21:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:00:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":192580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:54] local.INFO: GPS data processed {"connection_id":192580,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:54] local.INFO: Acknowledgment sent {"connection_id":192580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:00:59] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:59] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:00:59] local.INFO: IMEI packet received {"connection_id":192582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":192582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:00:59] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f1e78012d197300071fed50003e01162b..."} 
[2026-09-25 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f1e78012d197300071fed50003e01162b..."} 
[2026-09-25 21:00:59] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f1e78012d197300071fed50003e01162b..."} 
[2026-09-25 21:00:59] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:00:59] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756642560,"raw_latitude":119532880,"longitude_deg":75.664256,"latitude_deg":11.953288,"altitude":62,"angle":278,"satellites":43,"speed":12,"hex_longitude":"2d197300","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-09-25 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329633792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217712733880320,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125788672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:00: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-25 21:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350139000,"timestamp_ms":1790350139000,"timestamp_seconds":1790350139,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f1e78"} 
[2026-09-25 21:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-25 21:00:59] 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-25 21:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329633792001,"66":13276,"102":206,"83":41984,"24":12,"16":23217712733880320,"45":1836764991125788672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329633792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217712733880320,"km_value":23217712733880.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125788672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329633792001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1836764991125788672}} 
[2026-09-25 21:00:59] 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":897579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:00:59] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:00:59] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:03] local.INFO: TCP Data received {"connection_id":192581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:01:03] local.INFO: Processing buffer {"connection_id":192581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92c9608012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:01:03] local.INFO: Packet analysis {"connection_id":192581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:01:03] local.INFO: Extracted packet for processing {"connection_id":192581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92c"} 
[2026-09-25 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329516032001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01: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-25 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790349973000,"timestamp_ms":1790349973000,"timestamp_seconds":1790349973,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92c9608"} 
[2026-09-25 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:01:03] local.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-25 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329516032001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329516032001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:01: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-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329516032001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:01:03] 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":897580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:03] local.INFO: GPS data processed {"connection_id":192581,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:03] local.INFO: Acknowledgment sent {"connection_id":192581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:19] local.INFO: TCP Data received {"connection_id":195450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:19] local.INFO: Processing buffer {"connection_id":195450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:19] local.INFO: IMEI packet received {"connection_id":195450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":195450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:01:23] local.INFO: TCP Data received {"connection_id":195450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195450,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:23] local.INFO: Processing buffer {"connection_id":195450,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:01:23] local.INFO: IMEI packet received {"connection_id":195450,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":195450,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:01:24] local.INFO: TCP Data received {"connection_id":195450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:24] local.INFO: Processing buffer {"connection_id":195450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:24] local.INFO: Packet analysis {"connection_id":195450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:24] local.INFO: Extracted packet for processing {"connection_id":195450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:24] 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-25 21:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:24] 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-25 21:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:24] 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-25 21:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:01:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":195450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:24] local.INFO: GPS data processed {"connection_id":195450,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:24] local.INFO: Acknowledgment sent {"connection_id":195450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:28] local.INFO: TCP Data received {"connection_id":195450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:28] local.INFO: Processing buffer {"connection_id":195450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:28] local.INFO: Packet analysis {"connection_id":195450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:28] local.INFO: Extracted packet for processing {"connection_id":195450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:28] 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-25 21:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:28] 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-25 21:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:28] 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-25 21:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:01:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":195450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:28] local.INFO: GPS data processed {"connection_id":195450,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:28] local.INFO: Acknowledgment sent {"connection_id":195450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:30] local.INFO: TCP Data received {"connection_id":192582,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f41a0012d196a40071fede0003f01052a..."} 
[2026-09-25 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f41a0012d196a40071fede0003f01052a..."} 
[2026-09-25 21:01:30] local.INFO: Processing buffer {"connection_id":192582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f41a0012d196a40071fede0003f01052a..."} 
[2026-09-25 21:01:30] local.INFO: Packet analysis {"connection_id":192582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:01:30] local.INFO: Extracted packet for processing {"connection_id":192582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756640320,"raw_latitude":119533024,"longitude_deg":75.664032,"latitude_deg":11.9533024,"altitude":63,"angle":261,"satellites":42,"speed":5,"hex_longitude":"2d196a40","hex_latitude":"071fede0","is_valid_coordinates":true} 
[2026-09-25 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329635584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217815813095424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833809503870341120,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01: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-25 21:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350148000,"timestamp_ms":1790350148000,"timestamp_seconds":1790350148,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f41a0"} 
[2026-09-25 21:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329635584001,"66":13243,"102":206,"83":41984,"24":5,"16":23217815813095424,"45":1833809503870341120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329635584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217815813095424,"km_value":23217815813095.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833809503870341120,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329635584001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1833809503870341120}} 
[2026-09-25 21:01:30] 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":897583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:30] local.INFO: GPS data processed {"connection_id":192582,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:30] local.INFO: Acknowledgment sent {"connection_id":192582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:54] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:54] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:54] local.INFO: IMEI packet received {"connection_id":192732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":192732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:01:59] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:59] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:01:59] local.INFO: IMEI packet received {"connection_id":192732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":192732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:01:59] local.INFO: TCP Data received {"connection_id":195450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:59] local.INFO: Processing buffer {"connection_id":195450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:01:59] local.INFO: Packet analysis {"connection_id":195450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:59] local.INFO: Extracted packet for processing {"connection_id":195450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:59] 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-25 21:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:59] 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-25 21:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:59] 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-25 21:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195450,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:01:59] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:01:59] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:01:59] local.INFO: Packet analysis {"connection_id":192732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:01:59] local.INFO: Extracted packet for processing {"connection_id":192732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533080,"longitude_deg":75.6640064,"latitude_deg":11.953308,"altitude":63,"angle":304,"satellites":42,"speed":6,"hex_longitude":"2d196940","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-25 21:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329637888001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824159744,"note":"Value kept but may cause issues"} 
[2026-09-25 21:01: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-25 21:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350150000,"timestamp_ms":1790350150000,"timestamp_seconds":1790350150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4970"} 
[2026-09-25 21:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:01:59] 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-25 21:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:01:59] 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-25 21:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329637888001,"66":13243,"102":206,"83":41984,"24":6,"16":23217828697997312,"45":1831346597824159744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329637888001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824159744,"description":"Unknown IO ID 45"} 
[2026-09-25 21:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329637888001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831346597824159744}} 
[2026-09-25 21:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":192732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:59] local.INFO: GPS data processed {"connection_id":192732,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:59] local.INFO: Acknowledgment sent {"connection_id":192732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:01:59] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:01:59] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:01:59] local.INFO: IMEI packet received {"connection_id":192733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":192733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":195450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:01:59] local.INFO: GPS data processed {"connection_id":195450,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:01:59] local.INFO: Acknowledgment sent {"connection_id":195450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:04] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:04] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:04] local.INFO: IMEI packet received {"connection_id":192733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":192733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:02:05] local.INFO: TCP Data received {"connection_id":192733,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:05] local.INFO: Processing buffer {"connection_id":192733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:05] local.INFO: Packet analysis {"connection_id":192733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:02:05] local.INFO: Extracted packet for processing {"connection_id":192733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 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-25 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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-25 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-25 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-25 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-25 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:02: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-25 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:02:05] 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":897586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:05] local.INFO: GPS data processed {"connection_id":192733,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:05] local.INFO: Acknowledgment sent {"connection_id":192733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:17] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:17] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:17] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:02:22] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:22] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:02:22] local.INFO: IMEI packet received {"connection_id":192584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":192584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:02:25] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:25] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:25] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:02:25] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:02:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:25] 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-25 21:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:02:25] 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-25 21:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:02:25] 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-25 21:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:02:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:02:25] 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":897587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:25] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:25] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:29] local.INFO: TCP Data received {"connection_id":195451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:29] local.INFO: Processing buffer {"connection_id":195451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:29] local.INFO: IMEI packet received {"connection_id":195451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":195451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:02:30] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:30] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:30] local.INFO: Packet analysis {"connection_id":192732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:02:30] local.INFO: Extracted packet for processing {"connection_id":192732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533080,"longitude_deg":75.6640064,"latitude_deg":11.953308,"altitude":63,"angle":304,"satellites":42,"speed":6,"hex_longitude":"2d196940","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-25 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638400001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847463424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02: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-25 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350150000,"timestamp_ms":1790350150000,"timestamp_seconds":1790350150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4970"} 
[2026-09-25 21:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-25 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638400001,"66":13243,"102":206,"83":41984,"24":6,"16":23217828697997312,"45":1831065122847463424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638400001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847463424,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638400001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831065122847463424}} 
[2026-09-25 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":192732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:30] local.INFO: GPS data processed {"connection_id":192732,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:30] local.INFO: Acknowledgment sent {"connection_id":192732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:35] local.INFO: TCP Data received {"connection_id":195451,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:35] local.INFO: Processing buffer {"connection_id":195451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:02:35] local.INFO: IMEI packet received {"connection_id":195451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":195451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:02:37] local.INFO: TCP Data received {"connection_id":195451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:37] local.INFO: Processing buffer {"connection_id":195451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:02:37] local.INFO: Packet analysis {"connection_id":195451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:02:37] local.INFO: Extracted packet for processing {"connection_id":195451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":195451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":195451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":195451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:02: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-25 21:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:02: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-25 21:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":195451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:37] local.INFO: GPS data processed {"connection_id":195451,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:37] local.INFO: Acknowledgment sent {"connection_id":195451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:54] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:54] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:54] local.INFO: IMEI packet received {"connection_id":192735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":192735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:02:56] local.INFO: TCP Data received {"connection_id":192584,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:56] local.INFO: Processing buffer {"connection_id":192584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:02:56] local.INFO: Packet analysis {"connection_id":192584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:02:56] local.INFO: Extracted packet for processing {"connection_id":192584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:02:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:02: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-25 21:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:56] 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-25 21:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:02:56] 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-25 21:02: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:02:56] 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-25 21:02: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-25 21:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:02:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:02:56] 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":897590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:56] local.INFO: GPS data processed {"connection_id":192584,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:56] local.INFO: Acknowledgment sent {"connection_id":192584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:02:59] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:59] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:02:59] local.INFO: IMEI packet received {"connection_id":192735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":192735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:02:59] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:59] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:02:59] local.INFO: Packet analysis {"connection_id":192735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:02:59] local.INFO: Extracted packet for processing {"connection_id":192735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533080,"longitude_deg":75.6640064,"latitude_deg":11.953308,"altitude":63,"angle":304,"satellites":42,"speed":6,"hex_longitude":"2d196940","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-25 21:02:59] 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-25 21:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638400001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847463424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:02: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-25 21:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350150000,"timestamp_ms":1790350150000,"timestamp_seconds":1790350150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4970"} 
[2026-09-25 21:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:02:59] 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-25 21:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:02:59] 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-25 21:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638400001,"66":13243,"102":206,"83":41984,"24":6,"16":23217828697997312,"45":1831065122847463424},"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-25 21:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638400001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847463424,"description":"Unknown IO ID 45"} 
[2026-09-25 21:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638400001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831065122847463424}} 
[2026-09-25 21:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":192735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:02:59] local.INFO: GPS data processed {"connection_id":192735,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:02:59] local.INFO: Acknowledgment sent {"connection_id":192735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:08] local.INFO: TCP Data received {"connection_id":195451,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:08] local.INFO: Processing buffer {"connection_id":195451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:08] local.INFO: Packet analysis {"connection_id":195451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:03:08] local.INFO: Extracted packet for processing {"connection_id":195451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21: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-25 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":195451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":195451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":195451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:03: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-25 21:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":195451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:03:08] local.INFO: GPS data processed {"connection_id":195451,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:03:08] local.INFO: Acknowledgment sent {"connection_id":195451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:18] local.INFO: TCP Data received {"connection_id":195452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:18] local.INFO: Processing buffer {"connection_id":195452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:18] local.INFO: IMEI packet received {"connection_id":195452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":195452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:03:22] local.INFO: TCP Data received {"connection_id":195452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:22] local.INFO: Processing buffer {"connection_id":195452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:03:22] local.INFO: IMEI packet received {"connection_id":195452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":195452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:03:23] local.INFO: TCP Data received {"connection_id":195452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:03:23] local.INFO: Processing buffer {"connection_id":195452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92ea178012d0b10c007029f10000b013d1e..."} 
[2026-09-25 21:03:23] local.INFO: Packet analysis {"connection_id":195452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:03:23] local.INFO: Extracted packet for processing {"connection_id":195452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92e"} 
[2026-09-25 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":11,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329550080001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:23] 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-25 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350107000,"timestamp_ms":1790350107000,"timestamp_seconds":1790350107,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92ea178"} 
[2026-09-25 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:03:23] 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-25 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:03: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-25 21:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329550080001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329550080001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:03:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329550080001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":195452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:03:23] local.INFO: GPS data processed {"connection_id":195452,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:03:23] local.INFO: Acknowledgment sent {"connection_id":195452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:24] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:24] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:24] local.INFO: IMEI packet received {"connection_id":194109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":194109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:03:29] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:29] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:03:29] local.INFO: IMEI packet received {"connection_id":194109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":194109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:03:31] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:31] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:03:31] local.INFO: Packet analysis {"connection_id":194109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:03:31] local.INFO: Extracted packet for processing {"connection_id":194109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03: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-25 21:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:03:31] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:03:31] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4970012d196940071fee18003f01302a..."} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:03:31] local.INFO: Packet analysis {"connection_id":192735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:03:31] local.INFO: Extracted packet for processing {"connection_id":192735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:03: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-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533080,"longitude_deg":75.6640064,"latitude_deg":11.953308,"altitude":63,"angle":304,"satellites":42,"speed":6,"hex_longitude":"2d196940","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-09-25 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638400001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847463424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03: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-25 21:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350150000,"timestamp_ms":1790350150000,"timestamp_seconds":1790350150,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4970"} 
[2026-09-25 21:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:03: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-25 21:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:03:31] 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-25 21:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638400001,"66":13243,"102":206,"83":41984,"24":6,"16":23217828697997312,"45":1831065122847463424},"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-25 21:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638400001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847463424,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638400001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831065122847463424}} 
[2026-09-25 21:03:31] 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":897594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:03:31] local.INFO: GPS data processed {"connection_id":194109,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:03:31] local.INFO: Acknowledgment sent {"connection_id":194109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":192735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:03:31] local.INFO: GPS data processed {"connection_id":192735,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:03:31] local.INFO: Acknowledgment sent {"connection_id":192735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:53] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:53] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:53] local.INFO: IMEI packet received {"connection_id":192736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":192736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:03:54] local.INFO: TCP Data received {"connection_id":195452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:03:54] local.INFO: Processing buffer {"connection_id":195452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:03:54] local.INFO: Packet analysis {"connection_id":195452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:03:54] local.INFO: Extracted packet for processing {"connection_id":195452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:54] 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-25 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:03:54] 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-25 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:03:54] 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-25 21:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:03:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":195452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:03:54] local.INFO: GPS data processed {"connection_id":195452,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:03:54] local.INFO: Acknowledgment sent {"connection_id":195452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:03:59] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:59] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:03:59] local.INFO: IMEI packet received {"connection_id":192736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":192736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:03:59] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:03:59] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:03:59] local.INFO: Packet analysis {"connection_id":192736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:03:59] local.INFO: Extracted packet for processing {"connection_id":192736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533176,"longitude_deg":75.6639936,"latitude_deg":11.9533176,"altitude":63,"angle":338,"satellites":42,"speed":5,"hex_longitude":"2d1968c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-09-25 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638400001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847463424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:03: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-25 21:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350151000,"timestamp_ms":1790350151000,"timestamp_seconds":1790350151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4d58"} 
[2026-09-25 21:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:03:59] 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-25 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:03:59] 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-25 21:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638400001,"66":3405,"102":206,"83":41984,"24":5,"16":23217828697997312,"45":1831065122847463424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638400001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847463424,"description":"Unknown IO ID 45"} 
[2026-09-25 21:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638400001,"power":3405,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1831065122847463424}} 
[2026-09-25 21:04:00] 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":897597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:00] local.INFO: GPS data processed {"connection_id":192736,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:00] local.INFO: Acknowledgment sent {"connection_id":192736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:03] local.INFO: TCP Data received {"connection_id":194109,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:03] local.INFO: Processing buffer {"connection_id":194109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:03] local.INFO: Packet analysis {"connection_id":194109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:04:03] local.INFO: Extracted packet for processing {"connection_id":194109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04: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-25 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:04: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-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:04:03] 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":897598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:03] local.INFO: GPS data processed {"connection_id":194109,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:03] local.INFO: Acknowledgment sent {"connection_id":194109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:17] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:17] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:17] local.INFO: IMEI packet received {"connection_id":192737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":192737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:04:22] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:22] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:04:22] local.INFO: IMEI packet received {"connection_id":192737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":192737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:04:23] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:23] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:23] local.INFO: Packet analysis {"connection_id":192737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:23] local.INFO: Extracted packet for processing {"connection_id":192737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:23] 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-25 21:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:04:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:04: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-25 21: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-25 21: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-25 21:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":192737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:23] local.INFO: GPS data processed {"connection_id":192737,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:23] local.INFO: Acknowledgment sent {"connection_id":192737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:29] local.INFO: TCP Data received {"connection_id":195453,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:29] local.INFO: Processing buffer {"connection_id":195453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:29] local.INFO: IMEI packet received {"connection_id":195453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":195453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:04:31] local.INFO: TCP Data received {"connection_id":192736,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:04:31] local.INFO: Processing buffer {"connection_id":192736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d92f4d58012d1968c0071fee78003f01522a..."} 
[2026-09-25 21:04:31] local.INFO: Packet analysis {"connection_id":192736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:04:31] local.INFO: Extracted packet for processing {"connection_id":192736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d92f"} 
[2026-09-25 21:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533176,"longitude_deg":75.6639936,"latitude_deg":11.9533176,"altitude":63,"angle":338,"satellites":42,"speed":5,"hex_longitude":"2d1968c0","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-09-25 21:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638400001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847463424,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04: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-25 21:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350151000,"timestamp_ms":1790350151000,"timestamp_seconds":1790350151,"priority":1,"record_length":96,"hex_timestamp":"000001a0d92f4d58"} 
[2026-09-25 21:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:04: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-25 21:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-25 21:04:31] 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-25 21:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638400001,"66":3405,"102":206,"83":41984,"24":5,"16":23217828697997312,"45":1831065122847463424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638400001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847463424,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638400001,"power":3405,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1831065122847463424}} 
[2026-09-25 21:04:31] 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":897600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:31] local.INFO: GPS data processed {"connection_id":192736,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:31] local.INFO: Acknowledgment sent {"connection_id":192736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:34] local.INFO: TCP Data received {"connection_id":195453,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:34] local.INFO: Processing buffer {"connection_id":195453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:04:34] local.INFO: IMEI packet received {"connection_id":195453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":195453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:04:36] local.INFO: TCP Data received {"connection_id":195453,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:36] local.INFO: Processing buffer {"connection_id":195453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:04:36] local.INFO: Packet analysis {"connection_id":195453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:04:36] local.INFO: Extracted packet for processing {"connection_id":195453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21: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-25 21:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":195453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:36] local.INFO: GPS data processed {"connection_id":195453,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:36] local.INFO: Acknowledgment sent {"connection_id":195453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:53] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:53] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:53] local.INFO: IMEI packet received {"connection_id":192587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":192587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:04:54] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:54] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:04:54] local.INFO: Packet analysis {"connection_id":192737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:54] local.INFO: Extracted packet for processing {"connection_id":192737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:54] 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-25 21:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:04:54] 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-25 21:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:04:54] 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-25 21:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:04:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":192737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897602,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:04:55] local.INFO: GPS data processed {"connection_id":192737,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:04:55] local.INFO: Acknowledgment sent {"connection_id":192737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:04:59] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:59] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:04:59] local.INFO: IMEI packet received {"connection_id":192587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":192587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:04:59] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:04:59] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:04:59] local.INFO: Packet analysis {"connection_id":192587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:59] local.INFO: Extracted packet for processing {"connection_id":192587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:04: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-25 21:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:05:00] 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":897603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:00] local.INFO: GPS data processed {"connection_id":192587,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:00] local.INFO: Acknowledgment sent {"connection_id":192587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:07] local.INFO: TCP Data received {"connection_id":195453,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:07] local.INFO: Processing buffer {"connection_id":195453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:07] local.INFO: Packet analysis {"connection_id":195453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:05:07] local.INFO: Extracted packet for processing {"connection_id":195453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21: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-25 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":195453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":195453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":195453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":195453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:07] local.INFO: GPS data processed {"connection_id":195453,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:07] local.INFO: Acknowledgment sent {"connection_id":195453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:18] local.INFO: TCP Data received {"connection_id":194110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:18] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:18] local.INFO: IMEI packet received {"connection_id":194110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":194110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:05:22] local.INFO: TCP Data received {"connection_id":194110,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:22] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:05:22] local.INFO: IMEI packet received {"connection_id":194110,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":194110,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:05:23] local.INFO: TCP Data received {"connection_id":194110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:23] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:23] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:23] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:23] 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-25 21:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:05:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:05: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-25 21: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-25 21: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-25 21:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:05:23] 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":897605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:23] local.INFO: GPS data processed {"connection_id":194110,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:23] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:25] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:25] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:25] local.INFO: IMEI packet received {"connection_id":192588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":192588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:05:28] local.INFO: TCP Data received {"connection_id":194110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:28] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:28] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:28] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:28] 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-25 21:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:28] 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-25 21: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-25 21: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-25 21:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:05:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:05:28] 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":897606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:28] local.INFO: GPS data processed {"connection_id":194110,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:28] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:28] local.INFO: TCP Data received {"connection_id":192738,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:05:28] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:05:28] local.INFO: IMEI packet received {"connection_id":192738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":192738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:05:29] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:29] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:05:29] local.INFO: IMEI packet received {"connection_id":192588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":192588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:05:30] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:30] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:05:30] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:05:30] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:05:30] 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":897607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:30] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:30] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:31] local.INFO: TCP Data received {"connection_id":192587,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:31] local.INFO: Processing buffer {"connection_id":192587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:31] local.INFO: Packet analysis {"connection_id":192587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:31] local.INFO: Extracted packet for processing {"connection_id":192587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 21:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 21:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 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-25 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:05:31] 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":897608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:31] local.INFO: GPS data processed {"connection_id":192587,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:31] local.INFO: Acknowledgment sent {"connection_id":192587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:54] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:54] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:54] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:05:59] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:59] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:05:59] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:05:59] local.INFO: TCP Data received {"connection_id":194110,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:59] local.INFO: Processing buffer {"connection_id":194110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:05:59] local.INFO: Packet analysis {"connection_id":194110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:59] local.INFO: Extracted packet for processing {"connection_id":194110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:59] 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-25 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:05:59] 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-25 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:59] 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-25 21:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194110,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:05:59] 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":897609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:05:59] local.INFO: GPS data processed {"connection_id":194110,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:05:59] local.INFO: Acknowledgment sent {"connection_id":194110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:05:59] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:59] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:05:59] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:59] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:05: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-25 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"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-25 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:06:00] 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":897610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:00] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:00] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:01] local.INFO: TCP Data received {"connection_id":192588,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:01] local.INFO: Processing buffer {"connection_id":192588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:01] local.INFO: Packet analysis {"connection_id":192588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:06:01] local.INFO: Extracted packet for processing {"connection_id":192588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06: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-25 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:06: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-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:06:02] 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":897611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:02] local.INFO: GPS data processed {"connection_id":192588,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:02] local.INFO: Acknowledgment sent {"connection_id":192588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:03] local.INFO: TCP Data received {"connection_id":192589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:06:03] local.INFO: Processing buffer {"connection_id":192589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:06:03] local.INFO: IMEI packet received {"connection_id":192589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":192589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:06:17] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:17] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:17] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:06:23] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:23] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:06:23] local.INFO: IMEI packet received {"connection_id":192590,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":192590,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:06:24] local.INFO: TCP Data received {"connection_id":195454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:24] local.INFO: Processing buffer {"connection_id":195454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:24] local.INFO: IMEI packet received {"connection_id":195454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":195454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:06:24] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:24] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:24] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:24] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:06: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-25 21:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:24] 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-25 21:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:06:24] 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-25 21:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:24] 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-25 21:06: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-25 21:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:06:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:06:25] 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":897612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:25] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:25] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:29] local.INFO: TCP Data received {"connection_id":195454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:29] local.INFO: Processing buffer {"connection_id":195454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:06:29] local.INFO: IMEI packet received {"connection_id":195454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":195454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:06:30] local.INFO: TCP Data received {"connection_id":195454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:30] local.INFO: Processing buffer {"connection_id":195454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9312dd0012d34c14006aa49080004006e2d..."} 
[2026-09-25 21:06:30] local.INFO: Packet analysis {"connection_id":195454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:06:30] local.INFO: Extracted packet for processing {"connection_id":195454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d931"} 
[2026-09-25 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329593088001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350274000,"timestamp_ms":1790350274000,"timestamp_seconds":1790350274,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9312dd0"} 
[2026-09-25 21: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-25 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329593088001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329593088001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329593088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":195454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:30] local.INFO: GPS data processed {"connection_id":195454,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:30] local.INFO: Acknowledgment sent {"connection_id":195454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:31] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:31] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:31] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:31] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21: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-25 21:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"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-25 21:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:06:31] 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":897614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:31] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:31] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:54] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:54] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:54] local.INFO: IMEI packet received {"connection_id":194111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":194111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:06:56] local.INFO: TCP Data received {"connection_id":192590,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:56] local.INFO: Processing buffer {"connection_id":192590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:06:56] local.INFO: Packet analysis {"connection_id":192590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:56] local.INFO: Extracted packet for processing {"connection_id":192590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:56] 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-25 21:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:06:56] 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-25 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:56] 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-25 21:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192590,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:06:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:06:56] 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":897615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:56] local.INFO: GPS data processed {"connection_id":192590,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:56] local.INFO: Acknowledgment sent {"connection_id":192590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:06:59] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:59] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:06:59] local.INFO: IMEI packet received {"connection_id":194111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":194111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:06:59] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:59] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:06:59] local.INFO: Packet analysis {"connection_id":194111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:59] local.INFO: Extracted packet for processing {"connection_id":194111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:06: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-25 21:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:06:59] 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":897616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:06:59] local.INFO: GPS data processed {"connection_id":194111,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:06:59] local.INFO: Acknowledgment sent {"connection_id":194111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:02] local.INFO: TCP Data received {"connection_id":195454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:02] local.INFO: Processing buffer {"connection_id":195454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:02] local.INFO: Packet analysis {"connection_id":195454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:07:02] local.INFO: Extracted packet for processing {"connection_id":195454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21: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-25 21:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":195454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:02] local.INFO: GPS data processed {"connection_id":195454,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:02] local.INFO: Acknowledgment sent {"connection_id":195454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:18] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:18] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:18] local.INFO: IMEI packet received {"connection_id":192591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":192591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:07:22] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:22] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:07:22] local.INFO: IMEI packet received {"connection_id":192591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":192591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:07:23] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:23] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:23] local.INFO: Packet analysis {"connection_id":192591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:23] local.INFO: Extracted packet for processing {"connection_id":192591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:23] 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-25 21:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:07:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:07: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-25 21: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-25 21: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-25 21:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":192591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:23] local.INFO: GPS data processed {"connection_id":192591,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:23] local.INFO: Acknowledgment sent {"connection_id":192591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:24] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:24] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:24] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:07:29] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:29] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:07:29] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:07:31] local.INFO: TCP Data received {"connection_id":194111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:31] local.INFO: Processing buffer {"connection_id":194111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:31] local.INFO: Packet analysis {"connection_id":194111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:31] local.INFO: Extracted packet for processing {"connection_id":194111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07: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-25 21:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:07:31] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:31] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:07:31] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:07:31] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07: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-25 21:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:07: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-25 21:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:07:31] 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":897619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:31] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:31] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:31] 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":897620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:31] local.INFO: GPS data processed {"connection_id":194111,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:31] local.INFO: Acknowledgment sent {"connection_id":194111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:54] local.INFO: TCP Data received {"connection_id":192741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:54] local.INFO: Processing buffer {"connection_id":192741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:54] local.INFO: IMEI packet received {"connection_id":192741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":192741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:07:54] local.INFO: TCP Data received {"connection_id":192591,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:54] local.INFO: Processing buffer {"connection_id":192591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:07:54] local.INFO: Packet analysis {"connection_id":192591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:54] local.INFO: Extracted packet for processing {"connection_id":192591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:54] 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-25 21:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:07:54] 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-25 21: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:07:54] 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-25 21:07: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-25 21: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-25 21:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":192591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:54] local.INFO: GPS data processed {"connection_id":192591,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:54] local.INFO: Acknowledgment sent {"connection_id":192591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:07:59] local.INFO: TCP Data received {"connection_id":192741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:59] local.INFO: Processing buffer {"connection_id":192741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:07:59] local.INFO: IMEI packet received {"connection_id":192741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":192741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:07:59] local.INFO: TCP Data received {"connection_id":192741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:59] local.INFO: Processing buffer {"connection_id":192741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:07:59] local.INFO: Packet analysis {"connection_id":192741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:59] local.INFO: Extracted packet for processing {"connection_id":192741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:07: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-25 21:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21: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-25 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":192741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:07:59] local.INFO: GPS data processed {"connection_id":192741,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:07:59] local.INFO: Acknowledgment sent {"connection_id":192741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:02] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:02] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:02] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:02] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08: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-25 21:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:08: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-25 21:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:08:02] 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":897623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:02] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:02] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:17] local.INFO: TCP Data received {"connection_id":195456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:17] local.INFO: Processing buffer {"connection_id":195456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:17] local.INFO: IMEI packet received {"connection_id":195456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":195456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:08:22] local.INFO: TCP Data received {"connection_id":195456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:22] local.INFO: Processing buffer {"connection_id":195456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:08:22] local.INFO: IMEI packet received {"connection_id":195456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":195456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:08:26] local.INFO: TCP Data received {"connection_id":195456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:08:26] local.INFO: Processing buffer {"connection_id":195456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9333558012d0b10c007029f10000a013d1c..."} 
[2026-09-25 21:08:26] local.INFO: Packet analysis {"connection_id":195456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:26] local.INFO: Extracted packet for processing {"connection_id":195456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329627392001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:26] 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-25 21:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790350407000,"timestamp_ms":1790350407000,"timestamp_seconds":1790350407,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9333558"} 
[2026-09-25 21: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-25 21:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:08: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-25 21: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-25 21: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-25 21:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329627392001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329627392001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329627392001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":195456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:27] local.INFO: GPS data processed {"connection_id":195456,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:27] local.INFO: Acknowledgment sent {"connection_id":195456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:29] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:29] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:29] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:08:30] local.INFO: TCP Data received {"connection_id":192741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:30] local.INFO: Processing buffer {"connection_id":192741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:30] local.INFO: Packet analysis {"connection_id":192741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:30] local.INFO: Extracted packet for processing {"connection_id":192741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08: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-25 21:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21: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-25 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":192741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:30] local.INFO: GPS data processed {"connection_id":192741,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:30] local.INFO: Acknowledgment sent {"connection_id":192741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:34] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:34] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:08:34] local.INFO: IMEI packet received {"connection_id":192592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":192592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:08:36] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:36] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:36] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:36] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:08:36] 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":897626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:36] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:36] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:40] local.INFO: TCP Data received {"connection_id":192592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:40] local.INFO: Processing buffer {"connection_id":192592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:08:40] local.INFO: Packet analysis {"connection_id":192592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:40] local.INFO: Extracted packet for processing {"connection_id":192592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21: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-25 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:08: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":897627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:40] local.INFO: GPS data processed {"connection_id":192592,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:40] local.INFO: Acknowledgment sent {"connection_id":192592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:53] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:53] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:53] local.INFO: IMEI packet received {"connection_id":194113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":194113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:08:59] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:59] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:08:59] local.INFO: IMEI packet received {"connection_id":194113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":194113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:08:59] local.INFO: TCP Data received {"connection_id":195456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:08:59] local.INFO: Processing buffer {"connection_id":195456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:08:59] local.INFO: Packet analysis {"connection_id":195456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:08:59] local.INFO: Extracted packet for processing {"connection_id":195456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:59] 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-25 21:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:08:59] 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-25 21:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:59] 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-25 21:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":195456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:59] local.INFO: GPS data processed {"connection_id":195456,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:59] local.INFO: Acknowledgment sent {"connection_id":195456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:08:59] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:59] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:08:59] local.INFO: Packet analysis {"connection_id":194113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:59] local.INFO: Extracted packet for processing {"connection_id":194113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:08: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-25 21:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"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-25 21:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:08:59] 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":897629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:08:59] local.INFO: GPS data processed {"connection_id":194113,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:08:59] local.INFO: Acknowledgment sent {"connection_id":194113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:09:17] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:17] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:17] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:09:22] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:22] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:09:22] local.INFO: IMEI packet received {"connection_id":192593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":192593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:09:23] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:23] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:23] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:09:23] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:23] 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-25 21:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21: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-25 21:09:23] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:09: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-25 21: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-25 21: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-25 21:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:09:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:09:23] 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":897630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:09:23] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:09:23] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:09:24] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:24] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:24] local.INFO: IMEI packet received {"connection_id":192742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":192742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:09:29] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:29] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:09:29] local.INFO: IMEI packet received {"connection_id":192742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:09:30] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:09:30] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:09:30] local.INFO: Packet analysis {"connection_id":192742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:09:30] local.INFO: Extracted packet for processing {"connection_id":192742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:09:30] local.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-25 21:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:09:30] 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":897631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:09:30] local.INFO: GPS data processed {"connection_id":192742,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:09:30] local.INFO: Acknowledgment sent {"connection_id":192742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:09:30] local.INFO: TCP Data received {"connection_id":194113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:09:30] local.INFO: Processing buffer {"connection_id":194113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d933e138012d1969c0071ff170003f015229..."} 
[2026-09-25 21:09:30] local.INFO: Packet analysis {"connection_id":194113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:09:30] local.INFO: Extracted packet for processing {"connection_id":194113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d933"} 
[2026-09-25 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329638656001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359132672,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09: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-25 21:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350451000,"timestamp_ms":1790350451000,"timestamp_seconds":1790350451,"priority":1,"record_length":96,"hex_timestamp":"000001a0d933e138"} 
[2026-09-25 21:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-25 21:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329638656001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1830924385359132672},"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-25 21:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329638656001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359132672,"description":"Unknown IO ID 45"} 
[2026-09-25 21:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329638656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359132672}} 
[2026-09-25 21:09:31] 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":897632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:09:31] local.INFO: GPS data processed {"connection_id":194113,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:09:31] local.INFO: Acknowledgment sent {"connection_id":194113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:09:53] local.INFO: TCP Data received {"connection_id":194114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:53] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:53] local.INFO: IMEI packet received {"connection_id":194114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":194114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:09:54] local.INFO: TCP Data received {"connection_id":192593,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:54] local.INFO: Processing buffer {"connection_id":192593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:09:54] local.INFO: Packet analysis {"connection_id":192593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:09:54] local.INFO: Extracted packet for processing {"connection_id":192593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:54] 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-25 21:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:09:54] 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-25 21:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:09:54] 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-25 21:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:09:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:09:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:09:54] 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":897633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:09:54] local.INFO: GPS data processed {"connection_id":192593,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:09:54] local.INFO: Acknowledgment sent {"connection_id":192593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:09:59] local.INFO: TCP Data received {"connection_id":194114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:59] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:09:59] local.INFO: IMEI packet received {"connection_id":194114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":194114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:09:59] local.INFO: TCP Data received {"connection_id":194114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:09:59] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:09:59] local.INFO: Packet analysis {"connection_id":194114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:09:59] local.INFO: Extracted packet for processing {"connection_id":194114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:09: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-25 21:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:09:59] 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-25 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":194114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:09:59] local.INFO: GPS data processed {"connection_id":194114,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:09:59] local.INFO: Acknowledgment sent {"connection_id":194114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:02] local.INFO: TCP Data received {"connection_id":192742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:02] local.INFO: Processing buffer {"connection_id":192742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:02] local.INFO: Packet analysis {"connection_id":192742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:10:02] local.INFO: Extracted packet for processing {"connection_id":192742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10: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-25 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:10:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:10: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-25 21:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:10:02] 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":897635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:02] local.INFO: GPS data processed {"connection_id":192742,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:02] local.INFO: Acknowledgment sent {"connection_id":192742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:19] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:19] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:19] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:10:22] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:22] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:10:22] local.INFO: IMEI packet received {"connection_id":192594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":192594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:10:23] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:23] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:23] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:23] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:23] 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-25 21:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:10:23] 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-25 21:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:10: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-25 21:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:10:23] 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":897636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:23] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:23] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:24] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:24] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:24] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:10:27] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:27] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:27] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:27] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:27] 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-25 21:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21: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-25 21:10: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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:27] 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-25 21:10: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-25 21: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-25 21:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:10:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:10:28] 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":897637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:28] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:28] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:29] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:29] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:10:29] local.INFO: IMEI packet received {"connection_id":192595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":192595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:10:30] local.INFO: TCP Data received {"connection_id":194114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:30] local.INFO: Processing buffer {"connection_id":194114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:30] local.INFO: Packet analysis {"connection_id":194114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:10:30] local.INFO: Extracted packet for processing {"connection_id":194114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10: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-25 21:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":194114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:31] local.INFO: GPS data processed {"connection_id":194114,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:31] local.INFO: Acknowledgment sent {"connection_id":194114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:35] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:35] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:10:35] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:10:35] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21: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-25 21:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:10: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-25 21:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:10: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":897639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:35] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:35] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:54] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:54] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:54] local.INFO: IMEI packet received {"connection_id":192743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":192743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:10:59] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:59] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:10:59] local.INFO: IMEI packet received {"connection_id":192743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":192743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:10:59] local.INFO: TCP Data received {"connection_id":192594,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:59] local.INFO: Processing buffer {"connection_id":192594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:10:59] local.INFO: Packet analysis {"connection_id":192594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:59] local.INFO: Extracted packet for processing {"connection_id":192594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:59] 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-25 21:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:10:59] 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-25 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:59] 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-25 21:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:10:59] 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":897640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:59] local.INFO: GPS data processed {"connection_id":192594,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:59] local.INFO: Acknowledgment sent {"connection_id":192594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:10:59] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:59] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:10:59] local.INFO: Packet analysis {"connection_id":192743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:10:59] local.INFO: Extracted packet for processing {"connection_id":192743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:10: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-25 21:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:10:59] 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-25 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":192743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:10:59] local.INFO: GPS data processed {"connection_id":192743,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:10:59] local.INFO: Acknowledgment sent {"connection_id":192743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:07] local.INFO: TCP Data received {"connection_id":192595,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:07] local.INFO: Processing buffer {"connection_id":192595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:07] local.INFO: Packet analysis {"connection_id":192595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:11:07] local.INFO: Extracted packet for processing {"connection_id":192595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:11:07] 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":897642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:11:07] local.INFO: GPS data processed {"connection_id":192595,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:11:07] local.INFO: Acknowledgment sent {"connection_id":192595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:17] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:17] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:17] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:11:22] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:22] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:11:22] local.INFO: IMEI packet received {"connection_id":192596,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":192596,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:11:23] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:23] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:23] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:11:23] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:11: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-25 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:23] 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-25 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:11:23] 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-25 21:11: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-25 21:11: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-25 21:11: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-25 21:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:11: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":897643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:11:23] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:11:23] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:24] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:24] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:24] local.INFO: IMEI packet received {"connection_id":192597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":192597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:11:29] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:29] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:11:29] local.INFO: IMEI packet received {"connection_id":192597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:11:30] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:30] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d935c598012d34c14006aa49080001006e2e..."} 
[2026-09-25 21:11:30] local.INFO: Packet analysis {"connection_id":192597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:11:30] local.INFO: Extracted packet for processing {"connection_id":192597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d935"} 
[2026-09-25 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329670144001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350575000,"timestamp_ms":1790350575000,"timestamp_seconds":1790350575,"priority":1,"record_length":96,"hex_timestamp":"000001a0d935c598"} 
[2026-09-25 21: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-25 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:11:30] local.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-25 21:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329670144001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329670144001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329670144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:11:30] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:30] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:30] local.INFO: Packet analysis {"connection_id":192743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:11:30] local.INFO: Extracted packet for processing {"connection_id":192743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11: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-25 21:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21: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-25 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":192597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:11:30] local.INFO: GPS data processed {"connection_id":192597,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:11:30] local.INFO: Acknowledgment sent {"connection_id":192597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":192743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:11:30] local.INFO: GPS data processed {"connection_id":192743,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:11:30] local.INFO: Acknowledgment sent {"connection_id":192743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:33] local.INFO: TCP Data received {"connection_id":195458,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:11:33] local.INFO: Processing buffer {"connection_id":195458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:11:33] local.INFO: IMEI packet received {"connection_id":195458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":195458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:11:54] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:54] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:54] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:11:54] local.INFO: TCP Data received {"connection_id":192596,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:54] local.INFO: Processing buffer {"connection_id":192596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:11:54] local.INFO: Packet analysis {"connection_id":192596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:11:54] local.INFO: Extracted packet for processing {"connection_id":192596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:54] 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-25 21:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:11:54] 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-25 21:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:11:54] 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-25 21:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192596,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:11:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:11:55] 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":897646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:11:55] local.INFO: GPS data processed {"connection_id":192596,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:11:55] local.INFO: Acknowledgment sent {"connection_id":192596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:11:59] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:59] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:11:59] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:11:59] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:59] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:11:59] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:11:59] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:11: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-25 21:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:11:59] 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-25 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:12:00] 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":897647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:00] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:00] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:02] local.INFO: TCP Data received {"connection_id":192597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:02] local.INFO: Processing buffer {"connection_id":192597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:02] local.INFO: Packet analysis {"connection_id":192597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:12:02] local.INFO: Extracted packet for processing {"connection_id":192597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12: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-25 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:12:02] local.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-25 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:12: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-25 21:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":192597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:02] local.INFO: GPS data processed {"connection_id":192597,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:02] local.INFO: Acknowledgment sent {"connection_id":192597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:03] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:12:03] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:12:03] local.INFO: IMEI packet received {"connection_id":192745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":192745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:12:17] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:17] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:17] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:12:22] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:22] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:12:22] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:12:23] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:23] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:23] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:12:23] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:23] 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-25 21:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:23] 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-25 21:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:12: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-25 21:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:12:23] 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":897649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:23] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:23] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:24] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:24] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:24] local.INFO: IMEI packet received {"connection_id":194116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":194116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:12:29] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:29] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:12:29] local.INFO: IMEI packet received {"connection_id":194116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":194116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:12:31] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:31] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:31] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:12:31] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12: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-25 21:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:31] 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-25 21:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:12: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-25 21:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:12:31] 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":897650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:31] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:31] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:31] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:31] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:12:31] local.INFO: Packet analysis {"connection_id":194116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:12:31] local.INFO: Extracted packet for processing {"connection_id":194116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12: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-25 21:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:12:31] local.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-25 21:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:12: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-25 21:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:12:31] 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":897651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:31] local.INFO: GPS data processed {"connection_id":194116,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:31] local.INFO: Acknowledgment sent {"connection_id":194116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:53] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:53] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:53] local.INFO: IMEI packet received {"connection_id":192598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":192598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:12:54] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:54] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:12:54] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:12:54] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:12:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:54] 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-25 21:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:54] 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-25 21:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:12:54] 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-25 21:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:12:54] 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":897652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:54] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:54] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:12:59] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:59] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:12:59] local.INFO: IMEI packet received {"connection_id":192598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":192598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:12:59] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:59] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:12:59] local.INFO: Packet analysis {"connection_id":192598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:12:59] local.INFO: Extracted packet for processing {"connection_id":192598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:12: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-25 21:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:12:59] 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-25 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":192598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:12:59] local.INFO: GPS data processed {"connection_id":192598,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:12:59] local.INFO: Acknowledgment sent {"connection_id":192598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:02] local.INFO: TCP Data received {"connection_id":194116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:02] local.INFO: Processing buffer {"connection_id":194116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:02] local.INFO: Packet analysis {"connection_id":194116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:02] local.INFO: Extracted packet for processing {"connection_id":194116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13: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-25 21:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13:02] local.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-25 21:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:13: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-25 21:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:13:02] 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":897654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:02] local.INFO: GPS data processed {"connection_id":194116,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:02] local.INFO: Acknowledgment sent {"connection_id":194116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:22] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:22] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:22] local.INFO: IMEI packet received {"connection_id":192599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":192599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:13:27] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:27] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:13:27] local.INFO: IMEI packet received {"connection_id":192599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":192599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:13:28] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:13:28] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d937cd20012d0b10c007029f10000a013d1d..."} 
[2026-09-25 21:13:28] local.INFO: Packet analysis {"connection_id":192599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:13:28] local.INFO: Extracted packet for processing {"connection_id":192599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d937"} 
[2026-09-25 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329704192001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:28] 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-25 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790350708000,"timestamp_ms":1790350708000,"timestamp_seconds":1790350708,"priority":1,"record_length":96,"hex_timestamp":"000001a0d937cd20"} 
[2026-09-25 21:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:28] 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-25 21:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329704192001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329704192001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329704192001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":192599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:28] local.INFO: GPS data processed {"connection_id":192599,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:28] local.INFO: Acknowledgment sent {"connection_id":192599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:29] local.INFO: TCP Data received {"connection_id":195459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:29] local.INFO: Processing buffer {"connection_id":195459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:29] local.INFO: IMEI packet received {"connection_id":195459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":195459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:13:30] local.INFO: TCP Data received {"connection_id":192598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:30] local.INFO: Processing buffer {"connection_id":192598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:30] local.INFO: Packet analysis {"connection_id":192598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:13:30] local.INFO: Extracted packet for processing {"connection_id":192598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13: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-25 21:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:13:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":192598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:30] local.INFO: GPS data processed {"connection_id":192598,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:30] local.INFO: Acknowledgment sent {"connection_id":192598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:31] local.INFO: TCP Data received {"connection_id":192599,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:13:31] local.INFO: Processing buffer {"connection_id":192599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:13:31] local.INFO: Packet analysis {"connection_id":192599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:13:31] local.INFO: Extracted packet for processing {"connection_id":192599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:13:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:31] 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-25 21:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21: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-25 21:13: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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:13: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-25 21: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-25 21: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-25 21:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:13:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":192599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:32] local.INFO: GPS data processed {"connection_id":192599,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:32] local.INFO: Acknowledgment sent {"connection_id":192599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:34] local.INFO: TCP Data received {"connection_id":195459,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:34] local.INFO: Processing buffer {"connection_id":195459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:13:34] local.INFO: IMEI packet received {"connection_id":195459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":195459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:13:36] local.INFO: TCP Data received {"connection_id":195459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:36] local.INFO: Processing buffer {"connection_id":195459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:36] local.INFO: Packet analysis {"connection_id":195459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:36] local.INFO: Extracted packet for processing {"connection_id":195459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21: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-25 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13: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-25 21:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":195459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:36] local.INFO: GPS data processed {"connection_id":195459,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:36] local.INFO: Acknowledgment sent {"connection_id":195459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:41] local.INFO: TCP Data received {"connection_id":195459,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:41] local.INFO: Processing buffer {"connection_id":195459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:13:41] local.INFO: Packet analysis {"connection_id":195459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:41] local.INFO: Extracted packet for processing {"connection_id":195459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21: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-25 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":195459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":195459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":195459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:13: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-25 21:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":195459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:41] local.INFO: GPS data processed {"connection_id":195459,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:41] local.INFO: Acknowledgment sent {"connection_id":195459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:13:53] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:53] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:53] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:13:59] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:59] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:13:59] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:13:59] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:59] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:13:59] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:13:59] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:13: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-25 21:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:13:59] 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-25 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:13:59] 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":897660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:13:59] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:13:59] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:14:17] local.INFO: TCP Data received {"connection_id":194117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:17] local.INFO: Processing buffer {"connection_id":194117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:17] local.INFO: IMEI packet received {"connection_id":194117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":194117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:14:22] local.INFO: TCP Data received {"connection_id":194117,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194117,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:22] local.INFO: Processing buffer {"connection_id":194117,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:14:22] local.INFO: IMEI packet received {"connection_id":194117,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":194117,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:14:23] local.INFO: TCP Data received {"connection_id":194117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:23] local.INFO: Processing buffer {"connection_id":194117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:23] local.INFO: Packet analysis {"connection_id":194117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:14:23] local.INFO: Extracted packet for processing {"connection_id":194117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:23] 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-25 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21: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-25 21:14:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:14: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-25 21: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-25 21: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-25 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":194117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:14:23] local.INFO: GPS data processed {"connection_id":194117,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:14:23] local.INFO: Acknowledgment sent {"connection_id":194117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:14:24] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:24] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:24] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:14:29] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:29] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:14:29] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:14:30] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:14:30] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9387900012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:14:30] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:14:30] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d938"} 
[2026-09-25 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329715456001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14: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-25 21:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350752000,"timestamp_ms":1790350752000,"timestamp_seconds":1790350752,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9387900"} 
[2026-09-25 21:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329715456001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329715456001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:14:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329715456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:14:31] 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":897662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:14:31] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:14:31] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:14:31] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:14:31] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:14:31] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:14:31] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14: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-25 21:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21: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-25 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:14:31] local.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-25 21:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:14:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:14:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:14: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-25 21:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:14:31] 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":897663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:14:31] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:14:31] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:14:55] local.INFO: TCP Data received {"connection_id":194117,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:55] local.INFO: Processing buffer {"connection_id":194117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:14:55] local.INFO: Packet analysis {"connection_id":194117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:14:55] local.INFO: Extracted packet for processing {"connection_id":194117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:14:55] 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-25 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:14:55] 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-25 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:14: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-25 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194117,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":194117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:14:55] local.INFO: GPS data processed {"connection_id":194117,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:14:55] local.INFO: Acknowledgment sent {"connection_id":194117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:14:59] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:14:59] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:14:59] local.INFO: IMEI packet received {"connection_id":194118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":194118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:15:03] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:03] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:03] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:15:03] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15: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-25 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:15: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-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:15:03] 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":897665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:03] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:03] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:04] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:04] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:04] local.INFO: IMEI packet received {"connection_id":194118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":194118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:15:04] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:04] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:04] local.INFO: Packet analysis {"connection_id":194118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:04] local.INFO: Extracted packet for processing {"connection_id":194118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:04] 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-25 21:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:15:04] 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":897666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:04] local.INFO: GPS data processed {"connection_id":194118,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:04] local.INFO: Acknowledgment sent {"connection_id":194118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:09] local.INFO: TCP Data received {"connection_id":194118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:09] local.INFO: Processing buffer {"connection_id":194118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:09] local.INFO: Packet analysis {"connection_id":194118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:09] local.INFO: Extracted packet for processing {"connection_id":194118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15: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-25 21:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:15: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":897667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:09] local.INFO: GPS data processed {"connection_id":194118,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:09] local.INFO: Acknowledgment sent {"connection_id":194118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:17] local.INFO: TCP Data received {"connection_id":195460,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:17] local.INFO: Processing buffer {"connection_id":195460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:17] local.INFO: IMEI packet received {"connection_id":195460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":195460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:15:22] local.INFO: TCP Data received {"connection_id":195460,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:22] local.INFO: Processing buffer {"connection_id":195460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:15:22] local.INFO: IMEI packet received {"connection_id":195460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":195460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:15:23] local.INFO: TCP Data received {"connection_id":195460,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:23] local.INFO: Processing buffer {"connection_id":195460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:23] local.INFO: Packet analysis {"connection_id":195460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:15:23] local.INFO: Extracted packet for processing {"connection_id":195460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:23] 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-25 21:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:23] 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-25 21:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:15: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-25 21:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":195460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:23] local.INFO: GPS data processed {"connection_id":195460,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:23] local.INFO: Acknowledgment sent {"connection_id":195460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:25] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:25] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:25] local.INFO: IMEI packet received {"connection_id":192601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":192601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:15:29] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:29] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:15:29] local.INFO: IMEI packet received {"connection_id":192601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":192601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:15:30] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:30] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:15:30] local.INFO: Packet analysis {"connection_id":192601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:15:30] local.INFO: Extracted packet for processing {"connection_id":192601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:15:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:15:30] 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":897669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:30] local.INFO: GPS data processed {"connection_id":192601,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:30] local.INFO: Acknowledgment sent {"connection_id":192601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:54] local.INFO: TCP Data received {"connection_id":195461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:54] local.INFO: Processing buffer {"connection_id":195461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:54] local.INFO: IMEI packet received {"connection_id":195461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":195461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:15:55] local.INFO: TCP Data received {"connection_id":195460,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:55] local.INFO: Processing buffer {"connection_id":195460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:15:55] local.INFO: Packet analysis {"connection_id":195460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:15:55] local.INFO: Extracted packet for processing {"connection_id":195460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:55] 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-25 21:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:55] 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-25 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:15: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-25 21:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":195460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:15:56] local.INFO: GPS data processed {"connection_id":195460,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:15:56] local.INFO: Acknowledgment sent {"connection_id":195460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:15:59] local.INFO: TCP Data received {"connection_id":195461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:59] local.INFO: Processing buffer {"connection_id":195461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:15:59] local.INFO: IMEI packet received {"connection_id":195461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":195461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:15:59] local.INFO: TCP Data received {"connection_id":195461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:59] local.INFO: Processing buffer {"connection_id":195461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:15:59] local.INFO: Packet analysis {"connection_id":195461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:59] local.INFO: Extracted packet for processing {"connection_id":195461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:15: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-25 21:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:15:59] 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-25 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":195461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:00] local.INFO: GPS data processed {"connection_id":195461,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:00] local.INFO: Acknowledgment sent {"connection_id":195461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:01] local.INFO: TCP Data received {"connection_id":192601,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:01] local.INFO: Processing buffer {"connection_id":192601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:01] local.INFO: Packet analysis {"connection_id":192601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:16:01] local.INFO: Extracted packet for processing {"connection_id":192601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16: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-25 21:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:16: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-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:16:01] 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":897672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:01] local.INFO: GPS data processed {"connection_id":192601,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:01] local.INFO: Acknowledgment sent {"connection_id":192601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:22] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:22] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:22] local.INFO: IMEI packet received {"connection_id":194120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":194120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:16:24] local.INFO: TCP Data received {"connection_id":195462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:24] local.INFO: Processing buffer {"connection_id":195462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:24] local.INFO: IMEI packet received {"connection_id":195462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":195462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:16:27] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:27] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:16:27] local.INFO: IMEI packet received {"connection_id":194120,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":194120,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:16:29] local.INFO: TCP Data received {"connection_id":195462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:29] local.INFO: Processing buffer {"connection_id":195462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:16:29] local.INFO: IMEI packet received {"connection_id":195462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":195462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:16:31] local.INFO: TCP Data received {"connection_id":195461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:31] local.INFO: Processing buffer {"connection_id":195461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:31] local.INFO: Packet analysis {"connection_id":195461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:16:31] local.INFO: Extracted packet for processing {"connection_id":195461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16: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-25 21:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16: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-25 21:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:16: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-25 21:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":195461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:31] local.INFO: GPS data processed {"connection_id":195461,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:31] local.INFO: Acknowledgment sent {"connection_id":195461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:31] local.INFO: TCP Data received {"connection_id":195462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:31] local.INFO: Processing buffer {"connection_id":195462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93a5d60012d34c14006aa49080000006e2c..."} 
[2026-09-25 21:16:31] local.INFO: Packet analysis {"connection_id":195462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:16:31] local.INFO: Extracted packet for processing {"connection_id":195462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93a"} 
[2026-09-25 21:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":0,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329747200001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16: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-25 21:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790350876000,"timestamp_ms":1790350876000,"timestamp_seconds":1790350876,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93a5d60"} 
[2026-09-25 21:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:16:31] local.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-25 21:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329747200001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329747200001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:16: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-25 21:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329747200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":195462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:31] local.INFO: GPS data processed {"connection_id":195462,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:31] local.INFO: Acknowledgment sent {"connection_id":195462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:36] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:36] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:36] local.INFO: Packet analysis {"connection_id":194120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:16:36] local.INFO: Extracted packet for processing {"connection_id":194120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:36] 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-25 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16:36] 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-25 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:16:36] 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-25 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:16:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:16:36] 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":897675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:36] local.INFO: GPS data processed {"connection_id":194120,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:36] local.INFO: Acknowledgment sent {"connection_id":194120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:37] local.INFO: TCP Data received {"connection_id":194120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:37] local.INFO: Processing buffer {"connection_id":194120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:16:37] local.INFO: Packet analysis {"connection_id":194120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:16:37] local.INFO: Extracted packet for processing {"connection_id":194120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:37] 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-25 21:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:16:37] 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-25 21:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194120,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:16:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:16:38] 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":897676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:38] local.INFO: GPS data processed {"connection_id":194120,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:38] local.INFO: Acknowledgment sent {"connection_id":194120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:16:54] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:54] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:54] local.INFO: IMEI packet received {"connection_id":192751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":192751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:16:59] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:59] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:16:59] local.INFO: IMEI packet received {"connection_id":192751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":192751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:16:59] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:59] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:16:59] local.INFO: Packet analysis {"connection_id":192751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:16:59] local.INFO: Extracted packet for processing {"connection_id":192751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:16: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-25 21:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:16:59] 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-25 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:16:59] 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":897677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:16:59] local.INFO: GPS data processed {"connection_id":192751,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:16:59] local.INFO: Acknowledgment sent {"connection_id":192751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:02] local.INFO: TCP Data received {"connection_id":195462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:02] local.INFO: Processing buffer {"connection_id":195462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:02] local.INFO: Packet analysis {"connection_id":195462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:02] local.INFO: Extracted packet for processing {"connection_id":195462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17: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-25 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:17:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:17: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-25 21:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":195462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:02] local.INFO: GPS data processed {"connection_id":195462,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:02] local.INFO: Acknowledgment sent {"connection_id":195462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:23] local.INFO: TCP Data received {"connection_id":192752,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:17:23] local.INFO: Processing buffer {"connection_id":192752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:17:23] local.INFO: IMEI packet received {"connection_id":192752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":192752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:17:29] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:29] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:29] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:17:30] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:30] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:30] local.INFO: Packet analysis {"connection_id":192751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:17:30] local.INFO: Extracted packet for processing {"connection_id":192751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17: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-25 21:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:17: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-25 21:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:17:30] 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":897679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:30] local.INFO: GPS data processed {"connection_id":192751,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:30] local.INFO: Acknowledgment sent {"connection_id":192751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:32] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:32] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:32] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:17:34] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:34] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:17:34] local.INFO: IMEI packet received {"connection_id":192602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":192602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:17:36] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:36] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:36] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:36] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21: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-25 21:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17: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-25 21:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:17:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:17:36] 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":897680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:36] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:36] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:37] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:37] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:17:37] local.INFO: IMEI packet received {"connection_id":192603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":192603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:17:38] local.INFO: TCP Data received {"connection_id":192603,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:17:38] local.INFO: Processing buffer {"connection_id":192603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:17:38] local.INFO: Packet analysis {"connection_id":192603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:17:38] local.INFO: Extracted packet for processing {"connection_id":192603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:38] 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-25 21:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:17:38] 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-25 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:17:38] 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-25 21:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":192603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":192603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":192603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:17:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:17:38] 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":897681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:38] local.INFO: GPS data processed {"connection_id":192603,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:38] local.INFO: Acknowledgment sent {"connection_id":192603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:40] local.INFO: TCP Data received {"connection_id":192602,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:40] local.INFO: Processing buffer {"connection_id":192602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:17:40] local.INFO: Packet analysis {"connection_id":192602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:40] local.INFO: Extracted packet for processing {"connection_id":192602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21: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-25 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:17: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-25 21:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:17:40] 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":897682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:40] local.INFO: GPS data processed {"connection_id":192602,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:40] local.INFO: Acknowledgment sent {"connection_id":192602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:17:53] local.INFO: TCP Data received {"connection_id":195463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:53] local.INFO: Processing buffer {"connection_id":195463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:53] local.INFO: IMEI packet received {"connection_id":195463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":195463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:17:59] local.INFO: TCP Data received {"connection_id":195463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:59] local.INFO: Processing buffer {"connection_id":195463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:17:59] local.INFO: IMEI packet received {"connection_id":195463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":195463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:17:59] local.INFO: TCP Data received {"connection_id":195463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:59] local.INFO: Processing buffer {"connection_id":195463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:17:59] local.INFO: Packet analysis {"connection_id":195463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:17:59] local.INFO: Extracted packet for processing {"connection_id":195463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:17: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-25 21:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:17:59] 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-25 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":195463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:17:59] local.INFO: GPS data processed {"connection_id":195463,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:17:59] local.INFO: Acknowledgment sent {"connection_id":195463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:18:09] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:18:09] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:18:09] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:18:17] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:17] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:17] local.INFO: IMEI packet received {"connection_id":194121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":194121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:18:23] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:23] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:18:23] local.INFO: IMEI packet received {"connection_id":194121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":194121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:18:24] local.INFO: TCP Data received {"connection_id":195464,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:24] local.INFO: Processing buffer {"connection_id":195464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:24] local.INFO: IMEI packet received {"connection_id":195464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":195464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:18:24] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:18:24] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93c64e8012d0b10c007029f100009013d1f..."} 
[2026-09-25 21:18:24] local.INFO: Packet analysis {"connection_id":194121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:18:24] local.INFO: Extracted packet for processing {"connection_id":194121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93c"} 
[2026-09-25 21:18:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":9,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329781248001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:24] 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-25 21:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790351009000,"timestamp_ms":1790351009000,"timestamp_seconds":1790351009,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93c64e8"} 
[2026-09-25 21:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:18:24] 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-25 21:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:18:24] 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-25 21:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329781248001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329781248001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:18:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:18:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329781248001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:18:24] 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":897684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:18:24] local.INFO: GPS data processed {"connection_id":194121,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:18:24] local.INFO: Acknowledgment sent {"connection_id":194121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:18:29] local.INFO: TCP Data received {"connection_id":195464,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:29] local.INFO: Processing buffer {"connection_id":195464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:18:29] local.INFO: IMEI packet received {"connection_id":195464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":195464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:18:30] local.INFO: TCP Data received {"connection_id":195464,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:18:30] local.INFO: Processing buffer {"connection_id":195464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:18:30] local.INFO: Packet analysis {"connection_id":195464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:18:30] local.INFO: Extracted packet for processing {"connection_id":195464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":195464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:18:30] local.INFO: GPS data processed {"connection_id":195464,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:18:30] local.INFO: Acknowledgment sent {"connection_id":195464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:18:30] local.INFO: TCP Data received {"connection_id":195463,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:30] local.INFO: Processing buffer {"connection_id":195463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:30] local.INFO: Packet analysis {"connection_id":195463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:18:30] local.INFO: Extracted packet for processing {"connection_id":195463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18: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-25 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:18: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-25 21:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":195463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:18:30] local.INFO: GPS data processed {"connection_id":195463,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:18:30] local.INFO: Acknowledgment sent {"connection_id":195463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:18:53] local.INFO: TCP Data received {"connection_id":194122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:53] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:53] local.INFO: IMEI packet received {"connection_id":194122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":194122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:18:56] local.INFO: TCP Data received {"connection_id":194121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:18:56] local.INFO: Processing buffer {"connection_id":194121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:18:56] local.INFO: Packet analysis {"connection_id":194121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:18:56] local.INFO: Extracted packet for processing {"connection_id":194121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:56] 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-25 21:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21: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-25 21:18:56] 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-25 21: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21: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-25 21:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:18:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:18:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:18:56] 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":897687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:18:56] local.INFO: GPS data processed {"connection_id":194121,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:18:56] local.INFO: Acknowledgment sent {"connection_id":194121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:18:59] local.INFO: TCP Data received {"connection_id":194122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:59] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:18:59] local.INFO: IMEI packet received {"connection_id":194122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":194122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:18:59] local.INFO: TCP Data received {"connection_id":194122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:59] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:18:59] local.INFO: Packet analysis {"connection_id":194122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:18:59] local.INFO: Extracted packet for processing {"connection_id":194122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:18: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-25 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:18:59] 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-25 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:18:59] 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":897688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:18:59] local.INFO: GPS data processed {"connection_id":194122,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:18:59] local.INFO: Acknowledgment sent {"connection_id":194122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:02] local.INFO: TCP Data received {"connection_id":195464,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:02] local.INFO: Processing buffer {"connection_id":195464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:02] local.INFO: Packet analysis {"connection_id":195464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:19:02] local.INFO: Extracted packet for processing {"connection_id":195464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19: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-25 21:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:19: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-25 21:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":195464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:19:02] local.INFO: GPS data processed {"connection_id":195464,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:19:02] local.INFO: Acknowledgment sent {"connection_id":195464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:17] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:17] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:17] local.INFO: IMEI packet received {"connection_id":192754,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":192754,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:19:22] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:22] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:19:22] local.INFO: IMEI packet received {"connection_id":192754,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":192754,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:19:23] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:23] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:23] local.INFO: Packet analysis {"connection_id":192754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:19:23] local.INFO: Extracted packet for processing {"connection_id":192754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:19:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:23] 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-25 21:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21: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-25 21:19:23] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:19: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-25 21: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-25 21: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-25 21:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:19:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":192754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:19:23] local.INFO: GPS data processed {"connection_id":192754,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:19:23] local.INFO: Acknowledgment sent {"connection_id":192754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:24] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:24] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:24] local.INFO: IMEI packet received {"connection_id":192755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":192755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:19:29] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:29] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:19:29] local.INFO: IMEI packet received {"connection_id":192755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":192755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:19:30] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:30] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:19:30] local.INFO: Packet analysis {"connection_id":192755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:19:30] local.INFO: Extracted packet for processing {"connection_id":192755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:19:30] 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":897691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:19:30] local.INFO: GPS data processed {"connection_id":192755,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:19:30] local.INFO: Acknowledgment sent {"connection_id":192755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:30] local.INFO: TCP Data received {"connection_id":194122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:19:30] local.INFO: Processing buffer {"connection_id":194122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93d10c8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:19:30] local.INFO: Packet analysis {"connection_id":194122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:19:30] local.INFO: Extracted packet for processing {"connection_id":194122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93d"} 
[2026-09-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329792512001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19: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-25 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351053000,"timestamp_ms":1790351053000,"timestamp_seconds":1790351053,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93d10c8"} 
[2026-09-25 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:19: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-25 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329792512001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329792512001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329792512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:19:31] 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":897692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:19:31] local.INFO: GPS data processed {"connection_id":194122,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:19:31] local.INFO: Acknowledgment sent {"connection_id":194122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:54] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:54] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:19:54] local.INFO: Packet analysis {"connection_id":192754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:19:54] local.INFO: Extracted packet for processing {"connection_id":192754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:19:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:19:54] 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-25 21:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:19:54] 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-25 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:19:54] 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-25 21:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192754,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:19:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:19:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":192754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:19:55] local.INFO: GPS data processed {"connection_id":192754,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:19:55] local.INFO: Acknowledgment sent {"connection_id":192754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:19:59] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:19:59] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:19:59] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:20:01] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:01] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:01] local.INFO: Packet analysis {"connection_id":192755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:20:01] local.INFO: Extracted packet for processing {"connection_id":192755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20: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-25 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:20:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:20: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-25 21:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:20:01] 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":897694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:01] local.INFO: GPS data processed {"connection_id":192755,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:01] local.INFO: Acknowledgment sent {"connection_id":192755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:04] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:04] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:04] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:20:04] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:04] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:04] local.INFO: Packet analysis {"connection_id":192756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:04] local.INFO: Extracted packet for processing {"connection_id":192756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21: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-25 21:20:04] 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-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:20:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":192756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:04] local.INFO: GPS data processed {"connection_id":192756,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:04] local.INFO: Acknowledgment sent {"connection_id":192756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:09] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:09] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:09] local.INFO: Packet analysis {"connection_id":192756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:09] local.INFO: Extracted packet for processing {"connection_id":192756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:20: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-25 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:20:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":192756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:09] local.INFO: GPS data processed {"connection_id":192756,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:09] local.INFO: Acknowledgment sent {"connection_id":192756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:17] local.INFO: TCP Data received {"connection_id":192605,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:17] local.INFO: Processing buffer {"connection_id":192605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:17] local.INFO: IMEI packet received {"connection_id":192605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":192605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:20:22] local.INFO: TCP Data received {"connection_id":192605,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:22] local.INFO: Processing buffer {"connection_id":192605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:20:22] local.INFO: IMEI packet received {"connection_id":192605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":192605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:20:23] local.INFO: TCP Data received {"connection_id":192605,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:23] local.INFO: Processing buffer {"connection_id":192605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:23] local.INFO: Packet analysis {"connection_id":192605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:20:23] local.INFO: Extracted packet for processing {"connection_id":192605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:23] 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-25 21:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21: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-25 21:20:23] 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-25 21: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-25 21: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-25 21: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-25 21: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-25 21:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:20:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":192605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:23] local.INFO: GPS data processed {"connection_id":192605,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:23] local.INFO: Acknowledgment sent {"connection_id":192605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:24] local.INFO: TCP Data received {"connection_id":195466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:24] local.INFO: Processing buffer {"connection_id":195466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:24] local.INFO: IMEI packet received {"connection_id":195466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":195466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:20:29] local.INFO: TCP Data received {"connection_id":195466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:29] local.INFO: Processing buffer {"connection_id":195466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:20:29] local.INFO: IMEI packet received {"connection_id":195466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":195466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:20:30] local.INFO: TCP Data received {"connection_id":195466,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:30] local.INFO: Processing buffer {"connection_id":195466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:20:30] local.INFO: Packet analysis {"connection_id":195466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:20:30] local.INFO: Extracted packet for processing {"connection_id":195466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:20:30] local.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-25 21:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":195466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:30] local.INFO: GPS data processed {"connection_id":195466,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:30] local.INFO: Acknowledgment sent {"connection_id":195466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:54] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:54] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:54] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:20:58] local.INFO: TCP Data received {"connection_id":192605,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:58] local.INFO: Processing buffer {"connection_id":192605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:20:58] local.INFO: Packet analysis {"connection_id":192605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:20:58] local.INFO: Extracted packet for processing {"connection_id":192605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:58] 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-25 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:20:58] 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-25 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:20: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-25 21:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:20:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":192605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:20:58] local.INFO: GPS data processed {"connection_id":192605,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:20:58] local.INFO: Acknowledgment sent {"connection_id":192605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:20:59] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:59] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:20:59] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:20:59] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:59] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:20:59] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:59] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:20: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-25 21:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:20:59] 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-25 21:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:00] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:00] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:21:02] local.INFO: TCP Data received {"connection_id":195466,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:02] local.INFO: Processing buffer {"connection_id":195466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:02] local.INFO: Packet analysis {"connection_id":195466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:21:02] local.INFO: Extracted packet for processing {"connection_id":195466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21: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-25 21:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:21:02] local.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-25 21:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:21: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-25 21:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":195466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:02] local.INFO: GPS data processed {"connection_id":195466,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:02] local.INFO: Acknowledgment sent {"connection_id":195466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:21:17] local.INFO: TCP Data received {"connection_id":194123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:17] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:17] local.INFO: IMEI packet received {"connection_id":194123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":194123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:21:22] local.INFO: TCP Data received {"connection_id":194123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:22] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:21:22] local.INFO: IMEI packet received {"connection_id":194123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":194123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:21:24] local.INFO: TCP Data received {"connection_id":194123,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:21:24] local.INFO: Processing buffer {"connection_id":194123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:21:24] local.INFO: Packet analysis {"connection_id":194123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:21:24] local.INFO: Extracted packet for processing {"connection_id":194123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:21:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:24] 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-25 21:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:21:24] 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-25 21:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:21:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:21:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:21:24] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:24] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:24] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:21:24] 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":897702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:24] local.INFO: GPS data processed {"connection_id":194123,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:24] local.INFO: Acknowledgment sent {"connection_id":194123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:21:29] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:29] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:21:29] local.INFO: IMEI packet received {"connection_id":192606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:21:30] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:30] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d93ef528012d34c14006aa49080005006e2b..."} 
[2026-09-25 21:21:30] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:21:30] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d93e"} 
[2026-09-25 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329824256001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351177000,"timestamp_ms":1790351177000,"timestamp_seconds":1790351177,"priority":1,"record_length":96,"hex_timestamp":"000001a0d93ef528"} 
[2026-09-25 21:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329824256001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329824256001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:21:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:21:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329824256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:21:30] 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":897703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:30] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:30] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:21:31] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:31] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:31] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:21:31] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21: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-25 21:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:21: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-25 21:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:21: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-25 21:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:21:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:31] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:31] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:21:54] local.INFO: TCP Data received {"connection_id":192759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:54] local.INFO: Processing buffer {"connection_id":192759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:54] local.INFO: IMEI packet received {"connection_id":192759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":192759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:21:59] local.INFO: TCP Data received {"connection_id":192759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:59] local.INFO: Processing buffer {"connection_id":192759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:21:59] local.INFO: IMEI packet received {"connection_id":192759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":192759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:21:59] local.INFO: TCP Data received {"connection_id":192759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:59] local.INFO: Processing buffer {"connection_id":192759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:21:59] local.INFO: Packet analysis {"connection_id":192759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:21:59] local.INFO: Extracted packet for processing {"connection_id":192759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:21: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-25 21:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:21:59] 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-25 21:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:21:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":192759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:21:59] local.INFO: GPS data processed {"connection_id":192759,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:21:59] local.INFO: Acknowledgment sent {"connection_id":192759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:03] local.INFO: TCP Data received {"connection_id":192606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:03] local.INFO: Processing buffer {"connection_id":192606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:03] local.INFO: Packet analysis {"connection_id":192606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:22:03] local.INFO: Extracted packet for processing {"connection_id":192606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22: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-25 21:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:22: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-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:22:03] 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":897706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:03] local.INFO: GPS data processed {"connection_id":192606,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:03] local.INFO: Acknowledgment sent {"connection_id":192606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:22] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:22] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:22] local.INFO: IMEI packet received {"connection_id":194124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":194124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:22:24] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:24] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:24] local.INFO: IMEI packet received {"connection_id":194125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":194125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:22:27] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:27] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:22:27] local.INFO: IMEI packet received {"connection_id":194124,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":194124,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:22:28] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:28] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:28] local.INFO: Packet analysis {"connection_id":194124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:22:28] local.INFO: Extracted packet for processing {"connection_id":194124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:28] 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-25 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22:28] 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-25 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:22:28] 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-25 21:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:22:28] 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":897707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:28] local.INFO: GPS data processed {"connection_id":194124,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:28] local.INFO: Acknowledgment sent {"connection_id":194124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:29] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:29] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:22:29] local.INFO: IMEI packet received {"connection_id":194125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":194125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:22:31] local.INFO: TCP Data received {"connection_id":192759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:31] local.INFO: Processing buffer {"connection_id":192759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:31] local.INFO: Packet analysis {"connection_id":192759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:22:31] local.INFO: Extracted packet for processing {"connection_id":192759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22: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-25 21:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22: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-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:22: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-25 21:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":192759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:31] local.INFO: GPS data processed {"connection_id":192759,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:31] local.INFO: Acknowledgment sent {"connection_id":192759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:31] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:31] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:22:31] local.INFO: Packet analysis {"connection_id":194125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:22:31] local.INFO: Extracted packet for processing {"connection_id":194125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22: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-25 21:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:22: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-25 21:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:22: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-25 21:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:22:31] 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":897709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:31] local.INFO: GPS data processed {"connection_id":194125,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:31] local.INFO: Acknowledgment sent {"connection_id":194125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:33] local.INFO: TCP Data received {"connection_id":194124,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:33] local.INFO: Processing buffer {"connection_id":194124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:22:33] local.INFO: Packet analysis {"connection_id":194124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:22:33] local.INFO: Extracted packet for processing {"connection_id":194124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:22:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:33] 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-25 21:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22:33] 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-25 21:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:22:33] 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-25 21:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194124,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:22:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:22:33] 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":897710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:33] local.INFO: GPS data processed {"connection_id":194124,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:33] local.INFO: Acknowledgment sent {"connection_id":194124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:22:53] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:53] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:53] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:22:59] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:59] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:22:59] local.INFO: IMEI packet received {"connection_id":192760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":192760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:22:59] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:59] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:22:59] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:22:59] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:22: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-25 21:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:22:59] 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-25 21:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:22:59] 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":897711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:22:59] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:22:59] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:02] local.INFO: TCP Data received {"connection_id":194125,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:02] local.INFO: Processing buffer {"connection_id":194125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:02] local.INFO: Packet analysis {"connection_id":194125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:02] local.INFO: Extracted packet for processing {"connection_id":194125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23: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-25 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:23: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-25 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:23: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-25 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:23:02] 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":897712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:02] local.INFO: GPS data processed {"connection_id":194125,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:02] local.INFO: Acknowledgment sent {"connection_id":194125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:17] local.INFO: TCP Data received {"connection_id":195467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:17] local.INFO: Processing buffer {"connection_id":195467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:17] local.INFO: IMEI packet received {"connection_id":195467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":195467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:23:22] local.INFO: TCP Data received {"connection_id":195467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:22] local.INFO: Processing buffer {"connection_id":195467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:23:22] local.INFO: IMEI packet received {"connection_id":195467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":195467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:23:23] local.INFO: TCP Data received {"connection_id":195467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:23:23] local.INFO: Processing buffer {"connection_id":195467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d940fcb0012d0b10c007029f10000a013d20..."} 
[2026-09-25 21:23:23] local.INFO: Packet analysis {"connection_id":195467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:23:23] local.INFO: Extracted packet for processing {"connection_id":195467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d940"} 
[2026-09-25 21:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":10,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:23: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-25 21:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329858304001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:23] 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-25 21:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351310000,"timestamp_ms":1790351310000,"timestamp_seconds":1790351310,"priority":1,"record_length":96,"hex_timestamp":"000001a0d940fcb0"} 
[2026-09-25 21:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:23:23] 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-25 21:23: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-25 21:23: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-25 21:23: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-25 21:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329858304001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329858304001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329858304001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":195467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:23] local.INFO: GPS data processed {"connection_id":195467,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:23] local.INFO: Acknowledgment sent {"connection_id":195467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:28] local.INFO: TCP Data received {"connection_id":192608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:23:28] local.INFO: Processing buffer {"connection_id":192608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:23:28] local.INFO: IMEI packet received {"connection_id":192608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":192608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:23:29] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:29] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:29] local.INFO: IMEI packet received {"connection_id":194126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":194126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:23:30] local.INFO: TCP Data received {"connection_id":192760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:30] local.INFO: Processing buffer {"connection_id":192760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:30] local.INFO: Packet analysis {"connection_id":192760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:23:30] local.INFO: Extracted packet for processing {"connection_id":192760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23: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-25 21:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:23:30] 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":897714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:30] local.INFO: GPS data processed {"connection_id":192760,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:30] local.INFO: Acknowledgment sent {"connection_id":192760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:34] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:34] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:23:34] local.INFO: IMEI packet received {"connection_id":194126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":194126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:23:36] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:36] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:36] local.INFO: Packet analysis {"connection_id":194126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:36] local.INFO: Extracted packet for processing {"connection_id":194126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21: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-25 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":194126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":194126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":194126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:23:36] 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":897715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:36] local.INFO: GPS data processed {"connection_id":194126,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:36] local.INFO: Acknowledgment sent {"connection_id":194126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:40] local.INFO: TCP Data received {"connection_id":194126,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:40] local.INFO: Processing buffer {"connection_id":194126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:23:40] local.INFO: Packet analysis {"connection_id":194126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:40] local.INFO: Extracted packet for processing {"connection_id":194126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21: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-25 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:23: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-25 21:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:23:40] 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":897716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:40] local.INFO: GPS data processed {"connection_id":194126,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:40] local.INFO: Acknowledgment sent {"connection_id":194126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:53] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:53] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:53] local.INFO: IMEI packet received {"connection_id":192609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":192609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:23:54] local.INFO: TCP Data received {"connection_id":195467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:23:54] local.INFO: Processing buffer {"connection_id":195467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:23:54] local.INFO: Packet analysis {"connection_id":195467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:23:54] local.INFO: Extracted packet for processing {"connection_id":195467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:54] 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-25 21:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:23:54] 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-25 21:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:54] 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-25 21:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195467,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":195467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:55] local.INFO: GPS data processed {"connection_id":195467,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:55] local.INFO: Acknowledgment sent {"connection_id":195467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:23:59] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:59] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:23:59] local.INFO: IMEI packet received {"connection_id":192609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":192609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:23:59] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:59] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:23:59] local.INFO: Packet analysis {"connection_id":192609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:23:59] local.INFO: Extracted packet for processing {"connection_id":192609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:23: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-25 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:23:59] 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-25 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":192609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:23:59] local.INFO: GPS data processed {"connection_id":192609,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:23:59] local.INFO: Acknowledgment sent {"connection_id":192609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:24:03] local.INFO: TCP Data received {"connection_id":192610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:24:03] local.INFO: Processing buffer {"connection_id":192610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:24:03] local.INFO: IMEI packet received {"connection_id":192610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":192610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:24:18] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:18] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:18] local.INFO: IMEI packet received {"connection_id":194127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":194127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:24:24] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:24] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:24] local.INFO: IMEI packet received {"connection_id":192611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":192611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:24:25] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:25] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:24:25] local.INFO: IMEI packet received {"connection_id":194127,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":194127,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:24:25] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:25] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:25] local.INFO: Packet analysis {"connection_id":194127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:24:25] local.INFO: Extracted packet for processing {"connection_id":194127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:24:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:25] 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-25 21:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:24:25] 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-25 21:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:24:25] 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-25 21:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":194127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:24:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:24:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:24:26] 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":897719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:24:26] local.INFO: GPS data processed {"connection_id":194127,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:24:26] local.INFO: Acknowledgment sent {"connection_id":194127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:24:29] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:29] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:24:29] local.INFO: IMEI packet received {"connection_id":192611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":192611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:24:30] local.INFO: TCP Data received {"connection_id":192609,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:24:30] local.INFO: Processing buffer {"connection_id":192609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d941a890012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:24:30] local.INFO: Packet analysis {"connection_id":192609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:24:30] local.INFO: Extracted packet for processing {"connection_id":192609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d941"} 
[2026-09-25 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329869568001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24: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-25 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351354000,"timestamp_ms":1790351354000,"timestamp_seconds":1790351354,"priority":1,"record_length":96,"hex_timestamp":"000001a0d941a890"} 
[2026-09-25 21:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329869568001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329869568001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329869568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":192609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:24:31] local.INFO: GPS data processed {"connection_id":192609,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:24:31] local.INFO: Acknowledgment sent {"connection_id":192609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:24:31] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:24:31] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:24:31] local.INFO: Packet analysis {"connection_id":192611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:24:31] local.INFO: Extracted packet for processing {"connection_id":192611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24: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-25 21:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:24: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-25 21:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:24:31] 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":897721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:24:31] local.INFO: GPS data processed {"connection_id":192611,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:24:31] local.INFO: Acknowledgment sent {"connection_id":192611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:24:57] local.INFO: TCP Data received {"connection_id":194127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:57] local.INFO: Processing buffer {"connection_id":194127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:24:57] local.INFO: Packet analysis {"connection_id":194127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:24:57] local.INFO: Extracted packet for processing {"connection_id":194127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:24:57] 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-25 21:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:24:57] 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-25 21:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:24:57] 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-25 21:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":194127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":194127,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:24:57] 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":897722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:24:57] local.INFO: GPS data processed {"connection_id":194127,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:24:57] local.INFO: Acknowledgment sent {"connection_id":194127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:24:58] local.INFO: TCP Data received {"connection_id":194128,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:24:58] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:24:58] local.INFO: IMEI packet received {"connection_id":194128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":194128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:25:04] local.INFO: TCP Data received {"connection_id":194128,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:04] local.INFO: TCP Data received {"connection_id":192611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:04] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:04] local.INFO: IMEI packet received {"connection_id":194128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":194128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:04] local.INFO: Processing buffer {"connection_id":192611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:04] local.INFO: Packet analysis {"connection_id":192611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:25:04] local.INFO: Extracted packet for processing {"connection_id":192611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25: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-25 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:25: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-25 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:25: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-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:25:04] 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":897723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:04] local.INFO: GPS data processed {"connection_id":192611,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:04] local.INFO: Acknowledgment sent {"connection_id":192611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:25:04] local.INFO: TCP Data received {"connection_id":194128,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:04] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:04] local.INFO: Packet analysis {"connection_id":194128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:04] local.INFO: Extracted packet for processing {"connection_id":194128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:25:04] 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-25 21:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:25:04] 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":897724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:04] local.INFO: GPS data processed {"connection_id":194128,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:04] local.INFO: Acknowledgment sent {"connection_id":194128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:25:09] local.INFO: TCP Data received {"connection_id":194128,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:09] local.INFO: Processing buffer {"connection_id":194128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:09] local.INFO: Packet analysis {"connection_id":194128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:09] local.INFO: Extracted packet for processing {"connection_id":194128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21: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-25 21:25: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-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21: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-25 21: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-25 21:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:25:09] 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":897725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:09] local.INFO: GPS data processed {"connection_id":194128,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:09] local.INFO: Acknowledgment sent {"connection_id":194128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:25:17] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:17] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:17] local.INFO: IMEI packet received {"connection_id":192612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":192612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:25:22] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:22] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:25:22] local.INFO: IMEI packet received {"connection_id":192612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":192612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:25:23] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:25:23] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:25:23] local.INFO: Packet analysis {"connection_id":192612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:25:23] local.INFO: Extracted packet for processing {"connection_id":192612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:23] 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-25 21:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21: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-25 21:25:23] 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-25 21: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:23] 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-25 21: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-25 21: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-25 21:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":192612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:23] local.INFO: GPS data processed {"connection_id":192612,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:23] local.INFO: Acknowledgment sent {"connection_id":192612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:25:24] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:24] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:24] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:25:29] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:29] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:25:29] local.INFO: IMEI packet received {"connection_id":192613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:25:30] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:30] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:25:30] local.INFO: Packet analysis {"connection_id":192613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:25:30] local.INFO: Extracted packet for processing {"connection_id":192613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21: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-25 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21: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-25 21: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-25 21:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:25:30] local.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-25 21:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:25:30] 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":897727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:30] local.INFO: GPS data processed {"connection_id":192613,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:30] local.INFO: Acknowledgment sent {"connection_id":192613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:25:53] local.INFO: TCP Data received {"connection_id":192762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:53] local.INFO: Processing buffer {"connection_id":192762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:53] local.INFO: IMEI packet received {"connection_id":192762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":192762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:25:58] local.INFO: TCP Data received {"connection_id":192762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:58] local.INFO: Processing buffer {"connection_id":192762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:25:58] local.INFO: IMEI packet received {"connection_id":192762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":192762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:25:59] local.INFO: TCP Data received {"connection_id":192762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:59] local.INFO: Processing buffer {"connection_id":192762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:25:59] local.INFO: Packet analysis {"connection_id":192762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:59] local.INFO: Extracted packet for processing {"connection_id":192762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:25: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-25 21:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:25:59] 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-25 21:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":192762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:25:59] local.INFO: GPS data processed {"connection_id":192762,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:25:59] local.INFO: Acknowledgment sent {"connection_id":192762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:01] local.INFO: TCP Data received {"connection_id":192612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:01] local.INFO: Processing buffer {"connection_id":192612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:01] local.INFO: Packet analysis {"connection_id":192612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:01] local.INFO: Extracted packet for processing {"connection_id":192612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:01] 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-25 21:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:01] 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-25 21:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:26:01] 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-25 21:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":192612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:01] local.INFO: GPS data processed {"connection_id":192612,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:01] local.INFO: Acknowledgment sent {"connection_id":192612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:02] local.INFO: TCP Data received {"connection_id":192613,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:02] local.INFO: Processing buffer {"connection_id":192613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:02] local.INFO: Packet analysis {"connection_id":192613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:26:02] local.INFO: Extracted packet for processing {"connection_id":192613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26: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-25 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:26: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-25 21:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:26:02] 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":897730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:02] local.INFO: GPS data processed {"connection_id":192613,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:02] local.INFO: Acknowledgment sent {"connection_id":192613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:22] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:22] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:22] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:26:24] local.INFO: TCP Data received {"connection_id":195468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:24] local.INFO: Processing buffer {"connection_id":195468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:24] local.INFO: IMEI packet received {"connection_id":195468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":195468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:26:27] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:27] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:26:27] local.INFO: IMEI packet received {"connection_id":192763,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":192763,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:26:28] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:28] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:28] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:28] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:26: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-25 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:28] 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-25 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:28] 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-25 21:26: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-25 21:26: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-25 21:26: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-25 21:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:26:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:26:28] 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":897731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:28] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:28] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:29] local.INFO: TCP Data received {"connection_id":195468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:29] local.INFO: Processing buffer {"connection_id":195468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:26:29] local.INFO: IMEI packet received {"connection_id":195468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":195468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:26:30] local.INFO: TCP Data received {"connection_id":195468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:30] local.INFO: Processing buffer {"connection_id":195468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9438cf0012d34c14006aa49080008006e2c..."} 
[2026-09-25 21:26:30] local.INFO: Packet analysis {"connection_id":195468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:26:30] local.INFO: Extracted packet for processing {"connection_id":195468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d943"} 
[2026-09-25 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329901312001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351478000,"timestamp_ms":1790351478000,"timestamp_seconds":1790351478,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9438cf0"} 
[2026-09-25 21:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329901312001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329901312001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329901312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":195468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:30] local.INFO: GPS data processed {"connection_id":195468,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:30] local.INFO: Acknowledgment sent {"connection_id":195468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:30] local.INFO: TCP Data received {"connection_id":192762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:30] local.INFO: Processing buffer {"connection_id":192762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:30] local.INFO: Packet analysis {"connection_id":192762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:26:30] local.INFO: Extracted packet for processing {"connection_id":192762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26: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-25 21:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:26: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-25 21:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":192762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:30] local.INFO: GPS data processed {"connection_id":192762,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:30] local.INFO: Acknowledgment sent {"connection_id":192762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:26:54] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:54] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:54] local.INFO: IMEI packet received {"connection_id":194129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":194129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:26:59] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:59] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:26:59] local.INFO: IMEI packet received {"connection_id":194129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":194129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:26:59] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:59] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:26:59] local.INFO: Packet analysis {"connection_id":194129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:26:59] local.INFO: Extracted packet for processing {"connection_id":194129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26: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-25 21:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:59] 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-25 21:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:26:59] local.INFO: TCP Data received {"connection_id":192763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:59] local.INFO: Processing buffer {"connection_id":192763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:26:59] local.INFO: Packet analysis {"connection_id":192763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:59] local.INFO: Extracted packet for processing {"connection_id":192763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:26:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:26:59] 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-25 21:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:26:59] 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-25 21:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192763,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192763,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:26:59] 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":897734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:26:59] local.INFO: GPS data processed {"connection_id":194129,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:26:59] local.INFO: Acknowledgment sent {"connection_id":194129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:00] 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":897735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:00] local.INFO: GPS data processed {"connection_id":192763,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:00] local.INFO: Acknowledgment sent {"connection_id":192763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:01] local.INFO: TCP Data received {"connection_id":195468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:01] local.INFO: Processing buffer {"connection_id":195468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:01] local.INFO: Packet analysis {"connection_id":195468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:27:01] local.INFO: Extracted packet for processing {"connection_id":195468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27: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-25 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:27: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-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":195468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:02] local.INFO: GPS data processed {"connection_id":195468,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:02] local.INFO: Acknowledgment sent {"connection_id":195468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:17] local.INFO: TCP Data received {"connection_id":195470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:17] local.INFO: Processing buffer {"connection_id":195470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:17] local.INFO: IMEI packet received {"connection_id":195470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":195470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:27:22] local.INFO: TCP Data received {"connection_id":195470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:22] local.INFO: Processing buffer {"connection_id":195470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:27:22] local.INFO: IMEI packet received {"connection_id":195470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":195470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:27:23] local.INFO: TCP Data received {"connection_id":195470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:23] local.INFO: Processing buffer {"connection_id":195470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:23] local.INFO: Packet analysis {"connection_id":195470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:27:23] local.INFO: Extracted packet for processing {"connection_id":195470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:23] 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-25 21:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:27:23] 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-25 21:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:27:23] 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-25 21:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":195470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:23] local.INFO: GPS data processed {"connection_id":195470,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:23] local.INFO: Acknowledgment sent {"connection_id":195470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:24] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:24] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:24] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:27:29] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:29] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:27:29] local.INFO: IMEI packet received {"connection_id":192764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":192764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:27:30] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:30] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:27:30] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:27:30] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:27:30] local.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-25 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:27:30] 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":897738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:30] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:30] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:30] local.INFO: TCP Data received {"connection_id":194129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:30] local.INFO: Processing buffer {"connection_id":194129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:30] local.INFO: Packet analysis {"connection_id":194129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:27:30] local.INFO: Extracted packet for processing {"connection_id":194129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27: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-25 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:27: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-25 21:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:27:31] 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":897739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:31] local.INFO: GPS data processed {"connection_id":194129,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:31] local.INFO: Acknowledgment sent {"connection_id":194129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:53] local.INFO: TCP Data received {"connection_id":192615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:53] local.INFO: Processing buffer {"connection_id":192615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:53] local.INFO: IMEI packet received {"connection_id":192615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":192615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:27:55] local.INFO: TCP Data received {"connection_id":195470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:55] local.INFO: Processing buffer {"connection_id":195470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:27:55] local.INFO: Packet analysis {"connection_id":195470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:27:55] local.INFO: Extracted packet for processing {"connection_id":195470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:55] 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-25 21:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21: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-25 21:27:55] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:27:55] 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-25 21: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-25 21: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-25 21:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195470,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":195470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:55] local.INFO: GPS data processed {"connection_id":195470,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:55] local.INFO: Acknowledgment sent {"connection_id":195470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:27:58] local.INFO: TCP Data received {"connection_id":192615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:58] local.INFO: Processing buffer {"connection_id":192615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:27:58] local.INFO: IMEI packet received {"connection_id":192615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":192615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:27:59] local.INFO: TCP Data received {"connection_id":192615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:59] local.INFO: Processing buffer {"connection_id":192615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:27:59] local.INFO: Packet analysis {"connection_id":192615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:27:59] local.INFO: Extracted packet for processing {"connection_id":192615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:27: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-25 21:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:27:59] 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-25 21:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":192615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:27:59] local.INFO: GPS data processed {"connection_id":192615,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:27:59] local.INFO: Acknowledgment sent {"connection_id":192615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:02] local.INFO: TCP Data received {"connection_id":192764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:02] local.INFO: Processing buffer {"connection_id":192764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:02] local.INFO: Packet analysis {"connection_id":192764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:02] local.INFO: Extracted packet for processing {"connection_id":192764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28: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-25 21:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:28: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-25 21:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:28:02] 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":897742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:02] local.INFO: GPS data processed {"connection_id":192764,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:02] local.INFO: Acknowledgment sent {"connection_id":192764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:17] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:17] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:17] local.INFO: IMEI packet received {"connection_id":194131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":194131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:28:22] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:22] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:28:22] local.INFO: IMEI packet received {"connection_id":194131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":194131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:28:23] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:28:23] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9459478012d0b10c007029f10000c013d1f..."} 
[2026-09-25 21:28:23] local.INFO: Packet analysis {"connection_id":194131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:28:23] local.INFO: Extracted packet for processing {"connection_id":194131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d945"} 
[2026-09-25 21:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329935360001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:23] 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-25 21:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351611000,"timestamp_ms":1790351611000,"timestamp_seconds":1790351611,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9459478"} 
[2026-09-25 21:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:28:23] 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-25 21:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:23] 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-25 21:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329935360001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329935360001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329935360001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:28:23] 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":897743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:23] local.INFO: GPS data processed {"connection_id":194131,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:23] local.INFO: Acknowledgment sent {"connection_id":194131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:29] local.INFO: TCP Data received {"connection_id":192765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:29] local.INFO: Processing buffer {"connection_id":192765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:29] local.INFO: IMEI packet received {"connection_id":192765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":192765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:28:30] local.INFO: TCP Data received {"connection_id":192615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:30] local.INFO: Processing buffer {"connection_id":192615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:30] local.INFO: Packet analysis {"connection_id":192615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:28:30] local.INFO: Extracted packet for processing {"connection_id":192615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28: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-25 21:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:28: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-25 21:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":192615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:30] local.INFO: GPS data processed {"connection_id":192615,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:30] local.INFO: Acknowledgment sent {"connection_id":192615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:34] local.INFO: TCP Data received {"connection_id":192765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:34] local.INFO: Processing buffer {"connection_id":192765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:28:34] local.INFO: IMEI packet received {"connection_id":192765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":192765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:28:35] local.INFO: TCP Data received {"connection_id":192765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:35] local.INFO: Processing buffer {"connection_id":192765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:35] local.INFO: Packet analysis {"connection_id":192765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:35] local.INFO: Extracted packet for processing {"connection_id":192765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21: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-25 21:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":192765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:35] local.INFO: GPS data processed {"connection_id":192765,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:35] local.INFO: Acknowledgment sent {"connection_id":192765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:40] local.INFO: TCP Data received {"connection_id":192765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:40] local.INFO: Processing buffer {"connection_id":192765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:28:40] local.INFO: Packet analysis {"connection_id":192765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:40] local.INFO: Extracted packet for processing {"connection_id":192765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21: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-25 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:28: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-25 21:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":192765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:40] local.INFO: GPS data processed {"connection_id":192765,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:40] local.INFO: Acknowledgment sent {"connection_id":192765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:53] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:53] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:53] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:28:56] local.INFO: TCP Data received {"connection_id":194131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:28:56] local.INFO: Processing buffer {"connection_id":194131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:28:56] local.INFO: Packet analysis {"connection_id":194131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:28:56] local.INFO: Extracted packet for processing {"connection_id":194131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:56] 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-25 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:28:56] 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-25 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:28:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:28:56] 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":897747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:56] local.INFO: GPS data processed {"connection_id":194131,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:56] local.INFO: Acknowledgment sent {"connection_id":194131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:28:59] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:59] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:28:59] local.INFO: IMEI packet received {"connection_id":192616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":192616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:28:59] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:59] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:28:59] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:28:59] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:28: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-25 21:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:28:59] 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-25 21:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:28:59] 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":897748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:28:59] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:28:59] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:29:22] local.INFO: TCP Data received {"connection_id":195471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:22] local.INFO: Processing buffer {"connection_id":195471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:22] local.INFO: IMEI packet received {"connection_id":195471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":195471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:29:23] local.INFO: TCP Data received {"connection_id":194132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:29:23] local.INFO: Processing buffer {"connection_id":194132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:29:23] local.INFO: IMEI packet received {"connection_id":194132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":194132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:29:24] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:24] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:24] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:29:27] local.INFO: TCP Data received {"connection_id":195471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:27] local.INFO: Processing buffer {"connection_id":195471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:29:27] local.INFO: IMEI packet received {"connection_id":195471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":195471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:29:29] local.INFO: TCP Data received {"connection_id":195471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:29] local.INFO: Processing buffer {"connection_id":195471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:29] local.INFO: Packet analysis {"connection_id":195471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:29:29] local.INFO: Extracted packet for processing {"connection_id":195471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29: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-25 21:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21: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-25 21:29:29] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:29:29] 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-25 21: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-25 21: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-25 21:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:29:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:29:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":195471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:29:29] local.INFO: GPS data processed {"connection_id":195471,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:29:29] local.INFO: Acknowledgment sent {"connection_id":195471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:29:29] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:29] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:29:29] local.INFO: IMEI packet received {"connection_id":192766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":192766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:29:30] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:29:30] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:29:30] local.INFO: Packet analysis {"connection_id":192766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:29:30] local.INFO: Extracted packet for processing {"connection_id":192766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:29:30] 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":897750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:29:30] local.INFO: GPS data processed {"connection_id":192766,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:29:30] local.INFO: Acknowledgment sent {"connection_id":192766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:29:31] local.INFO: TCP Data received {"connection_id":192616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:29:31] local.INFO: Processing buffer {"connection_id":192616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9464058012d1969c0071ff170003f015228..."} 
[2026-09-25 21:29:31] local.INFO: Packet analysis {"connection_id":192616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:29:31] local.INFO: Extracted packet for processing {"connection_id":192616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d946"} 
[2026-09-25 21:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329946624001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29: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-25 21:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351655000,"timestamp_ms":1790351655000,"timestamp_seconds":1790351655,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9464058"} 
[2026-09-25 21:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:29: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-25 21:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:29: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-25 21:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329946624001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329946624001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:29:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329946624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:29:31] 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":897751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:29:31] local.INFO: GPS data processed {"connection_id":192616,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:29:31] local.INFO: Acknowledgment sent {"connection_id":192616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:29:42] local.INFO: TCP Data received {"connection_id":195471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:42] local.INFO: Processing buffer {"connection_id":195471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:29:42] local.INFO: Packet analysis {"connection_id":195471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:29:42] local.INFO: Extracted packet for processing {"connection_id":195471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:29: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-25 21:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:29:42] 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-25 21:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:29:42] 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-25 21:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":195471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":195471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":195471,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:29:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:29:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":195471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:29:43] local.INFO: GPS data processed {"connection_id":195471,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:29:43] local.INFO: Acknowledgment sent {"connection_id":195471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:29:54] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:54] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:54] local.INFO: IMEI packet received {"connection_id":194133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":194133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:29:58] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:58] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:29:58] local.INFO: IMEI packet received {"connection_id":194133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":194133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:30:01] local.INFO: TCP Data received {"connection_id":192766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:01] local.INFO: Processing buffer {"connection_id":192766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:01] local.INFO: Packet analysis {"connection_id":192766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:30:01] local.INFO: Extracted packet for processing {"connection_id":192766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:30: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-25 21:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30: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-25 21:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:30: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:30: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-25 21:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:30: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-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:30:01] 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":897753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:01] local.INFO: GPS data processed {"connection_id":192766,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:01] local.INFO: Acknowledgment sent {"connection_id":192766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:03] local.INFO: TCP Data received {"connection_id":194134,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:30:03] local.INFO: Processing buffer {"connection_id":194134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:30:03] local.INFO: IMEI packet received {"connection_id":194134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":194134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:30:04] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:04] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:04] local.INFO: IMEI packet received {"connection_id":194133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":194133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:30:04] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:04] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:04] local.INFO: Packet analysis {"connection_id":194133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:04] local.INFO: Extracted packet for processing {"connection_id":194133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21: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-25 21:30:04] 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-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:30:05] 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":897754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:05] local.INFO: GPS data processed {"connection_id":194133,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:05] local.INFO: Acknowledgment sent {"connection_id":194133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:09] local.INFO: TCP Data received {"connection_id":194133,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:09] local.INFO: Processing buffer {"connection_id":194133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:09] local.INFO: Packet analysis {"connection_id":194133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:09] local.INFO: Extracted packet for processing {"connection_id":194133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:30: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-25 21:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:30:09] 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":897755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:09] local.INFO: GPS data processed {"connection_id":194133,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:09] local.INFO: Acknowledgment sent {"connection_id":194133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:20] local.INFO: TCP Data received {"connection_id":195472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:20] local.INFO: Processing buffer {"connection_id":195472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:20] local.INFO: IMEI packet received {"connection_id":195472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":195472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:30:22] local.INFO: TCP Data received {"connection_id":195472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195472,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:22] local.INFO: Processing buffer {"connection_id":195472,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:30:22] local.INFO: IMEI packet received {"connection_id":195472,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":195472,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:30:23] local.INFO: TCP Data received {"connection_id":195472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:23] local.INFO: Processing buffer {"connection_id":195472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:23] local.INFO: Packet analysis {"connection_id":195472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:23] local.INFO: Extracted packet for processing {"connection_id":195472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:23] 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-25 21:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:30:23] 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-25 21:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:30: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-25 21:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":195472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:23] local.INFO: GPS data processed {"connection_id":195472,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:23] local.INFO: Acknowledgment sent {"connection_id":195472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:24] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:24] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:24] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:30:28] local.INFO: TCP Data received {"connection_id":195472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:28] local.INFO: Processing buffer {"connection_id":195472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:28] local.INFO: Packet analysis {"connection_id":195472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:28] local.INFO: Extracted packet for processing {"connection_id":195472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:28] 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-25 21:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21: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-25 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:28] 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-25 21: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-25 21: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-25 21:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:30:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":195472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:28] local.INFO: GPS data processed {"connection_id":195472,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:28] local.INFO: Acknowledgment sent {"connection_id":195472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:30] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:30] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:30:30] local.INFO: IMEI packet received {"connection_id":192617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":192617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:30:31] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:31] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:30:31] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:30:31] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 21:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30: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-25 21:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 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-25 21:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:30:31] local.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-25 21:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:30:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:30: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-25 21:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:30:31] 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":897758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:31] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:31] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:54] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:54] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:54] local.INFO: IMEI packet received {"connection_id":192767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":192767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:30:58] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:58] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:30:58] local.INFO: IMEI packet received {"connection_id":192767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":192767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:30:59] local.INFO: TCP Data received {"connection_id":195472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:59] local.INFO: Processing buffer {"connection_id":195472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:30:59] local.INFO: Packet analysis {"connection_id":195472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:59] local.INFO: Extracted packet for processing {"connection_id":195472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:59] 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-25 21:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:30:59] 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-25 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:59] 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-25 21:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195472,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:30:59] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:59] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:30:59] local.INFO: Packet analysis {"connection_id":192767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:59] local.INFO: Extracted packet for processing {"connection_id":192767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:30: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-25 21:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:30:59] 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-25 21:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":195472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:59] local.INFO: GPS data processed {"connection_id":195472,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:59] local.INFO: Acknowledgment sent {"connection_id":195472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:30:59] 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":897760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:30:59] local.INFO: GPS data processed {"connection_id":192767,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:30:59] local.INFO: Acknowledgment sent {"connection_id":192767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:02] local.INFO: TCP Data received {"connection_id":192617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:02] local.INFO: Processing buffer {"connection_id":192617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:02] local.INFO: Packet analysis {"connection_id":192617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:31:02] local.INFO: Extracted packet for processing {"connection_id":192617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31: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-25 21:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:31:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:31: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-25 21:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:31:02] 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":897761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:02] local.INFO: GPS data processed {"connection_id":192617,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:02] local.INFO: Acknowledgment sent {"connection_id":192617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:17] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:17] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:17] local.INFO: IMEI packet received {"connection_id":192769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":192769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:31:22] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:22] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:31:22] local.INFO: IMEI packet received {"connection_id":192769,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":192769,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:31:24] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:24] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:24] local.INFO: Packet analysis {"connection_id":192769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:24] local.INFO: Extracted packet for processing {"connection_id":192769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:31: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-25 21:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:24] 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-25 21:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:31:24] 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-25 21:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:31:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:31:24] 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":897762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:24] local.INFO: GPS data processed {"connection_id":192769,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:24] local.INFO: Acknowledgment sent {"connection_id":192769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:24] local.INFO: TCP Data received {"connection_id":195473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:24] local.INFO: Processing buffer {"connection_id":195473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:24] local.INFO: IMEI packet received {"connection_id":195473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":195473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:31:29] local.INFO: TCP Data received {"connection_id":195473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:29] local.INFO: Processing buffer {"connection_id":195473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:31:29] local.INFO: IMEI packet received {"connection_id":195473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":195473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:31:30] local.INFO: TCP Data received {"connection_id":195473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:30] local.INFO: Processing buffer {"connection_id":195473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94824b8012d34c14006aa49080013006e2a..."} 
[2026-09-25 21:31:30] local.INFO: Packet analysis {"connection_id":195473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:31:30] local.INFO: Extracted packet for processing {"connection_id":195473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d948"} 
[2026-09-25 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":19,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458329978368001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351779000,"timestamp_ms":1790351779000,"timestamp_seconds":1790351779,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94824b8"} 
[2026-09-25 21:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:31:30] local.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-25 21:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458329978368001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458329978368001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458329978368001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":195473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:30] local.INFO: GPS data processed {"connection_id":195473,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:30] local.INFO: Acknowledgment sent {"connection_id":195473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:30] local.INFO: TCP Data received {"connection_id":192767,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:30] local.INFO: Processing buffer {"connection_id":192767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:30] local.INFO: Packet analysis {"connection_id":192767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:30] local.INFO: Extracted packet for processing {"connection_id":192767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31: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-25 21:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:31:30] 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":897764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:30] local.INFO: GPS data processed {"connection_id":192767,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:30] local.INFO: Acknowledgment sent {"connection_id":192767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:54] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:54] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:54] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:31:55] local.INFO: TCP Data received {"connection_id":192769,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:55] local.INFO: Processing buffer {"connection_id":192769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:31:55] local.INFO: Packet analysis {"connection_id":192769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:55] local.INFO: Extracted packet for processing {"connection_id":192769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:55] 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-25 21:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21: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-25 21:31: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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:55] 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-25 21: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-25 21: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-25 21:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192769,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:31:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:31:56] 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":897765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:56] local.INFO: GPS data processed {"connection_id":192769,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:56] local.INFO: Acknowledgment sent {"connection_id":192769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:31:58] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:58] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:31:58] local.INFO: IMEI packet received {"connection_id":192770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":192770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:31:59] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:59] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:31:59] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:59] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:31:59] 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-25 21:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:31:59] 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":897766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:31:59] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:31:59] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:01] local.INFO: TCP Data received {"connection_id":195473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:01] local.INFO: Processing buffer {"connection_id":195473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:01] local.INFO: Packet analysis {"connection_id":195473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:01] local.INFO: Extracted packet for processing {"connection_id":195473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:32: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-25 21:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32: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-25 21:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:32: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-25 21:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32:01] local.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-25 21:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:32: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-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":195473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:01] local.INFO: GPS data processed {"connection_id":195473,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:01] local.INFO: Acknowledgment sent {"connection_id":195473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:17] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:17] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:17] local.INFO: IMEI packet received {"connection_id":194135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":194135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:32:22] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:22] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:32:22] local.INFO: IMEI packet received {"connection_id":194135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":194135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:32:23] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:23] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:23] local.INFO: Packet analysis {"connection_id":194135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:23] local.INFO: Extracted packet for processing {"connection_id":194135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:23] 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-25 21:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21: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-25 21:32:23] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:32: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-25 21: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-25 21: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-25 21:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:32:23] 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":897768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:23] local.INFO: GPS data processed {"connection_id":194135,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:23] local.INFO: Acknowledgment sent {"connection_id":194135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:29] local.INFO: TCP Data received {"connection_id":195475,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:29] local.INFO: Processing buffer {"connection_id":195475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:29] local.INFO: IMEI packet received {"connection_id":195475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":195475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:32:30] local.INFO: TCP Data received {"connection_id":192770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:30] local.INFO: Processing buffer {"connection_id":192770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:30] local.INFO: Packet analysis {"connection_id":192770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:30] local.INFO: Extracted packet for processing {"connection_id":192770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32: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-25 21:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:32:31] 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":897769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:31] local.INFO: GPS data processed {"connection_id":192770,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:31] local.INFO: Acknowledgment sent {"connection_id":192770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:34] local.INFO: TCP Data received {"connection_id":195475,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:34] local.INFO: Processing buffer {"connection_id":195475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:32:34] local.INFO: IMEI packet received {"connection_id":195475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":195475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:32:35] local.INFO: TCP Data received {"connection_id":195475,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:35] local.INFO: Processing buffer {"connection_id":195475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:35] local.INFO: Packet analysis {"connection_id":195475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:35] local.INFO: Extracted packet for processing {"connection_id":195475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21: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-25 21:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32: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-25 21:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":195475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:35] local.INFO: GPS data processed {"connection_id":195475,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:35] local.INFO: Acknowledgment sent {"connection_id":195475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:40] local.INFO: TCP Data received {"connection_id":195475,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:40] local.INFO: Processing buffer {"connection_id":195475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:32:40] local.INFO: Packet analysis {"connection_id":195475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:40] local.INFO: Extracted packet for processing {"connection_id":195475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21: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-25 21:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:32: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-25 21:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":195475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:40] local.INFO: GPS data processed {"connection_id":195475,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:40] local.INFO: Acknowledgment sent {"connection_id":195475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:53] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:53] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:53] local.INFO: IMEI packet received {"connection_id":192618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":192618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:32:54] local.INFO: TCP Data received {"connection_id":194135,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:54] local.INFO: Processing buffer {"connection_id":194135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:32:54] local.INFO: Packet analysis {"connection_id":194135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:54] local.INFO: Extracted packet for processing {"connection_id":194135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:54] 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-25 21:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:32:54] 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-25 21:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:54] 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-25 21:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:32:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:32:55] 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":897772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:55] local.INFO: GPS data processed {"connection_id":194135,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:55] local.INFO: Acknowledgment sent {"connection_id":194135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:32:58] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:58] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:32:58] local.INFO: IMEI packet received {"connection_id":192618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":192618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:32:59] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:59] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:32:59] local.INFO: Packet analysis {"connection_id":192618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:59] local.INFO: Extracted packet for processing {"connection_id":192618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:32: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-25 21:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:32:59] 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-25 21:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":192618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:32:59] local.INFO: GPS data processed {"connection_id":192618,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:32:59] local.INFO: Acknowledgment sent {"connection_id":192618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:22] local.INFO: TCP Data received {"connection_id":194136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:22] local.INFO: Processing buffer {"connection_id":194136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:22] local.INFO: IMEI packet received {"connection_id":194136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":194136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:33:24] local.INFO: TCP Data received {"connection_id":195476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:24] local.INFO: Processing buffer {"connection_id":195476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:24] local.INFO: IMEI packet received {"connection_id":195476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":195476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:33:27] local.INFO: TCP Data received {"connection_id":194136,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:27] local.INFO: Processing buffer {"connection_id":194136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:33:27] local.INFO: IMEI packet received {"connection_id":194136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":194136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:33:28] local.INFO: TCP Data received {"connection_id":194136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:28] local.INFO: Processing buffer {"connection_id":194136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:28] local.INFO: Packet analysis {"connection_id":194136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:28] local.INFO: Extracted packet for processing {"connection_id":194136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:28] 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-25 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:28] 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-25 21:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":194136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:28] local.INFO: GPS data processed {"connection_id":194136,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:28] local.INFO: Acknowledgment sent {"connection_id":194136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:29] local.INFO: TCP Data received {"connection_id":195476,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:29] local.INFO: Processing buffer {"connection_id":195476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:33:29] local.INFO: IMEI packet received {"connection_id":195476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":195476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:33:30] local.INFO: TCP Data received {"connection_id":195476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:30] local.INFO: Processing buffer {"connection_id":195476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:30] local.INFO: Packet analysis {"connection_id":195476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:33:30] local.INFO: Extracted packet for processing {"connection_id":195476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21: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-25 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:30] 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-25 21: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-25 21: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-25 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":195476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:30] local.INFO: GPS data processed {"connection_id":195476,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:30] local.INFO: Acknowledgment sent {"connection_id":195476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:30] local.INFO: TCP Data received {"connection_id":192618,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:30] local.INFO: Processing buffer {"connection_id":192618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:30] local.INFO: Packet analysis {"connection_id":192618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:30] local.INFO: Extracted packet for processing {"connection_id":192618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33: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-25 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21: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-25 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":192618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:30] local.INFO: GPS data processed {"connection_id":192618,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:30] local.INFO: Acknowledgment sent {"connection_id":192618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:33] local.INFO: TCP Data received {"connection_id":194136,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:33] local.INFO: Processing buffer {"connection_id":194136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94a2c40012d0b10c007029f100017013d20..."} 
[2026-09-25 21:33:33] local.INFO: Packet analysis {"connection_id":194136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:33] local.INFO: Extracted packet for processing {"connection_id":194136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":23,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330012416001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:33] 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-25 21:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790351912000,"timestamp_ms":1790351912000,"timestamp_seconds":1790351912,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94a2c40"} 
[2026-09-25 21: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-25 21:33:33] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:33] 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-25 21: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-25 21: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-25 21:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330012416001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330012416001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:33:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330012416001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":194136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:33] local.INFO: GPS data processed {"connection_id":194136,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:33] local.INFO: Acknowledgment sent {"connection_id":194136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:35] local.INFO: TCP Data received {"connection_id":195476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:35] local.INFO: Processing buffer {"connection_id":195476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:33:35] local.INFO: Packet analysis {"connection_id":195476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:33:35] local.INFO: Extracted packet for processing {"connection_id":195476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":195476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:35] local.INFO: GPS data processed {"connection_id":195476,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:35] local.INFO: Acknowledgment sent {"connection_id":195476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:33:53] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:53] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:53] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:33:58] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:58] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:33:58] local.INFO: IMEI packet received {"connection_id":192771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":192771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:33:59] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:59] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:33:59] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:59] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:33: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-25 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:33:59] 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-25 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:33:59] 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":897779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:33:59] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:33:59] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:06] local.INFO: TCP Data received {"connection_id":195476,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:06] local.INFO: Processing buffer {"connection_id":195476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:06] local.INFO: Packet analysis {"connection_id":195476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:34:06] local.INFO: Extracted packet for processing {"connection_id":195476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21: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-25 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:34: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-25 21: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-25 21: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-25 21:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":195476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":195476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":195476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:34:06] local.INFO: GPS data processed {"connection_id":195476,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:34:06] local.INFO: Acknowledgment sent {"connection_id":195476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:17] local.INFO: TCP Data received {"connection_id":192772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:17] local.INFO: Processing buffer {"connection_id":192772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:17] local.INFO: IMEI packet received {"connection_id":192772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":192772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:34:22] local.INFO: TCP Data received {"connection_id":192772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192772,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:22] local.INFO: Processing buffer {"connection_id":192772,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:34:22] local.INFO: IMEI packet received {"connection_id":192772,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":192772,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:34:23] local.INFO: TCP Data received {"connection_id":192772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:23] local.INFO: Processing buffer {"connection_id":192772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:23] local.INFO: Packet analysis {"connection_id":192772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:34:23] local.INFO: Extracted packet for processing {"connection_id":192772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:23] 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-25 21:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:34:23] 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-25 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:34:23] 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-25 21:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:34:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":192772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:34:23] local.INFO: GPS data processed {"connection_id":192772,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:34:23] local.INFO: Acknowledgment sent {"connection_id":192772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:24] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:24] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:24] local.INFO: IMEI packet received {"connection_id":192620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":192620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:34:30] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:30] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:34:30] local.INFO: IMEI packet received {"connection_id":192620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":192620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:34:30] local.INFO: TCP Data received {"connection_id":192771,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:34:30] local.INFO: Processing buffer {"connection_id":192771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ad820012d1969c0071ff170003f015227..."} 
[2026-09-25 21:34:30] local.INFO: Packet analysis {"connection_id":192771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:34:30] local.INFO: Extracted packet for processing {"connection_id":192771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94a"} 
[2026-09-25 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330023680001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34: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-25 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790351956000,"timestamp_ms":1790351956000,"timestamp_seconds":1790351956,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ad820"} 
[2026-09-25 21:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330023680001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330023680001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330023680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:34:31] 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":897782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:34:31] local.INFO: GPS data processed {"connection_id":192771,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:34:31] local.INFO: Acknowledgment sent {"connection_id":192771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:31] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:31] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:34:31] local.INFO: Packet analysis {"connection_id":192620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:34:31] local.INFO: Extracted packet for processing {"connection_id":192620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34: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-25 21:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21: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-25 21:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:34:31] 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-25 21: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-25 21: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-25 21:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:34:31] 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-25 21:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:34:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:34: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-25 21:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":192620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:34:31] local.INFO: GPS data processed {"connection_id":192620,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:34:31] local.INFO: Acknowledgment sent {"connection_id":192620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:54] local.INFO: TCP Data received {"connection_id":192772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:54] local.INFO: Processing buffer {"connection_id":192772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:34:54] local.INFO: Packet analysis {"connection_id":192772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:34:54] local.INFO: Extracted packet for processing {"connection_id":192772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:34:54] 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-25 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21: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-25 21:34:54] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:34:54] 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-25 21:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21: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-25 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192772,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:34:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:34:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":192772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:34:54] local.INFO: GPS data processed {"connection_id":192772,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:34:54] local.INFO: Acknowledgment sent {"connection_id":192772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:34:55] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:55] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:55] local.INFO: IMEI packet received {"connection_id":192773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":192773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:34:58] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:58] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:34:58] local.INFO: IMEI packet received {"connection_id":192773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":192773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:35:03] local.INFO: TCP Data received {"connection_id":192620,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:03] local.INFO: Processing buffer {"connection_id":192620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:03] local.INFO: Packet analysis {"connection_id":192620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:35:03] local.INFO: Extracted packet for processing {"connection_id":192620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35: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-25 21:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:03] 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-25 21:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:35:03] 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-25 21:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:35: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-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":192620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:03] local.INFO: GPS data processed {"connection_id":192620,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:03] local.INFO: Acknowledgment sent {"connection_id":192620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:03] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:03] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:03] local.INFO: IMEI packet received {"connection_id":192773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":192773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:35:04] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:04] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:04] local.INFO: Packet analysis {"connection_id":192773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:04] local.INFO: Extracted packet for processing {"connection_id":192773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:04] 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-25 21:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:35:05] 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":897786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:05] local.INFO: GPS data processed {"connection_id":192773,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:05] local.INFO: Acknowledgment sent {"connection_id":192773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:09] local.INFO: TCP Data received {"connection_id":192773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:09] local.INFO: Processing buffer {"connection_id":192773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:09] local.INFO: Packet analysis {"connection_id":192773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:09] local.INFO: Extracted packet for processing {"connection_id":192773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:09] 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-25 21:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:35:09] 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":897787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:09] local.INFO: GPS data processed {"connection_id":192773,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:09] local.INFO: Acknowledgment sent {"connection_id":192773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:24] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:24] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:24] local.INFO: IMEI packet received {"connection_id":192774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":192774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:35:28] local.INFO: TCP Data received {"connection_id":195477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: Processing buffer {"connection_id":195477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: IMEI packet received {"connection_id":195477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":195477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:35:28] local.INFO: TCP Data received {"connection_id":195477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: Processing buffer {"connection_id":195477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:35:28] local.INFO: IMEI packet received {"connection_id":195477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":195477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:35:29] local.INFO: TCP Data received {"connection_id":195477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:29] local.INFO: Processing buffer {"connection_id":195477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:29] local.INFO: Packet analysis {"connection_id":195477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:35:29] local.INFO: Extracted packet for processing {"connection_id":195477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35: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-25 21:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:29] 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-25 21:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:29] 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-25 21:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:35:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":195477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:29] local.INFO: GPS data processed {"connection_id":195477,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:29] local.INFO: Acknowledgment sent {"connection_id":195477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:29] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:29] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:35:29] local.INFO: IMEI packet received {"connection_id":192774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":192774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:35:30] local.INFO: TCP Data received {"connection_id":195477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:30] local.INFO: Processing buffer {"connection_id":195477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:35:30] local.INFO: Packet analysis {"connection_id":195477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:35:30] local.INFO: Extracted packet for processing {"connection_id":195477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] 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-25 21:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:30] 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-25 21:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":195477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:30] local.INFO: GPS data processed {"connection_id":195477,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:30] local.INFO: Acknowledgment sent {"connection_id":195477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:30] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:30] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:35:30] local.INFO: Packet analysis {"connection_id":192774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:35:30] local.INFO: Extracted packet for processing {"connection_id":192774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:30] 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-25 21:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:35:30] 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":897790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:30] local.INFO: GPS data processed {"connection_id":192774,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:30] local.INFO: Acknowledgment sent {"connection_id":192774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:35:33] local.INFO: TCP Data received {"connection_id":194138,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:35:33] local.INFO: Processing buffer {"connection_id":194138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:35:33] local.INFO: IMEI packet received {"connection_id":194138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":194138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:35:53] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:53] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:53] local.INFO: IMEI packet received {"connection_id":192621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":192621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:35:58] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:58] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:35:58] local.INFO: IMEI packet received {"connection_id":192621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":192621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:35:59] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:59] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:35:59] local.INFO: Packet analysis {"connection_id":192621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:59] local.INFO: Extracted packet for processing {"connection_id":192621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:35: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-25 21:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:35:59] 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-25 21:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":192621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:35:59] local.INFO: GPS data processed {"connection_id":192621,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:35:59] local.INFO: Acknowledgment sent {"connection_id":192621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:01] local.INFO: TCP Data received {"connection_id":195477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:01] local.INFO: Processing buffer {"connection_id":195477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:01] local.INFO: Packet analysis {"connection_id":195477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:36:01] local.INFO: Extracted packet for processing {"connection_id":195477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:01] 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-25 21:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36:01] 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-25 21:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:36:01] 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-25 21:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195477,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:36:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":195477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:01] local.INFO: GPS data processed {"connection_id":195477,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:01] local.INFO: Acknowledgment sent {"connection_id":195477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:02] local.INFO: TCP Data received {"connection_id":192774,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:02] local.INFO: Processing buffer {"connection_id":192774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:02] local.INFO: Packet analysis {"connection_id":192774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:36:02] local.INFO: Extracted packet for processing {"connection_id":192774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36: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-25 21:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:36:02] 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-25 21:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:36: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-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:36:02] 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":897793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:02] local.INFO: GPS data processed {"connection_id":192774,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:02] local.INFO: Acknowledgment sent {"connection_id":192774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:08] local.INFO: TCP Data received {"connection_id":194139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:36:08] local.INFO: Processing buffer {"connection_id":194139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:36:08] local.INFO: IMEI packet received {"connection_id":194139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":194139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:36:17] local.INFO: TCP Data received {"connection_id":194140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:17] local.INFO: Processing buffer {"connection_id":194140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:17] local.INFO: IMEI packet received {"connection_id":194140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":194140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:36:24] local.INFO: TCP Data received {"connection_id":194140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:24] local.INFO: Processing buffer {"connection_id":194140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:24] local.INFO: IMEI packet received {"connection_id":194140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":194140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:36:24] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:24] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:24] local.INFO: IMEI packet received {"connection_id":194141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":194141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:36:29] local.INFO: TCP Data received {"connection_id":194140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:29] local.INFO: Processing buffer {"connection_id":194140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:36:29] local.INFO: IMEI packet received {"connection_id":194140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":194140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:36:29] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:29] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:36:29] local.INFO: IMEI packet received {"connection_id":194141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":194141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:36:30] local.INFO: TCP Data received {"connection_id":194140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:30] local.INFO: Processing buffer {"connection_id":194140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:36:30] local.INFO: Packet analysis {"connection_id":194140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:36:30] local.INFO: Extracted packet for processing {"connection_id":194140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] 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-25 21:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:36:30] 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-25 21:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":194140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:30] local.INFO: GPS data processed {"connection_id":194140,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:30] local.INFO: Acknowledgment sent {"connection_id":194140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:30] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:30] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94cbc80012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:36:30] local.INFO: Packet analysis {"connection_id":194141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:36:30] local.INFO: Extracted packet for processing {"connection_id":194141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94c"} 
[2026-09-25 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330055424001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352080000,"timestamp_ms":1790352080000,"timestamp_seconds":1790352080,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94cbc80"} 
[2026-09-25 21:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:36:30] 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-25 21:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:36:30] local.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-25 21:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330055424001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330055424001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330055424001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:36:30] 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":897795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:30] local.INFO: GPS data processed {"connection_id":194141,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:30] local.INFO: Acknowledgment sent {"connection_id":194141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:31] local.INFO: TCP Data received {"connection_id":192621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:31] local.INFO: Processing buffer {"connection_id":192621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:31] local.INFO: Packet analysis {"connection_id":192621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:36:31] local.INFO: Extracted packet for processing {"connection_id":192621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36: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-25 21:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36: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-25 21:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:36: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-25 21:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":192621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:31] local.INFO: GPS data processed {"connection_id":192621,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:31] local.INFO: Acknowledgment sent {"connection_id":192621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:36:54] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:54] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:54] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:36:58] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:58] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:36:58] local.INFO: IMEI packet received {"connection_id":192622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":192622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:36:59] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:59] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:36:59] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:36:59] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:36: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-25 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:36:59] 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-25 21:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:36:59] 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":897797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:36:59] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:36:59] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:01] local.INFO: TCP Data received {"connection_id":194140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:01] local.INFO: Processing buffer {"connection_id":194140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:01] local.INFO: Packet analysis {"connection_id":194140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:01] local.INFO: Extracted packet for processing {"connection_id":194140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:01] 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-25 21:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:01] 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-25 21:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:01] 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-25 21:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:37:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":194140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:01] local.INFO: GPS data processed {"connection_id":194140,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:01] local.INFO: Acknowledgment sent {"connection_id":194140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:02] local.INFO: TCP Data received {"connection_id":194141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:02] local.INFO: Processing buffer {"connection_id":194141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:02] local.INFO: Packet analysis {"connection_id":194141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:02] local.INFO: Extracted packet for processing {"connection_id":194141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37: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-25 21:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:37: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-25 21:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:37:02] 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":897799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:02] local.INFO: GPS data processed {"connection_id":194141,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:02] local.INFO: Acknowledgment sent {"connection_id":194141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:22] local.INFO: TCP Data received {"connection_id":195479,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:22] local.INFO: Processing buffer {"connection_id":195479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:22] local.INFO: IMEI packet received {"connection_id":195479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":195479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:37:27] local.INFO: TCP Data received {"connection_id":195479,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:27] local.INFO: Processing buffer {"connection_id":195479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:37:27] local.INFO: IMEI packet received {"connection_id":195479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":195479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:37:28] local.INFO: TCP Data received {"connection_id":195479,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:28] local.INFO: Processing buffer {"connection_id":195479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:28] local.INFO: Packet analysis {"connection_id":195479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:28] local.INFO: Extracted packet for processing {"connection_id":195479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:37: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-25 21:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:28] 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-25 21:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:37: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-25 21:37: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-25 21:37: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-25 21:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":195479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:28] local.INFO: GPS data processed {"connection_id":195479,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:28] local.INFO: Acknowledgment sent {"connection_id":195479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:29] local.INFO: TCP Data received {"connection_id":194142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:29] local.INFO: Processing buffer {"connection_id":194142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:29] local.INFO: IMEI packet received {"connection_id":194142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":194142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:37:30] local.INFO: TCP Data received {"connection_id":192622,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:30] local.INFO: Processing buffer {"connection_id":192622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:30] local.INFO: Packet analysis {"connection_id":192622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:37:30] local.INFO: Extracted packet for processing {"connection_id":192622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37: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-25 21:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:37:30] 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":897801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:30] local.INFO: GPS data processed {"connection_id":192622,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:30] local.INFO: Acknowledgment sent {"connection_id":192622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:32] local.INFO: TCP Data received {"connection_id":195479,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:32] local.INFO: Processing buffer {"connection_id":195479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:37:32] local.INFO: Packet analysis {"connection_id":195479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:32] local.INFO: Extracted packet for processing {"connection_id":195479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:32] 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-25 21:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":195479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:33] local.INFO: GPS data processed {"connection_id":195479,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:33] local.INFO: Acknowledgment sent {"connection_id":195479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:34] local.INFO: TCP Data received {"connection_id":194142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:34] local.INFO: Processing buffer {"connection_id":194142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:37:34] local.INFO: IMEI packet received {"connection_id":194142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":194142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:37:35] local.INFO: TCP Data received {"connection_id":194142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:35] local.INFO: Processing buffer {"connection_id":194142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:35] local.INFO: Packet analysis {"connection_id":194142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:35] local.INFO: Extracted packet for processing {"connection_id":194142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21: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-25 21:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":194142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:35] local.INFO: GPS data processed {"connection_id":194142,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:35] local.INFO: Acknowledgment sent {"connection_id":194142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:40] local.INFO: TCP Data received {"connection_id":194142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:40] local.INFO: Processing buffer {"connection_id":194142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:37:40] local.INFO: Packet analysis {"connection_id":194142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:40] local.INFO: Extracted packet for processing {"connection_id":194142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21: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-25 21:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:37: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-25 21:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":194142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:37:40] local.INFO: GPS data processed {"connection_id":194142,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:37:40] local.INFO: Acknowledgment sent {"connection_id":194142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:37:53] local.INFO: TCP Data received {"connection_id":192623,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:53] local.INFO: Processing buffer {"connection_id":192623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:53] local.INFO: IMEI packet received {"connection_id":192623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":192623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:37:58] local.INFO: TCP Data received {"connection_id":192623,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:58] local.INFO: Processing buffer {"connection_id":192623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:37:58] local.INFO: IMEI packet received {"connection_id":192623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":192623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:37:59] local.INFO: TCP Data received {"connection_id":192623,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:59] local.INFO: Processing buffer {"connection_id":192623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:37:59] local.INFO: Packet analysis {"connection_id":192623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:37:59] local.INFO: Extracted packet for processing {"connection_id":192623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:37: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-25 21:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:37:59] 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-25 21:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":192623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:00] local.INFO: GPS data processed {"connection_id":192623,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:00] local.INFO: Acknowledgment sent {"connection_id":192623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:24] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:24] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:24] local.INFO: IMEI packet received {"connection_id":192775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":192775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:38:25] local.INFO: TCP Data received {"connection_id":195480,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: Processing buffer {"connection_id":195480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: IMEI packet received {"connection_id":195480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":195480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:38:25] local.INFO: TCP Data received {"connection_id":195480,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195480,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: Processing buffer {"connection_id":195480,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:38:25] local.INFO: IMEI packet received {"connection_id":195480,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":195480,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:38:26] local.INFO: TCP Data received {"connection_id":195480,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:26] local.INFO: Processing buffer {"connection_id":195480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:26] local.INFO: Packet analysis {"connection_id":195480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:38:26] local.INFO: Extracted packet for processing {"connection_id":195480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:38:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:38: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-25 21:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:26] 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-25 21:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:38: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:38:26] 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-25 21:38: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-25 21:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:38:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":195480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:26] local.INFO: GPS data processed {"connection_id":195480,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:26] local.INFO: Acknowledgment sent {"connection_id":195480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:27] local.INFO: TCP Data received {"connection_id":195480,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:27] local.INFO: Processing buffer {"connection_id":195480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94ec408012d0b10c007029f10001b013d1e..."} 
[2026-09-25 21:38:27] local.INFO: Packet analysis {"connection_id":195480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:38:27] local.INFO: Extracted packet for processing {"connection_id":195480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94e"} 
[2026-09-25 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330089472001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:27] 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-25 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790352213000,"timestamp_ms":1790352213000,"timestamp_seconds":1790352213,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94ec408"} 
[2026-09-25 21: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-25 21:38: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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330089472001,"66":11830,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330089472001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330089472001,"power":11830,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":195480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:27] local.INFO: GPS data processed {"connection_id":195480,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:27] local.INFO: Acknowledgment sent {"connection_id":195480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:29] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:29] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:38:29] local.INFO: IMEI packet received {"connection_id":192775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:38:30] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:38:30] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:38:30] local.INFO: Packet analysis {"connection_id":192775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:38:30] local.INFO: Extracted packet for processing {"connection_id":192775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:38:30] 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":897808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:30] local.INFO: GPS data processed {"connection_id":192775,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:30] local.INFO: Acknowledgment sent {"connection_id":192775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:31] local.INFO: TCP Data received {"connection_id":192623,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:31] local.INFO: Processing buffer {"connection_id":192623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:31] local.INFO: Packet analysis {"connection_id":192623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:38:31] local.INFO: Extracted packet for processing {"connection_id":192623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21: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-25 21:38: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-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:38: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-25 21: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-25 21: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-25 21:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":192623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:31] local.INFO: GPS data processed {"connection_id":192623,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:31] local.INFO: Acknowledgment sent {"connection_id":192623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:53] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:53] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:53] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:38:58] local.INFO: TCP Data received {"connection_id":195480,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:38:58] local.INFO: Processing buffer {"connection_id":195480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:38:58] local.INFO: Packet analysis {"connection_id":195480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:38:58] local.INFO: Extracted packet for processing {"connection_id":195480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:58] 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-25 21:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:38:58] 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-25 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195480,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:38:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:38:58] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:58] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:38:58] local.INFO: IMEI packet received {"connection_id":192624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":192624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":195480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897810,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:59] local.INFO: GPS data processed {"connection_id":195480,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:59] local.INFO: Acknowledgment sent {"connection_id":195480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:38:59] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:59] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:38:59] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:38:59] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:38: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-25 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21: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-25 21:38:59] 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-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:38:59] 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":897811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:38:59] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:38:59] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:39:03] local.INFO: TCP Data received {"connection_id":192775,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:03] local.INFO: Processing buffer {"connection_id":192775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:03] local.INFO: Packet analysis {"connection_id":192775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:39:03] local.INFO: Extracted packet for processing {"connection_id":192775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39: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-25 21:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:39: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-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:39:03] 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":897812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:39:03] local.INFO: GPS data processed {"connection_id":192775,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:39:03] local.INFO: Acknowledgment sent {"connection_id":192775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:39:17] local.INFO: TCP Data received {"connection_id":195481,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:17] local.INFO: Processing buffer {"connection_id":195481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:17] local.INFO: IMEI packet received {"connection_id":195481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":195481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:39:22] local.INFO: TCP Data received {"connection_id":195481,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195481,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:22] local.INFO: Processing buffer {"connection_id":195481,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:39:22] local.INFO: IMEI packet received {"connection_id":195481,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":195481,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:39:24] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:24] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:24] local.INFO: IMEI packet received {"connection_id":194144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":194144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:39:25] local.INFO: TCP Data received {"connection_id":195481,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:39:25] local.INFO: Processing buffer {"connection_id":195481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:39:25] local.INFO: Packet analysis {"connection_id":195481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:39:25] local.INFO: Extracted packet for processing {"connection_id":195481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:39:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:25] 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-25 21:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:39: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-25 21:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":195481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":195481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":195481,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:39:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:39:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":195481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:39:25] local.INFO: GPS data processed {"connection_id":195481,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:39:25] local.INFO: Acknowledgment sent {"connection_id":195481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:39:29] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:29] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:39:29] local.INFO: IMEI packet received {"connection_id":194144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":194144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:39:30] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:30] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:39:30] local.INFO: Packet analysis {"connection_id":194144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:39:30] local.INFO: Extracted packet for processing {"connection_id":194144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:39:30] local.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-25 21:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:39:30] 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":897814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:39:30] local.INFO: GPS data processed {"connection_id":194144,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:39:30] local.INFO: Acknowledgment sent {"connection_id":194144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:39:30] local.INFO: TCP Data received {"connection_id":192624,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:39:30] local.INFO: Processing buffer {"connection_id":192624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d94f6fe8012d1969c0071ff170003f015229..."} 
[2026-09-25 21:39:30] local.INFO: Packet analysis {"connection_id":192624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:39:30] local.INFO: Extracted packet for processing {"connection_id":192624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d94f"} 
[2026-09-25 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330100736001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:39: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-25 21:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352257000,"timestamp_ms":1790352257000,"timestamp_seconds":1790352257,"priority":1,"record_length":96,"hex_timestamp":"000001a0d94f6fe8"} 
[2026-09-25 21:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330100736001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330100736001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330100736001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:39:30] 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":897815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:39:30] local.INFO: GPS data processed {"connection_id":192624,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:39:30] local.INFO: Acknowledgment sent {"connection_id":192624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:39:57] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:57] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:57] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:39:58] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:58] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:39:58] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:40:02] local.INFO: TCP Data received {"connection_id":194144,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:02] local.INFO: Processing buffer {"connection_id":194144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:02] local.INFO: Packet analysis {"connection_id":194144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:40:02] local.INFO: Extracted packet for processing {"connection_id":194144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40: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-25 21:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:40: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-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:40:02] 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":897816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:02] local.INFO: GPS data processed {"connection_id":194144,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:02] local.INFO: Acknowledgment sent {"connection_id":194144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:03] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:03] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:03] local.INFO: IMEI packet received {"connection_id":192777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":192777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:40:04] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:04] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:04] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:04] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:40:04] 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-25 21:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:40:04] 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":897817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:04] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:04] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:23] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:23] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:23] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:40:24] local.INFO: TCP Data received {"connection_id":195482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:24] local.INFO: Processing buffer {"connection_id":195482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:24] local.INFO: IMEI packet received {"connection_id":195482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":195482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:40:29] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:29] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:40:29] local.INFO: IMEI packet received {"connection_id":192626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":192626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:40:29] local.INFO: TCP Data received {"connection_id":195482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:29] local.INFO: Processing buffer {"connection_id":195482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:40:29] local.INFO: IMEI packet received {"connection_id":195482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":195482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:40:30] local.INFO: TCP Data received {"connection_id":195482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:30] local.INFO: Processing buffer {"connection_id":195482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:40:30] local.INFO: Packet analysis {"connection_id":195482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:40:30] local.INFO: Extracted packet for processing {"connection_id":195482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":195482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:30] local.INFO: GPS data processed {"connection_id":195482,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:30] local.INFO: Acknowledgment sent {"connection_id":195482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:33] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:33] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:33] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:40:33] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:40:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 21:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:33] 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-25 21:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 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-25 21:40:33] 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-25 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:40:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:40:33] 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":897819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:33] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:33] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:34] local.INFO: TCP Data received {"connection_id":192626,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:34] local.INFO: Processing buffer {"connection_id":192626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:40:34] local.INFO: Packet analysis {"connection_id":192626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:40:34] local.INFO: Extracted packet for processing {"connection_id":192626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:34] 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-25 21:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:40:34] 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-25 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:40: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":897820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:35] local.INFO: GPS data processed {"connection_id":192626,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:35] local.INFO: Acknowledgment sent {"connection_id":192626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:35] local.INFO: TCP Data received {"connection_id":192777,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:35] local.INFO: Processing buffer {"connection_id":192777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:35] local.INFO: Packet analysis {"connection_id":192777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:35] local.INFO: Extracted packet for processing {"connection_id":192777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21: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-25 21:40:35] 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-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21: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-25 21: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-25 21:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:40:35] 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":897821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:35] local.INFO: GPS data processed {"connection_id":192777,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:35] local.INFO: Acknowledgment sent {"connection_id":192777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:40:53] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:53] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:53] local.INFO: IMEI packet received {"connection_id":194145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":194145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:40:58] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:58] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:40:58] local.INFO: IMEI packet received {"connection_id":194145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":194145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:40:59] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:59] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:40:59] local.INFO: Packet analysis {"connection_id":194145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:59] local.INFO: Extracted packet for processing {"connection_id":194145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:40: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-25 21:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:40:59] 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-25 21:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:40:59] 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":897822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:40:59] local.INFO: GPS data processed {"connection_id":194145,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:40:59] local.INFO: Acknowledgment sent {"connection_id":194145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:01] local.INFO: TCP Data received {"connection_id":195482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:01] local.INFO: Processing buffer {"connection_id":195482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:01] local.INFO: Packet analysis {"connection_id":195482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:41:01] local.INFO: Extracted packet for processing {"connection_id":195482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41: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-25 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:41: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-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":195482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:01] local.INFO: GPS data processed {"connection_id":195482,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:01] local.INFO: Acknowledgment sent {"connection_id":195482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:22] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:22] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:22] local.INFO: IMEI packet received {"connection_id":192779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":192779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:41:23] local.INFO: TCP Data received {"connection_id":192778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:41:23] local.INFO: Processing buffer {"connection_id":192778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:41:23] local.INFO: IMEI packet received {"connection_id":192778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":192778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:41:24] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:24] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:24] local.INFO: IMEI packet received {"connection_id":192627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":192627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:41:29] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:29] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:41:29] local.INFO: IMEI packet received {"connection_id":192627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:41:30] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:30] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9515448012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:41:30] local.INFO: Packet analysis {"connection_id":192627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:41:30] local.INFO: Extracted packet for processing {"connection_id":192627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d951"} 
[2026-09-25 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330132480001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352381000,"timestamp_ms":1790352381000,"timestamp_seconds":1790352381,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9515448"} 
[2026-09-25 21: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-25 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330132480001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330132480001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330132480001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":192627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:30] local.INFO: GPS data processed {"connection_id":192627,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:30] local.INFO: Acknowledgment sent {"connection_id":192627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:30] local.INFO: TCP Data received {"connection_id":194145,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:30] local.INFO: Processing buffer {"connection_id":194145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:30] local.INFO: Packet analysis {"connection_id":194145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:41:30] local.INFO: Extracted packet for processing {"connection_id":194145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21: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-25 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21: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-25 21: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-25 21: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-25 21:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:41:30] 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":897825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:30] local.INFO: GPS data processed {"connection_id":194145,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:30] local.INFO: Acknowledgment sent {"connection_id":194145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:33] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:33] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:41:33] local.INFO: IMEI packet received {"connection_id":192779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":192779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:41:34] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:34] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:34] local.INFO: Packet analysis {"connection_id":192779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:41:34] local.INFO: Extracted packet for processing {"connection_id":192779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:34] 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-25 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 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-25 21:41:34] 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-25 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:41:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:41:34] 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":897826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:34] local.INFO: GPS data processed {"connection_id":192779,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:34] local.INFO: Acknowledgment sent {"connection_id":192779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:35] local.INFO: TCP Data received {"connection_id":192779,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:35] local.INFO: Processing buffer {"connection_id":192779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:41:35] local.INFO: Packet analysis {"connection_id":192779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:41:35] local.INFO: Extracted packet for processing {"connection_id":192779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:41:35] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:35] 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-25 21:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21: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-25 21:41:35] 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-25 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:41:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:41:35] 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":897827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:35] local.INFO: GPS data processed {"connection_id":192779,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:35] local.INFO: Acknowledgment sent {"connection_id":192779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:41:53] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:53] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:53] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:41:58] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:58] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:41:58] local.INFO: IMEI packet received {"connection_id":192780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":192780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:41:59] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:59] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:41:59] local.INFO: Packet analysis {"connection_id":192780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:41:59] local.INFO: Extracted packet for processing {"connection_id":192780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:41: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-25 21:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:41:59] 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-25 21:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:41:59] 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":897828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:41:59] local.INFO: GPS data processed {"connection_id":192780,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:41:59] local.INFO: Acknowledgment sent {"connection_id":192780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:01] local.INFO: TCP Data received {"connection_id":192627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:01] local.INFO: Processing buffer {"connection_id":192627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:01] local.INFO: Packet analysis {"connection_id":192627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:01] local.INFO: Extracted packet for processing {"connection_id":192627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42: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-25 21:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:42:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:42: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-25 21:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":192627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:01] local.INFO: GPS data processed {"connection_id":192627,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:01] local.INFO: Acknowledgment sent {"connection_id":192627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:03] local.INFO: TCP Data received {"connection_id":192628,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:42:03] local.INFO: Processing buffer {"connection_id":192628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:42:03] local.INFO: IMEI packet received {"connection_id":192628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":192628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:42:17] local.INFO: TCP Data received {"connection_id":195483,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:17] local.INFO: Processing buffer {"connection_id":195483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:17] local.INFO: IMEI packet received {"connection_id":195483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":195483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:42:22] local.INFO: TCP Data received {"connection_id":195483,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:22] local.INFO: Processing buffer {"connection_id":195483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:42:22] local.INFO: IMEI packet received {"connection_id":195483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":195483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:42:26] local.INFO: TCP Data received {"connection_id":195483,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:26] local.INFO: Processing buffer {"connection_id":195483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:26] local.INFO: Packet analysis {"connection_id":195483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:26] local.INFO: Extracted packet for processing {"connection_id":195483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:26] 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-25 21:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21: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-25 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":195483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897830,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:26] local.INFO: GPS data processed {"connection_id":195483,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:26] local.INFO: Acknowledgment sent {"connection_id":195483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:27] local.INFO: TCP Data received {"connection_id":195483,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:27] local.INFO: Processing buffer {"connection_id":195483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:27] local.INFO: Packet analysis {"connection_id":195483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:27] local.INFO: Extracted packet for processing {"connection_id":195483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:27] 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-25 21:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42: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-25 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":195483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:27] local.INFO: GPS data processed {"connection_id":195483,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:27] local.INFO: Acknowledgment sent {"connection_id":195483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:29] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:29] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:29] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:42:30] local.INFO: TCP Data received {"connection_id":192780,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:30] local.INFO: Processing buffer {"connection_id":192780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:30] local.INFO: Packet analysis {"connection_id":192780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:42:30] local.INFO: Extracted packet for processing {"connection_id":192780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42: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-25 21:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:42: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-25 21:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:42:30] 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":897832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:30] local.INFO: GPS data processed {"connection_id":192780,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:30] local.INFO: Acknowledgment sent {"connection_id":192780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:34] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:34] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:42:34] local.INFO: IMEI packet received {"connection_id":192629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":192629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:42:35] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:35] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:35] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:35] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:42: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-25 21:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:42: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":897833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:35] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:35] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:41] local.INFO: TCP Data received {"connection_id":192629,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:41] local.INFO: Processing buffer {"connection_id":192629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:42:41] local.INFO: Packet analysis {"connection_id":192629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:41] local.INFO: Extracted packet for processing {"connection_id":192629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:42: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-25 21:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:42: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-25 21:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:42:41] 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":897834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:41] local.INFO: GPS data processed {"connection_id":192629,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:41] local.INFO: Acknowledgment sent {"connection_id":192629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:53] local.INFO: TCP Data received {"connection_id":192781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:53] local.INFO: Processing buffer {"connection_id":192781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:53] local.INFO: IMEI packet received {"connection_id":192781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":192781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:42:58] local.INFO: TCP Data received {"connection_id":195483,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:58] local.INFO: Processing buffer {"connection_id":195483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:42:58] local.INFO: Packet analysis {"connection_id":195483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:58] local.INFO: Extracted packet for processing {"connection_id":195483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:42:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:58] 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-25 21:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:58] 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-25 21:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:42:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:42:58] local.INFO: TCP Data received {"connection_id":192781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:58] local.INFO: Processing buffer {"connection_id":192781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:42:58] local.INFO: IMEI packet received {"connection_id":192781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":192781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":195483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:59] local.INFO: GPS data processed {"connection_id":195483,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:59] local.INFO: Acknowledgment sent {"connection_id":195483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:42:59] local.INFO: TCP Data received {"connection_id":192781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:59] local.INFO: Processing buffer {"connection_id":192781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:42:59] local.INFO: Packet analysis {"connection_id":192781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:42:59] local.INFO: Extracted packet for processing {"connection_id":192781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:42: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-25 21:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:42:59] 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-25 21:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":192781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:42:59] local.INFO: GPS data processed {"connection_id":192781,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:42:59] local.INFO: Acknowledgment sent {"connection_id":192781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:43:17] local.INFO: TCP Data received {"connection_id":192783,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:17] local.INFO: Processing buffer {"connection_id":192783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:17] local.INFO: IMEI packet received {"connection_id":192783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":192783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:43:22] local.INFO: TCP Data received {"connection_id":192783,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192783,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:22] local.INFO: Processing buffer {"connection_id":192783,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:43:22] local.INFO: IMEI packet received {"connection_id":192783,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":192783,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:43:23] local.INFO: TCP Data received {"connection_id":192783,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:43:23] local.INFO: Processing buffer {"connection_id":192783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9535bd0012d0b10c007029f10001b013d1d..."} 
[2026-09-25 21:43:23] local.INFO: Packet analysis {"connection_id":192783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:43:23] local.INFO: Extracted packet for processing {"connection_id":192783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d953"} 
[2026-09-25 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330166528001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:23] 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-25 21:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790352514000,"timestamp_ms":1790352514000,"timestamp_seconds":1790352514,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9535bd0"} 
[2026-09-25 21: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-25 21:43:23] 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-25 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-25 21:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330166528001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330166528001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330166528001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":192783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:43:23] local.INFO: GPS data processed {"connection_id":192783,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:43:23] local.INFO: Acknowledgment sent {"connection_id":192783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:43:24] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:24] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:24] local.INFO: IMEI packet received {"connection_id":192630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":192630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:43:29] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:29] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:43:29] local.INFO: IMEI packet received {"connection_id":192630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:43:30] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:43:30] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:43:30] local.INFO: Packet analysis {"connection_id":192630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:43:30] local.INFO: Extracted packet for processing {"connection_id":192630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":192630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:43:30] local.INFO: GPS data processed {"connection_id":192630,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:43:30] local.INFO: Acknowledgment sent {"connection_id":192630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:43:31] local.INFO: TCP Data received {"connection_id":192781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:43:31] local.INFO: Processing buffer {"connection_id":192781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:43:31] local.INFO: Packet analysis {"connection_id":192781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:43:31] local.INFO: Extracted packet for processing {"connection_id":192781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43: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-25 21:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:43:31] 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-25 21:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:43: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-25 21:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":192781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:43:31] local.INFO: GPS data processed {"connection_id":192781,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:43:31] local.INFO: Acknowledgment sent {"connection_id":192781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:43:54] local.INFO: TCP Data received {"connection_id":192783,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:43:54] local.INFO: Processing buffer {"connection_id":192783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:43:54] local.INFO: Packet analysis {"connection_id":192783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:43:54] local.INFO: Extracted packet for processing {"connection_id":192783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:43:54] 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-25 21:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:43:54] 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-25 21:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:43:54] 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-25 21:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192783,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":192783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:43:55] local.INFO: GPS data processed {"connection_id":192783,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:43:55] local.INFO: Acknowledgment sent {"connection_id":192783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:43:58] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:43:58] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:43:58] local.INFO: IMEI packet received {"connection_id":192784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":192784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:44:02] local.INFO: TCP Data received {"connection_id":192630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:02] local.INFO: Processing buffer {"connection_id":192630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:02] local.INFO: Packet analysis {"connection_id":192630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:44:02] local.INFO: Extracted packet for processing {"connection_id":192630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:44: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-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":192630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:02] local.INFO: GPS data processed {"connection_id":192630,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:02] local.INFO: Acknowledgment sent {"connection_id":192630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:04] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:04] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:04] local.INFO: IMEI packet received {"connection_id":192784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":192784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:44:05] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:05] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:05] local.INFO: Packet analysis {"connection_id":192784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:44:05] local.INFO: Extracted packet for processing {"connection_id":192784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:44:05] 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-25 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:44:05] 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":897842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:05] local.INFO: GPS data processed {"connection_id":192784,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:05] local.INFO: Acknowledgment sent {"connection_id":192784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:09] local.INFO: TCP Data received {"connection_id":192784,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:09] local.INFO: Processing buffer {"connection_id":192784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95407b0012d1969c0071ff170003f015226..."} 
[2026-09-25 21:44:09] local.INFO: Packet analysis {"connection_id":192784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:44:09] local.INFO: Extracted packet for processing {"connection_id":192784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d954"} 
[2026-09-25 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330177792001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790352558000,"timestamp_ms":1790352558000,"timestamp_seconds":1790352558,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95407b0"} 
[2026-09-25 21:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:44:09] 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-25 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330177792001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330177792001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330177792001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:44:09] 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":897843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:09] local.INFO: GPS data processed {"connection_id":192784,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:09] local.INFO: Acknowledgment sent {"connection_id":192784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:19] local.INFO: TCP Data received {"connection_id":195485,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:19] local.INFO: Processing buffer {"connection_id":195485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:19] local.INFO: IMEI packet received {"connection_id":195485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":195485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:44:22] local.INFO: TCP Data received {"connection_id":195485,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:22] local.INFO: Processing buffer {"connection_id":195485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:44:22] local.INFO: IMEI packet received {"connection_id":195485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":195485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:44:23] local.INFO: TCP Data received {"connection_id":195485,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:23] local.INFO: Processing buffer {"connection_id":195485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:23] local.INFO: Packet analysis {"connection_id":195485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:44:23] local.INFO: Extracted packet for processing {"connection_id":195485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:23] 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-25 21:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:44:23] 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-25 21:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:44: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-25 21:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":195485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:23] local.INFO: GPS data processed {"connection_id":195485,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:23] local.INFO: Acknowledgment sent {"connection_id":195485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:24] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:24] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:24] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:44:29] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:29] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:44:29] local.INFO: IMEI packet received {"connection_id":192631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":192631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:44:30] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:30] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:44:30] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:44:30] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:44:30] 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":897845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:30] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:30] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:53] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:53] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:53] local.INFO: IMEI packet received {"connection_id":194146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":194146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:44:54] local.INFO: TCP Data received {"connection_id":195485,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:54] local.INFO: Processing buffer {"connection_id":195485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:44:54] local.INFO: Packet analysis {"connection_id":195485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:44:54] local.INFO: Extracted packet for processing {"connection_id":195485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:54] 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-25 21:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21: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-25 21:44:54] 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-25 21: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:44:54] 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-25 21: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-25 21: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-25 21:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":195485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:55] local.INFO: GPS data processed {"connection_id":195485,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:55] local.INFO: Acknowledgment sent {"connection_id":195485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:44:58] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:58] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:44:58] local.INFO: IMEI packet received {"connection_id":194146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":194146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:44:58] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:44:58] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:44:58] local.INFO: Packet analysis {"connection_id":194146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:44:58] local.INFO: Extracted packet for processing {"connection_id":194146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21: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-25 21:44:58] 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-25 21: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:44: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-25 21: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-25 21: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-25 21:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":194146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":194146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":194146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:44:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:44:58] 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":897847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:44:58] local.INFO: GPS data processed {"connection_id":194146,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:44:58] local.INFO: Acknowledgment sent {"connection_id":194146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:45:02] local.INFO: TCP Data received {"connection_id":192631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:02] local.INFO: Processing buffer {"connection_id":192631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:02] local.INFO: Packet analysis {"connection_id":192631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:45:02] local.INFO: Extracted packet for processing {"connection_id":192631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45: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-25 21:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:45: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-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:45:02] 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":897848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:45:02] local.INFO: GPS data processed {"connection_id":192631,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:45:02] local.INFO: Acknowledgment sent {"connection_id":192631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:45:22] local.INFO: TCP Data received {"connection_id":195486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:22] local.INFO: Processing buffer {"connection_id":195486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:22] local.INFO: IMEI packet received {"connection_id":195486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":195486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:45:24] local.INFO: TCP Data received {"connection_id":195487,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:24] local.INFO: Processing buffer {"connection_id":195487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:24] local.INFO: IMEI packet received {"connection_id":195487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":195487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:45:27] local.INFO: TCP Data received {"connection_id":195486,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:27] local.INFO: Processing buffer {"connection_id":195486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:45:27] local.INFO: IMEI packet received {"connection_id":195486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":195486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:45:29] local.INFO: TCP Data received {"connection_id":195487,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:29] local.INFO: Processing buffer {"connection_id":195487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:45:29] local.INFO: IMEI packet received {"connection_id":195487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":195487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:45:30] local.INFO: TCP Data received {"connection_id":194146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:30] local.INFO: Processing buffer {"connection_id":194146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:30] local.INFO: Packet analysis {"connection_id":194146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:45:30] local.INFO: Extracted packet for processing {"connection_id":194146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 21:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45: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-25 21:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 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-25 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:45:30] 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":897849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:45:30] local.INFO: GPS data processed {"connection_id":194146,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:45:30] local.INFO: Acknowledgment sent {"connection_id":194146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:45:30] local.INFO: TCP Data received {"connection_id":195487,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:30] local.INFO: Processing buffer {"connection_id":195487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:45:30] local.INFO: Packet analysis {"connection_id":195487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:45:30] local.INFO: Extracted packet for processing {"connection_id":195487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 21:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 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-25 21:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 21:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":195487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:45:30] local.INFO: GPS data processed {"connection_id":195487,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:45:30] local.INFO: Acknowledgment sent {"connection_id":195487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:45:32] local.INFO: TCP Data received {"connection_id":195486,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:45:32] local.INFO: Processing buffer {"connection_id":195486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:45:32] local.INFO: Packet analysis {"connection_id":195486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:45:32] local.INFO: Extracted packet for processing {"connection_id":195486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:32] 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-25 21:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:45:32] 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-25 21:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:45:32] 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-25 21:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:45:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:45:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":195486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:45:32] local.INFO: GPS data processed {"connection_id":195486,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:45:32] local.INFO: Acknowledgment sent {"connection_id":195486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:45:54] local.INFO: TCP Data received {"connection_id":195488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:54] local.INFO: Processing buffer {"connection_id":195488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:54] local.INFO: IMEI packet received {"connection_id":195488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":195488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:45:58] local.INFO: TCP Data received {"connection_id":195488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:58] local.INFO: Processing buffer {"connection_id":195488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:45:58] local.INFO: IMEI packet received {"connection_id":195488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":195488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:45:59] local.INFO: TCP Data received {"connection_id":195488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:59] local.INFO: Processing buffer {"connection_id":195488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:45:59] local.INFO: Packet analysis {"connection_id":195488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:45:59] local.INFO: Extracted packet for processing {"connection_id":195488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:45:59] 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-25 21:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":195488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:45:59] local.INFO: GPS data processed {"connection_id":195488,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:45:59] local.INFO: Acknowledgment sent {"connection_id":195488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:02] local.INFO: TCP Data received {"connection_id":195487,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:02] local.INFO: Processing buffer {"connection_id":195487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:02] local.INFO: Packet analysis {"connection_id":195487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:46:02] local.INFO: Extracted packet for processing {"connection_id":195487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46: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-25 21:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:46: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-25 21:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":195487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:02] local.INFO: GPS data processed {"connection_id":195487,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:02] local.INFO: Acknowledgment sent {"connection_id":195487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:17] local.INFO: TCP Data received {"connection_id":195489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:17] local.INFO: Processing buffer {"connection_id":195489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:17] local.INFO: IMEI packet received {"connection_id":195489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":195489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:46:22] local.INFO: TCP Data received {"connection_id":195489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195489,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:22] local.INFO: Processing buffer {"connection_id":195489,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:46:22] local.INFO: IMEI packet received {"connection_id":195489,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":195489,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:46:24] local.INFO: TCP Data received {"connection_id":195490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:24] local.INFO: Processing buffer {"connection_id":195490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:24] local.INFO: IMEI packet received {"connection_id":195490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":195490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:46:25] local.INFO: TCP Data received {"connection_id":195489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:25] local.INFO: Processing buffer {"connection_id":195489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:25] local.INFO: Packet analysis {"connection_id":195489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:46:25] local.INFO: Extracted packet for processing {"connection_id":195489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:46:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:25] 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-25 21:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:46:25] 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-25 21:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":195489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":195489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":195489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:46:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":195489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:26] local.INFO: GPS data processed {"connection_id":195489,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:26] local.INFO: Acknowledgment sent {"connection_id":195489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:29] local.INFO: TCP Data received {"connection_id":195490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:29] local.INFO: Processing buffer {"connection_id":195490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:46:29] local.INFO: IMEI packet received {"connection_id":195490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":195490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:46:30] local.INFO: TCP Data received {"connection_id":195488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:30] local.INFO: Processing buffer {"connection_id":195488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:30] local.INFO: Packet analysis {"connection_id":195488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:46:30] local.INFO: Extracted packet for processing {"connection_id":195488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46: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-25 21:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21: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-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":195488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:30] local.INFO: GPS data processed {"connection_id":195488,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:30] local.INFO: Acknowledgment sent {"connection_id":195488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:30] local.INFO: TCP Data received {"connection_id":195490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:30] local.INFO: Processing buffer {"connection_id":195490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d955ec10012d34c14006aa49080005006e2d..."} 
[2026-09-25 21:46:30] local.INFO: Packet analysis {"connection_id":195490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:46:30] local.INFO: Extracted packet for processing {"connection_id":195490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d955"} 
[2026-09-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330209536001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352682000,"timestamp_ms":1790352682000,"timestamp_seconds":1790352682,"priority":1,"record_length":96,"hex_timestamp":"000001a0d955ec10"} 
[2026-09-25 21: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-25 21:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330209536001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330209536001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330209536001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":195490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:30] local.INFO: GPS data processed {"connection_id":195490,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:30] local.INFO: Acknowledgment sent {"connection_id":195490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:53] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:53] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:53] local.INFO: IMEI packet received {"connection_id":192785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":192785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:46:57] local.INFO: TCP Data received {"connection_id":195489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:57] local.INFO: Processing buffer {"connection_id":195489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:46:57] local.INFO: Packet analysis {"connection_id":195489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:46:57] local.INFO: Extracted packet for processing {"connection_id":195489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:57] 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-25 21:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:46:57] 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-25 21:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":195489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":195489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":195489,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:46:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":195489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:57] local.INFO: GPS data processed {"connection_id":195489,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:57] local.INFO: Acknowledgment sent {"connection_id":195489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:46:58] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:58] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:46:58] local.INFO: IMEI packet received {"connection_id":192785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":192785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:46:59] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:59] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:46:59] local.INFO: Packet analysis {"connection_id":192785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:46:59] local.INFO: Extracted packet for processing {"connection_id":192785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:46: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-25 21:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:46:59] 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-25 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":192785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:46:59] local.INFO: GPS data processed {"connection_id":192785,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:46:59] local.INFO: Acknowledgment sent {"connection_id":192785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:03] local.INFO: TCP Data received {"connection_id":195490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:03] local.INFO: Processing buffer {"connection_id":195490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:03] local.INFO: Packet analysis {"connection_id":195490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:03] local.INFO: Extracted packet for processing {"connection_id":195490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47: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-25 21:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:47: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-25 21:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":195490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:03] local.INFO: GPS data processed {"connection_id":195490,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:03] local.INFO: Acknowledgment sent {"connection_id":195490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:17] local.INFO: TCP Data received {"connection_id":195491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:17] local.INFO: Processing buffer {"connection_id":195491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:17] local.INFO: IMEI packet received {"connection_id":195491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":195491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:47:22] local.INFO: TCP Data received {"connection_id":195491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195491,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:22] local.INFO: Processing buffer {"connection_id":195491,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:47:22] local.INFO: IMEI packet received {"connection_id":195491,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":195491,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:47:23] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:23] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:23] local.INFO: IMEI packet received {"connection_id":192634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 21:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":192634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:47:28] local.INFO: TCP Data received {"connection_id":195491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:47:28] local.INFO: Processing buffer {"connection_id":195491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:47:28] local.INFO: Packet analysis {"connection_id":195491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:47:28] local.INFO: Extracted packet for processing {"connection_id":195491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:47: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-25 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:28] 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-25 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:47:28] 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-25 21:47: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:28] 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-25 21:47: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-25 21:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:47:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":195491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:28] local.INFO: GPS data processed {"connection_id":195491,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:28] local.INFO: Acknowledgment sent {"connection_id":195491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:28] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:28] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:47:28] local.INFO: IMEI packet received {"connection_id":192634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 21:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":192634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:47:29] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:29] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:29] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 21:47:29] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 21:47: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-25 21:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:47:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 21:47:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 21:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 21:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 21:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 21:47:29] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 21:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 21:47:29] local.ERROR: GPS data processing failed {"connection_id":192634,"error":"No valid data to process"} 
[2026-09-25 21:47:29] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 21:47:30] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:30] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:30] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:47:30] local.INFO: TCP Data received {"connection_id":192785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:30] local.INFO: Processing buffer {"connection_id":192785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:30] local.INFO: Packet analysis {"connection_id":192785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:47:30] local.INFO: Extracted packet for processing {"connection_id":192785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47: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-25 21:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":192785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:30] local.INFO: GPS data processed {"connection_id":192785,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:30] local.INFO: Acknowledgment sent {"connection_id":192785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:33] local.INFO: TCP Data received {"connection_id":192633,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:47:33] local.INFO: Processing buffer {"connection_id":192633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:47:33] local.INFO: IMEI packet received {"connection_id":192633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":192633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:47:34] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:34] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:47:34] local.INFO: IMEI packet received {"connection_id":192786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:47:35] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:35] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:35] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:35] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21: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-25 21:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:47:35] 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":897862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:35] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:35] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:40] local.INFO: TCP Data received {"connection_id":192786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:40] local.INFO: Processing buffer {"connection_id":192786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:47:40] local.INFO: Packet analysis {"connection_id":192786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:40] local.INFO: Extracted packet for processing {"connection_id":192786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21: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-25 21:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:47: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-25 21:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:47:40] 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":897863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:40] local.INFO: GPS data processed {"connection_id":192786,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:40] local.INFO: Acknowledgment sent {"connection_id":192786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:53] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:53] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:53] local.INFO: IMEI packet received {"connection_id":192635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":192635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:47:58] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:58] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:47:58] local.INFO: IMEI packet received {"connection_id":192635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":192635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:47:59] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:59] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:47:59] local.INFO: Packet analysis {"connection_id":192635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:47:59] local.INFO: Extracted packet for processing {"connection_id":192635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47: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-25 21:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:47:59] 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-25 21:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":192635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:47:59] local.INFO: GPS data processed {"connection_id":192635,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:47:59] local.INFO: Acknowledgment sent {"connection_id":192635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:47:59] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:59] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-09-25 21:47:59] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 21:47:59] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-25 21:47:59] 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-25 21:47:59] 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-25 21:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:47:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:47:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 21:47:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-25 21:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 21:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-25 21:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-25 21:47:59] local.WARNING: DEBUG: No valid data to process  
[2026-09-25 21:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-25 21:47:59] local.ERROR: GPS data processing failed {"connection_id":192634,"error":"No valid data to process"} 
[2026-09-25 21:47:59] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-25 21:48:00] local.INFO: TCP Data received {"connection_id":195491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:00] local.INFO: Processing buffer {"connection_id":195491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:00] local.INFO: Packet analysis {"connection_id":195491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:00] local.INFO: Extracted packet for processing {"connection_id":195491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:00] 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-25 21:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:00] 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-25 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:48:00] 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-25 21:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195491,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":195491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:00] local.INFO: GPS data processed {"connection_id":195491,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:00] local.INFO: Acknowledgment sent {"connection_id":195491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:03] local.INFO: TCP Data received {"connection_id":192787,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:48:03] local.INFO: Processing buffer {"connection_id":192787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:48:03] local.INFO: IMEI packet received {"connection_id":192787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":192787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:48:22] local.INFO: TCP Data received {"connection_id":195492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:22] local.INFO: Processing buffer {"connection_id":195492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:22] local.INFO: IMEI packet received {"connection_id":195492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":195492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:48:24] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:24] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:24] local.INFO: IMEI packet received {"connection_id":192788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":192788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:48:27] local.INFO: TCP Data received {"connection_id":195492,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195492,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:27] local.INFO: Processing buffer {"connection_id":195492,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:48:27] local.INFO: IMEI packet received {"connection_id":195492,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":195492,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:48:28] local.INFO: TCP Data received {"connection_id":195492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:28] local.INFO: Processing buffer {"connection_id":195492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:28] local.INFO: Packet analysis {"connection_id":195492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:28] local.INFO: Extracted packet for processing {"connection_id":195492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:28] 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-25 21:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:28] 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-25 21:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:48:28] 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-25 21:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":195492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:28] local.INFO: GPS data processed {"connection_id":195492,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:28] local.INFO: Acknowledgment sent {"connection_id":195492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:29] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:29] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:48:29] local.INFO: IMEI packet received {"connection_id":192788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":192788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:48:30] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:48:30] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:48:30] local.INFO: Packet analysis {"connection_id":192788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:48:30] local.INFO: Extracted packet for processing {"connection_id":192788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:48:30] local.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-25 21:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":192788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:30] local.INFO: GPS data processed {"connection_id":192788,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:30] local.INFO: Acknowledgment sent {"connection_id":192788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:30] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:48:30] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:48:30] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:48:30] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:48: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-25 21:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:30] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:30] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:30] local.INFO: TCP Data received {"connection_id":192635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:48:30] local.INFO: Processing buffer {"connection_id":192635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:48:30] local.INFO: Packet analysis {"connection_id":192635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:48:30] local.INFO: Extracted packet for processing {"connection_id":192635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48: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-25 21:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 21:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":192635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:30] local.INFO: GPS data processed {"connection_id":192635,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:30] local.INFO: Acknowledgment sent {"connection_id":192635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:32] local.INFO: TCP Data received {"connection_id":195492,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:32] local.INFO: Processing buffer {"connection_id":195492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d957f398012d0b10c007029f100019013d1f..."} 
[2026-09-25 21:48:32] local.INFO: Packet analysis {"connection_id":195492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:32] local.INFO: Extracted packet for processing {"connection_id":195492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d957"} 
[2026-09-25 21:48:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330243584001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:48:32] 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-25 21:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790352815000,"timestamp_ms":1790352815000,"timestamp_seconds":1790352815,"priority":1,"record_length":96,"hex_timestamp":"000001a0d957f398"} 
[2026-09-25 21:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:48:32] 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-25 21:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 21:48:32] 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-25 21:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195492,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330243584001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330243584001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:48:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:48:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330243584001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":195492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:48:33] local.INFO: GPS data processed {"connection_id":195492,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:48:33] local.INFO: Acknowledgment sent {"connection_id":195492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:48:58] local.INFO: TCP Data received {"connection_id":192789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:48:58] local.INFO: Processing buffer {"connection_id":192789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:48:58] local.INFO: IMEI packet received {"connection_id":192789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":192789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:49:01] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:01] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:01] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:49:01] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:01] 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-25 21:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:02] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:02] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:02] local.INFO: TCP Data received {"connection_id":192788,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:02] local.INFO: Processing buffer {"connection_id":192788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:02] local.INFO: Packet analysis {"connection_id":192788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:49:02] local.INFO: Extracted packet for processing {"connection_id":192788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49: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-25 21:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:49:02] local.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-25 21:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:49: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-25 21:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":192788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:02] local.INFO: GPS data processed {"connection_id":192788,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:02] local.INFO: Acknowledgment sent {"connection_id":192788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:03] local.INFO: TCP Data received {"connection_id":192789,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:03] local.INFO: Processing buffer {"connection_id":192789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:03] local.INFO: IMEI packet received {"connection_id":192789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":192789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:49:04] local.INFO: TCP Data received {"connection_id":192789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:04] local.INFO: Processing buffer {"connection_id":192789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:04] local.INFO: Packet analysis {"connection_id":192789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:49:04] local.INFO: Extracted packet for processing {"connection_id":192789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21: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-25 21:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":192789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:04] local.INFO: GPS data processed {"connection_id":192789,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:04] local.INFO: Acknowledgment sent {"connection_id":192789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:09] local.INFO: TCP Data received {"connection_id":192789,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:09] local.INFO: Processing buffer {"connection_id":192789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9589f78012d1969c0071ff170003f01522a..."} 
[2026-09-25 21:49:09] local.INFO: Packet analysis {"connection_id":192789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:49:09] local.INFO: Extracted packet for processing {"connection_id":192789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d958"} 
[2026-09-25 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330254848001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790352859000,"timestamp_ms":1790352859000,"timestamp_seconds":1790352859,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9589f78"} 
[2026-09-25 21:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:09] 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-25 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330254848001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330254848001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330254848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":192789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:09] local.INFO: GPS data processed {"connection_id":192789,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:09] local.INFO: Acknowledgment sent {"connection_id":192789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:22] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:22] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:22] local.INFO: IMEI packet received {"connection_id":194148,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":194148,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:49:24] local.INFO: TCP Data received {"connection_id":194149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:24] local.INFO: Processing buffer {"connection_id":194149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:24] local.INFO: IMEI packet received {"connection_id":194149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":194149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:49:27] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:27] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:49:27] local.INFO: IMEI packet received {"connection_id":194148,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":194148,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:49:28] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:28] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:28] local.INFO: Packet analysis {"connection_id":194148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:49:28] local.INFO: Extracted packet for processing {"connection_id":194148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:28] 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-25 21:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:28] 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-25 21:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:49: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-25 21:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:49:28] 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":897875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:28] local.INFO: GPS data processed {"connection_id":194148,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:28] local.INFO: Acknowledgment sent {"connection_id":194148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:29] local.INFO: TCP Data received {"connection_id":194149,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:29] local.INFO: Processing buffer {"connection_id":194149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:49:29] local.INFO: IMEI packet received {"connection_id":194149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":194149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:49:30] local.INFO: TCP Data received {"connection_id":194149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:30] local.INFO: Processing buffer {"connection_id":194149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:49:30] local.INFO: Packet analysis {"connection_id":194149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:49:30] local.INFO: Extracted packet for processing {"connection_id":194149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:49:30] local.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-25 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":194149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:30] local.INFO: GPS data processed {"connection_id":194149,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:30] local.INFO: Acknowledgment sent {"connection_id":194149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:32] local.INFO: TCP Data received {"connection_id":194148,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:32] local.INFO: Processing buffer {"connection_id":194148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:49:32] local.INFO: Packet analysis {"connection_id":194148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:49:32] local.INFO: Extracted packet for processing {"connection_id":194148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:32] 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-25 21:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:32] 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-25 21:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194148,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:49:33] 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":897877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:33] local.INFO: GPS data processed {"connection_id":194148,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:33] local.INFO: Acknowledgment sent {"connection_id":194148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:33] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:33] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:49:33] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:49:33] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21: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-25 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:33] 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-25 21: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-25 21: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-25 21:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:33] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:33] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:49:53] local.INFO: TCP Data received {"connection_id":195493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:53] local.INFO: Processing buffer {"connection_id":195493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:53] local.INFO: IMEI packet received {"connection_id":195493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":195493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:49:58] local.INFO: TCP Data received {"connection_id":195493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:58] local.INFO: Processing buffer {"connection_id":195493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:49:58] local.INFO: IMEI packet received {"connection_id":195493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":195493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:49:59] local.INFO: TCP Data received {"connection_id":195493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:49:59] local.INFO: Processing buffer {"connection_id":195493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:49:59] local.INFO: Packet analysis {"connection_id":195493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:49:59] local.INFO: Extracted packet for processing {"connection_id":195493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:49: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-25 21:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:49:59] 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-25 21:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":195493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:49:59] local.INFO: GPS data processed {"connection_id":195493,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:49:59] local.INFO: Acknowledgment sent {"connection_id":195493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:02] local.INFO: TCP Data received {"connection_id":194149,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:02] local.INFO: Processing buffer {"connection_id":194149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:02] local.INFO: Packet analysis {"connection_id":194149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:50:02] local.INFO: Extracted packet for processing {"connection_id":194149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50: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-25 21:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:50:02] local.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-25 21:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:50: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-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":194149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:02] local.INFO: GPS data processed {"connection_id":194149,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:02] local.INFO: Acknowledgment sent {"connection_id":194149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:04] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:04] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:04] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:50:04] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:04] 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-25 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:04] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:04] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:20] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:20] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:20] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:50:22] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:22] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:50:22] local.INFO: IMEI packet received {"connection_id":192636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":192636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:50:23] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:23] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:23] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:23] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:50: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-25 21:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:23] 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-25 21:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:23] 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-25 21:50: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:23] 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-25 21:50: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-25 21:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:50: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":897882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:23] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:23] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:24] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:24] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:24] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:50:28] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:28] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:28] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:28] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:28] 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-25 21:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21: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-25 21:50:28] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:50: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-25 21: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-25 21: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-25 21:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:50:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:50:28] 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":897883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:28] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:28] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:29] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:29] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:50:29] local.INFO: IMEI packet received {"connection_id":192791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":192791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:50:30] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:30] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:50:30] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:50:30] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:50:30] local.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-25 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:50:30] 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":897884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:30] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:30] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:30] local.INFO: TCP Data received {"connection_id":195493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:30] local.INFO: Processing buffer {"connection_id":195493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:30] local.INFO: Packet analysis {"connection_id":195493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:50:30] local.INFO: Extracted packet for processing {"connection_id":195493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50: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-25 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:30] 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-25 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":195493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:30] local.INFO: GPS data processed {"connection_id":195493,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:30] local.INFO: Acknowledgment sent {"connection_id":195493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:35] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:35] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:50:35] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:50:35] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:35] 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-25 21:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:35] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:35] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:53] local.INFO: TCP Data received {"connection_id":195494,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:53] local.INFO: Processing buffer {"connection_id":195494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:53] local.INFO: IMEI packet received {"connection_id":195494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":195494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:50:58] local.INFO: TCP Data received {"connection_id":195494,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:58] local.INFO: Processing buffer {"connection_id":195494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:50:58] local.INFO: IMEI packet received {"connection_id":195494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":195494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:50:59] local.INFO: TCP Data received {"connection_id":192636,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:59] local.INFO: Processing buffer {"connection_id":192636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:50:59] local.INFO: Packet analysis {"connection_id":192636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:59] local.INFO: Extracted packet for processing {"connection_id":192636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:59] 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-25 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:59] 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-25 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:50:59] local.INFO: TCP Data received {"connection_id":195494,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:59] local.INFO: Processing buffer {"connection_id":195494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:50:59] local.INFO: Packet analysis {"connection_id":195494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:50:59] local.INFO: Extracted packet for processing {"connection_id":195494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:50: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-25 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:50:59] 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-25 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:50:59] 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":897887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:59] local.INFO: GPS data processed {"connection_id":192636,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:59] local.INFO: Acknowledgment sent {"connection_id":192636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":195494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:50:59] local.INFO: GPS data processed {"connection_id":195494,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:50:59] local.INFO: Acknowledgment sent {"connection_id":195494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:03] local.INFO: TCP Data received {"connection_id":192791,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:03] local.INFO: Processing buffer {"connection_id":192791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:03] local.INFO: Packet analysis {"connection_id":192791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:51:03] local.INFO: Extracted packet for processing {"connection_id":192791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51: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-25 21:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:51:03] local.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-25 21:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:51: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-25 21:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:51:03] 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":897889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:03] local.INFO: GPS data processed {"connection_id":192791,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:03] local.INFO: Acknowledgment sent {"connection_id":192791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:06] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:06] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:06] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:51:06] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21: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-25 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:06] 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-25 21: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-25 21: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-25 21:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:06] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:06] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:17] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:17] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:17] local.INFO: IMEI packet received {"connection_id":194151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":194151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:51:22] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:22] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:51:22] local.INFO: IMEI packet received {"connection_id":194151,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":194151,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:51:23] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:23] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:23] local.INFO: Packet analysis {"connection_id":194151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:51:23] local.INFO: Extracted packet for processing {"connection_id":194151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:23] 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-25 21:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21: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-25 21:51:23] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:23] 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-25 21: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-25 21: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-25 21:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":194151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:23] local.INFO: GPS data processed {"connection_id":194151,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:23] local.INFO: Acknowledgment sent {"connection_id":194151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:24] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:24] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:24] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:51:29] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:29] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:51:29] local.INFO: IMEI packet received {"connection_id":192792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:51:30] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:30] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:51:30] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:51:30] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:51:30] 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-25 21:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:51:30] 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":897892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:30] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:30] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:30] local.INFO: TCP Data received {"connection_id":195494,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:30] local.INFO: Processing buffer {"connection_id":195494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:30] local.INFO: Packet analysis {"connection_id":195494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:51:30] local.INFO: Extracted packet for processing {"connection_id":195494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51: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-25 21:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:30] 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-25 21:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":195494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:30] local.INFO: GPS data processed {"connection_id":195494,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:30] local.INFO: Acknowledgment sent {"connection_id":195494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:37] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:37] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:51:37] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:51:37] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:37] 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-25 21:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:37] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:37] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:53] local.INFO: TCP Data received {"connection_id":195496,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:53] local.INFO: Processing buffer {"connection_id":195496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:53] local.INFO: IMEI packet received {"connection_id":195496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":195496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:51:54] local.INFO: TCP Data received {"connection_id":194151,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:54] local.INFO: Processing buffer {"connection_id":194151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:51:54] local.INFO: Packet analysis {"connection_id":194151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:51:54] local.INFO: Extracted packet for processing {"connection_id":194151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:51:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:54] 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-25 21:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:54] 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-25 21:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:54] 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-25 21:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194151,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:51:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":194151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:54] local.INFO: GPS data processed {"connection_id":194151,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:54] local.INFO: Acknowledgment sent {"connection_id":194151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:51:58] local.INFO: TCP Data received {"connection_id":195496,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:58] local.INFO: Processing buffer {"connection_id":195496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:51:58] local.INFO: IMEI packet received {"connection_id":195496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":195496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:51:59] local.INFO: TCP Data received {"connection_id":195496,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:59] local.INFO: Processing buffer {"connection_id":195496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:51:59] local.INFO: Packet analysis {"connection_id":195496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:51:59] local.INFO: Extracted packet for processing {"connection_id":195496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:51: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-25 21:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:51:59] 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-25 21:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":195496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:51:59] local.INFO: GPS data processed {"connection_id":195496,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:51:59] local.INFO: Acknowledgment sent {"connection_id":195496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:02] local.INFO: TCP Data received {"connection_id":192792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:52:02] local.INFO: Processing buffer {"connection_id":192792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95a83d8012d34c14006aa49080001006e2b..."} 
[2026-09-25 21:52:02] local.INFO: Packet analysis {"connection_id":192792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:52:02] local.INFO: Extracted packet for processing {"connection_id":192792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95a"} 
[2026-09-25 21:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":1,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330286592001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52: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-25 21:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790352983000,"timestamp_ms":1790352983000,"timestamp_seconds":1790352983,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95a83d8"} 
[2026-09-25 21:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52:02] 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-25 21:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330286592001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330286592001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:52: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-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330286592001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:52:02] 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":897897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:02] local.INFO: GPS data processed {"connection_id":192792,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:02] local.INFO: Acknowledgment sent {"connection_id":192792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:09] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:52:09] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95bf6f0012d7f3e0005d33960000201330a..."} 
[2026-09-25 21:52:09] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:52:09] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95b"} 
[2026-09-25 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":763313664,"raw_latitude":97728864,"longitude_deg":76.3313664,"latitude_deg":9.7728864,"altitude":2,"angle":307,"satellites":10,"speed":0,"hex_longitude":"2d7f3e00","hex_latitude":"05d33960","is_valid_coordinates":true} 
[2026-09-25 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-25 21:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353078000,"timestamp_ms":1790353078000,"timestamp_seconds":1790353078,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95bf6f0"} 
[2026-09-25 21:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-25 21:52: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-25 21:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12743,"109":206,"85":15104,"24":0,"16":135991497953640448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-09-25 21:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:52:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-25 21:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:09] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:09] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:18] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:18] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:18] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:52:22] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:22] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:52:22] local.INFO: IMEI packet received {"connection_id":192637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":192637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:52:23] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:23] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:23] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:52:23] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:23] 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-25 21:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21: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-25 21:52:23] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:23] 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-25 21: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-25 21: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-25 21:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:52:24] 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":897899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:24] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:24] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:29] local.INFO: TCP Data received {"connection_id":195497,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:29] local.INFO: Processing buffer {"connection_id":195497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:29] local.INFO: IMEI packet received {"connection_id":195497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":195497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:52:30] local.INFO: TCP Data received {"connection_id":195496,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:52:30] local.INFO: Processing buffer {"connection_id":195496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:52:30] local.INFO: Packet analysis {"connection_id":195496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:52:30] local.INFO: Extracted packet for processing {"connection_id":195496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52: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-25 21:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:52:30] 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-25 21:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":195496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:30] local.INFO: GPS data processed {"connection_id":195496,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:30] local.INFO: Acknowledgment sent {"connection_id":195496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:34] local.INFO: TCP Data received {"connection_id":195497,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:34] local.INFO: Processing buffer {"connection_id":195497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:52:34] local.INFO: IMEI packet received {"connection_id":195497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":195497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:52:35] local.INFO: TCP Data received {"connection_id":195497,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:35] local.INFO: Processing buffer {"connection_id":195497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:35] local.INFO: Packet analysis {"connection_id":195497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:35] local.INFO: Extracted packet for processing {"connection_id":195497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21: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-25 21:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":195497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:35] local.INFO: GPS data processed {"connection_id":195497,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:35] local.INFO: Acknowledgment sent {"connection_id":195497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:39] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:52:39] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:52:39] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:39] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:39] 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-25 21: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-25 21: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-25 21:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:40] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:40] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:40] local.INFO: TCP Data received {"connection_id":195497,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:40] local.INFO: Processing buffer {"connection_id":195497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:40] local.INFO: Packet analysis {"connection_id":195497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:40] local.INFO: Extracted packet for processing {"connection_id":195497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21: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-25 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52: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-25 21:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":195497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:40] local.INFO: GPS data processed {"connection_id":195497,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:40] local.INFO: Acknowledgment sent {"connection_id":195497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:45] local.INFO: TCP Data received {"connection_id":195497,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:45] local.INFO: Processing buffer {"connection_id":195497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:52:45] local.INFO: Packet analysis {"connection_id":195497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:45] local.INFO: Extracted packet for processing {"connection_id":195497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21: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-25 21:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":195497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":195497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:52: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-25 21:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 21:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":195497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:45] local.INFO: GPS data processed {"connection_id":195497,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:45] local.INFO: Acknowledgment sent {"connection_id":195497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:56] local.INFO: TCP Data received {"connection_id":192637,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:56] local.INFO: Processing buffer {"connection_id":192637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:52:56] local.INFO: Packet analysis {"connection_id":192637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:52:56] local.INFO: Extracted packet for processing {"connection_id":192637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:52:56] 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-25 21:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21: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-25 21:52:56] 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-25 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:52: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-25 21: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-25 21: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-25 21:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:52:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:52:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:52:56] 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":897905,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:52:56] local.INFO: GPS data processed {"connection_id":192637,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:52:56] local.INFO: Acknowledgment sent {"connection_id":192637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:52:58] local.INFO: TCP Data received {"connection_id":194153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:52:58] local.INFO: Processing buffer {"connection_id":194153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:52:58] local.INFO: IMEI packet received {"connection_id":194153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":194153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:53:03] local.INFO: TCP Data received {"connection_id":194153,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:03] local.INFO: Processing buffer {"connection_id":194153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:03] local.INFO: IMEI packet received {"connection_id":194153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":194153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:53:04] local.INFO: TCP Data received {"connection_id":194153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:04] local.INFO: Processing buffer {"connection_id":194153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:04] local.INFO: Packet analysis {"connection_id":194153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:04] local.INFO: Extracted packet for processing {"connection_id":194153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:04] 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-25 21:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":194153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:05] local.INFO: GPS data processed {"connection_id":194153,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:05] local.INFO: Acknowledgment sent {"connection_id":194153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:09] local.INFO: TCP Data received {"connection_id":194153,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:09] local.INFO: Processing buffer {"connection_id":194153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:09] local.INFO: Packet analysis {"connection_id":194153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:09] local.INFO: Extracted packet for processing {"connection_id":194153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21: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-25 21:53:09] 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-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21: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-25 21: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-25 21:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":194153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:09] local.INFO: GPS data processed {"connection_id":194153,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:09] local.INFO: Acknowledgment sent {"connection_id":194153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:11] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:11] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:11] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:11] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:11] 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-25 21:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:11] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:11] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:17] local.INFO: TCP Data received {"connection_id":195498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:17] local.INFO: Processing buffer {"connection_id":195498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:17] local.INFO: IMEI packet received {"connection_id":195498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":195498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:53:18] local.INFO: TCP Data received {"connection_id":192793,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:53:18] local.INFO: Processing buffer {"connection_id":192793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:53:18] local.INFO: IMEI packet received {"connection_id":192793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":192793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:53:22] local.INFO: TCP Data received {"connection_id":195498,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:22] local.INFO: Processing buffer {"connection_id":195498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:53:22] local.INFO: IMEI packet received {"connection_id":195498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":195498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:53:23] local.INFO: TCP Data received {"connection_id":195498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:53:23] local.INFO: Processing buffer {"connection_id":195498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95c8b60012d0b10c007029f100019013d1d..."} 
[2026-09-25 21:53:23] local.INFO: Packet analysis {"connection_id":195498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:53:23] local.INFO: Extracted packet for processing {"connection_id":195498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95c"} 
[2026-09-25 21:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330320640001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:23] 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-25 21:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353116000,"timestamp_ms":1790353116000,"timestamp_seconds":1790353116,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95c8b60"} 
[2026-09-25 21:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:23] 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-25 21:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:23] 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-25 21:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330320640001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330320640001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330320640001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":195498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897909,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:23] local.INFO: GPS data processed {"connection_id":195498,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:23] local.INFO: Acknowledgment sent {"connection_id":195498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:24] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:24] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:24] local.INFO: IMEI packet received {"connection_id":194154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":194154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:53:29] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:29] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:53:29] local.INFO: IMEI packet received {"connection_id":194154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":194154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:53:30] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:53:30] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:53:30] local.INFO: Packet analysis {"connection_id":194154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:30] local.INFO: Extracted packet for processing {"connection_id":194154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:30] 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-25 21:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:53:30] local.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-25 21:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:53:30] 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":897910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:30] local.INFO: GPS data processed {"connection_id":194154,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:30] local.INFO: Acknowledgment sent {"connection_id":194154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:42] local.INFO: TCP Data received {"connection_id":192634,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:42] local.INFO: Processing buffer {"connection_id":192634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:53:42] local.INFO: Packet analysis {"connection_id":192634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:42] local.INFO: Extracted packet for processing {"connection_id":192634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:53:42] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:42] 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-25 21:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":192634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":192634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":192634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:42] local.INFO: GPS data processed {"connection_id":192634,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:42] local.INFO: Acknowledgment sent {"connection_id":192634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:53] local.INFO: TCP Data received {"connection_id":194155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:53] local.INFO: Processing buffer {"connection_id":194155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:53] local.INFO: IMEI packet received {"connection_id":194155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":194155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:53:54] local.INFO: TCP Data received {"connection_id":195498,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:53:54] local.INFO: Processing buffer {"connection_id":195498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:53:54] local.INFO: Packet analysis {"connection_id":195498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:53:54] local.INFO: Extracted packet for processing {"connection_id":195498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:54] 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-25 21:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:54] 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-25 21:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:54] 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-25 21:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":195498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:55] local.INFO: GPS data processed {"connection_id":195498,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:55] local.INFO: Acknowledgment sent {"connection_id":195498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:53:58] local.INFO: TCP Data received {"connection_id":194155,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:58] local.INFO: Processing buffer {"connection_id":194155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:53:58] local.INFO: IMEI packet received {"connection_id":194155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":194155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:53:59] local.INFO: TCP Data received {"connection_id":194155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:59] local.INFO: Processing buffer {"connection_id":194155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:53:59] local.INFO: Packet analysis {"connection_id":194155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:59] local.INFO: Extracted packet for processing {"connection_id":194155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:53: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-25 21:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:53:59] 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-25 21:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":194155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:53:59] local.INFO: GPS data processed {"connection_id":194155,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:53:59] local.INFO: Acknowledgment sent {"connection_id":194155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:01] local.INFO: TCP Data received {"connection_id":194154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:01] local.INFO: Processing buffer {"connection_id":194154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:01] local.INFO: Packet analysis {"connection_id":194154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:01] local.INFO: Extracted packet for processing {"connection_id":194154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54: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-25 21:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:54:01] local.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-25 21:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:54:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:54: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-25 21:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:54:01] 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":897914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:01] local.INFO: GPS data processed {"connection_id":194154,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:01] local.INFO: Acknowledgment sent {"connection_id":194154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:03] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:03] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:03] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:54:08] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:08] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:54:08] local.INFO: IMEI packet received {"connection_id":192794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":192794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:54:09] local.INFO: TCP Data received {"connection_id":192795,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:54:09] local.INFO: Processing buffer {"connection_id":192795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:54:09] local.INFO: IMEI packet received {"connection_id":192795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":192795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:54:11] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:11] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:11] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:11] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:11] 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-25 21: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-25 21: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-25 21:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:54:11] 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":897915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:11] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:11] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:17] local.INFO: TCP Data received {"connection_id":195499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:17] local.INFO: Processing buffer {"connection_id":195499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:17] local.INFO: IMEI packet received {"connection_id":195499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":195499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:54:22] local.INFO: TCP Data received {"connection_id":195499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:22] local.INFO: Processing buffer {"connection_id":195499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:54:22] local.INFO: IMEI packet received {"connection_id":195499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":195499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:54:23] local.INFO: TCP Data received {"connection_id":195499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:23] local.INFO: Processing buffer {"connection_id":195499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:23] local.INFO: Packet analysis {"connection_id":195499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:54:23] local.INFO: Extracted packet for processing {"connection_id":195499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:23] 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-25 21:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21: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-25 21:54:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:54: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-25 21: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-25 21: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-25 21:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":195499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:23] local.INFO: GPS data processed {"connection_id":195499,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:23] local.INFO: Acknowledgment sent {"connection_id":195499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:24] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:24] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:24] local.INFO: IMEI packet received {"connection_id":194156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":194156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:54:29] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:29] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:54:29] local.INFO: IMEI packet received {"connection_id":194156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":194156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:54:30] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:30] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:54:30] local.INFO: Packet analysis {"connection_id":194156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:30] local.INFO: Extracted packet for processing {"connection_id":194156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:30] 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-25 21:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:54:30] 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":897917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:30] local.INFO: GPS data processed {"connection_id":194156,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:30] local.INFO: Acknowledgment sent {"connection_id":194156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:30] local.INFO: TCP Data received {"connection_id":194155,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:30] local.INFO: Processing buffer {"connection_id":194155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:30] local.INFO: Packet analysis {"connection_id":194155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:54:30] local.INFO: Extracted packet for processing {"connection_id":194155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54: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-25 21:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:54:30] 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-25 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":194155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:30] local.INFO: GPS data processed {"connection_id":194155,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:30] local.INFO: Acknowledgment sent {"connection_id":194155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:43] local.INFO: TCP Data received {"connection_id":192794,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:43] local.INFO: Processing buffer {"connection_id":192794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:54:43] local.INFO: Packet analysis {"connection_id":192794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:43] local.INFO: Extracted packet for processing {"connection_id":192794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:43] 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-25 21: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-25 21: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-25 21:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":192794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":192794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":192794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:54:43] 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":897919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:43] local.INFO: GPS data processed {"connection_id":192794,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:43] local.INFO: Acknowledgment sent {"connection_id":192794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:53] local.INFO: TCP Data received {"connection_id":195501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:53] local.INFO: Processing buffer {"connection_id":195501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:53] local.INFO: IMEI packet received {"connection_id":195501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":195501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:54:54] local.INFO: TCP Data received {"connection_id":195499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:54] local.INFO: Processing buffer {"connection_id":195499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:54:54] local.INFO: Packet analysis {"connection_id":195499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:54:54] local.INFO: Extracted packet for processing {"connection_id":195499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:54] 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-25 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:54:54] 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-25 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:54] 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-25 21:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195499,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":195499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:54] local.INFO: GPS data processed {"connection_id":195499,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:54] local.INFO: Acknowledgment sent {"connection_id":195499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:54:58] local.INFO: TCP Data received {"connection_id":195501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:58] local.INFO: Processing buffer {"connection_id":195501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:54:58] local.INFO: IMEI packet received {"connection_id":195501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":195501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:54:59] local.INFO: TCP Data received {"connection_id":195501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:59] local.INFO: Processing buffer {"connection_id":195501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95d3740012d1969c0071ff170003f015228..."} 
[2026-09-25 21:54:59] local.INFO: Packet analysis {"connection_id":195501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:54:59] local.INFO: Extracted packet for processing {"connection_id":195501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95d"} 
[2026-09-25 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330331904001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:54: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-25 21:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353160000,"timestamp_ms":1790353160000,"timestamp_seconds":1790353160,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95d3740"} 
[2026-09-25 21:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:54:59] 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-25 21:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 21:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330331904001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330331904001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330331904001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":195501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:54:59] local.INFO: GPS data processed {"connection_id":195501,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:54:59] local.INFO: Acknowledgment sent {"connection_id":195501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:03] local.INFO: TCP Data received {"connection_id":194156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:03] local.INFO: Processing buffer {"connection_id":194156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:03] local.INFO: Packet analysis {"connection_id":194156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:03] local.INFO: Extracted packet for processing {"connection_id":194156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55: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-25 21:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:55:03] 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-25 21:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:55: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-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:55:03] 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":897922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:03] local.INFO: GPS data processed {"connection_id":194156,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:03] local.INFO: Acknowledgment sent {"connection_id":194156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:03] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:03] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:03] local.INFO: IMEI packet received {"connection_id":192796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":192796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:55:08] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:08] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:55:08] local.INFO: IMEI packet received {"connection_id":192796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 21:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":192796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:55:09] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:09] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:09] local.INFO: Packet analysis {"connection_id":192796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:09] local.INFO: Extracted packet for processing {"connection_id":192796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:09] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:55:09] 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-25 21: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-25 21: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-25 21:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:55:09] 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":897923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:09] local.INFO: GPS data processed {"connection_id":192796,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:09] local.INFO: Acknowledgment sent {"connection_id":192796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:17] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:17] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:17] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:55:22] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:22] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:55:22] local.INFO: IMEI packet received {"connection_id":192798,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":192798,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:55:23] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:23] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:23] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:23] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:23] 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-25 21:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21: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-25 21:55:23] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:55: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-25 21: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-25 21: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-25 21:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:55: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-25 21:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:55:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:55:23] 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":897924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:23] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:23] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:24] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:24] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:24] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:55:29] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:29] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:55:29] local.INFO: IMEI packet received {"connection_id":192638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:55:30] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:30] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:55:30] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:30] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:55:30] 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-25 21:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:55:30] local.INFO: TCP Data received {"connection_id":195501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:30] local.INFO: Processing buffer {"connection_id":195501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:30] local.INFO: Packet analysis {"connection_id":195501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:30] local.INFO: Extracted packet for processing {"connection_id":195501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55: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-25 21:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:30] 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-25 21:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:55:30] 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":897925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:30] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:30] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":195501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:30] local.INFO: GPS data processed {"connection_id":195501,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:30] local.INFO: Acknowledgment sent {"connection_id":195501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:40] local.INFO: TCP Data received {"connection_id":192796,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:40] local.INFO: Processing buffer {"connection_id":192796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:55:40] local.INFO: Packet analysis {"connection_id":192796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:40] local.INFO: Extracted packet for processing {"connection_id":192796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:55:40] 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-25 21:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:55:40] 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":897927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:40] local.INFO: GPS data processed {"connection_id":192796,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:40] local.INFO: Acknowledgment sent {"connection_id":192796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:53] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:53] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:53] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:55:55] local.INFO: TCP Data received {"connection_id":192798,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:55] local.INFO: Processing buffer {"connection_id":192798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:55:55] local.INFO: Packet analysis {"connection_id":192798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:55] local.INFO: Extracted packet for processing {"connection_id":192798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:55] 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-25 21:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:55] 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-25 21:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:55: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-25 21:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192798,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:55:55] 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-25 21:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:55:55] 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":897928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:55] local.INFO: GPS data processed {"connection_id":192798,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:55] local.INFO: Acknowledgment sent {"connection_id":192798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:55:58] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:58] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:55:58] local.INFO: IMEI packet received {"connection_id":192639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":192639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:55:59] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:59] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:55:59] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:59] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:55: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-25 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:55:59] 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-25 21:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:55: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-25 21:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:55:59] 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":897929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:55:59] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:55:59] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:02] local.INFO: TCP Data received {"connection_id":192638,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:02] local.INFO: Processing buffer {"connection_id":192638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:02] local.INFO: Packet analysis {"connection_id":192638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:02] local.INFO: Extracted packet for processing {"connection_id":192638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56: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-25 21:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:02] 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-25 21:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:56: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-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:56:02] 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":897930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:02] local.INFO: GPS data processed {"connection_id":192638,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:02] local.INFO: Acknowledgment sent {"connection_id":192638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:03] local.INFO: TCP Data received {"connection_id":195503,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:03] local.INFO: Processing buffer {"connection_id":195503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:03] local.INFO: IMEI packet received {"connection_id":195503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":195503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:56:08] local.INFO: TCP Data received {"connection_id":195503,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:08] local.INFO: Processing buffer {"connection_id":195503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:56:08] local.INFO: IMEI packet received {"connection_id":195503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-25 21:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":195503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:56:09] local.INFO: TCP Data received {"connection_id":195503,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:09] local.INFO: Processing buffer {"connection_id":195503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:09] local.INFO: Packet analysis {"connection_id":195503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:09] local.INFO: Extracted packet for processing {"connection_id":195503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:09] 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-25 21: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-25 21: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-25 21:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":195503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:09] local.INFO: GPS data processed {"connection_id":195503,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:09] local.INFO: Acknowledgment sent {"connection_id":195503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:22] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:22] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:22] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:56:24] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:24] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:24] local.INFO: IMEI packet received {"connection_id":194157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":194157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:56:28] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:28] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:56:28] local.INFO: IMEI packet received {"connection_id":192799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":192799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:56:29] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:29] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:29] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:29] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56: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-25 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21: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-25 21:56:29] 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-25 21: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:29] 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-25 21: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-25 21: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-25 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:56:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:56:29] 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":897932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:29] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:29] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:29] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:29] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:56:29] local.INFO: IMEI packet received {"connection_id":194157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":194157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:56:30] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:30] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:56:30] local.INFO: Packet analysis {"connection_id":194157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:30] local.INFO: Extracted packet for processing {"connection_id":194157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:30] 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-25 21:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:56:30] local.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-25 21:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:56:30] 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":897933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:30] local.INFO: GPS data processed {"connection_id":194157,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:30] local.INFO: Acknowledgment sent {"connection_id":194157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:30] local.INFO: TCP Data received {"connection_id":192639,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:56:30] local.INFO: Processing buffer {"connection_id":192639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:56:30] local.INFO: Packet analysis {"connection_id":192639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:30] local.INFO: Extracted packet for processing {"connection_id":192639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56: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-25 21:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:56:30] 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-25 21:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:56:31] 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":897934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:31] local.INFO: GPS data processed {"connection_id":192639,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:31] local.INFO: Acknowledgment sent {"connection_id":192639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:32] local.INFO: TCP Data received {"connection_id":192799,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:32] local.INFO: Processing buffer {"connection_id":192799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:56:32] local.INFO: Packet analysis {"connection_id":192799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:32] local.INFO: Extracted packet for processing {"connection_id":192799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:56:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:32] 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-25 21:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:56:32] 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-25 21:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:32] 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-25 21:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192799,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:56:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:56:33] 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":897935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:33] local.INFO: GPS data processed {"connection_id":192799,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:33] local.INFO: Acknowledgment sent {"connection_id":192799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:40] local.INFO: TCP Data received {"connection_id":195503,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:40] local.INFO: Processing buffer {"connection_id":195503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95fc398012d7f3d4005d33ae00000013314..."} 
[2026-09-25 21:56:40] local.INFO: Packet analysis {"connection_id":195503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:40] local.INFO: Extracted packet for processing {"connection_id":195503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763313472,"raw_latitude":97729248,"longitude_deg":76.3313472,"latitude_deg":9.7729248,"altitude":0,"angle":307,"satellites":20,"speed":0,"hex_longitude":"2d7f3d40","hex_latitude":"05d33ae0","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330387968001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135991497953640448,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168765916391497728,"note":"Value kept but may cause issues"} 
[2026-09-25 21:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790353327000,"timestamp_ms":1790353327000,"timestamp_seconds":1790353327,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95fc398"} 
[2026-09-25 21: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-25 21:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-25 21:56:40] 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-25 21: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-25 21: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-25 21:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-25 21:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-25 21:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-25 21:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330387968001,"66":12613,"109":206,"85":15104,"24":0,"16":135991497953640448,"45":9168765916391497728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-25 21:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-25 21:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-25 21:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330387968001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:56:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-25 21:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-25 21:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135991497953640448,"km_value":135991497953640.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168765916391497728,"description":"Unknown IO ID 45"} 
[2026-09-25 21:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330387968001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9168765916391497728}} 
[2026-09-25 21:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":195503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:56:41] local.INFO: GPS data processed {"connection_id":195503,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:56:41] local.INFO: Acknowledgment sent {"connection_id":195503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:56:58] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:56:58] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:56:58] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:57:02] local.INFO: TCP Data received {"connection_id":194157,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:57:02] local.INFO: Processing buffer {"connection_id":194157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d95f1ba0012d34c14006aa49080003006e2c..."} 
[2026-09-25 21:57:02] local.INFO: Packet analysis {"connection_id":194157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:57:02] local.INFO: Extracted packet for processing {"connection_id":194157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d95f"} 
[2026-09-25 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":3,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330363648001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57: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-25 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353284000,"timestamp_ms":1790353284000,"timestamp_seconds":1790353284,"priority":1,"record_length":96,"hex_timestamp":"000001a0d95f1ba0"} 
[2026-09-25 21:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 21:57:02] 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-25 21:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330363648001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330363648001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:57: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-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330363648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:57:02] 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":897937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:02] local.INFO: GPS data processed {"connection_id":194157,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:02] local.INFO: Acknowledgment sent {"connection_id":194157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:03] local.INFO: TCP Data received {"connection_id":192800,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:57:03] local.INFO: Processing buffer {"connection_id":192800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-25 21:57:03] local.INFO: IMEI packet received {"connection_id":192800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-25 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":192800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:57:03] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:03] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:03] local.INFO: IMEI packet received {"connection_id":192640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":192640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:57:04] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:04] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:04] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:04] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 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-25 21:57:04] 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-25 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:57:04] 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-25 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-25 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-25 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:57:04] 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":897938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:04] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:04] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:09] local.INFO: TCP Data received {"connection_id":192640,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:09] local.INFO: Processing buffer {"connection_id":192640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:09] local.INFO: Packet analysis {"connection_id":192640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:09] local.INFO: Extracted packet for processing {"connection_id":192640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21: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-25 21:57:09] 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-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:57:09] 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-25 21: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-25 21: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-25 21:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:57:09] 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":897939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:09] local.INFO: GPS data processed {"connection_id":192640,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:09] local.INFO: Acknowledgment sent {"connection_id":192640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:17] local.INFO: TCP Data received {"connection_id":194158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:17] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:17] local.INFO: IMEI packet received {"connection_id":194158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":194158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:57:22] local.INFO: TCP Data received {"connection_id":194158,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:22] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:57:22] local.INFO: IMEI packet received {"connection_id":194158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":194158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:57:23] local.INFO: TCP Data received {"connection_id":194158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:23] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:23] local.INFO: Packet analysis {"connection_id":194158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:23] local.INFO: Extracted packet for processing {"connection_id":194158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:23] 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-25 21:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:57:23] 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-25 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:57: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-25 21:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":194158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897940,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:23] local.INFO: GPS data processed {"connection_id":194158,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:23] local.INFO: Acknowledgment sent {"connection_id":194158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:29] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:29] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:29] local.INFO: IMEI packet received {"connection_id":192641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":192641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:57:34] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:34] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:57:34] local.INFO: IMEI packet received {"connection_id":192641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":192641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:57:35] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:57:35] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:57:35] local.INFO: Packet analysis {"connection_id":192641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:57:35] local.INFO: Extracted packet for processing {"connection_id":192641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 21: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-25 21:57:35] 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-25 21: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 21:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21: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-25 21:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":192641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:35] local.INFO: GPS data processed {"connection_id":192641,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:35] local.INFO: Acknowledgment sent {"connection_id":192641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:53] local.INFO: TCP Data received {"connection_id":195505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:53] local.INFO: Processing buffer {"connection_id":195505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:53] local.INFO: IMEI packet received {"connection_id":195505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":195505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:57:54] local.INFO: TCP Data received {"connection_id":194158,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:54] local.INFO: Processing buffer {"connection_id":194158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:57:54] local.INFO: Packet analysis {"connection_id":194158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:54] local.INFO: Extracted packet for processing {"connection_id":194158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:54] 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-25 21:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:57:54] 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-25 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:57:54] 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-25 21:57: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-25 21:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194158,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:57:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":194158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:54] local.INFO: GPS data processed {"connection_id":194158,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:54] local.INFO: Acknowledgment sent {"connection_id":194158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:57:58] local.INFO: TCP Data received {"connection_id":195505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:58] local.INFO: Processing buffer {"connection_id":195505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:57:58] local.INFO: IMEI packet received {"connection_id":195505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":195505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:57:59] local.INFO: TCP Data received {"connection_id":195505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:59] local.INFO: Processing buffer {"connection_id":195505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:57:59] local.INFO: Packet analysis {"connection_id":195505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:59] local.INFO: Extracted packet for processing {"connection_id":195505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:57: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-25 21:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:57:59] 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-25 21:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:57: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-25 21:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":195505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:57:59] local.INFO: GPS data processed {"connection_id":195505,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:57:59] local.INFO: Acknowledgment sent {"connection_id":195505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:07] local.INFO: TCP Data received {"connection_id":192641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:07] local.INFO: Processing buffer {"connection_id":192641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:07] local.INFO: Packet analysis {"connection_id":192641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:58:07] local.INFO: Extracted packet for processing {"connection_id":192641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 21: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-25 21:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 21:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 21:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21: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-25 21: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-25 21:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":192641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":192641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":192641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:58: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-25 21:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21: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-25 21:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":192641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:07] local.INFO: GPS data processed {"connection_id":192641,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:07] local.INFO: Acknowledgment sent {"connection_id":192641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:17] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:17] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:17] local.INFO: IMEI packet received {"connection_id":192642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":192642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:58:22] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:22] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:58:22] local.INFO: IMEI packet received {"connection_id":192642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":192642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:58:24] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:58:24] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9612328012d0b10c007029f100019013d1e..."} 
[2026-09-25 21:58:24] local.INFO: Packet analysis {"connection_id":192642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:24] local.INFO: Extracted packet for processing {"connection_id":192642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330397696001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:24] 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-25 21:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790353417000,"timestamp_ms":1790353417000,"timestamp_seconds":1790353417,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9612328"} 
[2026-09-25 21: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-25 21:58:24] 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-25 21:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 21:58:24] 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-25 21: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-25 21: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-25 21:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:58:24] 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-25 21:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330397696001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330397696001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:58:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330397696001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":192642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:24] local.INFO: GPS data processed {"connection_id":192642,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:24] local.INFO: Acknowledgment sent {"connection_id":192642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:24] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:24] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:24] local.INFO: IMEI packet received {"connection_id":192802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":192802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:58:29] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:29] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:58:29] local.INFO: IMEI packet received {"connection_id":192802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":192802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:58:30] local.INFO: TCP Data received {"connection_id":195505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:30] local.INFO: Processing buffer {"connection_id":195505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:30] local.INFO: Packet analysis {"connection_id":195505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:30] local.INFO: Extracted packet for processing {"connection_id":195505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58: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-25 21:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:58:30] 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-25 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:58:30] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:30] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:58:30] local.INFO: Packet analysis {"connection_id":192802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:58:30] local.INFO: Extracted packet for processing {"connection_id":192802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 21:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:58:30] 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-25 21:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 21:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:58:30] 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":897946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:30] local.INFO: GPS data processed {"connection_id":192802,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:30] local.INFO: Acknowledgment sent {"connection_id":192802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":195505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:30] local.INFO: GPS data processed {"connection_id":195505,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:30] local.INFO: Acknowledgment sent {"connection_id":195505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:53] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:53] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:53] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:58:55] local.INFO: TCP Data received {"connection_id":192642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:58:55] local.INFO: Processing buffer {"connection_id":192642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:58:55] local.INFO: Packet analysis {"connection_id":192642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:58:55] local.INFO: Extracted packet for processing {"connection_id":192642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:58: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-25 21:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:55] 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-25 21:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 21:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:58:55] 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-25 21:58: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:58:55] 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-25 21:58: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-25 21:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:58:55] 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-25 21:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":192642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:55] local.INFO: GPS data processed {"connection_id":192642,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:55] local.INFO: Acknowledgment sent {"connection_id":192642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:58:58] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:58] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:58:58] local.INFO: IMEI packet received {"connection_id":192643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":192643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:58:59] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:59] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:58:59] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:59] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21: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-25 21:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21: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-25 21:58:59] 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-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:58: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-25 21:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:58:59] 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":897949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:58:59] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:58:59] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:02] local.INFO: TCP Data received {"connection_id":192802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:02] local.INFO: Processing buffer {"connection_id":192802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:02] local.INFO: Packet analysis {"connection_id":192802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:59:02] local.INFO: Extracted packet for processing {"connection_id":192802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59: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-25 21:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 21:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:59:02] 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-25 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 21:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:59: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-25 21:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:59:02] 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":897950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:02] local.INFO: GPS data processed {"connection_id":192802,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:02] local.INFO: Acknowledgment sent {"connection_id":192802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:17] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:17] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:17] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 21:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:59:22] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:22] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 21:59:22] local.INFO: IMEI packet received {"connection_id":192644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 21:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":192644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:59:23] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:23] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:23] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:59:23] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:23] 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-25 21:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 21:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:59:23] 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-25 21:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:23] 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-25 21:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:59:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:59:23] 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":897951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:23] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:23] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:25] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:25] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:25] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 21:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:59:29] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:29] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 21:59:29] local.INFO: IMEI packet received {"connection_id":194159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 21:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":194159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:59:30] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:30] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 21:59:30] local.INFO: Packet analysis {"connection_id":194159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:59:30] local.INFO: Extracted packet for processing {"connection_id":194159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 21:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 21:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 21:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:59:30] 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-25 21:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 21:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 21:59:30] local.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-25 21:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 21:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 21:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 21:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 21:59:30] 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":897952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:30] local.INFO: GPS data processed {"connection_id":194159,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:30] local.INFO: Acknowledgment sent {"connection_id":194159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:30] local.INFO: TCP Data received {"connection_id":192643,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:30] local.INFO: Processing buffer {"connection_id":192643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:30] local.INFO: Packet analysis {"connection_id":192643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:59:30] local.INFO: Extracted packet for processing {"connection_id":192643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59: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-25 21:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:59:30] 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-25 21:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:59:30] 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":897953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:30] local.INFO: GPS data processed {"connection_id":192643,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:30] local.INFO: Acknowledgment sent {"connection_id":192643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:38] local.INFO: TCP Data received {"connection_id":195506,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:59:38] local.INFO: Processing buffer {"connection_id":195506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 21:59:38] local.INFO: IMEI packet received {"connection_id":195506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 21:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":195506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:59:54] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:54] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:54] local.INFO: IMEI packet received {"connection_id":192803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 21:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":192803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 21:59:54] local.INFO: TCP Data received {"connection_id":192644,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:54] local.INFO: Processing buffer {"connection_id":192644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 21:59:54] local.INFO: Packet analysis {"connection_id":192644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:59:54] local.INFO: Extracted packet for processing {"connection_id":192644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 21:59:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 21: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-25 21:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:54] 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-25 21:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 21: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-25 21:59:54] 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-25 21: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:54] 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-25 21: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-25 21: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-25 21:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 21:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 21:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 21:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 21:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 21:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 21:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 21:59:54] 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":897954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:54] local.INFO: GPS data processed {"connection_id":192644,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:54] local.INFO: Acknowledgment sent {"connection_id":192644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 21:59:58] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:58] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 21:59:58] local.INFO: IMEI packet received {"connection_id":192803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":192803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 21:59:59] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:59] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d961cf08012d1969c0071ff170003f015229..."} 
[2026-09-25 21:59:59] local.INFO: Packet analysis {"connection_id":192803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:59:59] local.INFO: Extracted packet for processing {"connection_id":192803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d961"} 
[2026-09-25 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 21:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330408960001,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 21:59: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-25 21:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353461000,"timestamp_ms":1790353461000,"timestamp_seconds":1790353461,"priority":1,"record_length":96,"hex_timestamp":"000001a0d961cf08"} 
[2026-09-25 21:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 21:59:59] 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-25 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 21:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 21:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 21:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 21:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 21:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 21:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 21:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 21:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 21:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 21:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330408960001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 21:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 21:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330408960001,"description":"Unknown IO ID 0"} 
[2026-09-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 21:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 21:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330408960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 21:59:59] 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":897955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 21:59:59] local.INFO: GPS data processed {"connection_id":192803,"processed":1,"errors":0,"total":1} 
[2026-09-25 21:59:59] local.INFO: Acknowledgment sent {"connection_id":192803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:01] local.INFO: TCP Data received {"connection_id":194159,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:01] local.INFO: Processing buffer {"connection_id":194159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:01] local.INFO: Packet analysis {"connection_id":194159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:00:01] local.INFO: Extracted packet for processing {"connection_id":194159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00: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-25 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 22:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:00:01] 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-25 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:00:01] local.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-25 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:00:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:00:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:00: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-25 22:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:00:01] 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":897956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:00:01] local.INFO: GPS data processed {"connection_id":194159,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:00:01] local.INFO: Acknowledgment sent {"connection_id":194159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:08] local.INFO: TCP Data received {"connection_id":195507,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:00:08] local.INFO: Processing buffer {"connection_id":195507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:00:08] local.INFO: IMEI packet received {"connection_id":195507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":195507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:00:22] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:22] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:22] local.INFO: IMEI packet received {"connection_id":192804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":192804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:00:24] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:24] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:24] local.INFO: IMEI packet received {"connection_id":192645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":192645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:00:27] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:27] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:00:27] local.INFO: IMEI packet received {"connection_id":192804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":192804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:00:29] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:29] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:29] local.INFO: Packet analysis {"connection_id":192804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:00:29] local.INFO: Extracted packet for processing {"connection_id":192804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:00: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-25 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00: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-25 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:00:29] 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-25 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:00:29] 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-25 22:00: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-25 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":192804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":192804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":192804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:00:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:00:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:00:29] 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":897957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:00:29] local.INFO: GPS data processed {"connection_id":192804,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:00:29] local.INFO: Acknowledgment sent {"connection_id":192804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:29] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:29] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:00:29] local.INFO: IMEI packet received {"connection_id":192645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":192645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:00:30] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:30] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:00:30] local.INFO: Packet analysis {"connection_id":192645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:00:30] local.INFO: Extracted packet for processing {"connection_id":192645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 22:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:00:30] 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-25 22:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:00:30] local.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-25 22:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 22:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":192645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:00:30] local.INFO: GPS data processed {"connection_id":192645,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:00:30] local.INFO: Acknowledgment sent {"connection_id":192645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:30] local.INFO: TCP Data received {"connection_id":192803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:00:30] local.INFO: Processing buffer {"connection_id":192803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:00:30] local.INFO: Packet analysis {"connection_id":192803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:00:30] local.INFO: Extracted packet for processing {"connection_id":192803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00: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-25 22:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:00:30] 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-25 22:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:00: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-25 22:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:00:30] 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":897959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:00:30] local.INFO: GPS data processed {"connection_id":192803,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:00:30] local.INFO: Acknowledgment sent {"connection_id":192803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:32] local.INFO: TCP Data received {"connection_id":192804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:32] local.INFO: Processing buffer {"connection_id":192804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:00:32] local.INFO: Packet analysis {"connection_id":192804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:00:32] local.INFO: Extracted packet for processing {"connection_id":192804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:00:32] 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-25 22:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:00:32] 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-25 22:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:00:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:00:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:00:33] 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":897960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:00:33] local.INFO: GPS data processed {"connection_id":192804,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:00:33] local.INFO: Acknowledgment sent {"connection_id":192804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:00:58] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:00:58] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:00:58] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:01:02] local.INFO: TCP Data received {"connection_id":192645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:02] local.INFO: Processing buffer {"connection_id":192645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:02] local.INFO: Packet analysis {"connection_id":192645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:01:02] local.INFO: Extracted packet for processing {"connection_id":192645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01: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-25 22:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 22: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-25 22:01:02] 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-25 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:01:02] local.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-25 22:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 22:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:01: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-25 22:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":192645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:02] local.INFO: GPS data processed {"connection_id":192645,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:02] local.INFO: Acknowledgment sent {"connection_id":192645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:03] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:03] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:03] local.INFO: IMEI packet received {"connection_id":192646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":192646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:01:04] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:04] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:04] local.INFO: Packet analysis {"connection_id":192646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:04] local.INFO: Extracted packet for processing {"connection_id":192646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22: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-25 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:01:04] 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":897962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:04] local.INFO: GPS data processed {"connection_id":192646,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:04] local.INFO: Acknowledgment sent {"connection_id":192646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:09] local.INFO: TCP Data received {"connection_id":192646,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:09] local.INFO: Processing buffer {"connection_id":192646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:09] local.INFO: Packet analysis {"connection_id":192646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:09] local.INFO: Extracted packet for processing {"connection_id":192646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22: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-25 22:01:09] 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-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:01:09] 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":897963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:09] local.INFO: GPS data processed {"connection_id":192646,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:09] local.INFO: Acknowledgment sent {"connection_id":192646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:18] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:18] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:18] local.INFO: IMEI packet received {"connection_id":192647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":192647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:01:22] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:22] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:01:22] local.INFO: IMEI packet received {"connection_id":192647,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":192647,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:01:23] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:23] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:23] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:01:23] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:01:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:23] 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-25 22:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:01:23] 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-25 22:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:23] 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-25 22:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:01:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:23] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:23] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:24] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:24] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:24] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:01:27] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:27] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:01:27] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:01:27] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:27] 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-25 22:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22: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-25 22:01:27] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:01:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897965,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:28] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:28] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:29] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:29] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:01:29] local.INFO: IMEI packet received {"connection_id":192648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":192648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:01:30] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:30] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:01:30] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:01:30] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 22:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:01:30] 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-25 22:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:01:30] local.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-25 22:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:01:30] 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":897966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:30] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:30] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:01:53] local.INFO: TCP Data received {"connection_id":195509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:53] local.INFO: Processing buffer {"connection_id":195509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:53] local.INFO: IMEI packet received {"connection_id":195509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":195509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:01:58] local.INFO: TCP Data received {"connection_id":195509,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:58] local.INFO: Processing buffer {"connection_id":195509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:01:58] local.INFO: IMEI packet received {"connection_id":195509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":195509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:01:59] local.INFO: TCP Data received {"connection_id":195509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:59] local.INFO: Processing buffer {"connection_id":195509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:01:59] local.INFO: Packet analysis {"connection_id":195509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:59] local.INFO: Extracted packet for processing {"connection_id":195509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:01: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-25 22:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":195509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:01:59] local.INFO: GPS data processed {"connection_id":195509,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:01:59] local.INFO: Acknowledgment sent {"connection_id":195509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:00] local.INFO: TCP Data received {"connection_id":192647,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:00] local.INFO: Processing buffer {"connection_id":192647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:00] local.INFO: Packet analysis {"connection_id":192647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:00] local.INFO: Extracted packet for processing {"connection_id":192647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:00] 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-25 22:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:00] 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-25 22:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:00] 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-25 22:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192647,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:02:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":192647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:01] local.INFO: GPS data processed {"connection_id":192647,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:01] local.INFO: Acknowledgment sent {"connection_id":192647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:02] local.INFO: TCP Data received {"connection_id":192648,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:02:02] local.INFO: Processing buffer {"connection_id":192648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d963b368012d34c14006aa49080004006e2b..."} 
[2026-09-25 22:02:02] local.INFO: Packet analysis {"connection_id":192648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:02:02] local.INFO: Extracted packet for processing {"connection_id":192648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d963"} 
[2026-09-25 22:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330440704001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02: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-25 22:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353585000,"timestamp_ms":1790353585000,"timestamp_seconds":1790353585,"priority":1,"record_length":96,"hex_timestamp":"000001a0d963b368"} 
[2026-09-25 22:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:02] 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-25 22:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:02:02] local.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-25 22:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330440704001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330440704001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:02: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-25 22:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330440704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:02:02] 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":897969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:02] local.INFO: GPS data processed {"connection_id":192648,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:02] local.INFO: Acknowledgment sent {"connection_id":192648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:20] local.INFO: TCP Data received {"connection_id":195510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:20] local.INFO: Processing buffer {"connection_id":195510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:20] local.INFO: IMEI packet received {"connection_id":195510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":195510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:02:22] local.INFO: TCP Data received {"connection_id":195510,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195510,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:22] local.INFO: Processing buffer {"connection_id":195510,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:02:22] local.INFO: IMEI packet received {"connection_id":195510,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":195510,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:02:22] local.INFO: TCP Data received {"connection_id":195510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:22] local.INFO: Processing buffer {"connection_id":195510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:22] local.INFO: Packet analysis {"connection_id":195510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:22] local.INFO: Extracted packet for processing {"connection_id":195510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:22] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:22] 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-25 22:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22: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-25 22:02: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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:02: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-25 22: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-25 22: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-25 22:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":195510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:02:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":195510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897970,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:23] local.INFO: GPS data processed {"connection_id":195510,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:23] local.INFO: Acknowledgment sent {"connection_id":195510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:27] local.INFO: TCP Data received {"connection_id":195510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:27] local.INFO: Processing buffer {"connection_id":195510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:27] local.INFO: Packet analysis {"connection_id":195510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:27] local.INFO: Extracted packet for processing {"connection_id":195510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:27] 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-25 22:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:27] 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-25 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:02: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-25 22:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":195510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:28] local.INFO: GPS data processed {"connection_id":195510,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:28] local.INFO: Acknowledgment sent {"connection_id":195510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:29] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:29] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:29] local.INFO: IMEI packet received {"connection_id":194160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":194160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:02:30] local.INFO: TCP Data received {"connection_id":195509,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:30] local.INFO: Processing buffer {"connection_id":195509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:30] local.INFO: Packet analysis {"connection_id":195509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:02:30] local.INFO: Extracted packet for processing {"connection_id":195509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02: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-25 22:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:30] 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-25 22:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:02: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-25 22:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":195509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:31] local.INFO: GPS data processed {"connection_id":195509,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:31] local.INFO: Acknowledgment sent {"connection_id":195509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:34] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:34] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:02:34] local.INFO: IMEI packet received {"connection_id":194160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":194160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:02:35] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:02:35] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:02:35] local.INFO: Packet analysis {"connection_id":194160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:02:35] local.INFO: Extracted packet for processing {"connection_id":194160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22: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-25 22:02:35] 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-25 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:02:35] 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":897973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:35] local.INFO: GPS data processed {"connection_id":194160,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:35] local.INFO: Acknowledgment sent {"connection_id":194160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:53] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:53] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:53] local.INFO: IMEI packet received {"connection_id":192650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":192650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:02:58] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:58] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:02:58] local.INFO: IMEI packet received {"connection_id":192650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":192650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:02:59] local.INFO: TCP Data received {"connection_id":195510,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:59] local.INFO: Processing buffer {"connection_id":195510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:02:59] local.INFO: Packet analysis {"connection_id":195510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:59] local.INFO: Extracted packet for processing {"connection_id":195510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:02:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:59] 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-25 22:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:59] 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-25 22:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195510,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:02:59] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:59] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:02:59] local.INFO: Packet analysis {"connection_id":192650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:02:59] local.INFO: Extracted packet for processing {"connection_id":192650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:02: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-25 22:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":195510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:59] local.INFO: GPS data processed {"connection_id":195510,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:59] local.INFO: Acknowledgment sent {"connection_id":195510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":192650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:02:59] local.INFO: GPS data processed {"connection_id":192650,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:02:59] local.INFO: Acknowledgment sent {"connection_id":192650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:06] local.INFO: TCP Data received {"connection_id":194160,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:06] local.INFO: Processing buffer {"connection_id":194160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:06] local.INFO: Packet analysis {"connection_id":194160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:03:06] local.INFO: Extracted packet for processing {"connection_id":194160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22: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-25 22:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":194160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":194160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:03: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-25 22:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:03:06] 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":897976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:06] local.INFO: GPS data processed {"connection_id":194160,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:06] local.INFO: Acknowledgment sent {"connection_id":194160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:17] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:17] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:17] local.INFO: IMEI packet received {"connection_id":192651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":192651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:03:22] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:22] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:03:22] local.INFO: IMEI packet received {"connection_id":192651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":192651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:03:23] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:03:23] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d965baf0012d0b10c007029f100019013d1b..."} 
[2026-09-25 22:03:23] local.INFO: Packet analysis {"connection_id":192651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:03:23] local.INFO: Extracted packet for processing {"connection_id":192651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d965"} 
[2026-09-25 22:03:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330474752001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:23] 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-25 22:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790353718000,"timestamp_ms":1790353718000,"timestamp_seconds":1790353718,"priority":1,"record_length":96,"hex_timestamp":"000001a0d965baf0"} 
[2026-09-25 22:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:03:23] 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-25 22:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:03:23] 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-25 22:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330474752001,"66":12635,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330474752001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:03:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330474752001,"power":12635,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:03:23] 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":897977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:23] local.INFO: GPS data processed {"connection_id":192651,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:23] local.INFO: Acknowledgment sent {"connection_id":192651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:24] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:24] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:24] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:03:29] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:29] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:03:29] local.INFO: IMEI packet received {"connection_id":192652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":192652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:03:30] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:30] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:03:30] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:03:30] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:03:30] 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-25 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:03:30] 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":897978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:30] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:30] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:30] local.INFO: TCP Data received {"connection_id":192650,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:30] local.INFO: Processing buffer {"connection_id":192650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:30] local.INFO: Packet analysis {"connection_id":192650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:03:30] local.INFO: Extracted packet for processing {"connection_id":192650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03: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-25 22:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:03:30] 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-25 22:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:03: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-25 22:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":192650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:30] local.INFO: GPS data processed {"connection_id":192650,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:30] local.INFO: Acknowledgment sent {"connection_id":192650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:54] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:54] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:54] local.INFO: IMEI packet received {"connection_id":192805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":192805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:03:55] local.INFO: TCP Data received {"connection_id":192651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:03:55] local.INFO: Processing buffer {"connection_id":192651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:03:55] local.INFO: Packet analysis {"connection_id":192651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:03:55] local.INFO: Extracted packet for processing {"connection_id":192651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:55] 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-25 22:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:03:55] 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-25 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192651,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:03:55] 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":897980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:55] local.INFO: GPS data processed {"connection_id":192651,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:55] local.INFO: Acknowledgment sent {"connection_id":192651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:03:58] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:58] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:03:58] local.INFO: IMEI packet received {"connection_id":192805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":192805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:03:59] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:59] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:03:59] local.INFO: Packet analysis {"connection_id":192805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:03:59] local.INFO: Extracted packet for processing {"connection_id":192805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:03: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-25 22:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:03:59] 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":897981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:03:59] local.INFO: GPS data processed {"connection_id":192805,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:03:59] local.INFO: Acknowledgment sent {"connection_id":192805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:03] local.INFO: TCP Data received {"connection_id":192652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:03] local.INFO: Processing buffer {"connection_id":192652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:03] local.INFO: Packet analysis {"connection_id":192652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:03] local.INFO: Extracted packet for processing {"connection_id":192652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04: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-25 22:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:04: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-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:04:04] 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":897982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:04] local.INFO: GPS data processed {"connection_id":192652,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:04] local.INFO: Acknowledgment sent {"connection_id":192652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:17] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:17] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:17] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:04:22] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:22] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:04:22] local.INFO: IMEI packet received {"connection_id":192653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":192653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:04:23] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:23] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:23] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:04:23] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:23] 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-25 22:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:04:23] 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-25 22: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:04:23] 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":897983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:23] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:23] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:29] local.INFO: TCP Data received {"connection_id":195512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:29] local.INFO: Processing buffer {"connection_id":195512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:29] local.INFO: IMEI packet received {"connection_id":195512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":195512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:04:30] local.INFO: TCP Data received {"connection_id":192805,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:31] local.INFO: Processing buffer {"connection_id":192805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:31] local.INFO: Packet analysis {"connection_id":192805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:04:31] local.INFO: Extracted packet for processing {"connection_id":192805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04: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-25 22:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:04: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-25 22:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:04:31] 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":897984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:31] local.INFO: GPS data processed {"connection_id":192805,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:31] local.INFO: Acknowledgment sent {"connection_id":192805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:34] local.INFO: TCP Data received {"connection_id":195512,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:34] local.INFO: Processing buffer {"connection_id":195512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:04:34] local.INFO: IMEI packet received {"connection_id":195512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":195512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:04:35] local.INFO: TCP Data received {"connection_id":195512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:35] local.INFO: Processing buffer {"connection_id":195512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:35] local.INFO: Packet analysis {"connection_id":195512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:35] local.INFO: Extracted packet for processing {"connection_id":195512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22: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-25 22:04:35] 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-25 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":195512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:35] local.INFO: GPS data processed {"connection_id":195512,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:35] local.INFO: Acknowledgment sent {"connection_id":195512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:40] local.INFO: TCP Data received {"connection_id":195512,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:40] local.INFO: Processing buffer {"connection_id":195512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:04:40] local.INFO: Packet analysis {"connection_id":195512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:40] local.INFO: Extracted packet for processing {"connection_id":195512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22: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-25 22:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:04: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-25 22:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":195512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:40] local.INFO: GPS data processed {"connection_id":195512,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:40] local.INFO: Acknowledgment sent {"connection_id":195512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:53] local.INFO: TCP Data received {"connection_id":195513,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:53] local.INFO: Processing buffer {"connection_id":195513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:53] local.INFO: IMEI packet received {"connection_id":195513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":195513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:04:54] local.INFO: TCP Data received {"connection_id":192653,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:54] local.INFO: Processing buffer {"connection_id":192653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:04:54] local.INFO: Packet analysis {"connection_id":192653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:04:54] local.INFO: Extracted packet for processing {"connection_id":192653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:04:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:54] 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-25 22:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:04:54] 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-25 22:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:04:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:04:54] 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":897987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:54] local.INFO: GPS data processed {"connection_id":192653,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:54] local.INFO: Acknowledgment sent {"connection_id":192653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:04:58] local.INFO: TCP Data received {"connection_id":195513,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:58] local.INFO: Processing buffer {"connection_id":195513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:04:58] local.INFO: IMEI packet received {"connection_id":195513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":195513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:04:59] local.INFO: TCP Data received {"connection_id":195513,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:59] local.INFO: Processing buffer {"connection_id":195513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96666d0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:04:59] local.INFO: Packet analysis {"connection_id":195513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:04:59] local.INFO: Extracted packet for processing {"connection_id":195513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d966"} 
[2026-09-25 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330486016001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:04: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-25 22:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790353762000,"timestamp_ms":1790353762000,"timestamp_seconds":1790353762,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96666d0"} 
[2026-09-25 22:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330486016001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330486016001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330486016001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":195513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:04:59] local.INFO: GPS data processed {"connection_id":195513,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:04:59] local.INFO: Acknowledgment sent {"connection_id":195513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:05:22] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:22] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:22] local.INFO: IMEI packet received {"connection_id":192654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":192654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:05:24] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:24] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:24] local.INFO: IMEI packet received {"connection_id":194163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":194163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:05:27] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:27] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:05:27] local.INFO: IMEI packet received {"connection_id":192654,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":192654,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:05:27] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:27] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:27] local.INFO: Packet analysis {"connection_id":192654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:27] local.INFO: Extracted packet for processing {"connection_id":192654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:27] 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-25 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:05:27] 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-25 22: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:05:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:05:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:05:28] 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":897989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:05:28] local.INFO: GPS data processed {"connection_id":192654,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:05:28] local.INFO: Acknowledgment sent {"connection_id":192654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:05:29] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:29] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:05:29] local.INFO: IMEI packet received {"connection_id":194163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":194163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:05:30] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:05:30] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:05:30] local.INFO: Packet analysis {"connection_id":194163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:05:30] local.INFO: Extracted packet for processing {"connection_id":194163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:05:30] 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-25 22:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:05:30] 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":897990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:05:30] local.INFO: GPS data processed {"connection_id":194163,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:05:30] local.INFO: Acknowledgment sent {"connection_id":194163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:05:31] local.INFO: TCP Data received {"connection_id":195513,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:05:31] local.INFO: Processing buffer {"connection_id":195513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:05:31] local.INFO: Packet analysis {"connection_id":195513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:31] local.INFO: Extracted packet for processing {"connection_id":195513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22: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-25 22:05: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-25 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:05: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-25 22: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-25 22: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-25 22:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":195513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":195513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":195513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":195513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:05:31] local.INFO: GPS data processed {"connection_id":195513,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:05:31] local.INFO: Acknowledgment sent {"connection_id":195513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:05:32] local.INFO: TCP Data received {"connection_id":192654,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:32] local.INFO: Processing buffer {"connection_id":192654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:05:32] local.INFO: Packet analysis {"connection_id":192654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:32] local.INFO: Extracted packet for processing {"connection_id":192654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:05:32] 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-25 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:05:32] 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-25 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192654,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:05:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:05:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:05:33] 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":897992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:05:33] local.INFO: GPS data processed {"connection_id":192654,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:05:33] local.INFO: Acknowledgment sent {"connection_id":192654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:05:38] local.INFO: TCP Data received {"connection_id":194162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:05:38] local.INFO: Processing buffer {"connection_id":194162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:05:38] local.INFO: IMEI packet received {"connection_id":194162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":194162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:05:58] local.INFO: TCP Data received {"connection_id":195514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:05:58] local.INFO: Processing buffer {"connection_id":195514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:05:58] local.INFO: IMEI packet received {"connection_id":195514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":195514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:06:02] local.INFO: TCP Data received {"connection_id":194163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:02] local.INFO: Processing buffer {"connection_id":194163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:02] local.INFO: Packet analysis {"connection_id":194163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:06:02] local.INFO: Extracted packet for processing {"connection_id":194163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06: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-25 22:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:06:02] 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-25 22:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:06: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-25 22:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:06: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-25 22:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:06:02] 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":897993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:02] local.INFO: GPS data processed {"connection_id":194163,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:02] local.INFO: Acknowledgment sent {"connection_id":194163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:03] local.INFO: TCP Data received {"connection_id":192655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:06:03] local.INFO: Processing buffer {"connection_id":192655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:06:03] local.INFO: IMEI packet received {"connection_id":192655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":192655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:06:04] local.INFO: TCP Data received {"connection_id":195514,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:04] local.INFO: Processing buffer {"connection_id":195514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:04] local.INFO: IMEI packet received {"connection_id":195514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":195514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:06:05] local.INFO: TCP Data received {"connection_id":195514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:05] local.INFO: Processing buffer {"connection_id":195514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:05] local.INFO: Packet analysis {"connection_id":195514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:05] local.INFO: Extracted packet for processing {"connection_id":195514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22: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-25 22:06:05] 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-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":195514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:05] local.INFO: GPS data processed {"connection_id":195514,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:05] local.INFO: Acknowledgment sent {"connection_id":195514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:09] local.INFO: TCP Data received {"connection_id":195514,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:09] local.INFO: Processing buffer {"connection_id":195514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:09] local.INFO: Packet analysis {"connection_id":195514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:09] local.INFO: Extracted packet for processing {"connection_id":195514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:06:09] 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-25 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:06:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":195514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":897995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:09] local.INFO: GPS data processed {"connection_id":195514,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:09] local.INFO: Acknowledgment sent {"connection_id":195514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:17] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:17] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:17] local.INFO: IMEI packet received {"connection_id":194164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":194164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:06:22] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:22] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:06:22] local.INFO: IMEI packet received {"connection_id":194164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":194164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:06:23] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:23] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:23] local.INFO: Packet analysis {"connection_id":194164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:23] local.INFO: Extracted packet for processing {"connection_id":194164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:23] 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-25 22:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:06:23] 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-25 22:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:06:23] 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":897996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:23] local.INFO: GPS data processed {"connection_id":194164,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:23] local.INFO: Acknowledgment sent {"connection_id":194164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:24] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:24] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:24] local.INFO: IMEI packet received {"connection_id":192806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":192806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:06:29] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:29] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:06:29] local.INFO: IMEI packet received {"connection_id":192806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":192806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:06:30] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:30] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:06:30] local.INFO: Packet analysis {"connection_id":192806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:06:30] local.INFO: Extracted packet for processing {"connection_id":192806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:06:30] 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-25 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:06:30] 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":897997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:30] local.INFO: GPS data processed {"connection_id":192806,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:30] local.INFO: Acknowledgment sent {"connection_id":192806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:53] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:53] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:53] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:06:55] local.INFO: TCP Data received {"connection_id":194164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:55] local.INFO: Processing buffer {"connection_id":194164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:06:55] local.INFO: Packet analysis {"connection_id":194164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:55] local.INFO: Extracted packet for processing {"connection_id":194164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:06: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-25 22:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:55] 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-25 22:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:06:55] 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-25 22:06: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":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:06: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-25 22:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:06:55] 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":897998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:55] local.INFO: GPS data processed {"connection_id":194164,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:55] local.INFO: Acknowledgment sent {"connection_id":194164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:06:58] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:58] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:06:58] local.INFO: IMEI packet received {"connection_id":192807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":192807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:06:59] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:59] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:06:59] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:59] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:06: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-25 22:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:06:59] 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-25 22:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:06:59] 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":897999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:06:59] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:06:59] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:02] local.INFO: TCP Data received {"connection_id":192806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:07:02] local.INFO: Processing buffer {"connection_id":192806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9684b30012d34c14006aa49080008006e2d..."} 
[2026-09-25 22:07:02] local.INFO: Packet analysis {"connection_id":192806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:07:02] local.INFO: Extracted packet for processing {"connection_id":192806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d968"} 
[2026-09-25 22:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330517760001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790353886000,"timestamp_ms":1790353886000,"timestamp_seconds":1790353886,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9684b30"} 
[2026-09-25 22:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:07:02] 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-25 22:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330517760001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330517760001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330517760001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:07:02] 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":898000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:02] local.INFO: GPS data processed {"connection_id":192806,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:02] local.INFO: Acknowledgment sent {"connection_id":192806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:17] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:17] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:17] local.INFO: IMEI packet received {"connection_id":194166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":194166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:07:22] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:22] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:07:22] local.INFO: IMEI packet received {"connection_id":194166,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":194166,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:07:23] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:23] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:23] local.INFO: Packet analysis {"connection_id":194166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:23] local.INFO: Extracted packet for processing {"connection_id":194166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:23] 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-25 22:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:07:23] 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-25 22: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:07:23] 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":898001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:23] local.INFO: GPS data processed {"connection_id":194166,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:23] local.INFO: Acknowledgment sent {"connection_id":194166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:24] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:24] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:24] local.INFO: IMEI packet received {"connection_id":194167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":194167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:07:29] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:29] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:07:29] local.INFO: IMEI packet received {"connection_id":194167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":194167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:07:30] local.INFO: TCP Data received {"connection_id":192807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:30] local.INFO: Processing buffer {"connection_id":192807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:30] local.INFO: Packet analysis {"connection_id":192807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:30] local.INFO: Extracted packet for processing {"connection_id":192807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07: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-25 22:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:07:30] 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-25 22:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:07:30] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:07:30] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:07:30] local.INFO: Packet analysis {"connection_id":194167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:07:30] local.INFO: Extracted packet for processing {"connection_id":194167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:07:30] 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":898002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:30] local.INFO: GPS data processed {"connection_id":194167,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:30] local.INFO: Acknowledgment sent {"connection_id":194167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:30] 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":898003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:30] local.INFO: GPS data processed {"connection_id":192807,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:30] local.INFO: Acknowledgment sent {"connection_id":192807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:53] local.INFO: TCP Data received {"connection_id":194168,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:53] local.INFO: Processing buffer {"connection_id":194168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:53] local.INFO: IMEI packet received {"connection_id":194168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":194168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:07:55] local.INFO: TCP Data received {"connection_id":194166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:55] local.INFO: Processing buffer {"connection_id":194166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:07:55] local.INFO: Packet analysis {"connection_id":194166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:55] local.INFO: Extracted packet for processing {"connection_id":194166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:55] 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-25 22:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:07:55] 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-25 22: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194166,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:07:55] 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":898004,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:55] local.INFO: GPS data processed {"connection_id":194166,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:55] local.INFO: Acknowledgment sent {"connection_id":194166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:07:58] local.INFO: TCP Data received {"connection_id":194168,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:58] local.INFO: Processing buffer {"connection_id":194168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:07:58] local.INFO: IMEI packet received {"connection_id":194168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":194168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:07:59] local.INFO: TCP Data received {"connection_id":194168,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:59] local.INFO: Processing buffer {"connection_id":194168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:07:59] local.INFO: Packet analysis {"connection_id":194168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:59] local.INFO: Extracted packet for processing {"connection_id":194168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:07: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-25 22:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22: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-25 22:07:59] 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-25 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":194168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:07:59] local.INFO: GPS data processed {"connection_id":194168,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:07:59] local.INFO: Acknowledgment sent {"connection_id":194168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:02] local.INFO: TCP Data received {"connection_id":194167,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:02] local.INFO: Processing buffer {"connection_id":194167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:02] local.INFO: Packet analysis {"connection_id":194167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:08:02] local.INFO: Extracted packet for processing {"connection_id":194167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08: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-25 22:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:08: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-25 22:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:08: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-25 22:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:08:02] 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":898006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:02] local.INFO: GPS data processed {"connection_id":194167,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:02] local.INFO: Acknowledgment sent {"connection_id":194167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:17] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:17] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:17] local.INFO: IMEI packet received {"connection_id":192656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":192656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:08:22] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:22] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:08:22] local.INFO: IMEI packet received {"connection_id":192656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":192656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:08:23] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:23] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96a52b8012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:23] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:23] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330551808001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:23] 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-25 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354019000,"timestamp_ms":1790354019000,"timestamp_seconds":1790354019,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96a52b8"} 
[2026-09-25 22: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-25 22:08:23] 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-25 22: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":91,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330551808001,"66":12645,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330551808001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330551808001,"power":12645,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:08:23] 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":898007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:23] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:23] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:24] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:24] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:24] local.INFO: IMEI packet received {"connection_id":194170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":194170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:08:29] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:29] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:08:29] local.INFO: IMEI packet received {"connection_id":194170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":194170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:08:30] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:30] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:08:30] local.INFO: Packet analysis {"connection_id":194170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:08:30] local.INFO: Extracted packet for processing {"connection_id":194170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22: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-25 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:08:30] 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":898008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:30] local.INFO: GPS data processed {"connection_id":194170,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:30] local.INFO: Acknowledgment sent {"connection_id":194170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:30] local.INFO: TCP Data received {"connection_id":194168,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:30] local.INFO: Processing buffer {"connection_id":194168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:30] local.INFO: Packet analysis {"connection_id":194168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:30] local.INFO: Extracted packet for processing {"connection_id":194168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08: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-25 22:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22: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-25 22:08:30] 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-25 22:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":194168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:31] local.INFO: GPS data processed {"connection_id":194168,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:31] local.INFO: Acknowledgment sent {"connection_id":194168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:53] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:53] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:53] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:08:55] local.INFO: TCP Data received {"connection_id":192656,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:55] local.INFO: Processing buffer {"connection_id":192656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:08:55] local.INFO: Packet analysis {"connection_id":192656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:08:55] local.INFO: Extracted packet for processing {"connection_id":192656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:55] 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-25 22:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22: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-25 22:08:55] 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-25 22: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:55] 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-25 22: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-25 22: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-25 22:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:08:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:08:55] 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":898010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:55] local.INFO: GPS data processed {"connection_id":192656,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:55] local.INFO: Acknowledgment sent {"connection_id":192656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:08:58] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:58] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:08:58] local.INFO: IMEI packet received {"connection_id":192657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":192657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:08:59] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:59] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:08:59] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:59] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:08: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-25 22:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:08:59] 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-25 22:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:08:59] 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":898011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:08:59] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:08:59] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:02] local.INFO: TCP Data received {"connection_id":194170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:02] local.INFO: Processing buffer {"connection_id":194170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:02] local.INFO: Packet analysis {"connection_id":194170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:02] local.INFO: Extracted packet for processing {"connection_id":194170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09: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-25 22:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:09: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-25 22:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:09: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-25 22:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:09:02] 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":898012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:02] local.INFO: GPS data processed {"connection_id":194170,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:02] local.INFO: Acknowledgment sent {"connection_id":194170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:17] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:17] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:17] local.INFO: IMEI packet received {"connection_id":192808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":192808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:09:22] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:22] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:09:22] local.INFO: IMEI packet received {"connection_id":192808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":192808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:09:29] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:29] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:29] local.INFO: IMEI packet received {"connection_id":192658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:09:30] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:09:30] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:09:30] local.INFO: Packet analysis {"connection_id":192808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:09:30] local.INFO: Extracted packet for processing {"connection_id":192808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:30] 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-25 22:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:09:30] 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-25 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:09:30] 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":898013,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:30] local.INFO: GPS data processed {"connection_id":192808,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:30] local.INFO: Acknowledgment sent {"connection_id":192808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:30] local.INFO: TCP Data received {"connection_id":192657,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:30] local.INFO: Processing buffer {"connection_id":192657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:30] local.INFO: Packet analysis {"connection_id":192657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:09:30] local.INFO: Extracted packet for processing {"connection_id":192657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09: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-25 22:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:09:30] 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-25 22:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:09:30] 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":898014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:30] local.INFO: GPS data processed {"connection_id":192657,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:30] local.INFO: Acknowledgment sent {"connection_id":192657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:34] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:34] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:09:34] local.INFO: IMEI packet received {"connection_id":192658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":192658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:09:36] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:36] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:36] local.INFO: Packet analysis {"connection_id":192658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:36] local.INFO: Extracted packet for processing {"connection_id":192658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22: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-25 22:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":192658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:36] local.INFO: GPS data processed {"connection_id":192658,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:36] local.INFO: Acknowledgment sent {"connection_id":192658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:40] local.INFO: TCP Data received {"connection_id":192658,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:40] local.INFO: Processing buffer {"connection_id":192658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:09:40] local.INFO: Packet analysis {"connection_id":192658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:40] local.INFO: Extracted packet for processing {"connection_id":192658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22: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-25 22:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:09: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-25 22:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":192658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:40] local.INFO: GPS data processed {"connection_id":192658,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:40] local.INFO: Acknowledgment sent {"connection_id":192658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:09:53] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:53] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:53] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:09:58] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:58] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:09:58] local.INFO: IMEI packet received {"connection_id":192809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":192809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:09:59] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:59] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96afe98012d1969c0071ff170003f015228..."} 
[2026-09-25 22:09:59] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:09:59] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96a"} 
[2026-09-25 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330563072001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:09: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-25 22:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354063000,"timestamp_ms":1790354063000,"timestamp_seconds":1790354063,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96afe98"} 
[2026-09-25 22:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:09:59] 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-25 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330563072001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330563072001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330563072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:09:59] 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":898017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:09:59] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:09:59] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:02] local.INFO: TCP Data received {"connection_id":192808,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:02] local.INFO: Processing buffer {"connection_id":192808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:02] local.INFO: Packet analysis {"connection_id":192808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:02] local.INFO: Extracted packet for processing {"connection_id":192808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:02] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:02] 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-25 22:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:10:02] 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-25 22:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:02] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:10:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:10:02] 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":898018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:02] local.INFO: GPS data processed {"connection_id":192808,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:02] local.INFO: Acknowledgment sent {"connection_id":192808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:17] local.INFO: TCP Data received {"connection_id":194171,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:17] local.INFO: Processing buffer {"connection_id":194171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:17] local.INFO: IMEI packet received {"connection_id":194171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":194171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:10:22] local.INFO: TCP Data received {"connection_id":194171,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:22] local.INFO: Processing buffer {"connection_id":194171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:10:22] local.INFO: IMEI packet received {"connection_id":194171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":194171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:10:23] local.INFO: TCP Data received {"connection_id":194171,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:23] local.INFO: Processing buffer {"connection_id":194171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:23] local.INFO: Packet analysis {"connection_id":194171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:23] local.INFO: Extracted packet for processing {"connection_id":194171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:23] 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-25 22:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:10:23] 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-25 22:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:10: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-25 22:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":194171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898019,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:23] local.INFO: GPS data processed {"connection_id":194171,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:23] local.INFO: Acknowledgment sent {"connection_id":194171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:24] local.INFO: TCP Data received {"connection_id":195517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:24] local.INFO: Processing buffer {"connection_id":195517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:24] local.INFO: IMEI packet received {"connection_id":195517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":195517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:10:29] local.INFO: TCP Data received {"connection_id":195517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:29] local.INFO: Processing buffer {"connection_id":195517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:10:29] local.INFO: IMEI packet received {"connection_id":195517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":195517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:10:30] local.INFO: TCP Data received {"connection_id":192809,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:30] local.INFO: Processing buffer {"connection_id":192809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:30] local.INFO: Packet analysis {"connection_id":192809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:10:30] local.INFO: Extracted packet for processing {"connection_id":192809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10: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-25 22:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:10:30] 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-25 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:10:30] 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":898020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:30] local.INFO: GPS data processed {"connection_id":192809,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:30] local.INFO: Acknowledgment sent {"connection_id":192809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:30] local.INFO: TCP Data received {"connection_id":195517,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:10:30] local.INFO: Processing buffer {"connection_id":195517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:10:30] local.INFO: Packet analysis {"connection_id":195517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:10:30] local.INFO: Extracted packet for processing {"connection_id":195517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":195517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:30] local.INFO: GPS data processed {"connection_id":195517,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:30] local.INFO: Acknowledgment sent {"connection_id":195517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:53] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:53] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:53] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:10:54] local.INFO: TCP Data received {"connection_id":194171,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:54] local.INFO: Processing buffer {"connection_id":194171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:10:54] local.INFO: Packet analysis {"connection_id":194171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:54] local.INFO: Extracted packet for processing {"connection_id":194171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:10:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:54] 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-25 22:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22: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-25 22:10:54] 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-25 22: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:10:54] 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-25 22:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22: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-25 22:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194171,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:10:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":194171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:54] local.INFO: GPS data processed {"connection_id":194171,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:54] local.INFO: Acknowledgment sent {"connection_id":194171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:10:58] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:58] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:10:58] local.INFO: IMEI packet received {"connection_id":192659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":192659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:10:59] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:59] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:10:59] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:10:59] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:10: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-25 22:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:10:59] 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-25 22:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:10:59] 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":898023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:10:59] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:10:59] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:02] local.INFO: TCP Data received {"connection_id":195517,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:02] local.INFO: Processing buffer {"connection_id":195517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:02] local.INFO: Packet analysis {"connection_id":195517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:11:02] local.INFO: Extracted packet for processing {"connection_id":195517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11: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-25 22:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:11: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-25 22:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":195517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:02] local.INFO: GPS data processed {"connection_id":195517,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:02] local.INFO: Acknowledgment sent {"connection_id":195517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:22] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:22] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:22] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:11:24] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:24] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:24] local.INFO: IMEI packet received {"connection_id":192660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":192660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:11:27] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:27] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:11:27] local.INFO: IMEI packet received {"connection_id":192810,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":192810,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:11:28] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:28] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:28] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:11:28] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:11: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-25 22:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:28] 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-25 22:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:11:28] 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-25 22:11: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":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:28] 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-25 22:11: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-25 22:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:11:28] 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":898025,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:28] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:28] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:28] local.INFO: TCP Data received {"connection_id":195518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:11:28] local.INFO: Processing buffer {"connection_id":195518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:11:28] local.INFO: IMEI packet received {"connection_id":195518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":195518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:11:29] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:29] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:11:29] local.INFO: IMEI packet received {"connection_id":192660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:11:30] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:30] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:11:30] local.INFO: Packet analysis {"connection_id":192660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:11:30] local.INFO: Extracted packet for processing {"connection_id":192660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22: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-25 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:11:30] 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":898026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:30] local.INFO: GPS data processed {"connection_id":192660,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:30] local.INFO: Acknowledgment sent {"connection_id":192660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:30] local.INFO: TCP Data received {"connection_id":192659,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:30] local.INFO: Processing buffer {"connection_id":192659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:30] local.INFO: Packet analysis {"connection_id":192659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:11:30] local.INFO: Extracted packet for processing {"connection_id":192659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11: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-25 22:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22: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-25 22:11:30] 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-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:11:30] 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":898027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:30] local.INFO: GPS data processed {"connection_id":192659,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:30] local.INFO: Acknowledgment sent {"connection_id":192659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:32] local.INFO: TCP Data received {"connection_id":192810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:32] local.INFO: Processing buffer {"connection_id":192810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:11:32] local.INFO: Packet analysis {"connection_id":192810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:11:32] local.INFO: Extracted packet for processing {"connection_id":192810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:32] 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-25 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:11:32] 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-25 22:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:32] 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-25 22:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192810,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:11:33] 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":898028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:33] local.INFO: GPS data processed {"connection_id":192810,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:33] local.INFO: Acknowledgment sent {"connection_id":192810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:11:53] local.INFO: TCP Data received {"connection_id":195519,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:53] local.INFO: Processing buffer {"connection_id":195519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:53] local.INFO: IMEI packet received {"connection_id":195519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":195519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:11:58] local.INFO: TCP Data received {"connection_id":195519,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:58] local.INFO: Processing buffer {"connection_id":195519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:11:58] local.INFO: IMEI packet received {"connection_id":195519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":195519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:11:59] local.INFO: TCP Data received {"connection_id":195519,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:59] local.INFO: Processing buffer {"connection_id":195519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:11:59] local.INFO: Packet analysis {"connection_id":195519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:11:59] local.INFO: Extracted packet for processing {"connection_id":195519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:11: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-25 22:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:11:59] 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-25 22:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":195519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:11:59] local.INFO: GPS data processed {"connection_id":195519,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:11:59] local.INFO: Acknowledgment sent {"connection_id":195519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:01] local.INFO: TCP Data received {"connection_id":192660,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:12:01] local.INFO: Processing buffer {"connection_id":192660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96ce2f8012d34c14006aa4908000d006e2c..."} 
[2026-09-25 22:12:01] local.INFO: Packet analysis {"connection_id":192660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:12:01] local.INFO: Extracted packet for processing {"connection_id":192660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96c"} 
[2026-09-25 22:12:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330594816001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12: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-25 22:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790354187000,"timestamp_ms":1790354187000,"timestamp_seconds":1790354187,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96ce2f8"} 
[2026-09-25 22:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330594816001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330594816001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:12:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:12: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-25 22:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330594816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:12:01] 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":898030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:01] local.INFO: GPS data processed {"connection_id":192660,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:01] local.INFO: Acknowledgment sent {"connection_id":192660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:03] local.INFO: TCP Data received {"connection_id":195520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:12:03] local.INFO: Processing buffer {"connection_id":195520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:12:03] local.INFO: IMEI packet received {"connection_id":195520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":195520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:12:17] local.INFO: TCP Data received {"connection_id":194172,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:17] local.INFO: Processing buffer {"connection_id":194172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:17] local.INFO: IMEI packet received {"connection_id":194172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":194172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:12:22] local.INFO: TCP Data received {"connection_id":194172,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:22] local.INFO: Processing buffer {"connection_id":194172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:12:22] local.INFO: IMEI packet received {"connection_id":194172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":194172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:12:23] local.INFO: TCP Data received {"connection_id":194172,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:23] local.INFO: Processing buffer {"connection_id":194172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:23] local.INFO: Packet analysis {"connection_id":194172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:12:23] local.INFO: Extracted packet for processing {"connection_id":194172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:23] 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-25 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:12:23] 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-25 22:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:12: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-25 22:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":194172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:23] local.INFO: GPS data processed {"connection_id":194172,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:23] local.INFO: Acknowledgment sent {"connection_id":194172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:24] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:24] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:24] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:12:29] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:29] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:12:29] local.INFO: IMEI packet received {"connection_id":192811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":192811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:12:30] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:12:30] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:12:30] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:12:30] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22: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-25 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:12:30] 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-25 22: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-25 22: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-25 22:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:12:30] 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":898032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:30] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:30] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:30] local.INFO: TCP Data received {"connection_id":195519,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:30] local.INFO: Processing buffer {"connection_id":195519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:30] local.INFO: Packet analysis {"connection_id":195519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:12:30] local.INFO: Extracted packet for processing {"connection_id":195519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12: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-25 22:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22: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-25 22:12:30] 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-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":195519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:30] local.INFO: GPS data processed {"connection_id":195519,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:30] local.INFO: Acknowledgment sent {"connection_id":195519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:54] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:54] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:54] local.INFO: IMEI packet received {"connection_id":192812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":192812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:12:56] local.INFO: TCP Data received {"connection_id":194172,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:56] local.INFO: Processing buffer {"connection_id":194172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:12:56] local.INFO: Packet analysis {"connection_id":194172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:12:56] local.INFO: Extracted packet for processing {"connection_id":194172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:56] 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-25 22:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:12:56] 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-25 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:12:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":194172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898034,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:56] local.INFO: GPS data processed {"connection_id":194172,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:56] local.INFO: Acknowledgment sent {"connection_id":194172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:12:58] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:58] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:12:58] local.INFO: IMEI packet received {"connection_id":192812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":192812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:12:59] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:59] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:12:59] local.INFO: Packet analysis {"connection_id":192812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:12:59] local.INFO: Extracted packet for processing {"connection_id":192812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:12: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-25 22:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:12:59] 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-25 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:12:59] 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":898035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:12:59] local.INFO: GPS data processed {"connection_id":192812,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:12:59] local.INFO: Acknowledgment sent {"connection_id":192812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:05] local.INFO: TCP Data received {"connection_id":192811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:05] local.INFO: Processing buffer {"connection_id":192811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:05] local.INFO: Packet analysis {"connection_id":192811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:13:05] local.INFO: Extracted packet for processing {"connection_id":192811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22: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-25 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:13: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-25 22: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-25 22: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-25 22:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:13: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-25 22:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:13:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:13:05] 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":898036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:05] local.INFO: GPS data processed {"connection_id":192811,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:05] local.INFO: Acknowledgment sent {"connection_id":192811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:18] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:18] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:18] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:13:22] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:22] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:13:22] local.INFO: IMEI packet received {"connection_id":192662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":192662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:13:23] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:13:23] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96eea80012d0b10c007029f100019013d1c..."} 
[2026-09-25 22:13:23] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:13:23] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96e"} 
[2026-09-25 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330628864001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:23] 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-25 22:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354320000,"timestamp_ms":1790354320000,"timestamp_seconds":1790354320,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96eea80"} 
[2026-09-25 22:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:13:23] 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-25 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-25 22:13: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-25 22:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330628864001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330628864001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330628864001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:13:23] 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":898037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:23] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:23] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:24] local.INFO: TCP Data received {"connection_id":195521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:24] local.INFO: Processing buffer {"connection_id":195521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:24] local.INFO: IMEI packet received {"connection_id":195521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":195521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:13:29] local.INFO: TCP Data received {"connection_id":195521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:29] local.INFO: Processing buffer {"connection_id":195521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:13:29] local.INFO: IMEI packet received {"connection_id":195521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":195521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:13:30] local.INFO: TCP Data received {"connection_id":195521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:30] local.INFO: Processing buffer {"connection_id":195521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:13:30] local.INFO: Packet analysis {"connection_id":195521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:13:30] local.INFO: Extracted packet for processing {"connection_id":195521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:13:30] 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-25 22:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":195521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:30] local.INFO: GPS data processed {"connection_id":195521,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:30] local.INFO: Acknowledgment sent {"connection_id":195521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:31] local.INFO: TCP Data received {"connection_id":192812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:31] local.INFO: Processing buffer {"connection_id":192812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:31] local.INFO: Packet analysis {"connection_id":192812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:13:31] local.INFO: Extracted packet for processing {"connection_id":192812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22: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-25 22:13: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-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:13: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-25 22: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-25 22: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-25 22:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:13:31] 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":898039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:31] local.INFO: GPS data processed {"connection_id":192812,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:31] local.INFO: Acknowledgment sent {"connection_id":192812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:53] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:53] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:53] local.INFO: IMEI packet received {"connection_id":194173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":194173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:13:54] local.INFO: TCP Data received {"connection_id":192662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:13:54] local.INFO: Processing buffer {"connection_id":192662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:13:54] local.INFO: Packet analysis {"connection_id":192662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:13:54] local.INFO: Extracted packet for processing {"connection_id":192662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:54] 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-25 22:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:13:54] 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-25 22:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:13:54] 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-25 22:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:13:54] 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":898040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:54] local.INFO: GPS data processed {"connection_id":192662,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:54] local.INFO: Acknowledgment sent {"connection_id":192662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:13:58] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:58] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:13:58] local.INFO: IMEI packet received {"connection_id":194173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":194173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:13:59] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:59] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:13:59] local.INFO: Packet analysis {"connection_id":194173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:13:59] local.INFO: Extracted packet for processing {"connection_id":194173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:13: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-25 22:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 22:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:13:59] 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-25 22:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:13:59] 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":898041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:13:59] local.INFO: GPS data processed {"connection_id":194173,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:13:59] local.INFO: Acknowledgment sent {"connection_id":194173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:02] local.INFO: TCP Data received {"connection_id":195521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:02] local.INFO: Processing buffer {"connection_id":195521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:02] local.INFO: Packet analysis {"connection_id":195521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:02] local.INFO: Extracted packet for processing {"connection_id":195521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14: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-25 22:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:14:02] 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-25 22:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:14: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-25 22:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":195521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:02] local.INFO: GPS data processed {"connection_id":195521,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:02] local.INFO: Acknowledgment sent {"connection_id":195521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:17] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:17] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:17] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:14:22] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:22] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:14:22] local.INFO: IMEI packet received {"connection_id":192663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":192663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:14:23] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:23] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:23] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:14:23] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:23] 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-25 22:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:14:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:14:23] 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-25 22: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-25 22: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-25 22:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:14: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-25 22:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:14:23] 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":898043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:23] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:23] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:29] local.INFO: TCP Data received {"connection_id":195522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:29] local.INFO: Processing buffer {"connection_id":195522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:29] local.INFO: IMEI packet received {"connection_id":195522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":195522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:14:31] local.INFO: TCP Data received {"connection_id":194173,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:14:31] local.INFO: Processing buffer {"connection_id":194173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d96f9660012d1969c0071ff170003f015226..."} 
[2026-09-25 22:14:31] local.INFO: Packet analysis {"connection_id":194173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:14:31] local.INFO: Extracted packet for processing {"connection_id":194173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d96f"} 
[2026-09-25 22:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330640128001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 22:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790354364000,"timestamp_ms":1790354364000,"timestamp_seconds":1790354364,"priority":1,"record_length":96,"hex_timestamp":"000001a0d96f9660"} 
[2026-09-25 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-25 22:14: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-25 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-25 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-25 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-25 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-25 22:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330640128001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330640128001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330640128001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:14:31] 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":898044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:31] local.INFO: GPS data processed {"connection_id":194173,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:31] local.INFO: Acknowledgment sent {"connection_id":194173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:34] local.INFO: TCP Data received {"connection_id":195522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:34] local.INFO: Processing buffer {"connection_id":195522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:14:34] local.INFO: IMEI packet received {"connection_id":195522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":195522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:14:35] local.INFO: TCP Data received {"connection_id":195522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:35] local.INFO: Processing buffer {"connection_id":195522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:35] local.INFO: Packet analysis {"connection_id":195522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:35] local.INFO: Extracted packet for processing {"connection_id":195522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22: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-25 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14: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-25 22:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":195522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:35] local.INFO: GPS data processed {"connection_id":195522,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:35] local.INFO: Acknowledgment sent {"connection_id":195522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:40] local.INFO: TCP Data received {"connection_id":195522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:40] local.INFO: Processing buffer {"connection_id":195522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:14:40] local.INFO: Packet analysis {"connection_id":195522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:40] local.INFO: Extracted packet for processing {"connection_id":195522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22: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-25 22:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:14: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-25 22:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":195522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:40] local.INFO: GPS data processed {"connection_id":195522,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:40] local.INFO: Acknowledgment sent {"connection_id":195522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:55] local.INFO: TCP Data received {"connection_id":192663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:55] local.INFO: Processing buffer {"connection_id":192663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:14:55] local.INFO: Packet analysis {"connection_id":192663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:14:55] local.INFO: Extracted packet for processing {"connection_id":192663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:14:55] 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-25 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:14:55] 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-25 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:14:55] 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-25 22:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:14:55] 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-25 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:14:55] 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":898047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:14:55] local.INFO: GPS data processed {"connection_id":192663,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:14:55] local.INFO: Acknowledgment sent {"connection_id":192663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:14:58] local.INFO: TCP Data received {"connection_id":195523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:14:58] local.INFO: Processing buffer {"connection_id":195523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:14:58] local.INFO: IMEI packet received {"connection_id":195523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":195523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:15:03] local.INFO: TCP Data received {"connection_id":195523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:03] local.INFO: Processing buffer {"connection_id":195523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:03] local.INFO: IMEI packet received {"connection_id":195523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":195523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:15:04] local.INFO: TCP Data received {"connection_id":195523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:04] local.INFO: Processing buffer {"connection_id":195523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:04] local.INFO: Packet analysis {"connection_id":195523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:04] local.INFO: Extracted packet for processing {"connection_id":195523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:15:04] 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-25 22:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":195523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:04] local.INFO: GPS data processed {"connection_id":195523,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:04] local.INFO: Acknowledgment sent {"connection_id":195523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:05] local.INFO: TCP Data received {"connection_id":195523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:05] local.INFO: Processing buffer {"connection_id":195523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:05] local.INFO: Packet analysis {"connection_id":195523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:05] local.INFO: Extracted packet for processing {"connection_id":195523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 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-25 22:15:05] 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-25 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 22:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":195523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":195523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:05] local.INFO: GPS data processed {"connection_id":195523,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:05] local.INFO: Acknowledgment sent {"connection_id":195523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:22] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:22] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:22] local.INFO: IMEI packet received {"connection_id":194174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":194174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:15:24] local.INFO: TCP Data received {"connection_id":195524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:24] local.INFO: Processing buffer {"connection_id":195524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:24] local.INFO: IMEI packet received {"connection_id":195524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":195524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:15:27] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:27] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:15:27] local.INFO: IMEI packet received {"connection_id":194174,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":194174,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:15:28] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:28] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:28] local.INFO: Packet analysis {"connection_id":194174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:15:28] local.INFO: Extracted packet for processing {"connection_id":194174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:15:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:28] 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-25 22:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:15:28] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:15: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-25 22: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-25 22: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-25 22:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:15:28] 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-25 22:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:15:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:15:28] 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":898050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:28] local.INFO: GPS data processed {"connection_id":194174,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:28] local.INFO: Acknowledgment sent {"connection_id":194174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:29] local.INFO: TCP Data received {"connection_id":195524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:29] local.INFO: Processing buffer {"connection_id":195524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:15:29] local.INFO: IMEI packet received {"connection_id":195524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":195524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:15:30] local.INFO: TCP Data received {"connection_id":195524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:15:30] local.INFO: Processing buffer {"connection_id":195524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:15:30] local.INFO: Packet analysis {"connection_id":195524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:15:30] local.INFO: Extracted packet for processing {"connection_id":195524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:30] 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-25 22:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:15:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":195524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:30] local.INFO: GPS data processed {"connection_id":195524,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:30] local.INFO: Acknowledgment sent {"connection_id":195524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:32] local.INFO: TCP Data received {"connection_id":194174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:32] local.INFO: Processing buffer {"connection_id":194174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:15:32] local.INFO: Packet analysis {"connection_id":194174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:15:32] local.INFO: Extracted packet for processing {"connection_id":194174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:32] 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-25 22:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:15:32] 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-25 22:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194174,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:15:32] 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-25 22:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:15:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:15:33] 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":898052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:33] local.INFO: GPS data processed {"connection_id":194174,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:33] local.INFO: Acknowledgment sent {"connection_id":194174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:36] local.INFO: TCP Data received {"connection_id":195523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:36] local.INFO: Processing buffer {"connection_id":195523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:36] local.INFO: Packet analysis {"connection_id":195523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:36] local.INFO: Extracted packet for processing {"connection_id":195523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22: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-25 22:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":195523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:36] local.INFO: GPS data processed {"connection_id":195523,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:36] local.INFO: Acknowledgment sent {"connection_id":195523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:15:53] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:53] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:53] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:15:58] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:58] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:15:58] local.INFO: IMEI packet received {"connection_id":192815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":192815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:15:59] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:59] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:15:59] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:59] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:15: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-25 22:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:15:59] 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-25 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:15:59] 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":898054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:15:59] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:15:59] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:02] local.INFO: TCP Data received {"connection_id":195524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:02] local.INFO: Processing buffer {"connection_id":195524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:02] local.INFO: Packet analysis {"connection_id":195524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:16:02] local.INFO: Extracted packet for processing {"connection_id":195524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16: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-25 22:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:02] 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-25 22:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:16:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:16: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-25 22:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":195524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:02] local.INFO: GPS data processed {"connection_id":195524,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:02] local.INFO: Acknowledgment sent {"connection_id":195524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:17] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:17] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:17] local.INFO: IMEI packet received {"connection_id":194175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":194175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:16:22] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:22] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:16:22] local.INFO: IMEI packet received {"connection_id":194175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":194175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:16:23] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:23] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:23] local.INFO: Packet analysis {"connection_id":194175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:23] local.INFO: Extracted packet for processing {"connection_id":194175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:23] 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-25 22:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:16:23] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:23] 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-25 22: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-25 22: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-25 22:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:16:23] 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":898056,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:23] local.INFO: GPS data processed {"connection_id":194175,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:23] local.INFO: Acknowledgment sent {"connection_id":194175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:24] local.INFO: TCP Data received {"connection_id":195525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:24] local.INFO: Processing buffer {"connection_id":195525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:24] local.INFO: IMEI packet received {"connection_id":195525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":195525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:16:27] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:27] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:27] local.INFO: Packet analysis {"connection_id":194175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:27] local.INFO: Extracted packet for processing {"connection_id":194175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:27] 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-25 22:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:16:27] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:16:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:16:28] 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":898057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:28] local.INFO: GPS data processed {"connection_id":194175,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:28] local.INFO: Acknowledgment sent {"connection_id":194175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:29] local.INFO: TCP Data received {"connection_id":195525,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:29] local.INFO: Processing buffer {"connection_id":195525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:16:29] local.INFO: IMEI packet received {"connection_id":195525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":195525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:16:30] local.INFO: TCP Data received {"connection_id":192815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:30] local.INFO: Processing buffer {"connection_id":192815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:30] local.INFO: Packet analysis {"connection_id":192815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:16:30] local.INFO: Extracted packet for processing {"connection_id":192815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16: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-25 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:16: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-25 22:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:16:30] local.INFO: TCP Data received {"connection_id":195525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:30] local.INFO: Processing buffer {"connection_id":195525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:16:30] local.INFO: Packet analysis {"connection_id":195525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:16:30] local.INFO: Extracted packet for processing {"connection_id":195525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:30] 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-25 22:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":195525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:30] local.INFO: GPS data processed {"connection_id":195525,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:30] local.INFO: Acknowledgment sent {"connection_id":195525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:30] 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":898059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:30] local.INFO: GPS data processed {"connection_id":192815,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:30] local.INFO: Acknowledgment sent {"connection_id":192815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:53] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:53] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:53] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:16:58] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:58] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:16:58] local.INFO: IMEI packet received {"connection_id":192665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":192665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:16:59] local.INFO: TCP Data received {"connection_id":194175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:59] local.INFO: Processing buffer {"connection_id":194175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:16:59] local.INFO: Packet analysis {"connection_id":194175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:59] local.INFO: Extracted packet for processing {"connection_id":194175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:16:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:59] 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-25 22:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:16:59] 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-25 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:16:59] 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":898060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:59] local.INFO: GPS data processed {"connection_id":194175,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:59] local.INFO: Acknowledgment sent {"connection_id":194175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:16:59] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:59] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:16:59] local.INFO: Packet analysis {"connection_id":192665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:16:59] local.INFO: Extracted packet for processing {"connection_id":192665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:16: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-25 22:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:16:59] 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-25 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:16:59] 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":898061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:16:59] local.INFO: GPS data processed {"connection_id":192665,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:16:59] local.INFO: Acknowledgment sent {"connection_id":192665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:01] local.INFO: TCP Data received {"connection_id":195525,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:17:01] local.INFO: Processing buffer {"connection_id":195525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9717ac0012d34c14006aa4908000a006e29..."} 
[2026-09-25 22:17:01] local.INFO: Packet analysis {"connection_id":195525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:17:01] local.INFO: Extracted packet for processing {"connection_id":195525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d971"} 
[2026-09-25 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":10,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330671872001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17: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-25 22:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790354488000,"timestamp_ms":1790354488000,"timestamp_seconds":1790354488,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9717ac0"} 
[2026-09-25 22:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330671872001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330671872001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:17:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:17: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-25 22:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330671872001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":195525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:02] local.INFO: GPS data processed {"connection_id":195525,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:02] local.INFO: Acknowledgment sent {"connection_id":195525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:17] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:17] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:17] local.INFO: IMEI packet received {"connection_id":194177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":194177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:17:18] local.INFO: TCP Data received {"connection_id":194176,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:17:18] local.INFO: Processing buffer {"connection_id":194176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:17:18] local.INFO: IMEI packet received {"connection_id":194176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":194176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:17:22] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:22] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:17:22] local.INFO: IMEI packet received {"connection_id":194177,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":194177,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:17:23] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:23] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:23] local.INFO: Packet analysis {"connection_id":194177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:17:23] local.INFO: Extracted packet for processing {"connection_id":194177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:23] 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-25 22:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:17:23] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:23] 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-25 22: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-25 22: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-25 22:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:17:23] 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":898063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:23] local.INFO: GPS data processed {"connection_id":194177,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:23] local.INFO: Acknowledgment sent {"connection_id":194177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:24] local.INFO: TCP Data received {"connection_id":195526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:24] local.INFO: Processing buffer {"connection_id":195526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:24] local.INFO: IMEI packet received {"connection_id":195526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":195526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:17:29] local.INFO: TCP Data received {"connection_id":195526,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:29] local.INFO: Processing buffer {"connection_id":195526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:17:29] local.INFO: IMEI packet received {"connection_id":195526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":195526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:17:30] local.INFO: TCP Data received {"connection_id":195526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:17:30] local.INFO: Processing buffer {"connection_id":195526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:17:30] local.INFO: Packet analysis {"connection_id":195526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:17:30] local.INFO: Extracted packet for processing {"connection_id":195526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":195526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:30] local.INFO: GPS data processed {"connection_id":195526,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:30] local.INFO: Acknowledgment sent {"connection_id":195526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:33] local.INFO: TCP Data received {"connection_id":192665,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:33] local.INFO: Processing buffer {"connection_id":192665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:33] local.INFO: Packet analysis {"connection_id":192665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:17:33] local.INFO: Extracted packet for processing {"connection_id":192665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 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-25 22:17:33] 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-25 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 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-25 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-25 22:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:17:33] 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":898065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:33] local.INFO: GPS data processed {"connection_id":192665,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:33] local.INFO: Acknowledgment sent {"connection_id":192665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:53] local.INFO: TCP Data received {"connection_id":192666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:53] local.INFO: Processing buffer {"connection_id":192666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:53] local.INFO: IMEI packet received {"connection_id":192666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":192666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:17:54] local.INFO: TCP Data received {"connection_id":194177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:54] local.INFO: Processing buffer {"connection_id":194177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:17:54] local.INFO: Packet analysis {"connection_id":194177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:17:54] local.INFO: Extracted packet for processing {"connection_id":194177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:54] 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-25 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:17:54] 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-25 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:54] 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-25 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194177,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:17:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:17:54] 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":898066,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:54] local.INFO: GPS data processed {"connection_id":194177,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:54] local.INFO: Acknowledgment sent {"connection_id":194177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:17:58] local.INFO: TCP Data received {"connection_id":192666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:58] local.INFO: Processing buffer {"connection_id":192666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:17:58] local.INFO: IMEI packet received {"connection_id":192666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":192666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:17:59] local.INFO: TCP Data received {"connection_id":192666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:59] local.INFO: Processing buffer {"connection_id":192666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:17:59] local.INFO: Packet analysis {"connection_id":192666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:17:59] local.INFO: Extracted packet for processing {"connection_id":192666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:17: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-25 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:17:59] 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-25 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":192666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:17:59] local.INFO: GPS data processed {"connection_id":192666,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:17:59] local.INFO: Acknowledgment sent {"connection_id":192666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:02] local.INFO: TCP Data received {"connection_id":195526,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:02] local.INFO: Processing buffer {"connection_id":195526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:02] local.INFO: Packet analysis {"connection_id":195526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:18:02] local.INFO: Extracted packet for processing {"connection_id":195526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18: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-25 22:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:18: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-25 22:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":195526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:02] local.INFO: GPS data processed {"connection_id":195526,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:02] local.INFO: Acknowledgment sent {"connection_id":195526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:03] local.INFO: TCP Data received {"connection_id":195527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:18:03] local.INFO: Processing buffer {"connection_id":195527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:18:03] local.INFO: IMEI packet received {"connection_id":195527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":195527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:18:17] local.INFO: TCP Data received {"connection_id":195528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:17] local.INFO: Processing buffer {"connection_id":195528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:17] local.INFO: IMEI packet received {"connection_id":195528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":195528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:18:22] local.INFO: TCP Data received {"connection_id":195528,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:22] local.INFO: Processing buffer {"connection_id":195528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:18:22] local.INFO: IMEI packet received {"connection_id":195528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":195528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:18:23] local.INFO: TCP Data received {"connection_id":195528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:18:23] local.INFO: Processing buffer {"connection_id":195528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9738248012d0b10c007029f100019013d20..."} 
[2026-09-25 22:18:23] local.INFO: Packet analysis {"connection_id":195528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:18:23] local.INFO: Extracted packet for processing {"connection_id":195528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d973"} 
[2026-09-25 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330705920001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:23] 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-25 22:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354621000,"timestamp_ms":1790354621000,"timestamp_seconds":1790354621,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9738248"} 
[2026-09-25 22: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-25 22:18:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:18:23] 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-25 22: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-25 22: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-25 22:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330705920001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330705920001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:18:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330705920001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":195528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898069,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:23] local.INFO: GPS data processed {"connection_id":195528,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:23] local.INFO: Acknowledgment sent {"connection_id":195528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:24] local.INFO: TCP Data received {"connection_id":195529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:24] local.INFO: Processing buffer {"connection_id":195529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:24] local.INFO: IMEI packet received {"connection_id":195529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":195529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:18:29] local.INFO: TCP Data received {"connection_id":195529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:29] local.INFO: Processing buffer {"connection_id":195529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:18:29] local.INFO: IMEI packet received {"connection_id":195529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":195529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:18:30] local.INFO: TCP Data received {"connection_id":195529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:30] local.INFO: Processing buffer {"connection_id":195529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:18:30] local.INFO: Packet analysis {"connection_id":195529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:18:30] local.INFO: Extracted packet for processing {"connection_id":195529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":195529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:30] local.INFO: GPS data processed {"connection_id":195529,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:30] local.INFO: Acknowledgment sent {"connection_id":195529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:31] local.INFO: TCP Data received {"connection_id":192666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:31] local.INFO: Processing buffer {"connection_id":192666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:31] local.INFO: Packet analysis {"connection_id":192666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:18:31] local.INFO: Extracted packet for processing {"connection_id":192666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22: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-25 22:18:31] 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-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:18: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-25 22: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-25 22: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-25 22:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":192666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:31] local.INFO: GPS data processed {"connection_id":192666,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:31] local.INFO: Acknowledgment sent {"connection_id":192666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:53] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:53] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:53] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:18:54] local.INFO: TCP Data received {"connection_id":195528,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:18:54] local.INFO: Processing buffer {"connection_id":195528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:18:54] local.INFO: Packet analysis {"connection_id":195528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:18:54] local.INFO: Extracted packet for processing {"connection_id":195528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:18:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:54] 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-25 22:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:18:54] 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-25 22:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:18:54] 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-25 22:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:18:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":195528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:54] local.INFO: GPS data processed {"connection_id":195528,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:54] local.INFO: Acknowledgment sent {"connection_id":195528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:18:58] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:58] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:18:58] local.INFO: IMEI packet received {"connection_id":192667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":192667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:18:59] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:59] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:18:59] local.INFO: Packet analysis {"connection_id":192667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:18:59] local.INFO: Extracted packet for processing {"connection_id":192667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:18: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-25 22:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:18:59] 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-25 22:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:18:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:18:59] 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":898073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:18:59] local.INFO: GPS data processed {"connection_id":192667,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:18:59] local.INFO: Acknowledgment sent {"connection_id":192667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:02] local.INFO: TCP Data received {"connection_id":195529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:02] local.INFO: Processing buffer {"connection_id":195529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:02] local.INFO: Packet analysis {"connection_id":195529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:02] local.INFO: Extracted packet for processing {"connection_id":195529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19: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-25 22:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:19: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-25 22:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":195529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:02] local.INFO: GPS data processed {"connection_id":195529,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:02] local.INFO: Acknowledgment sent {"connection_id":195529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:17] local.INFO: TCP Data received {"connection_id":194179,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:17] local.INFO: Processing buffer {"connection_id":194179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:17] local.INFO: IMEI packet received {"connection_id":194179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":194179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:19:22] local.INFO: TCP Data received {"connection_id":194179,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:22] local.INFO: Processing buffer {"connection_id":194179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:19:22] local.INFO: IMEI packet received {"connection_id":194179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":194179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:19:24] local.INFO: TCP Data received {"connection_id":194179,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:24] local.INFO: Processing buffer {"connection_id":194179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:24] local.INFO: Packet analysis {"connection_id":194179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:19:24] local.INFO: Extracted packet for processing {"connection_id":194179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:24] 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-25 22:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:19:24] 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-25 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:19:24] 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-25 22:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:19:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":194179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898075,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:25] local.INFO: GPS data processed {"connection_id":194179,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:25] local.INFO: Acknowledgment sent {"connection_id":194179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:29] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:29] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:29] local.INFO: IMEI packet received {"connection_id":192817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":192817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:19:30] local.INFO: TCP Data received {"connection_id":192667,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:19:30] local.INFO: Processing buffer {"connection_id":192667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:19:30] local.INFO: Packet analysis {"connection_id":192667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:19:30] local.INFO: Extracted packet for processing {"connection_id":192667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19: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-25 22:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:19: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-25 22:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:19:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:19:30] 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":898076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:30] local.INFO: GPS data processed {"connection_id":192667,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:30] local.INFO: Acknowledgment sent {"connection_id":192667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:34] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:34] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:19:34] local.INFO: IMEI packet received {"connection_id":192817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":192817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:19:35] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:35] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:35] local.INFO: Packet analysis {"connection_id":192817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:35] local.INFO: Extracted packet for processing {"connection_id":192817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22: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-25 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:19:35] 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":898077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:35] local.INFO: GPS data processed {"connection_id":192817,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:35] local.INFO: Acknowledgment sent {"connection_id":192817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:40] local.INFO: TCP Data received {"connection_id":192817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:40] local.INFO: Processing buffer {"connection_id":192817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:19:40] local.INFO: Packet analysis {"connection_id":192817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:40] local.INFO: Extracted packet for processing {"connection_id":192817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:19: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-25 22:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:19: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-25 22:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:19:40] 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":898078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:40] local.INFO: GPS data processed {"connection_id":192817,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:40] local.INFO: Acknowledgment sent {"connection_id":192817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:56] local.INFO: TCP Data received {"connection_id":194179,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:56] local.INFO: Processing buffer {"connection_id":194179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:19:56] local.INFO: Packet analysis {"connection_id":194179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:19:56] local.INFO: Extracted packet for processing {"connection_id":194179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:19:56] 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-25 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:19:56] 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-25 22:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:19: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-25 22:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":194179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":194179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":194179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:19:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:19:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":194179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898079,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:19:56] local.INFO: GPS data processed {"connection_id":194179,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:19:56] local.INFO: Acknowledgment sent {"connection_id":194179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:19:58] local.INFO: TCP Data received {"connection_id":192668,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:19:58] local.INFO: Processing buffer {"connection_id":192668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:19:58] local.INFO: IMEI packet received {"connection_id":192668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":192668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:20:04] local.INFO: TCP Data received {"connection_id":192668,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:04] local.INFO: Processing buffer {"connection_id":192668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:04] local.INFO: IMEI packet received {"connection_id":192668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":192668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:20:06] local.INFO: TCP Data received {"connection_id":192668,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:20:06] local.INFO: Processing buffer {"connection_id":192668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9742e28012d1969c0071ff170003f015229..."} 
[2026-09-25 22:20:06] local.INFO: Packet analysis {"connection_id":192668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:20:06] local.INFO: Extracted packet for processing {"connection_id":192668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d974"} 
[2026-09-25 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330717184001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790354665000,"timestamp_ms":1790354665000,"timestamp_seconds":1790354665,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9742e28"} 
[2026-09-25 22: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-25 22:20:06] 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-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330717184001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330717184001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330717184001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":192668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:06] local.INFO: GPS data processed {"connection_id":192668,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:06] local.INFO: Acknowledgment sent {"connection_id":192668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:06] local.INFO: TCP Data received {"connection_id":192668,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:06] local.INFO: Processing buffer {"connection_id":192668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:06] local.INFO: Packet analysis {"connection_id":192668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:06] local.INFO: Extracted packet for processing {"connection_id":192668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22: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-25 22:20:06] 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-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":192668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:06] local.INFO: GPS data processed {"connection_id":192668,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:06] local.INFO: Acknowledgment sent {"connection_id":192668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:22] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:22] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:22] local.INFO: IMEI packet received {"connection_id":194180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":194180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:20:24] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:24] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:24] local.INFO: IMEI packet received {"connection_id":194181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":194181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:20:27] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:27] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:20:27] local.INFO: IMEI packet received {"connection_id":194180,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":194180,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:20:28] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:28] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:28] local.INFO: Packet analysis {"connection_id":194180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:28] local.INFO: Extracted packet for processing {"connection_id":194180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:28] 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-25 22:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:20:28] 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-25 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:20: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-25 22:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:20:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:20:28] 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":898082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:28] local.INFO: GPS data processed {"connection_id":194180,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:28] local.INFO: Acknowledgment sent {"connection_id":194180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:29] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:29] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:20:29] local.INFO: IMEI packet received {"connection_id":194181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":194181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:20:31] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:20:31] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:20:31] local.INFO: Packet analysis {"connection_id":194181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:20:31] local.INFO: Extracted packet for processing {"connection_id":194181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20: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-25 22:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22: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-25 22:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:20: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-25 22:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:20:31] 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":898083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:31] local.INFO: GPS data processed {"connection_id":194181,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:31] local.INFO: Acknowledgment sent {"connection_id":194181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:32] local.INFO: TCP Data received {"connection_id":194180,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:32] local.INFO: Processing buffer {"connection_id":194180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:20:32] local.INFO: Packet analysis {"connection_id":194180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:32] local.INFO: Extracted packet for processing {"connection_id":194180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:32] 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-25 22:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:20:32] 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-25 22:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194180,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:20:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:20:33] 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":898084,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:33] local.INFO: GPS data processed {"connection_id":194180,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:33] local.INFO: Acknowledgment sent {"connection_id":194180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:37] local.INFO: TCP Data received {"connection_id":192668,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:37] local.INFO: Processing buffer {"connection_id":192668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:37] local.INFO: Packet analysis {"connection_id":192668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:37] local.INFO: Extracted packet for processing {"connection_id":192668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:20:37] 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-25 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":192668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":192668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":192668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:37] local.INFO: GPS data processed {"connection_id":192668,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:37] local.INFO: Acknowledgment sent {"connection_id":192668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:20:53] local.INFO: TCP Data received {"connection_id":195531,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:53] local.INFO: Processing buffer {"connection_id":195531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:53] local.INFO: IMEI packet received {"connection_id":195531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":195531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:20:58] local.INFO: TCP Data received {"connection_id":195531,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:58] local.INFO: Processing buffer {"connection_id":195531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:20:58] local.INFO: IMEI packet received {"connection_id":195531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":195531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:20:59] local.INFO: TCP Data received {"connection_id":195531,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:59] local.INFO: Processing buffer {"connection_id":195531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:20:59] local.INFO: Packet analysis {"connection_id":195531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:59] local.INFO: Extracted packet for processing {"connection_id":195531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:20: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-25 22:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:20:59] 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-25 22:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":195531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:20:59] local.INFO: GPS data processed {"connection_id":195531,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:20:59] local.INFO: Acknowledgment sent {"connection_id":195531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:02] local.INFO: TCP Data received {"connection_id":194181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:02] local.INFO: Processing buffer {"connection_id":194181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:02] local.INFO: Packet analysis {"connection_id":194181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:21:02] local.INFO: Extracted packet for processing {"connection_id":194181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21: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-25 22:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:21: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-25 22:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:21:02] 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":898087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:21:02] local.INFO: GPS data processed {"connection_id":194181,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:21:02] local.INFO: Acknowledgment sent {"connection_id":194181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:17] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:17] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:17] local.INFO: IMEI packet received {"connection_id":192818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":192818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:21:22] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:22] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:21:22] local.INFO: IMEI packet received {"connection_id":192818,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":192818,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:21:23] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:23] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:23] local.INFO: Packet analysis {"connection_id":192818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:23] local.INFO: Extracted packet for processing {"connection_id":192818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:23] 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-25 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:21:23] 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-25 22:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:21:23] 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-25 22:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:21:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:21:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:21:23] 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":898088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:21:23] local.INFO: GPS data processed {"connection_id":192818,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:21:23] local.INFO: Acknowledgment sent {"connection_id":192818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:25] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:25] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:25] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:21:29] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:29] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:21:29] local.INFO: IMEI packet received {"connection_id":192819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:21:30] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:30] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:21:30] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:21:30] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:21:30] 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":898089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:21:30] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:21:30] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:30] local.INFO: TCP Data received {"connection_id":195531,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:21:30] local.INFO: Processing buffer {"connection_id":195531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:21:30] local.INFO: Packet analysis {"connection_id":195531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:30] local.INFO: Extracted packet for processing {"connection_id":195531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21: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-25 22:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:21: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-25 22:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":195531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:21:30] local.INFO: GPS data processed {"connection_id":195531,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:21:30] local.INFO: Acknowledgment sent {"connection_id":195531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:54] local.INFO: TCP Data received {"connection_id":192818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:54] local.INFO: Processing buffer {"connection_id":192818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:21:54] local.INFO: Packet analysis {"connection_id":192818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:54] local.INFO: Extracted packet for processing {"connection_id":192818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:21:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:21:54] 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-25 22:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:21:54] 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-25 22:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:21:54] 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-25 22:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192818,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:21:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:21:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:21:55] 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":898091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:21:55] local.INFO: GPS data processed {"connection_id":192818,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:21:55] local.INFO: Acknowledgment sent {"connection_id":192818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:21:58] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:21:58] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:21:58] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:22:02] local.INFO: TCP Data received {"connection_id":192819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:22:02] local.INFO: Processing buffer {"connection_id":192819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9761288012d34c14006aa49080006006e2a..."} 
[2026-09-25 22:22:02] local.INFO: Packet analysis {"connection_id":192819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:22:02] local.INFO: Extracted packet for processing {"connection_id":192819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d976"} 
[2026-09-25 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330748928001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22: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-25 22:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790354789000,"timestamp_ms":1790354789000,"timestamp_seconds":1790354789,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9761288"} 
[2026-09-25 22:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330748928001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330748928001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:22: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-25 22:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330748928001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:22:02] 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":898092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:02] local.INFO: GPS data processed {"connection_id":192819,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:02] local.INFO: Acknowledgment sent {"connection_id":192819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:04] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:04] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:04] local.INFO: IMEI packet received {"connection_id":192820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":192820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:22:05] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:05] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:05] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:05] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 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-25 22:22:05] 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-25 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:22:05] 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":898093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:05] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:05] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:09] local.INFO: TCP Data received {"connection_id":192820,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:09] local.INFO: Processing buffer {"connection_id":192820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:09] local.INFO: Packet analysis {"connection_id":192820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:09] local.INFO: Extracted packet for processing {"connection_id":192820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22: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-25 22:22:09] 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-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:22:09] 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":898094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:09] local.INFO: GPS data processed {"connection_id":192820,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:09] local.INFO: Acknowledgment sent {"connection_id":192820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:17] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:17] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:17] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:22:22] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:22] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:22:22] local.INFO: IMEI packet received {"connection_id":192669,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":192669,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:22:23] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:23] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:23] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:23] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:23] 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-25 22:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:22:23] 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-25 22:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:23] 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-25 22:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:22:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:22:23] 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":898095,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:23] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:23] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:24] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:24] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:24] local.INFO: IMEI packet received {"connection_id":192670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":192670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:22:30] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:30] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:22:30] local.INFO: IMEI packet received {"connection_id":192670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":192670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:22:33] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:22:33] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:22:33] local.INFO: Packet analysis {"connection_id":192670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:22:33] local.INFO: Extracted packet for processing {"connection_id":192670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22: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-25 22:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:22: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-25 22:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:22: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-25 22:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:22: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-25 22:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:22:33] 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":898096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:33] local.INFO: GPS data processed {"connection_id":192670,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:33] local.INFO: Acknowledgment sent {"connection_id":192670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:53] local.INFO: TCP Data received {"connection_id":192671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:53] local.INFO: Processing buffer {"connection_id":192671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:53] local.INFO: IMEI packet received {"connection_id":192671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":192671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:22:54] local.INFO: TCP Data received {"connection_id":192669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:54] local.INFO: Processing buffer {"connection_id":192669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:22:54] local.INFO: Packet analysis {"connection_id":192669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:54] local.INFO: Extracted packet for processing {"connection_id":192669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:54] 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-25 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22: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-25 22:22:54] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:54] 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-25 22: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-25 22: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-25 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192669,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:22:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:22:54] 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":898097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:54] local.INFO: GPS data processed {"connection_id":192669,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:54] local.INFO: Acknowledgment sent {"connection_id":192669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:22:58] local.INFO: TCP Data received {"connection_id":192671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:58] local.INFO: Processing buffer {"connection_id":192671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:22:58] local.INFO: IMEI packet received {"connection_id":192671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":192671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:22:59] local.INFO: TCP Data received {"connection_id":192671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:59] local.INFO: Processing buffer {"connection_id":192671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:22:59] local.INFO: Packet analysis {"connection_id":192671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:59] local.INFO: Extracted packet for processing {"connection_id":192671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:22: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-25 22:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:22:59] 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-25 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":192671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:22:59] local.INFO: GPS data processed {"connection_id":192671,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:22:59] local.INFO: Acknowledgment sent {"connection_id":192671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:04] local.INFO: TCP Data received {"connection_id":192670,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:04] local.INFO: Processing buffer {"connection_id":192670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:04] local.INFO: Packet analysis {"connection_id":192670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:04] local.INFO: Extracted packet for processing {"connection_id":192670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23: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-25 22:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:23: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-25 22:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:23:04] 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":898099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:04] local.INFO: GPS data processed {"connection_id":192670,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:04] local.INFO: Acknowledgment sent {"connection_id":192670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:17] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:17] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:17] local.INFO: IMEI packet received {"connection_id":192672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":192672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:23:22] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:22] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:23:22] local.INFO: IMEI packet received {"connection_id":192672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":192672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:23:23] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:23:23] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9781a10012d0b10c007029f10001b013d1e..."} 
[2026-09-25 22:23:23] local.INFO: Packet analysis {"connection_id":192672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:23] local.INFO: Extracted packet for processing {"connection_id":192672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:23: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-25 22:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330782976001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:23] 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-25 22:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790354922000,"timestamp_ms":1790354922000,"timestamp_seconds":1790354922,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9781a10"} 
[2026-09-25 22:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:23:23] 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-25 22:23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:23] 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-25 22:23: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-25 22:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330782976001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330782976001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:23:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330782976001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:23:23] 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":898100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:23] local.INFO: GPS data processed {"connection_id":192672,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:23] local.INFO: Acknowledgment sent {"connection_id":192672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:28] local.INFO: TCP Data received {"connection_id":195534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:23:28] local.INFO: Processing buffer {"connection_id":195534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:23:28] local.INFO: IMEI packet received {"connection_id":195534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":195534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:23:29] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:29] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:29] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:23:30] local.INFO: TCP Data received {"connection_id":192671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:30] local.INFO: Processing buffer {"connection_id":192671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:30] local.INFO: Packet analysis {"connection_id":192671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:30] local.INFO: Extracted packet for processing {"connection_id":192671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23: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-25 22:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22: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-25 22:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:23: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-25 22: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-25 22: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-25 22:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":192671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:30] local.INFO: GPS data processed {"connection_id":192671,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:30] local.INFO: Acknowledgment sent {"connection_id":192671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:34] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:34] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:23:34] local.INFO: IMEI packet received {"connection_id":192821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:23:35] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:35] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:35] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:35] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22: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-25 22:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:23:35] 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":898102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:35] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:35] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:41] local.INFO: TCP Data received {"connection_id":192821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:41] local.INFO: Processing buffer {"connection_id":192821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:23:41] local.INFO: Packet analysis {"connection_id":192821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:41] local.INFO: Extracted packet for processing {"connection_id":192821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22: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-25 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":192821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":192821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:23: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-25 22:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:23:41] 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":898103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:41] local.INFO: GPS data processed {"connection_id":192821,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:41] local.INFO: Acknowledgment sent {"connection_id":192821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:53] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:53] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:53] local.INFO: IMEI packet received {"connection_id":192673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":192673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:23:54] local.INFO: TCP Data received {"connection_id":192672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:23:54] local.INFO: Processing buffer {"connection_id":192672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:23:54] local.INFO: Packet analysis {"connection_id":192672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:23:54] local.INFO: Extracted packet for processing {"connection_id":192672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:54] 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-25 22:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:23:54] 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-25 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:54] 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-25 22:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:23:55] 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":898104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:55] local.INFO: GPS data processed {"connection_id":192672,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:55] local.INFO: Acknowledgment sent {"connection_id":192672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:23:58] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:58] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:23:58] local.INFO: IMEI packet received {"connection_id":192673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":192673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:23:59] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:59] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:23:59] local.INFO: Packet analysis {"connection_id":192673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:59] local.INFO: Extracted packet for processing {"connection_id":192673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:23: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-25 22:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:23:59] 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-25 22:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:23:59] 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":898105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:23:59] local.INFO: GPS data processed {"connection_id":192673,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:23:59] local.INFO: Acknowledgment sent {"connection_id":192673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:24:03] local.INFO: TCP Data received {"connection_id":195535,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:24:03] local.INFO: Processing buffer {"connection_id":195535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:24:03] local.INFO: IMEI packet received {"connection_id":195535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":195535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:24:17] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:17] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:17] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:24:22] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:22] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:24:22] local.INFO: IMEI packet received {"connection_id":194182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":194182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:24:23] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:23] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:23] local.INFO: Packet analysis {"connection_id":194182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:24:23] local.INFO: Extracted packet for processing {"connection_id":194182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:23] 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-25 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22: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-25 22:24:23] 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-25 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:24:23] 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-25 22: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-25 22: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-25 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:24: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-25 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:24:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:24:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":194182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898106,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:24:24] local.INFO: GPS data processed {"connection_id":194182,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:24:24] local.INFO: Acknowledgment sent {"connection_id":194182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:24:24] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:24] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:24] local.INFO: IMEI packet received {"connection_id":192674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":192674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:24:29] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:29] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:24:29] local.INFO: IMEI packet received {"connection_id":192674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":192674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:24:30] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:24:30] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:24:30] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:24:30] local.INFO: Extracted packet for processing {"connection_id":192674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":192674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:24:30] local.INFO: GPS data processed {"connection_id":192674,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:24:30] local.INFO: Acknowledgment sent {"connection_id":192674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:24:30] local.INFO: TCP Data received {"connection_id":192673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:30] local.INFO: Processing buffer {"connection_id":192673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:30] local.INFO: Packet analysis {"connection_id":192673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:24:30] local.INFO: Extracted packet for processing {"connection_id":192673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24: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-25 22:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:24: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-25 22:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:24:30] 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":898108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:24:30] local.INFO: GPS data processed {"connection_id":192673,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:24:30] local.INFO: Acknowledgment sent {"connection_id":192673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:24:53] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:53] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:53] local.INFO: IMEI packet received {"connection_id":194183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":194183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:24:55] local.INFO: TCP Data received {"connection_id":194182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:55] local.INFO: Processing buffer {"connection_id":194182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:24:55] local.INFO: Packet analysis {"connection_id":194182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:24:55] local.INFO: Extracted packet for processing {"connection_id":194182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:55] 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-25 22:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22: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-25 22:24:55] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:24:55] 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-25 22: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-25 22: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-25 22:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:24:55] 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-25 22:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:24:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:24:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":194182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898109,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:24:55] local.INFO: GPS data processed {"connection_id":194182,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:24:55] local.INFO: Acknowledgment sent {"connection_id":194182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:24:58] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:58] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:24:58] local.INFO: IMEI packet received {"connection_id":194183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":194183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:24:59] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:59] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d978c5f0012d1969c0071ff170003f015228..."} 
[2026-09-25 22:24:59] local.INFO: Packet analysis {"connection_id":194183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:24:59] local.INFO: Extracted packet for processing {"connection_id":194183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d978"} 
[2026-09-25 22:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330794240001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:24: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-25 22:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790354966000,"timestamp_ms":1790354966000,"timestamp_seconds":1790354966,"priority":1,"record_length":96,"hex_timestamp":"000001a0d978c5f0"} 
[2026-09-25 22:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:24:59] 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-25 22:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330794240001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330794240001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:24:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330794240001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:24:59] 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":898110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:24:59] local.INFO: GPS data processed {"connection_id":194183,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:24:59] local.INFO: Acknowledgment sent {"connection_id":194183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:02] local.INFO: TCP Data received {"connection_id":192674,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:02] local.INFO: Processing buffer {"connection_id":192674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:02] local.INFO: Packet analysis {"connection_id":192674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:25:02] local.INFO: Extracted packet for processing {"connection_id":192674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25: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-25 22:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:25: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-25 22:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":192674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:02] local.INFO: GPS data processed {"connection_id":192674,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:02] local.INFO: Acknowledgment sent {"connection_id":192674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:22] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:22] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:22] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:25:24] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:24] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:24] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:25:27] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:27] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:25:27] local.INFO: IMEI packet received {"connection_id":192675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":192675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:25:28] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:28] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:28] local.INFO: Packet analysis {"connection_id":192675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:25:28] local.INFO: Extracted packet for processing {"connection_id":192675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:25: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-25 22:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:28] 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-25 22:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:25:28] 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-25 22:25: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-25 22:25: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-25 22:25: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-25 22:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:25:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:25:28] 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":898112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:28] local.INFO: GPS data processed {"connection_id":192675,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:28] local.INFO: Acknowledgment sent {"connection_id":192675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:29] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:29] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:25:29] local.INFO: IMEI packet received {"connection_id":192676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:25:30] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:30] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:25:30] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:25:30] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22: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-25 22:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:25:30] 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":898113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:30] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:30] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:30] local.INFO: TCP Data received {"connection_id":194183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:30] local.INFO: Processing buffer {"connection_id":194183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:30] local.INFO: Packet analysis {"connection_id":194183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:25:30] local.INFO: Extracted packet for processing {"connection_id":194183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:25:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25: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-25 22:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22: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-25 22:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:25: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-25 22: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-25 22: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-25 22:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:25:30] 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":898114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:30] local.INFO: GPS data processed {"connection_id":194183,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:30] local.INFO: Acknowledgment sent {"connection_id":194183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:53] local.INFO: TCP Data received {"connection_id":192823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:53] local.INFO: Processing buffer {"connection_id":192823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:53] local.INFO: IMEI packet received {"connection_id":192823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":192823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:25:58] local.INFO: TCP Data received {"connection_id":192823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:58] local.INFO: Processing buffer {"connection_id":192823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:25:58] local.INFO: IMEI packet received {"connection_id":192823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":192823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:25:59] local.INFO: TCP Data received {"connection_id":192823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:59] local.INFO: Processing buffer {"connection_id":192823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:25:59] local.INFO: Packet analysis {"connection_id":192823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:25:59] local.INFO: Extracted packet for processing {"connection_id":192823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25: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-25 22:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":192823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:59] local.INFO: GPS data processed {"connection_id":192823,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:59] local.INFO: Acknowledgment sent {"connection_id":192823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:25:59] local.INFO: TCP Data received {"connection_id":192675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:59] local.INFO: Processing buffer {"connection_id":192675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:25:59] local.INFO: Packet analysis {"connection_id":192675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:25:59] local.INFO: Extracted packet for processing {"connection_id":192675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:25:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:25:59] 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-25 22:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:25:59] 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-25 22:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192675,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:25:59] 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":898116,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:25:59] local.INFO: GPS data processed {"connection_id":192675,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:25:59] local.INFO: Acknowledgment sent {"connection_id":192675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:03] local.INFO: TCP Data received {"connection_id":192676,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:03] local.INFO: Processing buffer {"connection_id":192676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:03] local.INFO: Packet analysis {"connection_id":192676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:26:03] local.INFO: Extracted packet for processing {"connection_id":192676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26: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-25 22:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22: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-25 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:26: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-25 22:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:26:03] 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":898117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:26:03] local.INFO: GPS data processed {"connection_id":192676,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:26:03] local.INFO: Acknowledgment sent {"connection_id":192676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:17] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:17] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:17] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:26:22] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:22] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:26:22] local.INFO: IMEI packet received {"connection_id":192677,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":192677,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:26:23] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:23] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:23] local.INFO: Packet analysis {"connection_id":192677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:26:23] local.INFO: Extracted packet for processing {"connection_id":192677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:26:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:23] 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-25 22:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22: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-25 22:26:23] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:26:23] 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-25 22: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-25 22: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-25 22:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:26:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:26:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":192677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:26:23] local.INFO: GPS data processed {"connection_id":192677,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:26:23] local.INFO: Acknowledgment sent {"connection_id":192677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:24] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:24] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:24] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:26:29] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:29] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:26:29] local.INFO: IMEI packet received {"connection_id":192824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":192824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:26:30] local.INFO: TCP Data received {"connection_id":192823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:26:30] local.INFO: Processing buffer {"connection_id":192823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:26:30] local.INFO: Packet analysis {"connection_id":192823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:26:30] local.INFO: Extracted packet for processing {"connection_id":192823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26: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-25 22:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:26: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-25 22:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":192823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:26:30] local.INFO: GPS data processed {"connection_id":192823,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:26:30] local.INFO: Acknowledgment sent {"connection_id":192823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:30] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:30] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:26:30] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:26:30] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:26:30] 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":898120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:26:30] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:26:30] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:54] local.INFO: TCP Data received {"connection_id":192677,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:54] local.INFO: Processing buffer {"connection_id":192677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:26:54] local.INFO: Packet analysis {"connection_id":192677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:26:54] local.INFO: Extracted packet for processing {"connection_id":192677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:26:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:26: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-25 22:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:26:54] 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-25 22:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:26:54] 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-25 22:26: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:26:54] 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-25 22:26: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-25 22:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192677,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:26:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:26:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":192677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:26:55] local.INFO: GPS data processed {"connection_id":192677,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:26:55] local.INFO: Acknowledgment sent {"connection_id":192677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:26:58] local.INFO: TCP Data received {"connection_id":195537,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:26:58] local.INFO: Processing buffer {"connection_id":195537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:26:58] local.INFO: IMEI packet received {"connection_id":195537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":195537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:27:02] local.INFO: TCP Data received {"connection_id":192824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:27:02] local.INFO: Processing buffer {"connection_id":192824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97aaa50012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:27:02] local.INFO: Packet analysis {"connection_id":192824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:27:02] local.INFO: Extracted packet for processing {"connection_id":192824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97a"} 
[2026-09-25 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330825984001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27: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-25 22:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790355090000,"timestamp_ms":1790355090000,"timestamp_seconds":1790355090,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97aaa50"} 
[2026-09-25 22:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330825984001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330825984001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:27: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-25 22:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330825984001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:27:02] 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":898122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:02] local.INFO: GPS data processed {"connection_id":192824,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:02] local.INFO: Acknowledgment sent {"connection_id":192824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:03] local.INFO: TCP Data received {"connection_id":195537,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:03] local.INFO: Processing buffer {"connection_id":195537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:03] local.INFO: IMEI packet received {"connection_id":195537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":195537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:27:04] local.INFO: TCP Data received {"connection_id":195537,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:04] local.INFO: Processing buffer {"connection_id":195537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:04] local.INFO: Packet analysis {"connection_id":195537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:04] local.INFO: Extracted packet for processing {"connection_id":195537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22: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-25 22:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":195537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":195537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":195537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":195537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:05] local.INFO: GPS data processed {"connection_id":195537,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:05] local.INFO: Acknowledgment sent {"connection_id":195537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:09] local.INFO: TCP Data received {"connection_id":195537,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:09] local.INFO: Processing buffer {"connection_id":195537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:09] local.INFO: Packet analysis {"connection_id":195537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:09] local.INFO: Extracted packet for processing {"connection_id":195537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":195537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":195537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":195537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:27:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":195537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:09] local.INFO: GPS data processed {"connection_id":195537,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:09] local.INFO: Acknowledgment sent {"connection_id":195537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:18] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:18] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:18] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:27:22] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:22] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:27:22] local.INFO: IMEI packet received {"connection_id":192826,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":192826,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:27:23] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:23] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:23] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:27:23] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:23] 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-25 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:23] 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-25 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:23] 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-25 22:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:27:23] 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":898125,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:23] local.INFO: GPS data processed {"connection_id":192826,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:23] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:24] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:24] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:24] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:27:29] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:29] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:27:29] local.INFO: IMEI packet received {"connection_id":192678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":192678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:27:30] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:27:30] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:27:30] local.INFO: Packet analysis {"connection_id":192678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:27:30] local.INFO: Extracted packet for processing {"connection_id":192678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":192678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:30] local.INFO: GPS data processed {"connection_id":192678,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:30] local.INFO: Acknowledgment sent {"connection_id":192678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:53] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:53] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:53] local.INFO: IMEI packet received {"connection_id":192679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":192679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:27:54] local.INFO: TCP Data received {"connection_id":192826,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:54] local.INFO: Processing buffer {"connection_id":192826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:27:54] local.INFO: Packet analysis {"connection_id":192826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:27:54] local.INFO: Extracted packet for processing {"connection_id":192826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:54] 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-25 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:54] 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-25 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:54] 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-25 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192826,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:27:55] 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":898127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:55] local.INFO: GPS data processed {"connection_id":192826,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:55] local.INFO: Acknowledgment sent {"connection_id":192826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:27:58] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:58] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:27:58] local.INFO: IMEI packet received {"connection_id":192679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":192679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:27:59] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:59] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:27:59] local.INFO: Packet analysis {"connection_id":192679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:59] local.INFO: Extracted packet for processing {"connection_id":192679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:27: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-25 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":192679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:27:59] local.INFO: GPS data processed {"connection_id":192679,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:27:59] local.INFO: Acknowledgment sent {"connection_id":192679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:03] local.INFO: TCP Data received {"connection_id":192678,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:03] local.INFO: Processing buffer {"connection_id":192678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:03] local.INFO: Packet analysis {"connection_id":192678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:03] local.INFO: Extracted packet for processing {"connection_id":192678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28: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-25 22:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:28: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-25 22:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":192678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:03] local.INFO: GPS data processed {"connection_id":192678,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:03] local.INFO: Acknowledgment sent {"connection_id":192678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:17] local.INFO: TCP Data received {"connection_id":195539,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:17] local.INFO: Processing buffer {"connection_id":195539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:17] local.INFO: IMEI packet received {"connection_id":195539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":195539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:28:29] local.INFO: TCP Data received {"connection_id":195540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:29] local.INFO: Processing buffer {"connection_id":195540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:29] local.INFO: IMEI packet received {"connection_id":195540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":195540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:28:30] local.INFO: TCP Data received {"connection_id":195539,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:30] local.INFO: Processing buffer {"connection_id":195539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:28:30] local.INFO: IMEI packet received {"connection_id":195539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":195539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:28:31] local.INFO: TCP Data received {"connection_id":192679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:31] local.INFO: Processing buffer {"connection_id":192679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:31] local.INFO: Packet analysis {"connection_id":192679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:28:31] local.INFO: Extracted packet for processing {"connection_id":192679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:28: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-25 22:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":192679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:31] local.INFO: GPS data processed {"connection_id":192679,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:31] local.INFO: Acknowledgment sent {"connection_id":192679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:32] local.INFO: TCP Data received {"connection_id":195539,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:28:32] local.INFO: Processing buffer {"connection_id":195539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97cb1d8012d0b10c007029f10001b013d1d..."} 
[2026-09-25 22:28:32] local.INFO: Packet analysis {"connection_id":195539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:28:32] local.INFO: Extracted packet for processing {"connection_id":195539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97c"} 
[2026-09-25 22:28:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":27,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330860032001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:32] 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-25 22:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790355223000,"timestamp_ms":1790355223000,"timestamp_seconds":1790355223,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97cb1d8"} 
[2026-09-25 22:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:28:32] 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-25 22:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330860032001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330860032001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:28:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330860032001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":195539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:32] local.INFO: GPS data processed {"connection_id":195539,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:32] local.INFO: Acknowledgment sent {"connection_id":195539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:34] local.INFO: TCP Data received {"connection_id":195540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:34] local.INFO: Processing buffer {"connection_id":195540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:28:34] local.INFO: IMEI packet received {"connection_id":195540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":195540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:28:35] local.INFO: TCP Data received {"connection_id":195540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:35] local.INFO: Processing buffer {"connection_id":195540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:35] local.INFO: Packet analysis {"connection_id":195540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:35] local.INFO: Extracted packet for processing {"connection_id":195540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22: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-25 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:28: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-25 22:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":195540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:35] local.INFO: GPS data processed {"connection_id":195540,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:35] local.INFO: Acknowledgment sent {"connection_id":195540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:40] local.INFO: TCP Data received {"connection_id":195540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:40] local.INFO: Processing buffer {"connection_id":195540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:28:40] local.INFO: Packet analysis {"connection_id":195540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:40] local.INFO: Extracted packet for processing {"connection_id":195540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22: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-25 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":195540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:40] local.INFO: GPS data processed {"connection_id":195540,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:40] local.INFO: Acknowledgment sent {"connection_id":195540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:28:53] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:53] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:53] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:28:58] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:58] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:28:58] local.INFO: IMEI packet received {"connection_id":192680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":192680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:28:59] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:59] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:28:59] local.INFO: Packet analysis {"connection_id":192680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:28:59] local.INFO: Extracted packet for processing {"connection_id":192680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:28: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-25 22:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:28:59] 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":898134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:28:59] local.INFO: GPS data processed {"connection_id":192680,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:28:59] local.INFO: Acknowledgment sent {"connection_id":192680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:29:17] local.INFO: TCP Data received {"connection_id":194184,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:17] local.INFO: Processing buffer {"connection_id":194184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:17] local.INFO: IMEI packet received {"connection_id":194184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":194184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:29:22] local.INFO: TCP Data received {"connection_id":194184,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194184,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:22] local.INFO: Processing buffer {"connection_id":194184,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:29:22] local.INFO: IMEI packet received {"connection_id":194184,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":194184,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:29:23] local.INFO: TCP Data received {"connection_id":194184,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:23] local.INFO: Processing buffer {"connection_id":194184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:23] local.INFO: Packet analysis {"connection_id":194184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:29:23] local.INFO: Extracted packet for processing {"connection_id":194184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:29: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-25 22:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:23] 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-25 22:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:29:23] 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-25 22:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:29:23] 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-25 22:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":194184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898135,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:29:23] local.INFO: GPS data processed {"connection_id":194184,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:29:23] local.INFO: Acknowledgment sent {"connection_id":194184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:29:24] local.INFO: TCP Data received {"connection_id":195541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:24] local.INFO: Processing buffer {"connection_id":195541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:24] local.INFO: IMEI packet received {"connection_id":195541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":195541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:29:29] local.INFO: TCP Data received {"connection_id":195541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:29] local.INFO: Processing buffer {"connection_id":195541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:29:29] local.INFO: IMEI packet received {"connection_id":195541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":195541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:29:30] local.INFO: TCP Data received {"connection_id":195541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:29:30] local.INFO: Processing buffer {"connection_id":195541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:29:30] local.INFO: Packet analysis {"connection_id":195541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:29:30] local.INFO: Extracted packet for processing {"connection_id":195541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":195541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:29:30] local.INFO: GPS data processed {"connection_id":195541,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:29:30] local.INFO: Acknowledgment sent {"connection_id":195541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:29:30] local.INFO: TCP Data received {"connection_id":192680,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:30] local.INFO: Processing buffer {"connection_id":192680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:30] local.INFO: Packet analysis {"connection_id":192680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:29:30] local.INFO: Extracted packet for processing {"connection_id":192680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29: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-25 22:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:29: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-25 22:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:29:30] 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":898137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:29:30] local.INFO: GPS data processed {"connection_id":192680,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:29:30] local.INFO: Acknowledgment sent {"connection_id":192680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:29:38] local.INFO: TCP Data received {"connection_id":192828,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:29:38] local.INFO: Processing buffer {"connection_id":192828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:29:38] local.INFO: IMEI packet received {"connection_id":192828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":192828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:29:54] local.INFO: TCP Data received {"connection_id":195542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:54] local.INFO: Processing buffer {"connection_id":195542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:54] local.INFO: IMEI packet received {"connection_id":195542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":195542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:29:55] local.INFO: TCP Data received {"connection_id":194184,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:55] local.INFO: Processing buffer {"connection_id":194184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:29:55] local.INFO: Packet analysis {"connection_id":194184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:29:55] local.INFO: Extracted packet for processing {"connection_id":194184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:29:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:55] 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-25 22:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:29:55] 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-25 22:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:29:55] 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-25 22:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194184,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":194184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:29:56] local.INFO: GPS data processed {"connection_id":194184,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:29:56] local.INFO: Acknowledgment sent {"connection_id":194184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:29:58] local.INFO: TCP Data received {"connection_id":195542,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:58] local.INFO: Processing buffer {"connection_id":195542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:29:58] local.INFO: IMEI packet received {"connection_id":195542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":195542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:29:59] local.INFO: TCP Data received {"connection_id":195542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:59] local.INFO: Processing buffer {"connection_id":195542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97d5db8012d1969c0071ff170003f01522a..."} 
[2026-09-25 22:29:59] local.INFO: Packet analysis {"connection_id":195542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:29:59] local.INFO: Extracted packet for processing {"connection_id":195542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97d"} 
[2026-09-25 22:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330871296001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:29: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-25 22:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355267000,"timestamp_ms":1790355267000,"timestamp_seconds":1790355267,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97d5db8"} 
[2026-09-25 22:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330871296001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330871296001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:29:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330871296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":195542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:29:59] local.INFO: GPS data processed {"connection_id":195542,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:29:59] local.INFO: Acknowledgment sent {"connection_id":195542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:01] local.INFO: TCP Data received {"connection_id":195541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:01] local.INFO: Processing buffer {"connection_id":195541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:01] local.INFO: Packet analysis {"connection_id":195541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:30:01] local.INFO: Extracted packet for processing {"connection_id":195541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:30:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:30: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-25 22:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30: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-25 22:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:30: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:30: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-25 22:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:30:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:30:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:30: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-25 22:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":195541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:30:01] local.INFO: GPS data processed {"connection_id":195541,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:30:01] local.INFO: Acknowledgment sent {"connection_id":195541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:08] local.INFO: TCP Data received {"connection_id":192681,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:30:08] local.INFO: Processing buffer {"connection_id":192681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:30:08] local.INFO: IMEI packet received {"connection_id":192681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":192681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:30:17] local.INFO: TCP Data received {"connection_id":194185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:17] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:17] local.INFO: IMEI packet received {"connection_id":194185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":194185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:30:22] local.INFO: TCP Data received {"connection_id":194185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:22] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:30:22] local.INFO: IMEI packet received {"connection_id":194185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":194185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:30:23] local.INFO: TCP Data received {"connection_id":194185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:23] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:23] local.INFO: Packet analysis {"connection_id":194185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:23] local.INFO: Extracted packet for processing {"connection_id":194185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:23] 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-25 22:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:30:23] 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-25 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:30:23] 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-25 22:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:30:23] 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":898141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:30:23] local.INFO: GPS data processed {"connection_id":194185,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:30:23] local.INFO: Acknowledgment sent {"connection_id":194185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:24] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:24] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:24] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:30:29] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:29] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:30:29] local.INFO: IMEI packet received {"connection_id":192682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":192682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:30:30] local.INFO: TCP Data received {"connection_id":195542,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:30:30] local.INFO: Processing buffer {"connection_id":195542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:30:30] local.INFO: Packet analysis {"connection_id":195542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:30] local.INFO: Extracted packet for processing {"connection_id":195542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30: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-25 22:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:30:30] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:30] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:30:30] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:30:30] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":195542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:30:30] local.INFO: GPS data processed {"connection_id":195542,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:30:30] local.INFO: Acknowledgment sent {"connection_id":195542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:30] 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":898143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:30:30] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:30:30] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:55] local.INFO: TCP Data received {"connection_id":194185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:55] local.INFO: Processing buffer {"connection_id":194185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:30:55] local.INFO: Packet analysis {"connection_id":194185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:55] local.INFO: Extracted packet for processing {"connection_id":194185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:30: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-25 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:30:55] 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-25 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:30:55] 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-25 22:30: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:30:55] 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-25 22:30: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-25 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:30:55] 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":898144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:30:55] local.INFO: GPS data processed {"connection_id":194185,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:30:55] local.INFO: Acknowledgment sent {"connection_id":194185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:30:58] local.INFO: TCP Data received {"connection_id":194186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:30:58] local.INFO: Processing buffer {"connection_id":194186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:30:58] local.INFO: IMEI packet received {"connection_id":194186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":194186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:31:02] local.INFO: TCP Data received {"connection_id":192682,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:02] local.INFO: Processing buffer {"connection_id":192682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:02] local.INFO: Packet analysis {"connection_id":192682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:31:02] local.INFO: Extracted packet for processing {"connection_id":192682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31: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-25 22:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:31:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:31: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-25 22:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:31:02] 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":898145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:02] local.INFO: GPS data processed {"connection_id":192682,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:02] local.INFO: Acknowledgment sent {"connection_id":192682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:03] local.INFO: TCP Data received {"connection_id":194186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:03] local.INFO: Processing buffer {"connection_id":194186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:03] local.INFO: IMEI packet received {"connection_id":194186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":194186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:31:04] local.INFO: TCP Data received {"connection_id":194186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:04] local.INFO: Processing buffer {"connection_id":194186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:04] local.INFO: Packet analysis {"connection_id":194186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:04] local.INFO: Extracted packet for processing {"connection_id":194186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 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-25 22:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 22:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":194186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:04] local.INFO: GPS data processed {"connection_id":194186,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:04] local.INFO: Acknowledgment sent {"connection_id":194186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:17] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:17] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:17] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:31:22] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:22] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:31:22] local.INFO: IMEI packet received {"connection_id":192830,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":192830,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:31:23] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:23] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:23] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:23] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:23] 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-25 22:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:31:23] 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-25 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:23] 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-25 22:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:31: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":898147,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:23] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:23] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:25] local.INFO: TCP Data received {"connection_id":195544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:25] local.INFO: Processing buffer {"connection_id":195544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:25] local.INFO: IMEI packet received {"connection_id":195544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":195544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:31:28] local.INFO: TCP Data received {"connection_id":195545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:28] local.INFO: Processing buffer {"connection_id":195545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:28] local.INFO: IMEI packet received {"connection_id":195545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":195545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:31:29] local.INFO: TCP Data received {"connection_id":195544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:29] local.INFO: Processing buffer {"connection_id":195544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:31:29] local.INFO: IMEI packet received {"connection_id":195544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":195544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:31:30] local.INFO: TCP Data received {"connection_id":195544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:30] local.INFO: Processing buffer {"connection_id":195544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:31:30] local.INFO: Packet analysis {"connection_id":195544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:31:30] local.INFO: Extracted packet for processing {"connection_id":195544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":195544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:30] local.INFO: GPS data processed {"connection_id":195544,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:30] local.INFO: Acknowledgment sent {"connection_id":195544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:33] local.INFO: TCP Data received {"connection_id":195545,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:33] local.INFO: Processing buffer {"connection_id":195545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:33] local.INFO: IMEI packet received {"connection_id":195545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":195545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:31:34] local.INFO: TCP Data received {"connection_id":195545,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:34] local.INFO: Processing buffer {"connection_id":195545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:31:34] local.INFO: Packet analysis {"connection_id":195545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:34] local.INFO: Extracted packet for processing {"connection_id":195545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31: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-25 22:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22: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-25 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":195545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":195545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":195545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":195545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:34] local.INFO: GPS data processed {"connection_id":195545,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:34] local.INFO: Acknowledgment sent {"connection_id":195545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:54] local.INFO: TCP Data received {"connection_id":192830,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:54] local.INFO: Processing buffer {"connection_id":192830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:31:54] local.INFO: Packet analysis {"connection_id":192830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:54] local.INFO: Extracted packet for processing {"connection_id":192830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:31:54] 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-25 22:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22: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-25 22:31:54] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:31:54] 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-25 22: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-25 22: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-25 22:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192830,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:31:54] 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":898150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:31:54] local.INFO: GPS data processed {"connection_id":192830,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:31:54] local.INFO: Acknowledgment sent {"connection_id":192830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:31:58] local.INFO: TCP Data received {"connection_id":194187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:58] local.INFO: Processing buffer {"connection_id":194187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:31:58] local.INFO: IMEI packet received {"connection_id":194187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":194187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:32:01] local.INFO: TCP Data received {"connection_id":195544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:32:01] local.INFO: Processing buffer {"connection_id":195544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d97f4218012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:32:01] local.INFO: Packet analysis {"connection_id":195544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:32:01] local.INFO: Extracted packet for processing {"connection_id":195544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d97f"} 
[2026-09-25 22:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:32: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-25 22:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330903040001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32: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-25 22:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790355391000,"timestamp_ms":1790355391000,"timestamp_seconds":1790355391,"priority":1,"record_length":96,"hex_timestamp":"000001a0d97f4218"} 
[2026-09-25 22:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:32: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:32: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-25 22:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330903040001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330903040001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:32: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-25 22:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330903040001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":195544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:01] local.INFO: GPS data processed {"connection_id":195544,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:01] local.INFO: Acknowledgment sent {"connection_id":195544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:32:03] local.INFO: TCP Data received {"connection_id":194187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:03] local.INFO: Processing buffer {"connection_id":194187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:03] local.INFO: IMEI packet received {"connection_id":194187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":194187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:32:09] local.INFO: TCP Data received {"connection_id":194187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:09] local.INFO: Processing buffer {"connection_id":194187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:09] local.INFO: Packet analysis {"connection_id":194187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:09] local.INFO: Extracted packet for processing {"connection_id":194187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22: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-25 22:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:32:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":194187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:09] local.INFO: GPS data processed {"connection_id":194187,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:09] local.INFO: Acknowledgment sent {"connection_id":194187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:32:22] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:22] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:22] local.INFO: IMEI packet received {"connection_id":192683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":192683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:32:24] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:24] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:24] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:32:27] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:27] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:32:27] local.INFO: IMEI packet received {"connection_id":192683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":192683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:32:28] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:28] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:28] local.INFO: Packet analysis {"connection_id":192683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:28] local.INFO: Extracted packet for processing {"connection_id":192683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:28] 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-25 22:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22: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-25 22:32:28] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:32: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-25 22: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-25 22: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-25 22:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:32:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":192683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:28] local.INFO: GPS data processed {"connection_id":192683,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:28] local.INFO: Acknowledgment sent {"connection_id":192683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:32:29] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:29] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:32:29] local.INFO: IMEI packet received {"connection_id":192832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":192832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:32:31] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:32:31] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:32:31] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:32:31] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32: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-25 22:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:32:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:32: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-25 22:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:32:31] 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":898154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:31] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:31] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:32:34] local.INFO: TCP Data received {"connection_id":192683,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:34] local.INFO: Processing buffer {"connection_id":192683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:32:34] local.INFO: Packet analysis {"connection_id":192683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:34] local.INFO: Extracted packet for processing {"connection_id":192683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:34] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:34] 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-25 22:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22: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-25 22:32:34] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:32:34] 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-25 22: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-25 22: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-25 22:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:32:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":192683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:34] local.INFO: GPS data processed {"connection_id":192683,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:34] local.INFO: Acknowledgment sent {"connection_id":192683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:32:54] local.INFO: TCP Data received {"connection_id":195546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:54] local.INFO: Processing buffer {"connection_id":195546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:54] local.INFO: IMEI packet received {"connection_id":195546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":195546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:32:58] local.INFO: TCP Data received {"connection_id":195546,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:58] local.INFO: Processing buffer {"connection_id":195546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:32:58] local.INFO: IMEI packet received {"connection_id":195546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":195546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:32:59] local.INFO: TCP Data received {"connection_id":195546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:59] local.INFO: Processing buffer {"connection_id":195546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:32:59] local.INFO: Packet analysis {"connection_id":195546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:59] local.INFO: Extracted packet for processing {"connection_id":195546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:32: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-25 22:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":195546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:32:59] local.INFO: GPS data processed {"connection_id":195546,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:32:59] local.INFO: Acknowledgment sent {"connection_id":195546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:02] local.INFO: TCP Data received {"connection_id":192832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:02] local.INFO: Processing buffer {"connection_id":192832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:02] local.INFO: Packet analysis {"connection_id":192832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:33:02] local.INFO: Extracted packet for processing {"connection_id":192832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33: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-25 22:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:33:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:33: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-25 22:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:33:02] 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":898157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:02] local.INFO: GPS data processed {"connection_id":192832,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:02] local.INFO: Acknowledgment sent {"connection_id":192832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:17] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:17] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:17] local.INFO: IMEI packet received {"connection_id":194188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":194188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:33:22] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:22] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:33:22] local.INFO: IMEI packet received {"connection_id":194188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":194188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:33:23] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:33:23] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98149a0012d0b10c007029f100019013d1e..."} 
[2026-09-25 22:33:23] local.INFO: Packet analysis {"connection_id":194188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:23] local.INFO: Extracted packet for processing {"connection_id":194188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":25,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330937088001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:23] 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-25 22:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355524000,"timestamp_ms":1790355524000,"timestamp_seconds":1790355524,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98149a0"} 
[2026-09-25 22: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-25 22:33:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:23] 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-25 22: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-25 22: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-25 22:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330937088001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330937088001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:33:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330937088001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:33:23] 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":898158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:23] local.INFO: GPS data processed {"connection_id":194188,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:23] local.INFO: Acknowledgment sent {"connection_id":194188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:29] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:29] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:29] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:33:30] local.INFO: TCP Data received {"connection_id":195546,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:30] local.INFO: Processing buffer {"connection_id":195546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:30] local.INFO: Packet analysis {"connection_id":195546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:30] local.INFO: Extracted packet for processing {"connection_id":195546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33: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-25 22:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22: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-25 22:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":195546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:30] local.INFO: GPS data processed {"connection_id":195546,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:30] local.INFO: Acknowledgment sent {"connection_id":195546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:34] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:34] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:33:34] local.INFO: IMEI packet received {"connection_id":192833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":192833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:33:35] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:35] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:33:35] local.INFO: Packet analysis {"connection_id":192833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:33:35] local.INFO: Extracted packet for processing {"connection_id":192833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22: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-25 22:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:33: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-25 22:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:33:35] 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":898160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:35] local.INFO: GPS data processed {"connection_id":192833,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:35] local.INFO: Acknowledgment sent {"connection_id":192833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:53] local.INFO: TCP Data received {"connection_id":195547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:53] local.INFO: Processing buffer {"connection_id":195547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:53] local.INFO: IMEI packet received {"connection_id":195547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":195547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:33:54] local.INFO: TCP Data received {"connection_id":194188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:33:54] local.INFO: Processing buffer {"connection_id":194188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:33:54] local.INFO: Packet analysis {"connection_id":194188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:33:54] local.INFO: Extracted packet for processing {"connection_id":194188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:33:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:54] 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-25 22:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:33:54] 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-25 22:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:54] 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-25 22:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:33:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:33:54] 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":898161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:54] local.INFO: GPS data processed {"connection_id":194188,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:54] local.INFO: Acknowledgment sent {"connection_id":194188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:33:58] local.INFO: TCP Data received {"connection_id":195547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:58] local.INFO: Processing buffer {"connection_id":195547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:33:58] local.INFO: IMEI packet received {"connection_id":195547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":195547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:33:59] local.INFO: TCP Data received {"connection_id":195547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:59] local.INFO: Processing buffer {"connection_id":195547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:33:59] local.INFO: Packet analysis {"connection_id":195547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:59] local.INFO: Extracted packet for processing {"connection_id":195547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:33: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-25 22:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":195547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:33:59] local.INFO: GPS data processed {"connection_id":195547,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:33:59] local.INFO: Acknowledgment sent {"connection_id":195547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:06] local.INFO: TCP Data received {"connection_id":192833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:06] local.INFO: Processing buffer {"connection_id":192833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:06] local.INFO: Packet analysis {"connection_id":192833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:34:06] local.INFO: Extracted packet for processing {"connection_id":192833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22: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-25 22:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:34: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-25 22:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:34:06] 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":898163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:06] local.INFO: GPS data processed {"connection_id":192833,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:06] local.INFO: Acknowledgment sent {"connection_id":192833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:17] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:17] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:17] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:34:22] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:22] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:34:22] local.INFO: IMEI packet received {"connection_id":192835,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":192835,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:34:23] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:23] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:23] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:34:23] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:23] 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-25 22:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:34:23] 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-25 22:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:23] 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-25 22:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:34:23] 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":898164,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:23] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:23] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:24] local.INFO: TCP Data received {"connection_id":195548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:24] local.INFO: Processing buffer {"connection_id":195548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:24] local.INFO: IMEI packet received {"connection_id":195548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":195548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:34:29] local.INFO: TCP Data received {"connection_id":195548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:29] local.INFO: Processing buffer {"connection_id":195548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:34:29] local.INFO: IMEI packet received {"connection_id":195548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":195548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:34:30] local.INFO: TCP Data received {"connection_id":195548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:30] local.INFO: Processing buffer {"connection_id":195548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:34:30] local.INFO: Packet analysis {"connection_id":195548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:34:30] local.INFO: Extracted packet for processing {"connection_id":195548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":195548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:30] local.INFO: GPS data processed {"connection_id":195548,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:30] local.INFO: Acknowledgment sent {"connection_id":195548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:30] local.INFO: TCP Data received {"connection_id":195547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:30] local.INFO: Processing buffer {"connection_id":195547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:30] local.INFO: Packet analysis {"connection_id":195547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:34:30] local.INFO: Extracted packet for processing {"connection_id":195547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34: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-25 22:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":195547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:30] local.INFO: GPS data processed {"connection_id":195547,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:30] local.INFO: Acknowledgment sent {"connection_id":195547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:53] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:53] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:53] local.INFO: IMEI packet received {"connection_id":192685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":192685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:34:54] local.INFO: TCP Data received {"connection_id":192835,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:54] local.INFO: Processing buffer {"connection_id":192835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:34:54] local.INFO: Packet analysis {"connection_id":192835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:34:54] local.INFO: Extracted packet for processing {"connection_id":192835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:34:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:54] 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-25 22:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:34:54] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:54] 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-25 22:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22: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-25 22:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:34:54] 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":898167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:54] local.INFO: GPS data processed {"connection_id":192835,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:54] local.INFO: Acknowledgment sent {"connection_id":192835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:34:58] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:58] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:34:58] local.INFO: IMEI packet received {"connection_id":192685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":192685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:34:59] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:59] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d981f580012d1969c0071ff170003f015227..."} 
[2026-09-25 22:34:59] local.INFO: Packet analysis {"connection_id":192685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:34:59] local.INFO: Extracted packet for processing {"connection_id":192685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d981"} 
[2026-09-25 22:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330948352001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:34: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-25 22:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355568000,"timestamp_ms":1790355568000,"timestamp_seconds":1790355568,"priority":1,"record_length":96,"hex_timestamp":"000001a0d981f580"} 
[2026-09-25 22:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330948352001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330948352001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:34:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330948352001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":192685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:34:59] local.INFO: GPS data processed {"connection_id":192685,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:34:59] local.INFO: Acknowledgment sent {"connection_id":192685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:01] local.INFO: TCP Data received {"connection_id":195548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:01] local.INFO: Processing buffer {"connection_id":195548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:01] local.INFO: Packet analysis {"connection_id":195548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:35:01] local.INFO: Extracted packet for processing {"connection_id":195548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35: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-25 22:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:35:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:35: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-25 22:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":195548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:01] local.INFO: GPS data processed {"connection_id":195548,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:01] local.INFO: Acknowledgment sent {"connection_id":195548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:17] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:17] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:17] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:35:22] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:22] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:35:22] local.INFO: IMEI packet received {"connection_id":192686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":192686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:35:23] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:23] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:23] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:35:23] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:23] 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-25 22:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:35:23] 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-25 22:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:35:23] 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-25 22:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:35:23] 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":898170,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:23] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:23] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:24] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:24] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:24] local.INFO: IMEI packet received {"connection_id":194190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":194190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:35:29] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:29] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:35:29] local.INFO: IMEI packet received {"connection_id":194190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":194190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:35:30] local.INFO: TCP Data received {"connection_id":192685,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:30] local.INFO: Processing buffer {"connection_id":192685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:30] local.INFO: Packet analysis {"connection_id":192685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:35:30] local.INFO: Extracted packet for processing {"connection_id":192685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35: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-25 22:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":192685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:30] local.INFO: GPS data processed {"connection_id":192685,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:30] local.INFO: Acknowledgment sent {"connection_id":192685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:30] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:30] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:35:30] local.INFO: Packet analysis {"connection_id":194190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:35:30] local.INFO: Extracted packet for processing {"connection_id":194190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:35:30] 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":898172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:30] local.INFO: GPS data processed {"connection_id":194190,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:30] local.INFO: Acknowledgment sent {"connection_id":194190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:38] local.INFO: TCP Data received {"connection_id":194189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:35:38] local.INFO: Processing buffer {"connection_id":194189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:35:38] local.INFO: IMEI packet received {"connection_id":194189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":194189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:35:53] local.INFO: TCP Data received {"connection_id":194191,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:53] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:53] local.INFO: IMEI packet received {"connection_id":194191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":194191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:35:56] local.INFO: TCP Data received {"connection_id":192686,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:56] local.INFO: Processing buffer {"connection_id":192686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:35:56] local.INFO: Packet analysis {"connection_id":192686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:35:56] local.INFO: Extracted packet for processing {"connection_id":192686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:35:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:56] 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-25 22:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:35:56] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:35: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-25 22: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-25 22: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-25 22:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:35:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:35:56] 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":898173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:56] local.INFO: GPS data processed {"connection_id":192686,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:56] local.INFO: Acknowledgment sent {"connection_id":192686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:35:58] local.INFO: TCP Data received {"connection_id":194191,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:58] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:35:58] local.INFO: IMEI packet received {"connection_id":194191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":194191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:35:59] local.INFO: TCP Data received {"connection_id":194191,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:59] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:35:59] local.INFO: Packet analysis {"connection_id":194191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:35:59] local.INFO: Extracted packet for processing {"connection_id":194191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:35: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-25 22:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:35: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-25 22:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:35:59] 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":898174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:35:59] local.INFO: GPS data processed {"connection_id":194191,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:35:59] local.INFO: Acknowledgment sent {"connection_id":194191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:02] local.INFO: TCP Data received {"connection_id":194190,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:02] local.INFO: Processing buffer {"connection_id":194190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:02] local.INFO: Packet analysis {"connection_id":194190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:36:02] local.INFO: Extracted packet for processing {"connection_id":194190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36: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-25 22:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:36:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:36: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-25 22:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:36:02] 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":898175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:02] local.INFO: GPS data processed {"connection_id":194190,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:02] local.INFO: Acknowledgment sent {"connection_id":194190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:03] local.INFO: TCP Data received {"connection_id":195549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:36:03] local.INFO: Processing buffer {"connection_id":195549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:36:03] local.INFO: IMEI packet received {"connection_id":195549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":195549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:36:17] local.INFO: TCP Data received {"connection_id":195550,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:17] local.INFO: Processing buffer {"connection_id":195550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:17] local.INFO: IMEI packet received {"connection_id":195550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":195550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:36:22] local.INFO: TCP Data received {"connection_id":195550,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:22] local.INFO: Processing buffer {"connection_id":195550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:36:22] local.INFO: IMEI packet received {"connection_id":195550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":195550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:36:24] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:24] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:24] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:36:26] local.INFO: TCP Data received {"connection_id":195550,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:26] local.INFO: Processing buffer {"connection_id":195550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:26] local.INFO: Packet analysis {"connection_id":195550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:36:26] local.INFO: Extracted packet for processing {"connection_id":195550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:36:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:26] 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-25 22:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:36:26] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:36:26] 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-25 22: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-25 22: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-25 22:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":195550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898176,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:26] local.INFO: GPS data processed {"connection_id":195550,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:26] local.INFO: Acknowledgment sent {"connection_id":195550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:29] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:29] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:36:29] local.INFO: IMEI packet received {"connection_id":192836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":192836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:36:30] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:30] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:36:30] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:36:30] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:36:30] 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":898177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:30] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:30] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:30] local.INFO: TCP Data received {"connection_id":194191,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:30] local.INFO: Processing buffer {"connection_id":194191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:30] local.INFO: Packet analysis {"connection_id":194191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:36:30] local.INFO: Extracted packet for processing {"connection_id":194191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36: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-25 22:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:36:30] 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":898178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:30] local.INFO: GPS data processed {"connection_id":194191,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:30] local.INFO: Acknowledgment sent {"connection_id":194191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:53] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:53] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:53] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:36:58] local.INFO: TCP Data received {"connection_id":195550,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:58] local.INFO: Processing buffer {"connection_id":195550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:36:58] local.INFO: Packet analysis {"connection_id":195550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:36:58] local.INFO: Extracted packet for processing {"connection_id":195550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:58] 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-25 22:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:36:58] 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-25 22:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:36:58] 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-25 22:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:36:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":195550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898179,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:58] local.INFO: GPS data processed {"connection_id":195550,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:58] local.INFO: Acknowledgment sent {"connection_id":195550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:36:58] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:58] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:36:58] local.INFO: IMEI packet received {"connection_id":192837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":192837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:36:59] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:59] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:36:59] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:36:59] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:36: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-25 22:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:36: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-25 22:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:36:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:36:59] 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":898180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:36:59] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:36:59] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:03] local.INFO: TCP Data received {"connection_id":192836,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:37:03] local.INFO: Processing buffer {"connection_id":192836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d983d9e0012d34c14006aa49080004006e29..."} 
[2026-09-25 22:37:03] local.INFO: Packet analysis {"connection_id":192836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:37:03] local.INFO: Extracted packet for processing {"connection_id":192836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d983"} 
[2026-09-25 22:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458330980096001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37: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-25 22:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790355692000,"timestamp_ms":1790355692000,"timestamp_seconds":1790355692,"priority":1,"record_length":96,"hex_timestamp":"000001a0d983d9e0"} 
[2026-09-25 22:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458330980096001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458330980096001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:37: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-25 22:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458330980096001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:37:03] 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":898181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:03] local.INFO: GPS data processed {"connection_id":192836,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:03] local.INFO: Acknowledgment sent {"connection_id":192836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:22] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:22] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:22] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:37:27] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:27] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:37:27] local.INFO: IMEI packet received {"connection_id":192687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":192687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:37:28] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:28] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:28] local.INFO: Packet analysis {"connection_id":192687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:37:28] local.INFO: Extracted packet for processing {"connection_id":192687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:37: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-25 22:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:28] 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-25 22:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:37:28] 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-25 22:37: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-25 22:37: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-25 22:37: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-25 22:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:37:29] 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":898182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:29] local.INFO: GPS data processed {"connection_id":192687,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:29] local.INFO: Acknowledgment sent {"connection_id":192687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:29] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:29] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:29] local.INFO: IMEI packet received {"connection_id":194193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":194193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:37:30] local.INFO: TCP Data received {"connection_id":192837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:30] local.INFO: Processing buffer {"connection_id":192837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:30] local.INFO: Packet analysis {"connection_id":192837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:37:30] local.INFO: Extracted packet for processing {"connection_id":192837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37: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-25 22:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:37:30] 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":898183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:30] local.INFO: GPS data processed {"connection_id":192837,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:30] local.INFO: Acknowledgment sent {"connection_id":192837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:33] local.INFO: TCP Data received {"connection_id":192687,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:33] local.INFO: Processing buffer {"connection_id":192687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:37:33] local.INFO: Packet analysis {"connection_id":192687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:37:33] local.INFO: Extracted packet for processing {"connection_id":192687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:33] 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-25 22:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:37:33] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:37:33] 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-25 22: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-25 22: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-25 22:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:37:33] 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":898184,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:33] local.INFO: GPS data processed {"connection_id":192687,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:33] local.INFO: Acknowledgment sent {"connection_id":192687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:35] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:35] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:37:35] local.INFO: IMEI packet received {"connection_id":194193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":194193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:37:35] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:35] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:35] local.INFO: Packet analysis {"connection_id":194193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:37:35] local.INFO: Extracted packet for processing {"connection_id":194193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22: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-25 22:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37: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-25 22:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:37:35] 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":898185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:35] local.INFO: GPS data processed {"connection_id":194193,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:35] local.INFO: Acknowledgment sent {"connection_id":194193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:39] local.INFO: TCP Data received {"connection_id":194193,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:39] local.INFO: Processing buffer {"connection_id":194193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:37:39] local.INFO: Packet analysis {"connection_id":194193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:37:39] local.INFO: Extracted packet for processing {"connection_id":194193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 22:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 22:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 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-25 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 22:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:37: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-25 22:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 22:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:37:39] 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":898186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:39] local.INFO: GPS data processed {"connection_id":194193,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:39] local.INFO: Acknowledgment sent {"connection_id":194193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:37:54] local.INFO: TCP Data received {"connection_id":195551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:54] local.INFO: Processing buffer {"connection_id":195551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:54] local.INFO: IMEI packet received {"connection_id":195551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":195551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:37:58] local.INFO: TCP Data received {"connection_id":195551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:58] local.INFO: Processing buffer {"connection_id":195551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:37:58] local.INFO: IMEI packet received {"connection_id":195551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":195551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:37:59] local.INFO: TCP Data received {"connection_id":195551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:59] local.INFO: Processing buffer {"connection_id":195551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:37:59] local.INFO: Packet analysis {"connection_id":195551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:37:59] local.INFO: Extracted packet for processing {"connection_id":195551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:37: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-25 22:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:37: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-25 22:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":195551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:37:59] local.INFO: GPS data processed {"connection_id":195551,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:37:59] local.INFO: Acknowledgment sent {"connection_id":195551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:38:18] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:18] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:18] local.INFO: IMEI packet received {"connection_id":194194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":194194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:38:22] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:22] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:38:22] local.INFO: IMEI packet received {"connection_id":194194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":194194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:38:23] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:23] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:23] local.INFO: Packet analysis {"connection_id":194194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:38:23] local.INFO: Extracted packet for processing {"connection_id":194194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:23] 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-25 22:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:38:23] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:38:23] 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-25 22: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-25 22: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-25 22:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:38:23] 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":898188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:38:23] local.INFO: GPS data processed {"connection_id":194194,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:38:23] local.INFO: Acknowledgment sent {"connection_id":194194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:38:24] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:24] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:24] local.INFO: IMEI packet received {"connection_id":192839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":192839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:38:27] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:27] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d985e168012d0b10c007029f100015013d16..."} 
[2026-09-25 22:38:27] local.INFO: Packet analysis {"connection_id":194194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:38:27] local.INFO: Extracted packet for processing {"connection_id":194194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d985"} 
[2026-09-25 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":21,"angle":317,"satellites":22,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331014144001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:27] 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-25 22:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790355825000,"timestamp_ms":1790355825000,"timestamp_seconds":1790355825,"priority":1,"record_length":96,"hex_timestamp":"000001a0d985e168"} 
[2026-09-25 22: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-25 22:38: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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":194194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331014144001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331014144001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:38:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331014144001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:38:28] 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":898189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:38:28] local.INFO: GPS data processed {"connection_id":194194,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:38:28] local.INFO: Acknowledgment sent {"connection_id":194194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:38:29] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:29] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:38:29] local.INFO: IMEI packet received {"connection_id":192839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:38:30] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:38:30] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:38:30] local.INFO: Packet analysis {"connection_id":192839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:38:30] local.INFO: Extracted packet for processing {"connection_id":192839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:38:30] 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-25 22:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:38:30] 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":898190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:38:30] local.INFO: GPS data processed {"connection_id":192839,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:38:30] local.INFO: Acknowledgment sent {"connection_id":192839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:38:30] local.INFO: TCP Data received {"connection_id":195551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:30] local.INFO: Processing buffer {"connection_id":195551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:30] local.INFO: Packet analysis {"connection_id":195551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:38:30] local.INFO: Extracted packet for processing {"connection_id":195551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38: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-25 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":195551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:38:30] local.INFO: GPS data processed {"connection_id":195551,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:38:30] local.INFO: Acknowledgment sent {"connection_id":195551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:38:53] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:53] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:53] local.INFO: IMEI packet received {"connection_id":192688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":192688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:38:58] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:58] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:38:58] local.INFO: IMEI packet received {"connection_id":192688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":192688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:38:59] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:59] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:38:59] local.INFO: Packet analysis {"connection_id":192688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:38:59] local.INFO: Extracted packet for processing {"connection_id":192688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:38: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-25 22:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22: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-25 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:38: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-25 22: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-25 22: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-25 22:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:38:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":192688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:38:59] local.INFO: GPS data processed {"connection_id":192688,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:38:59] local.INFO: Acknowledgment sent {"connection_id":192688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:00] local.INFO: TCP Data received {"connection_id":194194,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:00] local.INFO: Processing buffer {"connection_id":194194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:00] local.INFO: Packet analysis {"connection_id":194194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:00] local.INFO: Extracted packet for processing {"connection_id":194194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:00] 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-25 22:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22: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-25 22:39:00] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:00] 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-25 22: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-25 22: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-25 22:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:39:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:39:00] 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":898193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:00] local.INFO: GPS data processed {"connection_id":194194,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:00] local.INFO: Acknowledgment sent {"connection_id":194194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:01] local.INFO: TCP Data received {"connection_id":192839,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:01] local.INFO: Processing buffer {"connection_id":192839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:01] local.INFO: Packet analysis {"connection_id":192839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:39:01] local.INFO: Extracted packet for processing {"connection_id":192839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39: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-25 22:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22: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-25 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:39:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:39: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-25 22:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:39:01] 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":898194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:01] local.INFO: GPS data processed {"connection_id":192839,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:01] local.INFO: Acknowledgment sent {"connection_id":192839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:22] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:22] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:22] local.INFO: IMEI packet received {"connection_id":194195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":194195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:39:24] local.INFO: TCP Data received {"connection_id":195553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:24] local.INFO: Processing buffer {"connection_id":195553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:24] local.INFO: IMEI packet received {"connection_id":195553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":195553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:39:27] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:27] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:39:27] local.INFO: IMEI packet received {"connection_id":194195,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":194195,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:39:29] local.INFO: TCP Data received {"connection_id":195553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:29] local.INFO: Processing buffer {"connection_id":195553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:39:29] local.INFO: IMEI packet received {"connection_id":195553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":195553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:39:30] local.INFO: TCP Data received {"connection_id":195553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:30] local.INFO: Processing buffer {"connection_id":195553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:39:30] local.INFO: Packet analysis {"connection_id":195553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:39:30] local.INFO: Extracted packet for processing {"connection_id":195553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:30] 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-25 22:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":195553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:30] local.INFO: GPS data processed {"connection_id":195553,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:30] local.INFO: Acknowledgment sent {"connection_id":195553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:30] local.INFO: TCP Data received {"connection_id":192688,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:39:30] local.INFO: Processing buffer {"connection_id":192688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:39:30] local.INFO: Packet analysis {"connection_id":192688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:39:30] local.INFO: Extracted packet for processing {"connection_id":192688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39: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-25 22:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":192688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:30] local.INFO: GPS data processed {"connection_id":192688,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:30] local.INFO: Acknowledgment sent {"connection_id":192688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:31] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:31] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:31] local.INFO: Packet analysis {"connection_id":194195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:31] local.INFO: Extracted packet for processing {"connection_id":194195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:31] 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-25 22:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:39: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-25 22:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:31] 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-25 22:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:39:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:39:32] 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":898197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:32] local.INFO: GPS data processed {"connection_id":194195,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:32] local.INFO: Acknowledgment sent {"connection_id":194195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:33] local.INFO: TCP Data received {"connection_id":194195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:33] local.INFO: Processing buffer {"connection_id":194195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:39:33] local.INFO: Packet analysis {"connection_id":194195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:33] local.INFO: Extracted packet for processing {"connection_id":194195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:39:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:39: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-25 22:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:39:33] 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-25 22:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:39:33] 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-25 22:39: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:39:33] 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-25 22:39: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-25 22:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194195,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:39:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:39:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:39:33] 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":898198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:39:33] local.INFO: GPS data processed {"connection_id":194195,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:39:33] local.INFO: Acknowledgment sent {"connection_id":194195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:39:58] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:39:58] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:39:58] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:40:03] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:03] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:03] local.INFO: IMEI packet received {"connection_id":192689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":192689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:40:03] local.INFO: TCP Data received {"connection_id":195553,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:03] local.INFO: Processing buffer {"connection_id":195553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:03] local.INFO: Packet analysis {"connection_id":195553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:40:03] local.INFO: Extracted packet for processing {"connection_id":195553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40: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-25 22:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:03] 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-25 22:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:40: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-25 22:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":195553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:03] local.INFO: GPS data processed {"connection_id":195553,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:03] local.INFO: Acknowledgment sent {"connection_id":195553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:04] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:04] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9868d48012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:04] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:40:04] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d986"} 
[2026-09-25 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331025408001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790355869000,"timestamp_ms":1790355869000,"timestamp_seconds":1790355869,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9868d48"} 
[2026-09-25 22:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:04] 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-25 22:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331025408001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331025408001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331025408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:40:04] 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":898200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:04] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:04] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:17] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:17] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:17] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:40:22] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:22] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:40:22] local.INFO: IMEI packet received {"connection_id":192690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":192690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:40:23] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:23] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:23] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:40:23] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:23] 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-25 22:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22: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-25 22:40:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:23] 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-25 22: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-25 22: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-25 22:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:40:23] 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":898201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:23] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:23] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:29] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:29] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:29] local.INFO: IMEI packet received {"connection_id":192840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":192840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:40:34] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:34] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:40:34] local.INFO: IMEI packet received {"connection_id":192840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":192840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:40:34] local.INFO: TCP Data received {"connection_id":192689,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:34] local.INFO: Processing buffer {"connection_id":192689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:34] local.INFO: Packet analysis {"connection_id":192689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:40:34] local.INFO: Extracted packet for processing {"connection_id":192689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22: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-25 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":192689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":192689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:40:35] 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":898202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:35] local.INFO: GPS data processed {"connection_id":192689,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:35] local.INFO: Acknowledgment sent {"connection_id":192689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:35] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:35] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:40:35] local.INFO: Packet analysis {"connection_id":192840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:40:35] local.INFO: Extracted packet for processing {"connection_id":192840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22: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-25 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:40:35] 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":898203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:35] local.INFO: GPS data processed {"connection_id":192840,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:35] local.INFO: Acknowledgment sent {"connection_id":192840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:54] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:54] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:54] local.INFO: IMEI packet received {"connection_id":192841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":192841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:40:54] local.INFO: TCP Data received {"connection_id":192690,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:54] local.INFO: Processing buffer {"connection_id":192690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:40:54] local.INFO: Packet analysis {"connection_id":192690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:40:54] local.INFO: Extracted packet for processing {"connection_id":192690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:54] 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-25 22:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:40:54] 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-25 22:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:54] 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-25 22:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192690,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:40:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:40:54] 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":898204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:54] local.INFO: GPS data processed {"connection_id":192690,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:54] local.INFO: Acknowledgment sent {"connection_id":192690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:40:58] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:58] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:40:58] local.INFO: IMEI packet received {"connection_id":192841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":192841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:40:59] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:59] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:40:59] local.INFO: Packet analysis {"connection_id":192841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:40:59] local.INFO: Extracted packet for processing {"connection_id":192841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:40: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-25 22:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":192841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:40:59] local.INFO: GPS data processed {"connection_id":192841,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:40:59] local.INFO: Acknowledgment sent {"connection_id":192841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:06] local.INFO: TCP Data received {"connection_id":192840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:06] local.INFO: Processing buffer {"connection_id":192840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:06] local.INFO: Packet analysis {"connection_id":192840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:41:06] local.INFO: Extracted packet for processing {"connection_id":192840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 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-25 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:41: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-25 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-25 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-25 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22: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-25 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 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-25 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:41:06] 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":898206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:06] local.INFO: GPS data processed {"connection_id":192840,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:06] local.INFO: Acknowledgment sent {"connection_id":192840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:17] local.INFO: TCP Data received {"connection_id":195555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:17] local.INFO: Processing buffer {"connection_id":195555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:17] local.INFO: IMEI packet received {"connection_id":195555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":195555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:41:22] local.INFO: TCP Data received {"connection_id":195555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:22] local.INFO: Processing buffer {"connection_id":195555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:41:22] local.INFO: IMEI packet received {"connection_id":195555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":195555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:41:23] local.INFO: TCP Data received {"connection_id":195555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:23] local.INFO: Processing buffer {"connection_id":195555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:23] local.INFO: Packet analysis {"connection_id":195555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:41:23] local.INFO: Extracted packet for processing {"connection_id":195555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 22:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:23] 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-25 22:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 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-25 22:41:23] 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-25 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:41:23] 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-25 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-25 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-25 22:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":195555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:23] local.INFO: GPS data processed {"connection_id":195555,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:23] local.INFO: Acknowledgment sent {"connection_id":195555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:24] local.INFO: TCP Data received {"connection_id":194197,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:24] local.INFO: Processing buffer {"connection_id":194197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:24] local.INFO: IMEI packet received {"connection_id":194197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":194197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:41:29] local.INFO: TCP Data received {"connection_id":194197,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:29] local.INFO: Processing buffer {"connection_id":194197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:41:29] local.INFO: IMEI packet received {"connection_id":194197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":194197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:41:30] local.INFO: TCP Data received {"connection_id":194197,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:30] local.INFO: Processing buffer {"connection_id":194197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:41:30] local.INFO: Packet analysis {"connection_id":194197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:41:30] local.INFO: Extracted packet for processing {"connection_id":194197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 22:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 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-25 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:41:30] 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-25 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-25 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-25 22:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":194197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:30] local.INFO: GPS data processed {"connection_id":194197,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:30] local.INFO: Acknowledgment sent {"connection_id":194197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:30] local.INFO: TCP Data received {"connection_id":192841,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:30] local.INFO: Processing buffer {"connection_id":192841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:30] local.INFO: Packet analysis {"connection_id":192841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:41:30] local.INFO: Extracted packet for processing {"connection_id":192841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 22:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 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-25 22:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 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-25 22:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 22:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":192841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:30] local.INFO: GPS data processed {"connection_id":192841,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:30] local.INFO: Acknowledgment sent {"connection_id":192841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:34] local.INFO: TCP Data received {"connection_id":195554,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:41:34] local.INFO: Processing buffer {"connection_id":195554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:41:34] local.INFO: IMEI packet received {"connection_id":195554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":195554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:41:53] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:53] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:53] local.INFO: IMEI packet received {"connection_id":192842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":192842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:41:54] local.INFO: TCP Data received {"connection_id":195555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:54] local.INFO: Processing buffer {"connection_id":195555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:41:54] local.INFO: Packet analysis {"connection_id":195555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:41:54] local.INFO: Extracted packet for processing {"connection_id":195555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:54] 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-25 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22: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-25 22:41:54] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:41:54] 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-25 22: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-25 22: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-25 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":195555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:54] local.INFO: GPS data processed {"connection_id":195555,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:54] local.INFO: Acknowledgment sent {"connection_id":195555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:41:58] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:58] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:41:58] local.INFO: IMEI packet received {"connection_id":192842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":192842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:41:59] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:59] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:41:59] local.INFO: Packet analysis {"connection_id":192842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:41:59] local.INFO: Extracted packet for processing {"connection_id":192842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:41: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-25 22:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:41:59] 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":898211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:41:59] local.INFO: GPS data processed {"connection_id":192842,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:41:59] local.INFO: Acknowledgment sent {"connection_id":192842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:01] local.INFO: TCP Data received {"connection_id":194197,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:42:01] local.INFO: Processing buffer {"connection_id":194197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98871a8012d34c14006aa49080007006e29..."} 
[2026-09-25 22:42:01] local.INFO: Packet analysis {"connection_id":194197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:42:01] local.INFO: Extracted packet for processing {"connection_id":194197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d988"} 
[2026-09-25 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331057152001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42: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-25 22:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790355993000,"timestamp_ms":1790355993000,"timestamp_seconds":1790355993,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98871a8"} 
[2026-09-25 22:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331057152001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331057152001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:42:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:42: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-25 22:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331057152001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":194197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:01] local.INFO: GPS data processed {"connection_id":194197,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:01] local.INFO: Acknowledgment sent {"connection_id":194197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:08] local.INFO: TCP Data received {"connection_id":192691,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:42:08] local.INFO: Processing buffer {"connection_id":192691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:42:08] local.INFO: IMEI packet received {"connection_id":192691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":192691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:42:17] local.INFO: TCP Data received {"connection_id":195556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:17] local.INFO: Processing buffer {"connection_id":195556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:17] local.INFO: IMEI packet received {"connection_id":195556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":195556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:42:22] local.INFO: TCP Data received {"connection_id":195556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195556,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:22] local.INFO: Processing buffer {"connection_id":195556,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:42:22] local.INFO: IMEI packet received {"connection_id":195556,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":195556,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:42:23] local.INFO: TCP Data received {"connection_id":195556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:23] local.INFO: Processing buffer {"connection_id":195556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:23] local.INFO: Packet analysis {"connection_id":195556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:42:23] local.INFO: Extracted packet for processing {"connection_id":195556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:42: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-25 22:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:23] 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-25 22:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:42:23] 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-25 22:42: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:23] 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-25 22:42: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-25 22:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":195556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:23] local.INFO: GPS data processed {"connection_id":195556,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:23] local.INFO: Acknowledgment sent {"connection_id":195556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:24] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:24] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:24] local.INFO: IMEI packet received {"connection_id":194198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":194198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:42:29] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:29] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:42:29] local.INFO: IMEI packet received {"connection_id":194198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":194198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:42:30] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:42:30] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:42:30] local.INFO: Packet analysis {"connection_id":194198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:42:30] local.INFO: Extracted packet for processing {"connection_id":194198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:42:30] 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":898214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:30] local.INFO: GPS data processed {"connection_id":194198,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:30] local.INFO: Acknowledgment sent {"connection_id":194198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:30] local.INFO: TCP Data received {"connection_id":192842,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:30] local.INFO: Processing buffer {"connection_id":192842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:30] local.INFO: Packet analysis {"connection_id":192842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:42:30] local.INFO: Extracted packet for processing {"connection_id":192842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42: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-25 22:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:42:31] 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":898215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:31] local.INFO: GPS data processed {"connection_id":192842,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:31] local.INFO: Acknowledgment sent {"connection_id":192842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:53] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:53] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:53] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:42:55] local.INFO: TCP Data received {"connection_id":195556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:55] local.INFO: Processing buffer {"connection_id":195556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:42:55] local.INFO: Packet analysis {"connection_id":195556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:42:55] local.INFO: Extracted packet for processing {"connection_id":195556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:42:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:55] 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-25 22:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22: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-25 22:42:55] 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-25 22: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:55] 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-25 22: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-25 22: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-25 22:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195556,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":195556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:56] local.INFO: GPS data processed {"connection_id":195556,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:56] local.INFO: Acknowledgment sent {"connection_id":195556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:42:58] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:58] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:42:58] local.INFO: IMEI packet received {"connection_id":192843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":192843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:42:59] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:59] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:42:59] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:42:59] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:42: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-25 22:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:42:59] 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":898217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:42:59] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:42:59] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:01] local.INFO: TCP Data received {"connection_id":194198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:01] local.INFO: Processing buffer {"connection_id":194198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:01] local.INFO: Packet analysis {"connection_id":194198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:01] local.INFO: Extracted packet for processing {"connection_id":194198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43: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-25 22:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:43:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:43: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-25 22:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:43:01] 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":898218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:01] local.INFO: GPS data processed {"connection_id":194198,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:01] local.INFO: Acknowledgment sent {"connection_id":194198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:17] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:17] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:17] local.INFO: IMEI packet received {"connection_id":192844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":192844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:43:22] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:22] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:43:22] local.INFO: IMEI packet received {"connection_id":192844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":192844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:43:23] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:43:23] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98a7930012d0b10c007029f100013013d1d..."} 
[2026-09-25 22:43:23] local.INFO: Packet analysis {"connection_id":192844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:43:23] local.INFO: Extracted packet for processing {"connection_id":192844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98a"} 
[2026-09-25 22:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":19,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331091200001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:23] 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-25 22:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356126000,"timestamp_ms":1790356126000,"timestamp_seconds":1790356126,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98a7930"} 
[2026-09-25 22: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-25 22:43:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:23] 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-25 22: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-25 22: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-25 22:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331091200001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331091200001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331091200001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":192844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898219,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:23] local.INFO: GPS data processed {"connection_id":192844,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:23] local.INFO: Acknowledgment sent {"connection_id":192844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:29] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:29] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:29] local.INFO: IMEI packet received {"connection_id":194199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":194199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:43:30] local.INFO: TCP Data received {"connection_id":192843,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:43:30] local.INFO: Processing buffer {"connection_id":192843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:43:30] local.INFO: Packet analysis {"connection_id":192843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:43:30] local.INFO: Extracted packet for processing {"connection_id":192843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43: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-25 22:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:43:30] 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":898220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:30] local.INFO: GPS data processed {"connection_id":192843,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:30] local.INFO: Acknowledgment sent {"connection_id":192843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:34] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:34] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:43:34] local.INFO: IMEI packet received {"connection_id":194199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":194199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:43:35] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:35] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:35] local.INFO: Packet analysis {"connection_id":194199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:35] local.INFO: Extracted packet for processing {"connection_id":194199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22: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-25 22:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43: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-25 22:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:43:35] 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":898221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:35] local.INFO: GPS data processed {"connection_id":194199,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:35] local.INFO: Acknowledgment sent {"connection_id":194199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:40] local.INFO: TCP Data received {"connection_id":194199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:40] local.INFO: Processing buffer {"connection_id":194199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:43:40] local.INFO: Packet analysis {"connection_id":194199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:40] local.INFO: Extracted packet for processing {"connection_id":194199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22: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-25 22:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:43: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-25 22:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:43:40] 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":898222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:40] local.INFO: GPS data processed {"connection_id":194199,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:40] local.INFO: Acknowledgment sent {"connection_id":194199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:54] local.INFO: TCP Data received {"connection_id":192844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:43:54] local.INFO: Processing buffer {"connection_id":192844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:43:54] local.INFO: Packet analysis {"connection_id":192844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:43:54] local.INFO: Extracted packet for processing {"connection_id":192844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:43:54] 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-25 22:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:43:54] 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-25 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:43:54] 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-25 22:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:43:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":192844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:43:54] local.INFO: GPS data processed {"connection_id":192844,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:43:54] local.INFO: Acknowledgment sent {"connection_id":192844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:43:58] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:43:58] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:43:58] local.INFO: IMEI packet received {"connection_id":194200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":194200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:44:03] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:03] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:03] local.INFO: IMEI packet received {"connection_id":194200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":194200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:44:04] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:04] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:04] local.INFO: Packet analysis {"connection_id":194200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:44:04] local.INFO: Extracted packet for processing {"connection_id":194200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:44:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:44:04] 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":898224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:44:04] local.INFO: GPS data processed {"connection_id":194200,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:44:04] local.INFO: Acknowledgment sent {"connection_id":194200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:44:09] local.INFO: TCP Data received {"connection_id":194200,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:09] local.INFO: Processing buffer {"connection_id":194200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:44:09] local.INFO: Packet analysis {"connection_id":194200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:44:09] local.INFO: Extracted packet for processing {"connection_id":194200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:44:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:44:09] 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":898225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:44:09] local.INFO: GPS data processed {"connection_id":194200,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:44:09] local.INFO: Acknowledgment sent {"connection_id":194200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:44:22] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:22] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:22] local.INFO: IMEI packet received {"connection_id":192694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":192694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:44:24] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:24] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:24] local.INFO: IMEI packet received {"connection_id":194201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":194201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:44:27] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:27] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:44:27] local.INFO: IMEI packet received {"connection_id":192694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":192694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:44:28] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:28] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:28] local.INFO: Packet analysis {"connection_id":192694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:44:28] local.INFO: Extracted packet for processing {"connection_id":192694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:28] 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-25 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22: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-25 22:44:28] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:44: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-25 22: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-25 22: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-25 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:44:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:44:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":192694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898226,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:44:28] local.INFO: GPS data processed {"connection_id":192694,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:44:28] local.INFO: Acknowledgment sent {"connection_id":192694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:44:29] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:29] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:44:29] local.INFO: IMEI packet received {"connection_id":194201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":194201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:44:30] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:44:30] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:44:30] local.INFO: Packet analysis {"connection_id":194201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:44:30] local.INFO: Extracted packet for processing {"connection_id":194201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:44:30] 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":898227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:44:30] local.INFO: GPS data processed {"connection_id":194201,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:44:30] local.INFO: Acknowledgment sent {"connection_id":194201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:44:53] local.INFO: TCP Data received {"connection_id":195557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:53] local.INFO: Processing buffer {"connection_id":195557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:53] local.INFO: IMEI packet received {"connection_id":195557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":195557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:44:58] local.INFO: TCP Data received {"connection_id":195557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:58] local.INFO: Processing buffer {"connection_id":195557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:44:58] local.INFO: IMEI packet received {"connection_id":195557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":195557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:44:59] local.INFO: TCP Data received {"connection_id":192694,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:59] local.INFO: Processing buffer {"connection_id":192694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:44:59] local.INFO: Packet analysis {"connection_id":192694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:44:59] local.INFO: Extracted packet for processing {"connection_id":192694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:44:59] 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-25 22:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22: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-25 22:44:59] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:44:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:44:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":192694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898228,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:44:59] local.INFO: GPS data processed {"connection_id":192694,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:44:59] local.INFO: Acknowledgment sent {"connection_id":192694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:00] local.INFO: TCP Data received {"connection_id":195557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:45:00] local.INFO: Processing buffer {"connection_id":195557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98b2510012d1969c0071ff170003f015227..."} 
[2026-09-25 22:45:00] local.INFO: Packet analysis {"connection_id":195557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:45:00] local.INFO: Extracted packet for processing {"connection_id":195557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98b"} 
[2026-09-25 22:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331102464001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790356170000,"timestamp_ms":1790356170000,"timestamp_seconds":1790356170,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98b2510"} 
[2026-09-25 22:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:45: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-25 22:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":195557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":195557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":195557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331102464001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331102464001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331102464001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":195557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:00] local.INFO: GPS data processed {"connection_id":195557,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:00] local.INFO: Acknowledgment sent {"connection_id":195557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:01] local.INFO: TCP Data received {"connection_id":194201,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:01] local.INFO: Processing buffer {"connection_id":194201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:01] local.INFO: Packet analysis {"connection_id":194201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:45:01] local.INFO: Extracted packet for processing {"connection_id":194201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45: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-25 22:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:45:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:45: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-25 22:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:45:01] 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":898230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:01] local.INFO: GPS data processed {"connection_id":194201,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:01] local.INFO: Acknowledgment sent {"connection_id":194201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:17] local.INFO: TCP Data received {"connection_id":195558,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:17] local.INFO: Processing buffer {"connection_id":195558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:17] local.INFO: IMEI packet received {"connection_id":195558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":195558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:45:22] local.INFO: TCP Data received {"connection_id":195558,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195558,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:22] local.INFO: Processing buffer {"connection_id":195558,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:45:22] local.INFO: IMEI packet received {"connection_id":195558,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":195558,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:45:23] local.INFO: TCP Data received {"connection_id":195558,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:23] local.INFO: Processing buffer {"connection_id":195558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:23] local.INFO: Packet analysis {"connection_id":195558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:23] local.INFO: Extracted packet for processing {"connection_id":195558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:23] 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-25 22:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22: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-25 22:45:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:45:23] 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-25 22: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-25 22: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-25 22:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":195558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898231,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:23] local.INFO: GPS data processed {"connection_id":195558,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:23] local.INFO: Acknowledgment sent {"connection_id":195558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:24] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:24] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:24] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:45:29] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:29] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:45:29] local.INFO: IMEI packet received {"connection_id":192845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:45:30] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:30] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:45:30] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:45:30] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22: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-25 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:45:30] local.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-25 22:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 22:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:45:30] 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":898232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:30] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:30] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:30] local.INFO: TCP Data received {"connection_id":195557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:30] local.INFO: Processing buffer {"connection_id":195557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:30] local.INFO: Packet analysis {"connection_id":195557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:30] local.INFO: Extracted packet for processing {"connection_id":195557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45: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-25 22:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22: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-25 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:45: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-25 22: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-25 22: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-25 22:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":195557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:31] local.INFO: GPS data processed {"connection_id":195557,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:31] local.INFO: Acknowledgment sent {"connection_id":195557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:54] local.INFO: TCP Data received {"connection_id":195559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:54] local.INFO: Processing buffer {"connection_id":195559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:54] local.INFO: IMEI packet received {"connection_id":195559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":195559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:45:54] local.INFO: TCP Data received {"connection_id":195558,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:54] local.INFO: Processing buffer {"connection_id":195558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:45:54] local.INFO: Packet analysis {"connection_id":195558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:54] local.INFO: Extracted packet for processing {"connection_id":195558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:54] 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-25 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:45:54] 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-25 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:45:54] 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-25 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195558,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":195558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898234,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:54] local.INFO: GPS data processed {"connection_id":195558,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:54] local.INFO: Acknowledgment sent {"connection_id":195558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:45:58] local.INFO: TCP Data received {"connection_id":195559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:58] local.INFO: Processing buffer {"connection_id":195559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:45:58] local.INFO: IMEI packet received {"connection_id":195559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":195559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:45:59] local.INFO: TCP Data received {"connection_id":195559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:59] local.INFO: Processing buffer {"connection_id":195559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:45:59] local.INFO: Packet analysis {"connection_id":195559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:59] local.INFO: Extracted packet for processing {"connection_id":195559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":195559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:45:59] local.INFO: GPS data processed {"connection_id":195559,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:45:59] local.INFO: Acknowledgment sent {"connection_id":195559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:01] local.INFO: TCP Data received {"connection_id":192845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:01] local.INFO: Processing buffer {"connection_id":192845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:01] local.INFO: Packet analysis {"connection_id":192845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:46:01] local.INFO: Extracted packet for processing {"connection_id":192845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46: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-25 22:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22: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-25 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:46:01] local.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-25 22:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 22:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:46:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:46: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-25 22:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:46:01] 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":898236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:01] local.INFO: GPS data processed {"connection_id":192845,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:01] local.INFO: Acknowledgment sent {"connection_id":192845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:17] local.INFO: TCP Data received {"connection_id":195560,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:17] local.INFO: Processing buffer {"connection_id":195560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:17] local.INFO: IMEI packet received {"connection_id":195560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":195560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:46:22] local.INFO: TCP Data received {"connection_id":195560,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195560,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:22] local.INFO: Processing buffer {"connection_id":195560,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:46:22] local.INFO: IMEI packet received {"connection_id":195560,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":195560,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:46:23] local.INFO: TCP Data received {"connection_id":195560,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:23] local.INFO: Processing buffer {"connection_id":195560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:23] local.INFO: Packet analysis {"connection_id":195560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:23] local.INFO: Extracted packet for processing {"connection_id":195560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:23] 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-25 22:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:46:23] 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-25 22:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:46:23] 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-25 22:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:46:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":195560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:23] local.INFO: GPS data processed {"connection_id":195560,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:23] local.INFO: Acknowledgment sent {"connection_id":195560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:24] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:24] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:24] local.INFO: IMEI packet received {"connection_id":194203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":194203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:46:29] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:29] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:46:29] local.INFO: IMEI packet received {"connection_id":194203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":194203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:46:30] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:30] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:46:30] local.INFO: Packet analysis {"connection_id":194203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:46:30] local.INFO: Extracted packet for processing {"connection_id":194203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22: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-25 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:46:30] 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":898238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:30] local.INFO: GPS data processed {"connection_id":194203,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:30] local.INFO: Acknowledgment sent {"connection_id":194203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:30] local.INFO: TCP Data received {"connection_id":195559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:30] local.INFO: Processing buffer {"connection_id":195559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:30] local.INFO: Packet analysis {"connection_id":195559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:30] local.INFO: Extracted packet for processing {"connection_id":195559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46: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-25 22:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22: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-25 22:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:46: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-25 22: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-25 22: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-25 22:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":195559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:30] local.INFO: GPS data processed {"connection_id":195559,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:30] local.INFO: Acknowledgment sent {"connection_id":195559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:53] local.INFO: TCP Data received {"connection_id":195561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:53] local.INFO: Processing buffer {"connection_id":195561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:53] local.INFO: IMEI packet received {"connection_id":195561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":195561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:46:54] local.INFO: TCP Data received {"connection_id":195560,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:54] local.INFO: Processing buffer {"connection_id":195560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:46:54] local.INFO: Packet analysis {"connection_id":195560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:54] local.INFO: Extracted packet for processing {"connection_id":195560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:54] 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-25 22:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:46:54] 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-25 22:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:46:54] 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-25 22:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195560,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:46:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":195560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898240,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:54] local.INFO: GPS data processed {"connection_id":195560,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:54] local.INFO: Acknowledgment sent {"connection_id":195560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:46:58] local.INFO: TCP Data received {"connection_id":195561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:58] local.INFO: Processing buffer {"connection_id":195561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:46:58] local.INFO: IMEI packet received {"connection_id":195561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":195561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:46:59] local.INFO: TCP Data received {"connection_id":195561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:59] local.INFO: Processing buffer {"connection_id":195561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:46:59] local.INFO: Packet analysis {"connection_id":195561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:59] local.INFO: Extracted packet for processing {"connection_id":195561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:46: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-25 22:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":195561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:46:59] local.INFO: GPS data processed {"connection_id":195561,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:46:59] local.INFO: Acknowledgment sent {"connection_id":195561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:03] local.INFO: TCP Data received {"connection_id":194203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:47:03] local.INFO: Processing buffer {"connection_id":194203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98d0970012d34c14006aa49080005006e2a..."} 
[2026-09-25 22:47:03] local.INFO: Packet analysis {"connection_id":194203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:47:03] local.INFO: Extracted packet for processing {"connection_id":194203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98d"} 
[2026-09-25 22:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331134208001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47: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-25 22:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790356294000,"timestamp_ms":1790356294000,"timestamp_seconds":1790356294,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98d0970"} 
[2026-09-25 22:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 22:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331134208001,"66":25397,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331134208001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:47: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-25 22:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331134208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:47:03] 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":898242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:03] local.INFO: GPS data processed {"connection_id":194203,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:03] local.INFO: Acknowledgment sent {"connection_id":194203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:17] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:17] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:17] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:47:22] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:22] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:47:22] local.INFO: IMEI packet received {"connection_id":192846,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":192846,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:47:23] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:23] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:23] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:23] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:23] 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-25 22:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:23] 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-25 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:47:23] 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-25 22:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:47:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:47:23] 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":898243,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:23] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:23] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:24] local.INFO: TCP Data received {"connection_id":195562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:24] local.INFO: Processing buffer {"connection_id":195562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:24] local.INFO: IMEI packet received {"connection_id":195562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":195562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:47:29] local.INFO: TCP Data received {"connection_id":195562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:29] local.INFO: Processing buffer {"connection_id":195562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:47:29] local.INFO: IMEI packet received {"connection_id":195562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":195562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:47:30] local.INFO: TCP Data received {"connection_id":195562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:47:30] local.INFO: Processing buffer {"connection_id":195562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:47:30] local.INFO: Packet analysis {"connection_id":195562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:47:30] local.INFO: Extracted packet for processing {"connection_id":195562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:30] 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-25 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":195562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:30] local.INFO: GPS data processed {"connection_id":195562,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:30] local.INFO: Acknowledgment sent {"connection_id":195562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:30] local.INFO: TCP Data received {"connection_id":195561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:30] local.INFO: Processing buffer {"connection_id":195561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:30] local.INFO: Packet analysis {"connection_id":195561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:30] local.INFO: Extracted packet for processing {"connection_id":195561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47: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-25 22:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:47: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-25 22:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":195561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:30] local.INFO: GPS data processed {"connection_id":195561,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:30] local.INFO: Acknowledgment sent {"connection_id":195561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:33] local.INFO: TCP Data received {"connection_id":194204,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:47:33] local.INFO: Processing buffer {"connection_id":194204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:47:33] local.INFO: IMEI packet received {"connection_id":194204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":194204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:47:53] local.INFO: TCP Data received {"connection_id":195563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:53] local.INFO: Processing buffer {"connection_id":195563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:53] local.INFO: IMEI packet received {"connection_id":195563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":195563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:47:54] local.INFO: TCP Data received {"connection_id":192846,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:54] local.INFO: Processing buffer {"connection_id":192846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:47:54] local.INFO: Packet analysis {"connection_id":192846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:54] local.INFO: Extracted packet for processing {"connection_id":192846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:47: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-25 22:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:54] 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-25 22:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:54] 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-25 22:47: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:47:54] 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-25 22:47: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-25 22:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192846,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:47:55] 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":898246,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:55] local.INFO: GPS data processed {"connection_id":192846,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:55] local.INFO: Acknowledgment sent {"connection_id":192846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:47:58] local.INFO: TCP Data received {"connection_id":195563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:58] local.INFO: Processing buffer {"connection_id":195563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:47:58] local.INFO: IMEI packet received {"connection_id":195563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":195563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:47:59] local.INFO: TCP Data received {"connection_id":195563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:59] local.INFO: Processing buffer {"connection_id":195563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:47:59] local.INFO: Packet analysis {"connection_id":195563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:59] local.INFO: Extracted packet for processing {"connection_id":195563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:47: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-25 22:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:47:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":195563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:47:59] local.INFO: GPS data processed {"connection_id":195563,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:47:59] local.INFO: Acknowledgment sent {"connection_id":195563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:01] local.INFO: TCP Data received {"connection_id":195562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:01] local.INFO: Processing buffer {"connection_id":195562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:01] local.INFO: Packet analysis {"connection_id":195562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:48:01] local.INFO: Extracted packet for processing {"connection_id":195562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:48:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48: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-25 22:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:48:01] 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-25 22:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:48:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:48:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:48: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-25 22:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":195562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:48:01] local.INFO: GPS data processed {"connection_id":195562,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:48:01] local.INFO: Acknowledgment sent {"connection_id":195562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:03] local.INFO: TCP Data received {"connection_id":192847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:48:03] local.INFO: Processing buffer {"connection_id":192847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:48:03] local.INFO: IMEI packet received {"connection_id":192847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":192847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:48:22] local.INFO: TCP Data received {"connection_id":195564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:22] local.INFO: Processing buffer {"connection_id":195564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:22] local.INFO: IMEI packet received {"connection_id":195564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":195564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:48:24] local.INFO: TCP Data received {"connection_id":195565,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:24] local.INFO: Processing buffer {"connection_id":195565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:24] local.INFO: IMEI packet received {"connection_id":195565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":195565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:48:27] local.INFO: TCP Data received {"connection_id":195564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:27] local.INFO: Processing buffer {"connection_id":195564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:48:27] local.INFO: IMEI packet received {"connection_id":195564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":195564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:48:28] local.INFO: TCP Data received {"connection_id":195564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:28] local.INFO: Processing buffer {"connection_id":195564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:28] local.INFO: Packet analysis {"connection_id":195564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:28] local.INFO: Extracted packet for processing {"connection_id":195564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:28] 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-25 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 22:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:48:28] 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-25 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:48: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-25 22:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:48:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:48:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":195564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898249,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:48:28] local.INFO: GPS data processed {"connection_id":195564,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:48:28] local.INFO: Acknowledgment sent {"connection_id":195564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:29] local.INFO: TCP Data received {"connection_id":195565,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:29] local.INFO: Processing buffer {"connection_id":195565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:48:29] local.INFO: IMEI packet received {"connection_id":195565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":195565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:48:30] local.INFO: TCP Data received {"connection_id":195565,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:30] local.INFO: Processing buffer {"connection_id":195565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:48:30] local.INFO: Packet analysis {"connection_id":195565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:48:30] local.INFO: Extracted packet for processing {"connection_id":195565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:48:30] 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-25 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":195565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:48:30] local.INFO: GPS data processed {"connection_id":195565,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:48:30] local.INFO: Acknowledgment sent {"connection_id":195565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:30] local.INFO: TCP Data received {"connection_id":195563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:48:30] local.INFO: Processing buffer {"connection_id":195563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:48:30] local.INFO: Packet analysis {"connection_id":195563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:30] local.INFO: Extracted packet for processing {"connection_id":195563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48: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-25 22:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:48: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-25 22:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":195563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:48:30] local.INFO: GPS data processed {"connection_id":195563,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:48:30] local.INFO: Acknowledgment sent {"connection_id":195563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:33] local.INFO: TCP Data received {"connection_id":195564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:33] local.INFO: Processing buffer {"connection_id":195564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98f10f8012d0b10c007029f10000e013d1b..."} 
[2026-09-25 22:48:33] local.INFO: Packet analysis {"connection_id":195564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:33] local.INFO: Extracted packet for processing {"connection_id":195564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:48:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":14,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 22:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331168256001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:48:33] 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-25 22:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790356427000,"timestamp_ms":1790356427000,"timestamp_seconds":1790356427,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98f10f8"} 
[2026-09-25 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-25 22:48:33] 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-25 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:48:33] 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-25 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-25 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-25 22:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":195564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":195564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":195564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331168256001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331168256001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:48:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:48:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331168256001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":195564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:48:33] local.INFO: GPS data processed {"connection_id":195564,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:48:33] local.INFO: Acknowledgment sent {"connection_id":195564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:48:58] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:48:58] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:48:58] local.INFO: IMEI packet received {"connection_id":194205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":194205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:49:01] local.INFO: TCP Data received {"connection_id":195565,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:01] local.INFO: Processing buffer {"connection_id":195565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:01] local.INFO: Packet analysis {"connection_id":195565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:49:01] local.INFO: Extracted packet for processing {"connection_id":195565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49: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-25 22:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:49:01] 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-25 22:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:49:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:49: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-25 22:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":195565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:01] local.INFO: GPS data processed {"connection_id":195565,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:01] local.INFO: Acknowledgment sent {"connection_id":195565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:03] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:03] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:03] local.INFO: IMEI packet received {"connection_id":194205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":194205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:49:04] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:04] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:04] local.INFO: Packet analysis {"connection_id":194205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:04] local.INFO: Extracted packet for processing {"connection_id":194205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22: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-25 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:49:04] 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":898254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:04] local.INFO: GPS data processed {"connection_id":194205,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:04] local.INFO: Acknowledgment sent {"connection_id":194205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:09] local.INFO: TCP Data received {"connection_id":194205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:09] local.INFO: Processing buffer {"connection_id":194205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:09] local.INFO: Packet analysis {"connection_id":194205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:09] local.INFO: Extracted packet for processing {"connection_id":194205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22: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-25 22:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 22:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:49:09] 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":898255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:09] local.INFO: GPS data processed {"connection_id":194205,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:09] local.INFO: Acknowledgment sent {"connection_id":194205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:17] local.INFO: TCP Data received {"connection_id":195566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:17] local.INFO: Processing buffer {"connection_id":195566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:17] local.INFO: IMEI packet received {"connection_id":195566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":195566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:49:22] local.INFO: TCP Data received {"connection_id":195566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:22] local.INFO: Processing buffer {"connection_id":195566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:49:22] local.INFO: IMEI packet received {"connection_id":195566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":195566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:49:23] local.INFO: TCP Data received {"connection_id":195566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:23] local.INFO: Processing buffer {"connection_id":195566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:23] local.INFO: Packet analysis {"connection_id":195566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:49:23] local.INFO: Extracted packet for processing {"connection_id":195566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:23] 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-25 22:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:49:23] 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-25 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:23] 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-25 22:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:49:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":195566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:23] local.INFO: GPS data processed {"connection_id":195566,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:23] local.INFO: Acknowledgment sent {"connection_id":195566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:24] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:24] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:24] local.INFO: IMEI packet received {"connection_id":192848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":192848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:49:29] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:29] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:49:29] local.INFO: IMEI packet received {"connection_id":192848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":192848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:49:30] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:30] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:49:30] local.INFO: Packet analysis {"connection_id":192848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:49:30] local.INFO: Extracted packet for processing {"connection_id":192848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:49:30] 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-25 22:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:49:30] 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":898257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:30] local.INFO: GPS data processed {"connection_id":192848,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:30] local.INFO: Acknowledgment sent {"connection_id":192848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:53] local.INFO: TCP Data received {"connection_id":195567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:53] local.INFO: Processing buffer {"connection_id":195567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:53] local.INFO: IMEI packet received {"connection_id":195567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":195567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:49:54] local.INFO: TCP Data received {"connection_id":195566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:54] local.INFO: Processing buffer {"connection_id":195566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:49:54] local.INFO: Packet analysis {"connection_id":195566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:49:54] local.INFO: Extracted packet for processing {"connection_id":195566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:49: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-25 22:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:54] 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-25 22:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:49:54] 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-25 22:49: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:54] 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-25 22:49: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-25 22:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:49:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":195566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:54] local.INFO: GPS data processed {"connection_id":195566,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:54] local.INFO: Acknowledgment sent {"connection_id":195566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:49:58] local.INFO: TCP Data received {"connection_id":195567,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:58] local.INFO: Processing buffer {"connection_id":195567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:49:58] local.INFO: IMEI packet received {"connection_id":195567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":195567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:49:59] local.INFO: TCP Data received {"connection_id":195567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:59] local.INFO: Processing buffer {"connection_id":195567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d98fbcd8012d1969c0071ff170003f015225..."} 
[2026-09-25 22:49:59] local.INFO: Packet analysis {"connection_id":195567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:59] local.INFO: Extracted packet for processing {"connection_id":195567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d98f"} 
[2026-09-25 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331179520001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:49: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-25 22:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356471000,"timestamp_ms":1790356471000,"timestamp_seconds":1790356471,"priority":1,"record_length":96,"hex_timestamp":"000001a0d98fbcd8"} 
[2026-09-25 22:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331179520001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331179520001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:49:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331179520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":195567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:49:59] local.INFO: GPS data processed {"connection_id":195567,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:49:59] local.INFO: Acknowledgment sent {"connection_id":195567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:02] local.INFO: TCP Data received {"connection_id":192848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:02] local.INFO: Processing buffer {"connection_id":192848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:02] local.INFO: Packet analysis {"connection_id":192848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:50:02] local.INFO: Extracted packet for processing {"connection_id":192848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50: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-25 22:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:50:02] 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-25 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:50: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-25 22:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:50:02] 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":898260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:02] local.INFO: GPS data processed {"connection_id":192848,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:02] local.INFO: Acknowledgment sent {"connection_id":192848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:17] local.INFO: TCP Data received {"connection_id":195568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:17] local.INFO: Processing buffer {"connection_id":195568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:17] local.INFO: IMEI packet received {"connection_id":195568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":195568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:50:22] local.INFO: TCP Data received {"connection_id":195568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:22] local.INFO: Processing buffer {"connection_id":195568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:50:22] local.INFO: IMEI packet received {"connection_id":195568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":195568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:50:23] local.INFO: TCP Data received {"connection_id":195568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:23] local.INFO: Processing buffer {"connection_id":195568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:23] local.INFO: Packet analysis {"connection_id":195568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:50:23] local.INFO: Extracted packet for processing {"connection_id":195568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:50: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-25 22:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:23] 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-25 22:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:50:23] 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-25 22:50: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:50:23] 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-25 22:50: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-25 22:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:50:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":195568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:23] local.INFO: GPS data processed {"connection_id":195568,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:23] local.INFO: Acknowledgment sent {"connection_id":195568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:24] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:24] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:24] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:50:29] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:29] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:50:29] local.INFO: IMEI packet received {"connection_id":192697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":192697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:50:30] local.INFO: TCP Data received {"connection_id":195567,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:30] local.INFO: Processing buffer {"connection_id":195567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:30] local.INFO: Packet analysis {"connection_id":195567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:50:30] local.INFO: Extracted packet for processing {"connection_id":195567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50: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-25 22:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:50: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-25 22:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":195567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:30] local.INFO: GPS data processed {"connection_id":195567,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:30] local.INFO: Acknowledgment sent {"connection_id":195567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:30] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:30] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:50:30] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:50:30] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:50:30] 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-25 22:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:50:30] 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":898263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:30] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:30] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:53] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:53] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:53] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:50:54] local.INFO: TCP Data received {"connection_id":195568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:55] local.INFO: Processing buffer {"connection_id":195568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:50:55] local.INFO: Packet analysis {"connection_id":195568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:50:55] local.INFO: Extracted packet for processing {"connection_id":195568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:50:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:55] 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-25 22:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22: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-25 22:50:55] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:50:55] 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-25 22: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-25 22: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-25 22:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":195568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:55] local.INFO: GPS data processed {"connection_id":195568,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:55] local.INFO: Acknowledgment sent {"connection_id":195568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:50:58] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:58] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:50:58] local.INFO: IMEI packet received {"connection_id":192849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":192849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:50:59] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:59] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:50:59] local.INFO: Packet analysis {"connection_id":192849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:50:59] local.INFO: Extracted packet for processing {"connection_id":192849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:50: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-25 22:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:50:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":192849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:50:59] local.INFO: GPS data processed {"connection_id":192849,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:50:59] local.INFO: Acknowledgment sent {"connection_id":192849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:01] local.INFO: TCP Data received {"connection_id":192697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:01] local.INFO: Processing buffer {"connection_id":192697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:01] local.INFO: Packet analysis {"connection_id":192697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:51:01] local.INFO: Extracted packet for processing {"connection_id":192697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51: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-25 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:01] 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-25 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:51:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:51: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-25 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:51:01] 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":898266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:01] local.INFO: GPS data processed {"connection_id":192697,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:01] local.INFO: Acknowledgment sent {"connection_id":192697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:17] local.INFO: TCP Data received {"connection_id":195570,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:17] local.INFO: Processing buffer {"connection_id":195570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:17] local.INFO: IMEI packet received {"connection_id":195570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":195570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:51:22] local.INFO: TCP Data received {"connection_id":195570,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195570,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:22] local.INFO: Processing buffer {"connection_id":195570,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:51:22] local.INFO: IMEI packet received {"connection_id":195570,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":195570,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:51:24] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:24] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:24] local.INFO: IMEI packet received {"connection_id":192850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":192850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:51:26] local.INFO: TCP Data received {"connection_id":195570,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:26] local.INFO: Processing buffer {"connection_id":195570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:26] local.INFO: Packet analysis {"connection_id":195570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:51:26] local.INFO: Extracted packet for processing {"connection_id":195570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:51: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-25 22:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:26] 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-25 22:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:26] 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-25 22:51: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:51:26] 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-25 22:51: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-25 22:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":195570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:27] local.INFO: GPS data processed {"connection_id":195570,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:27] local.INFO: Acknowledgment sent {"connection_id":195570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:29] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:29] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:51:29] local.INFO: IMEI packet received {"connection_id":192850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:51:30] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:30] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:51:30] local.INFO: Packet analysis {"connection_id":192850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:51:30] local.INFO: Extracted packet for processing {"connection_id":192850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:30] 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-25 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:51:30] local.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-25 22:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:51:30] 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":898268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:30] local.INFO: GPS data processed {"connection_id":192850,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:30] local.INFO: Acknowledgment sent {"connection_id":192850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:30] local.INFO: TCP Data received {"connection_id":192849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:30] local.INFO: Processing buffer {"connection_id":192849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:30] local.INFO: Packet analysis {"connection_id":192849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:51:30] local.INFO: Extracted packet for processing {"connection_id":192849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51: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-25 22:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:51: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-25 22:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":192849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:30] local.INFO: GPS data processed {"connection_id":192849,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:30] local.INFO: Acknowledgment sent {"connection_id":192849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:53] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:53] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:53] local.INFO: IMEI packet received {"connection_id":194207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":194207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:51:58] local.INFO: TCP Data received {"connection_id":195570,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:58] local.INFO: Processing buffer {"connection_id":195570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:51:58] local.INFO: Packet analysis {"connection_id":195570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:51:58] local.INFO: Extracted packet for processing {"connection_id":195570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:58] 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-25 22:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:58] 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-25 22:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:51:58] 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-25 22:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195570,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:51:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":195570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:58] local.INFO: GPS data processed {"connection_id":195570,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:58] local.INFO: Acknowledgment sent {"connection_id":195570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:51:58] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:58] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:51:58] local.INFO: IMEI packet received {"connection_id":194207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":194207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:51:59] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:59] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:51:59] local.INFO: Packet analysis {"connection_id":194207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:51:59] local.INFO: Extracted packet for processing {"connection_id":194207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:51: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-25 22:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:51:59] 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":898271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:51:59] local.INFO: GPS data processed {"connection_id":194207,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:51:59] local.INFO: Acknowledgment sent {"connection_id":194207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:02] local.INFO: TCP Data received {"connection_id":192850,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:52:02] local.INFO: Processing buffer {"connection_id":192850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d991a138012d34c14006aa49080007006e2a..."} 
[2026-09-25 22:52:02] local.INFO: Packet analysis {"connection_id":192850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:52:02] local.INFO: Extracted packet for processing {"connection_id":192850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d991"} 
[2026-09-25 22:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331211264001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52: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-25 22:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790356595000,"timestamp_ms":1790356595000,"timestamp_seconds":1790356595,"priority":1,"record_length":96,"hex_timestamp":"000001a0d991a138"} 
[2026-09-25 22:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:52:02] 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-25 22:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-25 22:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:52:02] local.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-25 22:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331211264001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331211264001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:52:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:52: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-25 22:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331211264001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:52:02] 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":898272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:52:02] local.INFO: GPS data processed {"connection_id":192850,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:52:02] local.INFO: Acknowledgment sent {"connection_id":192850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:17] local.INFO: TCP Data received {"connection_id":195571,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:17] local.INFO: Processing buffer {"connection_id":195571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:17] local.INFO: IMEI packet received {"connection_id":195571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":195571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:52:22] local.INFO: TCP Data received {"connection_id":195571,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:22] local.INFO: Processing buffer {"connection_id":195571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:52:22] local.INFO: IMEI packet received {"connection_id":195571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":195571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:52:23] local.INFO: TCP Data received {"connection_id":195571,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:23] local.INFO: Processing buffer {"connection_id":195571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:23] local.INFO: Packet analysis {"connection_id":195571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:52:23] local.INFO: Extracted packet for processing {"connection_id":195571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:23] 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-25 22:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22: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-25 22:52:23] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:52:23] 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-25 22: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-25 22: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-25 22:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:52: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-25 22:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":195571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:52:23] local.INFO: GPS data processed {"connection_id":195571,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:52:23] local.INFO: Acknowledgment sent {"connection_id":195571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:24] local.INFO: TCP Data received {"connection_id":194208,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:24] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:24] local.INFO: IMEI packet received {"connection_id":194208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":194208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:52:29] local.INFO: TCP Data received {"connection_id":194208,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:29] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:52:29] local.INFO: IMEI packet received {"connection_id":194208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":194208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:52:30] local.INFO: TCP Data received {"connection_id":194208,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:52:30] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:52:30] local.INFO: Packet analysis {"connection_id":194208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:52:30] local.INFO: Extracted packet for processing {"connection_id":194208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:52:30] 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-25 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:52:30] 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-25 22:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:52:30] 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-25 22:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:52:30] 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":898274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:52:30] local.INFO: GPS data processed {"connection_id":194208,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:52:30] local.INFO: Acknowledgment sent {"connection_id":194208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:30] local.INFO: TCP Data received {"connection_id":194207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:52:30] local.INFO: Processing buffer {"connection_id":194207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:52:30] local.INFO: Packet analysis {"connection_id":194207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:52:30] local.INFO: Extracted packet for processing {"connection_id":194207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52: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-25 22:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:52:30] 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":898275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:52:30] local.INFO: GPS data processed {"connection_id":194207,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:52:30] local.INFO: Acknowledgment sent {"connection_id":194207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:54] local.INFO: TCP Data received {"connection_id":195571,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:54] local.INFO: Processing buffer {"connection_id":195571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:52:54] local.INFO: Packet analysis {"connection_id":195571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:52:54] local.INFO: Extracted packet for processing {"connection_id":195571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:52:54] 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-25 22:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22: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-25 22:52:54] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:52:54] 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-25 22: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-25 22: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-25 22:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:52:54] 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-25 22:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:52:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":195571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:52:55] local.INFO: GPS data processed {"connection_id":195571,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:52:55] local.INFO: Acknowledgment sent {"connection_id":195571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:52:58] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:52:58] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:52:58] local.INFO: IMEI packet received {"connection_id":192851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":192851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:53:03] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:03] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:03] local.INFO: IMEI packet received {"connection_id":192851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":192851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:53:04] local.INFO: TCP Data received {"connection_id":194208,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:04] local.INFO: Processing buffer {"connection_id":194208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:04] local.INFO: Packet analysis {"connection_id":194208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:53:04] local.INFO: Extracted packet for processing {"connection_id":194208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22: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-25 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:53: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-25 22:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22: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-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:53:04] 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":898277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:04] local.INFO: GPS data processed {"connection_id":194208,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:04] local.INFO: Acknowledgment sent {"connection_id":194208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:04] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:04] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:04] local.INFO: Packet analysis {"connection_id":192851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:04] local.INFO: Extracted packet for processing {"connection_id":192851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22: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-25 22:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22: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-25 22: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-25 22:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:53:04] 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":898278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:04] local.INFO: GPS data processed {"connection_id":192851,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:04] local.INFO: Acknowledgment sent {"connection_id":192851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:09] local.INFO: TCP Data received {"connection_id":192851,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:09] local.INFO: Processing buffer {"connection_id":192851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:09] local.INFO: Packet analysis {"connection_id":192851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:09] local.INFO: Extracted packet for processing {"connection_id":192851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:53:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:53:09] 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":898279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:09] local.INFO: GPS data processed {"connection_id":192851,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:09] local.INFO: Acknowledgment sent {"connection_id":192851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:24] local.INFO: TCP Data received {"connection_id":195572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:24] local.INFO: Processing buffer {"connection_id":195572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:24] local.INFO: IMEI packet received {"connection_id":195572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":195572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:53:25] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:25] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:25] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:53:27] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:27] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:53:27] local.INFO: IMEI packet received {"connection_id":192700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":192700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:53:27] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:27] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:27] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:53:27] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:27] 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-25 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22: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-25 22:53: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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22: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-25 22: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-25 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:53:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:53:28] 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":898280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:28] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:28] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:28] local.INFO: TCP Data received {"connection_id":192699,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:53:28] local.INFO: Processing buffer {"connection_id":192699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:53:28] local.INFO: IMEI packet received {"connection_id":192699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":192699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:53:29] local.INFO: TCP Data received {"connection_id":195572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:29] local.INFO: Processing buffer {"connection_id":195572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:53:29] local.INFO: IMEI packet received {"connection_id":195572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":195572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:53:30] local.INFO: TCP Data received {"connection_id":195572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:30] local.INFO: Processing buffer {"connection_id":195572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:53:30] local.INFO: Packet analysis {"connection_id":195572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:53:30] local.INFO: Extracted packet for processing {"connection_id":195572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:53:30] 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-25 22:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:30] 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-25 22:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:53:30] 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-25 22:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":195572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:30] local.INFO: GPS data processed {"connection_id":195572,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:30] local.INFO: Acknowledgment sent {"connection_id":195572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:33] local.INFO: TCP Data received {"connection_id":192700,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:33] local.INFO: Processing buffer {"connection_id":192700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d993a8c0012d0b10c007029f10000c013d21..."} 
[2026-09-25 22:53:33] local.INFO: Packet analysis {"connection_id":192700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:53:33] local.INFO: Extracted packet for processing {"connection_id":192700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d993"} 
[2026-09-25 22:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331245312001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:33] 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-25 22:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790356728000,"timestamp_ms":1790356728000,"timestamp_seconds":1790356728,"priority":1,"record_length":96,"hex_timestamp":"000001a0d993a8c0"} 
[2026-09-25 22: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-25 22:53:33] 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-25 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:33] 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-25 22: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-25 22: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-25 22:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331245312001,"66":12548,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331245312001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:53:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331245312001,"power":12548,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:53:33] 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":898282,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:33] local.INFO: GPS data processed {"connection_id":192700,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:33] local.INFO: Acknowledgment sent {"connection_id":192700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:53:53] local.INFO: TCP Data received {"connection_id":195573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:53] local.INFO: Processing buffer {"connection_id":195573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:53] local.INFO: IMEI packet received {"connection_id":195573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":195573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:53:58] local.INFO: TCP Data received {"connection_id":195573,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:58] local.INFO: Processing buffer {"connection_id":195573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:53:58] local.INFO: IMEI packet received {"connection_id":195573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":195573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:53:59] local.INFO: TCP Data received {"connection_id":195573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:59] local.INFO: Processing buffer {"connection_id":195573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:53:59] local.INFO: Packet analysis {"connection_id":195573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:59] local.INFO: Extracted packet for processing {"connection_id":195573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:53: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-25 22:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:53:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":195573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:53:59] local.INFO: GPS data processed {"connection_id":195573,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:53:59] local.INFO: Acknowledgment sent {"connection_id":195573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:02] local.INFO: TCP Data received {"connection_id":195572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:02] local.INFO: Processing buffer {"connection_id":195572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:02] local.INFO: Packet analysis {"connection_id":195572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:54:02] local.INFO: Extracted packet for processing {"connection_id":195572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54: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-25 22:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:02] 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-25 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:54:02] 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-25 22:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:54:02] 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-25 22:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:54: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-25 22:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":195572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:02] local.INFO: GPS data processed {"connection_id":195572,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:02] local.INFO: Acknowledgment sent {"connection_id":195572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:03] local.INFO: TCP Data received {"connection_id":195574,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:54:03] local.INFO: Processing buffer {"connection_id":195574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:54:03] local.INFO: IMEI packet received {"connection_id":195574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":195574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:54:22] local.INFO: TCP Data received {"connection_id":194209,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:22] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:22] local.INFO: IMEI packet received {"connection_id":194209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":194209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:54:24] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:24] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:24] local.INFO: IMEI packet received {"connection_id":194210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":194210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:54:27] local.INFO: TCP Data received {"connection_id":194209,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:27] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:54:27] local.INFO: IMEI packet received {"connection_id":194209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":194209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:54:28] local.INFO: TCP Data received {"connection_id":194209,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:28] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:28] local.INFO: Packet analysis {"connection_id":194209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:54:28] local.INFO: Extracted packet for processing {"connection_id":194209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] 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-25 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:28] 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-25 22:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:54:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:54:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:54:28] 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":898285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:28] local.INFO: GPS data processed {"connection_id":194209,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:28] local.INFO: Acknowledgment sent {"connection_id":194209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:29] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:29] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:54:29] local.INFO: IMEI packet received {"connection_id":194210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":194210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:54:30] local.INFO: TCP Data received {"connection_id":195573,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:30] local.INFO: Processing buffer {"connection_id":195573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:30] local.INFO: Packet analysis {"connection_id":195573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:54:30] local.INFO: Extracted packet for processing {"connection_id":195573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54: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-25 22:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:54: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-25 22:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:54:30] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:30] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:54:30] local.INFO: Packet analysis {"connection_id":194210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:54:30] local.INFO: Extracted packet for processing {"connection_id":194210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:30] 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-25 22:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:54:30] 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-25 22:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:54:30] 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-25 22:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:54:30] 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":898286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:30] local.INFO: GPS data processed {"connection_id":194210,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:30] local.INFO: Acknowledgment sent {"connection_id":194210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":195573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:30] local.INFO: GPS data processed {"connection_id":195573,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:30] local.INFO: Acknowledgment sent {"connection_id":195573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:53] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:53] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:53] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:54:58] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:58] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:54:58] local.INFO: IMEI packet received {"connection_id":192852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":192852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:54:59] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:59] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99454a0012d1969c0071ff170003f015226..."} 
[2026-09-25 22:54:59] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:54:59] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d994"} 
[2026-09-25 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331256576001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54: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-25 22:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790356772000,"timestamp_ms":1790356772000,"timestamp_seconds":1790356772,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99454a0"} 
[2026-09-25 22:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331256576001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331256576001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331256576001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:54:59] local.INFO: TCP Data received {"connection_id":194209,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:59] local.INFO: Processing buffer {"connection_id":194209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:54:59] local.INFO: Packet analysis {"connection_id":194209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:54:59] local.INFO: Extracted packet for processing {"connection_id":194209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] 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-25 22:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:54:59] 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-25 22:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:54:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:54:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194209,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:54:59] 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":898288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:59] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:59] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:54:59] 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":898289,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:54:59] local.INFO: GPS data processed {"connection_id":194209,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:54:59] local.INFO: Acknowledgment sent {"connection_id":194209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:02] local.INFO: TCP Data received {"connection_id":194210,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:02] local.INFO: Processing buffer {"connection_id":194210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:02] local.INFO: Packet analysis {"connection_id":194210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:55:02] local.INFO: Extracted packet for processing {"connection_id":194210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55: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-25 22:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:02] 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-25 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:55:02] 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-25 22:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:55:02] 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-25 22:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:55: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-25 22:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:55:02] 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":898290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:02] local.INFO: GPS data processed {"connection_id":194210,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:02] local.INFO: Acknowledgment sent {"connection_id":194210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:17] local.INFO: TCP Data received {"connection_id":192853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:17] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:17] local.INFO: IMEI packet received {"connection_id":192853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":192853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:55:22] local.INFO: TCP Data received {"connection_id":192853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:22] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:55:22] local.INFO: IMEI packet received {"connection_id":192853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":192853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:55:24] local.INFO: TCP Data received {"connection_id":192853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:24] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:24] local.INFO: Packet analysis {"connection_id":192853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:24] local.INFO: Extracted packet for processing {"connection_id":192853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] 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-25 22:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:24] 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-25 22:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:24] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:55:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:55:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:55:24] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:24] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:24] local.INFO: IMEI packet received {"connection_id":192701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":192701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:55:24] 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":898291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:24] local.INFO: GPS data processed {"connection_id":192853,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:24] local.INFO: Acknowledgment sent {"connection_id":192853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:29] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:29] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:55:29] local.INFO: IMEI packet received {"connection_id":192701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":192701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:55:30] local.INFO: TCP Data received {"connection_id":192852,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:30] local.INFO: Processing buffer {"connection_id":192852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:30] local.INFO: Packet analysis {"connection_id":192852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:30] local.INFO: Extracted packet for processing {"connection_id":192852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55: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-25 22:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:55:30] 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":898292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:30] local.INFO: GPS data processed {"connection_id":192852,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:30] local.INFO: Acknowledgment sent {"connection_id":192852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:30] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:30] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:55:30] local.INFO: Packet analysis {"connection_id":192701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:55:30] local.INFO: Extracted packet for processing {"connection_id":192701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:30] 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-25 22:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:55:30] 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-25 22:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:55:30] 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-25 22:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":192701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:30] local.INFO: GPS data processed {"connection_id":192701,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:30] local.INFO: Acknowledgment sent {"connection_id":192701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:53] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:53] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:53] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:55:55] local.INFO: TCP Data received {"connection_id":192853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:55] local.INFO: Processing buffer {"connection_id":192853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:55:55] local.INFO: Packet analysis {"connection_id":192853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:55] local.INFO: Extracted packet for processing {"connection_id":192853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] 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-25 22:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:55] 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-25 22:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:55:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:55:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:55:55] 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":898294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:55] local.INFO: GPS data processed {"connection_id":192853,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:55] local.INFO: Acknowledgment sent {"connection_id":192853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:55:58] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:58] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:55:58] local.INFO: IMEI packet received {"connection_id":192854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":192854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:55:59] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:59] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:55:59] local.INFO: Packet analysis {"connection_id":192854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:59] local.INFO: Extracted packet for processing {"connection_id":192854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:55: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-25 22:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:55: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-25 22:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:55:59] 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":898295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:55:59] local.INFO: GPS data processed {"connection_id":192854,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:55:59] local.INFO: Acknowledgment sent {"connection_id":192854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:01] local.INFO: TCP Data received {"connection_id":192701,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:01] local.INFO: Processing buffer {"connection_id":192701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:01] local.INFO: Packet analysis {"connection_id":192701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:56:01] local.INFO: Extracted packet for processing {"connection_id":192701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56: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-25 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:56:01] 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-25 22:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:56:01] 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-25 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:56:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:56:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:56: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-25 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":192701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:56:01] local.INFO: GPS data processed {"connection_id":192701,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:56:01] local.INFO: Acknowledgment sent {"connection_id":192701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:17] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:17] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:17] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:56:22] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:22] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:56:22] local.INFO: IMEI packet received {"connection_id":192702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":192702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:56:23] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:23] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:23] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:23] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] 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-25 22:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22: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-25 22:56:23] 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-25 22: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:56:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22: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-25 22:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:56:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:56:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:56:23] 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":898297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:56:23] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:56:23] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:24] local.INFO: TCP Data received {"connection_id":195576,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:24] local.INFO: Processing buffer {"connection_id":195576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:24] local.INFO: IMEI packet received {"connection_id":195576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":195576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:56:29] local.INFO: TCP Data received {"connection_id":195576,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:29] local.INFO: Processing buffer {"connection_id":195576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:56:29] local.INFO: IMEI packet received {"connection_id":195576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":195576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:56:30] local.INFO: TCP Data received {"connection_id":195576,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:30] local.INFO: Processing buffer {"connection_id":195576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:56:30] local.INFO: Packet analysis {"connection_id":195576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:56:30] local.INFO: Extracted packet for processing {"connection_id":195576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:56:30] 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-25 22:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:56:30] 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-25 22:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:56:30] 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-25 22:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":195576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:56:30] local.INFO: GPS data processed {"connection_id":195576,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:56:30] local.INFO: Acknowledgment sent {"connection_id":195576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:30] local.INFO: TCP Data received {"connection_id":192854,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:56:30] local.INFO: Processing buffer {"connection_id":192854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:56:30] local.INFO: Packet analysis {"connection_id":192854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:30] local.INFO: Extracted packet for processing {"connection_id":192854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56: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-25 22:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:56:30] 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":898299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:56:30] local.INFO: GPS data processed {"connection_id":192854,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:56:30] local.INFO: Acknowledgment sent {"connection_id":192854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:54] local.INFO: TCP Data received {"connection_id":192702,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:54] local.INFO: Processing buffer {"connection_id":192702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:56:54] local.INFO: Packet analysis {"connection_id":192702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:54] local.INFO: Extracted packet for processing {"connection_id":192702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] 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-25 22:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22: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-25 22:56:54] 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-25 22: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:56:54] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:56:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22: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-25 22:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192702,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192702,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:56:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:56:55] 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":898300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:56:55] local.INFO: GPS data processed {"connection_id":192702,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:56:55] local.INFO: Acknowledgment sent {"connection_id":192702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:56:58] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:56:58] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:56:58] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:57:01] local.INFO: TCP Data received {"connection_id":195576,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:57:01] local.INFO: Processing buffer {"connection_id":195576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9963900012d34c14006aa4908000b006e29..."} 
[2026-09-25 22:57:01] local.INFO: Packet analysis {"connection_id":195576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:57:01] local.INFO: Extracted packet for processing {"connection_id":195576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d996"} 
[2026-09-25 22:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":11,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331288320001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57: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-25 22:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790356896000,"timestamp_ms":1790356896000,"timestamp_seconds":1790356896,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9963900"} 
[2026-09-25 22:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:01] 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-25 22:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:57:01] 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-25 22:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331288320001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 22:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331288320001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:57: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-25 22:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331288320001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":195576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:01] local.INFO: GPS data processed {"connection_id":195576,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:01] local.INFO: Acknowledgment sent {"connection_id":195576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:03] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:03] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:03] local.INFO: IMEI packet received {"connection_id":192703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":192703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:57:04] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:04] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:04] local.INFO: Packet analysis {"connection_id":192703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:04] local.INFO: Extracted packet for processing {"connection_id":192703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:04] 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-25 22:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":192703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:04] local.INFO: GPS data processed {"connection_id":192703,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:04] local.INFO: Acknowledgment sent {"connection_id":192703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:09] local.INFO: TCP Data received {"connection_id":192703,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:09] local.INFO: Processing buffer {"connection_id":192703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:09] local.INFO: Packet analysis {"connection_id":192703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:09] local.INFO: Extracted packet for processing {"connection_id":192703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:09] 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-25 22:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":192703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:09] local.INFO: GPS data processed {"connection_id":192703,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:09] local.INFO: Acknowledgment sent {"connection_id":192703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:17] local.INFO: TCP Data received {"connection_id":195577,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:17] local.INFO: Processing buffer {"connection_id":195577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:17] local.INFO: IMEI packet received {"connection_id":195577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":195577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:57:22] local.INFO: TCP Data received {"connection_id":195577,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195577,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:22] local.INFO: Processing buffer {"connection_id":195577,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:57:22] local.INFO: IMEI packet received {"connection_id":195577,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":195577,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:57:23] local.INFO: TCP Data received {"connection_id":195577,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:23] local.INFO: Processing buffer {"connection_id":195577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:23] local.INFO: Packet analysis {"connection_id":195577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:23] local.INFO: Extracted packet for processing {"connection_id":195577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] 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-25 22:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:23] 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-25 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:57:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:57:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":195577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:24] local.INFO: GPS data processed {"connection_id":195577,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:24] local.INFO: Acknowledgment sent {"connection_id":195577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:24] local.INFO: TCP Data received {"connection_id":195578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:24] local.INFO: Processing buffer {"connection_id":195578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:24] local.INFO: IMEI packet received {"connection_id":195578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":195578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:57:29] local.INFO: TCP Data received {"connection_id":195578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:29] local.INFO: Processing buffer {"connection_id":195578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:57:29] local.INFO: IMEI packet received {"connection_id":195578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":195578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:57:30] local.INFO: TCP Data received {"connection_id":195578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:57:30] local.INFO: Processing buffer {"connection_id":195578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:57:30] local.INFO: Packet analysis {"connection_id":195578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:57:30] local.INFO: Extracted packet for processing {"connection_id":195578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 22:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:30] 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-25 22:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":195578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:30] local.INFO: GPS data processed {"connection_id":195578,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:30] local.INFO: Acknowledgment sent {"connection_id":195578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:53] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:53] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:53] local.INFO: IMEI packet received {"connection_id":192704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":192704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:57:55] local.INFO: TCP Data received {"connection_id":195577,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:55] local.INFO: Processing buffer {"connection_id":195577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:57:55] local.INFO: Packet analysis {"connection_id":195577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:55] local.INFO: Extracted packet for processing {"connection_id":195577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] 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-25 22:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 22: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-25 22:57:55] 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-25 22: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:57:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 22: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-25 22:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195577,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":195577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898306,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:55] local.INFO: GPS data processed {"connection_id":195577,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:55] local.INFO: Acknowledgment sent {"connection_id":195577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:57:58] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:58] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:57:58] local.INFO: IMEI packet received {"connection_id":192704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":192704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:57:59] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:59] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:57:59] local.INFO: Packet analysis {"connection_id":192704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:59] local.INFO: Extracted packet for processing {"connection_id":192704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:57: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-25 22:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:57: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-25 22:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:57:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:57:59] 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":898307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:57:59] local.INFO: GPS data processed {"connection_id":192704,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:57:59] local.INFO: Acknowledgment sent {"connection_id":192704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:58:01] local.INFO: TCP Data received {"connection_id":195578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:01] local.INFO: Processing buffer {"connection_id":195578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:01] local.INFO: Packet analysis {"connection_id":195578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:58:01] local.INFO: Extracted packet for processing {"connection_id":195578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:58:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:58: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-25 22:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58: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-25 22:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 22:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:58:01] 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-25 22:58: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:58: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-25 22:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:58:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:58: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-25 22:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":195578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:58:01] local.INFO: GPS data processed {"connection_id":195578,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:58:01] local.INFO: Acknowledgment sent {"connection_id":195578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:58:24] local.INFO: TCP Data received {"connection_id":194211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:24] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:24] local.INFO: IMEI packet received {"connection_id":194211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":194211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:58:27] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:27] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:27] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:58:29] local.INFO: TCP Data received {"connection_id":194211,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:29] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:58:29] local.INFO: IMEI packet received {"connection_id":194211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":194211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:58:30] local.INFO: TCP Data received {"connection_id":194211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:30] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:58:30] local.INFO: Packet analysis {"connection_id":194211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:58:30] local.INFO: Extracted packet for processing {"connection_id":194211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 22:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:58:30] 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-25 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:58:30] 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":898309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:58:30] local.INFO: GPS data processed {"connection_id":194211,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:58:30] local.INFO: Acknowledgment sent {"connection_id":194211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:58:30] local.INFO: TCP Data received {"connection_id":192704,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:30] local.INFO: Processing buffer {"connection_id":192704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:30] local.INFO: Packet analysis {"connection_id":192704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:30] local.INFO: Extracted packet for processing {"connection_id":192704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58: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-25 22:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:58:30] 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":898310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:58:30] local.INFO: GPS data processed {"connection_id":192704,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:58:30] local.INFO: Acknowledgment sent {"connection_id":192704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:58:32] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:32] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:58:32] local.INFO: IMEI packet received {"connection_id":192705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":192705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:58:33] local.INFO: TCP Data received {"connection_id":192705,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:58:33] local.INFO: Processing buffer {"connection_id":192705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9984088012d0b10c007029f10000c013d1f..."} 
[2026-09-25 22:58:33] local.INFO: Packet analysis {"connection_id":192705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:33] local.INFO: Extracted packet for processing {"connection_id":192705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":12,"angle":317,"satellites":31,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 22:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331322368001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] 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-25 22:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790357029000,"timestamp_ms":1790357029000,"timestamp_seconds":1790357029,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9984088"} 
[2026-09-25 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-25 22:58:33] 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-25 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31877045139013701,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3648526864,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2169085953,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3623955723,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:33] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,18,94,24,241,157,16,122,160,45,192,159,14,27,10,66,121,19,29,225,240,69,227,217,2,1,4,113,205,177,239,49,120,7,104],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 22:58:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865039815375060992,"timestamp_seconds":865039815375061.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 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-25 22:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":192705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":192705,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331322368001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331322368001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:58:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:58:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331322368001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:58:33] 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":898311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:58:33] local.INFO: GPS data processed {"connection_id":192705,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:58:33] local.INFO: Acknowledgment sent {"connection_id":192705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:58:53] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:53] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:53] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:58:58] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:58] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:58:58] local.INFO: IMEI packet received {"connection_id":192858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":192858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:58:59] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:59] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:58:59] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:59] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22: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-25 22:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22: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-25 22:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22: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-25 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:58: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-25 22:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:58:59] 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":898312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:58:59] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:58:59] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:01] local.INFO: TCP Data received {"connection_id":194211,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:01] local.INFO: Processing buffer {"connection_id":194211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:01] local.INFO: Packet analysis {"connection_id":194211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:59:01] local.INFO: Extracted packet for processing {"connection_id":194211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59: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-25 22:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 22:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:01] 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-25 22:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:59:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:59: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-25 22:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:59:01] 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":898313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:01] local.INFO: GPS data processed {"connection_id":194211,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:01] local.INFO: Acknowledgment sent {"connection_id":194211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:23] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:23] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:23] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:59:25] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:25] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:25] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 22:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:59:27] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:27] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 22:59:27] local.INFO: IMEI packet received {"connection_id":192706,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 22:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":192706,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:59:28] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:28] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:28] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 22:59:28] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:28] 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-25 22:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 22:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:28] 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-25 22:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:28] 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-25 22:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:59:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:59:28] local.INFO: TCP Data received {"connection_id":192859,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:59:28] local.INFO: Processing buffer {"connection_id":192859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 22:59:28] local.INFO: IMEI packet received {"connection_id":192859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 22:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":192859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:59:28] 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":898314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:28] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:28] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:29] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:29] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 22:59:29] local.INFO: IMEI packet received {"connection_id":192707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 22:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:59:30] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:30] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 22:59:30] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:59:30] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 22:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 22:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 22:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 22:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:30] 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-25 22:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 22:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 22:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 22:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 22:59:30] 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":898315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:30] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:30] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:30] local.INFO: TCP Data received {"connection_id":192858,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:30] local.INFO: Processing buffer {"connection_id":192858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:30] local.INFO: Packet analysis {"connection_id":192858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:59:30] local.INFO: Extracted packet for processing {"connection_id":192858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59: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-25 22:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:59:31] 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":898316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:31] local.INFO: GPS data processed {"connection_id":192858,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:31] local.INFO: Acknowledgment sent {"connection_id":192858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:32] local.INFO: TCP Data received {"connection_id":192706,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:32] local.INFO: Processing buffer {"connection_id":192706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 22:59:32] local.INFO: Packet analysis {"connection_id":192706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 22:59:32] local.INFO: Extracted packet for processing {"connection_id":192706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 22:59:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 22:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:32] 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-25 22:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 22:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:32] 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-25 22:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:32] 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-25 22:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192706,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 22:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 22:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 22:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 22:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 22:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 22:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 22:59:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 22:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 22:59:33] 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":898317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:33] local.INFO: GPS data processed {"connection_id":192706,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:33] local.INFO: Acknowledgment sent {"connection_id":192706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 22:59:53] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:53] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:53] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 22:59:58] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:58] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 22:59:58] local.INFO: IMEI packet received {"connection_id":192860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":192860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 22:59:59] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:59] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d998ec68012d1969c0071ff170003f015227..."} 
[2026-09-25 22:59:59] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:59:59] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d998"} 
[2026-09-25 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 22:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331333632001,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 22:59: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-25 22:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357073000,"timestamp_ms":1790357073000,"timestamp_seconds":1790357073,"priority":1,"record_length":96,"hex_timestamp":"000001a0d998ec68"} 
[2026-09-25 22:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 22:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 22:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 22:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 22:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 22:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 22:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 22:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 22:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 22:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 22:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331333632001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 22:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 22:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 22:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331333632001,"description":"Unknown IO ID 0"} 
[2026-09-25 22:59:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 22:59:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 22:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 22:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 22:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331333632001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 22:59:59] 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":898318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 22:59:59] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-25 22:59:59] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:02] local.INFO: TCP Data received {"connection_id":192707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:02] local.INFO: Processing buffer {"connection_id":192707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:02] local.INFO: Packet analysis {"connection_id":192707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:00:02] local.INFO: Extracted packet for processing {"connection_id":192707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00: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-25 23:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 23:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:00:02] 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-25 23:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:00: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-25 23:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:00:02] 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":898319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:02] local.INFO: GPS data processed {"connection_id":192707,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:02] local.INFO: Acknowledgment sent {"connection_id":192707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:08] local.INFO: TCP Data received {"connection_id":194212,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:00:08] local.INFO: Processing buffer {"connection_id":194212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:00:08] local.INFO: IMEI packet received {"connection_id":194212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":194212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:00:17] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:17] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:17] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:00:22] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:22] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:00:22] local.INFO: IMEI packet received {"connection_id":192861,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":192861,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:00:24] local.INFO: TCP Data received {"connection_id":195579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:24] local.INFO: Processing buffer {"connection_id":195579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:24] local.INFO: IMEI packet received {"connection_id":195579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":195579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:00:24] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:24] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:24] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:24] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:24] 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-25 23:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:00:24] 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-25 23:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:00:24] 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-25 23:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:00:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:00:24] 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":898320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:24] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:24] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:27] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:27] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:27] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:27] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:27] 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-25 23:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23: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-25 23:00:27] 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-25 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:00: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-25 23: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-25 23: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-25 23:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:00:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:00:27] 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":898321,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:27] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:27] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:29] local.INFO: TCP Data received {"connection_id":195579,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:29] local.INFO: Processing buffer {"connection_id":195579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:00:29] local.INFO: IMEI packet received {"connection_id":195579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":195579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:00:30] local.INFO: TCP Data received {"connection_id":192860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:00:30] local.INFO: Processing buffer {"connection_id":192860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:00:30] local.INFO: Packet analysis {"connection_id":192860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:00:30] local.INFO: Extracted packet for processing {"connection_id":192860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00: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-25 23:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:00:30] 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":898322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:30] local.INFO: GPS data processed {"connection_id":192860,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:30] local.INFO: Acknowledgment sent {"connection_id":192860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:30] local.INFO: TCP Data received {"connection_id":195579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:30] local.INFO: Processing buffer {"connection_id":195579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:00:30] local.INFO: Packet analysis {"connection_id":195579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:00:30] local.INFO: Extracted packet for processing {"connection_id":195579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 23:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:00:30] 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-25 23:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":195579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:30] local.INFO: GPS data processed {"connection_id":195579,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:30] local.INFO: Acknowledgment sent {"connection_id":195579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:00:58] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:00:58] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:00:58] local.INFO: IMEI packet received {"connection_id":194213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":194213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:00:59] local.INFO: TCP Data received {"connection_id":192861,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:59] local.INFO: Processing buffer {"connection_id":192861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:00:59] local.INFO: Packet analysis {"connection_id":192861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:59] local.INFO: Extracted packet for processing {"connection_id":192861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:00:59] 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-25 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:00:59] 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-25 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:00:59] 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-25 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192861,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:00:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:00:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:00:59] 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":898324,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:00:59] local.INFO: GPS data processed {"connection_id":192861,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:00:59] local.INFO: Acknowledgment sent {"connection_id":192861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:02] local.INFO: TCP Data received {"connection_id":195579,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:02] local.INFO: Processing buffer {"connection_id":195579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:02] local.INFO: Packet analysis {"connection_id":195579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:01:02] local.INFO: Extracted packet for processing {"connection_id":195579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 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-25 23:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01: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-25 23:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 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-25 23:01:02] 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-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 23:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:01: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-25 23:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:01: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-25 23:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":195579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:02] local.INFO: GPS data processed {"connection_id":195579,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:02] local.INFO: Acknowledgment sent {"connection_id":195579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:03] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:03] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:03] local.INFO: IMEI packet received {"connection_id":194213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":194213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:01:04] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:04] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:04] local.INFO: Packet analysis {"connection_id":194213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:04] local.INFO: Extracted packet for processing {"connection_id":194213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:01:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:01:04] 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":898326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:04] local.INFO: GPS data processed {"connection_id":194213,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:04] local.INFO: Acknowledgment sent {"connection_id":194213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:09] local.INFO: TCP Data received {"connection_id":194213,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:09] local.INFO: Processing buffer {"connection_id":194213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:09] local.INFO: Packet analysis {"connection_id":194213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:09] local.INFO: Extracted packet for processing {"connection_id":194213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23: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-25 23:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23: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-25 23: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-25 23:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:01:09] 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":898327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:09] local.INFO: GPS data processed {"connection_id":194213,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:09] local.INFO: Acknowledgment sent {"connection_id":194213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:17] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:17] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:17] local.INFO: IMEI packet received {"connection_id":192708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":192708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:01:22] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:22] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:01:22] local.INFO: IMEI packet received {"connection_id":192708,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":192708,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:01:22] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:22] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:22] local.INFO: Packet analysis {"connection_id":192708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:01:22] local.INFO: Extracted packet for processing {"connection_id":192708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:01:22] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:22] 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-25 23:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23: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-25 23:01: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-25 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:01: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-25 23: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-25 23: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-25 23:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:01:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":192708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:23] local.INFO: GPS data processed {"connection_id":192708,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:23] local.INFO: Acknowledgment sent {"connection_id":192708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:24] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:24] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:24] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:01:29] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:29] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:01:29] local.INFO: IMEI packet received {"connection_id":192862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":192862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:01:30] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:30] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:01:30] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:01:30] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 23:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:01:30] 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-25 23:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:01:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:01:30] 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":898329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:30] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:30] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:53] local.INFO: TCP Data received {"connection_id":195580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:53] local.INFO: Processing buffer {"connection_id":195580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:53] local.INFO: IMEI packet received {"connection_id":195580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":195580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:01:54] local.INFO: TCP Data received {"connection_id":192708,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:54] local.INFO: Processing buffer {"connection_id":192708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:01:54] local.INFO: Packet analysis {"connection_id":192708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:01:54] local.INFO: Extracted packet for processing {"connection_id":192708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:54] 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-25 23:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:01:54] 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-25 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:54] 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-25 23:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192708,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:01:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":192708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898330,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:54] local.INFO: GPS data processed {"connection_id":192708,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:54] local.INFO: Acknowledgment sent {"connection_id":192708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:01:58] local.INFO: TCP Data received {"connection_id":195580,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:58] local.INFO: Processing buffer {"connection_id":195580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:01:58] local.INFO: IMEI packet received {"connection_id":195580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":195580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:01:59] local.INFO: TCP Data received {"connection_id":195580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:59] local.INFO: Processing buffer {"connection_id":195580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:01:59] local.INFO: Packet analysis {"connection_id":195580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:59] local.INFO: Extracted packet for processing {"connection_id":195580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:01: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-25 23:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:01:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:01:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":195580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:01:59] local.INFO: GPS data processed {"connection_id":195580,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:01:59] local.INFO: Acknowledgment sent {"connection_id":195580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:03] local.INFO: TCP Data received {"connection_id":192862,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:02:03] local.INFO: Processing buffer {"connection_id":192862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99ad0c8012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:02:03] local.INFO: Packet analysis {"connection_id":192862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:02:03] local.INFO: Extracted packet for processing {"connection_id":192862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99a"} 
[2026-09-25 23:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331365376001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02: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-25 23:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790357197000,"timestamp_ms":1790357197000,"timestamp_seconds":1790357197,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99ad0c8"} 
[2026-09-25 23:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331365376001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331365376001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:02: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-25 23:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331365376001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:02:03] 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":898332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:03] local.INFO: GPS data processed {"connection_id":192862,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:03] local.INFO: Acknowledgment sent {"connection_id":192862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:17] local.INFO: TCP Data received {"connection_id":192863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:17] local.INFO: Processing buffer {"connection_id":192863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:17] local.INFO: IMEI packet received {"connection_id":192863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":192863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:02:22] local.INFO: TCP Data received {"connection_id":192863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:22] local.INFO: Processing buffer {"connection_id":192863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:02:22] local.INFO: IMEI packet received {"connection_id":192863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":192863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:02:23] local.INFO: TCP Data received {"connection_id":192863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:23] local.INFO: Processing buffer {"connection_id":192863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:23] local.INFO: Packet analysis {"connection_id":192863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:02:23] local.INFO: Extracted packet for processing {"connection_id":192863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:02:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:02: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-25 23:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:23] 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-25 23:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:02:23] 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-25 23:02: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-25 23:02: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-25 23:02: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-25 23:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":192863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:23] local.INFO: GPS data processed {"connection_id":192863,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:23] local.INFO: Acknowledgment sent {"connection_id":192863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:29] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:29] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:29] local.INFO: IMEI packet received {"connection_id":192709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":192709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:02:30] local.INFO: TCP Data received {"connection_id":195580,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:30] local.INFO: Processing buffer {"connection_id":195580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:30] local.INFO: Packet analysis {"connection_id":195580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:02:30] local.INFO: Extracted packet for processing {"connection_id":195580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02: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-25 23:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:02:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":195580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:30] local.INFO: GPS data processed {"connection_id":195580,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:30] local.INFO: Acknowledgment sent {"connection_id":195580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:34] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:34] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:02:34] local.INFO: IMEI packet received {"connection_id":192709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":192709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:02:36] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:36] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:36] local.INFO: Packet analysis {"connection_id":192709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:02:36] local.INFO: Extracted packet for processing {"connection_id":192709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23: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-25 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02: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-25 23:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:02:36] 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":898335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:36] local.INFO: GPS data processed {"connection_id":192709,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:36] local.INFO: Acknowledgment sent {"connection_id":192709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:40] local.INFO: TCP Data received {"connection_id":192709,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:40] local.INFO: Processing buffer {"connection_id":192709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:02:40] local.INFO: Packet analysis {"connection_id":192709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:02:40] local.INFO: Extracted packet for processing {"connection_id":192709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23: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-25 23:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:02: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-25 23:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:02:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:02: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":898336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:40] local.INFO: GPS data processed {"connection_id":192709,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:40] local.INFO: Acknowledgment sent {"connection_id":192709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:53] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:53] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:53] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:02:54] local.INFO: TCP Data received {"connection_id":192863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:54] local.INFO: Processing buffer {"connection_id":192863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:02:54] local.INFO: Packet analysis {"connection_id":192863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:02:54] local.INFO: Extracted packet for processing {"connection_id":192863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:02:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:54] 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-25 23:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:02:54] 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-25 23:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:54] 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-25 23:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":192863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:55] local.INFO: GPS data processed {"connection_id":192863,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:55] local.INFO: Acknowledgment sent {"connection_id":192863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:02:58] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:58] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:02:58] local.INFO: IMEI packet received {"connection_id":192864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":192864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:02:59] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:59] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:02:59] local.INFO: Packet analysis {"connection_id":192864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:02:59] local.INFO: Extracted packet for processing {"connection_id":192864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:02: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-25 23:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:02:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:02:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":192864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:02:59] local.INFO: GPS data processed {"connection_id":192864,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:02:59] local.INFO: Acknowledgment sent {"connection_id":192864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:03:17] local.INFO: TCP Data received {"connection_id":194216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:17] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:17] local.INFO: IMEI packet received {"connection_id":194216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":194216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:03:22] local.INFO: TCP Data received {"connection_id":194216,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:22] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:03:22] local.INFO: IMEI packet received {"connection_id":194216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":194216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:03:23] local.INFO: TCP Data received {"connection_id":194216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:03:23] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99cd850012d0b10c007029f100008013d1d..."} 
[2026-09-25 23:03:23] local.INFO: Packet analysis {"connection_id":194216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:03:23] local.INFO: Extracted packet for processing {"connection_id":194216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99c"} 
[2026-09-25 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331399424001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:23] 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-25 23:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357330000,"timestamp_ms":1790357330000,"timestamp_seconds":1790357330,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99cd850"} 
[2026-09-25 23:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:03:23] 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-25 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:03: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-25 23:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331399424001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331399424001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331399424001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:03:23] 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":898339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:03:23] local.INFO: GPS data processed {"connection_id":194216,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:03:23] local.INFO: Acknowledgment sent {"connection_id":194216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:03:24] local.INFO: TCP Data received {"connection_id":195582,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:24] local.INFO: Processing buffer {"connection_id":195582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:24] local.INFO: IMEI packet received {"connection_id":195582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":195582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:03:29] local.INFO: TCP Data received {"connection_id":195582,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:29] local.INFO: Processing buffer {"connection_id":195582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:03:29] local.INFO: IMEI packet received {"connection_id":195582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":195582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:03:30] local.INFO: TCP Data received {"connection_id":195582,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:03:30] local.INFO: Processing buffer {"connection_id":195582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:03:30] local.INFO: Packet analysis {"connection_id":195582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:03:30] local.INFO: Extracted packet for processing {"connection_id":195582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:03:30] 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-25 23:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:03:30] local.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-25 23:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":195582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:03:30] local.INFO: GPS data processed {"connection_id":195582,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:03:30] local.INFO: Acknowledgment sent {"connection_id":195582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:03:30] local.INFO: TCP Data received {"connection_id":192864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:30] local.INFO: Processing buffer {"connection_id":192864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:30] local.INFO: Packet analysis {"connection_id":192864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:03:30] local.INFO: Extracted packet for processing {"connection_id":192864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03: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-25 23:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":192864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:03:30] local.INFO: GPS data processed {"connection_id":192864,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:03:30] local.INFO: Acknowledgment sent {"connection_id":192864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:03:54] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:54] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:54] local.INFO: IMEI packet received {"connection_id":194217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":194217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:03:55] local.INFO: TCP Data received {"connection_id":194216,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:03:55] local.INFO: Processing buffer {"connection_id":194216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:03:55] local.INFO: Packet analysis {"connection_id":194216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:03:55] local.INFO: Extracted packet for processing {"connection_id":194216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:55] 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-25 23:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:03:55] 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-25 23:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:03:55] 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-25 23:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:03:55] 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":898342,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:03:55] local.INFO: GPS data processed {"connection_id":194216,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:03:55] local.INFO: Acknowledgment sent {"connection_id":194216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:03:58] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:58] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:03:58] local.INFO: IMEI packet received {"connection_id":194217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":194217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:03:59] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:59] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:03:59] local.INFO: Packet analysis {"connection_id":194217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:03:59] local.INFO: Extracted packet for processing {"connection_id":194217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:03: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-25 23:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:03:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:03:59] 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":898343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:03:59] local.INFO: GPS data processed {"connection_id":194217,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:03:59] local.INFO: Acknowledgment sent {"connection_id":194217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:04:02] local.INFO: TCP Data received {"connection_id":195582,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:02] local.INFO: Processing buffer {"connection_id":195582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:02] local.INFO: Packet analysis {"connection_id":195582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:04:02] local.INFO: Extracted packet for processing {"connection_id":195582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04: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-25 23:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:04:02] 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-25 23:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:04:02] local.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-25 23:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:04: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-25 23:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":195582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:04:02] local.INFO: GPS data processed {"connection_id":195582,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:04:02] local.INFO: Acknowledgment sent {"connection_id":195582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:04:22] local.INFO: TCP Data received {"connection_id":194218,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:22] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:22] local.INFO: IMEI packet received {"connection_id":194218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":194218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:04:24] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:24] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:24] local.INFO: IMEI packet received {"connection_id":194219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":194219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:04:27] local.INFO: TCP Data received {"connection_id":194218,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:27] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:04:27] local.INFO: IMEI packet received {"connection_id":194218,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":194218,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:04:28] local.INFO: TCP Data received {"connection_id":194218,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:04:28] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:04:28] local.INFO: Packet analysis {"connection_id":194218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:04:28] local.INFO: Extracted packet for processing {"connection_id":194218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:04: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-25 23:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:28] 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-25 23:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:04:28] 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-25 23:04: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-25 23:04: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-25 23:04: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-25 23:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:04:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:04:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:04:29] 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":898345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:04:29] local.INFO: GPS data processed {"connection_id":194218,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:04:29] local.INFO: Acknowledgment sent {"connection_id":194218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:04:29] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:29] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:04:29] local.INFO: IMEI packet received {"connection_id":194219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":194219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:04:30] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:30] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:04:30] local.INFO: Packet analysis {"connection_id":194219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:04:30] local.INFO: Extracted packet for processing {"connection_id":194219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:04:30] 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-25 23:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:04:30] local.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-25 23:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:04:30] 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":898346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:04:30] local.INFO: GPS data processed {"connection_id":194219,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:04:30] local.INFO: Acknowledgment sent {"connection_id":194219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:04:30] local.INFO: TCP Data received {"connection_id":194217,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:04:30] local.INFO: Processing buffer {"connection_id":194217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:04:30] local.INFO: Packet analysis {"connection_id":194217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:04:30] local.INFO: Extracted packet for processing {"connection_id":194217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:04: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-25 23:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:04:30] 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":898347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:04:30] local.INFO: GPS data processed {"connection_id":194217,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:04:30] local.INFO: Acknowledgment sent {"connection_id":194217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:04:53] local.INFO: TCP Data received {"connection_id":194220,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:53] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:53] local.INFO: IMEI packet received {"connection_id":194220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":194220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:04:58] local.INFO: TCP Data received {"connection_id":194220,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:58] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:04:58] local.INFO: IMEI packet received {"connection_id":194220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":194220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:05:00] local.INFO: TCP Data received {"connection_id":194220,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:00] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99d8430012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:00] local.INFO: Packet analysis {"connection_id":194220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:05:00] local.INFO: Extracted packet for processing {"connection_id":194220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99d"} 
[2026-09-25 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331410688001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05: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-25 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790357374000,"timestamp_ms":1790357374000,"timestamp_seconds":1790357374,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99d8430"} 
[2026-09-25 23:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:05: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-25 23:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331410688001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331410688001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331410688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:05:00] 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":898348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:00] local.INFO: GPS data processed {"connection_id":194220,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:00] local.INFO: Acknowledgment sent {"connection_id":194220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:00] local.INFO: TCP Data received {"connection_id":194218,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:00] local.INFO: Processing buffer {"connection_id":194218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:00] local.INFO: Packet analysis {"connection_id":194218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:00] local.INFO: Extracted packet for processing {"connection_id":194218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:00] 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-25 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:00] 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-25 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:00] 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-25 23:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":194218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":194218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":194218,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:05:00] 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":898349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:00] local.INFO: GPS data processed {"connection_id":194218,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:00] local.INFO: Acknowledgment sent {"connection_id":194218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:01] local.INFO: TCP Data received {"connection_id":194219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:01] local.INFO: Processing buffer {"connection_id":194219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:01] local.INFO: Packet analysis {"connection_id":194219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:05:01] local.INFO: Extracted packet for processing {"connection_id":194219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05: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-25 23:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:05:01] local.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-25 23:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:05:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:05: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-25 23:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:05:01] 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":898350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:01] local.INFO: GPS data processed {"connection_id":194219,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:01] local.INFO: Acknowledgment sent {"connection_id":194219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:17] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:17] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:17] local.INFO: IMEI packet received {"connection_id":192865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":192865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:05:22] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:22] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:05:22] local.INFO: IMEI packet received {"connection_id":192865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":192865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:05:23] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:23] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:23] local.INFO: Packet analysis {"connection_id":192865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:23] local.INFO: Extracted packet for processing {"connection_id":192865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:23] 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-25 23:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23: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-25 23:05:23] 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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:23] 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-25 23: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-25 23: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-25 23:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:05:23] 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":898351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:23] local.INFO: GPS data processed {"connection_id":192865,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:23] local.INFO: Acknowledgment sent {"connection_id":192865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:24] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:24] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:24] local.INFO: IMEI packet received {"connection_id":192866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":192866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:05:29] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:29] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:05:29] local.INFO: IMEI packet received {"connection_id":192866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":192866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:05:30] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:30] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:05:30] local.INFO: Packet analysis {"connection_id":192866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:05:30] local.INFO: Extracted packet for processing {"connection_id":192866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:30] 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-25 23:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:05:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":192866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:30] local.INFO: GPS data processed {"connection_id":192866,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:30] local.INFO: Acknowledgment sent {"connection_id":192866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:31] local.INFO: TCP Data received {"connection_id":194220,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:31] local.INFO: Processing buffer {"connection_id":194220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:31] local.INFO: Packet analysis {"connection_id":194220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:05:31] local.INFO: Extracted packet for processing {"connection_id":194220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23: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-25 23:05:31] 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-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:05: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-25 23: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-25 23: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-25 23:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:05:31] 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":898353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:31] local.INFO: GPS data processed {"connection_id":194220,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:31] local.INFO: Acknowledgment sent {"connection_id":194220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:38] local.INFO: TCP Data received {"connection_id":195583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:05:38] local.INFO: Processing buffer {"connection_id":195583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:05:38] local.INFO: IMEI packet received {"connection_id":195583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":195583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:05:53] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:53] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:53] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:05:54] local.INFO: TCP Data received {"connection_id":192865,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:54] local.INFO: Processing buffer {"connection_id":192865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:05:54] local.INFO: Packet analysis {"connection_id":192865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:54] local.INFO: Extracted packet for processing {"connection_id":192865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:54] 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-25 23:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:54] 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-25 23:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:54] 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-25 23:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:05:54] 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":898354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:54] local.INFO: GPS data processed {"connection_id":192865,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:54] local.INFO: Acknowledgment sent {"connection_id":192865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:05:58] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:58] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:05:58] local.INFO: IMEI packet received {"connection_id":192711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":192711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:05:59] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:59] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:05:59] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:05:59] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:05: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-25 23:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:05:59] 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-25 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:05:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:05:59] 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":898355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:05:59] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:05:59] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:02] local.INFO: TCP Data received {"connection_id":192866,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:02] local.INFO: Processing buffer {"connection_id":192866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:02] local.INFO: Packet analysis {"connection_id":192866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:06:02] local.INFO: Extracted packet for processing {"connection_id":192866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06: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-25 23:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:02] 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-25 23:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:06: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-25 23:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":192866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:02] local.INFO: GPS data processed {"connection_id":192866,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:02] local.INFO: Acknowledgment sent {"connection_id":192866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:03] local.INFO: TCP Data received {"connection_id":195584,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:06:03] local.INFO: Processing buffer {"connection_id":195584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:06:03] local.INFO: IMEI packet received {"connection_id":195584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":195584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:06:17] local.INFO: TCP Data received {"connection_id":192712,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:17] local.INFO: Processing buffer {"connection_id":192712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:17] local.INFO: IMEI packet received {"connection_id":192712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":192712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:06:22] local.INFO: TCP Data received {"connection_id":192712,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192712,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:22] local.INFO: Processing buffer {"connection_id":192712,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:06:22] local.INFO: IMEI packet received {"connection_id":192712,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":192712,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:06:23] local.INFO: TCP Data received {"connection_id":192712,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:23] local.INFO: Processing buffer {"connection_id":192712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:23] local.INFO: Packet analysis {"connection_id":192712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:06:23] local.INFO: Extracted packet for processing {"connection_id":192712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:23] 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-25 23:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23: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-25 23:06:23] 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-25 23:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:23] 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-25 23: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-25 23: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-25 23:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":192712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:23] local.INFO: GPS data processed {"connection_id":192712,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:23] local.INFO: Acknowledgment sent {"connection_id":192712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:24] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:24] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:24] local.INFO: IMEI packet received {"connection_id":192867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":192867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:06:29] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:29] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:06:29] local.INFO: IMEI packet received {"connection_id":192867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":192867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:06:30] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:30] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:06:30] local.INFO: Packet analysis {"connection_id":192867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:06:30] local.INFO: Extracted packet for processing {"connection_id":192867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23: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-25 23:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:30] 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-25 23: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-25 23: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-25 23:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:06:30] 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":898358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:30] local.INFO: GPS data processed {"connection_id":192867,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:30] local.INFO: Acknowledgment sent {"connection_id":192867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:32] local.INFO: TCP Data received {"connection_id":192711,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:32] local.INFO: Processing buffer {"connection_id":192711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:32] local.INFO: Packet analysis {"connection_id":192711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:06:32] local.INFO: Extracted packet for processing {"connection_id":192711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23: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-25 23:06:32] 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-25 23:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:06:32] 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":898359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:32] local.INFO: GPS data processed {"connection_id":192711,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:32] local.INFO: Acknowledgment sent {"connection_id":192711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:53] local.INFO: TCP Data received {"connection_id":195585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:53] local.INFO: Processing buffer {"connection_id":195585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:53] local.INFO: IMEI packet received {"connection_id":195585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":195585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:06:55] local.INFO: TCP Data received {"connection_id":192712,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:55] local.INFO: Processing buffer {"connection_id":192712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:06:55] local.INFO: Packet analysis {"connection_id":192712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:06:55] local.INFO: Extracted packet for processing {"connection_id":192712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:06:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:06: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-25 23:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:55] 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-25 23:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:06:55] 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-25 23:06: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:55] 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-25 23:06: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-25 23:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192712,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:06:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":192712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:55] local.INFO: GPS data processed {"connection_id":192712,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:55] local.INFO: Acknowledgment sent {"connection_id":192712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:06:58] local.INFO: TCP Data received {"connection_id":195585,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:58] local.INFO: Processing buffer {"connection_id":195585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:06:58] local.INFO: IMEI packet received {"connection_id":195585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":195585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:06:59] local.INFO: TCP Data received {"connection_id":195585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:59] local.INFO: Processing buffer {"connection_id":195585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:06:59] local.INFO: Packet analysis {"connection_id":195585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:06:59] local.INFO: Extracted packet for processing {"connection_id":195585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:06: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-25 23:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:06:59] 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-25 23:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":195585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:06:59] local.INFO: GPS data processed {"connection_id":195585,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:06:59] local.INFO: Acknowledgment sent {"connection_id":195585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:07:02] local.INFO: TCP Data received {"connection_id":192867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:07:02] local.INFO: Processing buffer {"connection_id":192867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d99f6890012d34c14006aa49080006006e29..."} 
[2026-09-25 23:07:02] local.INFO: Packet analysis {"connection_id":192867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:07:02] local.INFO: Extracted packet for processing {"connection_id":192867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d99f"} 
[2026-09-25 23:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331442432001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357498000,"timestamp_ms":1790357498000,"timestamp_seconds":1790357498,"priority":1,"record_length":96,"hex_timestamp":"000001a0d99f6890"} 
[2026-09-25 23:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:07:02] 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-25 23:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331442432001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331442432001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:07:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331442432001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:07:02] 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":898362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:07:02] local.INFO: GPS data processed {"connection_id":192867,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:07:02] local.INFO: Acknowledgment sent {"connection_id":192867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:07:22] local.INFO: TCP Data received {"connection_id":192868,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:22] local.INFO: Processing buffer {"connection_id":192868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:22] local.INFO: IMEI packet received {"connection_id":192868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":192868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:07:27] local.INFO: TCP Data received {"connection_id":192868,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192868,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:27] local.INFO: Processing buffer {"connection_id":192868,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:07:27] local.INFO: IMEI packet received {"connection_id":192868,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":192868,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:07:28] local.INFO: TCP Data received {"connection_id":192868,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:07:28] local.INFO: Processing buffer {"connection_id":192868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:07:28] local.INFO: Packet analysis {"connection_id":192868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:07:28] local.INFO: Extracted packet for processing {"connection_id":192868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:07: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-25 23:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:28] 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-25 23:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:07:28] 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-25 23:07: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-25 23:07: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-25 23:07: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-25 23:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:07:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:07:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":192868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:07:28] local.INFO: GPS data processed {"connection_id":192868,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:07:28] local.INFO: Acknowledgment sent {"connection_id":192868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:07:29] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:29] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:29] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:07:30] local.INFO: TCP Data received {"connection_id":195585,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:30] local.INFO: Processing buffer {"connection_id":195585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:30] local.INFO: Packet analysis {"connection_id":195585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:07:30] local.INFO: Extracted packet for processing {"connection_id":195585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:07:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07: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-25 23:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:07:30] 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-25 23:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":195585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:07:30] local.INFO: GPS data processed {"connection_id":195585,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:07:30] local.INFO: Acknowledgment sent {"connection_id":195585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:07:34] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:34] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:07:34] local.INFO: IMEI packet received {"connection_id":192713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":192713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:07:36] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:07:36] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:07:36] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:07:36] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23: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-25 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:07:36] 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":898365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:07:36] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:07:36] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:07:53] local.INFO: TCP Data received {"connection_id":195586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:53] local.INFO: Processing buffer {"connection_id":195586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:53] local.INFO: IMEI packet received {"connection_id":195586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":195586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:07:58] local.INFO: TCP Data received {"connection_id":195586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:58] local.INFO: Processing buffer {"connection_id":195586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:07:58] local.INFO: IMEI packet received {"connection_id":195586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":195586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:07:59] local.INFO: TCP Data received {"connection_id":195586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:59] local.INFO: Processing buffer {"connection_id":195586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:07:59] local.INFO: Packet analysis {"connection_id":195586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:07:59] local.INFO: Extracted packet for processing {"connection_id":195586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:07: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-25 23:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23: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-25 23:07:59] 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-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 23:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:07:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":195586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:07:59] local.INFO: GPS data processed {"connection_id":195586,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:07:59] local.INFO: Acknowledgment sent {"connection_id":195586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:00] local.INFO: TCP Data received {"connection_id":192868,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:00] local.INFO: Processing buffer {"connection_id":192868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:00] local.INFO: Packet analysis {"connection_id":192868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:00] local.INFO: Extracted packet for processing {"connection_id":192868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:00] 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-25 23:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23: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-25 23:08:00] 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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:00] 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-25 23: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-25 23: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-25 23:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192868,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:08:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":192868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:00] local.INFO: GPS data processed {"connection_id":192868,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:00] local.INFO: Acknowledgment sent {"connection_id":192868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:08] local.INFO: TCP Data received {"connection_id":192713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:08] local.INFO: Processing buffer {"connection_id":192713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:08] local.INFO: Packet analysis {"connection_id":192713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:08:08] local.INFO: Extracted packet for processing {"connection_id":192713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23: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-25 23:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:08: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-25 23: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-25 23: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-25 23:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:08:08] 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":898368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:08] local.INFO: GPS data processed {"connection_id":192713,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:08] local.INFO: Acknowledgment sent {"connection_id":192713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:17] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:17] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:17] local.INFO: IMEI packet received {"connection_id":192869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":192869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:08:22] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:22] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:08:22] local.INFO: IMEI packet received {"connection_id":192869,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":192869,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:08:23] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:23] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:23] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:23] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:23] 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-25 23:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23: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-25 23:08:23] 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-25 23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:23] 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-25 23: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-25 23: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-25 23:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:08:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:08:23] 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":898369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:23] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:23] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:24] local.INFO: TCP Data received {"connection_id":194222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:24] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:24] local.INFO: IMEI packet received {"connection_id":194222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":194222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:08:29] local.INFO: TCP Data received {"connection_id":194222,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:29] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:08:29] local.INFO: IMEI packet received {"connection_id":194222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":194222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:08:30] local.INFO: TCP Data received {"connection_id":194222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:30] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:08:30] local.INFO: Packet analysis {"connection_id":194222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:08:30] local.INFO: Extracted packet for processing {"connection_id":194222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:08:30] 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":898370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:30] local.INFO: GPS data processed {"connection_id":194222,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:30] local.INFO: Acknowledgment sent {"connection_id":194222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:30] local.INFO: TCP Data received {"connection_id":195586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:30] local.INFO: Processing buffer {"connection_id":195586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:30] local.INFO: Packet analysis {"connection_id":195586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:08:30] local.INFO: Extracted packet for processing {"connection_id":195586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08: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-25 23:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:08:30] 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-25 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 23:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":195586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:31] local.INFO: GPS data processed {"connection_id":195586,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:31] local.INFO: Acknowledgment sent {"connection_id":195586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:53] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:53] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:53] local.INFO: IMEI packet received {"connection_id":192715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":192715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:08:54] local.INFO: TCP Data received {"connection_id":192869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:54] local.INFO: Processing buffer {"connection_id":192869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a17018012d0b10c007029f100007013d20..."} 
[2026-09-25 23:08:54] local.INFO: Packet analysis {"connection_id":192869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:54] local.INFO: Extracted packet for processing {"connection_id":192869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a1"} 
[2026-09-25 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331476480001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:54] 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-25 23:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790357631000,"timestamp_ms":1790357631000,"timestamp_seconds":1790357631,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a17018"} 
[2026-09-25 23:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:08:54] 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-25 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:54] 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-25 23:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192869,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331476480001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331476480001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:08:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331476480001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:08:54] 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":898372,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:54] local.INFO: GPS data processed {"connection_id":192869,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:54] local.INFO: Acknowledgment sent {"connection_id":192869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:08:58] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:58] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:08:58] local.INFO: IMEI packet received {"connection_id":192715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":192715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:08:59] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:59] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:08:59] local.INFO: Packet analysis {"connection_id":192715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:08:59] local.INFO: Extracted packet for processing {"connection_id":192715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:08: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-25 23:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:08:59] 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-25 23:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:08:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":192715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:08:59] local.INFO: GPS data processed {"connection_id":192715,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:08:59] local.INFO: Acknowledgment sent {"connection_id":192715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:02] local.INFO: TCP Data received {"connection_id":194222,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:02] local.INFO: Processing buffer {"connection_id":194222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:02] local.INFO: Packet analysis {"connection_id":194222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:09:02] local.INFO: Extracted packet for processing {"connection_id":194222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09: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-25 23:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:09: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-25 23:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:09:02] 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":898374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:02] local.INFO: GPS data processed {"connection_id":194222,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:02] local.INFO: Acknowledgment sent {"connection_id":194222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:22] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:22] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:22] local.INFO: IMEI packet received {"connection_id":192716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":192716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:09:24] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:24] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:24] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:09:27] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:27] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:09:27] local.INFO: IMEI packet received {"connection_id":192716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":192716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:09:28] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:28] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:28] local.INFO: Packet analysis {"connection_id":192716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:09:28] local.INFO: Extracted packet for processing {"connection_id":192716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:28] 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-25 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:28] 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-25 23:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:09: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-25 23:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:09:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":192716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:28] local.INFO: GPS data processed {"connection_id":192716,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:28] local.INFO: Acknowledgment sent {"connection_id":192716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:29] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:29] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:09:29] local.INFO: IMEI packet received {"connection_id":192870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":192870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:09:30] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:30] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:09:30] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:09:30] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:09:30] 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":898376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:30] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:30] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:31] local.INFO: TCP Data received {"connection_id":192715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:31] local.INFO: Processing buffer {"connection_id":192715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:31] local.INFO: Packet analysis {"connection_id":192715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:09:31] local.INFO: Extracted packet for processing {"connection_id":192715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:31] 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-25 23:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":192715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":192715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":192715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":192715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:31] local.INFO: GPS data processed {"connection_id":192715,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:31] local.INFO: Acknowledgment sent {"connection_id":192715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:53] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:53] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:53] local.INFO: IMEI packet received {"connection_id":194223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":194223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:09:58] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:58] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:09:58] local.INFO: IMEI packet received {"connection_id":194223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":194223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:09:59] local.INFO: TCP Data received {"connection_id":192716,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:59] local.INFO: Processing buffer {"connection_id":192716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:09:59] local.INFO: Packet analysis {"connection_id":192716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:09:59] local.INFO: Extracted packet for processing {"connection_id":192716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:59] 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-25 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:59] 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-25 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:09:59] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:59] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a21bf8012d1969c0071ff170003f015226..."} 
[2026-09-25 23:09:59] local.INFO: Packet analysis {"connection_id":194223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:09:59] local.INFO: Extracted packet for processing {"connection_id":194223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a2"} 
[2026-09-25 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331487744001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:09: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-25 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357675000,"timestamp_ms":1790357675000,"timestamp_seconds":1790357675,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a21bf8"} 
[2026-09-25 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:09:59] 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-25 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331487744001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331487744001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331487744001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:09:59] 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":898378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:59] local.INFO: GPS data processed {"connection_id":194223,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:59] local.INFO: Acknowledgment sent {"connection_id":194223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":192716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:09:59] local.INFO: GPS data processed {"connection_id":192716,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:09:59] local.INFO: Acknowledgment sent {"connection_id":192716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:02] local.INFO: TCP Data received {"connection_id":192870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:02] local.INFO: Processing buffer {"connection_id":192870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:02] local.INFO: Packet analysis {"connection_id":192870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:02] local.INFO: Extracted packet for processing {"connection_id":192870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10: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-25 23:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10: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-25 23:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:10:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:10: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-25 23:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:10:02] 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":898380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:02] local.INFO: GPS data processed {"connection_id":192870,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:02] local.INFO: Acknowledgment sent {"connection_id":192870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:17] local.INFO: TCP Data received {"connection_id":195589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:17] local.INFO: Processing buffer {"connection_id":195589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:17] local.INFO: IMEI packet received {"connection_id":195589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":195589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:10:23] local.INFO: TCP Data received {"connection_id":195589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:23] local.INFO: Processing buffer {"connection_id":195589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:10:23] local.INFO: IMEI packet received {"connection_id":195589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":195589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:10:24] local.INFO: TCP Data received {"connection_id":195589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:24] local.INFO: Processing buffer {"connection_id":195589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:24] local.INFO: Packet analysis {"connection_id":195589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:24] local.INFO: Extracted packet for processing {"connection_id":195589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:24] 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-25 23:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23: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-25 23:10:24] 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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:10:24] 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-25 23: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-25 23: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-25 23:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":195589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":195589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":195589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:10:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":195589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898381,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:24] local.INFO: GPS data processed {"connection_id":195589,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:24] local.INFO: Acknowledgment sent {"connection_id":195589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:29] local.INFO: TCP Data received {"connection_id":194224,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:29] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:29] local.INFO: IMEI packet received {"connection_id":194224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":194224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:10:30] local.INFO: TCP Data received {"connection_id":194223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:30] local.INFO: Processing buffer {"connection_id":194223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:30] local.INFO: Packet analysis {"connection_id":194223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:30] local.INFO: Extracted packet for processing {"connection_id":194223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10: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-25 23:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:10:30] 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-25 23:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:10: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-25 23:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:10:30] 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":898382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:30] local.INFO: GPS data processed {"connection_id":194223,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:30] local.INFO: Acknowledgment sent {"connection_id":194223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:34] local.INFO: TCP Data received {"connection_id":194224,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:34] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:10:34] local.INFO: IMEI packet received {"connection_id":194224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":194224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:10:35] local.INFO: TCP Data received {"connection_id":194224,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:35] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:35] local.INFO: Packet analysis {"connection_id":194224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:35] local.INFO: Extracted packet for processing {"connection_id":194224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23: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-25 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:10: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-25 23: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-25 23: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-25 23:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10: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-25 23:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:10:35] 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":898383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:35] local.INFO: GPS data processed {"connection_id":194224,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:35] local.INFO: Acknowledgment sent {"connection_id":194224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:40] local.INFO: TCP Data received {"connection_id":194224,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:40] local.INFO: Processing buffer {"connection_id":194224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:10:40] local.INFO: Packet analysis {"connection_id":194224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:40] local.INFO: Extracted packet for processing {"connection_id":194224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23: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-25 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":194224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":194224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":194224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:10:40] local.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-25 23:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:10:40] 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":898384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:40] local.INFO: GPS data processed {"connection_id":194224,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:40] local.INFO: Acknowledgment sent {"connection_id":194224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:53] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:53] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:53] local.INFO: IMEI packet received {"connection_id":192871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":192871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:10:55] local.INFO: TCP Data received {"connection_id":195589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:55] local.INFO: Processing buffer {"connection_id":195589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:10:55] local.INFO: Packet analysis {"connection_id":195589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:55] local.INFO: Extracted packet for processing {"connection_id":195589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:55] 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-25 23:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23: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-25 23:10:55] 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-25 23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:10:55] 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-25 23: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-25 23: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-25 23:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:10:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":195589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:55] local.INFO: GPS data processed {"connection_id":195589,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:55] local.INFO: Acknowledgment sent {"connection_id":195589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:10:58] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:58] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:10:58] local.INFO: IMEI packet received {"connection_id":192871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":192871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:10:59] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:59] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:10:59] local.INFO: Packet analysis {"connection_id":192871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:59] local.INFO: Extracted packet for processing {"connection_id":192871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:10: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-25 23:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:10:59] 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-25 23:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:10:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":192871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:10:59] local.INFO: GPS data processed {"connection_id":192871,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:10:59] local.INFO: Acknowledgment sent {"connection_id":192871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:11:17] local.INFO: TCP Data received {"connection_id":195591,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:17] local.INFO: Processing buffer {"connection_id":195591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:17] local.INFO: IMEI packet received {"connection_id":195591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":195591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:11:18] local.INFO: TCP Data received {"connection_id":195590,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:11:18] local.INFO: Processing buffer {"connection_id":195590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:11:18] local.INFO: IMEI packet received {"connection_id":195590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":195590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:11:22] local.INFO: TCP Data received {"connection_id":195591,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:22] local.INFO: Processing buffer {"connection_id":195591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:11:22] local.INFO: IMEI packet received {"connection_id":195591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":195591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:11:23] local.INFO: TCP Data received {"connection_id":195591,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:23] local.INFO: Processing buffer {"connection_id":195591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:23] local.INFO: Packet analysis {"connection_id":195591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:23] local.INFO: Extracted packet for processing {"connection_id":195591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:11: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-25 23:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:23] 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-25 23:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:11:23] 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-25 23:11: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:11:23] 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-25 23:11: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-25 23:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:11:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:11:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":195591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:11:24] local.INFO: GPS data processed {"connection_id":195591,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:11:24] local.INFO: Acknowledgment sent {"connection_id":195591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:11:24] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:24] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:24] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:11:29] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:29] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:11:29] local.INFO: IMEI packet received {"connection_id":192872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":192872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:11:30] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:11:30] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:11:30] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:11:30] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23: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-25 23:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:11:30] 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":898388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:11:30] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:11:30] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:11:30] local.INFO: TCP Data received {"connection_id":192871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:30] local.INFO: Processing buffer {"connection_id":192871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:30] local.INFO: Packet analysis {"connection_id":192871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:30] local.INFO: Extracted packet for processing {"connection_id":192871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11: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-25 23:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23: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-25 23:11:30] 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-25 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:11: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-25 23: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-25 23: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-25 23:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":192871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:11:30] local.INFO: GPS data processed {"connection_id":192871,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:11:30] local.INFO: Acknowledgment sent {"connection_id":192871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:11:53] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:53] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:53] local.INFO: IMEI packet received {"connection_id":192873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":192873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:11:55] local.INFO: TCP Data received {"connection_id":195591,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:55] local.INFO: Processing buffer {"connection_id":195591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:11:55] local.INFO: Packet analysis {"connection_id":195591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:55] local.INFO: Extracted packet for processing {"connection_id":195591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:55] 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-25 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23: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-25 23:11:55] 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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:11:55] 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-25 23: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-25 23: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-25 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":195591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:11:55] local.INFO: GPS data processed {"connection_id":195591,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:11:55] local.INFO: Acknowledgment sent {"connection_id":195591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:11:58] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:58] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:11:58] local.INFO: IMEI packet received {"connection_id":192873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":192873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:11:59] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:59] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:11:59] local.INFO: Packet analysis {"connection_id":192873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:59] local.INFO: Extracted packet for processing {"connection_id":192873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:11: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-25 23:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:11:59] 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-25 23:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:11:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":192873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:11:59] local.INFO: GPS data processed {"connection_id":192873,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:11:59] local.INFO: Acknowledgment sent {"connection_id":192873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:01] local.INFO: TCP Data received {"connection_id":192872,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:12:01] local.INFO: Processing buffer {"connection_id":192872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a40058012d34c14006aa49080008006e2a..."} 
[2026-09-25 23:12:01] local.INFO: Packet analysis {"connection_id":192872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:12:01] local.INFO: Extracted packet for processing {"connection_id":192872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a4"} 
[2026-09-25 23:12:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331519488001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12: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-25 23:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790357799000,"timestamp_ms":1790357799000,"timestamp_seconds":1790357799,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a40058"} 
[2026-09-25 23:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331519488001,"66":25451,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331519488001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:12:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:12: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-25 23:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331519488001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:12:01] 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":898392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:01] local.INFO: GPS data processed {"connection_id":192872,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:01] local.INFO: Acknowledgment sent {"connection_id":192872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:03] local.INFO: TCP Data received {"connection_id":194225,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:12:03] local.INFO: Processing buffer {"connection_id":194225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:12:03] local.INFO: IMEI packet received {"connection_id":194225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":194225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:12:22] local.INFO: TCP Data received {"connection_id":195592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:22] local.INFO: Processing buffer {"connection_id":195592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:22] local.INFO: IMEI packet received {"connection_id":195592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":195592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:12:24] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:24] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:24] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:12:27] local.INFO: TCP Data received {"connection_id":195592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195592,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:27] local.INFO: Processing buffer {"connection_id":195592,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:12:27] local.INFO: IMEI packet received {"connection_id":195592,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":195592,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:12:28] local.INFO: TCP Data received {"connection_id":195592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:28] local.INFO: Processing buffer {"connection_id":195592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:28] local.INFO: Packet analysis {"connection_id":195592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:28] local.INFO: Extracted packet for processing {"connection_id":195592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:12: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-25 23:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:28] 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-25 23:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:12:28] 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-25 23:12: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-25 23:12: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-25 23:12: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-25 23:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:12:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":195592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:28] local.INFO: GPS data processed {"connection_id":195592,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:28] local.INFO: Acknowledgment sent {"connection_id":195592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:29] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:29] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:12:29] local.INFO: IMEI packet received {"connection_id":192717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":192717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:12:30] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:12:30] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:12:30] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:12:30] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23: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-25 23:12:30] 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-25 23:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:12:30] 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-25 23: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-25 23: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-25 23:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:12:30] 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":898394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:30] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:30] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:30] local.INFO: TCP Data received {"connection_id":192873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:30] local.INFO: Processing buffer {"connection_id":192873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:30] local.INFO: Packet analysis {"connection_id":192873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:30] local.INFO: Extracted packet for processing {"connection_id":192873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12: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-25 23:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23: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-25 23:12:30] 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-25 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:12: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-25 23: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-25 23: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-25 23:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":192873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:30] local.INFO: GPS data processed {"connection_id":192873,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:30] local.INFO: Acknowledgment sent {"connection_id":192873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:32] local.INFO: TCP Data received {"connection_id":195592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:32] local.INFO: Processing buffer {"connection_id":195592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:12:32] local.INFO: Packet analysis {"connection_id":195592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:32] local.INFO: Extracted packet for processing {"connection_id":195592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:32] 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-25 23:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:12:32] 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-25 23:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195592,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:12:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":195592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:32] local.INFO: GPS data processed {"connection_id":195592,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:32] local.INFO: Acknowledgment sent {"connection_id":195592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:12:54] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:54] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:54] local.INFO: IMEI packet received {"connection_id":194227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":194227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:12:58] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:58] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:12:58] local.INFO: IMEI packet received {"connection_id":194227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":194227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:12:59] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:59] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:12:59] local.INFO: Packet analysis {"connection_id":194227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:59] local.INFO: Extracted packet for processing {"connection_id":194227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:12: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-25 23:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:12:59] 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-25 23:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:12:59] 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":898397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:12:59] local.INFO: GPS data processed {"connection_id":194227,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:12:59] local.INFO: Acknowledgment sent {"connection_id":194227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:01] local.INFO: TCP Data received {"connection_id":192717,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:01] local.INFO: Processing buffer {"connection_id":192717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:01] local.INFO: Packet analysis {"connection_id":192717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:13:01] local.INFO: Extracted packet for processing {"connection_id":192717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:13:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13: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-25 23:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:01] 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-25 23:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:13:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:13: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-25 23:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:13:02] 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":898398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:02] local.INFO: GPS data processed {"connection_id":192717,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:02] local.INFO: Acknowledgment sent {"connection_id":192717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:17] local.INFO: TCP Data received {"connection_id":194228,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:17] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:17] local.INFO: IMEI packet received {"connection_id":194228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":194228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:13:22] local.INFO: TCP Data received {"connection_id":194228,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:22] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:13:22] local.INFO: IMEI packet received {"connection_id":194228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":194228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:13:23] local.INFO: TCP Data received {"connection_id":194228,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:23] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:23] local.INFO: Packet analysis {"connection_id":194228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:23] local.INFO: Extracted packet for processing {"connection_id":194228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:23] 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-25 23:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:23] 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-25 23:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:13:23] 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-25 23:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:13:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:13:23] 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":898399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:23] local.INFO: GPS data processed {"connection_id":194228,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:23] local.INFO: Acknowledgment sent {"connection_id":194228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:24] local.INFO: TCP Data received {"connection_id":195593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:24] local.INFO: Processing buffer {"connection_id":195593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:24] local.INFO: IMEI packet received {"connection_id":195593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":195593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:13:28] local.INFO: TCP Data received {"connection_id":194228,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:28] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a607e0012d0b10c007029f100007013d22..."} 
[2026-09-25 23:13:28] local.INFO: Packet analysis {"connection_id":194228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:28] local.INFO: Extracted packet for processing {"connection_id":194228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":7,"angle":317,"satellites":34,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331553536001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:28] 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-25 23:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790357932000,"timestamp_ms":1790357932000,"timestamp_seconds":1790357932,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a607e0"} 
[2026-09-25 23:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:28] 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-25 23:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:13: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-25 23:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331553536001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331553536001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331553536001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:13:28] 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":898400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:28] local.INFO: GPS data processed {"connection_id":194228,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:28] local.INFO: Acknowledgment sent {"connection_id":194228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:29] local.INFO: TCP Data received {"connection_id":195593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:29] local.INFO: Processing buffer {"connection_id":195593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:13:29] local.INFO: IMEI packet received {"connection_id":195593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":195593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:13:30] local.INFO: TCP Data received {"connection_id":195593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:30] local.INFO: Processing buffer {"connection_id":195593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:13:30] local.INFO: Packet analysis {"connection_id":195593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:13:30] local.INFO: Extracted packet for processing {"connection_id":195593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:30] 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-25 23:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:13:30] 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-25 23:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":195593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:30] local.INFO: GPS data processed {"connection_id":195593,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:30] local.INFO: Acknowledgment sent {"connection_id":195593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:31] local.INFO: TCP Data received {"connection_id":194227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:31] local.INFO: Processing buffer {"connection_id":194227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:31] local.INFO: Packet analysis {"connection_id":194227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:31] local.INFO: Extracted packet for processing {"connection_id":194227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23: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-25 23:13: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-25 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:13: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-25 23: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-25 23: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-25 23:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:13:31] 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":898402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:31] local.INFO: GPS data processed {"connection_id":194227,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:31] local.INFO: Acknowledgment sent {"connection_id":194227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:53] local.INFO: TCP Data received {"connection_id":194229,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:53] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:53] local.INFO: IMEI packet received {"connection_id":194229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":194229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:13:58] local.INFO: TCP Data received {"connection_id":194229,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:58] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:13:58] local.INFO: IMEI packet received {"connection_id":194229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":194229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:13:59] local.INFO: TCP Data received {"connection_id":194229,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:59] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:13:59] local.INFO: Packet analysis {"connection_id":194229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:59] local.INFO: Extracted packet for processing {"connection_id":194229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13: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-25 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:59] 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-25 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:13:59] 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":898403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:59] local.INFO: GPS data processed {"connection_id":194229,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:59] local.INFO: Acknowledgment sent {"connection_id":194229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:13:59] local.INFO: TCP Data received {"connection_id":194228,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:13:59] local.INFO: Processing buffer {"connection_id":194228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:13:59] local.INFO: Packet analysis {"connection_id":194228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:13:59] local.INFO: Extracted packet for processing {"connection_id":194228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:13:59] 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-25 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:13:59] 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-25 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:13:59] 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-25 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:13:59] 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":898404,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:13:59] local.INFO: GPS data processed {"connection_id":194228,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:13:59] local.INFO: Acknowledgment sent {"connection_id":194228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:02] local.INFO: TCP Data received {"connection_id":195593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:02] local.INFO: Processing buffer {"connection_id":195593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:02] local.INFO: Packet analysis {"connection_id":195593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:14:02] local.INFO: Extracted packet for processing {"connection_id":195593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14: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-25 23:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:14:02] 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-25 23:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:14:02] 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-25 23:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:14: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-25 23:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":195593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:14:02] local.INFO: GPS data processed {"connection_id":195593,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:14:02] local.INFO: Acknowledgment sent {"connection_id":195593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:17] local.INFO: TCP Data received {"connection_id":195594,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:17] local.INFO: Processing buffer {"connection_id":195594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:17] local.INFO: IMEI packet received {"connection_id":195594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":195594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:14:22] local.INFO: TCP Data received {"connection_id":195594,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195594,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:22] local.INFO: Processing buffer {"connection_id":195594,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:14:22] local.INFO: IMEI packet received {"connection_id":195594,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":195594,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:14:23] local.INFO: TCP Data received {"connection_id":195594,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:23] local.INFO: Processing buffer {"connection_id":195594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:23] local.INFO: Packet analysis {"connection_id":195594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:14:23] local.INFO: Extracted packet for processing {"connection_id":195594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:23] 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-25 23:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23: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-25 23:14:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:14: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-25 23: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-25 23: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-25 23:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:14:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":195594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:14:23] local.INFO: GPS data processed {"connection_id":195594,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:14:23] local.INFO: Acknowledgment sent {"connection_id":195594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:24] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:24] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:24] local.INFO: IMEI packet received {"connection_id":192719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":192719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:14:29] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:29] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:14:29] local.INFO: IMEI packet received {"connection_id":192719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":192719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:14:30] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:30] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:14:30] local.INFO: Packet analysis {"connection_id":192719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:14:30] local.INFO: Extracted packet for processing {"connection_id":192719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:14:30] 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-25 23:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:14:30] 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-25 23:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":192719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:14:30] local.INFO: GPS data processed {"connection_id":192719,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:14:30] local.INFO: Acknowledgment sent {"connection_id":192719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:30] local.INFO: TCP Data received {"connection_id":194229,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:14:30] local.INFO: Processing buffer {"connection_id":194229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:14:30] local.INFO: Packet analysis {"connection_id":194229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:14:30] local.INFO: Extracted packet for processing {"connection_id":194229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14: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-25 23:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:14:30] 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-25 23:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:14: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-25 23:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:14:31] 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":898408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:14:31] local.INFO: GPS data processed {"connection_id":194229,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:14:31] local.INFO: Acknowledgment sent {"connection_id":194229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:55] local.INFO: TCP Data received {"connection_id":195594,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:55] local.INFO: Processing buffer {"connection_id":195594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:14:55] local.INFO: Packet analysis {"connection_id":195594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:14:55] local.INFO: Extracted packet for processing {"connection_id":195594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:14:55] 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-25 23:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:14:55] 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-25 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:14: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-25 23:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195594,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:14:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:14:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":195594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:14:55] local.INFO: GPS data processed {"connection_id":195594,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:14:55] local.INFO: Acknowledgment sent {"connection_id":195594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:14:58] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:14:58] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:14:58] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:15:02] local.INFO: TCP Data received {"connection_id":192719,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:02] local.INFO: Processing buffer {"connection_id":192719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:02] local.INFO: Packet analysis {"connection_id":192719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:02] local.INFO: Extracted packet for processing {"connection_id":192719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15: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-25 23:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:15:02] 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-25 23:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:02] 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-25 23:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:15: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-25 23:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":192719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:02] local.INFO: GPS data processed {"connection_id":192719,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:02] local.INFO: Acknowledgment sent {"connection_id":192719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:03] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:03] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:03] local.INFO: IMEI packet received {"connection_id":192875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":192875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:15:04] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:04] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:04] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:15:04] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:15:04] 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":898411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:04] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:04] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:09] local.INFO: TCP Data received {"connection_id":192875,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:09] local.INFO: Processing buffer {"connection_id":192875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a6b3c0012d1969c0071ff170003f015228..."} 
[2026-09-25 23:15:09] local.INFO: Packet analysis {"connection_id":192875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:15:09] local.INFO: Extracted packet for processing {"connection_id":192875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a6"} 
[2026-09-25 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331564800001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790357976000,"timestamp_ms":1790357976000,"timestamp_seconds":1790357976,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a6b3c0"} 
[2026-09-25 23: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-25 23:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23: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-25 23: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-25 23:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":192875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":192875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":192875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331564800001,"66":2144,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331564800001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331564800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:15:09] 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":898412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:09] local.INFO: GPS data processed {"connection_id":192875,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:09] local.INFO: Acknowledgment sent {"connection_id":192875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:22] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:22] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:22] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:15:27] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:27] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:15:27] local.INFO: IMEI packet received {"connection_id":192720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":192720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:15:28] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:28] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:28] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:15:28] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:15:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:28] 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-25 23:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23: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-25 23:15:28] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:28] 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-25 23: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-25 23: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-25 23:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:15:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:15:28] 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":898413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:28] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:28] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:29] local.INFO: TCP Data received {"connection_id":195596,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:29] local.INFO: Processing buffer {"connection_id":195596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:29] local.INFO: IMEI packet received {"connection_id":195596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":195596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:15:35] local.INFO: TCP Data received {"connection_id":195596,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:35] local.INFO: Processing buffer {"connection_id":195596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:15:35] local.INFO: IMEI packet received {"connection_id":195596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":195596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:15:36] local.INFO: TCP Data received {"connection_id":195596,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:36] local.INFO: Processing buffer {"connection_id":195596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:36] local.INFO: Packet analysis {"connection_id":195596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:36] local.INFO: Extracted packet for processing {"connection_id":195596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":195596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":195596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":195596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15: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-25 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":195596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:36] local.INFO: GPS data processed {"connection_id":195596,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:36] local.INFO: Acknowledgment sent {"connection_id":195596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:40] local.INFO: TCP Data received {"connection_id":195596,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:40] local.INFO: Processing buffer {"connection_id":195596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:15:40] local.INFO: Packet analysis {"connection_id":195596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:40] local.INFO: Extracted packet for processing {"connection_id":195596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23: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-25 23:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:15: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-25 23:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":195596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:40] local.INFO: GPS data processed {"connection_id":195596,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:40] local.INFO: Acknowledgment sent {"connection_id":195596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:53] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:53] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:53] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:15:58] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:58] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:15:58] local.INFO: IMEI packet received {"connection_id":192721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":192721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:15:59] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:15:59] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:15:59] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:15:59] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15: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-25 23:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:15: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-25 23:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:15:59] 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":898416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:59] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:59] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:15:59] local.INFO: TCP Data received {"connection_id":192720,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:59] local.INFO: Processing buffer {"connection_id":192720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:15:59] local.INFO: Packet analysis {"connection_id":192720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:15:59] local.INFO: Extracted packet for processing {"connection_id":192720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:15:59] 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-25 23:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:15:59] 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-25 23:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:15:59] 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-25 23:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:15:59] 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":898417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:15:59] local.INFO: GPS data processed {"connection_id":192720,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:15:59] local.INFO: Acknowledgment sent {"connection_id":192720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:16:17] local.INFO: TCP Data received {"connection_id":192722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:17] local.INFO: Processing buffer {"connection_id":192722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:17] local.INFO: IMEI packet received {"connection_id":192722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":192722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:16:24] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:24] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:24] local.INFO: IMEI packet received {"connection_id":192876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":192876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:16:24] local.INFO: TCP Data received {"connection_id":192722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192722,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:24] local.INFO: Processing buffer {"connection_id":192722,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:16:24] local.INFO: IMEI packet received {"connection_id":192722,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":192722,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:16:25] local.INFO: TCP Data received {"connection_id":192722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:25] local.INFO: Processing buffer {"connection_id":192722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:25] local.INFO: Packet analysis {"connection_id":192722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:16:25] local.INFO: Extracted packet for processing {"connection_id":192722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:16:25] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:16: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-25 23:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:25] 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-25 23:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:16:25] 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-25 23:16: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:16:25] 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-25 23:16: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-25 23:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":192722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":192722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":192722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:16:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:16:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":192722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:16:25] local.INFO: GPS data processed {"connection_id":192722,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:16:25] local.INFO: Acknowledgment sent {"connection_id":192722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:16:27] local.INFO: TCP Data received {"connection_id":192722,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:27] local.INFO: Processing buffer {"connection_id":192722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:16:27] local.INFO: Packet analysis {"connection_id":192722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:16:27] local.INFO: Extracted packet for processing {"connection_id":192722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:27] 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-25 23:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23: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-25 23:16: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-25 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:16: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-25 23: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-25 23: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-25 23:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192722,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:16:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:16:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":192722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:16:27] local.INFO: GPS data processed {"connection_id":192722,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:16:27] local.INFO: Acknowledgment sent {"connection_id":192722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:16:29] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:29] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:16:29] local.INFO: IMEI packet received {"connection_id":192876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":192876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:16:30] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:16:30] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:16:30] local.INFO: Packet analysis {"connection_id":192876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:16:30] local.INFO: Extracted packet for processing {"connection_id":192876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:16:30] 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-25 23:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:16:30] 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-25 23:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:16:30] 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":898420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:16:30] local.INFO: GPS data processed {"connection_id":192876,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:16:30] local.INFO: Acknowledgment sent {"connection_id":192876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:16:30] local.INFO: TCP Data received {"connection_id":192721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:30] local.INFO: Processing buffer {"connection_id":192721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:30] local.INFO: Packet analysis {"connection_id":192721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:16:30] local.INFO: Extracted packet for processing {"connection_id":192721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16: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-25 23:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:16:30] 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":898421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:16:30] local.INFO: GPS data processed {"connection_id":192721,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:16:30] local.INFO: Acknowledgment sent {"connection_id":192721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:16:53] local.INFO: TCP Data received {"connection_id":195598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:53] local.INFO: Processing buffer {"connection_id":195598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:53] local.INFO: IMEI packet received {"connection_id":195598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":195598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:16:58] local.INFO: TCP Data received {"connection_id":195598,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:58] local.INFO: Processing buffer {"connection_id":195598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:16:58] local.INFO: IMEI packet received {"connection_id":195598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":195598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:16:59] local.INFO: TCP Data received {"connection_id":195598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:59] local.INFO: Processing buffer {"connection_id":195598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:16:59] local.INFO: Packet analysis {"connection_id":195598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:16:59] local.INFO: Extracted packet for processing {"connection_id":195598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:16: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-25 23:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:16: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-25 23:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:16:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":195598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:16:59] local.INFO: GPS data processed {"connection_id":195598,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:16:59] local.INFO: Acknowledgment sent {"connection_id":195598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:01] local.INFO: TCP Data received {"connection_id":192876,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:17:01] local.INFO: Processing buffer {"connection_id":192876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9a89820012d34c14006aa49080002006e2c..."} 
[2026-09-25 23:17:01] local.INFO: Packet analysis {"connection_id":192876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:17:01] local.INFO: Extracted packet for processing {"connection_id":192876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9a8"} 
[2026-09-25 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331596544001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17: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-25 23:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358100000,"timestamp_ms":1790358100000,"timestamp_seconds":1790358100,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9a89820"} 
[2026-09-25 23:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:17:01] 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-25 23:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331596544001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331596544001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:17:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:17: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-25 23:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331596544001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:17:01] 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":898423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:01] local.INFO: GPS data processed {"connection_id":192876,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:01] local.INFO: Acknowledgment sent {"connection_id":192876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:17] local.INFO: TCP Data received {"connection_id":195599,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:17] local.INFO: Processing buffer {"connection_id":195599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:17] local.INFO: IMEI packet received {"connection_id":195599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":195599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:17:22] local.INFO: TCP Data received {"connection_id":195599,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:22] local.INFO: Processing buffer {"connection_id":195599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:17:22] local.INFO: IMEI packet received {"connection_id":195599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":195599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:17:23] local.INFO: TCP Data received {"connection_id":195599,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:23] local.INFO: Processing buffer {"connection_id":195599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:23] local.INFO: Packet analysis {"connection_id":195599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:17:23] local.INFO: Extracted packet for processing {"connection_id":195599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:23] 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-25 23:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23: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-25 23:17:23] 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-25 23: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-25 23: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-25 23: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-25 23: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-25 23:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:17:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":195599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:23] local.INFO: GPS data processed {"connection_id":195599,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:23] local.INFO: Acknowledgment sent {"connection_id":195599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:24] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:24] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:24] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:17:29] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:29] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:17:29] local.INFO: IMEI packet received {"connection_id":192878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":192878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:17:30] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:17:30] local.INFO: TCP Data received {"connection_id":195598,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:17:30] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:17:30] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:17:30] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:30] local.INFO: Processing buffer {"connection_id":195598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:30] 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-25 23:17:30] local.INFO: Packet analysis {"connection_id":195598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:17:30] local.INFO: Extracted packet for processing {"connection_id":195598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17: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-25 23:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:17:30] local.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-25 23:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:17:30] 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":898425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:30] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:30] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":195598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:30] local.INFO: GPS data processed {"connection_id":195598,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:30] local.INFO: Acknowledgment sent {"connection_id":195598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:33] local.INFO: TCP Data received {"connection_id":192877,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:17:33] local.INFO: Processing buffer {"connection_id":192877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:17:33] local.INFO: IMEI packet received {"connection_id":192877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":192877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:17:53] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:53] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:53] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:17:55] local.INFO: TCP Data received {"connection_id":195599,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:55] local.INFO: Processing buffer {"connection_id":195599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:17:55] local.INFO: Packet analysis {"connection_id":195599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:17:55] local.INFO: Extracted packet for processing {"connection_id":195599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:17:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:55] 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-25 23:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23: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-25 23:17:55] 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-25 23: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":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:17: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-25 23: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-25 23: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-25 23:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":195599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:56] local.INFO: GPS data processed {"connection_id":195599,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:56] local.INFO: Acknowledgment sent {"connection_id":195599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:17:58] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:58] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:17:58] local.INFO: IMEI packet received {"connection_id":192723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":192723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:17:59] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:59] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:17:59] local.INFO: Packet analysis {"connection_id":192723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:17:59] local.INFO: Extracted packet for processing {"connection_id":192723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:17: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-25 23:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:17: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-25 23:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":192723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:17:59] local.INFO: GPS data processed {"connection_id":192723,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:17:59] local.INFO: Acknowledgment sent {"connection_id":192723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:02] local.INFO: TCP Data received {"connection_id":192878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:02] local.INFO: Processing buffer {"connection_id":192878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:02] local.INFO: Packet analysis {"connection_id":192878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:18:02] local.INFO: Extracted packet for processing {"connection_id":192878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18: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-25 23:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:18:02] 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-25 23:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:18: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-25 23:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:18:02] 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":898429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:18:02] local.INFO: GPS data processed {"connection_id":192878,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:18:02] local.INFO: Acknowledgment sent {"connection_id":192878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:03] local.INFO: TCP Data received {"connection_id":194230,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:18:03] local.INFO: Processing buffer {"connection_id":194230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:18:03] local.INFO: IMEI packet received {"connection_id":194230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":194230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:18:17] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:17] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:17] local.INFO: IMEI packet received {"connection_id":194231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":194231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:18:24] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:24] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:18:24] local.INFO: IMEI packet received {"connection_id":194231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":194231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:18:24] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:24] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:24] local.INFO: IMEI packet received {"connection_id":192724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":192724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:18:24] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:24] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:24] local.INFO: Packet analysis {"connection_id":194231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:18:24] local.INFO: Extracted packet for processing {"connection_id":194231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:24] 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-25 23:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:18:24] 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-25 23:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:18:24] 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-25 23:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":194231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":194231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":194231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:18:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:18:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:18:25] 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":898430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:18:25] local.INFO: GPS data processed {"connection_id":194231,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:18:25] local.INFO: Acknowledgment sent {"connection_id":194231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:29] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:29] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:18:29] local.INFO: IMEI packet received {"connection_id":192724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":192724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:18:30] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:30] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:18:30] local.INFO: Packet analysis {"connection_id":192724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:18:30] local.INFO: Extracted packet for processing {"connection_id":192724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:18:30] 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-25 23:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":192724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:18:30] local.INFO: GPS data processed {"connection_id":192724,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:18:30] local.INFO: Acknowledgment sent {"connection_id":192724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:30] local.INFO: TCP Data received {"connection_id":192723,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:18:30] local.INFO: Processing buffer {"connection_id":192723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:18:30] local.INFO: Packet analysis {"connection_id":192723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:18:30] local.INFO: Extracted packet for processing {"connection_id":192723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:18:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18: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-25 23:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":192723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:18:30] local.INFO: GPS data processed {"connection_id":192723,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:18:30] local.INFO: Acknowledgment sent {"connection_id":192723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:54] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:54] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:54] local.INFO: IMEI packet received {"connection_id":192725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":192725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:18:57] local.INFO: TCP Data received {"connection_id":194231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:57] local.INFO: Processing buffer {"connection_id":194231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9aa9fa8012d0b10c007029f100005013d20..."} 
[2026-09-25 23:18:57] local.INFO: Packet analysis {"connection_id":194231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:18:57] local.INFO: Extracted packet for processing {"connection_id":194231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9aa"} 
[2026-09-25 23:18:57] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":5,"angle":317,"satellites":32,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331630592001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:18:57] 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-25 23:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1790358233000,"timestamp_ms":1790358233000,"timestamp_seconds":1790358233,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9aa9fa8"} 
[2026-09-25 23:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:18:57] 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-25 23:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":194231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":194231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":194231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331630592001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331630592001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:18:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:18:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331630592001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:18:57] 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":898433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:18:57] local.INFO: GPS data processed {"connection_id":194231,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:18:57] local.INFO: Acknowledgment sent {"connection_id":194231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:18:58] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:58] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:18:58] local.INFO: IMEI packet received {"connection_id":192725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":192725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:19:01] local.INFO: TCP Data received {"connection_id":192724,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:01] local.INFO: Processing buffer {"connection_id":192724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:01] local.INFO: Packet analysis {"connection_id":192724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:01] local.INFO: Extracted packet for processing {"connection_id":192724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19: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-25 23:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:01] 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-25 23:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:19:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:19: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-25 23:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":192724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:01] local.INFO: GPS data processed {"connection_id":192724,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:01] local.INFO: Acknowledgment sent {"connection_id":192724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:03] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:03] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:03] local.INFO: IMEI packet received {"connection_id":192725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":192725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:19:04] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:04] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:04] local.INFO: Packet analysis {"connection_id":192725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:04] local.INFO: Extracted packet for processing {"connection_id":192725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:04] 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-25 23:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:19:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":192725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:04] local.INFO: GPS data processed {"connection_id":192725,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:04] local.INFO: Acknowledgment sent {"connection_id":192725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:29] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:29] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:29] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:19:31] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: IMEI packet received {"connection_id":194232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":194232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:19:31] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:19:31] local.INFO: IMEI packet received {"connection_id":194232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":194232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:19:32] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:32] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:32] local.INFO: Packet analysis {"connection_id":194232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:19:32] local.INFO: Extracted packet for processing {"connection_id":194232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:19:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:32] 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-25 23:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:32] 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-25 23:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:19:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:19:33] 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":898436,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:33] local.INFO: GPS data processed {"connection_id":194232,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:33] local.INFO: Acknowledgment sent {"connection_id":194232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:33] local.INFO: TCP Data received {"connection_id":194232,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:33] local.INFO: Processing buffer {"connection_id":194232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:19:33] local.INFO: Packet analysis {"connection_id":194232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:19:33] local.INFO: Extracted packet for processing {"connection_id":194232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:19:33] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 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-25 23:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:33] 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-25 23:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 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-25 23:19:33] 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-25 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:33] 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-25 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-25 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-25 23:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":194232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":194232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":194232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:19:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:19: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":898437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:34] local.INFO: GPS data processed {"connection_id":194232,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:34] local.INFO: Acknowledgment sent {"connection_id":194232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:34] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:34] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:19:34] local.INFO: IMEI packet received {"connection_id":192879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":192879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:19:35] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:35] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:35] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:35] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:35] 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-25 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19: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-25 23:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:19: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":898438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:35] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:35] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:35] local.INFO: TCP Data received {"connection_id":192725,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:35] local.INFO: Processing buffer {"connection_id":192725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:35] local.INFO: Packet analysis {"connection_id":192725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:35] local.INFO: Extracted packet for processing {"connection_id":192725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:35] 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-25 23:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":192725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:35] local.INFO: GPS data processed {"connection_id":192725,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:35] local.INFO: Acknowledgment sent {"connection_id":192725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:40] local.INFO: TCP Data received {"connection_id":192879,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:40] local.INFO: Processing buffer {"connection_id":192879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:19:40] local.INFO: Packet analysis {"connection_id":192879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:40] local.INFO: Extracted packet for processing {"connection_id":192879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:19: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-25 23:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:19: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-25 23:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:19: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":898440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:40] local.INFO: GPS data processed {"connection_id":192879,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:40] local.INFO: Acknowledgment sent {"connection_id":192879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:19:53] local.INFO: TCP Data received {"connection_id":192726,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:53] local.INFO: Processing buffer {"connection_id":192726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:53] local.INFO: IMEI packet received {"connection_id":192726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":192726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:19:58] local.INFO: TCP Data received {"connection_id":192726,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:58] local.INFO: Processing buffer {"connection_id":192726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:19:58] local.INFO: IMEI packet received {"connection_id":192726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":192726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:19:59] local.INFO: TCP Data received {"connection_id":192726,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:59] local.INFO: Processing buffer {"connection_id":192726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ab4b88012d1969c0071ff170003f015227..."} 
[2026-09-25 23:19:59] local.INFO: Packet analysis {"connection_id":192726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:59] local.INFO: Extracted packet for processing {"connection_id":192726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ab"} 
[2026-09-25 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331641856001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:19: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-25 23:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358277000,"timestamp_ms":1790358277000,"timestamp_seconds":1790358277,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ab4b88"} 
[2026-09-25 23:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-25 23:19: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-25 23:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331641856001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331641856001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:19:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331641856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":192726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:19:59] local.INFO: GPS data processed {"connection_id":192726,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:19:59] local.INFO: Acknowledgment sent {"connection_id":192726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:21] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:21] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:21] local.INFO: IMEI packet received {"connection_id":192727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":192727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:20:22] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:22] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:20:22] local.INFO: IMEI packet received {"connection_id":192727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":192727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:20:22] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:22] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:22] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:22] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:22] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:22] 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-25 23:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23: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-25 23:20: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-25 23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:20: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-25 23: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-25 23: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-25 23:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:20:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898442,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:20:22] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:20:22] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:24] local.INFO: TCP Data received {"connection_id":192728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:24] local.INFO: Processing buffer {"connection_id":192728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:24] local.INFO: IMEI packet received {"connection_id":192728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":192728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:20:27] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:27] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:27] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:27] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:27] 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-25 23:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23: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-25 23: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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:20:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:20:27] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:20:27] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:29] local.INFO: TCP Data received {"connection_id":192728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:29] local.INFO: Processing buffer {"connection_id":192728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:20:29] local.INFO: IMEI packet received {"connection_id":192728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":192728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:20:30] local.INFO: TCP Data received {"connection_id":192726,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:30] local.INFO: Processing buffer {"connection_id":192726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:30] local.INFO: Packet analysis {"connection_id":192726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:30] local.INFO: Extracted packet for processing {"connection_id":192726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20: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-25 23:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:20:30] 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-25 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":192726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:20:30] local.INFO: GPS data processed {"connection_id":192726,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:20:30] local.INFO: Acknowledgment sent {"connection_id":192726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:30] local.INFO: TCP Data received {"connection_id":192728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:20:30] local.INFO: Processing buffer {"connection_id":192728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:20:30] local.INFO: Packet analysis {"connection_id":192728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:20:30] local.INFO: Extracted packet for processing {"connection_id":192728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:20:30] 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-25 23:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:20:30] 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-25 23:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":192728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:20:30] local.INFO: GPS data processed {"connection_id":192728,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:20:30] local.INFO: Acknowledgment sent {"connection_id":192728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:53] local.INFO: TCP Data received {"connection_id":194233,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:53] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:53] local.INFO: IMEI packet received {"connection_id":194233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":194233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:20:58] local.INFO: TCP Data received {"connection_id":194233,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:58] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:20:58] local.INFO: IMEI packet received {"connection_id":194233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":194233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:20:59] local.INFO: TCP Data received {"connection_id":192727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:59] local.INFO: Processing buffer {"connection_id":192727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:20:59] local.INFO: Packet analysis {"connection_id":192727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:59] local.INFO: Extracted packet for processing {"connection_id":192727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:59] 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-25 23:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:20:59] 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-25 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":192727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:20:59] local.INFO: GPS data processed {"connection_id":192727,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:20:59] local.INFO: Acknowledgment sent {"connection_id":192727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:20:59] local.INFO: TCP Data received {"connection_id":194233,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:59] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:20:59] local.INFO: Packet analysis {"connection_id":194233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:59] local.INFO: Extracted packet for processing {"connection_id":194233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:20: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-25 23:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:20:59] 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-25 23:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:21:00] 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":898447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:00] local.INFO: GPS data processed {"connection_id":194233,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:00] local.INFO: Acknowledgment sent {"connection_id":194233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:02] local.INFO: TCP Data received {"connection_id":192728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:02] local.INFO: Processing buffer {"connection_id":192728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:02] local.INFO: Packet analysis {"connection_id":192728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:21:02] local.INFO: Extracted packet for processing {"connection_id":192728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21: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-25 23:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:21:02] 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-25 23:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:21:02] 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-25 23:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:21: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-25 23:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":192728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:02] local.INFO: GPS data processed {"connection_id":192728,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:02] local.INFO: Acknowledgment sent {"connection_id":192728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:17] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:17] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:17] local.INFO: IMEI packet received {"connection_id":194234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":194234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:21:22] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:22] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:21:22] local.INFO: IMEI packet received {"connection_id":194234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":194234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:21:23] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:23] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:23] local.INFO: Packet analysis {"connection_id":194234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:23] local.INFO: Extracted packet for processing {"connection_id":194234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:23] 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-25 23:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:21:23] 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-25 23:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:21:23] 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-25 23:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:21:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:21:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:21:23] 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":898449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:23] local.INFO: GPS data processed {"connection_id":194234,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:23] local.INFO: Acknowledgment sent {"connection_id":194234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:25] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:25] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:25] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:21:29] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:29] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:21:29] local.INFO: IMEI packet received {"connection_id":192880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":192880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:21:30] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:30] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:21:30] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:21:30] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:21:30] 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-25 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:21:30] 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":898450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:30] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:30] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:30] local.INFO: TCP Data received {"connection_id":194233,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:21:30] local.INFO: Processing buffer {"connection_id":194233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:21:30] local.INFO: Packet analysis {"connection_id":194233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:30] local.INFO: Extracted packet for processing {"connection_id":194233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21: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-25 23:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:21:30] 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-25 23:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:21:30] 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":898451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:30] local.INFO: GPS data processed {"connection_id":194233,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:30] local.INFO: Acknowledgment sent {"connection_id":194233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:53] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:53] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:53] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:21:54] local.INFO: TCP Data received {"connection_id":194234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:54] local.INFO: Processing buffer {"connection_id":194234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:21:54] local.INFO: Packet analysis {"connection_id":194234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:54] local.INFO: Extracted packet for processing {"connection_id":194234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:21:54] 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-25 23:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:21:54] 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-25 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:21:54] 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-25 23:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:21:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:21:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:21:54] 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":898452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:21:54] local.INFO: GPS data processed {"connection_id":194234,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:21:54] local.INFO: Acknowledgment sent {"connection_id":194234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:21:58] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:58] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:21:58] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:22:01] local.INFO: TCP Data received {"connection_id":192880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:22:01] local.INFO: Processing buffer {"connection_id":192880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9ad2fe8012d34c14006aa49080006006e2d..."} 
[2026-09-25 23:22:01] local.INFO: Packet analysis {"connection_id":192880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:22:01] local.INFO: Extracted packet for processing {"connection_id":192880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ad"} 
[2026-09-25 23:22:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":6,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331673600001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22: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-25 23:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358401000,"timestamp_ms":1790358401000,"timestamp_seconds":1790358401,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9ad2fe8"} 
[2026-09-25 23:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:01] 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-25 23:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331673600001,"66":25473,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331673600001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:22:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:22: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-25 23:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331673600001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:22:01] 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":898453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:01] local.INFO: GPS data processed {"connection_id":192880,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:01] local.INFO: Acknowledgment sent {"connection_id":192880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:03] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:03] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:03] local.INFO: IMEI packet received {"connection_id":192729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":192729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:22:04] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:04] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:04] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:04] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:22:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:22:04] 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":898454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:04] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:04] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:17] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:17] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:17] local.INFO: IMEI packet received {"connection_id":192881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":192881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:22:22] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:22] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:22:22] local.INFO: IMEI packet received {"connection_id":192881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":192881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:22:23] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:23] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:23] local.INFO: Packet analysis {"connection_id":192881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:23] local.INFO: Extracted packet for processing {"connection_id":192881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:23] 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-25 23:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:23] 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-25 23:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:23] 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-25 23:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:22:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:22:23] 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":898455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:23] local.INFO: GPS data processed {"connection_id":192881,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:23] local.INFO: Acknowledgment sent {"connection_id":192881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:24] local.INFO: TCP Data received {"connection_id":194235,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:24] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:24] local.INFO: IMEI packet received {"connection_id":194235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":194235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:22:29] local.INFO: TCP Data received {"connection_id":194235,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:29] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:22:29] local.INFO: IMEI packet received {"connection_id":194235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":194235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:22:30] local.INFO: TCP Data received {"connection_id":194235,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:22:30] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:22:30] local.INFO: Packet analysis {"connection_id":194235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:22:30] local.INFO: Extracted packet for processing {"connection_id":194235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:22:30] 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-25 23:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:22:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:22:30] 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":898456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:30] local.INFO: GPS data processed {"connection_id":194235,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:30] local.INFO: Acknowledgment sent {"connection_id":194235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:35] local.INFO: TCP Data received {"connection_id":192729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:35] local.INFO: Processing buffer {"connection_id":192729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:35] local.INFO: Packet analysis {"connection_id":192729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:35] local.INFO: Extracted packet for processing {"connection_id":192729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:22:35] 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":898457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:35] local.INFO: GPS data processed {"connection_id":192729,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:35] local.INFO: Acknowledgment sent {"connection_id":192729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:53] local.INFO: TCP Data received {"connection_id":192731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:53] local.INFO: Processing buffer {"connection_id":192731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:53] local.INFO: IMEI packet received {"connection_id":192731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":192731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:22:55] local.INFO: TCP Data received {"connection_id":192881,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:55] local.INFO: Processing buffer {"connection_id":192881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:22:55] local.INFO: Packet analysis {"connection_id":192881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:55] local.INFO: Extracted packet for processing {"connection_id":192881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:55] 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-25 23:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:55] 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-25 23:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:55] 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-25 23:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:22:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:22:55] 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":898458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:55] local.INFO: GPS data processed {"connection_id":192881,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:55] local.INFO: Acknowledgment sent {"connection_id":192881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:22:58] local.INFO: TCP Data received {"connection_id":192731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:58] local.INFO: Processing buffer {"connection_id":192731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:22:58] local.INFO: IMEI packet received {"connection_id":192731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":192731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:22:59] local.INFO: TCP Data received {"connection_id":192731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:59] local.INFO: Processing buffer {"connection_id":192731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:22:59] local.INFO: Packet analysis {"connection_id":192731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:59] local.INFO: Extracted packet for processing {"connection_id":192731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:22: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-25 23:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:22:59] 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-25 23:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:22:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":192731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:22:59] local.INFO: GPS data processed {"connection_id":192731,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:22:59] local.INFO: Acknowledgment sent {"connection_id":192731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:02] local.INFO: TCP Data received {"connection_id":194235,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:02] local.INFO: Processing buffer {"connection_id":194235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:02] local.INFO: Packet analysis {"connection_id":194235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:02] local.INFO: Extracted packet for processing {"connection_id":194235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23: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-25 23:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23:02] 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-25 23:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:23: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-25 23:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:23:02] 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":898460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:02] local.INFO: GPS data processed {"connection_id":194235,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:02] local.INFO: Acknowledgment sent {"connection_id":194235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:17] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:17] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:17] local.INFO: IMEI packet received {"connection_id":192732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":192732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:23:23] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:23] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:23] local.INFO: IMEI packet received {"connection_id":192732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":192732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:23:27] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:27] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:23:27] local.INFO: IMEI packet received {"connection_id":192732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":192732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:23:28] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:23:28] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9af3770012d0b10c007029f100008013d1c..."} 
[2026-09-25 23:23:28] local.INFO: Packet analysis {"connection_id":192732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:28] local.INFO: Extracted packet for processing {"connection_id":192732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":8,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:23: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-25 23:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331707648001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:28] 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-25 23:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790358534000,"timestamp_ms":1790358534000,"timestamp_seconds":1790358534,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9af3770"} 
[2026-09-25 23:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:23:28] 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-25 23:23: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-25 23:23: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-25 23:23: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-25 23:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331707648001,"66":12613,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331707648001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:23:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331707648001,"power":12613,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":192732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:28] local.INFO: GPS data processed {"connection_id":192732,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:28] local.INFO: Acknowledgment sent {"connection_id":192732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:28] local.INFO: TCP Data received {"connection_id":195603,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:23:28] local.INFO: Processing buffer {"connection_id":195603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:23:28] local.INFO: IMEI packet received {"connection_id":195603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":195603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:23:29] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:29] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:29] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:23:30] local.INFO: TCP Data received {"connection_id":192731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:30] local.INFO: Processing buffer {"connection_id":192731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:30] local.INFO: Packet analysis {"connection_id":192731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:30] local.INFO: Extracted packet for processing {"connection_id":192731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 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-25 23:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23: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-25 23:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 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-25 23:23:30] 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-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 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-25 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-25 23:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":192731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:30] local.INFO: GPS data processed {"connection_id":192731,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:30] local.INFO: Acknowledgment sent {"connection_id":192731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:34] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:34] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:23:34] local.INFO: IMEI packet received {"connection_id":192882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":192882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:23:35] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:35] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:35] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:35] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23: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-25 23:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:23:35] 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":898463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:35] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:35] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:39] local.INFO: TCP Data received {"connection_id":192882,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:39] local.INFO: Processing buffer {"connection_id":192882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:23:39] local.INFO: Packet analysis {"connection_id":192882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:39] local.INFO: Extracted packet for processing {"connection_id":192882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23: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-25 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:23: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-25 23: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-25 23: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-25 23:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:23: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-25 23:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:23:39] 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":898464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:39] local.INFO: GPS data processed {"connection_id":192882,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:39] local.INFO: Acknowledgment sent {"connection_id":192882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:53] local.INFO: TCP Data received {"connection_id":195604,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:53] local.INFO: Processing buffer {"connection_id":195604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:53] local.INFO: IMEI packet received {"connection_id":195604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":195604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:23:58] local.INFO: TCP Data received {"connection_id":195604,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:58] local.INFO: Processing buffer {"connection_id":195604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:23:58] local.INFO: IMEI packet received {"connection_id":195604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":195604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:23:59] local.INFO: TCP Data received {"connection_id":195604,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:59] local.INFO: Processing buffer {"connection_id":195604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:23:59] local.INFO: Packet analysis {"connection_id":195604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:59] local.INFO: Extracted packet for processing {"connection_id":195604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23: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-25 23:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:23:59] 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-25 23:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:23:59] local.INFO: TCP Data received {"connection_id":192732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:23:59] local.INFO: Processing buffer {"connection_id":192732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:23:59] local.INFO: Packet analysis {"connection_id":192732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:23:59] local.INFO: Extracted packet for processing {"connection_id":192732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:23:59] 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-25 23:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:23:59] 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-25 23:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":195604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:59] local.INFO: GPS data processed {"connection_id":195604,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:59] local.INFO: Acknowledgment sent {"connection_id":195604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":192732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898466,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:23:59] local.INFO: GPS data processed {"connection_id":192732,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:23:59] local.INFO: Acknowledgment sent {"connection_id":192732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:24:03] local.INFO: TCP Data received {"connection_id":194236,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:24:03] local.INFO: Processing buffer {"connection_id":194236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:24:03] local.INFO: IMEI packet received {"connection_id":194236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":194236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:24:24] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:24] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:24] local.INFO: IMEI packet received {"connection_id":194238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":194238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:24:29] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:29] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:24:29] local.INFO: IMEI packet received {"connection_id":194238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":194238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:24:30] local.INFO: TCP Data received {"connection_id":195604,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:24:30] local.INFO: Processing buffer {"connection_id":195604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:24:30] local.INFO: Packet analysis {"connection_id":195604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:24:30] local.INFO: Extracted packet for processing {"connection_id":195604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24: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-25 23:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:24:30] 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-25 23:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:24:30] local.INFO: TCP Data received {"connection_id":194237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: IMEI packet received {"connection_id":194237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":194237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":195604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:24:30] local.INFO: GPS data processed {"connection_id":195604,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:24:30] local.INFO: Acknowledgment sent {"connection_id":195604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:24:30] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:24:30] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:24:30] local.INFO: Packet analysis {"connection_id":194238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:24:30] local.INFO: Extracted packet for processing {"connection_id":194238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:24:30] local.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-25 23:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:24:30] 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":898468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:24:30] local.INFO: GPS data processed {"connection_id":194238,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:24:30] local.INFO: Acknowledgment sent {"connection_id":194238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:24:30] local.INFO: TCP Data received {"connection_id":194237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:24:30] local.INFO: IMEI packet received {"connection_id":194237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":194237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:24:31] local.INFO: TCP Data received {"connection_id":194237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:31] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:31] local.INFO: Packet analysis {"connection_id":194237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:24:31] local.INFO: Extracted packet for processing {"connection_id":194237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:24:31] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:31] 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-25 23:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:24: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-25 23:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:24:31] 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-25 23:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":194237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":194237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":194237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:24:31] 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-25 23:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:24:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:24:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:24:31] 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":898469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:24:31] local.INFO: GPS data processed {"connection_id":194237,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:24:31] local.INFO: Acknowledgment sent {"connection_id":194237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:24:32] local.INFO: TCP Data received {"connection_id":194237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:32] local.INFO: Processing buffer {"connection_id":194237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:24:32] local.INFO: Packet analysis {"connection_id":194237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:24:32] local.INFO: Extracted packet for processing {"connection_id":194237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:24:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:24:32] 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-25 23:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23: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-25 23:24:32] 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-25 23: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":194237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":194237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":194237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:24:32] 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-25 23:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:24:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:24:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:24:32] 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":898470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:24:32] local.INFO: GPS data processed {"connection_id":194237,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:24:32] local.INFO: Acknowledgment sent {"connection_id":194237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:24:58] local.INFO: TCP Data received {"connection_id":192883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:24:58] local.INFO: Processing buffer {"connection_id":192883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:24:58] local.INFO: IMEI packet received {"connection_id":192883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":192883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:25:01] local.INFO: TCP Data received {"connection_id":194238,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:01] local.INFO: Processing buffer {"connection_id":194238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:01] local.INFO: Packet analysis {"connection_id":194238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:25:01] local.INFO: Extracted packet for processing {"connection_id":194238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:25:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25: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-25 23:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:25:01] local.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-25 23:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:25:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:25: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-25 23:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:25:01] 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":898471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:01] local.INFO: GPS data processed {"connection_id":194238,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:01] local.INFO: Acknowledgment sent {"connection_id":194238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:03] local.INFO: TCP Data received {"connection_id":192883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:03] local.INFO: Processing buffer {"connection_id":192883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:03] local.INFO: IMEI packet received {"connection_id":192883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":192883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:25:04] local.INFO: TCP Data received {"connection_id":192883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:04] local.INFO: Processing buffer {"connection_id":192883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:04] local.INFO: Packet analysis {"connection_id":192883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:25:04] local.INFO: Extracted packet for processing {"connection_id":192883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:25:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":192883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:04] local.INFO: GPS data processed {"connection_id":192883,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:04] local.INFO: Acknowledgment sent {"connection_id":192883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:08] local.INFO: TCP Data received {"connection_id":192883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:08] local.INFO: Processing buffer {"connection_id":192883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9afe350012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:08] local.INFO: Packet analysis {"connection_id":192883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:25:08] local.INFO: Extracted packet for processing {"connection_id":192883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9af"} 
[2026-09-25 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331718912001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790358578000,"timestamp_ms":1790358578000,"timestamp_seconds":1790358578,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9afe350"} 
[2026-09-25 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331718912001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331718912001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:25:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331718912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":192883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:09] local.INFO: GPS data processed {"connection_id":192883,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:09] local.INFO: Acknowledgment sent {"connection_id":192883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:17] local.INFO: TCP Data received {"connection_id":194239,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:17] local.INFO: Processing buffer {"connection_id":194239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:17] local.INFO: IMEI packet received {"connection_id":194239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":194239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:25:22] local.INFO: TCP Data received {"connection_id":194239,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:22] local.INFO: Processing buffer {"connection_id":194239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:25:22] local.INFO: IMEI packet received {"connection_id":194239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":194239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:25:23] local.INFO: TCP Data received {"connection_id":194239,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:23] local.INFO: Processing buffer {"connection_id":194239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:23] local.INFO: Packet analysis {"connection_id":194239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:25:23] local.INFO: Extracted packet for processing {"connection_id":194239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:23] 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-25 23:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23: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-25 23:25:23] 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-25 23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:23] 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-25 23: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-25 23: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-25 23:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:25:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":194239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:23] local.INFO: GPS data processed {"connection_id":194239,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:23] local.INFO: Acknowledgment sent {"connection_id":194239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:24] local.INFO: TCP Data received {"connection_id":192885,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:24] local.INFO: Processing buffer {"connection_id":192885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:24] local.INFO: IMEI packet received {"connection_id":192885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":192885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:25:29] local.INFO: TCP Data received {"connection_id":192885,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:29] local.INFO: Processing buffer {"connection_id":192885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:25:29] local.INFO: IMEI packet received {"connection_id":192885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":192885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:25:30] local.INFO: TCP Data received {"connection_id":192885,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:30] local.INFO: Processing buffer {"connection_id":192885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:25:30] local.INFO: Packet analysis {"connection_id":192885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:25:30] local.INFO: Extracted packet for processing {"connection_id":192885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23: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-25 23:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":192885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:30] local.INFO: GPS data processed {"connection_id":192885,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:30] local.INFO: Acknowledgment sent {"connection_id":192885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:53] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:53] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:53] local.INFO: IMEI packet received {"connection_id":194240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":194240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:25:54] local.INFO: TCP Data received {"connection_id":194239,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:54] local.INFO: Processing buffer {"connection_id":194239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:25:54] local.INFO: Packet analysis {"connection_id":194239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:25:54] local.INFO: Extracted packet for processing {"connection_id":194239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:25:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:54] 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-25 23:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:25:54] 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-25 23:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:54] 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-25 23:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:25:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":194239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:55] local.INFO: GPS data processed {"connection_id":194239,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:55] local.INFO: Acknowledgment sent {"connection_id":194239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:25:58] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:58] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:25:58] local.INFO: IMEI packet received {"connection_id":194240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":194240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:25:59] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:59] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:25:59] local.INFO: Packet analysis {"connection_id":194240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:25:59] local.INFO: Extracted packet for processing {"connection_id":194240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:25: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-25 23:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:25:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:25:59] 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":898477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:25:59] local.INFO: GPS data processed {"connection_id":194240,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:25:59] local.INFO: Acknowledgment sent {"connection_id":194240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:01] local.INFO: TCP Data received {"connection_id":192885,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:01] local.INFO: Processing buffer {"connection_id":192885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:01] local.INFO: Packet analysis {"connection_id":192885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:26:01] local.INFO: Extracted packet for processing {"connection_id":192885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:26:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26: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-25 23:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:26:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:26: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-25 23:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":192885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:01] local.INFO: GPS data processed {"connection_id":192885,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:01] local.INFO: Acknowledgment sent {"connection_id":192885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:17] local.INFO: TCP Data received {"connection_id":195605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:17] local.INFO: Processing buffer {"connection_id":195605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:17] local.INFO: IMEI packet received {"connection_id":195605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":195605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:26:22] local.INFO: TCP Data received {"connection_id":195605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:22] local.INFO: Processing buffer {"connection_id":195605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:26:22] local.INFO: IMEI packet received {"connection_id":195605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":195605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:26:23] local.INFO: TCP Data received {"connection_id":195605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:23] local.INFO: Processing buffer {"connection_id":195605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:23] local.INFO: Packet analysis {"connection_id":195605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:26:23] local.INFO: Extracted packet for processing {"connection_id":195605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:26:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:23] 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-25 23:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23: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-25 23:26:23] 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-25 23: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:23] 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-25 23: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-25 23: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-25 23:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:26:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":195605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:23] local.INFO: GPS data processed {"connection_id":195605,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:23] local.INFO: Acknowledgment sent {"connection_id":195605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:24] local.INFO: TCP Data received {"connection_id":195606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:24] local.INFO: Processing buffer {"connection_id":195606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:24] local.INFO: IMEI packet received {"connection_id":195606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":195606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:26:29] local.INFO: TCP Data received {"connection_id":195606,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:29] local.INFO: Processing buffer {"connection_id":195606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:26:29] local.INFO: IMEI packet received {"connection_id":195606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":195606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:26:30] local.INFO: TCP Data received {"connection_id":195606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:30] local.INFO: Processing buffer {"connection_id":195606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:26:30] local.INFO: Packet analysis {"connection_id":195606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:26:30] local.INFO: Extracted packet for processing {"connection_id":195606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":195606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:30] local.INFO: GPS data processed {"connection_id":195606,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:30] local.INFO: Acknowledgment sent {"connection_id":195606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:30] local.INFO: TCP Data received {"connection_id":194240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:30] local.INFO: Processing buffer {"connection_id":194240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:30] local.INFO: Packet analysis {"connection_id":194240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:26:30] local.INFO: Extracted packet for processing {"connection_id":194240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26: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-25 23:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:26:30] 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":898481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:30] local.INFO: GPS data processed {"connection_id":194240,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:30] local.INFO: Acknowledgment sent {"connection_id":194240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:53] local.INFO: TCP Data received {"connection_id":192734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:53] local.INFO: Processing buffer {"connection_id":192734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:53] local.INFO: IMEI packet received {"connection_id":192734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":192734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:26:54] local.INFO: TCP Data received {"connection_id":195605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:54] local.INFO: Processing buffer {"connection_id":195605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:26:54] local.INFO: Packet analysis {"connection_id":195605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:26:54] local.INFO: Extracted packet for processing {"connection_id":195605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:26:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:26: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-25 23:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:54] 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-25 23:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:26:54] 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-25 23:26: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":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:54] 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-25 23:26: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-25 23:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:26:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":195605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:54] local.INFO: GPS data processed {"connection_id":195605,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:54] local.INFO: Acknowledgment sent {"connection_id":195605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:26:58] local.INFO: TCP Data received {"connection_id":192734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:58] local.INFO: Processing buffer {"connection_id":192734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:26:58] local.INFO: IMEI packet received {"connection_id":192734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":192734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:26:59] local.INFO: TCP Data received {"connection_id":192734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:59] local.INFO: Processing buffer {"connection_id":192734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:26:59] local.INFO: Packet analysis {"connection_id":192734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:26:59] local.INFO: Extracted packet for processing {"connection_id":192734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:26: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-25 23:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":192734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:26:59] local.INFO: GPS data processed {"connection_id":192734,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:26:59] local.INFO: Acknowledgment sent {"connection_id":192734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:01] local.INFO: TCP Data received {"connection_id":195606,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:27:01] local.INFO: Processing buffer {"connection_id":195606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b1c7b0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:27:01] local.INFO: Packet analysis {"connection_id":195606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:27:01] local.INFO: Extracted packet for processing {"connection_id":195606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b1"} 
[2026-09-25 23:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331750656001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27: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-25 23:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790358702000,"timestamp_ms":1790358702000,"timestamp_seconds":1790358702,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b1c7b0"} 
[2026-09-25 23:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-25 23:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331750656001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331750656001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:27: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-25 23:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331750656001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":195606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:01] local.INFO: GPS data processed {"connection_id":195606,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:01] local.INFO: Acknowledgment sent {"connection_id":195606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:22] local.INFO: TCP Data received {"connection_id":195608,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:22] local.INFO: Processing buffer {"connection_id":195608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:22] local.INFO: IMEI packet received {"connection_id":195608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":195608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:27:24] local.INFO: TCP Data received {"connection_id":194241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:24] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:24] local.INFO: IMEI packet received {"connection_id":194241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":194241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:27:27] local.INFO: TCP Data received {"connection_id":195608,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:27] local.INFO: Processing buffer {"connection_id":195608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:27:27] local.INFO: IMEI packet received {"connection_id":195608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":195608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:27:28] local.INFO: TCP Data received {"connection_id":195608,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:28] local.INFO: Processing buffer {"connection_id":195608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:28] local.INFO: Packet analysis {"connection_id":195608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:27:28] local.INFO: Extracted packet for processing {"connection_id":195608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:27: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-25 23:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:28] 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-25 23:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:28] 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-25 23:27: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-25 23:27: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-25 23:27: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-25 23:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":195608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":195608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":195608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:27:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":195608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:28] local.INFO: GPS data processed {"connection_id":195608,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:28] local.INFO: Acknowledgment sent {"connection_id":195608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:29] local.INFO: TCP Data received {"connection_id":194241,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:29] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:27:29] local.INFO: IMEI packet received {"connection_id":194241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":194241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:27:30] local.INFO: TCP Data received {"connection_id":194241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:27:30] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:27:30] local.INFO: Packet analysis {"connection_id":194241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:27:30] local.INFO: Extracted packet for processing {"connection_id":194241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:30] 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-25 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:27:30] 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":898486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:30] local.INFO: GPS data processed {"connection_id":194241,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:30] local.INFO: Acknowledgment sent {"connection_id":194241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:30] local.INFO: TCP Data received {"connection_id":192734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:30] local.INFO: Processing buffer {"connection_id":192734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:30] local.INFO: Packet analysis {"connection_id":192734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:27:30] local.INFO: Extracted packet for processing {"connection_id":192734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27: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-25 23:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":192734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:30] local.INFO: GPS data processed {"connection_id":192734,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:30] local.INFO: Acknowledgment sent {"connection_id":192734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:32] local.INFO: TCP Data received {"connection_id":195608,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:32] local.INFO: Processing buffer {"connection_id":195608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:27:32] local.INFO: Packet analysis {"connection_id":195608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:27:32] local.INFO: Extracted packet for processing {"connection_id":195608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:27:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:32] 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-25 23:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:32] 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-25 23:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":195608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":195608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":195608,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:27:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":195608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:32] local.INFO: GPS data processed {"connection_id":195608,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:32] local.INFO: Acknowledgment sent {"connection_id":195608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:27:53] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:53] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:53] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:27:58] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:58] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:27:58] local.INFO: IMEI packet received {"connection_id":192886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":192886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:27:59] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:59] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:27:59] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:27:59] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:27: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-25 23:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:27:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:27:59] 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":898489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:27:59] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:27:59] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:01] local.INFO: TCP Data received {"connection_id":194241,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:01] local.INFO: Processing buffer {"connection_id":194241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:01] local.INFO: Packet analysis {"connection_id":194241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:28:01] local.INFO: Extracted packet for processing {"connection_id":194241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28: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-25 23:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:01] 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-25 23:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:28:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:28: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-25 23:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:28:01] 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":898490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:01] local.INFO: GPS data processed {"connection_id":194241,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:01] local.INFO: Acknowledgment sent {"connection_id":194241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:17] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:17] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:17] local.INFO: IMEI packet received {"connection_id":194242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":194242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:28:22] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:22] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:28:22] local.INFO: IMEI packet received {"connection_id":194242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":194242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:28:23] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:23] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:23] local.INFO: Packet analysis {"connection_id":194242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:28:23] local.INFO: Extracted packet for processing {"connection_id":194242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:23] 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-25 23:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:23] 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-25 23:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:23] 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-25 23:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:28:23] 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":898491,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:23] local.INFO: GPS data processed {"connection_id":194242,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:23] local.INFO: Acknowledgment sent {"connection_id":194242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:24] local.INFO: TCP Data received {"connection_id":195610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:24] local.INFO: Processing buffer {"connection_id":195610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:24] local.INFO: IMEI packet received {"connection_id":195610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":195610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:28:29] local.INFO: TCP Data received {"connection_id":195610,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:29] local.INFO: Processing buffer {"connection_id":195610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:28:29] local.INFO: IMEI packet received {"connection_id":195610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":195610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:28:30] local.INFO: TCP Data received {"connection_id":195610,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:30] local.INFO: Processing buffer {"connection_id":195610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:28:30] local.INFO: Packet analysis {"connection_id":195610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:28:30] local.INFO: Extracted packet for processing {"connection_id":195610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:30] 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-25 23:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":195610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:30] local.INFO: GPS data processed {"connection_id":195610,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:30] local.INFO: Acknowledgment sent {"connection_id":195610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:30] local.INFO: TCP Data received {"connection_id":192886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:30] local.INFO: Processing buffer {"connection_id":192886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:30] local.INFO: Packet analysis {"connection_id":192886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:28:30] local.INFO: Extracted packet for processing {"connection_id":192886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28: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-25 23:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:28:30] 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":898493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:30] local.INFO: GPS data processed {"connection_id":192886,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:30] local.INFO: Acknowledgment sent {"connection_id":192886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:53] local.INFO: TCP Data received {"connection_id":194243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:53] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:53] local.INFO: IMEI packet received {"connection_id":194243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":194243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:28:54] local.INFO: TCP Data received {"connection_id":194242,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:54] local.INFO: Processing buffer {"connection_id":194242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b3cf38012d0b10c007029f100006013d1e..."} 
[2026-09-25 23:28:54] local.INFO: Packet analysis {"connection_id":194242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:28:54] local.INFO: Extracted packet for processing {"connection_id":194242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b3"} 
[2026-09-25 23:28:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331784704001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:54] 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-25 23:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790358835000,"timestamp_ms":1790358835000,"timestamp_seconds":1790358835,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b3cf38"} 
[2026-09-25 23:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:54] 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-25 23:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:54] 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-25 23:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331784704001,"66":12602,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331784704001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:28:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331784704001,"power":12602,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:28:54] 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":898494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:54] local.INFO: GPS data processed {"connection_id":194242,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:54] local.INFO: Acknowledgment sent {"connection_id":194242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:28:58] local.INFO: TCP Data received {"connection_id":194243,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:58] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:28:58] local.INFO: IMEI packet received {"connection_id":194243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":194243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:28:59] local.INFO: TCP Data received {"connection_id":194243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:59] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:28:59] local.INFO: Packet analysis {"connection_id":194243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:28:59] local.INFO: Extracted packet for processing {"connection_id":194243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:28: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-25 23:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:28:59] 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":898495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:28:59] local.INFO: GPS data processed {"connection_id":194243,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:28:59] local.INFO: Acknowledgment sent {"connection_id":194243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:01] local.INFO: TCP Data received {"connection_id":195610,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:01] local.INFO: Processing buffer {"connection_id":195610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:01] local.INFO: Packet analysis {"connection_id":195610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:01] local.INFO: Extracted packet for processing {"connection_id":195610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29: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-25 23:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:29:01] 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-25 23:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:29: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-25 23:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":195610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:01] local.INFO: GPS data processed {"connection_id":195610,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:01] local.INFO: Acknowledgment sent {"connection_id":195610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:17] local.INFO: TCP Data received {"connection_id":195611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:17] local.INFO: Processing buffer {"connection_id":195611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:17] local.INFO: IMEI packet received {"connection_id":195611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":195611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:29:18] local.INFO: TCP Data received {"connection_id":192887,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:29:18] local.INFO: Processing buffer {"connection_id":192887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:29:18] local.INFO: IMEI packet received {"connection_id":192887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":192887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:29:22] local.INFO: TCP Data received {"connection_id":195611,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:22] local.INFO: Processing buffer {"connection_id":195611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:29:22] local.INFO: IMEI packet received {"connection_id":195611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":195611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:29:23] local.INFO: TCP Data received {"connection_id":195611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:23] local.INFO: Processing buffer {"connection_id":195611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:23] local.INFO: Packet analysis {"connection_id":195611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:29:23] local.INFO: Extracted packet for processing {"connection_id":195611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:29:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:29: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-25 23:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:23] 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-25 23:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:29:23] 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-25 23:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":195611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:23] local.INFO: GPS data processed {"connection_id":195611,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:23] local.INFO: Acknowledgment sent {"connection_id":195611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:30] local.INFO: TCP Data received {"connection_id":195612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:30] local.INFO: Processing buffer {"connection_id":195612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:30] local.INFO: IMEI packet received {"connection_id":195612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":195612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:29:30] local.INFO: TCP Data received {"connection_id":194243,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:29:30] local.INFO: Processing buffer {"connection_id":194243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:29:30] local.INFO: Packet analysis {"connection_id":194243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:29:30] local.INFO: Extracted packet for processing {"connection_id":194243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29: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-25 23:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:29:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:29:30] 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":898498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:30] local.INFO: GPS data processed {"connection_id":194243,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:30] local.INFO: Acknowledgment sent {"connection_id":194243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:34] local.INFO: TCP Data received {"connection_id":195612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:34] local.INFO: Processing buffer {"connection_id":195612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:29:34] local.INFO: IMEI packet received {"connection_id":195612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":195612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:29:35] local.INFO: TCP Data received {"connection_id":195612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:35] local.INFO: Processing buffer {"connection_id":195612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:35] local.INFO: Packet analysis {"connection_id":195612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:35] local.INFO: Extracted packet for processing {"connection_id":195612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23: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-25 23:29:35] 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-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":195612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":195612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":195612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":195612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:35] local.INFO: GPS data processed {"connection_id":195612,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:35] local.INFO: Acknowledgment sent {"connection_id":195612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:40] local.INFO: TCP Data received {"connection_id":195612,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:40] local.INFO: Processing buffer {"connection_id":195612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:29:40] local.INFO: Packet analysis {"connection_id":195612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:40] local.INFO: Extracted packet for processing {"connection_id":195612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23: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-25 23:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":195612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":195612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":195612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:29: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-25 23:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":195612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:40] local.INFO: GPS data processed {"connection_id":195612,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:40] local.INFO: Acknowledgment sent {"connection_id":195612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:54] local.INFO: TCP Data received {"connection_id":195611,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:54] local.INFO: Processing buffer {"connection_id":195611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:29:54] local.INFO: Packet analysis {"connection_id":195611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:29:54] local.INFO: Extracted packet for processing {"connection_id":195611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:29:54] 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-25 23:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:29:54] 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-25 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":195611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898501,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:29:54] local.INFO: GPS data processed {"connection_id":195611,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:29:54] local.INFO: Acknowledgment sent {"connection_id":195611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:29:58] local.INFO: TCP Data received {"connection_id":192888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:29:58] local.INFO: Processing buffer {"connection_id":192888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:29:58] local.INFO: IMEI packet received {"connection_id":192888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":192888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:30:03] local.INFO: TCP Data received {"connection_id":194244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:30:03] local.INFO: Processing buffer {"connection_id":194244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:30:03] local.INFO: IMEI packet received {"connection_id":194244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":194244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:30:04] local.INFO: TCP Data received {"connection_id":192888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:04] local.INFO: Processing buffer {"connection_id":192888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:04] local.INFO: IMEI packet received {"connection_id":192888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":192888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:30:04] local.INFO: TCP Data received {"connection_id":192888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:04] local.INFO: Processing buffer {"connection_id":192888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:04] local.INFO: Packet analysis {"connection_id":192888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:30:04] local.INFO: Extracted packet for processing {"connection_id":192888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23: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-25 23:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":192888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:04] local.INFO: GPS data processed {"connection_id":192888,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:04] local.INFO: Acknowledgment sent {"connection_id":192888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:30:08] local.INFO: TCP Data received {"connection_id":192888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:08] local.INFO: Processing buffer {"connection_id":192888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b47b18012d1969c0071ff170003f015228..."} 
[2026-09-25 23:30:08] local.INFO: Packet analysis {"connection_id":192888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:30:08] local.INFO: Extracted packet for processing {"connection_id":192888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b4"} 
[2026-09-25 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331795968001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790358879000,"timestamp_ms":1790358879000,"timestamp_seconds":1790358879,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b47b18"} 
[2026-09-25 23: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-25 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23: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-25 23: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-25 23:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":192888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":192888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":192888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331795968001,"66":2155,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331795968001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331795968001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":192888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:09] local.INFO: GPS data processed {"connection_id":192888,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:09] local.INFO: Acknowledgment sent {"connection_id":192888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:30:17] local.INFO: TCP Data received {"connection_id":192889,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:17] local.INFO: Processing buffer {"connection_id":192889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:17] local.INFO: IMEI packet received {"connection_id":192889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":192889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:30:22] local.INFO: TCP Data received {"connection_id":192889,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:22] local.INFO: Processing buffer {"connection_id":192889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:30:22] local.INFO: IMEI packet received {"connection_id":192889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":192889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:30:23] local.INFO: TCP Data received {"connection_id":192889,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:23] local.INFO: Processing buffer {"connection_id":192889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:23] local.INFO: Packet analysis {"connection_id":192889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:30:23] local.INFO: Extracted packet for processing {"connection_id":192889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:23] 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-25 23:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:30:23] 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-25 23:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":192889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:23] local.INFO: GPS data processed {"connection_id":192889,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:23] local.INFO: Acknowledgment sent {"connection_id":192889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:30:24] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:24] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:24] local.INFO: IMEI packet received {"connection_id":192735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":192735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:30:29] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:29] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:30:29] local.INFO: IMEI packet received {"connection_id":192735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":192735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:30:30] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:30:30] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:30:30] local.INFO: Packet analysis {"connection_id":192735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:30:30] local.INFO: Extracted packet for processing {"connection_id":192735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:30:30] 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-25 23:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:30:30] local.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-25 23:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:30:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":192735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:30] local.INFO: GPS data processed {"connection_id":192735,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:30] local.INFO: Acknowledgment sent {"connection_id":192735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:30:53] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:53] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:53] local.INFO: IMEI packet received {"connection_id":194245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":194245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:30:54] local.INFO: TCP Data received {"connection_id":192889,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:54] local.INFO: Processing buffer {"connection_id":192889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:30:54] local.INFO: Packet analysis {"connection_id":192889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:30:54] local.INFO: Extracted packet for processing {"connection_id":192889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:30:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:54] 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-25 23:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:30:54] 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-25 23:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":192889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898506,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:54] local.INFO: GPS data processed {"connection_id":192889,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:54] local.INFO: Acknowledgment sent {"connection_id":192889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:30:58] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:58] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:30:58] local.INFO: IMEI packet received {"connection_id":194245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":194245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:30:59] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:30:59] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:30:59] local.INFO: Packet analysis {"connection_id":194245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:30:59] local.INFO: Extracted packet for processing {"connection_id":194245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:30: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-25 23:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:30:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:30:59] 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":898507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:30:59] local.INFO: GPS data processed {"connection_id":194245,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:30:59] local.INFO: Acknowledgment sent {"connection_id":194245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:01] local.INFO: TCP Data received {"connection_id":192735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:01] local.INFO: Processing buffer {"connection_id":192735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:01] local.INFO: Packet analysis {"connection_id":192735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:31:01] local.INFO: Extracted packet for processing {"connection_id":192735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31: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-25 23:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:31:01] 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-25 23:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:31:01] local.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-25 23:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:31:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:31: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-25 23:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":192735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:01] local.INFO: GPS data processed {"connection_id":192735,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:01] local.INFO: Acknowledgment sent {"connection_id":192735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:22] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:22] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:22] local.INFO: IMEI packet received {"connection_id":192737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":192737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:31:24] local.INFO: TCP Data received {"connection_id":194247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:24] local.INFO: Processing buffer {"connection_id":194247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:24] local.INFO: IMEI packet received {"connection_id":194247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":194247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:31:27] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:27] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:31:27] local.INFO: IMEI packet received {"connection_id":192737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":192737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:31:29] local.INFO: TCP Data received {"connection_id":194247,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:29] local.INFO: Processing buffer {"connection_id":194247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:31:29] local.INFO: IMEI packet received {"connection_id":194247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":194247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:31:30] local.INFO: TCP Data received {"connection_id":194247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:30] local.INFO: Processing buffer {"connection_id":194247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:31:30] local.INFO: Packet analysis {"connection_id":194247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:31:30] local.INFO: Extracted packet for processing {"connection_id":194247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:31:30] 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-25 23:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":194247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:30] local.INFO: GPS data processed {"connection_id":194247,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:30] local.INFO: Acknowledgment sent {"connection_id":194247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:30] local.INFO: TCP Data received {"connection_id":194245,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:30] local.INFO: Processing buffer {"connection_id":194245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:30] local.INFO: Packet analysis {"connection_id":194245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:31:30] local.INFO: Extracted packet for processing {"connection_id":194245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31: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-25 23:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:31: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-25 23:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:31:30] 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":898510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:30] local.INFO: GPS data processed {"connection_id":194245,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:30] local.INFO: Acknowledgment sent {"connection_id":194245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:32] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:32] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:32] local.INFO: Packet analysis {"connection_id":192737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:31:32] local.INFO: Extracted packet for processing {"connection_id":192737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:31:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:32] 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-25 23:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:31:32] 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-25 23:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:31:32] 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-25 23:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:31:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":192737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898511,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:32] local.INFO: GPS data processed {"connection_id":192737,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:32] local.INFO: Acknowledgment sent {"connection_id":192737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:36] local.INFO: TCP Data received {"connection_id":192737,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:36] local.INFO: Processing buffer {"connection_id":192737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:31:36] local.INFO: Packet analysis {"connection_id":192737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:31:36] local.INFO: Extracted packet for processing {"connection_id":192737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:31:36] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:36] 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-25 23:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23: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-25 23:31:36] 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-25 23: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:31:36] 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-25 23: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-25 23: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-25 23:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":192737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":192737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:31:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":192737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898512,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:36] local.INFO: GPS data processed {"connection_id":192737,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:36] local.INFO: Acknowledgment sent {"connection_id":192737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:31:54] local.INFO: TCP Data received {"connection_id":192738,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:54] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:54] local.INFO: IMEI packet received {"connection_id":192738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":192738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:31:58] local.INFO: TCP Data received {"connection_id":192738,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:58] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:31:58] local.INFO: IMEI packet received {"connection_id":192738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":192738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:31:59] local.INFO: TCP Data received {"connection_id":192738,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:59] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:31:59] local.INFO: Packet analysis {"connection_id":192738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:31:59] local.INFO: Extracted packet for processing {"connection_id":192738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:31:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":192738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:31:59] local.INFO: GPS data processed {"connection_id":192738,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:31:59] local.INFO: Acknowledgment sent {"connection_id":192738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:32:01] local.INFO: TCP Data received {"connection_id":194247,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:32:01] local.INFO: Processing buffer {"connection_id":194247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b65f78012d34c14006aa49080002006e2e..."} 
[2026-09-25 23:32:01] local.INFO: Packet analysis {"connection_id":194247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:32:01] local.INFO: Extracted packet for processing {"connection_id":194247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b6"} 
[2026-09-25 23:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":2,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:32: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-25 23:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331827712001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32: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-25 23:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359003000,"timestamp_ms":1790359003000,"timestamp_seconds":1790359003,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b65f78"} 
[2026-09-25 23:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:32:01] 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-25 23:32: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:32: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-25 23:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331827712001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331827712001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:32:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:32: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-25 23:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331827712001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":194247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:32:01] local.INFO: GPS data processed {"connection_id":194247,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:32:01] local.INFO: Acknowledgment sent {"connection_id":194247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:32:17] local.INFO: TCP Data received {"connection_id":195613,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:17] local.INFO: Processing buffer {"connection_id":195613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:17] local.INFO: IMEI packet received {"connection_id":195613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":195613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:32:22] local.INFO: TCP Data received {"connection_id":195613,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:22] local.INFO: Processing buffer {"connection_id":195613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:32:22] local.INFO: IMEI packet received {"connection_id":195613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":195613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:32:23] local.INFO: TCP Data received {"connection_id":195613,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:32:23] local.INFO: Processing buffer {"connection_id":195613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:32:23] local.INFO: Packet analysis {"connection_id":195613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:32:23] local.INFO: Extracted packet for processing {"connection_id":195613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:23] 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-25 23:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23: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-25 23:32:23] 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-25 23: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:32:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":195613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898515,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:32:23] local.INFO: GPS data processed {"connection_id":195613,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:32:23] local.INFO: Acknowledgment sent {"connection_id":195613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:32:24] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:24] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:24] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:32:29] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:29] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:32:29] local.INFO: IMEI packet received {"connection_id":192739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":192739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:32:30] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:32:30] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:32:30] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:32:30] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:32:30] 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-25 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:32:30] 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":898516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:32:30] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:32:30] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:32:30] local.INFO: TCP Data received {"connection_id":192738,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:30] local.INFO: Processing buffer {"connection_id":192738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:30] local.INFO: Packet analysis {"connection_id":192738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:32:30] local.INFO: Extracted packet for processing {"connection_id":192738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32: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-25 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:32: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-25 23:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":192738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:32:30] local.INFO: GPS data processed {"connection_id":192738,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:32:30] local.INFO: Acknowledgment sent {"connection_id":192738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:32:53] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:53] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:53] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:32:58] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:58] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:32:58] local.INFO: IMEI packet received {"connection_id":192740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":192740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:32:59] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:59] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:32:59] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:32:59] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:32: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-25 23:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:32:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:32:59] 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":898518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:32:59] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:32:59] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:01] local.INFO: TCP Data received {"connection_id":192739,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:02] local.INFO: Processing buffer {"connection_id":192739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:02] local.INFO: Packet analysis {"connection_id":192739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:02] local.INFO: Extracted packet for processing {"connection_id":192739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33: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-25 23:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:33:02] 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-25 23:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:33:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:33: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-25 23:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:33:02] 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":898519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:02] local.INFO: GPS data processed {"connection_id":192739,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:02] local.INFO: Acknowledgment sent {"connection_id":192739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:03] local.INFO: TCP Data received {"connection_id":195613,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:03] local.INFO: Processing buffer {"connection_id":195613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:03] local.INFO: Packet analysis {"connection_id":195613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:03] local.INFO: Extracted packet for processing {"connection_id":195613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:03] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:03] 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-25 23:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:33:03] 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-25 23:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:03] 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-25 23:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":195613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":195613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":195613,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:33:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":195613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:03] local.INFO: GPS data processed {"connection_id":195613,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:03] local.INFO: Acknowledgment sent {"connection_id":195613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:17] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:17] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:17] local.INFO: IMEI packet received {"connection_id":192890,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":192890,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:33:22] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:22] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:33:22] local.INFO: IMEI packet received {"connection_id":192890,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":192890,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:33:23] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:23] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:23] local.INFO: Packet analysis {"connection_id":192890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:23] local.INFO: Extracted packet for processing {"connection_id":192890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:23] 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-25 23:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23: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-25 23:33:23] 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-25 23: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":192890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:23] local.INFO: GPS data processed {"connection_id":192890,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:23] local.INFO: Acknowledgment sent {"connection_id":192890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:29] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:29] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:29] local.INFO: IMEI packet received {"connection_id":194250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":194250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:33:30] local.INFO: TCP Data received {"connection_id":192740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:30] local.INFO: Processing buffer {"connection_id":192740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:30] local.INFO: Packet analysis {"connection_id":192740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:33:30] local.INFO: Extracted packet for processing {"connection_id":192740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33: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-25 23:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23: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-25 23:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:33: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-25 23: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-25 23: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-25 23:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:33:30] 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":898522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:30] local.INFO: GPS data processed {"connection_id":192740,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:30] local.INFO: Acknowledgment sent {"connection_id":192740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:34] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:34] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:33:34] local.INFO: IMEI packet received {"connection_id":194250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":194250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:33:35] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:35] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:35] local.INFO: Packet analysis {"connection_id":194250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:35] local.INFO: Extracted packet for processing {"connection_id":194250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23: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-25 23:33:35] 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-25 23:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:33:35] 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":898523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:35] local.INFO: GPS data processed {"connection_id":194250,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:35] local.INFO: Acknowledgment sent {"connection_id":194250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:39] local.INFO: TCP Data received {"connection_id":194250,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:39] local.INFO: Processing buffer {"connection_id":194250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:33:39] local.INFO: Packet analysis {"connection_id":194250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:39] local.INFO: Extracted packet for processing {"connection_id":194250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23: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-25 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:33: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-25 23:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:33:39] 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":898524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:39] local.INFO: GPS data processed {"connection_id":194250,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:39] local.INFO: Acknowledgment sent {"connection_id":194250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:53] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:53] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:53] local.INFO: IMEI packet received {"connection_id":192891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":192891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:33:55] local.INFO: TCP Data received {"connection_id":192890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:55] local.INFO: Processing buffer {"connection_id":192890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b86700012d0b10c007029f100006013d17..."} 
[2026-09-25 23:33:55] local.INFO: Packet analysis {"connection_id":192890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:55] local.INFO: Extracted packet for processing {"connection_id":192890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b8"} 
[2026-09-25 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":23,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:33: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-25 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331861760001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:55] 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-25 23:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790359136000,"timestamp_ms":1790359136000,"timestamp_seconds":1790359136,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b86700"} 
[2026-09-25 23:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:33:55] 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-25 23:33: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":58,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:55] 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-25 23:33: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-25 23:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192890,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331861760001,"66":12526,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331861760001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331861760001,"power":12526,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":192890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:55] local.INFO: GPS data processed {"connection_id":192890,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:55] local.INFO: Acknowledgment sent {"connection_id":192890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:33:58] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:58] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:33:58] local.INFO: IMEI packet received {"connection_id":192891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":192891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:33:59] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:59] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:33:59] local.INFO: Packet analysis {"connection_id":192891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:33:59] local.INFO: Extracted packet for processing {"connection_id":192891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:33: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-25 23:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:33:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:33:59] 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":898526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:33:59] local.INFO: GPS data processed {"connection_id":192891,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:33:59] local.INFO: Acknowledgment sent {"connection_id":192891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:34:17] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:17] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:17] local.INFO: IMEI packet received {"connection_id":192892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":192892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:34:22] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:22] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:34:22] local.INFO: IMEI packet received {"connection_id":192892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":192892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:34:23] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:23] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:23] local.INFO: Packet analysis {"connection_id":192892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:34:23] local.INFO: Extracted packet for processing {"connection_id":192892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:23] 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-25 23:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:34:23] 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-25 23:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:34: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-25 23:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:34:23] 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":898527,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:34:23] local.INFO: GPS data processed {"connection_id":192892,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:34:23] local.INFO: Acknowledgment sent {"connection_id":192892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:34:24] local.INFO: TCP Data received {"connection_id":192893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:24] local.INFO: Processing buffer {"connection_id":192893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:24] local.INFO: IMEI packet received {"connection_id":192893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":192893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:34:29] local.INFO: TCP Data received {"connection_id":192893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:29] local.INFO: Processing buffer {"connection_id":192893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:34:29] local.INFO: IMEI packet received {"connection_id":192893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":192893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:34:30] local.INFO: TCP Data received {"connection_id":192893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:34:30] local.INFO: Processing buffer {"connection_id":192893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:34:30] local.INFO: Packet analysis {"connection_id":192893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:34:30] local.INFO: Extracted packet for processing {"connection_id":192893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:34:30] 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-25 23:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":192893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:34:30] local.INFO: GPS data processed {"connection_id":192893,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:34:30] local.INFO: Acknowledgment sent {"connection_id":192893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:34:30] local.INFO: TCP Data received {"connection_id":192891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:34:30] local.INFO: Processing buffer {"connection_id":192891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:34:30] local.INFO: Packet analysis {"connection_id":192891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:34:30] local.INFO: Extracted packet for processing {"connection_id":192891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34: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-25 23:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:34: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-25 23:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:34:30] 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":898529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:34:30] local.INFO: GPS data processed {"connection_id":192891,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:34:30] local.INFO: Acknowledgment sent {"connection_id":192891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:34:55] local.INFO: TCP Data received {"connection_id":192892,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:55] local.INFO: Processing buffer {"connection_id":192892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:34:55] local.INFO: Packet analysis {"connection_id":192892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:34:55] local.INFO: Extracted packet for processing {"connection_id":192892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:34: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-25 23:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:34:55] 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-25 23:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:34:55] 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-25 23:34: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-25 23:34: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-25 23:34: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-25 23:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":192892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":192892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":192892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:34:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:34:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:34: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":898530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:34:55] local.INFO: GPS data processed {"connection_id":192892,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:34:55] local.INFO: Acknowledgment sent {"connection_id":192892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:34:58] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:34:58] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:34:58] local.INFO: IMEI packet received {"connection_id":194251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":194251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:35:02] local.INFO: TCP Data received {"connection_id":192893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:02] local.INFO: Processing buffer {"connection_id":192893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:02] local.INFO: Packet analysis {"connection_id":192893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:02] local.INFO: Extracted packet for processing {"connection_id":192893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35: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-25 23:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:02] 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-25 23:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35: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-25 23:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:35:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:35: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-25 23:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":192893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:02] local.INFO: GPS data processed {"connection_id":192893,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:02] local.INFO: Acknowledgment sent {"connection_id":192893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:03] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:03] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:03] local.INFO: IMEI packet received {"connection_id":194251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":194251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:35:04] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:04] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:04] local.INFO: Packet analysis {"connection_id":194251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:35:04] local.INFO: Extracted packet for processing {"connection_id":194251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:35:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:35:04] 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":898532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:04] local.INFO: GPS data processed {"connection_id":194251,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:04] local.INFO: Acknowledgment sent {"connection_id":194251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:09] local.INFO: TCP Data received {"connection_id":194251,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:09] local.INFO: Processing buffer {"connection_id":194251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9b912e0012d1969c0071ff170003f015226..."} 
[2026-09-25 23:35:09] local.INFO: Packet analysis {"connection_id":194251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:35:09] local.INFO: Extracted packet for processing {"connection_id":194251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9b9"} 
[2026-09-25 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331873024001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790359180000,"timestamp_ms":1790359180000,"timestamp_seconds":1790359180,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9b912e0"} 
[2026-09-25 23:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":194251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":194251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":194251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331873024001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331873024001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331873024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:35:09] 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":898533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:09] local.INFO: GPS data processed {"connection_id":194251,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:09] local.INFO: Acknowledgment sent {"connection_id":194251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:17] local.INFO: TCP Data received {"connection_id":195614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:17] local.INFO: Processing buffer {"connection_id":195614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:17] local.INFO: IMEI packet received {"connection_id":195614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":195614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:35:22] local.INFO: TCP Data received {"connection_id":195614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195614,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:22] local.INFO: Processing buffer {"connection_id":195614,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:35:22] local.INFO: IMEI packet received {"connection_id":195614,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":195614,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:35:23] local.INFO: TCP Data received {"connection_id":195614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:23] local.INFO: Processing buffer {"connection_id":195614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:23] local.INFO: Packet analysis {"connection_id":195614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:35:23] local.INFO: Extracted packet for processing {"connection_id":195614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:23] 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-25 23:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:23] 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-25 23:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:35: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-25 23:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":195614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:23] local.INFO: GPS data processed {"connection_id":195614,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:23] local.INFO: Acknowledgment sent {"connection_id":195614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:29] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:29] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:29] local.INFO: IMEI packet received {"connection_id":192894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":192894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:35:30] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:30] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:35:30] local.INFO: IMEI packet received {"connection_id":192894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":192894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:35:30] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:30] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:30] local.INFO: Packet analysis {"connection_id":192894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:30] local.INFO: Extracted packet for processing {"connection_id":192894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:30] 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-25 23:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:35:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:35:30] 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":898535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:30] local.INFO: GPS data processed {"connection_id":192894,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:30] local.INFO: Acknowledgment sent {"connection_id":192894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:33] local.INFO: TCP Data received {"connection_id":194252,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:35:33] local.INFO: Processing buffer {"connection_id":194252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:35:33] local.INFO: IMEI packet received {"connection_id":194252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":194252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:35:35] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:35] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:35:35] local.INFO: Packet analysis {"connection_id":192894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:35] local.INFO: Extracted packet for processing {"connection_id":192894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23: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-25 23:35:35] 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-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:35: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-25 23:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:35:35] 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":898536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:35] local.INFO: GPS data processed {"connection_id":192894,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:35] local.INFO: Acknowledgment sent {"connection_id":192894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:53] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:53] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:53] local.INFO: IMEI packet received {"connection_id":194253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":194253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:35:56] local.INFO: TCP Data received {"connection_id":195614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:56] local.INFO: Processing buffer {"connection_id":195614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:35:56] local.INFO: Packet analysis {"connection_id":195614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:35:56] local.INFO: Extracted packet for processing {"connection_id":195614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:35:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:56] 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-25 23:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23: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-25 23:35:56] 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-25 23: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:35: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-25 23: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-25 23: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-25 23:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":195614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":195614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":195614,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:35:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":195614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:56] local.INFO: GPS data processed {"connection_id":195614,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:56] local.INFO: Acknowledgment sent {"connection_id":195614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:35:58] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:58] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:35:58] local.INFO: IMEI packet received {"connection_id":194253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":194253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:35:59] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:35:59] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:35:59] local.INFO: Packet analysis {"connection_id":194253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:35:59] local.INFO: Extracted packet for processing {"connection_id":194253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:35: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-25 23:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:35:59] 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-25 23:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:35:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:35:59] 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":898538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:35:59] local.INFO: GPS data processed {"connection_id":194253,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:35:59] local.INFO: Acknowledgment sent {"connection_id":194253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:36:06] local.INFO: TCP Data received {"connection_id":192894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:06] local.INFO: Processing buffer {"connection_id":192894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:06] local.INFO: Packet analysis {"connection_id":192894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:36:06] local.INFO: Extracted packet for processing {"connection_id":192894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23: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-25 23:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":192894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":192894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:36: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-25 23:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:36:06] 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":898539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:36:06] local.INFO: GPS data processed {"connection_id":192894,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:36:06] local.INFO: Acknowledgment sent {"connection_id":192894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:36:08] local.INFO: TCP Data received {"connection_id":194254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:36:08] local.INFO: Processing buffer {"connection_id":194254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:36:08] local.INFO: IMEI packet received {"connection_id":194254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":194254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:36:22] local.INFO: TCP Data received {"connection_id":194255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:22] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:22] local.INFO: IMEI packet received {"connection_id":194255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":194255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:36:24] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:24] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:24] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:36:27] local.INFO: TCP Data received {"connection_id":194255,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:27] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:36:27] local.INFO: IMEI packet received {"connection_id":194255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":194255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:36:28] local.INFO: TCP Data received {"connection_id":194255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:28] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:28] local.INFO: Packet analysis {"connection_id":194255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:36:28] local.INFO: Extracted packet for processing {"connection_id":194255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:28] 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-25 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:36:28] 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-25 23:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:36:28] 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-25 23:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:36:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:36:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:36:28] 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":898540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:36:28] local.INFO: GPS data processed {"connection_id":194255,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:36:28] local.INFO: Acknowledgment sent {"connection_id":194255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:36:29] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:29] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:36:29] local.INFO: IMEI packet received {"connection_id":192895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":192895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:36:30] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:30] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:36:30] local.INFO: Packet analysis {"connection_id":192895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:36:30] local.INFO: Extracted packet for processing {"connection_id":192895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:36:30] 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-25 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:36:30] 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":898541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:36:30] local.INFO: GPS data processed {"connection_id":192895,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:36:30] local.INFO: Acknowledgment sent {"connection_id":192895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:36:30] local.INFO: TCP Data received {"connection_id":194253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:36:30] local.INFO: Processing buffer {"connection_id":194253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:36:30] local.INFO: Packet analysis {"connection_id":194253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:36:30] local.INFO: Extracted packet for processing {"connection_id":194253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36: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-25 23:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:36:30] 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-25 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:36:30] 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":898542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:36:30] local.INFO: GPS data processed {"connection_id":194253,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:36:30] local.INFO: Acknowledgment sent {"connection_id":194253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:36:53] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:53] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:53] local.INFO: IMEI packet received {"connection_id":194256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":194256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:36:58] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:58] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:36:58] local.INFO: IMEI packet received {"connection_id":194256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":194256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:36:59] local.INFO: TCP Data received {"connection_id":194255,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:59] local.INFO: Processing buffer {"connection_id":194255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:36:59] local.INFO: Packet analysis {"connection_id":194255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:36:59] local.INFO: Extracted packet for processing {"connection_id":194255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:36:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:36:59] 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-25 23:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:36:59] 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-25 23:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:36:59] 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-25 23:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:36:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:36:59] 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":898543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:36:59] local.INFO: GPS data processed {"connection_id":194255,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:36:59] local.INFO: Acknowledgment sent {"connection_id":194255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:02] local.INFO: TCP Data received {"connection_id":192895,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:37:02] local.INFO: Processing buffer {"connection_id":192895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9baf740012d34c14006aa49080008006e2e..."} 
[2026-09-25 23:37:02] local.INFO: Packet analysis {"connection_id":192895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:37:02] local.INFO: Extracted packet for processing {"connection_id":192895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ba"} 
[2026-09-25 23:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":8,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331904768001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37: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-25 23:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359304000,"timestamp_ms":1790359304000,"timestamp_seconds":1790359304,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9baf740"} 
[2026-09-25 23:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:02] 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-25 23:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331904768001,"66":25462,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331904768001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:37: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-25 23:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331904768001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:37:02] 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":898544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:02] local.INFO: GPS data processed {"connection_id":192895,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:02] local.INFO: Acknowledgment sent {"connection_id":192895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:03] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:03] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:03] local.INFO: IMEI packet received {"connection_id":194256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":194256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:37:04] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:04] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:04] local.INFO: Packet analysis {"connection_id":194256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:04] local.INFO: Extracted packet for processing {"connection_id":194256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:04] 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-25 23:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":194256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":194256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":194256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:37:04] 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":898545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:04] local.INFO: GPS data processed {"connection_id":194256,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:04] local.INFO: Acknowledgment sent {"connection_id":194256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:17] local.INFO: TCP Data received {"connection_id":195615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:17] local.INFO: Processing buffer {"connection_id":195615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:17] local.INFO: IMEI packet received {"connection_id":195615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":195615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:37:22] local.INFO: TCP Data received {"connection_id":195615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:22] local.INFO: Processing buffer {"connection_id":195615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:37:22] local.INFO: IMEI packet received {"connection_id":195615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":195615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:37:23] local.INFO: TCP Data received {"connection_id":192896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:23] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:23] local.INFO: IMEI packet received {"connection_id":192896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":192896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:37:23] local.INFO: TCP Data received {"connection_id":195615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:23] local.INFO: Processing buffer {"connection_id":195615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:23] local.INFO: Packet analysis {"connection_id":195615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:37:23] local.INFO: Extracted packet for processing {"connection_id":195615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:37:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:23] 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-25 23:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:23] 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-25 23:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:37: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-25 23:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":195615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:23] local.INFO: GPS data processed {"connection_id":195615,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:23] local.INFO: Acknowledgment sent {"connection_id":195615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:24] local.INFO: TCP Data received {"connection_id":192896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:24] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:24] local.INFO: IMEI packet received {"connection_id":192896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":192896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:37:29] local.INFO: TCP Data received {"connection_id":192896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:29] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:37:29] local.INFO: IMEI packet received {"connection_id":192896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":192896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:37:30] local.INFO: TCP Data received {"connection_id":192896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:37:30] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:37:30] local.INFO: Packet analysis {"connection_id":192896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:37:30] local.INFO: Extracted packet for processing {"connection_id":192896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":192896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:30] local.INFO: GPS data processed {"connection_id":192896,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:30] local.INFO: Acknowledgment sent {"connection_id":192896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:35] local.INFO: TCP Data received {"connection_id":194256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:35] local.INFO: Processing buffer {"connection_id":194256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:35] local.INFO: Packet analysis {"connection_id":194256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:35] local.INFO: Extracted packet for processing {"connection_id":194256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23: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-25 23:37:35] 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-25 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":194256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":194256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":194256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:37:35] 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":898548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:35] local.INFO: GPS data processed {"connection_id":194256,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:35] local.INFO: Acknowledgment sent {"connection_id":194256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:53] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:53] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:53] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:37:54] local.INFO: TCP Data received {"connection_id":195615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:54] local.INFO: Processing buffer {"connection_id":195615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:37:54] local.INFO: Packet analysis {"connection_id":195615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:37:54] local.INFO: Extracted packet for processing {"connection_id":195615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:54] 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-25 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:54] 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-25 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":195615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:54] local.INFO: GPS data processed {"connection_id":195615,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:54] local.INFO: Acknowledgment sent {"connection_id":195615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:37:58] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:58] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:37:58] local.INFO: IMEI packet received {"connection_id":192897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":192897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:37:59] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:59] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:37:59] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:59] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:37: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-25 23:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:37:59] 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-25 23:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:37:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:37:59] 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":898550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:37:59] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:37:59] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:02] local.INFO: TCP Data received {"connection_id":192896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:02] local.INFO: Processing buffer {"connection_id":192896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:02] local.INFO: Packet analysis {"connection_id":192896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:38:02] local.INFO: Extracted packet for processing {"connection_id":192896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38: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-25 23:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:38: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-25 23:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":192896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:38:02] local.INFO: GPS data processed {"connection_id":192896,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:38:02] local.INFO: Acknowledgment sent {"connection_id":192896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:17] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:17] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:17] local.INFO: IMEI packet received {"connection_id":192898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":192898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:38:22] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:22] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:38:22] local.INFO: IMEI packet received {"connection_id":192898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":192898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:38:23] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:23] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:23] local.INFO: Packet analysis {"connection_id":192898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:38:23] local.INFO: Extracted packet for processing {"connection_id":192898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:23] 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-25 23:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23: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-25 23:38:23] 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-25 23: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:38: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-25 23: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-25 23: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-25 23:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:38:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:38:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:38:23] 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":898552,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:38:23] local.INFO: GPS data processed {"connection_id":192898,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:38:23] local.INFO: Acknowledgment sent {"connection_id":192898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:24] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:24] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:24] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:38:29] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:29] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:38:29] local.INFO: IMEI packet received {"connection_id":192899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":192899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:38:30] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:30] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:38:30] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:38:30] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:38:30] local.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-25 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:38:30] 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":898553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:38:30] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:38:30] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:30] local.INFO: TCP Data received {"connection_id":192897,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:38:30] local.INFO: Processing buffer {"connection_id":192897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:38:30] local.INFO: Packet analysis {"connection_id":192897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:38:30] local.INFO: Extracted packet for processing {"connection_id":192897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38: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-25 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:38:30] 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-25 23:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:38:30] 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":898554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:38:30] local.INFO: GPS data processed {"connection_id":192897,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:38:30] local.INFO: Acknowledgment sent {"connection_id":192897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:54] local.INFO: TCP Data received {"connection_id":192898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:54] local.INFO: Processing buffer {"connection_id":192898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bcfec8012d0b10c007029f100006013d1c..."} 
[2026-09-25 23:38:54] local.INFO: Packet analysis {"connection_id":192898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:38:54] local.INFO: Extracted packet for processing {"connection_id":192898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bc"} 
[2026-09-25 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":6,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331938816001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:38:54] 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-25 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359437000,"timestamp_ms":1790359437000,"timestamp_seconds":1790359437,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bcfec8"} 
[2026-09-25 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:38:54] 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-25 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-25 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331938816001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331938816001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331938816001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:38:55] 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":898555,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:38:55] local.INFO: GPS data processed {"connection_id":192898,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:38:55] local.INFO: Acknowledgment sent {"connection_id":192898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:38:58] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:38:58] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:38:58] local.INFO: IMEI packet received {"connection_id":192743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":192743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:39:01] local.INFO: TCP Data received {"connection_id":192899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:01] local.INFO: Processing buffer {"connection_id":192899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:01] local.INFO: Packet analysis {"connection_id":192899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:39:01] local.INFO: Extracted packet for processing {"connection_id":192899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:39:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39: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-25 23:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23: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-25 23:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23: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-25 23: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-25 23:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:39:01] local.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-25 23:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:39:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:39: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-25 23:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:39:01] 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":898556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:01] local.INFO: GPS data processed {"connection_id":192899,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:01] local.INFO: Acknowledgment sent {"connection_id":192899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:03] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:03] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:03] local.INFO: IMEI packet received {"connection_id":192743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":192743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:39:04] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:04] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:04] local.INFO: Packet analysis {"connection_id":192743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:04] local.INFO: Extracted packet for processing {"connection_id":192743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:39:04] 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-25 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":192743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 23:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":192743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:04] local.INFO: GPS data processed {"connection_id":192743,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:04] local.INFO: Acknowledgment sent {"connection_id":192743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:17] local.INFO: TCP Data received {"connection_id":195616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:17] local.INFO: Processing buffer {"connection_id":195616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:17] local.INFO: IMEI packet received {"connection_id":195616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":195616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:39:22] local.INFO: TCP Data received {"connection_id":195616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:22] local.INFO: Processing buffer {"connection_id":195616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:39:22] local.INFO: IMEI packet received {"connection_id":195616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":195616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:39:23] local.INFO: TCP Data received {"connection_id":195616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:23] local.INFO: Processing buffer {"connection_id":195616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:23] local.INFO: Packet analysis {"connection_id":195616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:39:23] local.INFO: Extracted packet for processing {"connection_id":195616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:23] 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-25 23:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:39:23] 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-25 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:39: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-25 23:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":195616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:23] local.INFO: GPS data processed {"connection_id":195616,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:23] local.INFO: Acknowledgment sent {"connection_id":195616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:24] local.INFO: TCP Data received {"connection_id":195617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:24] local.INFO: Processing buffer {"connection_id":195617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:24] local.INFO: IMEI packet received {"connection_id":195617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":195617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:39:29] local.INFO: TCP Data received {"connection_id":195617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:29] local.INFO: Processing buffer {"connection_id":195617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:39:29] local.INFO: IMEI packet received {"connection_id":195617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":195617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:39:30] local.INFO: TCP Data received {"connection_id":195617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:30] local.INFO: Processing buffer {"connection_id":195617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:39:30] local.INFO: Packet analysis {"connection_id":195617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:39:30] local.INFO: Extracted packet for processing {"connection_id":195617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:39:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":195617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:30] local.INFO: GPS data processed {"connection_id":195617,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:30] local.INFO: Acknowledgment sent {"connection_id":195617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:35] local.INFO: TCP Data received {"connection_id":192743,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:35] local.INFO: Processing buffer {"connection_id":192743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:35] local.INFO: Packet analysis {"connection_id":192743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:35] local.INFO: Extracted packet for processing {"connection_id":192743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23: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-25 23:39:35] 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-25 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"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-25 23:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":192743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:35] local.INFO: GPS data processed {"connection_id":192743,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:35] local.INFO: Acknowledgment sent {"connection_id":192743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:53] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:53] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:53] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:39:55] local.INFO: TCP Data received {"connection_id":195616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:55] local.INFO: Processing buffer {"connection_id":195616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:39:55] local.INFO: Packet analysis {"connection_id":195616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:39:55] local.INFO: Extracted packet for processing {"connection_id":195616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:39:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:39: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-25 23:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:55] 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-25 23:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:39:55] 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-25 23:39: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-25 23:39: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-25 23:39: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-25 23:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":195616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":195616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":195616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:39:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":195616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:55] local.INFO: GPS data processed {"connection_id":195616,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:55] local.INFO: Acknowledgment sent {"connection_id":195616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:39:58] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:58] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:39:58] local.INFO: IMEI packet received {"connection_id":192744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":192744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:39:59] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:59] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bdaaa8012d1969c0071ff170003f01522a..."} 
[2026-09-25 23:39:59] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:59] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bd"} 
[2026-09-25 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331950080001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:39: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-25 23:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359481000,"timestamp_ms":1790359481000,"timestamp_seconds":1790359481,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bdaaa8"} 
[2026-09-25 23:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:39:59] 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-25 23:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331950080001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331950080001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331950080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:39:59] 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":898562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:39:59] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:39:59] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:02] local.INFO: TCP Data received {"connection_id":195617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:02] local.INFO: Processing buffer {"connection_id":195617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:02] local.INFO: Packet analysis {"connection_id":195617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:40:02] local.INFO: Extracted packet for processing {"connection_id":195617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40: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-25 23:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:40:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:40: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-25 23:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":195617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:02] local.INFO: GPS data processed {"connection_id":195617,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:02] local.INFO: Acknowledgment sent {"connection_id":195617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:17] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:17] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:17] local.INFO: IMEI packet received {"connection_id":192900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":192900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:40:22] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:22] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:40:22] local.INFO: IMEI packet received {"connection_id":192900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":192900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:40:23] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:23] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:23] local.INFO: Packet analysis {"connection_id":192900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:40:23] local.INFO: Extracted packet for processing {"connection_id":192900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:23] 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-25 23:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23: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-25 23:40:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:40: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-25 23: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-25 23: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-25 23:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:40:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:40:23] 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":898564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:23] local.INFO: GPS data processed {"connection_id":192900,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:23] local.INFO: Acknowledgment sent {"connection_id":192900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:24] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:24] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:24] local.INFO: IMEI packet received {"connection_id":194260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":194260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:40:29] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:29] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:40:29] local.INFO: IMEI packet received {"connection_id":194260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":194260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:40:30] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:30] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:40:30] local.INFO: Packet analysis {"connection_id":194260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:40:30] local.INFO: Extracted packet for processing {"connection_id":194260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:40:30] 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":898565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:30] local.INFO: GPS data processed {"connection_id":194260,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:30] local.INFO: Acknowledgment sent {"connection_id":194260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:30] local.INFO: TCP Data received {"connection_id":192744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:30] local.INFO: Processing buffer {"connection_id":192744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:30] local.INFO: Packet analysis {"connection_id":192744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:40:30] local.INFO: Extracted packet for processing {"connection_id":192744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332027136001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40: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-25 23:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359782000,"timestamp_ms":1790359782000,"timestamp_seconds":1790359782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c24270"} 
[2026-09-25 23:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332027136001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332027136001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332027136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:40:30] 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":898566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:30] local.INFO: GPS data processed {"connection_id":192744,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:30] local.INFO: Acknowledgment sent {"connection_id":192744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:53] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:53] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:53] local.INFO: IMEI packet received {"connection_id":192901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-25 23:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":192901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:40:54] local.INFO: TCP Data received {"connection_id":192900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:54] local.INFO: Processing buffer {"connection_id":192900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:40:54] local.INFO: Packet analysis {"connection_id":192900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:40:54] local.INFO: Extracted packet for processing {"connection_id":192900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:40:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:54] 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-25 23:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:40:54] 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-25 23:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:40:54] 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-25 23:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:40:54] 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":898567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:54] local.INFO: GPS data processed {"connection_id":192900,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:54] local.INFO: Acknowledgment sent {"connection_id":192900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:40:58] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:58] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-25 23:40:58] local.INFO: IMEI packet received {"connection_id":192901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-25 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":192901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:40:59] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:59] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:40:59] local.INFO: Packet analysis {"connection_id":192901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:40:59] local.INFO: Extracted packet for processing {"connection_id":192901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332027136001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:40: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-25 23:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359782000,"timestamp_ms":1790359782000,"timestamp_seconds":1790359782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c24270"} 
[2026-09-25 23:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332027136001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332027136001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:40:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:40:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332027136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:40:59] 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":898568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:40:59] local.INFO: GPS data processed {"connection_id":192901,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:40:59] local.INFO: Acknowledgment sent {"connection_id":192901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:41:01] local.INFO: TCP Data received {"connection_id":194260,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:01] local.INFO: Processing buffer {"connection_id":194260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:01] local.INFO: Packet analysis {"connection_id":194260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:41:01] local.INFO: Extracted packet for processing {"connection_id":194260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41: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-25 23:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:41:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:41:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:41: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-25 23:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:41:01] 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":898569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:41:01] local.INFO: GPS data processed {"connection_id":194260,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:41:01] local.INFO: Acknowledgment sent {"connection_id":194260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:41:22] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:22] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:22] local.INFO: IMEI packet received {"connection_id":192902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":192902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:41:23] local.INFO: TCP Data received {"connection_id":192745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:41:23] local.INFO: Processing buffer {"connection_id":192745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:41:23] local.INFO: IMEI packet received {"connection_id":192745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":192745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:41:24] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:24] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:24] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:41:27] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:27] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:41:27] local.INFO: IMEI packet received {"connection_id":192902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":192902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:41:28] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:28] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:28] local.INFO: Packet analysis {"connection_id":192902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:41:28] local.INFO: Extracted packet for processing {"connection_id":192902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:28] 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-25 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23: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-25 23:41:28] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:41:28] 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-25 23: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-25 23: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-25 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:41:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:41:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":192902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:41:28] local.INFO: GPS data processed {"connection_id":192902,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:41:28] local.INFO: Acknowledgment sent {"connection_id":192902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:41:29] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:29] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:41:29] local.INFO: IMEI packet received {"connection_id":192746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":192746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:41:30] local.INFO: TCP Data received {"connection_id":192901,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:41:30] local.INFO: Processing buffer {"connection_id":192901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c24270012d1969c0071ff170003f015229..."} 
[2026-09-25 23:41:30] local.INFO: Packet analysis {"connection_id":192901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:41:30] local.INFO: Extracted packet for processing {"connection_id":192901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c2"} 
[2026-09-25 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119533936,"longitude_deg":75.6640192,"latitude_deg":11.9533936,"altitude":63,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071ff170","is_valid_coordinates":true} 
[2026-09-25 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332027136001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23217828697997312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860336037888,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359782000,"timestamp_ms":1790359782000,"timestamp_seconds":1790359782,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c24270"} 
[2026-09-25 23:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-25 23:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332027136001,"66":2166,"102":206,"83":41984,"24":0,"16":23217828697997312,"45":1831205860336037888},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-25 23:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332027136001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-25 23:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":23217828697997312,"km_value":23217828697997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860336037888,"description":"Unknown IO ID 45"} 
[2026-09-25 23:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332027136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831205860336037888}} 
[2026-09-25 23:41:30] 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":898571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:41:30] local.INFO: GPS data processed {"connection_id":192901,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:41:30] local.INFO: Acknowledgment sent {"connection_id":192901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:41:30] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:30] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:41:30] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:41:30] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:41:30] local.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-25 23:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:41:30] 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":898572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:41:30] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:41:30] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:41:32] local.INFO: TCP Data received {"connection_id":192902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:32] local.INFO: Processing buffer {"connection_id":192902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:41:32] local.INFO: Packet analysis {"connection_id":192902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:41:32] local.INFO: Extracted packet for processing {"connection_id":192902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:41:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:41:32] 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-25 23:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:41:32] 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-25 23:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:41:32] 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-25 23:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:41:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:41:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":192902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:41:32] local.INFO: GPS data processed {"connection_id":192902,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:41:32] local.INFO: Acknowledgment sent {"connection_id":192902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:42:02] local.INFO: TCP Data received {"connection_id":192746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:42:02] local.INFO: Processing buffer {"connection_id":192746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9bf8f08012d34c14006aa49080007006e2d..."} 
[2026-09-25 23:42:02] local.INFO: Packet analysis {"connection_id":192746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:42:02] local.INFO: Extracted packet for processing {"connection_id":192746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9bf"} 
[2026-09-25 23:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":7,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458331981824001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42: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-25 23:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359605000,"timestamp_ms":1790359605000,"timestamp_seconds":1790359605,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9bf8f08"} 
[2026-09-25 23:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-25 23:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:42:02] local.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-25 23:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458331981824001,"66":25321,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458331981824001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:42:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:42:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:42: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-25 23:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458331981824001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:42:02] 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":898574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:42:02] local.INFO: GPS data processed {"connection_id":192746,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:42:02] local.INFO: Acknowledgment sent {"connection_id":192746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:42:03] local.INFO: TCP Data received {"connection_id":192903,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:42:03] local.INFO: Processing buffer {"connection_id":192903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:42:03] local.INFO: IMEI packet received {"connection_id":192903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":192903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:42:19] local.INFO: TCP Data received {"connection_id":195618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:19] local.INFO: Processing buffer {"connection_id":195618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:19] local.INFO: IMEI packet received {"connection_id":195618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":195618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:42:22] local.INFO: TCP Data received {"connection_id":195618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:22] local.INFO: Processing buffer {"connection_id":195618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:42:22] local.INFO: IMEI packet received {"connection_id":195618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":195618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:42:23] local.INFO: TCP Data received {"connection_id":195618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:23] local.INFO: Processing buffer {"connection_id":195618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:23] local.INFO: Packet analysis {"connection_id":195618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:23] local.INFO: Extracted packet for processing {"connection_id":195618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:42: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-25 23:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:23] 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-25 23:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:42:23] 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-25 23:42: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-25 23:42: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-25 23:42: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-25 23:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:42:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:42:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":195618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:42:23] local.INFO: GPS data processed {"connection_id":195618,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:42:23] local.INFO: Acknowledgment sent {"connection_id":195618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:42:24] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: IMEI packet received {"connection_id":192904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":192904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:42:24] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:24] local.INFO: IMEI packet received {"connection_id":192904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":192904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:42:27] local.INFO: TCP Data received {"connection_id":195618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:27] local.INFO: Processing buffer {"connection_id":195618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:27] local.INFO: Packet analysis {"connection_id":195618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:27] local.INFO: Extracted packet for processing {"connection_id":195618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:27] 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-25 23:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:42: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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:42: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-25 23:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:42:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:42:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":195618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:42:27] local.INFO: GPS data processed {"connection_id":195618,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:42:27] local.INFO: Acknowledgment sent {"connection_id":195618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:42:29] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:29] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:42:29] local.INFO: IMEI packet received {"connection_id":192904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":192904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:42:30] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:42:30] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:42:30] local.INFO: Packet analysis {"connection_id":192904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:42:30] local.INFO: Extracted packet for processing {"connection_id":192904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:42:30] 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-25 23:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:42:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:42:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":192904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:42:31] local.INFO: GPS data processed {"connection_id":192904,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:42:31] local.INFO: Acknowledgment sent {"connection_id":192904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:42:59] local.INFO: TCP Data received {"connection_id":195618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:59] local.INFO: Processing buffer {"connection_id":195618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:42:59] local.INFO: Packet analysis {"connection_id":195618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:59] local.INFO: Extracted packet for processing {"connection_id":195618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:42:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:42:59] 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-25 23:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:42:59] 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-25 23:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:42:59] 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-25 23:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":195618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":195618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:42:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:42:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":195618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:42:59] local.INFO: GPS data processed {"connection_id":195618,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:42:59] local.INFO: Acknowledgment sent {"connection_id":195618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:43:03] local.INFO: TCP Data received {"connection_id":192904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:03] local.INFO: Processing buffer {"connection_id":192904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:03] local.INFO: Packet analysis {"connection_id":192904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:43:03] local.INFO: Extracted packet for processing {"connection_id":192904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23: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-25 23:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":192904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":192904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:43:03] 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-25 23:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":192904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:43:03] local.INFO: GPS data processed {"connection_id":192904,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:43:03] local.INFO: Acknowledgment sent {"connection_id":192904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:43:17] local.INFO: TCP Data received {"connection_id":195619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:17] local.INFO: Processing buffer {"connection_id":195619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:17] local.INFO: IMEI packet received {"connection_id":195619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":195619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:43:22] local.INFO: TCP Data received {"connection_id":195619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195619,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:22] local.INFO: Processing buffer {"connection_id":195619,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:43:22] local.INFO: IMEI packet received {"connection_id":195619,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":195619,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:43:23] local.INFO: TCP Data received {"connection_id":195619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:23] local.INFO: Processing buffer {"connection_id":195619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:23] local.INFO: Packet analysis {"connection_id":195619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:43:23] local.INFO: Extracted packet for processing {"connection_id":195619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:23] 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-25 23:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23: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-25 23:43:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:43: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-25 23: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-25 23: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-25 23:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:43:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":195619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:43:23] local.INFO: GPS data processed {"connection_id":195619,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:43:23] local.INFO: Acknowledgment sent {"connection_id":195619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:43:24] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:24] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:24] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:43:29] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:29] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:43:29] local.INFO: IMEI packet received {"connection_id":192748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":192748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:43:30] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:30] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:43:30] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:43:30] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:43:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:43:30] 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":898581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:43:30] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:43:30] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:43:54] local.INFO: TCP Data received {"connection_id":195619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:54] local.INFO: Processing buffer {"connection_id":195619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c19690012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:43:54] local.INFO: Packet analysis {"connection_id":195619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:43:54] local.INFO: Extracted packet for processing {"connection_id":195619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c1"} 
[2026-09-25 23:43:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332015872001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:43:54] 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-25 23:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790359738000,"timestamp_ms":1790359738000,"timestamp_seconds":1790359738,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c19690"} 
[2026-09-25 23:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:43:54] 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-25 23:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:43:54] 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-25 23:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195619,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332015872001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332015872001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332015872001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":195619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:43:54] local.INFO: GPS data processed {"connection_id":195619,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:43:54] local.INFO: Acknowledgment sent {"connection_id":195619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:44:02] local.INFO: TCP Data received {"connection_id":192748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:02] local.INFO: Processing buffer {"connection_id":192748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:02] local.INFO: Packet analysis {"connection_id":192748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:44:02] local.INFO: Extracted packet for processing {"connection_id":192748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:44:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:44: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-25 23:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:44:02] 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":898583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:44:02] local.INFO: GPS data processed {"connection_id":192748,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:44:02] local.INFO: Acknowledgment sent {"connection_id":192748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:44:17] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:17] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:17] local.INFO: IMEI packet received {"connection_id":192906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":192906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:44:22] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:22] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:44:22] local.INFO: IMEI packet received {"connection_id":192906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":192906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:44:23] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:23] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:23] local.INFO: Packet analysis {"connection_id":192906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:44:23] local.INFO: Extracted packet for processing {"connection_id":192906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:44:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:23] 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-25 23:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:44:23] 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-25 23:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:44: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-25 23:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:44:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:44:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:44:23] 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":898584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:44:23] local.INFO: GPS data processed {"connection_id":192906,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:44:23] local.INFO: Acknowledgment sent {"connection_id":192906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:44:24] local.INFO: TCP Data received {"connection_id":194261,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:24] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:24] local.INFO: IMEI packet received {"connection_id":194261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":194261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:44:29] local.INFO: TCP Data received {"connection_id":194261,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:29] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:44:29] local.INFO: IMEI packet received {"connection_id":194261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":194261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:44:30] local.INFO: TCP Data received {"connection_id":194261,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:30] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:44:30] local.INFO: Packet analysis {"connection_id":194261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:44:30] local.INFO: Extracted packet for processing {"connection_id":194261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:44:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:44:30] 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":898585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:44:30] local.INFO: GPS data processed {"connection_id":194261,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:44:30] local.INFO: Acknowledgment sent {"connection_id":194261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:44:54] local.INFO: TCP Data received {"connection_id":192906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:54] local.INFO: Processing buffer {"connection_id":192906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:44:54] local.INFO: Packet analysis {"connection_id":192906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:44:54] local.INFO: Extracted packet for processing {"connection_id":192906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:44:54] 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-25 23:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23: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-25 23:44:54] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:44:54] 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-25 23: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-25 23: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-25 23:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:44:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:44:55] 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":898586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:44:55] local.INFO: GPS data processed {"connection_id":192906,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:44:55] local.INFO: Acknowledgment sent {"connection_id":192906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:45:02] local.INFO: TCP Data received {"connection_id":194261,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:02] local.INFO: Processing buffer {"connection_id":194261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:02] local.INFO: Packet analysis {"connection_id":194261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:45:02] local.INFO: Extracted packet for processing {"connection_id":194261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45: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-25 23:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:45:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:45: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-25 23:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:45:02] 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":898587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:45:02] local.INFO: GPS data processed {"connection_id":194261,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:45:02] local.INFO: Acknowledgment sent {"connection_id":194261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:45:17] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:17] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:17] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:45:24] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:24] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:24] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:45:27] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:27] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:45:27] local.INFO: IMEI packet received {"connection_id":192907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":192907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:45:28] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:28] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:28] local.INFO: Packet analysis {"connection_id":192907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:45:28] local.INFO: Extracted packet for processing {"connection_id":192907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:28] 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-25 23:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:45:28] 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-25 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:45:28] 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-25 23:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:45:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:45:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":192907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:45:28] local.INFO: GPS data processed {"connection_id":192907,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:45:28] local.INFO: Acknowledgment sent {"connection_id":192907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:45:29] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:29] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:45:29] local.INFO: IMEI packet received {"connection_id":192749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":192749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:45:30] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:30] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:45:30] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:45:30] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23: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-25 23:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:45:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:45:30] 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":898589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:45:30] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:45:30] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:45:59] local.INFO: TCP Data received {"connection_id":192907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:59] local.INFO: Processing buffer {"connection_id":192907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:45:59] local.INFO: Packet analysis {"connection_id":192907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:45:59] local.INFO: Extracted packet for processing {"connection_id":192907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:45:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:45:59] 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-25 23:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:45:59] 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-25 23:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:45:59] 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-25 23:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":192907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":192907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":192907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:45:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:45:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":192907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:45:59] local.INFO: GPS data processed {"connection_id":192907,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:45:59] local.INFO: Acknowledgment sent {"connection_id":192907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:46:02] local.INFO: TCP Data received {"connection_id":192749,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:02] local.INFO: Processing buffer {"connection_id":192749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:02] local.INFO: Packet analysis {"connection_id":192749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:46:02] local.INFO: Extracted packet for processing {"connection_id":192749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46: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-25 23:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":192749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":192749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:46: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-25 23:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:46:02] 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":898591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:46:02] local.INFO: GPS data processed {"connection_id":192749,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:46:02] local.INFO: Acknowledgment sent {"connection_id":192749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:46:23] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:23] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:23] local.INFO: IMEI packet received {"connection_id":194262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":194262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:46:24] local.INFO: TCP Data received {"connection_id":195621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:24] local.INFO: Processing buffer {"connection_id":195621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:24] local.INFO: IMEI packet received {"connection_id":195621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":195621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:46:29] local.INFO: TCP Data received {"connection_id":195621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:29] local.INFO: Processing buffer {"connection_id":195621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:46:29] local.INFO: IMEI packet received {"connection_id":195621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":195621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:46:29] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:29] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:46:29] local.INFO: IMEI packet received {"connection_id":194262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":194262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:46:30] local.INFO: TCP Data received {"connection_id":195621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:30] local.INFO: Processing buffer {"connection_id":195621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:46:30] local.INFO: Packet analysis {"connection_id":195621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:46:30] local.INFO: Extracted packet for processing {"connection_id":195621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":195621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":195621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":195621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":195621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:46:30] local.INFO: GPS data processed {"connection_id":195621,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:46:30] local.INFO: Acknowledgment sent {"connection_id":195621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:46:30] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:30] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:30] local.INFO: Packet analysis {"connection_id":194262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:46:30] local.INFO: Extracted packet for processing {"connection_id":194262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:30] 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-25 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:46:30] 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-25 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:46:30] 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-25 23:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:46:30] 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":898593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:46:30] local.INFO: GPS data processed {"connection_id":194262,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:46:30] local.INFO: Acknowledgment sent {"connection_id":194262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:46:39] local.INFO: TCP Data received {"connection_id":194262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:39] local.INFO: Processing buffer {"connection_id":194262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:46:39] local.INFO: Packet analysis {"connection_id":194262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:46:39] local.INFO: Extracted packet for processing {"connection_id":194262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:46:39] 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-25 23:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23: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-25 23:46:39] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:46:39] 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-25 23: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-25 23: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-25 23:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":194262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":194262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":194262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:46:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:46:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:46:40] 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":898594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:46:40] local.INFO: GPS data processed {"connection_id":194262,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:46:40] local.INFO: Acknowledgment sent {"connection_id":194262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:02] local.INFO: TCP Data received {"connection_id":195621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:47:02] local.INFO: Processing buffer {"connection_id":195621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c426d0012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:47:02] local.INFO: Packet analysis {"connection_id":195621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:47:02] local.INFO: Extracted packet for processing {"connection_id":195621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c4"} 
[2026-09-25 23:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332058880001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47: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-25 23:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790359906000,"timestamp_ms":1790359906000,"timestamp_seconds":1790359906,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c426d0"} 
[2026-09-25 23:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-25 23:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":195621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":195621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":195621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:47: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-25 23:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332058880001,"66":25430,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332058880001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:47:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:47: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-25 23:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332058880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":195621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:02] local.INFO: GPS data processed {"connection_id":195621,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:02] local.INFO: Acknowledgment sent {"connection_id":195621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:18] local.INFO: TCP Data received {"connection_id":195622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:18] local.INFO: Processing buffer {"connection_id":195622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:18] local.INFO: IMEI packet received {"connection_id":195622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":195622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:47:25] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:25] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:25] local.INFO: IMEI packet received {"connection_id":192750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":192750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:47:25] local.INFO: TCP Data received {"connection_id":195622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:25] local.INFO: Processing buffer {"connection_id":195622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:47:25] local.INFO: IMEI packet received {"connection_id":195622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":195622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:47:26] local.INFO: TCP Data received {"connection_id":195622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:26] local.INFO: Processing buffer {"connection_id":195622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:26] local.INFO: Packet analysis {"connection_id":195622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:26] local.INFO: Extracted packet for processing {"connection_id":195622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:26] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:26] 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-25 23:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:47:26] 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-25 23:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:47: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-25 23:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":195622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":195622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:26] local.INFO: GPS data processed {"connection_id":195622,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:26] local.INFO: Acknowledgment sent {"connection_id":195622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:27] local.INFO: TCP Data received {"connection_id":195622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:27] local.INFO: Processing buffer {"connection_id":195622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:27] local.INFO: Packet analysis {"connection_id":195622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:27] local.INFO: Extracted packet for processing {"connection_id":195622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:27] 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-25 23:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:47: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-25 23:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:47: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-25 23:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":195622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:47:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":195622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:27] local.INFO: GPS data processed {"connection_id":195622,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:27] local.INFO: Acknowledgment sent {"connection_id":195622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:29] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:29] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:29] local.INFO: IMEI packet received {"connection_id":192750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":192750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:47:33] local.INFO: TCP Data received {"connection_id":192909,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:47:33] local.INFO: Processing buffer {"connection_id":192909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:47:33] local.INFO: IMEI packet received {"connection_id":192909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":192909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:47:34] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:34] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:47:34] local.INFO: IMEI packet received {"connection_id":192750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":192750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:47:35] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:35] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:35] local.INFO: Packet analysis {"connection_id":192750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:47:35] local.INFO: Extracted packet for processing {"connection_id":192750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23: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-25 23:47:35] 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-25 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:47:35] 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":898598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:35] local.INFO: GPS data processed {"connection_id":192750,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:35] local.INFO: Acknowledgment sent {"connection_id":192750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:40] local.INFO: TCP Data received {"connection_id":192750,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:40] local.INFO: Processing buffer {"connection_id":192750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:47:40] local.INFO: Packet analysis {"connection_id":192750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:47:40] local.INFO: Extracted packet for processing {"connection_id":192750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23: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-25 23:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:47: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-25 23:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:47:40] 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":898599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:40] local.INFO: GPS data processed {"connection_id":192750,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:40] local.INFO: Acknowledgment sent {"connection_id":192750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:47:58] local.INFO: TCP Data received {"connection_id":195622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:58] local.INFO: Processing buffer {"connection_id":195622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:47:58] local.INFO: Packet analysis {"connection_id":195622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:58] local.INFO: Extracted packet for processing {"connection_id":195622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:47:58] 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-25 23:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:47:58] 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-25 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":195622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":195622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:47:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:47:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":195622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:47:58] local.INFO: GPS data processed {"connection_id":195622,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:47:58] local.INFO: Acknowledgment sent {"connection_id":195622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:48:04] local.INFO: TCP Data received {"connection_id":192751,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:48:04] local.INFO: Processing buffer {"connection_id":192751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:48:04] local.INFO: IMEI packet received {"connection_id":192751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":192751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:48:17] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:17] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:17] local.INFO: IMEI packet received {"connection_id":194263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":194263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:48:22] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:22] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:48:22] local.INFO: IMEI packet received {"connection_id":194263,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":194263,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:48:23] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:23] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:23] local.INFO: Packet analysis {"connection_id":194263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:48:23] local.INFO: Extracted packet for processing {"connection_id":194263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:23] 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-25 23:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23: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-25 23:48:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:48: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-25 23: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-25 23: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-25 23:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:48:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:48:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:48:23] 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":898601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:48:23] local.INFO: GPS data processed {"connection_id":194263,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:48:23] local.INFO: Acknowledgment sent {"connection_id":194263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:48:24] local.INFO: TCP Data received {"connection_id":194264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:24] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:24] local.INFO: IMEI packet received {"connection_id":194264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":194264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:48:29] local.INFO: TCP Data received {"connection_id":194264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:29] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:48:29] local.INFO: IMEI packet received {"connection_id":194264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":194264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:48:30] local.INFO: TCP Data received {"connection_id":194264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:48:30] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:48:30] local.INFO: Packet analysis {"connection_id":194264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:48:30] local.INFO: Extracted packet for processing {"connection_id":194264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:48:30] 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-25 23:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:48:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:48: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":898602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:48:30] local.INFO: GPS data processed {"connection_id":194264,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:48:30] local.INFO: Acknowledgment sent {"connection_id":194264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:48:55] local.INFO: TCP Data received {"connection_id":194263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:55] local.INFO: Processing buffer {"connection_id":194263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c62e58012d0b10c007029f10000f013d1d..."} 
[2026-09-25 23:48:55] local.INFO: Packet analysis {"connection_id":194263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:48:55] local.INFO: Extracted packet for processing {"connection_id":194263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c6"} 
[2026-09-25 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":15,"angle":317,"satellites":29,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332092928001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:48:55] 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-25 23:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790360039000,"timestamp_ms":1790360039000,"timestamp_seconds":1790360039,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c62e58"} 
[2026-09-25 23: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-25 23:48:55] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:48: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-25 23: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-25 23: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-25 23:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194263,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332092928001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332092928001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332092928001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:48:55] 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":898603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:48:55] local.INFO: GPS data processed {"connection_id":194263,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:48:55] local.INFO: Acknowledgment sent {"connection_id":194263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:49:01] local.INFO: TCP Data received {"connection_id":194264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:01] local.INFO: Processing buffer {"connection_id":194264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:01] local.INFO: Packet analysis {"connection_id":194264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:49:01] local.INFO: Extracted packet for processing {"connection_id":194264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49: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-25 23:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:49:01] 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-25 23:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:49:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:49:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:49: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-25 23:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:49:01] 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":898604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:49:01] local.INFO: GPS data processed {"connection_id":194264,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:49:01] local.INFO: Acknowledgment sent {"connection_id":194264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:49:22] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:22] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:22] local.INFO: IMEI packet received {"connection_id":194265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":194265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:49:24] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:24] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:24] local.INFO: IMEI packet received {"connection_id":194266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":194266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:49:29] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:29] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:49:29] local.INFO: IMEI packet received {"connection_id":194266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":194266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:49:30] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:30] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:49:30] local.INFO: Packet analysis {"connection_id":194266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:49:30] local.INFO: Extracted packet for processing {"connection_id":194266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:49:30] 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-25 23:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:49:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:49:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:49:30] 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":898605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:49:30] local.INFO: GPS data processed {"connection_id":194266,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:49:30] local.INFO: Acknowledgment sent {"connection_id":194266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:49:36] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:36] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:49:36] local.INFO: IMEI packet received {"connection_id":194265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":194265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:49:37] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:37] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:37] local.INFO: Packet analysis {"connection_id":194265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:49:37] local.INFO: Extracted packet for processing {"connection_id":194265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] 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-25 23:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:49:37] 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-25 23:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:49:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":194265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":194265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":194265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:49:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:49:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:49:37] 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":898606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:49:37] local.INFO: GPS data processed {"connection_id":194265,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:49:37] local.INFO: Acknowledgment sent {"connection_id":194265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:49:38] local.INFO: TCP Data received {"connection_id":194265,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:38] local.INFO: Processing buffer {"connection_id":194265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:49:38] local.INFO: Packet analysis {"connection_id":194265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:49:38] local.INFO: Extracted packet for processing {"connection_id":194265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] 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-25 23:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23: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-25 23:49:38] 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-25 23: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:49:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:49:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23: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-25 23:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":194265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":194265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":194265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:49:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:49:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:49:38] 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":898607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:49:38] local.INFO: GPS data processed {"connection_id":194265,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:49:38] local.INFO: Acknowledgment sent {"connection_id":194265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:50:02] local.INFO: TCP Data received {"connection_id":194266,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:02] local.INFO: Processing buffer {"connection_id":194266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:02] local.INFO: Packet analysis {"connection_id":194266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:50:02] local.INFO: Extracted packet for processing {"connection_id":194266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50: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-25 23:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:50:02] 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-25 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:50: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-25 23:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:50:02] 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":898608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:50:02] local.INFO: GPS data processed {"connection_id":194266,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:50:02] local.INFO: Acknowledgment sent {"connection_id":194266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:50:17] local.INFO: TCP Data received {"connection_id":195625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:17] local.INFO: Processing buffer {"connection_id":195625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:17] local.INFO: IMEI packet received {"connection_id":195625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":195625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:50:22] local.INFO: TCP Data received {"connection_id":195625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:22] local.INFO: Processing buffer {"connection_id":195625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:50:22] local.INFO: IMEI packet received {"connection_id":195625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":195625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:50:23] local.INFO: TCP Data received {"connection_id":195625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:23] local.INFO: Processing buffer {"connection_id":195625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:23] local.INFO: Packet analysis {"connection_id":195625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:50:23] local.INFO: Extracted packet for processing {"connection_id":195625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:50: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-25 23:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] 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-25 23:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:50:23] 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-25 23:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:50:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:50:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:50:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":195625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:50:23] local.INFO: GPS data processed {"connection_id":195625,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:50:23] local.INFO: Acknowledgment sent {"connection_id":195625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:50:24] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:24] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:24] local.INFO: IMEI packet received {"connection_id":194267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":194267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:50:29] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:29] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:50:29] local.INFO: IMEI packet received {"connection_id":194267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":194267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:50:30] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:30] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:50:30] local.INFO: Packet analysis {"connection_id":194267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:50:30] local.INFO: Extracted packet for processing {"connection_id":194267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:50:30] 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-25 23:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:50:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:50:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:50:30] 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":898610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:50:30] local.INFO: GPS data processed {"connection_id":194267,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:50:30] local.INFO: Acknowledgment sent {"connection_id":194267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:50:54] local.INFO: TCP Data received {"connection_id":195625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:54] local.INFO: Processing buffer {"connection_id":195625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:50:54] local.INFO: Packet analysis {"connection_id":195625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:50:54] local.INFO: Extracted packet for processing {"connection_id":195625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:50:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] 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-25 23:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:50:54] 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-25 23:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:50:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:50:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:50:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:50:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":195625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:50:54] local.INFO: GPS data processed {"connection_id":195625,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:50:54] local.INFO: Acknowledgment sent {"connection_id":195625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:01] local.INFO: TCP Data received {"connection_id":194267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:01] local.INFO: Processing buffer {"connection_id":194267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:01] local.INFO: Packet analysis {"connection_id":194267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:01] local.INFO: Extracted packet for processing {"connection_id":194267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51: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-25 23:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:51:01] 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-25 23:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":194267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":194267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":194267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:51:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:51: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-25 23:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:51:01] 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":898612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:01] local.INFO: GPS data processed {"connection_id":194267,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:01] local.INFO: Acknowledgment sent {"connection_id":194267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:18] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:18] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:18] local.INFO: IMEI packet received {"connection_id":192911,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":192911,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:51:22] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:22] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:51:22] local.INFO: IMEI packet received {"connection_id":192911,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":192911,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:51:23] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:23] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:23] local.INFO: Packet analysis {"connection_id":192911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:23] local.INFO: Extracted packet for processing {"connection_id":192911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] 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-25 23:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23: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-25 23:51:23] 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-25 23: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:51:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23: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-25 23:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":192911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:23] local.INFO: GPS data processed {"connection_id":192911,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:23] local.INFO: Acknowledgment sent {"connection_id":192911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:27] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:27] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:27] local.INFO: Packet analysis {"connection_id":192911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:27] local.INFO: Extracted packet for processing {"connection_id":192911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] 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-25 23:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23: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-25 23:51: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-25 23: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:51:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23: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-25 23:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:51:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":192911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:27] local.INFO: GPS data processed {"connection_id":192911,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:27] local.INFO: Acknowledgment sent {"connection_id":192911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:29] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:29] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:29] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:51:34] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:34] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:51:34] local.INFO: IMEI packet received {"connection_id":192753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":192753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:51:35] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:35] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:35] local.INFO: Packet analysis {"connection_id":192753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:35] local.INFO: Extracted packet for processing {"connection_id":192753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23: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-25 23:51:35] 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-25 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23: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-25 23:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:51:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:51:35] 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":898615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:35] local.INFO: GPS data processed {"connection_id":192753,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:35] local.INFO: Acknowledgment sent {"connection_id":192753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:40] local.INFO: TCP Data received {"connection_id":192753,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:40] local.INFO: Processing buffer {"connection_id":192753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9c8be98012d34c14006aa49080004006e2c..."} 
[2026-09-25 23:51:40] local.INFO: Packet analysis {"connection_id":192753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:40] local.INFO: Extracted packet for processing {"connection_id":192753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9c8"} 
[2026-09-25 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332135936001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790360207000,"timestamp_ms":1790360207000,"timestamp_seconds":1790360207,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9c8be98"} 
[2026-09-25 23: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-25 23:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23: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-25 23: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-25 23:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":192753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":192753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":192753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:51: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-25 23:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332135936001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332135936001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332135936001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:51:40] 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":898616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:40] local.INFO: GPS data processed {"connection_id":192753,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:40] local.INFO: Acknowledgment sent {"connection_id":192753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:51:58] local.INFO: TCP Data received {"connection_id":192911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:58] local.INFO: Processing buffer {"connection_id":192911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:51:58] local.INFO: Packet analysis {"connection_id":192911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:58] local.INFO: Extracted packet for processing {"connection_id":192911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] 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-25 23:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:51:58] 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-25 23:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:51:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:51:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":192911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":192911,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:51:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:51:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":192911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:51:58] local.INFO: GPS data processed {"connection_id":192911,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:51:58] local.INFO: Acknowledgment sent {"connection_id":192911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:52:17] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:17] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:17] local.INFO: IMEI packet received {"connection_id":194269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":194269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:52:22] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:22] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:52:22] local.INFO: IMEI packet received {"connection_id":194269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":194269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:52:23] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:23] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:23] local.INFO: Packet analysis {"connection_id":194269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:52:23] local.INFO: Extracted packet for processing {"connection_id":194269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] 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-25 23:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23: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-25 23:52:23] 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-25 23: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:52:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23: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-25 23:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:52:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:52:23] 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":898618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:52:23] local.INFO: GPS data processed {"connection_id":194269,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:52:23] local.INFO: Acknowledgment sent {"connection_id":194269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:52:24] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:24] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:24] local.INFO: IMEI packet received {"connection_id":192754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":192754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:52:26] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:26] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:52:26] local.INFO: IMEI packet received {"connection_id":192754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":192754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:52:27] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:52:27] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:52:27] local.INFO: Packet analysis {"connection_id":192754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:52:27] local.INFO: Extracted packet for processing {"connection_id":192754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-25 23:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:52:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:52:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":192754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:52:27] local.INFO: GPS data processed {"connection_id":192754,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:52:27] local.INFO: Acknowledgment sent {"connection_id":192754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:52:55] local.INFO: TCP Data received {"connection_id":194269,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:55] local.INFO: Processing buffer {"connection_id":194269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:52:55] local.INFO: Packet analysis {"connection_id":194269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:52:55] local.INFO: Extracted packet for processing {"connection_id":194269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] 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-25 23:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23: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-25 23:52:55] 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-25 23: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:52:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:52:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23: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-25 23:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":194269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":194269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":194269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:52:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:52:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:52:55] 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":898620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:52:55] local.INFO: GPS data processed {"connection_id":194269,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:52:55] local.INFO: Acknowledgment sent {"connection_id":194269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:53:00] local.INFO: TCP Data received {"connection_id":192754,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:00] local.INFO: Processing buffer {"connection_id":192754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:00] local.INFO: Packet analysis {"connection_id":192754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:53:00] local.INFO: Extracted packet for processing {"connection_id":192754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53: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-25 23:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":192754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":192754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":192754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:53:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:53:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:53: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-25 23:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":192754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:53:00] local.INFO: GPS data processed {"connection_id":192754,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:53:00] local.INFO: Acknowledgment sent {"connection_id":192754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:53:17] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:17] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:17] local.INFO: IMEI packet received {"connection_id":192912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":192912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:53:22] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:22] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:53:22] local.INFO: IMEI packet received {"connection_id":192912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":192912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:53:23] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:23] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:23] local.INFO: Packet analysis {"connection_id":192912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:53:23] local.INFO: Extracted packet for processing {"connection_id":192912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:53:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] 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-25 23:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:53:23] 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-25 23:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:53:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:53:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:53:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:53:23] 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":898622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:53:23] local.INFO: GPS data processed {"connection_id":192912,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:53:23] local.INFO: Acknowledgment sent {"connection_id":192912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:53:24] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:24] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:24] local.INFO: IMEI packet received {"connection_id":194270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":194270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:53:29] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:29] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:53:29] local.INFO: IMEI packet received {"connection_id":194270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":194270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:53:30] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:30] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:53:30] local.INFO: Packet analysis {"connection_id":194270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:53:30] local.INFO: Extracted packet for processing {"connection_id":194270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:53:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:53:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:53:30] 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":898623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:53:30] local.INFO: GPS data processed {"connection_id":194270,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:53:30] local.INFO: Acknowledgment sent {"connection_id":194270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:53:33] local.INFO: TCP Data received {"connection_id":192755,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:53:33] local.INFO: Processing buffer {"connection_id":192755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:53:33] local.INFO: IMEI packet received {"connection_id":192755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":192755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:53:56] local.INFO: TCP Data received {"connection_id":192912,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:56] local.INFO: Processing buffer {"connection_id":192912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cac620012d0b10c007029f100010013d1c..."} 
[2026-09-25 23:53:56] local.INFO: Packet analysis {"connection_id":192912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:53:56] local.INFO: Extracted packet for processing {"connection_id":192912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9ca"} 
[2026-09-25 23:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":28,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332169984001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] 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-25 23:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1790360340000,"timestamp_ms":1790360340000,"timestamp_seconds":1790360340,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cac620"} 
[2026-09-25 23:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:53:56] 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-25 23:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3651837864,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3016701953,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3245706373387951888,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1746010318,"corrected_to":0} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":104,"raw_value":1297263596476045312,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67553995568250884,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6784672941712867330,"note":"Value kept but may cause issues"} 
[2026-09-25 23:53:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,18,94,24,241,157,16,122,160,150,45,192,159,15,29,10,66,254,6,28,103,240,238,227,217,2,1,4,113,205,55,239,49,120,7,5,104,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1746010318,"validated":0}]} 
[2026-09-25 23:53:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081212580308975616,"timestamp_seconds":1081212580308975.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-25 23:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":192912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":192912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":192912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332169984001,"66":12591,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332169984001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:53:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332169984001,"power":12591,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:53:56] 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":898624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:53:56] local.INFO: GPS data processed {"connection_id":192912,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:53:56] local.INFO: Acknowledgment sent {"connection_id":192912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:54:03] local.INFO: TCP Data received {"connection_id":194270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:03] local.INFO: Processing buffer {"connection_id":194270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:03] local.INFO: Packet analysis {"connection_id":194270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:03] local.INFO: Extracted packet for processing {"connection_id":194270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54: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-25 23:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":194270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":194270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:54: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-25 23:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:54:03] 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":898625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:54:03] local.INFO: GPS data processed {"connection_id":194270,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:54:03] local.INFO: Acknowledgment sent {"connection_id":194270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:54:03] local.INFO: TCP Data received {"connection_id":194271,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:54:03] local.INFO: Processing buffer {"connection_id":194271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:54:03] local.INFO: IMEI packet received {"connection_id":194271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":194271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:54:22] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:22] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:22] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:54:27] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:27] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:54:27] local.INFO: IMEI packet received {"connection_id":192913,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":192913,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:54:27] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:27] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:27] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:54:27] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:54:27] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:27] 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-25 23:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:54: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-25 23:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:54: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-25 23:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:54:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:54:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:54:28] 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":898626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:54:28] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:54:28] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:54:29] local.INFO: TCP Data received {"connection_id":192914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:29] local.INFO: Processing buffer {"connection_id":192914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:29] local.INFO: IMEI packet received {"connection_id":192914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":192914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:54:32] local.INFO: TCP Data received {"connection_id":192913,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:32] local.INFO: Processing buffer {"connection_id":192913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:54:32] local.INFO: Packet analysis {"connection_id":192913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:54:32] local.INFO: Extracted packet for processing {"connection_id":192913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:54:32] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:32] 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-25 23:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:54:32] 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-25 23:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":192913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":192913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":192913,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:54:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:54:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:54:32] 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":898627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:54:32] local.INFO: GPS data processed {"connection_id":192913,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:54:32] local.INFO: Acknowledgment sent {"connection_id":192913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:54:34] local.INFO: TCP Data received {"connection_id":192914,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:34] local.INFO: Processing buffer {"connection_id":192914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:54:34] local.INFO: IMEI packet received {"connection_id":192914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":192914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:54:35] local.INFO: TCP Data received {"connection_id":192914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:35] local.INFO: Processing buffer {"connection_id":192914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:35] local.INFO: Packet analysis {"connection_id":192914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:35] local.INFO: Extracted packet for processing {"connection_id":192914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23: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-25 23:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:54: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-25 23: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-25 23: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-25 23:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54: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-25 23:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":192914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:54:35] local.INFO: GPS data processed {"connection_id":192914,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:54:35] local.INFO: Acknowledgment sent {"connection_id":192914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:54:39] local.INFO: TCP Data received {"connection_id":192914,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:39] local.INFO: Processing buffer {"connection_id":192914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:54:39] local.INFO: Packet analysis {"connection_id":192914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:39] local.INFO: Extracted packet for processing {"connection_id":192914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:54: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-25 23:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:54: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-25 23:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":192914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:54:39] local.INFO: GPS data processed {"connection_id":192914,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:54:39] local.INFO: Acknowledgment sent {"connection_id":192914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:55:17] local.INFO: TCP Data received {"connection_id":195626,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:17] local.INFO: Processing buffer {"connection_id":195626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:17] local.INFO: IMEI packet received {"connection_id":195626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":195626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:55:22] local.INFO: TCP Data received {"connection_id":195626,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:22] local.INFO: Processing buffer {"connection_id":195626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:55:22] local.INFO: IMEI packet received {"connection_id":195626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":195626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:55:23] local.INFO: TCP Data received {"connection_id":195626,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:23] local.INFO: Processing buffer {"connection_id":195626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:23] local.INFO: Packet analysis {"connection_id":195626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:55:23] local.INFO: Extracted packet for processing {"connection_id":195626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:55:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:23] 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-25 23:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23: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-25 23:55:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:55: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-25 23: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-25 23: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-25 23:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":195626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":195626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":195626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:55:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:55:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":195626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:55:23] local.INFO: GPS data processed {"connection_id":195626,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:55:23] local.INFO: Acknowledgment sent {"connection_id":195626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:55:24] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:24] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:24] local.INFO: IMEI packet received {"connection_id":194272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":194272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:55:29] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:29] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:55:29] local.INFO: IMEI packet received {"connection_id":194272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":194272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:55:30] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:55:30] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:55:30] local.INFO: Packet analysis {"connection_id":194272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:55:30] local.INFO: Extracted packet for processing {"connection_id":194272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":194272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":194272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":194272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:55:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:55:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:55:30] 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":898631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:55:30] local.INFO: GPS data processed {"connection_id":194272,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:55:30] local.INFO: Acknowledgment sent {"connection_id":194272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:55:54] local.INFO: TCP Data received {"connection_id":195626,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:54] local.INFO: Processing buffer {"connection_id":195626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:55:54] local.INFO: Packet analysis {"connection_id":195626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:55:54] local.INFO: Extracted packet for processing {"connection_id":195626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:55:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:55:54] 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-25 23:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:55:54] 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-25 23:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:55:54] 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-25 23:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":195626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":195626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":195626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:55:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:55:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":195626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:55:54] local.INFO: GPS data processed {"connection_id":195626,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:55:54] local.INFO: Acknowledgment sent {"connection_id":195626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:56:02] local.INFO: TCP Data received {"connection_id":194272,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:02] local.INFO: Processing buffer {"connection_id":194272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:02] local.INFO: Packet analysis {"connection_id":194272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:56:02] local.INFO: Extracted packet for processing {"connection_id":194272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56: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-25 23:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":194272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":194272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":194272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:56: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-25 23:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:56:02] 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":898633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:56:02] local.INFO: GPS data processed {"connection_id":194272,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:56:02] local.INFO: Acknowledgment sent {"connection_id":194272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:56:17] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:17] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:17] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:56:22] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:22] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:56:22] local.INFO: IMEI packet received {"connection_id":192756,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":192756,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:56:23] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:23] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:23] local.INFO: Packet analysis {"connection_id":192756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:56:23] local.INFO: Extracted packet for processing {"connection_id":192756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:23] 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-25 23:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23: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-25 23:56:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:56: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-25 23: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-25 23: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-25 23:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":192756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":192756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":192756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:56:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:56:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":192756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:56:23] local.INFO: GPS data processed {"connection_id":192756,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:56:23] local.INFO: Acknowledgment sent {"connection_id":192756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:56:24] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:24] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:24] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:56:29] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:29] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:56:29] local.INFO: IMEI packet received {"connection_id":192916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":192916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:56:30] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:30] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:56:30] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:56:30] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-25 23:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:56:30] local.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-25 23:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:56:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:56:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:56:30] 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":898635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:56:30] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:56:30] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:56:54] local.INFO: TCP Data received {"connection_id":192756,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:54] local.INFO: Processing buffer {"connection_id":192756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:56:54] local.INFO: Packet analysis {"connection_id":192756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:56:54] local.INFO: Extracted packet for processing {"connection_id":192756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:56:54] 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-25 23:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23: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-25 23:56:54] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:56:54] 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-25 23: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-25 23: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-25 23:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":192756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":192756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":192756,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":192756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:56:54] local.INFO: GPS data processed {"connection_id":192756,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:56:54] local.INFO: Acknowledgment sent {"connection_id":192756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:57:01] local.INFO: TCP Data received {"connection_id":192916,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:57:01] local.INFO: Processing buffer {"connection_id":192916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cd5660012d34c14006aa49080005006e2d..."} 
[2026-09-25 23:57:01] local.INFO: Packet analysis {"connection_id":192916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:57:01] local.INFO: Extracted packet for processing {"connection_id":192916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cd"} 
[2026-09-25 23:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":5,"angle":110,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332212992001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57: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-25 23:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790360508000,"timestamp_ms":1790360508000,"timestamp_seconds":1790360508,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cd5660"} 
[2026-09-25 23:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:57:01] local.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-25 23:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332212992001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.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-25 23:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332212992001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:57: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-25 23:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332212992001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:57:01] 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":898637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:57:01] local.INFO: GPS data processed {"connection_id":192916,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:57:01] local.INFO: Acknowledgment sent {"connection_id":192916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:57:17] local.INFO: TCP Data received {"connection_id":194274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:17] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:17] local.INFO: IMEI packet received {"connection_id":194274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":194274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:57:22] local.INFO: TCP Data received {"connection_id":194274,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:22] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:57:22] local.INFO: IMEI packet received {"connection_id":194274,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":194274,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:57:23] local.INFO: TCP Data received {"connection_id":194274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:23] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:23] local.INFO: Packet analysis {"connection_id":194274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:57:23] local.INFO: Extracted packet for processing {"connection_id":194274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:23] 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-25 23:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:57:23] 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-25 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:57: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-25 23:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:57:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:57:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:57:23] 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":898638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:57:23] local.INFO: GPS data processed {"connection_id":194274,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:57:23] local.INFO: Acknowledgment sent {"connection_id":194274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:57:24] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:24] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:24] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:57:27] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:27] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:57:27] local.INFO: IMEI packet received {"connection_id":192757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":192757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:57:28] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:57:28] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:57:28] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:57:28] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:57: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-25 23:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-25 23:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:57:28] 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-25 23:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:57: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-25 23:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:57:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:57:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":406737152437649408,"km_value":406737152437649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:57:28] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:57:28] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:57:54] local.INFO: TCP Data received {"connection_id":194274,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:54] local.INFO: Processing buffer {"connection_id":194274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:57:54] local.INFO: Packet analysis {"connection_id":194274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:57:54] local.INFO: Extracted packet for processing {"connection_id":194274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:57:54] 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-25 23:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:57:54] 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-25 23:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:57:54] 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-25 23:57: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-25 23:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194274,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:57:55] 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":898640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:57:55] local.INFO: GPS data processed {"connection_id":194274,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:57:55] local.INFO: Acknowledgment sent {"connection_id":194274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:58:01] local.INFO: TCP Data received {"connection_id":192757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:01] local.INFO: Processing buffer {"connection_id":192757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:01] local.INFO: Packet analysis {"connection_id":192757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:58:01] local.INFO: Extracted packet for processing {"connection_id":192757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:58:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:58: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-25 23:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58: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-25 23:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:58:01] 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-25 23:58: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:58: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-25 23:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":192757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":192757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:58:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:58: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-25 23:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":192757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:58:01] local.INFO: GPS data processed {"connection_id":192757,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:58:01] local.INFO: Acknowledgment sent {"connection_id":192757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:58:17] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:17] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:17] local.INFO: IMEI packet received {"connection_id":194275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":194275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:58:22] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:22] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:58:22] local.INFO: IMEI packet received {"connection_id":194275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":194275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:58:23] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:23] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:23] local.INFO: Packet analysis {"connection_id":194275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:58:23] local.INFO: Extracted packet for processing {"connection_id":194275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:23] 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-25 23:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23: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-25 23:58:23] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:58: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-25 23: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-25 23: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-25 23:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":194275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":194275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":194275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:58:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:58:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:58:23] 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":898642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:58:23] local.INFO: GPS data processed {"connection_id":194275,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:58:23] local.INFO: Acknowledgment sent {"connection_id":194275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:58:24] local.INFO: TCP Data received {"connection_id":195628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:24] local.INFO: Processing buffer {"connection_id":195628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:24] local.INFO: IMEI packet received {"connection_id":195628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":195628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:58:29] local.INFO: TCP Data received {"connection_id":195628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:29] local.INFO: Processing buffer {"connection_id":195628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:58:29] local.INFO: IMEI packet received {"connection_id":195628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":195628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:58:29] local.INFO: TCP Data received {"connection_id":195628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:29] local.INFO: Processing buffer {"connection_id":195628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:58:29] local.INFO: Packet analysis {"connection_id":195628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:58:29] local.INFO: Extracted packet for processing {"connection_id":195628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:58:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:58: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-25 23:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58: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-25 23:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:58:29] 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-25 23:58: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:58: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-25 23:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":195628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":195628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":195628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:58:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:58:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:58: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-25 23:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":195628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:58:29] local.INFO: GPS data processed {"connection_id":195628,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:58:29] local.INFO: Acknowledgment sent {"connection_id":195628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:58:54] local.INFO: TCP Data received {"connection_id":194275,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:54] local.INFO: Processing buffer {"connection_id":194275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9cf5de8012d0b10c007029f100010013d1e..."} 
[2026-09-25 23:58:54] local.INFO: Packet analysis {"connection_id":194275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:58:54] local.INFO: Extracted packet for processing {"connection_id":194275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9cf"} 
[2026-09-25 23:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":30,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332247040001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:58:54] 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-25 23:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790360641000,"timestamp_ms":1790360641000,"timestamp_seconds":1790360641,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9cf5de8"} 
[2026-09-25 23: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-25 23:58:54] 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-25 23: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-25 23:58:54] 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-25 23: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-25 23: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-25 23:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":194275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":194275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":194275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332247040001,"66":12537,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332247040001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:58:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332247040001,"power":12537,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:58:54] 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":898644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:58:54] local.INFO: GPS data processed {"connection_id":194275,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:58:54] local.INFO: Acknowledgment sent {"connection_id":194275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:59:01] local.INFO: TCP Data received {"connection_id":195628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":195628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:01] local.INFO: Processing buffer {"connection_id":195628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:01] local.INFO: Packet analysis {"connection_id":195628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:01] local.INFO: Extracted packet for processing {"connection_id":195628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59: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-25 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:59:01] 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-25 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-25 23:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":195628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":195628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":195628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-25 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:59:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:59:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:59: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-25 23:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":195628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":898645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:59:01] local.INFO: GPS data processed {"connection_id":195628,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:59:01] local.INFO: Acknowledgment sent {"connection_id":195628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:59:18] local.INFO: TCP Data received {"connection_id":194276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:59:18] local.INFO: Processing buffer {"connection_id":194276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-25 23:59:18] local.INFO: IMEI packet received {"connection_id":194276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-25 23:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":194276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:59:22] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:22] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:22] local.INFO: IMEI packet received {"connection_id":194277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-25 23:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":194277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:59:27] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:27] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-25 23:59:27] local.INFO: IMEI packet received {"connection_id":194277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-25 23:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":194277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:59:28] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:28] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:28] local.INFO: Packet analysis {"connection_id":194277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d3"} 
[2026-09-25 23:59:28] local.INFO: Extracted packet for processing {"connection_id":194277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d3"} 
[2026-09-25 23:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332324096001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:28] 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-25 23:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790360942000,"timestamp_ms":1790360942000,"timestamp_seconds":1790360942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d3f5b0"} 
[2026-09-25 23:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:59:28] 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-25 23:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 23:59:28] 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-25 23:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":194277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":194277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":194277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332324096001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332324096001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:59:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:59:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332324096001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:59:28] 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":898646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:59:28] local.INFO: GPS data processed {"connection_id":194277,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:59:28] local.INFO: Acknowledgment sent {"connection_id":194277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:59:29] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:29] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:29] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-25 23:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-25 23:59:34] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:34] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-25 23:59:34] local.INFO: IMEI packet received {"connection_id":192917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-25 23:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":192917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-25 23:59:35] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:35] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:35] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:35] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23: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-25 23:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23: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-25 23:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23: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-25 23:59:35] 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-25 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:59: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-25 23: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-25 23: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-25 23:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59: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-25 23:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23: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-25 23:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:59:35] 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":898647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:59:35] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:59:35] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:59:39] local.INFO: TCP Data received {"connection_id":192917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":192917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:39] local.INFO: Processing buffer {"connection_id":192917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d1ee28012d34c14006aa49080004006e2e..."} 
[2026-09-25 23:59:39] local.INFO: Packet analysis {"connection_id":192917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:39] local.INFO: Extracted packet for processing {"connection_id":192917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d1"} 
[2026-09-25 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823112,"longitude_deg":75.8432064,"latitude_deg":11.1823112,"altitude":4,"angle":110,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4908","is_valid_coordinates":true} 
[2026-09-25 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332290048001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":406737152437649408,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848303616,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59: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-25 23:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790360809000,"timestamp_ms":1790360809000,"timestamp_seconds":1790360809,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d1ee28"} 
[2026-09-25 23:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-25 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-25 23:59: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-25 23:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":192917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":192917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-25 23:59: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-25 23:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-25 23:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-25 23:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332290048001,"66":25441,"97":206,"81":23296,"24":0,"16":406737152437649408,"45":3801389957848303616},"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-25 23:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-25 23:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-25 23:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332290048001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-25 23:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-25 23:59: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-25 23:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848303616,"description":"Unknown IO ID 45"} 
[2026-09-25 23:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332290048001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848303616}} 
[2026-09-25 23:59:39] 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":898648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:59:39] local.INFO: GPS data processed {"connection_id":192917,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:59:39] local.INFO: Acknowledgment sent {"connection_id":192917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-25 23:59:59] local.INFO: TCP Data received {"connection_id":194277,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":194277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:59] local.INFO: Processing buffer {"connection_id":194277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0d9d3f5b0012d0b10c007029f100010013d1b..."} 
[2026-09-25 23:59:59] local.INFO: Packet analysis {"connection_id":194277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0d9d3"} 
[2026-09-25 23:59:59] local.INFO: Extracted packet for processing {"connection_id":194277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0d9d3"} 
[2026-09-25 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612304,"longitude_deg":75.5699904,"latitude_deg":11.7612304,"altitude":16,"angle":317,"satellites":27,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029f10","is_valid_coordinates":true} 
[2026-09-25 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-25 23:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458332324096001,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33911253587984384,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385860608,"note":"Value kept but may cause issues"} 
[2026-09-25 23:59:59] 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-25 23:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1790360942000,"timestamp_ms":1790360942000,"timestamp_seconds":1790360942,"priority":1,"record_length":96,"hex_timestamp":"000001a0d9d3f5b0"} 
[2026-09-25 23:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-25 23:59:59] 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-25 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-25 23:59:59] 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-25 23:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-25 23:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-25 23:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-25 23:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":194277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-25 23:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":194277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":194277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-25 23:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-25 23:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-25 23:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-25 23:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458332324096001,"66":12558,"18":206,"94":10240,"24":0,"16":33911253587984384,"45":797348270385860608},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,94,24,16,45]} 
[2026-09-25 23:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-25 23:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-25 23:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458332324096001,"description":"Unknown IO ID 0"} 
[2026-09-25 23:59:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-25 23:59:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-25 23:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33911253587984384,"km_value":33911253587984.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-25 23:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385860608,"description":"Unknown IO ID 45"} 
[2026-09-25 23:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458332324096001,"power":12558,"unknown_18":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797348270385860608}} 
[2026-09-25 23:59:59] 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":898649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-25 23:59:59] local.INFO: GPS data processed {"connection_id":194277,"processed":1,"errors":0,"total":1} 
[2026-09-25 23:59:59] local.INFO: Acknowledgment sent {"connection_id":194277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
